]> sourceware.org Git - glibc.git/blame - ChangeLog
Sort sysdeps/powerpc/fpu/libm-test-ulps
[glibc.git] / ChangeLog
CommitLineData
5be8418c
AS
12012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2
e7725326
AS
3 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4 gen-libm-test.pl.
5
5be8418c
AS
6 [BZ #14132]
7 * elf/dl-reloc.c: Include <_itoa.h>.
8 (_dl_reloc_bad_type): Remove use of INTUSE.
9 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11 * stdio-common/psiginfo.c (psiginfo): Likewise.
12 * stdio-common/psignal.c (psignal): Likewise.
13 * string/strsignal.c (strsignal): Likewise.
14 * include/signal.h (_sys_siglist): Declare hidden proto.
15 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16 INTVARDEF with libc_hidden_data_def.
17 * stdio-common/itoa-udigits.c: Likewise.
18 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19 (_itoa_lower_digits_internal): Remove declaration.
20 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22 (_sys_sigabbrev_internal): Remove aliases.
23 (_sys_siglist): Define hidden alias.
24
507352f1
MT
252012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
26
27 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28 bits/sysctl.h.
29
42bbb1c3
L
302012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31
32 [BZ #14117]
6bd784b6
L
33 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
35
8bca20f0
L
36 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
37 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
42
f9e890a9
L
43 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
44 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
45 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
46
471101a1
L
47 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
48 with __addr.
49 (insw): Likewise.
50 (insl): Likewise.
51 (outsb): Likewise.
52 (outsw): Likewise.
53 (outsl): Likewise.
54
6451c862
L
55 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
56 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
57 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
58
a254b8c9
L
59 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
60 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
61 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
62 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
63 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
64 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
65
b8dfdd92
L
66 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
67 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
68
578cd270
L
69 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
70 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
71
de662f5f
L
72 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
73 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
74 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
75
25653439
L
76 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
77 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
78 to ...
79 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
80
6bad24a0
L
81 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
82 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
83 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
84
42bbb1c3
L
85 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
86 for x86-64.
87 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
88
2d10d547
JM
892012-05-31 Joseph Myers <joseph@codesourcery.com>
90
91 * math/math.h (M_El): Use two more decimal places.
92 (M_LOG2El): Likewise.
93 (M_LOG10El): Likewise.
94 (M_LN2l): Likewise.
95 (M_LN10l): Likewise.
96 (M_PIl): Likewise.
97 (M_PI_2l): Likewise.
98 (M_PI_4l): Likewise.
99 (M_1_PIl): Likewise.
100 (M_2_PIl): Likewise.
101 (M_2_SQRTPIl): Likewise.
102 (M_SQRT2l): Likewise.
103 (M_SQRT1_2l): Likewise.
104
f230c29b
DM
1052012-05-31 David S. Miller <davem@davemloft.net>
106
107 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
108 values between float registers.
109 * sysdeps/sparc/sparc64/memset.S: Likewise.
110 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
111
fed806c3
MF
1122012-05-31 Mike Frysinger <vapier@gentoo.org>
113
114 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
115 -D_FORTIFY_SOURCE=1.
116 (CPPFLAGS-tst-longjmp_chk.c): Define.
117 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
118 (CPPFLAGS-tst-longjmp_chk2.c): Define.
119 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
120 CFLAGS-tst-wchar-h.c.
121
30917259
MP
1222012-05-31 Marek Polacek <polacek@redhat.com>
123
124 [BZ #14132]
125 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
126 __endmntent_internal): Remove declaration.
127 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
128 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
129 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
130
1c58d5dc
DM
1312012-05-30 David S. Miller <davem@davemloft.net>
132
133 * sysdeps/sparc/sparc32/soft-fp/q_util.c
134 (___Q_simulate_exceptions): Use real FP ops rather than writing
135 into the %fsr.
136 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
137 Likewise.
138
7dc00e0d
L
1392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
140
141 [BZ #14117]
0bd53985
L
142 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
143 * sysdeps/x86/bits/xtitypes.h: This.
144
3a257e66
L
145 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
146 * sysdeps/x86/bits/wordsize.h: This.
147
62f62904
L
148 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
149 * sysdeps/x86/bits/huge_vall.h: This.
150
404fe9d9
L
151 * sysdeps/i386/bits/select.h: Removed.
152 * sysdeps/x86_64/bits/select.h: Renamed to ...
153 * sysdeps/x86/bits/select.h: This.
154
d48d0446
L
155 * sysdeps/i386/bits/setjmp.h: Removed.
156 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
157 * sysdeps/x86/bits/setjmp.h: This.
158
7dc00e0d
L
159 * sysdeps/i386/bits/mathdef.h: Removed.
160 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
161 * sysdeps/x86/bits/mathdef.h: This.
162
03277f8f
AS
1632012-05-30 Andreas Schwab <schwab@linux-m68k.org>
164
165 [BZ #14132]
166 * include/sys/socket.h (__connect_internal)
167 (__libc_sa_len_internal): Remove declaration.
168 (__connect, __libc_sa_len): Declare hidden_proto.
169 (SA_LEN): Remove use of INTUSE.
170 * socket/connect.c: Add libc_hidden_def.
171 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
172 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
173 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
174 alias.
175 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
176 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
177 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
178 of adding _internal alias.
179
13764867
L
1802012-05-30 H.J. Lu <hongjiu.lu@intel.com>
181
182 [BZ #14117]
6bd97696
L
183 * sysdeps/i386/bits/link.h: Removed.
184 * sysdeps/i386/bits/linkmap.h: Likewise.
185 * sysdeps/x86_64/bits/link.h: Renamed to ...
186 * sysdeps/x86/bits/link.h: This.
187 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
188 * sysdeps/x86/bits/linkmap.h: This.
189
f726f0bb
L
190 * sysdeps/i386/bits/endian.h: Removed.
191 * sysdeps/x86_64/bits/endian.h: Renamed to ...
192 * sysdeps/x86/bits/endian.h: This.
193
13764867
L
194 * sysdeps/i386/bits/byteswap.h: Removed.
195 * sysdeps/i386/bits/byteswap-16.h: Likewise.
196 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
197 * sysdeps/x86/bits/byteswap.h: This.
198 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
199 * sysdeps/x86/bits/byteswap-16.h: This.
200 * sysdeps/i386/Implies: Add x86.
201 * sysdeps/x86_64/Implies: Likewise.
202
ae251b0b
DM
2032012-05-30 David S. Miller <davem@davemloft.net>
204
205 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
206 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
207 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
208 (FP_TRAPPING_EXCEPTIONS): Define.
209 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
210 (FP_TRAPPING_EXCEPTIONS): Define.
211 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
212 subnormals only when inexact has been signalled or underflow
213 exceptions are enabled.
214 (_FP_PACK_CANONICAL): Likewise.
215
d5c90867
L
2162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
217
218 [BZ #14183]
219 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
220 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
221
63f1549e
RH
2222012-05-30 Richard Henderson <rth@twiddle.net>
223
8d8f2279
RH
224 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
225 with #ifndef NOT_IN_libc.
226
63f1549e
RH
227 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
228 marked to avoid plt entry.
229
0ab0291b
L
2302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
231
232 [BZ #14112]
233 * Makeconfig (default-abi): New macro.
234 (abi-includes): Likewise.
235 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
236 $(abi-$(default-abi)-lib-soname) for soname if defined.
237 ($(common-objpfx)gnu/lib-names.stmp): Generate from
238 abi-variants.
239 * Makefile (installed-stubs): Likewise.
240 * include/stubs-biarch.h: Removed.
241 * scripts/lib-names.awk: Only handle one library at a time.
242 * scripts/soversions.awk: Remove WORDSIZE support.
243 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
244 entries.
245 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
246 Removed.
247 (syscall-list-default-condition): Likewise.
248 (syscall-list-default-condition): Likewise.
249 (syscall-list-includes): Likewise.
250 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
251 syscall-list-* with abi-*. Handle undefined abi-variants.
252 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
253 * sysdeps/unix/sysv/linux/i386/Implies: New file.
254 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
255 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
256 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
257 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
258 Removed.
259 (syscall-list-32-options): Likewise.
260 (syscall-list-32-condition): Likewise.
261 (syscall-list-64-options): Likewise.
262 (syscall-list-64-condition): Likewise.
263 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
264 macro.
265 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
266 Renamed to ...
267 (abi-*): This.
268 (abi-64-ld-soname): New macro.
269 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
270 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
271 Renamed to ...
272 (abi-*): This.
273 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
274 * sysdeps/x86_64/x32/shlib-versions: Likewise.
275
4da0431d
JM
2762012-05-30 Joseph Myers <joseph@codesourcery.com>
277
3a85279c
JM
278 * sysdeps/unix/sysv/linux/kernel-features.h
279 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
280 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
281 include <kernel-features.h>.
282 [!__NR_ftruncate64]: Remove conditional code.
283 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
284 [__NR_ftruncate64]: Make code unconditional.
285 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
286 * sysdeps/unix/sysv/linux/truncate64.c: Do not
287 include <kernel-features.h>.
288 [!__NR_ftruncate64]: Remove conditional code.
289 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
290 [__NR_ftruncate64]: Make code unconditional.
291 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
293 include <kernel-features.h>.
294 [!__NR_ftruncate64]: Remove conditional code.
295 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
296 [__NR_ftruncate64]: Make code unconditional.
297 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
299 include <kernel-features.h>.
300 [!__NR_ftruncate64]: Remove conditional code.
301 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
302 [__NR_ftruncate64]: Make code unconditional.
303 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
304
4da0431d
JM
305 * configure.in (libc_cv_fpie): Weaken to a compile test using
306 LIBC_TRY_CC_OPTION.
307 * configure: Regenerated.
308
11ef492c
AK
3092012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
310
311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
315 Refreshed.
316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
320 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
322 Refreshed.
323
d66ef399
DM
3242012-05-27 David S. Miller <davem@davemloft.net>
325
326 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
327 (___Q_zero): New.
328 (__Q_simulate_exceptions): Return void. Change to simulate
329 exceptions by writing into the %fsr.
330 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
331 (__Qp_handle_exceptions): Likewise.
332 (numbers): Delete.
333 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
334 __Qp_handle_exceptions.
335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
336 __Qp_handle_exceptions.
337 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
338 as unused and give dummy FP_RND_NEAREST initializer.
339 (FP_INHIBIT_RESULTS): Define.
340 (___Q_simulate_exceptions): Update declaration.
341 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
342 formatting.
343 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
344 as unused and give dummy FP_RND_NEAREST initializer.
345 (__Qp_handle_exceptions): Update declaration.
346 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
347 formatting.
348
04fb54b5
TS
3492012-05-27 Thomas Schwinge <thomas@codesourcery.com>
350
351 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
352 the temporary FPU control word.
353 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
354 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
355 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
356 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
357 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
358 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
359 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
360 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
361 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
362 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
363 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
364
3f99608f
KK
3652012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
366
367 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
368 fields.
369
65a4de4e
CLT
3702012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
371
372 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
373 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
374 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
375 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
376 Likewise.
377 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
378 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
379 Likewise.
380
15749d40
UD
3812012-05-27 Ulrich Drepper <drepper@gmail.com>
382
383 * po/h.po: Update from translation team.
384
25dbcb27
AS
3852012-05-26 Andreas Schwab <schwab@linux-m68k.org>
386
3d3f8e55
AS
387 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
388
25dbcb27
AS
389 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
390 handling of denormals.
391 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
392 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
393 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
394 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
395 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
396 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
397 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
398 Likewise.
399
7ad47a80 4002012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
401
402 [BZ #14152]
403 * math/libm-test.inc (fma_test): Don't always expect underflow
404 exception.
405
9c6ea9fa
SP
4062012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
407
408 [BZ #12416]
409 * elf/tst-execstack.c: Include stackinfo.h.
410 (do_test): Adjust test case to ensure that pthread_getattr_np
411 behaviour remains the same after marking stack executable.
412
a8239222
JM
4132012-05-25 Joseph Myers <joseph@codesourcery.com>
414
415 * sysdeps/unix/sysv/linux/kernel-features.h
416 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
417 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
418 kernel-features.h.
419 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
420 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
421 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
422 kernel-features.h.
423 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
424 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
425
918b5606
L
4262012-05-25 H.J. Lu <hongjiu.lu@intel.com>
427
428 * configure.in: Define the default includes to being none.
429 * configure: Regenerated.
430
3a097cc7
RM
4312012-05-25 Roland McGrath <roland@hack.frob.com>
432
8422c9a5
RM
433 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
434 * sysdeps/x86_64/setjmp.S: Likewise.
435 * sysdeps/i386/bsd-setjmp.S: Likewise.
436 * sysdeps/i386/bsd-_setjmp.S: Likewise.
437 * sysdeps/i386/setjmp.S: Likewise.
438 * sysdeps/i386/__longjmp.S: Likewise.
439 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
440 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
441
3a097cc7
RM
442 * include/stap-probe.h: New file.
443 * configure.in: Handle --enable-systemtap.
444 * configure: Regenerated.
445 * config.h.in (USE_STAP_PROBE): New #undef.
446 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
447 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
448 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
449
21708942
JM
4502012-05-25 Joseph Myers <joseph@codesourcery.com>
451
452 [BZ #13717]
453 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
454 to 2.4.0 where earlier.
455 * sysdeps/unix/sysv/linux/configure: Regenerated.
456 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
457 <kernel-features.h>.
458 [__ASSUME_32BITUIDS]: Make code unconditional.
459 [!__ASSUME_32BITUIDS]: Remove conditional code.
460 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
461 <kernel-features.h>.
462 [__ASSUME_32BITUIDS]: Make code unconditional.
463 [!__ASSUME_32BITUIDS]: Remove conditional code.
464 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
465 [__ASSUME_32BITUIDS]: Make code unconditional.
466 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
467 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
468 <kernel-features.h>.
469 [__ASSUME_32BITUIDS]: Make code unconditional.
470 [!__ASSUME_32BITUIDS]: Remove conditional code.
471 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
472 <kernel-features.h>.
473 [__ASSUME_32BITUIDS]: Make code unconditional.
474 [!__ASSUME_32BITUIDS]: Remove conditional code.
475 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
476 <kernel-features.h>.
477 [__ASSUME_32BITUIDS]: Make code unconditional.
478 [!__ASSUME_32BITUIDS]: Remove conditional code.
479 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
480 <kernel-features.h>.
481 [__ASSUME_32BITUIDS]: Make code unconditional.
482 [!__ASSUME_32BITUIDS]: Remove conditional code.
483 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
484 <kernel-features.h>.
485 [__ASSUME_32BITUIDS]: Make code unconditional.
486 [!__ASSUME_32BITUIDS]: Remove conditional code.
487 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
488 <kernel-features.h>.
489 [__ASSUME_32BITUIDS]: Make code unconditional.
490 [!__ASSUME_32BITUIDS]: Remove conditional code.
491 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
492 <kernel-features.h>.
493 [__ASSUME_32BITUIDS]: Make code unconditional.
494 [!__ASSUME_32BITUIDS]: Remove conditional code.
495 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
496 <kernel-features.h>.
497 [__ASSUME_32BITUIDS]: Make code unconditional.
498 [!__ASSUME_32BITUIDS]: Remove conditional code.
499 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
500 <kernel-features.h>.
501 [__ASSUME_32BITUIDS]: Make code unconditional.
502 [!__ASSUME_32BITUIDS]: Remove conditional code.
503 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
504 <kernel-features.h>.
505 [__ASSUME_32BITUIDS]: Make code unconditional.
506 [!__ASSUME_32BITUIDS]: Remove conditional code.
507 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
508 <kernel-features.h>.
509 [__NR_setresgid] (__setresgid): Do not declare.
510 [__ASSUME_32BITUIDS]: Make code unconditional.
511 [!__ASSUME_32BITUIDS]: Remove conditional code.
512 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
513 <kernel-features.h>.
514 [__NR_setresuid] (__setresuid): Do not declare.
515 [__ASSUME_32BITUIDS]: Make code unconditional.
516 [!__ASSUME_32BITUIDS]: Remove conditional code.
517 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
518 <kernel-features.h>.
519 [__ASSUME_32BITUIDS]: Make code unconditional.
520 [!__ASSUME_32BITUIDS]: Remove conditional code.
521 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
522 <kernel-features.h>.
523 [__ASSUME_32BITUIDS]: Make code unconditional.
524 [!__ASSUME_32BITUIDS]: Remove conditional code.
525 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
526 <kernel-features.h>.
527 [__ASSUME_32BITUIDS]: Make code unconditional.
528 [!__ASSUME_32BITUIDS]: Remove conditional code.
529 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
530 <kernel-features.h>.
531 [__ASSUME_32BITUIDS]: Make code unconditional.
532 [!__ASSUME_32BITUIDS]: Remove conditional code.
533 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
534 <kernel-features.h>.
535 [__ASSUME_32BITUIDS]: Make code unconditional.
536 [!__ASSUME_32BITUIDS]: Remove conditional code.
537 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
538 <kernel-features.h>.
539 [__ASSUME_32BITUIDS]: Make code unconditional.
540 [!__ASSUME_32BITUIDS]: Remove conditional code.
541 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
542 <kernel-features.h>.
543 [__ASSUME_32BITUIDS]: Make code unconditional.
544 [!__ASSUME_32BITUIDS]: Remove conditional code.
545 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
546 <kernel-features.h>.
547 [__ASSUME_32BITUIDS]: Make code unconditional.
548 [!__ASSUME_32BITUIDS]: Remove conditional code.
549 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
550 <kernel-features.h>.
551 [__ASSUME_32BITUIDS]: Make code unconditional.
552 [!__ASSUME_32BITUIDS]: Remove conditional code.
553 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
554 <kernel-features.h>.
555 [__ASSUME_32BITUIDS]: Make code unconditional.
556 [!__ASSUME_32BITUIDS]: Remove conditional code.
557 * sysdeps/unix/sysv/linux/kernel-features.h
558 (__ASSUME_SETRESUID_SYSCALL): Remove.
559 (__ASSUME_SETRESGID_SYSCALL): Likewise.
560 (__ASSUME_32BITUIDS): Likewise.
561 (__ASSUME_LDT_WORKS): Likewise.
562 (__ASSUME_O_DIRECTORY): Likewise.
563 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
564 architecture but not kernel version.
565 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
566 (__ASSUME_MMAP2_SYSCALL): Likewise.
567 (__ASSUME_STAT64_SYSCALL): Likewise.
568 (__ASSUME_IPC64): Likewise.
569 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
570 <kernel-features.h>.
571 [__ASSUME_32BITUIDS]: Make code unconditional.
572 [!__ASSUME_32BITUIDS]: Remove conditional code.
573 * sysdeps/unix/sysv/linux/opendir.c: Do not include
574 <kernel-features.h>.
575 [__ASSUME_O_DIRECTORY]: Make code unconditional.
576 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
577 132096]: Remove conditional code.
578 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
579 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
580 <kernel-features.h>.
581 [__ASSUME_32BITUIDS]: Make code unconditional.
582 [!__ASSUME_32BITUIDS]: Remove conditional code.
583 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
584 <kernel-features.h>.
585 [__ASSUME_32BITUIDS]: Make code unconditional.
586 [!__ASSUME_32BITUIDS]: Remove conditional code.
587 * sysdeps/unix/sysv/linux/setegid.c: Do not include
588 <kernel-features.h>.
589 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
590 unconditional.
591 (__setresgid): Do not declare.
592 [__ASSUME_32BITUIDS]: Make code unconditional.
593 [!__ASSUME_32BITUIDS]: Remove conditional code.
594 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
595 <kernel-features.h>.
596 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
597 unconditional.
598 (__setresuid): Do not declare.
599 [__ASSUME_32BITUIDS]: Make code unconditional.
600 [!__ASSUME_32BITUIDS]: Remove conditional code.
601 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
602 <kernel-features.h>.
603 [__ASSUME_32BITUIDS]: Make code unconditional.
604 [!__ASSUME_32BITUIDS]: Remove conditional code.
605 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
606 <kernel-features.h>.
607 [__ASSUME_32BITUIDS]: Make code unconditional.
608 [!__ASSUME_32BITUIDS]: Remove conditional code.
609
a386f1cc
RH
6102012-05-25 Richard Henderson <rth@twiddle.net>
611
612 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
613 dl_hwcap to ifunc resolver.
614 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
615 elf_ifunc_invoke.
616 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
617 dl_hwcap to ifunc resolver.
618 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
619
b6550497
JM
6202012-05-24 Joseph Myers <joseph@codesourcery.com>
621
622 [BZ #14153]
623 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
624 for |x| <= 2**-26, not 2**-57.
625 * math/libm-test.inc (acos_test): Do not allow spurious underflow
626 exception.
627
b0bc23a1
JL
6282012-05-24 Jeff Law <law@redhat.com>
629
630 * stdio-common/Makefile (tests): Add bug25.
631 * stdio-common/bug25.c: New test.
632
347c92e9
L
6332012-05-24 H.J. Lu <hongjiu.lu@intel.com>
634
635 [BZ #13576]
636 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
637 multiple of MALLOC_ALIGNMENT in size.
638 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
639
6bcc8b3f
JM
6402012-05-24 Joseph Myers <joseph@codesourcery.com>
641
642 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
643 Require >= 256.
644 (FILENAME_MAX): Use macro-int-constant.
645 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
646 (_IOFBF): Use macro-int-constant.
647 (_IOLBF): Likewise.
648 (_IONBF): Likewise.
649 (SEEK_CUR): Likewise.
650 (SEEK_END): Likewise.
651 (SEEK_SET): Likewise.
652 (TMP_MAX): Likewise.
653 (EOF): Use macro-int-constant. Require < 0.
654 (NULL): Use macro-constant. Require == 0.
655 (stdin): Require type to be FILE *.
656 (stdout): Likewise.
657 (stderr): Likewise.
658 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
659 macro-int-constant.
660 (EXIT_SUCCESS): Likewise.
661 (NULL): Use macro-constant. Require == 0.
662 (RAND_MAX): Use macro-int-constant.
663 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
664 [C99-based standards] (strtof): Require function.
665 [C99-based standards] (strtold): Likewise.
666 [C99-based standards] (strtoll): Likewise.
667 [C99-based standards] (strtoull): Likewise.
668 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
669 [ISO || ISO99 || ISO11] (limits.h): Likewise.
670 [ISO || ISO99 || ISO11] (math.h): Likewise.
671 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
672 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
673 [ISO || ISO99 || ISO11] (*_t): Do not allow.
674
d18ea0c5
AS
6752012-05-24 Andreas Schwab <schwab@linux-m68k.org>
676
677 [BZ #14132]
56d25bb8
AS
678 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
679 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
680 * intl/dgettext.c (DCGETTEXT): Likewise.
681 * intl/gettext.c (DCGETTEXT): Likewise.
682 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
683 * posix/regex_internal.h (gettext): Likewise.
684 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
685 Remove declaration.
686 * include/argz.h (__argz_count_internal)
687 (__argz_stringify_internal): Remove declaration.
688 (__argz_count, __argz_stringify): Declare hidden proto.
689 * intl/dcgettext.c: Remove use of INTDEF.
690 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
691 * string/argz-stringify.c: Likewise.
692 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
693 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
694 Declare hidden proto.
d18ea0c5
AS
695 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
696 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
697 Declare hidden proto.
698 * include/stdio.h (__asprintf_internal): Don't declare.
699 (__asprintf): Don't define as macro. Declare hidden proto.
700 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
701 (__fsetlocking): Declare hidden proto.
702 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
703 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
704 hidden proto.
705 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
706 (_IO_setlinebuf): Remove use of INTUSE.
707 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
708 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
709 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
710 Remove declaration.
711 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
712 (_IO_do_flush): Remove use of INTUSE.
713 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
714 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
715 (_IO_adjust_column, _IO_least_wmarker)
716 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
717 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
718 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
719 (_IO_default_doallocate, _IO_wdefault_doallocate)
720 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
721 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
722 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
723 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
724 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
725 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
726 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
727 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
728 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
729 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
730 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
731 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
732 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
733 proto.
734 (_IO_flush_all_internal, _IO_adjust_column_internal)
735 (_IO_default_uflow_internal, _IO_default_finish_internal)
736 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
737 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
738 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
739 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
740 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
741 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
742 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
743 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
744 (_IO_file_close_internal, _IO_file_close_it_internal)
745 (_IO_file_underflow_internal, _IO_file_overflow_internal)
746 (_IO_file_init_internal, _IO_file_attach_internal)
747 (_IO_file_fopen_internal, _IO_file_read_internal)
748 (_IO_file_sync_internal, _IO_file_seek_internal)
749 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
750 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
751 (_IO_str_underflow_internal, _IO_str_overflow_internal)
752 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
753 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
754 (_IO_list_all_internal, _IO_link_in_internal)
755 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
756 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
757 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
758 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
759 (_IO_do_write_internal, _IO_padn_internal)
760 (_IO_getline_info_internal, _IO_getline_internal)
761 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
762 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
763 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
764 (_IO_vfscanf_internal, _IO_vfprintf_internal)
765 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
766 (_IO_init_internal, _IO_un_link_internal): Don't declare.
767 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
768 with libc_hidden_ver, remove use of INTUSE.
769 * libio/genops.c: Likewise.
770 * libio/freopen.c: Likewise.
771 * libio/freopen64.c: Likewise.
772 * libio/iofclose.c: Likewise.
773 * libio/iofdopen.c: Likewise.
774 * libio/iofflush.c: Likewise.
775 * libio/iofflush_u.c: Likewise.
776 * libio/iofgets.c: Likewise.
777 * libio/iofgets_u.c: Likewise.
778 * libio/iofopen.c: Likewise.
779 * libio/iofopncook.c: Likewise.
780 * libio/iofread.c: Likewise.
781 * libio/iofread_u.c: Likewise.
782 * libio/ioftell.c: Likewise.
783 * libio/iofwrite.c: Likewise.
784 * libio/iogetline.c: Likewise.
785 * libio/iogets.c: Likewise.
786 * libio/iogetwline.c: Likewise.
787 * libio/iopadn.c: Likewise.
788 * libio/iopopen.c: Likewise.
789 * libio/ioseekoff.c: Likewise.
790 * libio/ioseekpos.c: Likewise.
791 * libio/iosetbuffer.c: Likewise.
792 * libio/iosetvbuf.c: Likewise.
793 * libio/ioungetc.c: Likewise.
794 * libio/ioungetwc.c: Likewise.
795 * libio/iovdprintf.c: Likewise.
796 * libio/iovsprintf.c: Likewise.
797 * libio/iovsscanf.c: Likewise.
798 * libio/memstream.c: Likewise.
799 * libio/obprintf.c: Likewise.
800 * libio/oldfileops.c: Likewise.
801 * libio/oldiofclose.c: Likewise.
802 * libio/oldiofdopen.c: Likewise.
803 * libio/oldiofopen.c: Likewise.
804 * libio/oldiopopen.c: Likewise.
805 * libio/oldstdfiles.c: Likewise.
806 * libio/putc.c: Likewise.
807 * libio/setbuf.c: Likewise.
808 * libio/setlinebuf.c: Likewise.
809 * libio/stdfiles.c: Likewise.
810 * libio/strops.c: Likewise.
811 * libio/vasprintf.c: Likewise.
812 * libio/vscanf.c: Likewise.
813 * libio/vsnprintf.c: Likewise.
814 * libio/vswprintf.c: Likewise.
815 * libio/wfiledoalloc.c: Likewise.
816 * libio/wfileops.c: Likewise.
817 * libio/wgenops.c: Likewise.
818 * libio/wmemstream.c: Likewise.
819 * libio/wstrops.c: Likewise.
820 * libio/__fpurge.c: Likewise.
821 * libio/__fsetlocking.c: Likewise.
822 * assert/assert.c: Likewise.
823 * debug/fgets_chk.c: Likewise.
824 * debug/fgets_u_chk.c: Likewise.
825 * debug/fread_chk.c: Likewise.
826 * debug/fread_u_chk.c: Likewise.
827 * debug/gets_chk.c: Likewise.
828 * debug/obprintf_chk.c: Likewise.
829 * debug/vasprintf_chk.c: Likewise.
830 * debug/vdprintf_chk.c: Likewise.
831 * debug/vsnprintf_chk.c: Likewise.
832 * debug/vsprintf_chk.c: Likewise.
833 * malloc/mtrace.c: Likewise.
834 * misc/error.c: Likewise.
835 * misc/syslog.c: Likewise.
836 * stdio-common/asprintf.c: Likewise.
837 * stdio-common/fxprintf.c: Likewise.
838 * stdio-common/getw.c: Likewise.
839 * stdio-common/isoc99_fscanf.c: Likewise.
840 * stdio-common/isoc99_scanf.c: Likewise.
841 * stdio-common/isoc99_vfscanf.c: Likewise.
842 * stdio-common/isoc99_vscanf.c: Likewise.
843 * stdio-common/isoc99_vsscanf.c: Likewise.
844 * stdio-common/printf-prs.c: Likewise.
845 * stdio-common/printf_fp.c: Likewise.
846 * stdio-common/printf_fphex.c: Likewise.
847 * stdio-common/printf_size.c: Likewise.
848 * stdio-common/putw.c: Likewise.
849 * stdio-common/scanf.c: Likewise.
850 * stdio-common/sprintf.c: Likewise.
851 * stdio-common/tmpfile.c: Likewise.
852 * stdio-common/vfprintf.c: Likewise.
853 * stdio-common/vfscanf.c: Likewise.
854 * stdlib/strfmon_l.c: Likewise.
855 * sunrpc/openchild.c: Likewise.
856 * sunrpc/xdr_stdio.c: Likewise.
857 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
858 * sysdeps/mach/hurd/tmpfile.c: Likewise.
859
d6c33fda
RM
8602012-05-24 Roland McGrath <roland@hack.frob.com>
861
c1487492
RM
862 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
863
864 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
865 in the third column, to generate for the shared library an IFUNC
866 that uses _dl_vdso_vsym.
867 * Makerules (COMPILE.c, compile-stdin.c): New variables.
868 * Makeconfig (object-suffixes-noshared): New variable.
869
870 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
871 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
872 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
873 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
874
d6c33fda
RM
875 [BZ #14132]
876 * include/sys/time.h (__gettimeofday): Remove macro.
877 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
878 * time/gettimeofday.c (__gettimeofday): Remove #undef.
879 Remove INTDEF.
880 (__gettimeofday): Add libc_hidden_def.
881 (gettimeofday): Add libc_hidden_weak.
882 * sysdeps/mach/gettimeofday.c: Likewise.
883 * sysdeps/posix/gettimeofday.c: Likewise.
884 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
885 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
886 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
887 (__gettimeofday_internal): Remove strong_alias.
888 (__gettimeofday): Add libc_hidden_def.
889 (gettimeofday): Add libc_hidden_weak.
890 * sysdeps/unix/syscalls.list (gettimeofday):
891 Remove __gettimeofday_internal alias.
892
b5a2bbe6
L
8932012-05-24 Daniel Jacobowitz <drow@false.org>
894 H.J. Lu <hongjiu.lu@intel.com>
895
896 [BZ #12495]
897 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
898 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
899 (largebin_index_32_big): New.
900 (largebin_index): Use it for 16-byte alignment.
901 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
902 correction with front_misalign.
903
cfba4fda
L
9042012-05-24 H.J. Lu <hongjiu.lu@intel.com>
905
7f907421
L
906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
907 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
908 Likewise.
909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
910 Likewise.
911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
912 Likewise.
913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
914 Likewise.
915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
916 Likewise.
917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
918 Likewise.
919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
920 Likewise.
921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
922 Likewise.
923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
924 Likewise.
925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
926 Likewise.
927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
928 Likewise.
929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
930 Likewise.
931
cfba4fda
L
932 * scripts/data/c++-types-x32-linux-gnu.data: New file.
933 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
934
80bad0cc
JM
9352012-05-24 Joseph Myers <joseph@codesourcery.com>
936
7a25eb06
JM
937 [BZ #10846]
938 [BZ #14036]
939 * math/libm-test.inc (exp_test): Add test from bug 14036.
940 (pow_test): Add test from bug 10846.
941
795405f9
JM
942 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
943 and other flags.
944 (special_function): Do not include flags in test name.
945 (parse_args): Likewise.
946 * sysdeps/i386/fpu/libm-test-ulps: Update.
947 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
948 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
949 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
951
80bad0cc
JM
952 * math/gen-libm-test.pl (%beautify): Add entries for underflow
953 exceptions.
954 * math/libm-test.inc ("Philosophy"): Update comment about
955 exception testing.
956 (UNDERFLOW_EXCEPTION): New macro.
957 (UNDERFLOW_EXCEPTION_OK): Likewise.
958 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
959 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
960 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
961 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
962 (INVALID_EXCEPTION_OK): Update value.
963 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
964 (OVERFLOW_EXCEPTION_OK): Likewise.
965 (IGNORE_ZERO_INF_SIGN): Likewise.
966 (test_exceptions): Handle underflow exceptions.
967 (acos_test): Update for underflow exception expectations.
968 (cexp_test): Likewise.
969 (clog_test): Likewise.
970 (clog10_test): Likewise.
971 (csqrt_test): Likewise.
972 (ctan_test): Likewise.
973 (ctanh_test): Likewise.
974 (exp_test): Likewise.
975 (exp10_test): Likewise.
976 (exp2_test): Likewise.
977 (expm1_test): Likewise.
978 (fma_test): Likewise.
979 (j0_test): Likewise.
980 (jn_test): Likewise.
981 (nexttoward_test): Likewise.
982 (pow_test): Likewise.
983 (scalbn_test): Likewise.
984 (scalbln_test): Likewise.
985 (tan_test): Likewise.
986 (y1_test): Likewise.
987 * sysdeps/i386/fpu/libm-test-ulps: Update.
988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
989
9e0e3d0b
DM
9902012-05-23 David S. Miller <davem@davemloft.net>
991
992 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
993 (__libc_sigaction): Remove unused local variables.
994
ccd0a08f
L
9952012-05-23 H.J. Lu <hongjiu.lu@intel.com>
996
997 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
998
62bdf9a6
PE
9992012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1000
f8591f80
PE
1001 mktime: avoid signed integer overflow
1002 * time/mktime.c (__mktime_internal): Do not mishandle the case
1003 where diff == INT_MIN.
1004
94c7d826
PE
1005 mktime: simplify computation of average
1006 * time/mktime.c (ranged_convert): Use new time_t_avg function
1007 instead of rolling our own (probably-slower) code.
1008
ce73d683
PE
1009 mktime: do not assume signed right shift propagates sign bit
1010 * time/mktime.c (isdst_differ): New static function.
1011 (__mktime_internal): No need to normalize tm_isdst now.
1012 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1013 tm_isdst values.
1014
72a22e59
PE
1015 mktime: merge another wrapv change from gnulib
1016 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1017 from some compilers.
1018
68605433
PE
1019 mktime: remove incorrect attempt at unusual arithmetics
1020 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1021 The code didn't really work on such machines anyway.
1022 (TYPE_MINIMUM): Assume two's complement.
1023 (twos_complement_arithmetic): Verify that long_int and time_t
1024 are two's complement (or unsigned, in the latter case).
1025
03cf7fe3
PE
1026 mktime: check signed shifts on long_int and time_t, too
1027 * time/mktime.c (SHR): Check that shifts work as desired
1028 on the types long_int and time_t too, as SHR is used on
1029 such types.
1030
f04dfbc2
PE
1031 mktime: do not assume 'long' is wide enough
1032 * time/mktime.c (verify): Move decl up.
1033 (long_int): New type.
1034 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1035 to remove assumption in the code that 'long' is wide enough to
1036 store year values. This assumption is not true on x32 and on
1037 some non-glibc platforms.
1038
62bdf9a6
PE
1039 mktime: merge wrapv change from gnulib
1040 * time/mktime.c (WRAPV): New macro.
1041 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1042 (guess_time_tm, __mktime_internal): Do not assume that signed
1043 integer overflow wraps around; modern compilers generate code
1044 where this assumption is no longer valid.
1045
5e292e4f
L
10462012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1047
1048 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1049 Replace "jmp L(pseudo_end)" with "ret".
1050 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1051 Likewise.
1052
8caf8c87
AJ
10532012-05-23 Andreas Jaeger <aj@suse.de>
1054
1055 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1056 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1057
1a09dc56
AJ
10582012-05-23 Andreas Jaeger <aj@suse.de>
1059 Maximilian Attems <max@stro.at>
1060
1061 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1062 New macros.
1063
1c87aba0
L
10642012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1065
1066 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1067 code so that pseudo_end is just ret and the stack pointer is
1068 correct also for static library in error case.
1069
40e45bd5
JM
10702012-05-23 Joseph Myers <joseph@codesourcery.com>
1071
c2670533
JM
1072 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1073 move to syscalls.list.
1074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1078
40e45bd5
JM
1079 * manual/install.texi (Running make install): Do not mention Linux
1080 kernel version for which pt_chown is not needed.
1081 (Linux): Do not mention problems with nscd with 2.0 kernels.
1082 * INSTALL: Regenerated.
1083
be08eda5
AJ
10842012-05-23 Andreas Jaeger <aj@suse.de>
1085
1086 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1087 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1088 macro.
1089 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1090 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1091 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1092 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1093 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1094 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1095 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1096 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1097 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1098 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1099 * sysdeps/unix/sysv/linux/bits/in.h
1100 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1101
a6a056bb
RM
11022012-05-22 Roland McGrath <roland@hack.frob.com>
1103
1104 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1105 (PREPARE_VERSION): Just use assert instead, it will be elided
1106 under [NDEBUG] anyway.
1107
c9009328
L
11082012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1109
1110 * sysdeps/unix/sysv/linux/Makefile: Include
1111 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1112 (sysdep_routines): Remove sysctl.
c9009328
L
1113 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1114 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1115 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1116 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1117 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1118
73338355
AJ
11192012-05-22 Andreas Jaeger <aj@suse.de>
1120
1121 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1122 that pseudo_end is just ret and the stack pointer is correct also
1123 for static library in error case.
1124
d44638b0
PP
11252012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1126
1127 [BZ #14122]
1128 * nss/nsswitch.c (defconfig_entries): New variable.
1129 (__nss_database_lookup): Don't leak defconfig entries.
1130 (nss_parse_service_list): Don't leak on error paths.
1131 (free_database_entries): New function.
1132 (free_defconfig): New function.
1133 (free_mem): Move common code to free_database_entries.
1134
31a39bd8
L
11352012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1136
da0331a8
L
1137 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1138 Add arch_prctl.
1139 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1140
31a39bd8
L
1141 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1142 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1143 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1144 New macro.
1145 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1146 (INTERNAL_SYSCALL_TYPES): Likewise.
1147 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1148 (LOAD_REGS_TYPES_[1-6]): Likewise.
1149 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1150 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1151
45470df3
AZ
11522012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1153
1154 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1155 copysignl for GLIBC_2_0.
1156 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1157 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1158 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1159 logbl for GLIBC_2_0.
1160 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1161 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1162
98a61bcb
L
11632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1164
a4f6e481
L
1165 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1166 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1167
f63d5db6
L
1168 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1169 Use "neg %eax".
1170
98a61bcb
L
1171 * time/mktime.c: Update copyright years.
1172
95770f14
PE
11732012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1174
6226efbd
PE
1175 mktime: merge comment-quoting-style change from gnulib
1176 * time/mktime.c: Quote 'like this' in comments.
1177 The GNU coding standards suggest that we no longer quote `like this',
1178 as "`" and "'" are typically rendered asymmetrically nowadays.
1179 The typical gnulib style is to quote 'like this' when quoting
1180 code, and "like this" when quoting English.
1181
b99e4f78
PE
1182 * time/mktime.c (compile-command): Add "-I.".
1183
643e01e6
PE
1184 mktime: merge mktime-internal.h change from gnulib
1185 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1186
2554247d
PE
1187 mktime: merge time_r change from gnulib
1188 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1189
826dd0ab
PE
1190 mktime: merge DEBUG change from gnulib
1191 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1192 case system <time.h> has a #define.
1193
bd83aabe
PE
1194 mktime: merge <sys/types.h> change from gnulib
1195 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1196 since <time.t> is now guaranteed to define time_t.
1197
95770f14
PE
1198 mktime: merge HAVE_CONFIG_H change from gnulib
1199 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1200
5e1a27a9
L
12012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1202
0e44a77e
L
1203 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1204 Use "neg %eax".
1205
5e1a27a9
L
1206 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1207 __rlim_t cast.
1208 (struct rusage): Use anonymous union to pad each field to
1209 __syscall_slong_t.
1210
46259bec
DM
12112012-05-21 David S. Miller <davem@davemloft.net>
1212
1213 * Makefules (o-iterator): Remove .s cases.
1214 (compile-command.s): Delete.
1215 (COMPILE.s): Delete.
1216 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1217
59f0c22e
JM
12182012-05-21 Joseph Myers <joseph@codesourcery.com>
1219
1220 * configure.in (libc_cv_predef_stack_protector): Only consider
1221 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1222 * configure: Regenerated.
1223
20c07380
L
12242012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1225
bbb3154b
L
1226 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1227 New macro. Use R*LP on int and pointer.
1228 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1229 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1230 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1231 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1232
20c07380
L
1233 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1234 [__WORDSIZE_TIME64_COMPAT32] instead of
1235 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1236 (struct utmp): Likewise.
1237 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1238 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1239 Renamed to ...
1240 (__WORDSIZE_TIME64_COMPAT32): This.
1241 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1242 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1243 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1244 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1245 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1246 (__WORDSIZE_TIME64_COMPAT32): New macro.
1247
d8d1017e
AJ
12482012-05-21 Andreas Jaeger <aj@suse.de>
1249
1250 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1251 only if [SHARED]. Add prototype for __wcschr_ia32.
1252
6c7fb145
RM
12532012-05-21 Roland McGrath <roland@hack.frob.com>
1254
1255 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1256 of %rbp unmolested in the jmp_buf while mangling the low bits.
1257 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1258 unmolested high bits of %rbp while demangling the low bits.
1259 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1260
66274218
AJ
12612012-05-21 Andreas Jaeger <aj@suse.de>
1262
07c58f8f
AJ
1263 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1264 * sunrpc/svc_simple.c: Use it for registerrpc.
1265 * sunrpc/xcrypt.c: Use it for passwd2des.
1266
66274218
AJ
1267 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1268
61f65140
L
12692012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1270
1271 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1272 Don't define if [__SYSCALL_WORDSIZE != 32].
1273 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1274 New macro.
1275
5fefb436
AJ
12762012-05-21 Bruno Haible <bruno@clisp.org>
1277 Andreas Jaeger <aj@suse.de>
1278
1279 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1280 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1281 inptr and inend for must_buffer_ch.
1282 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1283 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1284 * stdio-common/Makefile (tests): Remove bug15.
1285 (bug15-ENV): Remove macro.
1286 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1287 anymore.
1288
d8e272ab
AJ
12892012-05-19 Andreas Jaeger <aj@suse.de>
1290 Roland McGrath <roland@hack.frob.com>
1291
1292 * manual/contrib.texi: Completely rewritten. It contains now an
1293 alphabetical list of contributors and their contributions.
1294
4a56a162
RH
12952012-05-21 Richard Henderson <rth@twiddle.net>
1296
1297 * misc/getauxval.c (__getauxval): Use unsigned long int.
1298 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1299 (getauxval): Use unsigned long int.
1300
d024d23c
L
13012012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1302
1303 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1304
cbc00a03
RM
13052012-05-21 Roland McGrath <roland@hack.frob.com>
1306
1307 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1308 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1309 __alignof__ (long double).
1310
478143fa
AZ
13112012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1312
1313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1314
c7683a6d
RH
13152012-05-20 Richard Henderson <rth@twiddle.net>
1316
1317 * misc/getauxval.c: New file.
1318 * misc/sys/auxv.h: New file.
1319 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1320 (routines): Add getauxval.
1321 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1322 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1323 * elf/dl-sysdep.c (_dl_auxv): Remove.
1324 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1325 * elf/dl-support.c (_dl_auxv): New variable.
1326 (_dl_aux_init): Initialize it.
1327 * manual/startup.texi (Auxiliary Vector): New node.
1328 * sysdeps/generic/bits/hwcap.h: New file.
1329 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1330 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1331 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1332 * sysdeps/sparc/sysdep.h: ... here. Include it.
1333 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1334 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1336 Update.
c7683a6d
RH
1337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1340 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1342 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1345
a6f1845d
AZ
13462012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1347
1348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1349
cbcbe830
DM
13502012-05-19 David S. Miller <davem@davemloft.net>
1351
1352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1353
e0b16cc2
JM
13542012-05-19 Joseph Myers <joseph@codesourcery.com>
1355
1356 [BZ #14123]
1357 * math/s_ccosh.c: Include <float.h>
1358 (__ccosh): Avoid internal overflow calculating sinh and cosh
1359 values before multiplying by sin and cos values.
1360 * math/s_ccoshf.c: Likewise.
1361 * math/s_ccoshl.c: Likewise.
1362 * math/s_csin.c: Likewise.
1363 * math/s_csinf.c: Likewise.
1364 * math/s_csinl.c: Likewise.
1365 * math/s_csinh.c: Likewise.
1366 * math/s_csinhf.c: Likewise.
1367 * math/s_csinhl.c: Likewise.
1368 * math/libm-test.inc (ccos_test): Add more tests.
1369 (ccosh_test): Likewise.
1370 (csin_test): Likewise.
1371 (csinh_test): Likewise.
1372 * sysdeps/i386/fpu/libm-test-ulps: Update.
1373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1374
6ad13e08
L
13752012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1376
f66f0ce8
L
1377 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1378 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1379
6ad13e08
L
1380 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1381
b1d072a7
JM
13822012-05-19 Joseph Myers <joseph@codesourcery.com>
1383
1384 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1385 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1386 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1387 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1388 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1389 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1390 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1391 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1392 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1393 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1394 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1395 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1396 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1397 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1398 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1399 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1400 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1401 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1402 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1403 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1404 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1405 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1406 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1407 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1408 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1409 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1410 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1411 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1412 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1413 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1414 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1415
9eae47cb
AJ
14162012-05-18 Andreas Jaeger <aj@suse.de>
1417
1418 * csu/.gitignore: Delete.
1419
bb07f69f
L
14202012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1421
1422 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1423 (timex): Use __syscall_slong_t.
1424
e6bdb741
AJ
14252012-05-18 Andreas Jaeger <aj@suse.de>
1426 Carlos O'Donell <carlos_odonell@mentor.com>
1427
1428 * manual/install.texi (Configuring and compiling): Update
1429 description about files modified in the source directory.
d6c33fda 1430 * INSTALL: Regenerated.
e6bdb741 1431
1b74487e
L
14322012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1433
1434 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1435 value. Use "or" to set return value to -1.
1436 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1437 negate return value.
1438
a88b64b9
TMQMF
14392012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1440
1441 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1442 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1443 failure if the compiler has Graphite support disabled.
1444 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1445 Likewise.
1446 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1447 CFLAGS-memmove.c): Likewise.
1448 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1449 Likewise.
1450
3707636e
L
14512012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1452
610b8622
L
1453 * sysdeps/x86_64/x32/_itoa.h: New file.
1454
7cd195df
L
1455 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1456 getdents system call only if kernel and user dirents have the
1457 same d_ino and d_off.
1458
94b07d20
L
1459 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1460 LLONG_MAX != LONG_MAX.
1461 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1462 (_fitoa_word): Likewise.
1463
18298070
L
1464 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1465 years.
1466 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1467 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1468 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1469
553c7ea4
L
1470 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1471 include <bits/wordsize.h>. Check __x86_64__ instead of
1472 __WORDSIZE.
1473 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1474 if __x86_64__ is defined. Use anonymous union on fpstate.
1475
3707636e
L
1476 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1477 anonymous union.
1478
b53ef01a
AS
14792012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1480
37fb1dc0
AS
1481 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1482 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1483 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1484 Refer to _rtld_local_ro instead of _rtld_global_ro.
1485 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1486 Likewise.
1487 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1488 Likewise.
1489 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1490 Likewise.
1491 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1492 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1493 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1494
b53ef01a
AS
1495 * sysdeps/powerpc/powerpc32/dl-machine.c
1496 (__elf_machine_runtime_setup) [PROF]: Don't reference
1497 _dl_prof_resolve.
1498
7a185db2
AJ
14992012-05-18 Andreas Jaeger <aj@suse.de>
1500
1501 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1502 function only available for GCCs before 3.4 since GCC 3.4
1503 introduced a builtin.
1504 (lrint): Likewise.
1505 (llrintf): Likewise.
1506 (llrint): Likewise.
1507 (fmaxf): Likewise.
1508 (fmax): Likewise.
1509 (fminf): Likewise.
1510 (fmin): Likewise.
1511 (rint): Likewise.
1512 (rintf): Likewise.
1513 (nearbyint): Likewise.
1514 (nearbyintf): Likewise.
1515 (ceil): Likewise.
1516 (ceilf): Likewise.
1517 (floor): Likewise.
1518 (floorf): Likewise.
1519
3e5aef87
L
15202012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1521
428bd707
L
1522 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1523 on both fields and cast pointer to __syscall_ulong_t.
1524
3e5aef87
L
1525 * bits/types.h (__fsword_t): New type.
1526 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1527 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1528 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1529 (__FSWORD_T_TYPE): Likewise.
1530 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1531 (__FSWORD_T_TYPE): Likewise.
1532 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1533 (__FSWORD_T_TYPE): Likewise.
1534 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1535 (__FSWORD_T_TYPE): Likewise.
1536 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1537 __SWORD_TYPE with __fsword_t.
1538 (statfs64): Likewise.
1539
1ba7c3dc
DM
15402012-05-17 David S. Miller <davem@davemloft.net>
1541
1542 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1543
59910343
AJ
15442012-05-17 Andreas Jaeger <aj@suse.de>
1545
1546 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1547 warning.
1548
2e4c1e9e
L
15492012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1550
1551 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1552
de7f5ce7
AJ
15532012-05-17 Andreas Jaeger <aj@suse.de>
1554
1555 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1556 when it is used.
1557
286abc3d
CM
15582012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1559
1560 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1561
477cc68e
L
15622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1563
1564 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1565 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1566
1a0994f5
CD
15672012-05-17 Andreas Jaeger <aj@suse.de>
1568 Carlos O'Donell <carlos_odonell@mentor.com>
1569
1570 [BZ #14059]
1571 * sysdeps/x86_64/multiarch/init-arch.h
1572 (bit_YMM_Usable): Rename to...
1573 (bit_AVX_Usable): ... this.
1574 (bit_FMA4_Usable): New macro.
1575 (bit_XMM_state): New macro.
1576 (bit_YMM_state): New macro.
1577 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1578 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1579 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1580 (CPUID_OSXSAVE): New macro.
1581 (CPUID_AVX): New macro.
1582 (CPUID_FMA4): New macro.
1583 (index_YMM_Usable): Rename to...
1584 (index_AVX_Usable): ... this.
1585 (HAS_AVX): Use HAS_ARCH_FEATURE.
1586 (HAS_FMA4): Likewise.
1587 (HAS_YMM_USABLE): Remove.
1588 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1589 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1590 are present.
1591 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1592 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1593 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1594 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1595 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1596
0af797de
CM
15972012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1598
1599 * math/libm-test.c: Support platforms without multiple rounding modes.
1600 * math/bug-nextafter.c: Support platforms without FP exceptions.
1601 * math/bug-nexttoward.c: Likewise.
1602 * math/test-fenv.c: Likewise.
1603 * math/test-misc.c: Likewise.
1604 * stdlib/bug-getcontext.c: Likewise.
1605
e39745ff
AJ
16062012-05-17 Andreas Jaeger <aj@suse.de>
1607
1608 * manual/examples/search.c (critter_cmp): Change signature to
1609 avoid warnings.
1610 * manual/string.texi (Collation Functions): Likewise.
1611
48970aba
L
16122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1613
1614 * bits/types.h: Fold copyright years.
1615 * bits/typesizes.h: Likewise.
1616 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1617 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1618 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1619 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1620 * time/time.h: Likewise.
1621
bedee953
PP
16222012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1623
1624 [BZ #208]
1625 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1626 in instead of returning them. Return void.
1627 (__libc_mallinfo): Accumulate over all arenas.
1628 (__malloc_stats): Adjust for change in int_mallinfo interface.
1629
61653dfb
RM
16302012-05-16 Roland McGrath <roland@hack.frob.com>
1631
30b99d79
RM
1632 [BZ #10375]
1633 * configure.in (NM): Add AC_CHECK_TOOL for it.
1634 (libc_extra_cflags): New substituted variable.
1635 Check for -fstack-protector being used implicitly.
1636 * configure: Regenerated.
1637 * config.make.in (config-extra-cflags): New variable,
1638 gets @libc_extra_cflags@.
1639 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1640
61653dfb
RM
1641 [BZ #10375]
1642 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1643 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1644 * configure: Regenerated.
1645 * config.make.in (CPPUNDEFS): New substituted variable.
1646 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1647 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1648 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1649
661768bb
L
16502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1651
1652 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1653 (mq_attr): Use __syscall_slong_t.
1654
d4261567
L
16552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1656
1657 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1658 Check __x86_64__ instead of __WORDSIZE.
1659 (_STAT_VER_LINUX): Likewise.
1660 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1661 __syscall_ulong_t and __syscall_slong_t.
1662 (stat64): Likewise.
1663
cf3ff365
L
16642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1665
1666 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1667
76cf3e4d
L
16682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1669
1670 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1671
a637753a
L
16722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1673
1674 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1675 __syscall_ulong_t.
1676
d5e05119
L
1677 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1678 include <bits/wordsize.h>. Check __x86_64__ instead of
1679 __WORDSIZE.
1680 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1681 defined.
1682 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1683
f62ee380
L
1684 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1685 include <bits/wordsize.h>. Check __x86_64__ instead of
1686 __WORDSIZE.
1687 (user_regs_struct): Use "__extension__ unsigned long long"
1688 instead of "unsigned long" if __x86_64__ is defined.
1689 (user): Likewise. Pad after pointer field if __ILP32__ is
1690 defined.
1691
4e124ced
JM
16922012-05-16 Joseph Myers <joseph@codesourcery.com>
1693
6a3951a0
JM
1694 * configure.in (makeinfo): Require version 4.5 or later. Allow
1695 versions 5 to 9.
1696 * configure: Regenerated.
1697 * manual/install.texi (texinfo): Increase version requirement to
1698 4.5 or later.
1699 * INSTALL: Regenerated.
1700
4e124ced
JM
1701 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1702
953ca31a
L
17032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1704
1705 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1706
617aca05
L
1707 * sysdeps/x86_64/x32/ffs.c: New file.
1708
5762f7ae
L
1709 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1710 __syscall_ulong_t.
1711 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1712 defined. Use __syscall_ulong_t.
1713 (shminfo): Use __syscall_ulong_t.
1714 (shm_info): Likewise.
1715
a26b6856
L
1716 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1717 __syscall_ulong_t.
1718
cb2b9ef7
L
1719 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1720 <bits/wordsize.h>.
1721 (msgqnum_t): Use __syscall_ulong_t.
1722 (msglen_t): Likewise.
1723 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1724 __syscall_ulong_t.
1725
34683bb0
L
1726 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1727 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1728
84a68786
L
1729 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1730
48baa5f1
L
1731 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1732 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1733
180be88b
L
1734 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1735 __syscall_slong_t.
1736
5e90c8ad
L
1737 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1738 include <bits/wordsize.h>. Check __x86_64__ instead of
1739 __WORDSIZE.
1740
23dfb58b
L
1741 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1742 "unsigned long long int" if __x86_64__ is defined.
1743 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1744
ce5d54b0
L
1745 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1746 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1747 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1748
13dc9eac
L
1749 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1750 <stdint.h>.
1751 (GET_PC): Cast to uintptr_t first.
1752 (GET_FRAME): Likewise.
1753 (GET_STACK): Likewise.
1754
a7895d15
L
1755 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1756 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1757 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1758 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1759 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1760 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1761 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1762 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1763 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1764 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1765 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1766 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1767 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1768 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1769 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1770 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1771 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1772 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1773 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1774 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1775 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1776 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1777 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1778 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1779 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1780 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1781 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1782 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1783 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1784
656416c9
AS
17852012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1786
5bd66283
AS
1787 * Makerules (+depfiles): Also collect depfiles from .oS in
1788 $(extra-objs).
1789 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1790 .oS, $(libnldbl-routines)).
1791
656416c9
AS
1792 * Makerules (native-compile-mkdep-flags): Define.
1793 * sunrpc/Makefile (extra-objs): Add $(addprefix
1794 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1795 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1796 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1797 calling $(make-target-directory).
1798
a46f2169
L
17992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1800
1801 * bits/types.h (__snseconds_t): Removed.
1802 * time/time.h (struct timespec): Replace __snseconds_t with
1803 __syscall_slong_t.
1804 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1805 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1806 Likewise.
1807 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1808 (__SNSECONDS_T_TYPE): Likewise.
1809 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1810 (__SNSECONDS_T_TYPE): Likewise.
1811 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1812 (__SNSECONDS_T_TYPE): Likewise.
1813
6af6528b
L
18142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1815
1816 * sysdeps/mach/hurd/bits/typesizes.h
1817 (__SYSCALL_SLONG_TYPE): New macro.
1818 (__SYSCALL_ULONG_TYPE): Likewise.
1819
de986b56
L
18202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1821
1822 * bits/types.h (__syscall_slong_t): New type.
1823 (__syscall_ulong_t): Likewise.
1824
1825 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1826 (__SYSCALL_ULONG_TYPE): Likewise.
1827 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1828 (__SYSCALL_SLONG_TYPE): Likewise.
1829 (__SYSCALL_ULONG_TYPE): Likewise.
1830 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1831 (__SYSCALL_SLONG_TYPE): Likewise.
1832 (__SYSCALL_ULONG_TYPE): Likewise.
1833 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1834 (__SYSCALL_SLONG_TYPE): Likewise.
1835 (__SYSCALL_ULONG_TYPE): Likewise.
1836
85736dc7
L
18372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1838
1839 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1840 Add sigaltstack-offsets.sym.
1841 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1842 <sigaltstack-offsets.h>.
1843 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1844 longjmp_msg pointer.
1845 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1846 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1847 signal stack.
1848 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1849
cc03b296
JM
18502012-05-15 Joseph Myers <joseph@codesourcery.com>
1851
a9538892
JM
1852 * elf/stackguard-macros.h: Remove file.
1853 * sysdeps/generic/stackguard-macros.h: New file.
1854 * sysdeps/i386/stackguard-macros.h: Likewise.
1855 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1856 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1857 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1858 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1859 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1860 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1861 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1862 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1863 <elf/stackguard-macros.h>.
1864
cc03b296
JM
1865 [BZ #14109]
1866 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1867 __aligned__ in attribute.
1868 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1869 (gregset_t): Likewise.
1870
93171016
L
18712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1872
1873 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1874 * sysdeps/x86_64/64/Implies-after: Here. New file.
1875 * sysdeps/x86_64/x32/Implies-after: New file.
1876
d86813a0
L
18772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1878
1879 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1880 and access return value for _dl_profile_fixup. Use R10_LP to
1881 load frame size.
1882
2953ec75
L
18832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1884
1885 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1886
3b550e9e
L
18872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1888
1889 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1890 * sysdeps/x86_64/x32/sysdep.h: New file.
1891
eda41706
L
18922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1893
1894 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1895 * sysdeps/x86_64/setjmp.S: Likewise.
1896
9ea01d93
AZ
18972012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1898
1899 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1900 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1901 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1902 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1903 remove unused global constant.
1904
02a91938
CM
19052012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1906
1907 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1908 include of <not-cancel.h>.
1909
6540185f
RM
19102012-05-15 Roland McGrath <roland@hack.frob.com>
1911
1912 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1913
509072a0
AJ
19142012-05-15 Jeff Law <law@redhat.com>
1915 Andreas Jaeger <aj@suse.de>
1916
1917 [BZ #13594]
1918 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1919 out from...
1920 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1921 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1922 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1923 code changing __hst_map_handle.map.
1924
ba75122d
RM
19252012-05-15 Roland McGrath <roland@hack.frob.com>
1926
1927 * configure.in (sysnames): Look for Implies-before and Implies-after
1928 files.
1929 * configure: Regenerated.
1930
890d8bd8
L
19312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1932
1933 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1934 8-byte data alignment with LP_SIZE alignment.
1935
f6ee6623
L
19362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1937
1938 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1939 into R10_LP.
1940
ea2626f6
L
19412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1942
1943 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1944
085f715e
L
19452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1946
1947 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1948 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1949 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1950 Likewise.
1951 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1952
be8498fc
L
19532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1954
1955 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1956 (stackinfo_sub_sp): Likewise.
1957
70bc83b9
L
19582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1959
1960 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1961 RAX_LP.
1962
9bc0b730
L
19632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1964
1965 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1966 into R*_LP.
1967
6d2850e7
L
19682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1969
1970 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1971 sizes into R*_LP.
1972
3cb84561
L
19732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1974
1975 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1976
54e2ed81
L
19772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1978
1979 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1980 into R11_LP and load __x86_64_shared_cache_size_half into
1981 R8_LP.
1982
8a17f349
L
19832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1984
1985 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1986 R8_LP.
1987
777b1eea
AZ
19882012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1989
1990 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1991 logb for POWER7.
1992 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1993 logbf for POWER7.
1994 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1995 logbl for POWER7.
1996 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1997 powerpc32/power7/fpu/s_logb.c via #include.
1998 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1999 powerpc32/power7/fpu/s_logbf.c via #include.
2000 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2001 powerpc32/power7/fpu/s_logbl.c via #include.
2002
d20d4ac2
JM
20032012-05-15 Joseph Myers <joseph@codesourcery.com>
2004
2005 * README.libm: Remove file.
2006
6cdef1ab
L
20072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2008
2009 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2010 count for x32. Use R*_LP and omit operand-size suffix.
2011
0b254d8f
L
20122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2013
2014 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2015 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2016 * sysdeps/x86_64/x32/shlib-versions: New file.
2017
ceb809dc
RM
20182012-05-14 Roland McGrath <roland@hack.frob.com>
2019
2020 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2021 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2022 Use _dl_fatal_printf instead.
2023
37f1abd4
JM
20242012-05-14 Joseph Myers <joseph@codesourcery.com>
2025
2026 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2027 set if not set by the user. Do not allow for being unset.
2028 * sysdeps/unix/sysv/linux/configure: Regenerated.
2029
11de3a33
L
20302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2031
2032 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2033 the `q' suffix from lea and replace .quad with ASM_ADDR.
2034
e02f153a
L
20352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2036
2037 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2038 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2039 instead of $17.
2040 (PTR_DEMANGLE): Likewise.
2041
520ae0fd
L
20422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2043
2044 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2045 (LP_OP): Likewise.
2046 (ASM_ADDR): Likewise.
2047 (RAX_LP): Likewise.
2048 (RBP_LP): Likewise.
2049 (RBX_LP): Likewise.
2050 (RCX_LP): Likewise.
2051 (RDI_LP): Likewise.
2052 (RSI_LP): Likewise.
2053 (RSP_LP): Likewise.
2054 (R8_LP): Likewise.
2055 (R9_LP): Likewise.
2056 (R10_LP): Likewise.
2057 (R10_LP): Likewise.
2058 (R11_LP): Likewise.
2059 (R12_LP): Likewise.
2060 (R13_LP): Likewise.
2061 (R14_LP): Likewise.
2062 (R15_LP): Likewise.
2063
b985be81
L
20642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2065
2066 * sysdeps/x86_64/x32/dl-machine.h: New file.
2067
6a4888ff
AJ
20682012-05-14 Andreas Jaeger <aj@suse.de>
2069
2070 * manual/Makefile (subdir): Remove export of subdir.
2071 (all): Remove target.
2072 (.PHONY): Remove all from list.
2073 (mkinstalldirs): Remove.
2074 (.PHONY): Remove installdirs from list.
2075 ($(inst_infodir)/libc.info): Use make-target-directory.
2076 (installdirs): Remove.
2077 (subdir_%): Remove.
2078 (glibc-targets): Remove.
2079 (lib): Remove.
2080 (stubs): Remove.
2081 ($(objpfx)stubs ../po/manual.pot): Remove.
2082 ($(objpfx)stamp%): Remove.
2083 (make-target-directory): Remove.
2084 (subdir_install): Remove.
2085 (routines): Remove.
2086 (aux): Remove.
2087 (sources): Remove.
2088 (objects): Remove.
2089 (headers): Remove.
2090
2091 [BZ #13750]
2092 * manual/.gitignore: Remove, it's not needed anymore.
2093 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2094 all files in it.
2095 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2096 directory.
2097 (texis): Renamed to $(objpfx)texis.
2098 (texis-path): New, contains path to generated files.
2099 (chapters.%): Use texis-path for complete path, add extra argument
2100 libc-texinfo.sh.
2101 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2102 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2103 (summary,texi, stamp-summary): Use complete path of
2104 files. Generate files in build dir.
2105 (dir-add.texi): Build in build dir.
2106 (libm-err.texi,stamp-libm-err): Likewise.
2107 (version.texi, stamp-version): Likewise.
2108 (.%c.texi): Likewise.
2109 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2110 (mostlyclean): Remove target.
2111 (realclean): Remove target.
2112 (generated): Add new variable with contents from mostlyclean and
2113 realclean, remove entries duplicated in common-mostlyclean, add
2114 stamp-libm-err and stamp-version.
2115 (generated-dirs): Add libc directory.
2116 ($(inst_infodir)/libc.info): Install files from build dir.
2117
2118 * manual/install.texi (Configuring and compiling): Adjust since
2119 the info files are not part of the tar ball anymore.
2120
7ac77294
AJ
21212012-05-14 Andreas Jaeger <aj@suse.de>
2122
2123 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2124 variable.
2125
ffb7875d
JM
21262012-05-14 Joseph Myers <joseph@codesourcery.com>
2127
2128 [BZ #13717]
2129 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2130 to 2.2.0 where earlier.
2131 * sysdeps/unix/sysv/linux/configure: Regenerated.
2132 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2133 Remove conditional code.
2134 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2135 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2136 Remove conditional code.
2137 [!__NR_lchown]: Likewise.
2138 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2139 [__NR_lchown]: Likewise.
2140 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2141 comment referencing __ASSUME_LCHOWN_SYSCALL.
2142 * sysdeps/unix/sysv/linux/i386/sigaction.c
2143 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2144 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2145 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2146 Remove conditional code.
2147 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2148 (__protocol_available): Remove #if 0 code.
2149 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2150 conditional code.
2151 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2152 * sysdeps/unix/sysv/linux/kernel-features.h
2153 (__ASSUME_GETCWD_SYSCALL): Don't define.
2154 (__ASSUME_REALTIME_SIGNALS): Likewise.
2155 (__ASSUME_PREAD_SYSCALL): Likewise.
2156 (__ASSUME_PWRITE_SYSCALL): Likewise.
2157 (__ASSUME_POLL_SYSCALL): Likewise.
2158 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2159 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2160 non-SPARC.
2161 (__ASSUME_SIOCGIFNAME): Don't define.
2162 (__ASSUME_MSG_NOSIGNAL): Likewise.
2163 (__ASSUME_SENDFILE): Define unconditionally.
2164 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2165 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2166 conditional code.
2167 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2168 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2169 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2170 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2171 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2172 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2173 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2175 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2176 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2178 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2179 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2181 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2182 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2184 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2185 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2187 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2188 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2190 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2191 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2193 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2194 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2196 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2197 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2198 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2199 Remove conditional code.
2200 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2201 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2202 Remove conditional code.
2203 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2204 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2205 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2206 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2207 Remove conditional code.
2208 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2209 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2210 Remove conditional code.
2211 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2212 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2213 Remove conditional code.
2214 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2215 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2216 Remove conditional code.
2217 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2218 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2219 Remove conditional code.
2220 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2221 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2222 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2223 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2224 * sysdeps/unix/sysv/linux/sigaction.c
2225 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2226 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2227 * sysdeps/unix/sysv/linux/sigpending.c
2228 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2229 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2230 * sysdeps/unix/sysv/linux/sigprocmask.c
2231 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2232 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2233 * sysdeps/unix/sysv/linux/sigsuspend.c
2234 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2235 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2236 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2237 (__libc_missing_rt_sigs): Remove.
2238 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2239 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2240 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2241 Remove conditional code.
2242 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2243 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2244 return 1.
2245 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2246 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2247 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2248 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2249
1bfb7291
AJ
22502012-05-14 Andreas Jaeger <aj@suse.de>
2251
caae5a81
AJ
2252 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2253 it's not used in glibc.
2254 (__coshm1): Likewise.
2255 (__acosh1p): Likewise.
2256 (__sgn): Likewise.
2257
1bfb7291
AJ
2258 * manual/string.texi (Copying and Concatenation): Add missing
2259 variable in concat example.
2260 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2261
c044d724
L
22622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2263
144c5467 2264 [BZ #14103]
c044d724
L
2265 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2266 __builtin_clzl with __builtin_clzll.
2267
2523c62b
L
22682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2269
2270 [BZ #14104]
2271 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2272 libc_freeres_ptr.
2273
d7bb4c42
LD
22742012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2275
2276 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2277 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2278 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2279 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2280
9dc4e1fb
MF
22812012-05-14 Mike Frysinger <vapier@gentoo.org>
2282
2283 * NEWS: Update ia64 info.
2284
c7df0112
AS
22852012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2286
2287 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2288 used as bcopy.
2289
dc70356c
TS
22902012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2291
2292 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2293 * sysdeps/unix/syscalls.list (dup3): Likewise.
2294 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2295 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2296
9fb1a21f
L
22972012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2298
2299 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2300 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2301
4822a2a5
L
23022012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2303
2304 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2305 thread pointer.
2306 (TLS_IE): Use mov/add instead of movq/addq to load thread
2307 pointer.
2308 (TLS_GD_PREFIX): New.
2309 (TLS_GD): Use it.
2310
842b81d6
DM
23112012-05-11 David S. Miller <davem@davemloft.net>
2312
2313 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2314 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2315 (_FPU_SETCW): Likewise.
2316
1cf463cd
L
23172012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2318
2319 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2320 is 32-byte aligned.
2321
60cc4a18
AS
23222012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2323
2324 [BZ #11837]
2325 * iconvdata/gb18030.c: Update tables.
2326 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2327 characters specially.
2328 (BODY for TO_LOOP): Add encoding of missing ranges.
2329
febb44a4
TS
23302012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2331
2332 [BZ #13673]
2333 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2334 * sysdeps/mach/hurd/dup3.c: Likewise.
2335 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2336 * sysdeps/powerpc/memmove.c:: Likewise.
2337
0a10fb9e
L
23382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2339
2340 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2341 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2342
df8a552f
L
23432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2344
2345 * elf/elf.h (R_X86_64_RELATIVE64): New.
2346 (R_X86_64_NUM): Updated.
2347 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2348 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2349 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2350 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2351 tst-quad1pie tst-quad2pie
2352 (modules-names): Add tst-quadmod1 tst-quadmod2.
2353 ($(objpfx)tst-quad1): New dependency.
2354 ($(objpfx)tst-quad2): Likewise.
2355 ($(objpfx)tst-quad1pie): Likewise.
2356 ($(objpfx)tst-quad2pie): Likewise.
2357 * sysdeps/x86_64/tst-quad1.c: New file.
2358 * sysdeps/x86_64/tst-quad1pie.c: New file.
2359 * sysdeps/x86_64/tst-quad2.c: Likewise.
2360 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2361 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2362 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2363 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2364 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2365
f34d6f84
ST
23662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2367
f42d41d1
ST
2368 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2369 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2370 * streams/stropts.h (t_scalar_t): Define type.
2371
3c3571fc
ST
2372 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2373 (_PATH_PRESERVE): Set to "/var/lib".
2374 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2375
61f06bd3
ST
2376 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2377 instead of int.
2378
918d4d71
ST
2379 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2380 if __dir_mkfile succeeded.
2381
f34d6f84
ST
2382 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2383 checking for _hurd_dtablesize. Unlock it right after having
2384 finished _hurd_dtable allocation.
2385
10589b4a
TS
23862012-05-10 Thomas Schwinge <thomas@schwinge.name>
2387
674cdbc7
TS
2388 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2389 * sysdeps/mach/hurd/configure: Regenerated.
2390 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2391 special-casing to...
2392 * sysdeps/gnu/configure.in: ... this new file.
2393 * sysdeps/unix/sysv/linux/configure: Regenerated.
2394 * sysdeps/gnu/configure: New generated file.
2395
8e41b99f
TS
2396 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2397 for Linux: use nsec instead of usec, as well as:
2398 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2399 members of type struct timespec.
2400 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2401 New macros.
2402 (struct stat64): Likewise.
2403 (_STATBUF_ST_NSEC): New macro.
2404 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2405
10589b4a
TS
2406 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2407 __strtoul_internal rather than strtoul.
2408
63643c85
PT
24092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2410
2411 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2412 and reject them.
2413
3faebe6a
ST
24142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2415
2416 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2417 which preserves existing values.
2418 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2419
c6474b07
PT
24202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2421
2422 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2423 TIMEOUT values. Return EINVAL for NFDS values either negative or
2424 greater than FD_SETSIZE.
2425
1043890b
ST
24262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2427
2428 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2429 allocated, call __vm_protect to finish enabling the existing space, and
2430 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2431 allocate the remainder.
2432
37ed8b9b
PT
24332012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2434
2435 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2436 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2437
db653660
ST
24382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2439
37ed8b9b
PT
2440 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2441 sysdeps/mach/hurd/readlink.c.
b29d4053 2442
db653660
ST
2443 * posix/tst-sysconf.c (posix_options): Only use
2444 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2445 _POSIX_SYNCHRONIZED_IO when they are defined
2446 * sysdeps/mach/hurd/bits/posix_opt.h:
2447 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2448 (_XOPEN_REALTIME): Undefine macro.
2449 (_XOPEN_REALTIME_THREADS): Undefine macro.
2450 (_XOPEN_SHM): Undefine macro.
2451 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2452 macro to -1.
2453 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2454 macro to -1.
2455 (_POSIX_ASYNC_IO): Undefine macro.
2456 (_POSIX_PRIORITIZED_IO): Undefine macro.
2457 (_POSIX_SPIN_LOCKS): Define macro to -1.
2458
ee16e894
ST
2459 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2460 SA_NODEFER, SA_RESETHAND.
2461 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2462 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2463 F_DUPFD_CLOEXEC.
2464
6103ae3b
TS
24652012-05-10 Thomas Schwinge <thomas@schwinge.name>
2466
2467 * elf/Makefile (pldd-modules): Define unconditionally.
2468
80b4e5f3
TS
24692012-05-10 Thomas Schwinge <thomas@schwinge.name>
2470
2471 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2472
edadcbd6
ST
24732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2474
2475 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2476 Return ENOENT when name is empty.
2477 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2478
80694780
TS
24792012-05-10 Thomas Schwinge <thomas@schwinge.name>
2480
1792c087
TS
2481 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2482
80694780
TS
2483 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2484
6b645f0d
ST
24852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2486
80694780
TS
2487 Fix mlock in all cases except non-readable pages.
2488 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2489 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2490
6b645f0d
ST
2491 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2492 (__mkdir): When path is `/', just fail with EEXIST.
2493 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2494
e468f8a3
TS
24952012-05-10 Thomas Schwinge <thomas@schwinge.name>
2496
2497 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2498 <sys/uio.h> (for writev).
2499 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2500 and <sys/param.h> (for MIN).
2501
a4186cff
PT
25022012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2503
2504 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2505 REQUESTED_TIME. Properly set the remaining time and return EINTR
2506 if interrupted.
2507
510bbf14
TS
25082012-05-10 Thomas Schwinge <thomas@schwinge.name>
2509
2510 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2511 Depend on against $(link-rpcuserlibs).
2512
5d5722e8
ST
25132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2514
a4186cff
PT
2515 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2516 (__libc_stack_end): Do not use attribute_relro.
2517 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2518 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 2519 to libthread-provided value.
a4186cff
PT
2520 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2521 attribute_relro.
5d5722e8 2522
37233df9
TS
25232012-05-10 Thomas Schwinge <thomas@schwinge.name>
2524
be971a2b
TS
2525 [BZ #3748]
2526 * bits/libc-lock.h (__libc_once_get): New macro.
2527 * sysdeps/mach/bits/libc-lock.h: Likewise.
2528 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2529 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2530 instead of using implementation details.
2531
37233df9
TS
2532 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2533 * libio/freopen.c: Likewise.
2534 * libio/freopen64.c: Likewise.
2535 * misc/syslog.c: Likewise.
2536 * nscd/connections.c: Likewise.
2537 * nscd/netgroupcache.c: Likewise.
2538 * sysdeps/posix/getcwd.c: Likewise.
2539
38de94a5
RM
25402012-05-10 Roland McGrath <roland@hack.frob.com>
2541
2542 * math/w_ilogbf.c: Add #include <limits.h>.
2543
67530489
ST
25442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2545
a4186cff 2546 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
2547 path instead of returning without unlocking.
2548
67530489
ST
2549 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2550 immediate-write ioctls.
2551 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2552
5aa3a74a
TS
25532012-05-10 Thomas Schwinge <thomas@schwinge.name>
2554
18bad2ae
TS
2555 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2556 __builtin_frame_address instead of making assumptions about the
2557 location of the return address relative to DATA. Force early load of
2558 the return address.
2559 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2560 __builtin_frame_address.
2561
5aa3a74a
TS
2562 dup3 for GNU Hurd.
2563 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2564 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2565 implement dup3 and do some further code clean-ups.
2566 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2567 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2568
ecd0de9a
ST
25692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2570
cd9fa985
ST
2571 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2572
a4186cff
PT
2573 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2574 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2575 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2576 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2577 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2578 d->port.lock.
802ca5a5 2579
a4186cff
PT
2580 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2581 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2582 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 2583
bcf55240
TS
25842012-05-10 Thomas Schwinge <thomas@schwinge.name>
2585
6960eb42
TS
2586 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2587 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2588 definitions.
2589
eb43375f
TS
2590 accept4 for GNU Hurd.
2591 * include/sys/socket.h (__libc_accept4): New prototype.
2592 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2593 to implement __libc_accept4.
2594 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2595 __libc_accept4.
2596 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2597
bcf55240
TS
2598 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2599 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2600 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2601 signal-defines.sym.
2602
6178c55b
ST
26032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2604
a4186cff 2605 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 2606
6f080c2f
TS
26072012-05-10 Thomas Schwinge <thomas@schwinge.name>
2608
2609 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2610 assertion on O_CLOEXEC flag.
2611 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2612 * hurd/intern-fd.c: Likewise.
2613 * hurd/port2fd.c: Likewise.
2614
bcfe3a54
ST
26152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2616
2617 [BZ #3906]
2618 * bits/in.h (IPV6_PKTINFO): Define new macro.
2619 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2620
89c9aa49
AZ
26212012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2622
2623 [BZ #13954]
2624 [BZ #13955]
2625 [BZ #13956]
2626 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2627 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2628 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2629 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2630 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2631 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2632 * math/libm-test.inc (logb_test) : Additional logb tests.
2633
021db4be
AJ
26342012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2635 Andreas Jaeger <aj@suse.de>
2636
2637 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2638 * configure: Regenerated.
2639 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2640 * config.make.in (link-obsolete-rpc): New substituted variable.
2641 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2642 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2643 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2644 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2645 so that libc.a contains the symbols.
2646 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2647 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2648 * sunrpc/auth_none.c: Likewise.
2649 * sunrpc/auth_unix.c: Likewise.
2650 * sunrpc/authdes_prot.c: Likewise.
2651 * sunrpc/authuxprot.c: Likewise.
2652 * sunrpc/clnt_gen.c: Likewise.
2653 * sunrpc/clnt_perr.c: Likewise.
2654 * sunrpc/clnt_raw.c: Likewise.
2655 * sunrpc/clnt_simp.c: Likewise.
2656 * sunrpc/clnt_tcp.c: Likewise.
2657 * sunrpc/clnt_udp.c: Likewise.
2658 * sunrpc/clnt_unix.c: Likewise.
2659 * sunrpc/des_crypt.c: Likewise.
2660 * sunrpc/des_soft.c: Likewise.
2661 * sunrpc/get_myaddr.c: Likewise.
2662 * sunrpc/key_call.c: Likewise.
2663 * sunrpc/key_prot.c: Likewise.
2664 * sunrpc/netname.c: Likewise.
2665 * sunrpc/pm_getmaps.c: Likewise.
2666 * sunrpc/pm_getport.c: Likewise.
2667 * sunrpc/pmap_clnt.c: Likewise.
2668 * sunrpc/pmap_prot.c: Likewise.
2669 * sunrpc/pmap_prot2.c: Likewise.
2670 * sunrpc/pmap_rmt.c: Likewise.
2671 * sunrpc/publickey.c: Likewise.
2672 * sunrpc/rpc_cmsg.c: Likewise.
2673 * sunrpc/rpc_common.c: Likewise.
2674 * sunrpc/rpc_dtable.c: Likewise.
2675 * sunrpc/rpc_prot.c: Likewise.
2676 * sunrpc/rpc_thread.c: Likewise.
2677 * sunrpc/rtime.c: Likewise.
2678 * sunrpc/svc.c: Likewise.
2679 * sunrpc/svc_auth.c: Likewise.
2680 * sunrpc/svc_raw.c: Likewise.
2681 * sunrpc/svc_run.c: Likewise.
2682 * sunrpc/svc_tcp.c: Likewise.
2683 * sunrpc/svc_udp.c: Likewise.
2684 * sunrpc/svc_unix.c: Likewise.
2685 * sunrpc/svcauth_des.c: Likewise.
2686 * sunrpc/xcrypt.c: Likewise.
2687 * sunrpc/xdr.c: Likewise.
2688 * sunrpc/xdr_array.c: Likewise.
2689 * sunrpc/xdr_float.c: Likewise.
2690 * sunrpc/xdr_intXX_t.c: Likewise.
2691 * sunrpc/xdr_mem.c: Likewise.
2692 * sunrpc/xdr_rec.c: Likewise.
2693 * sunrpc/xdr_ref.c: Likewise.
2694 * sunrpc/xdr_sizeof.c: Likewise.
2695 * sunrpc/xdr_stdio.c: Likewise.
2696
b5c086a2
RM
26972012-05-10 Roland McGrath <roland@hack.frob.com>
2698
2699 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2700 change. Update copyright years.
2701
6d74dd09
JM
27022012-05-10 Joseph Myers <joseph@codesourcery.com>
2703
2704 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2705
28e72501
MK
27062012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2707 Joseph Myers <joseph@codesourcery.com>
2708 Paul Pluzhnikov <ppluzhnikov@google.com>
2709
2710 [BZ #14012]
2711 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2712 requiring rpcgen.
2713 [cross-compiling] (extra-libs): Likewise.
2714 [cross-compiling] (extra-libs-others): Likewise.
2715 [cross-compiling] (librpcsvc-routines): Likewise.
2716 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2717 [cross-compiling] (omit-deps): Likewise.
2718 (sunrpc-CPPFLAGS): New variable.
2719 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2720 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2721 (cross-rpcgen-objs): New variable.
2722 (extra-objs): Append $(cross-rpcgen-objs).
2723 ($(cross-rpcgen-objs)): New rule.
2724 ($(objpfx)cross-rpcgen): Likewise.
2725 (rpcgen-cmd): Define to use $(built-program-file). Expand
2726 comment.
2727 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2728 ($(objpfx)x%.stmp): Likewise.
2729 * sunrpc/proto.h [IS_IN_build] (_): Define.
2730 [IS_IN_build] (_libc_intl_domainname): Likewise.
2731
c8c59454
L
27322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2733
2734 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2735 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2736 and R_X86_64_TPOFF64.
2737
6f27cd16
JM
27382012-05-10 Joseph Myers <joseph@codesourcery.com>
2739
2740 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2741 sysdeps/unix/sysv/syscalls.list.
2742 (stime): Likewise.
2743 (utime): Likewise.
2744 * sysdeps/unix/sysv/syscalls.list: Remove file.
2745
02467e1c
PE
27462012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2747
2748 [BZ #3440]
2749 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2750 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2751 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2752 (__LC_IDENTIFICATION): Make these macros useful in #if
2753 expressions, as required by C99.
2754
da392631
AS
27552012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2756
2757 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2758 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2759 after this.
2760
8115f29b
L
27612012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2762
2763 * stdlib/longlong.h: Updated from GCC.
2764
bdd74070
AJ
27652012-05-09 Andreas Jaeger <aj@suse.de>
2766
edfe0dbe
AJ
2767 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2768 default is first entry.
2769 (run_mode): Set type.
2770 (main): Remove informal message about syslog.
2771 (options): Fix typo.
2772
bcfe3a54
ST
2773 [BZ #14053]
2774 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 2775 to asm.
bcfe3a54
ST
2776 (lrint): Likewise.
2777 (llrintf): Likewise.
2778 (llrint): Likewise.
2779 (rint): Likewise.
2780 (rintf): Likewise.
2781 (nearbyint): Likewise.
2782 (nearbyintf): Likewise.
bdd74070 2783
91d8d69e
AJ
27842012-05-09 Andreas Jaeger <aj@suse.de>
2785 Pedro Alves <palves@redhat.com>
2786
2787 * nscd/nscd.c (run_mode): Use enum.
2788 (main): Cleanup coding style issue.
2789
bb90b80b
AJ
27902012-05-09 Alexandre Oliva <aoliva@redhat.com>
2791 Andreas Jaeger <aj@suse.de>
2792
bcfe3a54
ST
2793 * nscd/nscd.c (go_background): Replaced with...
2794 (run_mode): ... this.
bb90b80b 2795 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
2796 (options): Add -F --foreground.
2797 (main): Implement it.
2798 (parse_opt): Parse it.
bb90b80b 2799
1a4b75a1
AJ
28002012-05-09 Andreas Jaeger <aj@suse.de>
2801
2802 [BZ #14083]
2803 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2804 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2805 -Wconversion warning.
2806 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2807 Likewise.
2808
b1cc2472
JM
28092012-05-09 Joseph Myers <joseph@codesourcery.com>
2810
2811 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2812 == 0.
2813 (LC_ALL): Use macro-int-constant.
2814 (LC_COLLATE): Likewise.
2815 (LC_CTYPE): Likewise.
2816 (LC_MESSAGES): Likewise.
2817 (LC_MONETARY): Likewise.
2818 (LC_NUMERIC): Likewise.
2819 (LC_TIME): Likewise.
2820 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2821 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2822 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2823 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2824 Specify type.
2825 [C99-based standards] (float_t): Expect type.
2826 [C99-based standards] (double_t): Expect type.
2827 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2828 type.
2829 [C99-based standards] (HUGE_VALL): Likewise.
2830 [C99-based standards] (INFINITY): Likewise.
2831 [C99-based standards] (NAN): Likewise.
2832 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2833 [C99-based standards] (FP_NAN): Likewise.
2834 [C99-based standards] (FP_NORMAL): Likewise.
2835 [C99-based standards] (FP_SUBNORMAL): Likewise.
2836 [C99-based standards] (FP_ZERO): Likewise.
2837 [C99-based standards] (FP_FAST_FMA): Use
2838 optional-macro-int-constant. Specify type. Require == 1.
2839 [C99-based standards] (FP_FAST_FMAF): Likewise.
2840 [C99-based standards] (FP_FAST_FMAL): Likewise.
2841 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2842 [C99-based standards] (FP_ILOGBNAN): Likewise.
2843 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2844 Specify type.
2845 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2846 [C99-based standards] (math_errhandling): Specify type.
2847 [ISO99 || ISO11] (signgam): Do not allow.
2848 [non-C99-based standards] (copysignf): Do not allow.
2849 [non-C99-based standards] (exp2f): Likewise.
2850 [non-C99-based standards] (log2f): Likewise.
2851 [non-C99-based standards] (modff): Allow.
2852 [non-C99-based standards] (erff): Do not allow.
2853 [non-C99-based standards] (erfcf): Likewise.
2854 [non-C99-based standards] (gammaf): Likewise.
2855 [non-C99-based standards] (hypotf): Likewise.
2856 [non-C99-based standards] (j0f): Likewise.
2857 [non-C99-based standards] (j1f): Likewise.
2858 [non-C99-based standards] (jnf): Likewise.
2859 [non-C99-based standards] (lgammaf): Likewise.
2860 [non-C99-based standards] (tgammaf): Likewise.
2861 [non-C99-based standards] (y0f): Likewise.
2862 [non-C99-based standards] (y1f): Likewise.
2863 [non-C99-based standards] (ynf): Likewise.
2864 [non-C99-based standards] (isnanf): Likewise.
2865 [non-C99-based standards] (acoshf): Likewise.
2866 [non-C99-based standards] (asinhf): Likewise.
2867 [non-C99-based standards] (atanhf): Likewise.
2868 [non-C99-based standards] (cbrtf): Likewise.
2869 [non-C99-based standards] (expm1f): Likewise.
2870 [non-C99-based standards] (ilogbf): Likewise.
2871 [non-C99-based standards] (log1pf): Likewise.
2872 [non-C99-based standards] (logbf): Likewise.
2873 [non-C99-based standards] (nextafterf): Likewise.
2874 [non-C99-based standards] (remainderf): Likewise.
2875 [non-C99-based standards] (rintf): Likewise.
2876 [non-C99-based standards] (scalbf): Likewise.
2877 [non-C99-based standards] (copysignl): Likewise.
2878 [non-C99-based standards] (exp2l): Likewise.
2879 [non-C99-based standards] (log2l): Likewise.
2880 [non-C99-based standards] (modfl): Allow.
2881 [non-C99-based standards] (erfl): Do not allow.
2882 [non-C99-based standards] (erfcl): Likewise.
2883 [non-C99-based standards] (gammal): Likewise.
2884 [non-C99-based standards] (hypotl): Likewise.
2885 [non-C99-based standards] (j0l): Likewise.
2886 [non-C99-based standards] (j1l): Likewise.
2887 [non-C99-based standards] (jnl): Likewise.
2888 [non-C99-based standards] (lgammal): Likewise.
2889 [non-C99-based standards] (tgammal): Likewise.
2890 [non-C99-based standards] (y0l): Likewise.
2891 [non-C99-based standards] (y1l): Likewise.
2892 [non-C99-based standards] (ynl): Likewise.
2893 [non-C99-based standards] (isnanl): Likewise.
2894 [non-C99-based standards] (acoshl): Likewise.
2895 [non-C99-based standards] (asinhl): Likewise.
2896 [non-C99-based standards] (atanhl): Likewise.
2897 [non-C99-based standards] (cbrtl): Likewise.
2898 [non-C99-based standards] (expm1l): Likewise.
2899 [non-C99-based standards] (ilogbl): Likewise.
2900 [non-C99-based standards] (log1pl): Likewise.
2901 [non-C99-based standards] (logbl): Likewise.
2902 [non-C99-based standards] (nextafterl): Likewise.
2903 [non-C99-based standards] (remainderl): Likewise.
2904 [non-C99-based standards] (rintl): Likewise.
2905 [non-C99-based standards] (scalbl): Likewise.
2906 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2907 [non-C99-based standards] (FP_*): Do not allow.
2908 [C99-based standards] (FP_*): Change to
2909 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2910 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2911 allow.
2912 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2913 (SIG_ERR): Likewise.
2914 [X/Open-based standards] (SIG_HOLD): Likewise.
2915 (SIG_IGN): Likewise.
2916 (SIGABRT): Use macro-int-constant. Specify type. Require
2917 positive value.
2918 (SIGFPE): Likewise.
2919 (SIGILL): Likewise.
2920 (SIGINT): Likewise.
2921 (SIGSEGV): Likewise.
2922 (SIGTER): Likewise.
2923 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2924 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2925 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2926 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2927 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2928 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2929 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2930 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2931 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2932 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2933 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2934 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2935 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2936 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2937 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2938 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2939 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2940 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2941 [X/Open-based standards] (SIGTRAP): Likewise.
2942 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2943 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2944 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2945 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2946 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2947 allow.
2948
b9f1922d
IW
29492012-05-08 Ian Wienand <ianw@vmware.com>
2950
2951 [BZ #14080]
2952 * time/tzset.c (__tzset_parse_tz): Update default rules for
2953 daylight time changes in the Energy Policy Act of 2005.
2954
1db86e88
AJ
29552012-05-09 Andreas Jaeger <aj@suse.de>
2956
2957 [BZ #13983]
2958 * elf/ldconfig.c (parse_conf): Change string to make clear that
2959 ldconfig only issued a warning if ld.so.conf does not exist.
2960
dee4a4e3
DM
29612012-05-08 David S. Miller <davem@davemloft.net>
2962
ee0db190
DM
2963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2964 movxtod instead of popping the value on the stack.
2965
dee4a4e3
DM
2966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2967
6a43ec98
CD
29682012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2969
2970 * config.h.in: Add HAVE_ARM_PCS_VFP.
2971
05c2c961
RMG
29722012-05-08 Roland Mc Grath <roland@hack.frob.com>
2973
bcfe3a54
ST
2974 [BZ #13979]
2975 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2976 checking but the checks are disabled for any reason.
05c2c961 2977
4b30f61a
L
29782012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2979
2980 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2981 and ELF64_R_TYPE with ELFW(R_TYPE).
2982
eee2bc67
JM
29832012-05-08 Joseph Myers <joseph@codesourcery.com>
2984
7ea5391a
JM
2985 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2986 (ulimit): Likewise.
2987
eee2bc67
JM
2988 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2989 (settimeofday): Likewise.
2990
abb66a67
MF
29912012-05-08 Mike Frysinger <vapier@gentoo.org>
2992
2993 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2994 a struct th_u2 inside the union, and move tu_block/tu_code into
2995 a new th_u3 union of tu_block/tu_code inside of that. Move
2996 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
2997 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
2998 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2999 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3000 (th_stuff): Change to th_u1.tu_stuff.
3001 (th_data): Define.
3002 (th_msg): Change to th_u1.th_u2.tu_data.
3003
7f18b530
DM
30042012-05-07 David S. Miller <davem@davemloft.net>
3005
05760585
DM
3006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3007
7f18b530
DM
3008 [BZ #14074]
3009 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3010 (SETUP_PIC_REG): Use it.
3011 (SETUP_PIC_REG_LEAF): Use it.
3012
495fd99f
JM
30132012-05-07 Joseph Myers <joseph@codesourcery.com>
3014
3015 [BZ #13885]
3016 [BZ #13923]
3017 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3018 USE_AS_EXPM1L.
3019 (EXPL_FINITE): Likewise.
3020 (FLDLOG): Likewise.
3021 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3022 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3023 e_expl.S.
3024 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3025 USE_AS_EXPM1L.
3026 (EXPL_FINITE): Likewise.
3027 (FLDLOG): Likewise.
3028 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3029 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3030 e_expl.S.
3031 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3032 test of -max_value argument for long double.
3033 * sysdeps/i386/fpu/libm-test-ulps: Update.
3034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3035
6693d694
DM
30362012-05-06 David S. Miller <davem@davemloft.net>
3037
3038 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3039 quad soft-float symbols whose references which are compiler
3040 generated.
3041 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3042
6c23e11c
JM
30432012-05-06 Joseph Myers <joseph@codesourcery.com>
3044
d8b82cad
JM
3045 [BZ #13884]
3046 [BZ #13914]
3047 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3048 USE_AS_EXP10L.
3049 (EXPL_FINITE): Likewise.
3050 (FLDLOG): Likewise.
3051 (c0): Likewise.
3052 (c1): Likewise.
3053 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3054 Adjust comments for base varying.
3055 (__expl_finite): Change alias to EXPL_FINITE.
3056 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3057 e_expl.S.
3058 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3059 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3060 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3061 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3062 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3063 USE_AS_EXP10L.
3064 (EXPL_FINITE): Likewise.
3065 (FLDLOG): Likewise.
3066 (c0): Likewise.
3067 (c1): Likewise.
3068 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3069 Adjust comments for base varying.
3070 (__expl_finite): Change alias to EXPL_FINITE.
3071 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3072 tests for bugs.
3073 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3074
6c23e11c
JM
3075 [BZ #14064]
3076 * math/libm-test.inc (check_float_internal): Correct ulp
3077 calculation for subnormal expected results.
3078
29ba805c
AJ
30792012-05-06 Andreas Jaeger <aj@suse.de>
3080
3081 * Makeconfig (+math-flags): New, set to -frounding-math.
3082 (+cflags): Add +math-flags so that all of glibc gets compiled with
3083 it.
3084
3085 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3086
7b17aeda
JM
30872012-05-05 Joseph Myers <joseph@codesourcery.com>
3088
5779f134
JM
3089 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3090 Disable one test.
3091
41498f4d
JM
3092 [BZ #13787]
3093 [BZ #13922]
3094 [BZ #14036]
3095 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3096 (__ieee754_expl): Allow for and saturate large arguments.
3097 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3098 (u_threshold): Likewise.
3099 (__exp): Call __ieee754_exp before checking for overflow and
3100 underflow.
3101 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3102 (u_threshold): Likewise.
3103 (__expf): Call __ieee754_expf before checking for overflow and
3104 underflow.
3105 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3106 (u_threshold): Likewise.
3107 (__expl): Call __ieee754_expl before checking for overflow and
3108 underflow.
3109 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3110 (__ieee754_expl): Allow for and saturate large arguments.
3111 * math/libm-test.inc (exp_test): Add another test. Do not allow
3112 missing overflow exception on overflow.
3113 (expm1_test): Do not allow missing overflow exception on overflow.
3114
6698b8bf
JM
3115 * sysdeps/i386/fpu/e_expl.c: Move to ...
3116 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3117 rather than using inline asm.
3118 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3119 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3120 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3121
7b17aeda
JM
3122 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3123 (nice): Likewise.
3124 (poll): Likewise.
3125 (signal): Likewise.
3126 (time): Likewise.
3127 (times): Likewise.
3128
f7c85819
JM
31292012-05-04 Joseph Myers <joseph@codesourcery.com>
3130
3131 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3132 sysdeps/unix/common/syscalls.list.
3133 (fchmod): Likewise.
3134 (fchown): Likewise.
3135 (ftruncate): Likewise.
3136 (getrusage): Likewise.
3137 (gettimeofday): Likewise.
3138 (setpgid): Likewise.
3139 (setregid): Likewise.
3140 (setreuid): Likewise.
3141 (sigaction): Likewise.
3142 (truncate): Likewise.
3143 (vhangup): Likewise.
3144 * sysdeps/unix/common/syscalls.list: Remove file.
3145 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3146 * sysdeps/unix/sysv/linux/Implies: Likewise.
3147
336270d0
L
31482012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3149
3150 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3152 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3153 Moved to ...
3154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3155 Here.
3156 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3157 to ...
3158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3159 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3160 to ...
3161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3162 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3163 to ...
3164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3165 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3166 to ...
3167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3168 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3169 to ...
3170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3171 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3172 to ...
3173 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3174 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3175 to ...
3176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3177 Here.
3178 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3179 to ...
3180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3181 Here.
3182 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3183 to ...
3184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3185 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3186 Moved to ...
3187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3188 Here.
3189 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3190 to ...
3191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3192
d128e450
JM
31932012-05-04 Joseph Myers <joseph@codesourcery.com>
3194
fa8ee516
JM
3195 * sysdeps/unix/common/bits/dirent.h: Remove file.
3196 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3197
d128e450
JM
3198 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3199 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3200 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3201 * sysdeps/unix/bsd/isatty.c: Likewise.
3202 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3203 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3204 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3205
ff8faaf0 32062012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3207
62881be4 3208 [BZ #13563]
31dc8730
AZ
3209 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3210 long double comparison inaccuracies.
3211 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3213
6fef930c
AS
32142012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3215
3216 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3217 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3218
8f203e6c
JM
32192012-05-04 Joseph Myers <joseph@codesourcery.com>
3220
3221 [BZ #14049]
3222 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3223 nonzero digits before rounding a hex value.
3224 * stdlib/tst-strtod.c (tests): Add another test.
3225
5197d9c2
AK
32262012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3227
3228 * sysdeps/s390/fpu/libm-test-ulps: Update.
3229
f0c1dedf
AJ
32302012-05-03 Andreas Jaeger <aj@suse.de>
3231
3232 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3233 does not get optimized out.
3234 (malloc_opt_barrier): New.
3235
a65ef2ae 32362012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3237 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3238
2b942cb7 3239 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3240 intermediate file deletion.
2b942cb7 3241 (generated): Add .symlist files.
a65ef2ae 3242
54b71e02
JM
32432012-05-03 Joseph Myers <joseph@codesourcery.com>
3244
3245 [BZ #13775]
3246 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3247 Redirect under this condition.
3248 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3249 [__USE_GNU] (__dprintf_chk): Not under this condition.
3250 [__USE_GNU] (__vdprintf_chk): Likewise.
3251 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3252 under this condition.
3253 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3254 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3255 [__USE_XOPEN2K8] (vdprintf): Likewise.
3256 [__USE_GNU] (__dprintf_chk): Not under this condition.
3257 [__USE_GNU] (__vdprintf_chk): Likewise.
3258 [__USE_GNU] (dprintf): Likewise.
3259 [__USE_GNU] (vdprintf): Likewise.
3260
d3dfcc41
RM
32612012-05-03 Roland McGrath <roland@hack.frob.com>
3262
3263 * elf/Makefile (common-generated): Set this instead of generated for
3264 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3265 $(all-built-dso)-derived lists.
3266
7ac30cc5
AJ
32672012-05-03 Andreas Jaeger <aj@suse.de>
3268
0c51e550
AJ
3269 * sysdeps/i386/fpu/libm-test-ulps: Update.
3270
7ac30cc5
AJ
3271 * FAQ: Removed.
3272 * FAQ.in: Likewise.
3273 * scripts/gen-FAQ.pl: Likewise.
3274 * manual/install.texi (Installation): Point to online location of
3275 FAQ.
3276 * Makefile (files-for-dist): Remove FAQ.
3277 (FAQ): Remove.
3278
d4c2917f
AM
32792012-05-02 Allan McRae <allan@archlinux.org>
3280
3281 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3282 (LDFLAGS-reldepmod5.so): Likewise.
3283 (LDFLAGS-reldep6mod1.so): Likewise.
3284 (LDFLAGS-reldep6mod4.so): Likewise.
3285 (LDFLAGS-reldep8mod3.so): Likewise.
3286 (LDFLAGS-unload4mod1.so): Likewise.
3287 (LDFLAGS-unload4mod2.so): Likewise.
3288 (LDFLAGS-tst-initorder): Likewise.
3289 (LDFLAGS-tst-initordera2.so): Likewise.
3290 (LDFLAGS-tst-initordera3.so): Likewise.
3291 (LDFLAGS-tst-initordera4.so): Likewise.
3292 (LDFLAGS-tst-initorderb2.so): Likewise.
3293 (LDFLAGS-noload): Likewise.
3294 (LDFLAGS-next): Likewise.
3295 (LDFLAGS-order2mod1.so): Likewise.
3296 (LDFLAGS-order2mod2.so): Likewise.
3297 (LDFLAGS-tst-initorder2): Likewise.
3298 (LDFLAGS-tst-initorder2a.so): Likewise.
3299 (LDFLAGS-tst-initorder2b.so): Likewise.
3300 (LDFLAGS-tst-initorder2c.so): Likewise.
3301 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3302
d77f993f
DM
33032012-05-02 David S. Miller <davem@davemloft.net>
3304
3305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3306
171a70b4
PP
33072012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3308
3309 [BZ #14055]
3310 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3311
0be196ad
AJ
33122012-05-02 Andreas Jaeger <aj@suse.de>
3313
3314 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3315 since we manipulate rounding mode.
3316 (CPPFLAGS-test-idouble.c): Likewise.
3317 (CPPFLAGS-test-ifloat.c): Likewise.
3318 (CFLAGS-test-ldouble.c): Likewise.
3319 (CFLAGS-test-double.c): Likewise.
3320 (CFLAGS-test-float.c): Likewise.
3321 (CFLAGS-test-misc.c): Likewise.
3322 (CFLAGS-test-test-fenv.c): Likewise.
3323
4f9d04aa
AZ
33242012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3325
2b942cb7
RM
3326 [BZ #2550]
3327 [BZ #2570]
3328 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3329 comparisons to determine direction to adjust input.
4f9d04aa 3330
82a79e7d
RM
33312012-05-01 Roland McGrath <roland@hack.frob.com>
3332
f5a01ca9
RM
3333 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3334 output to the target.
3335
90fe4186
RM
3336 * scripts/localplt.awk: New file.
3337 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3338 (check-localplt-CFLAGS): Variable removed.
3339 ($(all-built-dso:=.jmprel)): New static pattern rule.
3340 (generated): Add those targets.
3341 (localplt-built-dso): New variable.
3342 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3343
3344 * elf/check-localplt.c: File removed.
3345
82397ed6
RM
3346 * scripts/check-execstack.awk: New file.
3347 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3348 (check-execstack-CFLAGS): Variable removed.
3349 ($(objpfx)check-execstack.h): Target removed.
3350 ($(objpfx)execstack-default): New target.
3351 (generated): Add that instead of check-execstack.h.
3352 ($(all-built-dso:=.phdr)): New static pattern rule.
3353 (generated): Add those targets.
3354 * elf/check-execstack.c: File removed.
3355
82a79e7d
RM
3356 * scripts/check-textrel.awk: New file.
3357 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3358 (check-textrel-CFLAGS): Variable removed.
3359 (all-built-dso): Use := to define.o
3360 ($(all-built-dso:=.dyn)): New static pattern rule.
3361 (generated): Add those targets.
3362 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3363 * config.make.in (READELF): New substituted variable.
3364 * elf/check-textrel.c: File removed.
3365
62fde54f 33662012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3367
615605c9
JM
3368 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3369 allow.
3370 * conform/data/ctype.h-data [C99-based standards] (isblank):
3371 Expect function.
3372 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3373 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3374 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3375 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3376 Specify type. Require positive value.
3377 (EILSEQ): Likewise.
3378 (ERANGE): Likewise.
3379 [ISO || POSIX] (EILSEQ): Do not expect.
3380 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3381 Specify type. Require positive value.
3382 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3383 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3384 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3385 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3386 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3387 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3388 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3389 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3390 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3391 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3392 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3393 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3394 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3395 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3396 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3397 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3398 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3399 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3400 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3401 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3402 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3403 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3404 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3405 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3406 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3407 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3408 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3409 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3410 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3411 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3412 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3413 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3414 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3415 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3416 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3417 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3418 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3419 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3420 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3421 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3422 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3423 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3424 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3425 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3426 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3427 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3428 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3429 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3430 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3431 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3432 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3433 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3434 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3435 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3436 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3437 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3438 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3439 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3440 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3441 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3442 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3443 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3444 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3445 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3446 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3447 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3448 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3449 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3450 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3451 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3452 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3453 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3454 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3455 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3456 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3457 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3458 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3459 Require >= 2.
3460 (FLT_ROUNDS): Expect as macro, not constant.
3461 (FLT_MANT_DIG): Use macro-int-constant.
3462 (DBL_MANT_DIG): Likewise.
3463 (LDBL_MANT_DIG): Likewise.
3464 (FLT_DIG): Likewise.
3465 (DBL_DIG): Likewise.
3466 (LDBL_DIG): Likewise.
3467 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3468 (DBL_MIN_EXP): Likewise.
3469 (LDBL_MIN_EXP): Likewise.
3470 (FLT_MAX_EXP): Use macro-int-constant.
3471 (DBL_MAX_EXP): Likewise.
3472 (LDBL_MAX_EXP): Likewise.
3473 (FLT_MAX_10_EXP): Likewise.
3474 (DBL_MAX_10_EXP): Likewise.
3475 (LDBL_MAX_10_EXP): Likewise.
3476 (FLT_MAX): Use macro-constant.
3477 (DBL_MAX): Likewise.
3478 (LDBL_MAX): Likewise.
3479 (FLT_EPSILON): Use macro-constant. Give upper bound.
3480 (DBL_EPSILON): Likewise.
3481 (LDBL_EPSILON): Likewise.
3482 (FLT_MIN): Likewise.
3483 (DBL_MIN): Likewise.
3484 (LDBL_MIN): Likewise.
3485 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3486 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3487 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3488 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3489 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3490 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3491 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3492 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3493 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3494 [ISO11] (FLT_TRUE_MIN): Likewise.
3495 [ISO11] (LDBL_TRUE_MIN): Likewise.
3496 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3497 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3498 (SCHAR_MIN): Use macro-int-constant. Specify type.
3499 (SCHAR_MAX): Likewise.
3500 (UCHAR_MAX): Likewise.
3501 (CHAR_MIN): Likewise.
3502 (CHAR_MAX): Likewise.
3503 (MB_LEN_MAX): Use macro-int-constant.
3504 (SHRT_MIN): Use macro-int-constant. Specify type.
3505 (SHRT_MAX): Likewise.
3506 (USHRT_MAX): Likewise.
3507 (INT_MAX): Likewise.
3508 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3509 bound negative.
3510 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3511 bound with "U".
3512 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3513 bound with "L".
3514 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3515 bound negative. Suffix upper bound with "L".
3516 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3517 bound with "UL".
3518 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3519 Specify type.
3520 [C99-based standards] (LLONG_MAX): Likewise.
3521 [C99-based standards] (ULLONG_MAX): Likewise.
3522 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3523 == 0.
3524 [ISO11] (max_align_t): Require type.
3525 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3526
c9140a62
JM
3527 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3528 from $CFLAGS, without defining away __attribute__ calls.
3529 (checknamespace): Use $CFLAGS_namespace.
3530
9af0bf29
JM
3531 * conform/conformtest.pl (@keywords): Only include C99 keywords
3532 for standards based on C99 or C11.
3533
343222a2
JM
3534 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3535 Disable tests.
3536 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3537 UNIX98]: Likewise.
3538
661f8cf0
JM
3539 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3540 usability of symbols in #if.
3541
ee74b9cb
JM
3542 * conform/conformtest.pl: If macro or constant types start
3543 "promoted:", expect the symbol to be of the following type
3544 promoted by the integer promotions.
62fde54f 3545
aafc49b3
JM
3546 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3547 in one place. Also handle "macro-constant".
3548
fefdf574
JM
3549 * conform/conformtest.pl: Only accept expected macro values with
3550 "==". Parse all "macro" lines in one place.
3551 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3552
f2d922fe
JM
3553 * conform/conformtest.pl: Handle braced types on "constant" lines
3554 instead of handling "typed-constant".
3555 * conform/data/signal.h-data: Use "constant" instead of
3556 "typed-constant".
3557
d22956c9
JM
3558 * conform/conformtest.pl: Handle "optional-" at start of lines in
3559 one place rather than duplicating several cases. Handle each
3560 format of "macro" line with initial "optional-".
3561
028e2e38
JM
3562 * conform/conformtest.pl: Only accept expected constant or
3563 optional-constant values with "==". Parse all "constant" lines in
3564 one place. Parse all "optional-constant" lines in one place.
3565 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3566 * conform/data/fmtmsg.h-data: Likewise.
3567 * conform/data/netinet/in.h-data: Likewise.
3568 * conform/data/tar.h-data: Likewise.
3569 * conform/data/limits.h-data: Use "==" form on "constant" and
3570 "optional-constant" lines.
3571
1b8f2850
JM
3572 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3573 Use -std=c99 for XOPEN2K.
3574 (@knownproblems): Remove.
3575 (newtoken): Don't check %isknown.
3576
a05a144b
JM
3577 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3578 Do not expect macro.
3579 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3580 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3581 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3582 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3583 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3584 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3585 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3586 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3587 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3588 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3589 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3590 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3591 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3592 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3593 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3594 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3595 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3596 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3597 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3598 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3599 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3600 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3601 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3602 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3603 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3604 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3605 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3606 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3607 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3608 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3609 [XPG3] (acosh): Likewise.
3610 [XPG3] (asinh): Likewise.
3611 [XPG3] (atanh): Likewise.
3612 [XPG3] (cbrt): Likewise.
3613 [XPG3] (expm1): Likewise.
3614 [XPG3] (ilogb): Likewise.
3615 [XPG3] (log1p): Likewise.
3616 [XPG3] (logb): Likewise.
3617 [XPG3] (nextafter): Likewise.
3618 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3619 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3620 [XPG3] (remainder): Likewise.
3621 [XPG3] (rint): Likewise.
3622 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3623 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3624 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3625 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3626 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3627 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3628 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3629 [UNIX98 || XOPEN2K] (scalb): Expect.
3630 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3631 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3632 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3633 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3634 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3635 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3636 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3637 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3638 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3639 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3640 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3641 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3642 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3643 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3644 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3645 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3646 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3647 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3648 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3649 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3650 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3651 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3652 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3653 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3654 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3655 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3656 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3657 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3658 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3659 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3660 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3661 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3662 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3663 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3664 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3665 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3666 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3667 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3668 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3669 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3670 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3671 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3672 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3673 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3674 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3675 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3676 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3677 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3678 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3679 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3680 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3681 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3682 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3683 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3684 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3685 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3686 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3687 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3688 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3689 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3690 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3691 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3692 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3693 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3694 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3695 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3696 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3697 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3698 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3699 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3700 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3701 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3702 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3703 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3704 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3705 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3706 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3707 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3708 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3709 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3710 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3711 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3712 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3713 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3714 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3715 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3716 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3717 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3718 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3719 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3720 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3721 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3722 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3723 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3724 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3725 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3726 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3727 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3728 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3729 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3730 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3731 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3732 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3733 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3734 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3735 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3736 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3737 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3738 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3739 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3740 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3741 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3742 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3743 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3744 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3745 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3746 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3747 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3748 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3749 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3750 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3751 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3752 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3753 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3754 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3755 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3756 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3757 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3758 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3759 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3760 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3761 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3762 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3763 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3764 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3765 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3766 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3767
73c5ebe3
JM
3768 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3769 _XOPEN_SOURCE_EXTENDED for XPG4.
3770
39c33b6c
JM
3771 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3772
62fde54f
JM
3773 * Makeconfig (localtime): Remove variable.
3774 (inst_localtime-file): Likewise.
3775
0741d64c
AS
37762012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3777
3778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3779 Update.
3780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3781 Update.
3782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3783 Update.
3784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3785 Update.
3786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3787 Update.
3788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3789 Update.
3790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3791 Update.
3792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3793 Update.
3794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3795 Update.
3796
7cb029ee
JM
37972012-05-01 Joseph Myers <joseph@codesourcery.com>
3798
3799 [BZ #2550]
3800 [BZ #2570]
3801 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3802 comparisons to determine direction to adjust input.
3803 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3804 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3805 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3806 Likewise.
3807 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3808 Likewise.
3809 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3810 Likewise.
3811 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3812 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3813 Likewise.
3814 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3815 Likewise.
3816 * math/libm-test.inc (nexttoward_test): Add more tests.
3817
412bd966
AS
38182012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3819
3820 [BZ #14040]
3821 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3822 in version GLIBC_2.1, not GLIBC_2.0.
3823 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3824 Likewise.
3825
9568c0c2
JM
38262012-04-30 Joseph Myers <joseph@codesourcery.com>
3827
adfbc8ac
JM
3828 [BZ #13942]
3829 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3830 (1 - x) * (1 + x).
3831 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3832 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3833 * math/libm-test.inc (acos_test): Add more tests.
3834 (asin_test): Likewise.
3835 * sysdeps/i386/fpu/libm-test-ulps: Update.
3836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3837
5ba3cc69
JM
3838 [BZ #14034]
3839 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3840 of square root.
3841 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3842 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3843 * math/libm-test.inc (acos_test_tonearest): New function.
3844 (acos_test_towardzero): Likewise.
3845 (acos_test_downward): Likewise.
3846 (acos_test_upward): Likewise.
3847 (asin_test_tonearest): Likewise.
3848 (asin_test_towardzero): Likewise.
3849 (asin_test_downward): Likewise.
3850 (asin_test_upward): Likewise.
3851 (main): Call the new functions.
3852 * sysdeps/i386/fpu/libm-test-ulps: Update.
3853 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3854
9568c0c2
JM
3855 [BZ #13884]
3856 [BZ #13924]
3857 * math/e_exp10.c: Include <float.h>.
3858 (__ieee754_exp10): Handle underflow here rather than multiplying
3859 large negative argument by M_LN10.
3860 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3861 of __ieee754_expf.
3862 * math/e_exp10l.c: Include <float.h>.
3863 (__ieee754_exp10l): Handle underflow here rather than multiplying
3864 large negative argument by M_LN10l.
3865 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3866 spurious overflow exception on underflow.
3867
5ac3ea17
MP
38682012-04-29 Marek Polacek <polacek@redhat.com>
3869
3870 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3871 (__fortify_function): New macro.
3872 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3873 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3874 __extern_always_inline.
3875 * libio/bits/stdio2.h: Likewise.
3876 * libio/bits/stdio.h: Likewise.
3877 * string/string.h: Likewise.
3878 * string/bits/string3.h: Likewise.
3879 * include/stdio.h: Likewise.
3880 * stdlib/bits/stdlib.h: Likewise.
3881 * stdlib/stdlib.h: Likewise.
3882 * rt/bits/mqueue2.h: Likewise.
3883 * rt/mqueue.h: Likewise.
3884 * posix/bits/unistd.h: Likewise.
3885 * posix/unistd.h: Likewise.
3886 * io/bits/poll2.h: Likewise.
3887 * io/bits/fcntl2.h: Likewise.
3888 * io/fcntl.h: Likewise.
3889 * io/sys/poll.h: Likewise.
3890 * misc/bits/syslog.h: Likewise.
3891 * misc/bits/syslog-ldbl.h: Likewise.
3892 * misc/sys/syslog.h: Likewise.
3893 * socket/bits/socket2.h: Likewise.
3894 * socket/sys/socket.h: Likewise.
3895 * debug/tst-chk1.c: Likewise.
3896 * wcsmbs/bits/wchar2.h: Likewise.
3897 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3898 * wcsmbs/wchar.h: Likewise.
3899
ecf0ebfb
AJ
39002012-04-29 Andreas Jaeger <aj@suse.de>
3901
3902 * Makerules (tests): Remove enable-check-abi protection.
3903 (check-abi-warn): Remove.
3904 (check-abi-%): Remove check-abi-warn usage.
3905
3906 * configure.in: Remove check-abi configure option.
3907 * configure: Regenerated.
3908 * config.make.in (enable-check-abi): Remove.
3909
6d5c57fa
AS
39102012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3911
24c5d07e 3912 [BZ #14033]
ded5180a
AS
3913 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3914 double functions to double *_finite functions.
3915
7e0d315d
AS
3916 [BZ #13941]
3917 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3918 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3919 LDBL_MIN_EXP.
3920 * stdio-common/Makefile (tests): Add tst-sprintf3.
3921 * stdio-common/tst-sprintf3.c: New file.
3922
6d5c57fa
AS
3923 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3924 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3925
0749ff8b
JM
39262012-04-28 Joseph Myers <joseph@codesourcery.com>
3927
3928 * conform/conformtest.pl: Remove duplicate typed-constant
3929 handling.
3930
8dbd5d7b
DM
39312012-04-28 David S. Miller <davem@davemloft.net>
3932
3933 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3934 (check-abi-%): Remove AWK script prerequisite and explicit
3935 abilist directory.
3936 (check-abi): Rewrite to just diff the symlist with the abilist.
3937 (config-tls, config-abi-config): Delete, no longer used.
3938 (update-abi-%): Remove AWK script and explicit abilist directory.
3939 (update-abi): Rewrite to simply compare and conditionally copy the
3940 symlist and the sysdep abilist file. Remove update-abi-config
3941 checks.
3942 * abilist/ld.abilist: Remove.
3943 * abilist/libBrokenLocale.abilist: Remove.
3944 * abilist/libanl.abilist: Remove.
3945 * abilist/libcrypt.abilist: Remove.
3946 * abilist/libdl.abilist: Remove.
3947 * abilist/librt.abilist: Remove.
3948 * abilist/libthread_db.abilist: Remove.
3949 * abilist/libutil.abilist: Remove.
3950 * scripts/extract-abilist.awk: Remove.
3951 * scripts/merge-abilist.awk: Remove.
3952 * sysdeps/generic/libcidn.abilist: New file.
3953 * sysdeps/generic/libnss_compat.abilist: New file.
3954 * sysdeps/generic/libnss_db.abilist: New file.
3955 * sysdeps/generic/libnss_dns.abilist: New file.
3956 * sysdeps/generic/libnss_files.abilist: New file.
3957 * sysdeps/generic/libnss_hesiod.abilist: New file.
3958 * sysdeps/generic/libnss_nis.abilist: New file.
3959 * sysdeps/generic/libnss_nisplus.abilist: New file.
3960 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3961 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3962 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3963 file.
3964 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3965 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3966 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3967 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3968 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3969 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3970 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3971 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3972 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3973 file.
3974 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3975 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3976 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3977 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3978 file.
3979 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3980 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3981 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3982 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3983 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3984 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3985 file.
3986 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3987 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3988 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3989 file.
3990 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3991 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3992 New file.
3993 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3994 New file.
3995 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3996 New file.
3997 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3998 New file.
3999 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4000 New file.
4001 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4002 New file.
4003 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4004 New file.
4005 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4006 New file.
4007 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4008 New file.
4009 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4010 New file.
4011 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4012 New file.
4013 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4014 New file.
4015 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4016 New file.
4017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4018 file.
4019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4020 New file.
4021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4022 New file.
4023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4024 file.
4025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4026 New file.
4027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4028 New file.
4029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4030 file.
4031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4032 New file.
4033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4034 New file.
4035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4036 New file.
4037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4038 New file.
4039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4040 New file.
4041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4042 New file.
4043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4045 file.
4046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4047 New file.
4048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4049 file.
4050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4051 file.
4052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4053 file.
4054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4055 file.
4056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4057 file.
4058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4059 New file.
4060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4061 file.
4062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4063 file.
4064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4065 New file.
4066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4067 file.
4068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4070 file.
4071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4072 New file.
4073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4074 file.
4075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4076 file.
4077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4078 file.
4079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4080 file.
4081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4082 file.
4083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4084 New file.
4085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4086 file.
4087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4088 file.
4089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4090 New file.
4091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4092 file.
4093 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4094 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4095 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4096 file.
4097 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4098 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4099 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4100 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4101 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4102 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4103 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4104 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4105 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4106 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4109 file.
4110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4111 New file.
4112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4113 file.
4114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4115 file.
4116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4117 file.
4118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4119 file.
4120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4121 file.
4122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4123 New file.
4124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4125 New file.
4126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4127 file.
4128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4129 New file.
4130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4131 file.
4132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4134 file.
4135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4136 New file.
4137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4138 file.
4139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4140 file.
4141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4142 file.
4143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4144 file.
4145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4146 file.
4147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4148 New file.
4149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4150 New file.
4151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4152 file.
4153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4154 New file.
4155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4156 file.
4157
41d73a1b
JM
41582012-04-28 Joseph Myers <joseph@codesourcery.com>
4159
4160 * conform/conformtest.pl: Fix typo in handling typed-constant from
4161 allow-header.
4162
28aeeda4
JM
41632012-04-27 Joseph Myers <joseph@codesourcery.com>
4164
adae8f5e
JM
4165 * README: Cut down references to pre-2.6 Linux kernels and
4166 Linuxthreads. Update lists of configurations in libc and ports
4167 and sort alphabetically. Say "or newer" with Linux kernel version
4168 requirements.
4169
28aeeda4
JM
4170 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4171
a462cb63
RA
41722012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4173
4174 [BZ #887]
4175 * math/libm-test.inc (logb_test_downward): New test to expose
4176 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4177 rounding mode.
4178
6ad3493e
JM
41792012-04-27 Joseph Myers <joseph@codesourcery.com>
4180
4181 [BZ #14027]
4182 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4183 to be done.
4184 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4185 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4186
2ce4f015
JM
41872012-04-26 Joseph Myers <joseph@codesourcery.com>
4188
5aeb141a
JM
4189 * sysdeps/unix/i386/brk.S: Remove file.
4190 * sysdeps/unix/i386/dl-brk.S: Likewise.
4191 * sysdeps/unix/i386/pipe.S: Likewise.
4192 * sysdeps/unix/i386/sigreturn.S: Likewise.
4193 * sysdeps/unix/i386/syscall.S: Likewise.
4194 * sysdeps/unix/i386/vfork.S: Likewise.
4195 * sysdeps/unix/i386/wait.S: Likewise.
4196
7143acae
JM
4197 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4198 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4199
2ce4f015
JM
4200 * configure.in (arm*-none*): Do not allow without
4201 --enable-hacker-mode.
4202 (netbsd*): Remove case setting base_os.
4203 (386bsd*): Likewise.
4204 (freebsd*): Likewise.
4205 (bsdi*): Likewise.
4206 (osf*): Likewise.
4207 (sunos*): Likewise.
4208 (ultrix*): Likewise.
4209 (newsos*): Likewise.
4210 (dynix*): Likewise.
4211 (*bsd*): Likewise.
4212 (sysv*): Likewise.
4213 (isc*): Likewise.
4214 (esix*): Likewise.
4215 (sco*): Likewise.
4216 (minix*): Likewise.
4217 (irix4*): Likewise.
4218 (irix6*): Likewise.
4219 (solaris[2-9]*): Likewise.
4220 (none): Likewise.
4221 * configure: Regenerated.
4222
0ac229c8
AZ
42232012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4224
4225 [BZ #11521]
4226 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4227 overflow or cancellation in calculating denominator.
4228 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4229 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4230 down expression to avoid unexpected rounding in newer GCCs.
4231 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4232
33f244f4
DM
42332012-04-26 David S. Miller <davem@davemloft.net>
4234
4235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4236 long-double compat symbols.
4237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4250
cfa1f3e8
DM
42512012-04-25 David S. Miller <davem@davemloft.net>
4252
4253 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4254 HWCAP_* values only after the memory barriers have been defined.
4255 (atomic_full_barrier): Define.
4256 (atomic_read_barrier): Define.
4257 (atomic_write_barrier): Define.
4258
6e236b92
SP
42592012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4260
4261 * shlib-versions: Add libgcc_s version information.
4262 * sysdeps/generic/libgcc_s.h: Remove.
4263 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4264 libgcc_s.h.
4265 * sysdeps/gnu/unwind-resume.c: Likewise.
4266 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4267
aab39a09
DM
42682012-04-25 David S. Miller <davem@davemloft.net>
4269
4270 * sysdeps/unix/sparc/brk.S: Delete.
4271 * sysdeps/unix/sparc/dl-brk.S: Delete.
4272 * sysdeps/unix/sparc/pipe.S: Delete.
4273 * sysdeps/unix/sparc/sysdep.S: Delete.
4274 * sysdeps/unix/sparc/sysdep.h: Delete.
4275 * sysdeps/unix/sparc/vfork.S: Delete.
4276 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4277 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4278 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4279 ret_ERRVAL, r0, r1, MOVE): Define.
4280 (JUMPTARGET): Remove.
4281 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4282 sysdeps/unix/sparc/sysdep.h
4283 (ENTRY, END): Remove.
4284 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4285
a3cc4f48
JM
42862012-04-25 Joseph Myers <joseph@codesourcery.com>
4287
2ed8cda2
JM
4288 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4289 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4290 -DIS_IN_build.
4291
35d76d59
JM
4292 * timezone/README: Update upstream location and email address for
4293 tzcode and tzdata.
4294 * timezone/zdump.c: Update from tzcode 2012b.
4295 * timezone/zic.c: Likewise.
4296
a3cc4f48
JM
4297 * configure.in (libc_cv_as_needed): Remove test.
4298 * configure: Regenerated.
4299 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4300 conditional definition.
4301 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4302 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4303 * config.make.in (have-as-needed): Remove variable.
4304
ceab42c3
SP
43052012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4306 Paul Pluzhnikov <ppluzhnikov@google.com>
4307
4308 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4309 strings correctly.
4310
3ce2865f
CLT
43112012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4312
4313 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4314 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4315 * sysdeps/sh/strlen.S: Likewise.
4316
f37e0d68
JM
43172012-04-24 Joseph Myers <joseph@codesourcery.com>
4318
ae186e9a
JM
4319 * sysdeps/unix/fork.S: Remove file.
4320 * sysdeps/unix/i386/fork.S: Likewise.
4321 * sysdeps/unix/sparc/fork.S: Likewise.
4322
b96914af
JM
4323 * sysdeps/unix/system.c: Remove file.
4324 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4325
f37e0d68
JM
4326 * sysdeps/unix/getegid.S: Remove file.
4327 * sysdeps/unix/geteuid.S: Likewise.
4328
87ef29ca
RM
43292012-04-24 Roland McGrath <roland@hack.frob.com>
4330
83bcd236
RM
4331 * scripts/check-localplt.awk: New file.
4332 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4333 of diff.
4334 * scripts/data/localplt-generic.data: Add a comment.
4335
87ef29ca
RM
4336 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4337 NODE when __dir_mkfile failed.
4338 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4339 Reported by Ludovic Courtès <ludo@gnu.org>.
4340
e5a6e567
AJ
43412012-04-24 Andreas Jaeger <aj@suse.de>
4342
4343 * Makerules (common-clean): Also remove gen-as-const-headers
4344 files.
4345
c1820385
JM
43462012-04-24 Joseph Myers <joseph@codesourcery.com>
4347
4348 * Makerules (native-compile): Do not change working directory for
4349 build. Use $(OUTPUT_OPTION) in command.
4350 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4351
94e02fc4
AZ
43522012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4353
4354 [BZ #13886]
4355 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4356 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4357 * math/libm-test.inc (floor_test): Add more tests.
4358 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4359
3a533ca3
JM
43602012-04-24 Joseph Myers <joseph@codesourcery.com>
4361
940ab4b3
JM
4362 * sysdeps/unix/getdents.c: Remove file.
4363 * sysdeps/unix/sysv/getdents.c: Likewise.
4364 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4365
90e037bd
JM
4366 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4367 sysdeps/unix/mman/syscalls.list.
4368 (mmap): Likewise.
4369 (mprotect): Likewise.
4370 (msync): Likewise.
4371 (munmap): Likewise.
4372 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4373 * sysdeps/unix/mman/syscalls.list: Remove.
4374 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4375
3a533ca3
JM
4376 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4377 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4378 * configure: Regenerated.
4379 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4380 $(libgcc_s_suffix).
4381 * config.make.in (libgcc_s_suffix): Remove variable.
4382
1ad743de
JM
43832012-04-23 Joseph Myers <joseph@codesourcery.com>
4384
4ad451e2
JM
4385 * sysdeps/unix/sysv/gethostname.c: Move to ...
4386 * sysdeps/posix/gethostname.c: ... here.
4387
5e37ce39
JM
4388 * sysdeps/unix/execve.S: Remove file.
4389
1ad743de
JM
4390 * sysdeps/unix/_exit.S: Remove file.
4391
4e681b5b
AJ
43922012-04-23 Andreas Jaeger <aj@suse.de>
4393
4394 [BZ #13739]
4395 * manual/Makefile: Remove make dist support, there's no
4396 need for a stand-alone documentation tar ball.
4397 (TEXI2DVI): Define always, it's not in Makeconfig.
4398 (dist): Removed.
4399 (tar-it): Removed.
4400 (edition): Removed.
4401 (glibc-doc-$(edition).tar): Removed
4402 (%.Z): Removed.
4403 (%.gz): Removed.
4404 (%.uu): Removed.
4405 (ETAGS): Remove, it's in Makeconfig.
4406 (move-if-change): Remove, it's in Makeconfig.
4407
c0baea34
PE
44082013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4409
4410 [BZ #13970]
4411 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4412 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4413 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4414 (strtod_l, strtof_l, strtold_l): Remove __wur.
4415 It is not necessarily an error to ignore strtol's return value.
4416 One can reliably look at the stored endptr to decide whether
4417 the number had valid syntax.
4418
7c0616fa
AJ
44192012-04-21 Andreas Jaeger <aj@suse.de>
4420
803cb6b7 4421 [BZ #13739]
7c0616fa
AJ
4422 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4423
b0fe253f
JM
44242012-04-21 Joseph Myers <joseph@codesourcery.com>
4425
4426 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4427 * sysdeps/unix/sysv/Versions: Remove file.
4428
8280f22d
MT
44292012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4430
4431 [BZ #13927]
4432 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4433
75ce411f 44342012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4435
4436 [BZ #7064]
4437 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4438 version from __vm86.
4439
097d59fa
JM
44402012-04-20 Joseph Myers <joseph@codesourcery.com>
4441
a90f3bcb
JM
4442 * sysdeps/unix/common/lxstat.c: Remove file.
4443 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4444
edc7ea78
JM
4445 * sysdeps/unix/sysv/Makefile: Remove file.
4446
cb78c221
JM
4447 * sysdeps/unix/sysv/direct.h: Remove file.
4448
efa6a45f
JM
4449 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4450 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4451 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4452 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4453 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4454 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4455 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4456
9c9f2d0c
JM
4457 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4458
4541c83b
JM
4459 * sysdeps/unix/xmknod.c: Remove file.
4460 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4461
f5d153a0
JM
4462 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4463
aa746595
JM
4464 * sysdeps/unix/sysv/i386/time.S: Remove file.
4465
cce5905e
JM
4466 * sysdeps/unix/fxstat.c: Remove file.
4467 * sysdeps/unix/xstat.c: Likewise.
4468 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4469
37fa3841
JM
4470 * sysdeps/unix/sysv/sigaction.c: Remove file.
4471
ff1962a3
JM
4472 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4473 (sysdep_headers): Remove variable.
4474 [termio.h not in sysdep_headers] (generated): Likewise.
4475 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4476 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4477 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4478 * sysdeps/unix/sysv/tcflow.c: Likewise.
4479 * sysdeps/unix/sysv/tcflush.c: Likewise.
4480 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4481 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4482 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4483 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4484 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4485
e7740d31
JM
4486 * sysdeps/unix/siglist.c: Remove file.
4487
ee06f18b
JM
4488 * sysdeps/unix/getppid.S: Remove file.
4489
097d59fa
JM
4490 * sysdeps/unix/mkdir.c: Remove file.
4491 * sysdeps/unix/rmdir.c: Likewise.
4492
ff3d51ec
AS
44932012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4494
4495 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4496 ERR_MAX value.
4497 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4498 errlist-compat value.
4499
50f81fd7
DM
45002012-04-18 David S. Miller <davem@davemloft.net>
4501
4502 * sysdeps/generic/memcopy.h (reg_char): Delete.
4503 * debug/strcat_chk.c: Use char, not reg_char.
4504 * debug/strcpy_chk.c: Likewise.
4505 * debug/strncat_chk.c: Likewise.
4506 * debug/strncpy_chk.c: Likewise.
4507 * string/memchr.c: Likewise.
4508 * string/memrchr.c: Likewise.
4509 * string/rawmemchr.c: Likewise.
4510 * string/strcat.c: Likewise.
4511 * string/strchr.c: Likewise.
4512 * string/strchrnul.c: Likewise.
4513 * string/strcmp.c: Likewise.
4514 * string/strcpy.c: Likewise.
4515 * string/strncat.c: Likewise.
4516 * string/strncmp.c: Likewise.
4517 * string/strncpy.c: Likewise.
4518
8ff41c46
WS
45192012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4520
4521 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4522 __builtin_memcopy is called when src and dest ranges are known to not
4523 overlap.
4524
6b652f46
WS
45252012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4526
4527 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4528 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4529 fwd_align_merge macro call.
4530 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4531 bwd_align_merge macro call.
4532 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4533
b282631e
WS
45342012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4535
4536 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4537 bwd_align_merge macros.
4538 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4539 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4540 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4541
95aa737c
DM
45422012-04-18 David S. Miller <davem@davemloft.net>
4543
4544 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4545
7a99a614
AJ
45462012-04-18 Andreas Jaeger <aj@suse.de>
4547
4548 [BZ# 6794]
4549 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4550 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4551 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4552
4553 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4554 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4555 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4556
4557 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4558 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4559 Adjust for changed ldbl-128 files.
4560
4561 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4562 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4563 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4564
e5270c23
DM
45652012-04-17 David S. Miller <davem@davemloft.net>
4566
4567 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4568
fb5e92c9
AS
45692012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4570
4571 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4572 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4573 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4574 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4575 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4576 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4577
76da7265
AZ
45782012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4579
4580 [BZ #6794]
4581 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4582 * math/libm-test.inc: Add ilogb errno and exception tests.
4583 * math/w_ilogb.c: New file: ilogb wrapper.
4584 * math/w_ilogbf.c: New file: ilogbf wrapper.
4585 * math/w_ilogbl.c: New file: ilogbl wrapper.
4586 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4587 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4588 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4589 exception being thrown with 0.0 as argument.
4590 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4591 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4592 exception being thrown with 0.0 as argument.
4593 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4594 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4595 exception being thrown with 0.0 as argument.
4596 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4597 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4598 exception being thrown with 0.0 as argument.
4599 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4600 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 4601 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
4602 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4603 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4604 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4605 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4606 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4607 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4608
0396e69d
PB
46092012-04-17 Petr Baudis <pasky@ucw.cz>
4610
4611 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4612 with altivec.
4613
750b5926
MP
46142012-04-16 Marek Polacek <polacek@redhat.com>
4615
4616 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4617
751728a1
MP
46182012-04-16 Marek Polacek <polacek@redhat.com>
4619
4620 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4621 operands of fdivp instruction.
4622
34a27407
L
46232012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4624
4625 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4626 * elf/tst-auditmod3b.c: Likewise.
4627 * elf/tst-auditmod4b.c: Likewise.
4628 * elf/tst-auditmod5b.c: Likewise.
4629 * elf/tst-auditmod6b.c: Likewise.
4630 * elf/tst-auditmod6c.c: Likewise.
4631 * elf/tst-auditmod7b.c: Likewise.
4632 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4633 * sysdeps/x86_64/preconfigure.in: Likewise.
4634 * sysdeps/x86_64/preconfigure: Regenerated.
4635
7e73e17d
L
46362012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4637
4638 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4639 __ILP32__.
4640
c7a6ab72
AB
46412012-04-13 Antoine Balestrat <merkil33@gmail.com>
4642
4643 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4644 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4645
a9e8e0e0
CL
46462012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4647
4648 [BZ #13973]
4649 * locale/iso-639.def: Fix gl language name. Spotted by
4650 Yaron Shahrabani.
4651
ec98af7d
RM
46522012-04-12 Roland McGrath <roland@hack.frob.com>
4653
4654 [BZ #2074]
4655 * libio/libio.h (__io_write_fn): Update comment.
4656
247c3ede
PB
46572012-04-12 Petr Baudis <pasky@ucw.cz>
4658
4659 [BZ #2074]
4660 * stdio.texi (Hook Functions): The user provided writer function
4661 is not allowed to return -1.
4662
55939d6d
DM
46632012-04-11 David S. Miller <davem@davemloft.net>
4664
4665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4666
90020f5a
MF
46672012-04-11 Mike Frysinger <vapier@gentoo.org>
4668
4669 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4670 Add a leading slash to rtkaio.
4671
288f9098
JM
46722012-04-11 Jim Meyering <meyering@redhat.com>
4673
90020f5a
MF
4674 [BZ #11959]
4675 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4676 It is not necessarily an error to ignore fwrite's return
4677 value. One can reliably use ferror to test for errors after
4678 the fact.
288f9098 4679
4be2b570
L
46802012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4681
4682 * bits/types.h (__snseconds_t): New type.
4683 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4684
4685 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4686 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4687 (__SNSECONDS_T_TYPE): Likewise.
4688 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4689 (__SNSECONDS_T_TYPE): Likewise.
4690 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4691 (__SNSECONDS_T_TYPE): Likewise.
4692
288f9098 46932012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
4694
4695 [BZ #2636]
4696 * manual/time.texi (Processor Time): Return type of times is
4697 elapsed real time since an arbitrary point in the past.
4698 (CPU Time): Move CLK_TCK from here...
4699 (Processor Time): ...to here. Correct description.
4700 * manual/conf.texi (Constants for Sysconf): Correct description of
4701 _SC_CLK_TCK.
4702
d7dd4413
DM
47032012-04-10 David S. Miller <davem@davemloft.net>
4704
4705 [BZ #13967]
4706 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4707 where the is a gap between DT_REL(A) and DT_JMPREL.
4708
b46068fc
L
47092012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4710
4711 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4712 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4713 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4714
73d65cc3
SP
47152012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4716
4717 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4718 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4719 (dl_main): Handle --inhibit-cache.
4720 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4721 _dl_inhibit_cache.
4722 * elf/dl-load.c (_dl_map_object): Use it.
4723 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4724
bcc8d661
JM
47252012-04-09 Joseph Myers <joseph@codesourcery.com>
4726
8f9a2fae
JM
4727 [BZ #13872]
4728 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4729 (__ieee754_powl): Saturate large exponents rather than testing for
4730 overflow of y*log2(x).
4731 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4732 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4733 exceptions.
4734
bcc8d661
JM
4735 [BZ #11521]
4736 * math/s_ctan.c: Include <float.h>.
4737 (__ctan): Avoid internal overflow or cancellation in calculating
4738 denominator.
4739 * math/s_ctanf.c: Likewise.
4740 * math/s_ctanl.c: Likewise.
4741 * math/s_ctanh.c: Likewise.
4742 * math/s_ctanhf.c: Likewise.
4743 * math/s_ctanhl.c: Likewise.
4744 * math/libm-test.inc (ctan_test): Add more tests.
4745 (ctanh_test): Likewise.
4746 * sysdeps/i386/fpu/libm-test-ulps: Update.
4747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4748
823fbbb4
AJ
47492012-04-09 Andreas Jaeger <aj@suse.de>
4750
03879793
AJ
4751 [BZ #6894]
4752 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4753 is an optional BSD extension.
4754
823fbbb4
AJ
4755 [BZ #10254]
4756 * manual/stdio.texi (Opening Streams): Document additional fopen
4757 parameters.
4758
8de131cb
RM
47592012-04-09 Roland McGrath <roland@hack.frob.com>
4760
4761 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4762 %eax without telling the compiler.
4763
c0ed9d7d
CD
47642012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4765
4766 [BZ # 13963]
4767 * manual/install.texi: Use sourceware.org.
4768
c483f6b4
JM
47692012-04-09 Joseph Myers <joseph@codesourcery.com>
4770
d7dd9453
JM
4771 [BZ #13873]
4772 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4773 (__ieee754_pow): Generate overflow and underflow using huge*huge
4774 and tiny*tiny rather than just returning constant infinity or zero
4775 for large exponents.
4776 * math/libm-test.inc (pow_test): Require overflow exceptions for
4777 applicable cases of large exponents.
4778
c483f6b4
JM
4779 [BZ #706]
4780 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4781 (__ieee754_pow): Use iterative multiplication algorithm only for
4782 integer exponents with absolute value below 1024. Check for odd
4783 integer exponents when using algorithm for real exponents.
4784 * math/libm-test.inc (pow_test): Add more tests.
4785 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4786
d2de7579
JM
47872012-04-08 Joseph Myers <joseph@codesourcery.com>
4788
4789 [BZ #13705]
4790 * math/libm-test.inc (exp_test): Do not allow overflow exception
4791 on underflow test.
4792
f77f1232
AJ
47932012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4794
4795 [BZ #13705]
4796 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4797 instead of __kernel_standard_f.
4798
3884932b
MF
47992012-04-08 Mike Frysinger <vapier@gentoo.org>
4800
4801 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4802 * sysdeps/x86_64/memset_chk.S: Likewise.
4803
54472e9c
AJ
48042012-04-08 Andreas Jaeger <aj@suse.de>
4805
6ab0fbfc
AJ
4806 [BZ #10153]
4807 * manual/startup.texi (Environment Access): Describe return value
4808 for putenv and setenv.
4809
61efba8c
AJ
4810 [BZ #6895]
4811 * manual/filesys.texi (Directory Entries): Add description for
4812 DT_LNK.
4813
95c3f29a
AJ
4814 [BZ #6890]
4815 * manual/filesys.texi (Directory Entries): Clarify that it's file
4816 system not operating system in the description of DT_UNKNOWN.
4817
54472e9c
AJ
4818 [BZ #6578]
4819 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4820
624254b1
SC
48212012-04-08 Stephen Compall <s11@member.fsf.org>
4822
4823 [BZ #6649]
4824 * manual/llio.texi (Opening and Closing Files): Add cross
4825 reference to explain mode argument.
4826
1e4920e0
MF
48272012-04-07 Mike Frysinger <vapier@gentoo.org>
4828
4829 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4830 * sysdeps/x86_64/memset_chk.S: Likewise.
4831
5ed848f3
DM
48322012-04-07 David S. Miller <davem@davemloft.net>
4833
4834 * elf/elf.h (R_SPARC_WDISP10): Define.
4835 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4836 R_SPARC_SIZE32.
4837 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4838 R_SPARC_SIZE64 and R_SPARC_H34.
4839
96154cd8
CD
48402012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4841
4842 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4843 conditions and remove no longer applicable assertion.
4844
9904dc47
L
48452012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4846
4847 * bits/byteswap.h: Include <features.h>.
4848 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4849 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4850
f8887d0a
L
48512012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4852
4853 * bits/byteswap.h (__bswap_16): Removed.
4854 Include <bits/byteswap-16.h> to get __bswap_16.
4855 * sysdeps/i386/bits/byteswap.h: Likewise.
4856 * sysdeps/s390/bits/byteswap.h: Likewise.
4857 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4858 * bits/byteswap-16.h: New file.
4859 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4860 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4861 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4862 * string/Makefile (headers): Add bits/byteswap-16.h.
4863
62470f60
PP
48642012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4865
4866 [BZ #13895]
4867 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4868 extra indirection.
4869 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4870 * nss/tst-nss-static.c: New.
4871
4dad7bab
RM
48722012-04-06 Robert Millan <rmh@gnu.org>
4873
4874 [BZ #6486]
4875 * manual/llio.texi (File Position Primitive): lseek
4876 refers to WHENCE when it really means OFFSET.
4877
e9142a17
AJ
48782012-04-06 Andreas Jaeger <aj@suse.de>
4879
2c040eff
AJ
4880 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4881 strncmp declarations.
4882
e9142a17
AJ
4883 * abilist/libc.abilist: Add __poll and __ppoll.
4884
ff9f1c5f
DM
48852012-04-05 David S. Miller <davem@davemloft.net>
4886
dcd2ae90
DM
4887 * scripts/check-local-headers.sh: Accept a host triplet in the
4888 path matched by the exclude regexp.
4889
993eb054
DM
4890 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4891 definition.
4892 * sysdeps/powerpc/powerpc32/dl-machine.h
4893 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4894 * sysdeps/s390/s390-32/dl-machine.h
4895 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4896 * sysdeps/sparc/sparc32/dl-machine.h
4897 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4898 * sysdeps/sparc/sparc64/dl-machine.h
4899 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4900
ff9f1c5f
DM
4901 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4902 lazy binding.
48e2e132 4903 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
4904 undefined symbol errors.
4905
48e2e132 4906 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
4907 DT_NEEDED entries.
4908
e80d6f94
MM
49092012-04-05 Michael Matz <matz@suse.de>
4910
4911 [BZ #13592]
4912 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4913
349fa79f
AJ
49142012-04-05 Andreas Jaeger <aj@suse.de>
4915
4916 [BZ #13908]
4917 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4918 comment.
4919
f402708f
KK
49202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4921
4922 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4923 which ROUND is no valid rounding mode.
4924
2ecccfc9
KK
49252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4926
4927 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4928 read again.
4929 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4930
8a53f50f
KK
49312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4932
4933 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4934 an exception using FPU order intentionally.
4935
49362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4937
4938 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4939 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4940 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4941 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4942
d653abb7
SJ
49432012-04-05 Simon Josefsson <simon@josefsson.org>
4944
4945 [BZ #12340]
4946 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4947 EINVAL when BUFLEN is too smal.
4948
c3b1bf7d
TS
49492012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4950
4951 [BZ #13553]
4952 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4953 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4954
b1aa60f3
AJ
49552012-04-03 Andreas Jaeger <aj@suse.de>
4956
c3b1bf7d 4957 [BZ #13938]
67f60a26
AJ
4958 * manual/setjmp.texi (System V contexts): Fix sentence.
4959
b1aa60f3
AJ
4960 [BZ #13926]
4961 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4962 New macro for this case.
4963 [!__GNUC__] (__bswap_64): New inline function for this case.
4964 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4965 * bits/byteswap.h: Likewise.
4966 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4967 ull, guard with __GLIBC_HAVE_LONG_LONG.
4968
4969 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4970 __GLIBC_HAVE_LONG_LONG.
4971
4972 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4973 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4974
39c59c35
TMQMF
49752012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4976
4977 [BZ #13691]
4978 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4979 inptr and inend, rather than using last_ch.
4980
135ffda8
DM
49812012-04-02 David S. Miller <davem@davemloft.net>
4982
4983 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4984 * stdio-common/printf-parse.h (read_int): Change return type to
4985 'int', return -1 on INT_MAX overflow.
4986 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4987 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4988 overflows INT_MAX. Check for overflow of in-format-string precision
4989 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4990 SIZE_MAX not INT_MAX for integer overflow test.
4991 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4992 skip the construct in the format string but do not record anything.
4993 * stdio-common/bug22.c: Adjust to test both width/prevision
4994 INT_MAX overflow as well as total length INT_MAX overflow. Check
4995 explicitly for proper errno values.
4996
228c019e
TS
49972012-04-02 Thomas Schwinge <thomas@codesourcery.com>
4998
302cadd3
TS
4999 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5000 CHAR_MAX.
5001 * string/test-strcmp.c [! WIDE]: Likewise.
5002 * time/tst-mktime2.c: Likewise for INT_MAX.
5003 * string/test-string.h: #include <sys/param.h> for MIN.
5004
228c019e
TS
5005 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5006 * sysdeps/i386/init-first.c (init): Likewise.
5007 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5008 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5009 * sysdeps/sh/init-first.c (init): Likewise.
5010
cfa633f5
UD
50112012-04-01 Ulrich Drepper <drepper@gmail.com>
5012
5013 * po/ru.po: Update from translation team.
d1635ef8 5014 * po/vi.po: Likewise.
cfa633f5 5015
6cd0a5ea
SP
50162012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5017
5018 * resolv/nss_dns/dns-host.c: Merge copyright years.
5019
4b43400f
LD
50202012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5021
5022 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5023 Optimize memcpy with prefetch if
5024 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5025 src, dst pointers have unequal 16 byte alignments.
5026
48c41d04
SP
50272012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5028
5029 [BZ #13928]
5030 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5031 from a CNAME entry and return the minimum ttl for the query.
5032 (gaih_getanswer_slice): Likewise.
5033
b8dc394d
JL
50342012-03-30 Jeff Law <law@redhat.com>
5035
5036 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5037 due to long keys.
5038 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5039 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5040
2f5a5ed0
JL
5041 * resolv/nss_dns/dns-host.c: Update copyright year.
5042
1d39e359
UD
50432012-03-30 Ulrich Drepper <drepper@gmail.com>
5044
c030f70c 5045 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5046 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5047
1d39e359
UD
5048 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5049 comments for sendmmsg.
5050
50512012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5052
5053 [BZ #13691]
5054 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5055 with only 1 character between 0x0041 and 0x01b0.
5056 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5057 * wcsmbs/tst-mbsnrtowcs.c: New file.
5058
20fde227
DM
50592012-03-29 David S. Miller <davem@davemloft.net>
5060
5061 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5062 small copies by hand.
5063
984a4237
JL
50642012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5065
5066 [BZ #13761]
5067 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5068 _nss_compat_initgroups_dyn): Fall back to malloc/free
5069 for large group memberships.
5070
18c9d62b
DM
50712012-03-28 David S. Miller <davem@davemloft.net>
5072
88d85d4f
DM
5073 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5074 that branches into memcpy.
5075 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5076 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5077 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5078 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5079 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5080 bits.
5081 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5082 implementation too.
5083 * sysdeps/sparc/mempcpy.S: New file.
5084
e5aa83e1
DM
5085 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5086 the IFUNC routine in the libc case.
5087 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5088
88570753
DM
5089 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5090 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5091 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5092 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5093 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5094 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5095 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5096 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5097
249d7567
DM
5098 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5099 loop to 256 bytes instead of 64 bytes and fix test signedness.
5100
18c9d62b
DM
5101 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5102 * sysdeps/sparc/sparc32/Makefile: rather than here...
5103 * sysdeps/sparc/sparc64/Makefile: and here.
5104
05f3d1f6
UD
51052012-03-28 Ulrich Drepper <drepper@gmail.com>
5106
5107 * malloc/mallocbug.c: Avoid warnings about unused variables.
5108
86ae07a8
JL
51092012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5110
5111 [BZ #13760]
5112 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5113 in the right place. Discard and retry query if response is
5114 larger than input buffer size.
5115
41bf21a1
JM
51162012-03-28 Joseph Myers <joseph@codesourcery.com>
5117
d6270972
JM
5118 [BZ #369]
5119 [BZ #2678]
5120 [BZ #3866]
5121 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5122 x for large integer exponent.
5123 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5124 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5125 sign of result as needed afterwards.
5126 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5127 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5128 result for underflowing pow the same as for overflow.
5129 (__kernel_standard_l): Handle powl overflow and underflow here
5130 rather than calling __kernel_standard.
5131 * math/libm-test.inc (pow_test): Add more tests.
5132
414fca03 5133 [BZ #3868]
41bf21a1
JM
5134 [BZ #13879]
5135 [BZ #13910]
5136 [BZ #13911]
5137 [BZ #13912]
5138 [BZ #13913]
5139 [BZ #13915]
5140 [BZ #13916]
5141 [BZ #13917]
5142 [BZ #13918]
5143 [BZ #13919]
5144 [BZ #13920]
5145 [BZ #13921]
5146 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5147 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5148 (__kernel_standard_l): New function.
5149 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5150 __kernel_standard.
5151 * math/w_acosl.c (__acosl): Likewise.
5152 * math/w_asinl.c (__asinl): Likewise.
5153 * math/w_atan2l.c (__atan2l): Likewise.
5154 * math/w_atanhl.c (__atanhl): Likewise.
5155 * math/w_coshl.c (__coshl): Likewise.
5156 * math/w_exp10l.c (__exp10l): Likewise.
5157 * math/w_exp2l.c (__exp2l): Likewise.
5158 * math/w_fmodl.c (__fmodl): Likewise.
5159 * math/w_hypotl.c (__hypotl): Likewise.
5160 * math/w_j0l.c (__j0l, __y0l): Likewise.
5161 * math/w_j1l.c (__j1l, __y1l): Likewise.
5162 * math/w_jnl.c (__jnl, __ynl): Likewise.
5163 * math/w_lgammal.c (__lgammal): Likewise.
5164 * math/w_log10l.c (__log10l): Likewise.
5165 * math/w_log2l.c (__log2l): Likewise.
5166 * math/w_logl.c (__logl): Likewise.
5167 * math/w_powl.c (__powl): Likewise.
5168 * math/w_remainderl.c (__remainderl): Likewise.
5169 * math/w_scalbl.c (sysv_scalbl): Likewise.
5170 * math/w_sinhl.c (__sinhl): Likewise.
5171 * math/w_sqrtl.c (__sqrtl): Likewise.
5172 * math/w_tgammal.c (__tgammal): Likewise.
5173 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5174 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5175 * math/libm-test.inc (acos_test): Add more tests.
5176 (acosh_test): Likewise.
5177 (asin_test): Likewise.
5178 (atanh_test): Likewise.
5179 (exp_test): Likewise.
5180 (exp10_test): Likewise.
5181 (exp2_test): Likewise.
5182 (expm1_test): Likewise.
5183 (lgamma_test): Likewise.
5184 (log_test): Likewise.
5185 (log10_test): Likewise.
5186 (log1p_test): Likewise.
5187 (log2_test): Likewise.
5188 (pow_test): Do not allow some spurious overflow exceptions.
5189 (sqrt_test): Add more tests.
5190 (tgamma_test): Likewise.
5191 (y0_test): Likewise.
5192 (y1_test): Likewise.
5193 (yn_test): Likewise.
5194
dd62fda6
AB
51952012-03-27 Anton Blanchard <anton@samba.org>
5196
5197 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5198 MAP_HUGETLB.
5199 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5200 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5201 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5202
1e3cdfda
AJ
52032012-03-27 David S. Miller <davem@davemloft.net>
5204
b855ab85
DM
5205 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5206
1e3cdfda
AJ
5207 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5208 have-as-vis3 check.
5209
52102012-03-27 Andreas Jaeger <aj@suse.de>
5211
5212 * sysdeps/x86_64/elf/configure.in: Moved to ...
5213 * sysdeps/x86_64/configure.in: ... here.
5214 * sysdeps/x86_64/elf/start.S: Moved to ...
5215 * sysdeps/x86_64/start.S: ... here.
5216 * sysdeps/x86_64/elf/configure: Delete.
5217
5218 * sysdeps/x86_64/configure.in: Merge contents from
5219 sysdeps/i386/configure.in (without i686 check).
5220
5221 * sysdeps/i386/elf/Versions: Merge into ...
5222 * sysdeps/i386/Versions: ... this.
5223 * sysdeps/i386/elf/Versions: Delete file.
5224 * sysdeps/i386/elf/start.S: Moved to ...
5225 * sysdeps/i386/start.S: ...here.
5226 * sysdeps/i386/elf/configure.in: Merge into...
5227 * sysdeps/i386/configure.in: ...here.
5228 * sysdeps/i386/elf/configure.in: Delete file.
5229 * sysdeps/i386/elf/configure: Delete file.
5230
5231 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5232 * debug/backtracesyms.c: ... here.
5233 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5234 * debug/backtracesymsfd.c: ... here.
5235 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5236 * sysdeps/generic/ifunc-sel.h: ... here.
5237
5238 * sysdeps/unix/i386/start.c: Delete file.
5239 * sysdeps/unix/sparc/start.c: Delete file.
5240 * sysdeps/unix/start.c: Delete file.
5241
5242 * sysdeps/sh/elf/configure.in: Moved to ...
5243 * sysdeps/sh/configure.in: ... here.
5244 * sysdeps/sh/elf/start.S: Moved to ...
5245 * sysdeps/sh/start.S: ... here.
5246 * sysdeps/sh/elf/configure: Delete file.
5247
5248 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5249 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5250 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5251 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5252 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5253 * sysdeps/powerpc/powerpc64/start.S: here.
5254 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5255 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5256 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5257 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5258 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5259
5260 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5261 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5262 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5263 * sysdeps/powerpc/powerpc32/start.S: ... here.
5264 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5265 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5266 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5267
5268 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5269 * sysdeps/powerpc/ifunc-sel.h: ... here.
5270 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5271 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5272
5273 * sysdeps/sparc/elf/configure.in: Moved to ...
5274 * sysdeps/sparc/configure.in: ... here.
5275 * sysdeps/sparc/elf/configure: Delete file.
5276 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5277 * sysdeps/sparc/sparc32/start.S: ... here.
5278 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5279 * sysdeps/sparc/sparc64/start.S: ... here.
5280 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5281 * sysdeps/sparc/sparc32/Makefile: ... this.
5282 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5283 * sysdeps/sparc/sparc64/Makefile: ... this.
5284
5285 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5286 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5287 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5288 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5289 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5290 * sysdeps/s390/s390-32/setjmp.S: ... here.
5291 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5292 * sysdeps/s390/s390-32/configure.in: ... here.
5293 * sysdeps/s390/s390-32/elf/configure: Delete file.
5294 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5295 * sysdeps/s390/s390-32/start.S: ... here.
5296
5297 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5298 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5299 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5300 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5301 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5302 * sysdeps/s390/s390-64/setjmp.S: ... here.
5303 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5304 * sysdeps/s390/s390-64/configure.in: ... here
5305 * sysdeps/s390/s390-64/elf/configure: Delete file.
5306 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5307 * sysdeps/s390/s390-64/start.S: ... here.
5308 * sysdeps/s390/s390-64/elf/configure: Delete.
5309
5310 * configure.in: Remove support for elf directories in sysdeps.
5311
5312 * configure: Regenerated.
5313 * sysdeps/i386/configure: Regenerated.
5314 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5315 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5316 * sysdeps/s390/s390-32/configure: Regenerated.
5317 * sysdeps/s390/s390-64/configure: Regenerated.
5318 * sysdeps/sh/configure: Regenerated.
5319 * sysdeps/sparc/configure: Regenerated.
5320 * sysdeps/x86_64/configure: Regenerated.
5321
a3f61311
AS
53222012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5323
c876e002
AS
5324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5325
a3f61311
AS
5326 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5327 denormal result into account.
5328
ac4c54f0
RM
53292012-03-25 Roland McGrath <roland@hack.frob.com>
5330
5331 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5332 Reported by Allan McRae <allan@archlinux.org>.
5333
6a9b9c02
JL
53342012-03-23 Jeff Law <law@redhat.com>
5335
5336 * nss/getnssent.c (__nss_getent): Fix typo.
5337
4c42a0c1
DM
53382012-03-23 David S. Miller <davem@davemloft.net>
5339
5340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5341
1532c7ac
L
53422012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5343
5344 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5345 to pad to uint64_t for each field.
5346 (dl_tls_index): Replace unsigned long with uint64_t.
5347
3ff42526
PP
53482012-03-23 Daniel Jacobowitz <dmj@google.com>
5349 Paul Pluzhnikov <ppluzhnikov@google.com>
5350
5351 [BZ #6528]
5352 * grp/Makefile (otherlibs): Don't set it.
5353 * inet/Makefile (otherlibs): Likewise.
5354 * login/Makefile (otherlibs): Likewise.
5355 * nscd/Makefile (otherlibs): Likewise.
5356 * posix/Makefile (otherlibs): Likewise.
5357 * pwd/Makefile (otherlibs): Likewise.
5358 * rt/Makefile (otherlibs): Likewise.
5359 * sunrpc/Makefile (otherlibs): Likewise.
5360 * nss/Makefile (otherlibs): Likewise.
5361 Add libnss_files to routines and static-only-routines.
5362 ($(objpfx)getent): Remove rule.
5363 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5364 static-only-routines.
5365
7c69cd14
JM
53662012-03-22 Joseph Myers <joseph@codesourcery.com>
5367
5368 [BZ #13892]
5369 * math/s_cexp.c: Include <float.h>.
5370 (__cexp): Handle exp result overflowing not necessarily
5371 overflowing both real and imaginary parts of result.
5372 * math/s_cexpf.c: Likewise.
5373 * math/s_cexpl.c: Likewise.
5374 * math/libm-test.inc (cexp_test): Add more tests.
5375 * sysdeps/i386/fpu/libm-test-ulps: Update.
5376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5377
81b035fe
L
53782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5379
5380 * include/link.h (ELFW): New macro.
5381 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5382 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5383
1da7940c
L
53842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5385
5386 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5387 with uint64_t.
5388
b749dbb9
L
53892012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5390
5391 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5392 declaration.
5393 (struct La_x32_retval): Likewise.
5394
2ff87f3f
L
53952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5396
5397 * sysdeps/x86_64/preconfigure.in: New file.
5398 * sysdeps/x86_64/preconfigure: New generated file.
5399
c0df8e69
JM
54002012-03-22 Joseph Myers <joseph@codesourcery.com>
5401
48e44791
JM
5402 [BZ #13824]
5403 * math/e_exp2l.c: Include <float.h>.
5404 (__ieee754_exp2l): Handle overflow and underflow cases
5405 separately. Only pass fractional part of argument to
5406 __ieee754_expl.
5407 * math/libm-test.inc (exp2_test): Add more tests.
5408
c0df8e69
JM
5409 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5410 negating x to take absolute value.
5411 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5412 Likewise.
5413 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5414 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5415 Likewise.
5416 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5417 computing low part if x was negated.
5418 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5419
c8e43ba7
L
54202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5421
5422 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5423 la_x32_gnu_pltexit.
5424 (pltexit): Cast int_retval to ptrdiff_t.
5425 * elf/tst-auditmod3b.c: Likewise.
5426 * elf/tst-auditmod4b.c: Likewise.
5427 * elf/tst-auditmod5b.c: Likewise.
5428 * elf/tst-auditmod6b.c: Likewise.
5429 * elf/tst-auditmod6c.c: Likewise.
5430 * elf/tst-auditmod7b.c: Likewise.
5431
5432 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5433 and x32_gnu_pltexit.
5434
5435 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5436 __ELF_NATIVE_CLASS.
5437 (La_x32_regs): New macro.
5438 (La_x32_retval): Likewise.
5439 (la_x32_gnu_pltenter): New function prototype.
5440 (la_x32_gnu_pltexit): Likewise.
5441
7998fa78
AS
54422012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5443
dcb33988
AS
5444 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5445 exponent.
5446
233fc563
AS
5447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5448
7998fa78
AS
5449 * configure.in (libc_cv_cc_nofma): Check for option to disable
5450 generation of FMA instructions.
5451 * configure: Regenerate.
5452 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5453 * sysdeps/ieee754/dbl-64/Makefile: New file.
5454 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5455 Remove brandred-fma4.
5456 (CFLAGS-brandred-fma4.c): Remove.
5457 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5458 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5459 define.
5460 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5461 define.
5462
8e95c99a
L
54632012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5464
5465 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5466 LLONG_MAX != LONG_MAX.
5467 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5468 (_fitoa_word): Likewise.
5469 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5470 LLONG_MAX != LONG_MAX.
5471 * stdio-common/_itowa.h: Include <_itoa.h>.
5472 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5473 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5474 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5475 only if not defined.
5476 (_ITOA_WORD_TYPE): Likewise.
5477 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5478 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5479
6f4db457
DM
54802012-03-21 David S. Miller <davem@davemloft.net>
5481
5482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5483
7785fe5a
L
54842012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5485
5486 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5487 of x86_64 when setting libc_cv_slibdir, libdir and
5488 libc_cv_localedir.
5489 * sysdeps/unix/sysv/linux/configure: Regenerated.
5490
4535cd55
JM
54912012-03-21 Joseph Myers <joseph@codesourcery.com>
5492
5493 * manual/lang.texi (Old Varargs): Remove section.
5494 (How Variadic): Update menu.
5495 (va_start): Do not mention varargs.h.
5496
17228132
TS
54972012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5498 Joseph Myers <joseph@codesourcery.com>
5499
5500 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5501 link test.
5502 * configure: Regenerated.
5503
8149f976
TS
55042012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5505
05f3d1f6
UD
5506 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5507 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5508 conformtest.pl
8149f976 5509
1a4ac776
JM
55102012-03-21 Joseph Myers <joseph@codesourcery.com>
5511
be22ce65
JM
5512 * NOTES: Remove.
5513 * Makefile (files-for-dist): Remove NOTES.
5514 (NOTES): Remove rule.
5515 * README: Don't refer to NOTES.
5516 * manual/creature.texi: Don't include macros.texi.
5517 * manual/intro.texi (creature.texi): Remove comment referring to
5518 NOTES.
5519
40b601fb
JM
5520 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5521 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5522 * configure: Regenerated.
5523 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5524 LIBC_TRY_CC_OPTION.
5525 (libc_cv_as_i686): Likewise.
5526 (libc_cv_cc_avx): Likewise.
5527 (libc_cv_cc_sse2avx): Likewise.
5528 (libc_cv_cc_fma4): Likewise.
5529 (libc_cv_cc_novzeroupper): Likewise.
5530 * sysdeps/i386/configure: Regenerated.
5531
1a4ac776
JM
5532 [BZ #13883]
5533 * sysdeps/i386/fpu/s_cexp.S: Remove.
5534 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5535 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5536 * math/libm-test.inc (cexp_test): Add more tests.
5537 * sysdeps/i386/fpu/libm-test-ulps: Update.
5538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5539
a458e7fe
AM
55402012-03-21 Allan McRae <allan@archlinux.org>
5541
5542 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5543
0cb7efc5
JM
55442012-03-21 Joseph Myers <joseph@codesourcery.com>
5545
5546 [BZ #13871]
5547 * math/w_exp2.c: Do not include <float.h>.
5548 (o_threshold, u_threshold): Remove.
5549 (__exp2): Calculate result before checking finiteness and calling
5550 __kernel_standard.
5551 * math/w_exp2f.c: Likewise.
5552 * math/w_exp2l.c: Likewise.
5553 * math/libm-test.inc (exp2_test): Require overflow exception for
5554 1e6 input.
2460d3aa
JM
5555
5556 [BZ #3866]
5557 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5558 range of signed 64-bit integers before using fistpll. Remove
5559 checks for whether integers fit in mantissa bits.
5560 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5561 the range of signed 32-bit integers before using fistpl. Remove
5562 checks for whether integers fit in mantissa bits.
5563 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5564 (__ieee754_powl): Test for y outside the range of signed 64-bit
5565 integers before using fistpll. Reduce 64-bit values to 63-bit
5566 ones as needed.
5567 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5568 divide-by-zero is raised for zero to large negative powers.
5569 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5570 (__ieee754_powl): Test for y outside the range of signed 64-bit
5571 integers before using fistpll. Reduce 64-bit values to 63-bit
5572 ones as needed.
5573 * math/libm-test.inc (pow_test): Add more tests.
5574
eb96ffb0
L
55752012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5576
5577 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5578 <stdio-common/_itoa.h>.
5579 * debug/segfault.c: Likewise.
5580 * elf/dl-cache.c: Likewise.
5581 * elf/dl-minimal.c: Likewise.
5582 * elf/dl-misc.c: Likewise.
5583 * elf/dl-sysdep.c: Likewise.
5584 * elf/dl-version.c: Likewise.
5585 * elf/rtld.c: Likewise.
5586 * hurd/hurdsock.c: Likewise.
5587 * hurd/lookup-retry.c: Likewise.
5588 * malloc/malloc.c: Likewise.
5589 * malloc/mtrace.c: Likewise.
5590 * nscd/nscd_getgr_r.c: Likewise.
5591 * nscd/nscd_getpw_r.c: Likewise.
5592 * nscd/nscd_getserv_r.c: Likewise.
5593 * posix/getopt_init.c: Likewise.
5594 * posix/wordexp.c: Likewise.
5595 * stdio-common/_itoa.c: Likewise.
5596 * stdio-common/printf_fphex.c: Likewise.
5597 * stdio-common/vfprintf.c: Likewise.
5598 * string/_strerror.c: Likewise.
5599 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5600 * sysdeps/i386/i686/hp-timing.h: Likewise.
5601 * sysdeps/mach/_strerror.c: Likewise.
5602 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5603 * sysdeps/mach/hurd/sethostid.c: Likewise.
5604 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5605 * sysdeps/mach/xpg-strerror.c: Likewise.
5606 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5607 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5608 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5609 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5610 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5611 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5612 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5613 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5614 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5615 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5616 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5617 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5618 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5619 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5620 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5621 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5622 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5623 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5624 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5625 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5626 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5627
5628 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5629
5630 * stdio-common/_itoa.h: Moved to ...
5631 * sysdeps/generic/_itoa.h: Here.
5632
5633 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5634
5635 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5636 instead of "_itoa.h" and "_itowa.h".
5637 * stdio-common/vfprintf.: Likewise.
5638
d1af992d
L
56392012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5640
5641 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5642 <bits/wordsize.h>.
5643 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5644 (__signbit): Likwise.
5645 (llrintf): Likwise.
5646 (llrint): Likwise.
5647
114883e0
L
56482012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5649
5650 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5651 __WORDSIZE != 64.
5652
c135cc1b
JM
56532012-03-20 Joseph Myers <joseph@codesourcery.com>
5654
5655 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5656 OVERFLOW_EXCEPTION_OK.
5657 * math/libm-test.inc ("Philosophy"): Update comment about
5658 exception testing.
5659 (OVERFLOW_EXCEPTION): Define.
5660 (OVERFLOW_EXCEPTION_OK): Likewise.
5661 (INVALID_EXCEPTION_OK): Renumber.
5662 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5663 (IGNORE_ZERO_INF_SIGN): Likewise.
5664 (test_exceptions): Handle FE_OVERFLOW.
5665 (exp10_test): Expect overflow exceptions.
5666 (exp2_test): Likewise.
5667 (expm1_test): Likewise.
5668 (nextafter_test): Likewise.
5669 (pow_test): Likewise.
5670 (scalbn_test): Likewise.
5671 (scalbln_test): Likewise.
5672
95443d88
L
56732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5674
5675 * sysdeps/x86_64/bits/atomic.h
5676 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5677 64bit integer.
5678 (atomic_exchange_acq): Likewise.
5679 (__arch_exchange_and_add_body): Likewise.
5680 (__arch_add_body): Likewise.
5681 (atomic_add_negative): Likewise.
5682 (atomic_add_zero): Likewise.
5683
490df6c4
L
56842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5685
c2722551 5686 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
5687 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5688
5e52b189
L
56892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5690
5691 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5692 Check __x86_64__ instead of __WORDSIZE.
5693
a9879d4c
L
56942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5695
5696 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5697
5df98260
DM
56982012-03-19 David S. Miller <davem@davemloft.net>
5699
e1497744
DM
5700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5701
5df98260
DM
5702 * sysdeps/sparc/fpu/fenv_private.h: New file.
5703 * sysdeps/sparc/fpu/math_private.h: Use it.
5704 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5705 Remove.
5706 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5707 (libc_feholdexcept_setroundl): Remove.
5708 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5709 Remove.
5710 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5711 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5712
b4c35121
L
57132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5714
5715 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5716 int64_t instead of long int.
5717 (INSERT_WORDS64): Likwise.
5718
56965fd7
L
57192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5720
5721 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5722 _Unwind_GetCFA return to _Unwind_Ptr first.
5723
83d1aec8
JM
57242012-03-19 Joseph Myers <joseph@codesourcery.com>
5725
1897ad44
JM
5726 [BZ #13629]
5727 * math/s_clog.c: Include <float.h>.
5728 (__clog): Scale large or subnormal inputs.
5729 * math/s_clogf.c: Likewise.
5730 * math/s_clogl.c: Likewise.
5731 * math/s_clog10.c: Include <float.h>.
5732 (M_LOG10_2): Define.
5733 (__clog10): Scale large or subnormal inputs.
5734 * math/s_clog10f.c: Likewise.
5735 * math/s_clog10l.c: Likewise.
5736 * math/libm-test.inc (clog_test): Add more tests.
5737 (clog10_test): Likewise.
5738 * sysdeps/i386/fpu/libm-test-ulps: Update.
5739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5740
7726d6a9
JM
5741 [BZ #11451]
5742 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5743 x and y.
5744 * math/libm-test.inc (atan2_test): Add another test.
5745
83d1aec8
JM
5746 * Makerules (common-objdir-compile): Remove.
5747 * sysdeps/unix/Makefile (config-generated): Do not add
5748 $(unix-generated) to variable.
5749 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5750 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5751 Remove rule.
5752 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5753 Likewise.
5754 [generic bits/local_lim.h] (before-compile): Do not append to
5755 variable.
5756 [generic bits/local_lim.h] (common-generated): Likewise.
5757 [generic sys/param.h] (before-compile): Do not append to variable.
5758 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5759 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5760 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5761 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5762 include.
5763 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5764 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5765 [generic sys/param.h] ($(addprefix
5766 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5767 [generic sys/param.h] (common-generated): Do not append to
5768 variable.
5769 [generic sys/param.h] (sysdep_headers): Likewise.
5770 [generic bits/errno.h] (before-compile): Do not append to
5771 variable.
5772 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5773 rule.
5774 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5775 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5776 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5777 [generic bits/errno.h] (common-generated): Do not append to
5778 variable.
5779 [generic bits/ioctls.h] (before-compile): Do not append to
5780 variable.
5781 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5782 rule.
5783 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5784 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5785 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5786 rule.
5787 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5788 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5789 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5790 [generic bits/ioctls.h] (common-generated): Do not append to
5791 variable.
5792 [generic sys/syscall.h] (syscall.h): Remove variable.
5793 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5794 rule.
5795 [generic sys/syscall.h] (before-compile): Do not append to
5796 variable.
5797 [generic sys/syscall.h] (common-generated): Likewise.
5798 * sysdeps/unix/errnos-tmpl.c: Remove file.
5799 * sysdeps/unix/errnos.awk: Likewise.
5800 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5801 * sysdeps/unix/ioctls.awk: Likewise.
5802 * sysdeps/unix/mk-local_lim.c: Likewise.
5803 * sysdeps/unix/snarf-ioctls: Likewise.
5804
4851a949
RH
58052012-03-19 Richard Henderson <rth@twiddle.net>
5806
bd37f2ee
RH
5807 * sysdeps/i386/fpu/fenv_private.h: New file.
5808 * sysdeps/i386/fpu/math_private.h: Use it.
5809 (math_opt_barrier, math_force_eval): Remove.
5810 (libc_feholdexcept_setround_53bit): Remove.
5811 (libc_feupdateenv_53bit): Remove.
5812 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5813 (math_opt_barrier, math_force_eval): Remove.
5814 (libc_feholdexcept): Remove.
5815 (libc_feholdexcept_setround): Remove.
5816 (libc_fetestexcept, libc_fesetenv): Remove.
5817 (libc_feupdateenv_test): Remove.
5818 (libc_feupdateenv, libc_feholdsetround): Remove.
5819 (libc_feresetround): Remove.
5820
d0adc922
RH
5821 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5822 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5823
0fe0f1f8
RH
5824 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5825 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5826 (libc_feupdateenv_testl): New.
5827 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5828 (libc_feupdateenv_testf): New.
5829 (libc_feupdateenv): Use libc_feupdateenv_test.
5830 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5831 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5832
eb92c487
RH
5833 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5834 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5835 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5836 (libc_feresetround_noex): New.
5837 (libc_feresetround_noexf): New.
5838 (libc_feresetround_noexl): New.
5839 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5840 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5841 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5842 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5843 SET_RESTORE_ROUND.
5844 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5845 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5846 (__cos): Likewise.
5847 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5848 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5849 SET_RESTORE_ROUND_NOEX.
5850 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5851 SET_RESTORE_ROUND_NOEXF.
5852 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5853 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5854 (libc_feholdsetroundf): New.
5855 (libc_feresetround, libc_feresetroundf): New.
5856
7d2e8012
RH
5857 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5858 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5859 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5860
b4dabbb4
RH
5861 * sysdeps/generic/math_private.h: Include <fenv.h>.
5862 (default_libc_feholdexcept): New.
5863 (default_libc_feholdexcept_setround): New.
5864 (default_libc_fesetenv, default_libc_feupdateenv): New.
5865 (libc_feholdexcept): Only define if undefined.
5866 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5867 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5868 (libc_feholdexcept_setroundl): Likewise.
5869 (libc_feholdexcept_setround_53bit): Likewise.
5870 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5871 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5872 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5873 (libc_feupdateenv_53bit): Likewise.
5874 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5875 (libc_feholdexcept): Convert from macro to inline function.
5876 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5877 (libc_fesetenv, libc_feupdateenv): Likewise.
5878
4851a949
RH
5879 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5880 not previously defined.
5881 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5882 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5883 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5884 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5885 * sysdeps/ieee754/flt-32/math_private.h: New file.
5886 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5887 math_private.h below SET_FLOAT_WORD.
5888 (__isnan, __isinf_ns, __finite): Remove.
5889 (__isnanf, __isinf_nsf, __finitef): Remove.
5890
e79d442e
AS
58912012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5892
5893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5894
90b80344
DM
58952012-03-17 David S. Miller <davem@davemloft.net>
5896
5897 [BZ #6471]
5898 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5899 for 2.16.
5900
edc21804
DM
59012012-03-16 David S. Miller <davem@davemloft.net>
5902
77e927af
DM
5903 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5904 warnings.
5905
374976dd
DM
5906 [BZ #6471]
5907 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5908 properly.
5909 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5910 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5911 sysdep_routines when subdir is sysvipc.
5912 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5913 __getshmlba helper.
5914
edc21804
DM
5915 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5916
473c3ef3
L
59172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5918
5919 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5920 [__LP64__].
5921
eb0f39b6
L
59222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5923
5924 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5925 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5926 (__lround): Renamed to ...
5927 (__llround): This. Replace long int with long long int.
5928 Define lround functions as aliases of llround functions.
5929 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5930
6b6cd74b
L
59312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5932
5933 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5934 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5935 adresses to uintptr_t. Replace "long int" and "unsigned long
5936 int" with "greg_t" on va_arg.
5937
f1a77b01
L
59382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5939
5940 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5941 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5942
5943 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5944 Move e_machine check before EI_CLASS check. Handle x32
5945 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5946 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5947 SKIP_EM_IA_64 and include
5948 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5949
5950 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5951 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5952 (add_system_dir): New macro.
5953
5954 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5955 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5956
11b90b9f
JM
59572012-03-16 Joseph Myers <joseph@codesourcery.com>
5958
c36e1d23
JM
5959 [BZ #2551]
5960 [BZ #2552]
5961 [BZ #2553]
5962 [BZ #2554]
5963 [BZ #2562]
5964 [BZ #2563]
5965 [BZ #2565]
5966 [BZ #2566]
5967 [BZ #2576]
5968 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5969 (y0): Likewise.
5970 * math/w_j0f.c (j0f): Likewise.
5971 (y0f): Likewise.
5972 * math/w_j0l.c (__j0l): Likewise.
5973 (__y0l): Likewise.
5974 * math/w_j1.c (j1): Likewise.
5975 (y1): Likewise.
5976 * math/w_j1f.c (j1f): Likewise.
5977 (y1f): Likewise.
5978 * math/w_j1l.c (__j1l): Likewise.
5979 (__y1l): Likewise.
5980 * math/w_jn.c (jn): Likewise.
5981 (yn): Likewise.
5982 * math/w_jnf.c (jnf): Likewise.
5983 (ynf): Likewise.
5984 * math/w_jnl.c (__jnl): Likewise.
5985 (__ynl): Likewise.
5986 * math/libm-test.inc (j0_test): Add more tests.
5987 (j1_test): Likewise.
5988 (jn_test): Likewise. Add trailing semicolon to existing test.
5989 (y0_test): Likewise.
5990 (y1_test): Likewise.
5991 * sysdeps/i386/fpu/libm-test-ulps: Update.
5992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5993
11b90b9f
JM
5994 [BZ #13851]
5995 [BZ #13854]
5996 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5997 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5998 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5999 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6000 (__tanl): Set errno for infinite argument.
6001 * sysdeps/i386/fpu/mptan.c: Remove.
6002 * sysdeps/i386/fpu/s_tan.S: Likewise.
6003 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6004 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6005 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6006 * math/libm-test.inc (tan_test): Add more tests and enable more
6007 tests for double and long double.
6008 * sysdeps/i386/fpu/libm-test-ulps: Update.
6009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6010
6a1bd2a1
JK
60112012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6012
6013 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6014 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6015
10a803e0
RM
60162012-03-16 Roland McGrath <roland@hack.frob.com>
6017
6018 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6019 * configure.in: Use it for both main tree and add-ons.
6020 * configure: Regenerated.
6021
f196c7f7
L
60222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6023
6024 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6025
8848d99d
JM
60262012-03-16 Joseph Myers <joseph@codesourcery.com>
6027
96cbe7f4
JM
6028 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6029 in comment.
6030
8848d99d
JM
6031 [BZ #13851]
6032 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6033 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6034 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6035 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6036 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6037 infinite argument.
6038 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6039 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6040 != 0 for prec == 2.
6041 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6042 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6043 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6044 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6045 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6046 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6047 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6048 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6049 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6050 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6051 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6052 * math/libm-test.inc (cos_test): Add more tests and enable more
6053 tests for long double.
6054 (sin_test): Likewise.
6055 (sincos_test): Likewise.
6056 * sysdeps/i386/fpu/libm-test-ulps: Update.
6057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6058
dd7f4703
DM
60592012-03-16 David S. Miller <davem@davemloft.net>
6060
6061 * sysdeps/sparc/fpu/math_private.h: New file.
6062
006f1daa
DM
60632012-03-15 David S. Miller <davem@davemloft.net>
6064
c0c83bc8
DM
6065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6066 file.
e6a62e18 6067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6069 file.
e6a62e18
DM
6070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6073 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6074 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6075 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6076 sysdep routines.
6077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6078
88cb87d9
DM
6079 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6080 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6081
006f1daa 6082 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6084 sparc-ifunc.h
006f1daa 6085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6087 Likewise.
6088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6089 Likewise.
006f1daa
DM
6090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6094 Likewise.
006f1daa
DM
6095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6100 Likewise.
6101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6102 Likewise.
006f1daa
DM
6103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6107 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6108 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6109 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6110 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6111 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6112 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6116 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6117 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6118 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6119 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6120 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6121 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6122 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6123 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6124 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6125 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6126 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6127
11e0098e
AS
61282012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6129
6130 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6131 scaling.
6132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6133
e85b09d0
AJ
61342012-03-15 Andreas Jaeger <aj@suse.de>
6135
6136 [BZ #13852]
6137 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6138 ieee754/flt-32 implementation for sin, cos and sincos.
6139 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6140 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6141 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6142 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6143 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6144 ieee754/flt-32 implementation for tan.
6145
6146 * math/libm-test.inc (cos_test): Enable some large input tests for
6147 float as well
6148 (sin_test): Likewise.
6149 (sincos_test): Likewise.
6150 (tan_test): Add tests for large input.
6151
6152 * sysdeps/i386/fpu/libm-test-ulps: Update.
6153
81c64153
AJ
61542012-03-15 Andreas Jaeger <aj@suse.de>
6155
6156 [BZ #13658]
6157 * math/libm-test.inc (cos_test): Add more test cases.
6158 (sin_test): Likewise.
6159 (sincos_test): Likewise.
6160
7bbfa5c6
AJ
61612012-03-15 Andreas Jaeger <aj@suse.de>
6162
6163 [BZ #13837]
6164 * math/libm-test.inc (cos_test): Add a test case for large input
6165 value.
6166 (sin_test): Likewise.
6167 (sincos_test): Likewise.
6168
61692012-03-15 Andreas Jaeger <aj@suse.de>,
6170 Joseph Myers <joseph@codesourcery.com>
6171
6172 [BZ #13658]
0671f479 6173 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6174 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6175 * sysdeps/i386/fpu/branred.c: Likewise.
6176 * sysdeps/i386/fpu/dosincos.c: Likewise.
6177 * sysdeps/i386/fpu/mpa.c: Likewise.
6178 * sysdeps/i386/fpu/s_cos.S: Likewise.
6179 * sysdeps/i386/fpu/s_sin.S: Likewise.
6180 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6181 * sysdeps/i386/fpu/sincos32.c: Likewise.
6182
6183 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6184 Define.
6185 (libc_feupdateenv_53bit): Define.
6186 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6187 Define.
6188 (libc_feupdateenv_53bit): Define.
6189
6190 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6191 53 bit (without extend i386 double precision).
6192
6193 * math/libm-test.inc (sincos_test): Add tests for large input.
6194 (sin): Likewise.
6195 (cos): Likewise.
6196
6197 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6198
9cad04ea
AS
61992012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6200
6201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6202
f7062b9a
DM
62032012-03-15 David S. Miller <davem@davemloft.net>
6204
6205 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6206 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6207 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6208 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6217 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6218 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6219 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6221 file.
f7062b9a 6222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6224 file.
f7062b9a 6225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6227 file.
f7062b9a 6228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6230 file.
f7062b9a
DM
6231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6232 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6233 fmin/fmax sysdep routines.
6234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6235
7bd951ff
DM
62362012-03-14 David S. Miller <davem@davemloft.net>
6237
559398ab
DM
6238 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6239 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6240 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6241 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6242 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6243 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6244 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6245 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6246 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6247 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6248 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6249 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6253 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6254 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6255 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6256 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6257 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6258 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6259 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6260 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6261 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6262 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6263 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6264 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6265 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6266 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6267 routines.
6268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6269 file.
559398ab 6270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6272 file.
559398ab 6273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6275 file.
559398ab 6276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6278 file.
559398ab 6279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6281 file.
559398ab 6282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6284 file.
6285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6286 file.
6287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6288 file.
6289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6290 file.
6291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6292 New file.
6293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6294 file.
6295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6296 file.
559398ab 6297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6299 file.
559398ab 6300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6302 file.
559398ab 6303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6305 file.
559398ab 6306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6308 VIS3 routines.
559398ab
DM
6309
6310 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6311 New file.
6312
5a1c1e32
DM
6313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6314
eae47a36
DM
6315 * sysdeps/sparc/configure.in: New file.
6316 * sysdeps/sparc/configure: Generate.
6317 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6318 * configure: Regenerate.
6319 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6320 * config.make.in (have-as-vis3): New.
6321 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6322 available use -Av9d instead of -Av9a.
6323 * sysdeps/sparc/sparc64/Makefile: Likewise.
6324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6326 New file.
6327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6328 file.
6329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6330 New file.
6331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6332 file.
eae47a36
DM
6333 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6334 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6335 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6336 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6337 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6338
c0c83bc8
DM
6339 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6340 fzeros/fnegs to load 0x80000000 into a float register instead of
6341 using the stack.
7bd951ff
DM
6342 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6343
bd951ccb
JM
63442012-03-14 Joseph Myers <joseph@codesourcery.com>
6345
6346 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6347 bits/syscall.h.
6348 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6349 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6350 ($(inst_includedir)/bits/syscall.h): Remove rule.
6351 ($(objpfx)bits/syscall.d): Include instead of
6352 $(objpfx)syscall-list.d.
6353 (generated): Change syscall-list.h and syscall-list.d to
6354 bits/syscall.h and bits/syscall.d.
6355
bb4e6db2
RM
63562012-03-14 Roland McGrath <roland@hack.frob.com>
6357
6358 [BZ #13846]
6359 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6360
aa4a2ae1
JM
63612012-03-14 Joseph Myers <joseph@codesourcery.com>
6362
e456826d
JM
6363 [BZ #13841]
6364 * math/s_csqrt.c: Include <float.h>.
6365 (__csqrt): Scale large or subnormal inputs.
6366 * math/s_csqrtf.c: Likewise.
6367 * math/s_csqrtl.c: Likewise.
6368 * math/libm-test.inc (csqrt_test): Add more tests.
6369 * sysdeps/i386/fpu/libm-test-ulps: Update.
6370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6371
aa4a2ae1
JM
6372 [BZ #13840]
6373 * math/libm-test.inc (hypot_test): Add more tests.
6374
7c10fd35
DM
63752012-03-13 David S. Miller <davem@davemloft.net>
6376
6377 [BZ #13840]
6378 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6379 double-precision for the calculation instead of scaling.
6380
f453b98b
JM
63812012-03-13 Joseph Myers <joseph@codesourcery.com>
6382
6383 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6384 manipulate bits before adding and subtracting TWO52[sx].
6385 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6386 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6387 Likewise.
6388 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6389
09a3453f
DM
63902012-03-13 David S. Miller <davem@davemloft.net>
6391
8e59da90
DM
6392 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6393 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6394 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6395 rtld-global-offsets.h
6396 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6397
2a8ab7f2
DM
6398 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6399 large parameters.
6400
10f62770
DM
6401 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6402
5f0bdb18
DM
6403 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6404 'err' in the ifdef scope in which it is actually used.
6405
09a3453f
DM
6406 * nss/nss_db/db-init.c: Include string.h
6407
b4b2eb5e
DM
64082012-03-12 David S. Miller <davem@davemloft.net>
6409
98bb2f1c
DM
6410 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6411 masking out of the most significant byte of random value used.
6412 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6413 Fix coding style in previous change.
6414
b4b2eb5e
DM
6415 * sysdeps/unix/sysv/linux/kernel-features.h
6416 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6417 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6418 expression.
6419 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6420 later.
6421
6e226b09
DM
64222012-03-11 David S. Miller <davem@davemloft.net>
6423
a1bcbd40
DM
6424 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6425 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6426 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6427 for 'resultvar' otherwise things get truncated on 64-bit.
6428
cb9d6174
DM
6429 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6430 Fix masking out of the most significant byte of random value used.
6431
6e226b09
DM
6432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6433
058c132d
AS
64342012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6435
6436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6437
2d2cd515
DM
64382012-03-09 David S. Miller <davem@davemloft.net>
6439
6440 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6441 variables with appropriate CPP guards.
6442 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6443 frame pointer, not the stack pointer. Correct layout comments. Fix test
6444 on resulting framesize and the management of the outregs buffer for pltexit.
6445 Preserve floating point return values across _dl_call_pltexit call.
6446 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6447 framesize and the management of the outregs buffer for pltexit.
6448 Preserve floating point return values across _dl_call_pltexit
6449 call.
6450 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6451 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6452 (print_exit): Fix format string for return register value.
6453
9a07f9d0
JM
64542012-03-10 Joseph Myers <joseph@codesourcery.com>
6455
6456 * sunrpc/Makefile (others): Add rpcgen.
6457 ($(objpfx)rpcgen): Remove special build rule and dependency on
6458 libc.
6459 * sunrpc/rpcgen.c: New file.
6460
547b5e30
PE
64612012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6462
c524201a
PE
6463 [BZ #13673]
6464 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6465 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6466 * sysdeps/i386/crti.S: Likewise.
6467 * sysdeps/i386/crtn.S: Likewise.
6468 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6469 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6470 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6471 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6472 * sysdeps/sh/crti.S: Likewise.
6473 * sysdeps/sh/crtn.S: Likewise.
6474 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6475
7b6235f2
PE
6476 [BZ #13673]
6477 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6478 with URL.
6479 * locale/programs/locfile-kw.gperf: Likewise.
6480 * locale/programs/charmap-kw.h: Regenerated.
6481 * locale/programs/locfile-kw.h: Likewise.
6482
547b5e30
PE
6483 [BZ #13673]
6484 * intl/plural.y: Replace FSF snail mail address with URL.
6485 * intl/plural.c: Regenerated.
6486
5f0a5dae
RH
64872012-03-09 Richard Henderson <rth@twiddle.net>
6488
6489 * include/math_private.h: Remove file.
6490 * math/math_private.h: Move file ...
6491 * sysdeps/generic/math_private.h: ... here.
6492
b8c03620
RH
6493 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6494 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6495 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6496
4e234f5d 6497 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6498 and <math_private.h>.
6499 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6500 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6501 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6502 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6503 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6504 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6505 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6506 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6507 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6508 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6509 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6510 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6511 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6512 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6513 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6514 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6515 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6516 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6517 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6518 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6519 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6520 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6521 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6522 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6523 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6524 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6525 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6526 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6527 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6528 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6529 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6530 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6531 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6532 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6533 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6534 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6535 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6536 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6537 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6538 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6539 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6540 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6541 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6542 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6543 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6544 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6545 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6546 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6547 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6548 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6549 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6550 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6551 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6552 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6553 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6554 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6555 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6556 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6557 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6558 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6559 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6560 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6561 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6562 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6563 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6564 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6565 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6566 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6567 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6568 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6569 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6570 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6571 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6572 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6573 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6574 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6575 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6576 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6577 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6578 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6579 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6580 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6581 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6582 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6583 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6584 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6585 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6586 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6587 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6588 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6589 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6590 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6591 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6592 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6593 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6594 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6595 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6596 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6597 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6598 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6599 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6600 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6601 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6602 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6603 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6604 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6605 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6606 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6607 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6608 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6609 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6610 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6611 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6612 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6613 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6614 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6615 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6616 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6617 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6618 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6619 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6620 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6621 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6622 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6623 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6624 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6625 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6626 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6627 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6628 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6629 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6630 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6631 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6632 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6633 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6634 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6635 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6636 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6637 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6638 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6639 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6640 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6641 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6642 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6643 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6644 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6645 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6646 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6647 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6648 * sysdeps/ieee754/k_standard.c: Likewise.
6649 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6650 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6651 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6652 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6653 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6654 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6655 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6656 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6657 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6658 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6659 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6660 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6661 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6662 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6663 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6664 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6665 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6666 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6667 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6668 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6669 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6670 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6671 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6672 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6673 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6674 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6675 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6676 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6677 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6678 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6679 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6680 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6681 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6682 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6683 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6684 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6685 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6686 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6687 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6688 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6689 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6690 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6691 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6692 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6693 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6694 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6695 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6696 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6697 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6698 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6699 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6700 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6701 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6702 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6703 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6704 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6705 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6706 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6707 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6708 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6709 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6710 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6711 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6712 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6713 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6714 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6715 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6716 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6717 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6718 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6719 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6720 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6721 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6722 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6723 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6724 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6725 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6726 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6727 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6728 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6729 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6730 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6731 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6732 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6733 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6734 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6735 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6736 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6737 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6738 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6739 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6740 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6741 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6742 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6743 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6744 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6745 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6746 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6747 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6748 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6749 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6750 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6751 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6752 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6753 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6754 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6755 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6756 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6757 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6758 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6759 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6760 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6761 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6762 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6763 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6764 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6765 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6766 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6767 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6768 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6769 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6770 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6771 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6772 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6773 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6774 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6775 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6776 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6777 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6778 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6779 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6780 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6781 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6782 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6783 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6784 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6785 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6786 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6787 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6788 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6789 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6790 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6791 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6792 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6793 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6794 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6795 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6796 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6797 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6798 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6799 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6800 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6801 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6802 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6803 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6804 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6805 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6806 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6807 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6808 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6809 * sysdeps/ieee754/s_lib_version.c: Likewise.
6810 * sysdeps/ieee754/s_matherr.c: Likewise.
6811 * sysdeps/ieee754/s_signgam.c: Likewise.
6812 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6813 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6814 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6815 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6816 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6817 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6818 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6819 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6820 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6821 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6822 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6823 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6824 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6825 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6826 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6827 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6828 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6829 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6830 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6831 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6832 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 6833
1991fa03
JM
68342012-03-09 Joseph Myers <joseph@codesourcery.com>
6835
6836 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6837 * sunrpc/rpc_main.c: Likewise.
6838 * sunrpc/rpc_svcout.c: Likewise.
6839
60d6f5a6
DM
68402012-03-09 David S. Miller <davem@davemloft.net>
6841
6842 * include/math_private.h: New file.
6843
4962050e
JM
68442012-03-09 Joseph Myers <joseph@codesourcery.com>
6845
02a6f887
JM
6846 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6847 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6848 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6849 from <bits/socket_type.h>.
6850 (enum __socket_type): Don't define here.
6851 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6852 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6853 bits/socket_type.h.
6854
c6e013c1
JM
6855 [BZ #13566]
6856 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6857 checking __USE_GNU.
6858
4962050e
JM
6859 * Makerules ($(inst_includedir)/%.h): New rule.
6860 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6861 (install-others): Remove variable setting.
6862 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6863
38842f45
RH
68642012-03-08 Richard Henderson <rth@twiddle.net>
6865
67bb6da6
RH
6866 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6867 from macro to inline function; merge with the
6868 !__LIBC_INTERNAL_MATH_INLINES version.
6869 (__ieee754_sqrtf): Likewise.
6870
15194b4b
RH
6871 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6872 to inline function.
6873 (__rintf, __floor, __floorf): Likewise.
6874
64e21ede
RH
6875 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6876 macro to inline function.
6877 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6878
38842f45
RH
6879 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6880 not <math/math_private.h>.
6881
c64bf5fe
DM
68822012-03-08 David S. Miller <davem@davemloft.net>
6883
6884 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6885 copyright year.
6886 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6887
82d86f28
TS
68882012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6889
6890 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6891 normalization.
6892 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6893 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6894
aea5d727
UD
68952012-03-08 Ulrich Drepper <drepper@gmail.com>
6896
6897 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6898 be defined individually, they must be defined as a block. Define
6899 S for printing a string instead of hidint the different by using a
6900 macro for adding the 'l'.
6901 * stdio-common/tst-fphex-wide.c: Adjust.
6902
70bca0a3
MP
69032012-03-07 Marek Polacek <polacek@redhat.com>
6904
6905 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6906
65b81130
MP
69072012-03-08 Marek Polacek <polacek@redhat.com>
6908
6909 [BZ #13806]
6910 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6911 * stdio-common/tst-fphex.c: Define a few macros to make the
6912 test reusable. Use them.
6913 * stdio-common/tst-fphex-wide.c: New file.
6914
07037eeb
JM
69152012-03-08 Joseph Myers <joseph@codesourcery.com>
6916
a7a93d50
JM
6917 [BZ #6911]
6918 * manual/macros.texi (gnusystems): New macro.
6919 (nongnusystems): Likewise.
6920 (gnulinuxhurdsystems): Likewise.
6921 (gnuhurdsystems): Likewise..
6922 (gnulinuxsystems): Likewise.
6923 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6924 variants of the GNU system, not "GNU system".
6925 * manual/conf.texi: Likewise.
6926 * manual/errno.texi: Likewise. Update example of errno macro
6927 expansion.
6928 * manual/filesys.texi: Likewise.
6929 (getumask): Document as specific to GNU/Hurd.
6930 * manual/install.texi: Likewise. Reword some references to
6931 GNU/Linux.
6932 * manual/intro.texi: Likewise.
6933 * manual/io.texi: Likewise.
6934 (File Name Portability): Detail which constraints are inapplicable
6935 to all GNU systems and which are only inapplicable to GNU/Hurd.
6936 * manual/job.texi: Likewise.
6937 * manual/llio.texi: Likewise.
6938 (O_NOCTTY): Document as present on GNU/Linux.
6939 * manual/maint.texi: Likewise.
6940 * manual/memory.texi: Likewise.
6941 * manual/pattern.texi: Likewise.
6942 * manual/pipe.texi: Likewise.
6943 * manual/process.texi: Likewise.
6944 * manual/resource.texi: Likewise.
6945 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6946 child on GNU/Hurd.
6947 * manual/setjmp.texi: Likewise.
6948 * manual/signal.texi: Likewise.
6949 * manual/startup.texi: Likewise.
6950 * manual/stdio.texi: Likewise.
6951 * manual/terminal.texi: Likewise.
6952 (ONLCR): Document as POSIX.
6953 (OXTABS): Document availability on GNU/Linux as XTABS.
6954 (ONOEOT): Document availability separately from other bits.
6955 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6956 * manual/time.texi: Likewise.
6957 * manual/users.texi: Likewise.
6958 * INSTALL: Regenerated.
6959 * sysdeps/gnu/errlist.c: Regenerated.
6960
07037eeb
JM
6961 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6962 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6963 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6964 puts.
6965 * configure: Regenerated.
6966
d1d3431a
JM
69672012-03-07 Joseph Myers <joseph@codesourcery.com>
6968
af6a1e37
JM
6969 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6970 default includes instead of AC_HEADER_CHECK.
6971 * sysdeps/i386/configure: Regenerated.
6972
d1d3431a
JM
6973 [BZ #10716]
6974 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6975 * math/s_cacoshf.c (__cacoshf): Likewise.
6976 * math/s_cacoshl.c (__cacoshl): Likewise.
6977 * math/s_casinh.c (__casinh): Set signs of result from argument.
6978 * math/s_casinhf.c (__casinhf): Likewise.
6979 * math/s_casinhl.c (__casinhl): Likewise.
6980 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6981 (casinh_test): Add more tests.
6982 * sysdeps/i386/fpu/libm-test-ulps: Update.
6983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6984
482ff4da
UD
69852012-03-07 Ulrich Drepper <drepper@gmail.com>
6986
872fda05
UD
6987 * po/zh_TW.po: Update from translation team.
6988
a4300c7a
UD
6989 * login/Makefile (distribute): Remove variable.
6990 * catgets/Makefile: Likewise.
6991 * mach/Makefile: Likewise.
6992 * malloc/Makefile: Likewise.
6993 * misc/Makefile: Likewise.
6994 * iconv/Makefile: Likewise.
6995 * nscd/Makefile: Likewise.
6996 * hurd/Makefile: Likewise.
6997 * manual/Makefile: Likewise.
6998 * locale/Makefile: Likewise.
6999 * intl/Makefile: Likewise.
7000 * conform/Makefile: Likewise.
7001 * nss/Makefile: Likewise.
7002 * time/Makefile: Likewise.
7003 * soft-fp/Makefile: Likewise.
7004 * dirent/Makefile: Likewise.
7005 * gmon/Makefile: Likewise.
7006 * po/Makefile: Likewise.
7007 * rt/Makefile: Likewise.
7008 * socket/Makefile: Likewise.
7009 * math/Makefile: Likewise.
7010 * signal/Makefile: Likewise.
7011 * debug/Makefile: Likewise.
7012 * elf/Makefile: Likewise.
7013 * timezone/Makefile: Likewise.
7014 * stdlib/Makefile: Likewise.
7015 * iconvdata/Makefile: Likewise.
7016 * sunrpc/Makefile: Likewise.
7017 * io/Makefile: Likewise.
7018 * argp/Makefile: Likewise.
7019 * inet/Makefile: Likewise.
7020 * hesiod/Makefile: Likewise.
7021 * grp/Makefile: Likewise.
7022 * csu/Makefile: Likewise.
7023 * wctype/Makefile: Likewise.
7024 * crypt/Makefile: Likewise.
7025 * libio/Makefile: Likewise.
7026 * string/Makefile: Likewise.
7027 * nis/Makefile: Likewise.
7028 * resolv/Makefile: Likewise.
7029 * stdio-common/Makefile: Likewise.
7030 * wcsmbs/Makefile: Likewise.
7031 * dlfcn/Makefile: Likewise.
7032 * posix/Makefile: Likewise.
7033
3b7c4e74 7034 [BZ #6959]
482ff4da
UD
7035 * timezone/Makefile: Don't install timezone files, just the programs
7036 and scripts.
7037
f72ed77d
UD
70382012-03-06 Ulrich Drepper <drepper@gmail.com>
7039
a000466f
UD
7040 * nss/databases.def: Add missing gshadow entry.
7041
f72ed77d
UD
7042 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7043
a53b7a4e
MP
70442012-03-06 Marek Polacek <polacek@redhat.com>
7045
7046 [BZ #13726]
7047 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7048 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7049 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7050 * stdio-common/tst-long-dbl-fphex.c: New file.
7051
e9258400
DM
70522012-03-06 David S. Miller <davem@davemloft.net>
7053
7054 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7055 (set_obp_int): New function.
7056 (get_obp_int): New function.
7057 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7058 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7059 Avoid unused variable warnings on 'val' and use builtin_expect.
7060 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7061 __builtin_expect.
e9258400
DM
7062 (INLINE_CLONE_SYSCALL): Likewise.
7063
3bd2c723
DM
70642012-03-05 David S. Miller <davem@davemloft.net>
7065
7066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7067
bbb78d03
AS
70682012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7069
884c5db4
AS
7070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7071
bbb78d03
AS
7072 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7073 only for |x| >= 40.
7074 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7075
1c9f702a 70762012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7077
7078 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7079 Replace gettimeofday with __vdso_gettimeofday.
7080
7be16f82
RM
7081 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7082 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7083 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7084
7085 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7086 time with __vdso_time.
7087
ed58a00f
JM
70882012-03-05 Joseph Myers <joseph@codesourcery.com>
7089
7090 * manual/lang.texi (size_t): Note types to which size_t may be
7091 equivalent with the GNU C Library, but do not describe when
7092 differences between them are significant.
7093
30ee4ced
AJ
70942012-03-05 Andreas Jaeger <aj@suse.de>
7095
7096 * sysdeps/i386/fpu/libm-test-ulps: Update.
7097
b7cd39e8
JM
70982012-03-05 Joseph Myers <joseph@codesourcery.com>
7099
7100 [BZ #3976]
7101 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7102 (__ieee754_pow): Save and restore rounding mode and use
7103 round-to-nearest for main computations.
7104 * math/libm-test.inc (pow_test_tonearest): New function.
7105 (pow_test_towardzero): Likewise.
7106 (pow_test_downward): Likewise.
7107 (pow_test_upward): Likewise.
7108 (main): Call the new functions.
7109 * sysdeps/i386/fpu/libm-test-ulps: Update.
7110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7111
7112 [BZ #3976]
7113 * math/libm-test.inc (cosh_test_tonearest): New function.
7114 (cosh_test_towardzero): Likewise.
7115 (cosh_test_downward): Likewise.
7116 (cosh_test_upward): Likewise.
7117 (sinh_test_tonearest): Likewise.
7118 (sinh_test_towardzero): Likewise.
7119 (sinh_test_downward): Likewise.
7120 (sinh_test_upward): Likewise.
7121 (main): Call the new functions.
7122 * sysdeps/i386/fpu/libm-test-ulps: Update.
7123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7124
6c6a98c9
TV
71252012-03-05 Tom de Vries <tom@codesourcery.com>
7126
7127 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7128 default stack guard is set in last bytes.
7129 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7130
21bb2d2e 71312012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7132
21bb2d2e 7133 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7134
21bb2d2e
AJ
7135 [BZ #13656]
7136 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7137 possibly allocate from heap instead of stack.
7138 * stdio-common/bug-vfprintf-nargs.c: New file.
7139 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7140
c6922934
AS
71412012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7142
7143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7144
bc957d53
MP
71452012-03-03 Marek Polacek <polacek@redhat.com>
7146
7147 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7148 * math/math_private.h: Likewise.
7149 * stdlib/tst-strtod.c: Likewise.
7150 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7151 * sysdeps/x86_64/bits/atomic.h: Likewise.
7152
6358490d
DM
71532012-03-02 David S. Miller <davem@davemloft.net>
7154
7155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7159 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7160 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7161 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7162 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7163
01ae168d
RM
71642012-03-02 Roland McGrath <roland@hack.frob.com>
7165
d9a17c07
RM
7166 [BZ #13792]
7167 * manual/examples/README: New file, says the example source files
7168 can be used under GPL>=2.
7169 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7170 line containing just "*/".
7171 * manual/examples/add.c: Add copyright header (GPL>=2).
7172 * manual/examples/argp-ex1.c: Likewise.
7173 * manual/examples/argp-ex2.c: Likewise.
7174 * manual/examples/argp-ex3.c: Likewise.
7175 * manual/examples/argp-ex4.c: Likewise.
7176 * manual/examples/atexit.c: Likewise.
7177 * manual/examples/db.c: Likewise.
7178 * manual/examples/dir.c: Likewise.
7179 * manual/examples/dir2.c: Likewise.
7180 * manual/examples/execinfo.c: Likewise.
7181 * manual/examples/filecli.c: Likewise.
7182 * manual/examples/filesrv.c: Likewise.
7183 * manual/examples/fmtmsgexpl.c: Likewise.
7184 * manual/examples/genpass.c: Likewise.
7185 * manual/examples/inetcli.c: Likewise.
7186 * manual/examples/inetsrv.c: Likewise.
7187 * manual/examples/isockad.c: Likewise.
7188 * manual/examples/longopt.c: Likewise.
7189 * manual/examples/memopen.c: Likewise.
7190 * manual/examples/memstrm.c: Likewise.
7191 * manual/examples/mkfsock.c: Likewise.
7192 * manual/examples/mkisock.c: Likewise.
7193 * manual/examples/mygetpass.c: Likewise.
7194 * manual/examples/pipe.c: Likewise.
7195 * manual/examples/popen.c: Likewise.
7196 * manual/examples/rprintf.c: Likewise.
7197 * manual/examples/search.c: Likewise.
7198 * manual/examples/select.c: Likewise.
7199 * manual/examples/setjmp.c: Likewise.
7200 * manual/examples/sigh1.c: Likewise.
7201 * manual/examples/sigusr.c: Likewise.
7202 * manual/examples/stpcpy.c: Likewise.
7203 * manual/examples/strdupa.c: Likewise.
7204 * manual/examples/strftim.c: Likewise.
7205 * manual/examples/strncat.c: Likewise.
7206 * manual/examples/subopt.c: Likewise.
7207 * manual/examples/swapcontext.c: Likewise.
7208 * manual/examples/termios.c: Likewise.
7209 * manual/examples/testopt.c: Likewise.
7210 * manual/examples/testpass.c: Likewise.
7211 * manual/examples/timeval_subtract.c: Likewise.
7212
01ae168d
RM
7213 [BZ #13792]
7214 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7215 function to ...
7216 * manual/timeval_subtract.c.texi: ... here, new file.
7217
49efa33d
DM
72182012-03-02 David S. Miller <davem@davemloft.net>
7219
7220 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7221
28afd92d
JM
72222012-03-02 Joseph Myers <joseph@codesourcery.com>
7223
804360ed
JM
7224 [BZ #3976]
7225 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7226 (__sin): Save and restore rounding mode and use round-to-nearest
7227 for all computations.
7228 (__cos): Save and restore rounding mode and use round-to-nearest
7229 for all computations.
7230 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7231 <fenv.h>.
7232 (tan): Save and restore rounding mode and use round-to-nearest for
7233 all computations.
7234 * math/libm-test.inc (cos_test_tonearest): New function.
7235 (cos_test_towardzero): Likewise.
7236 (cos_test_downward): Likewise.
7237 (cos_test_upward): Likewise.
7238 (sin_test_tonearest): Likewise.
7239 (sin_test_towardzero): Likewise.
7240 (sin_test_downward): Likewise.
7241 (sin_test_upward): Likewise.
7242 (tan_test_tonearest): Likewise.
7243 (tan_test_towardzero): Likewise.
7244 (tan_test_downward): Likewise.
7245 (tan_test_upward): Likewise.
7246 (main): Call the new functions.
7247 * sysdeps/i386/fpu/libm-test-ulps: Update.
7248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7249
a6d06d7b
JM
7250 [BZ #10135]
7251 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7252 small n, then large n, before computing and testing k+n.
7253 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7254 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7255 Likewise.
7256 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7257 Likewise.
7258 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7259 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7260 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7261 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7262 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7263 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7264 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7265 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7266 * math/libm-test.inc (scalbn_test): Add more tests.
7267 (scalbln_test): Likewise.
7268
07e12bb3
JM
7269 * manual/filesys.texi (mode_t): Describe constraints on size and
7270 signedness, not exact equivalence to a particular type.
7271 (ino_t): Likewise.
7272 (ino64_t): Likewise.
7273 (dev_t): Likewise.
7274 (nlink_t): Likewise.
7275 (blkcnt_t): Likewise.
7276 (blkcnt64_t): Likewise.
7277 * manual/llio.texi (off_t): Likewise.
7278
28afd92d
JM
7279 [BZ #3976]
7280 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7281 (__ieee754_exp): Save and restore rounding mode and use
7282 round-to-nearest for all computations.
7283 * math/libm-test.inc (exp_test_tonearest): New function.
7284 (exp_test_towardzero): Likewise.
7285 (exp_test_downward): Likewise.
7286 (exp_test_upward): Likewise.
7287 (main): Call the new functions.
7288 * sysdeps/i386/fpu/libm-test-ulps: Update.
7289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7290
b1eeb65d
CD
72912012-03-01 Chris Demetriou <cgd@google.com>
7292
7293 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7294 have predictable order.
7295
53362a4b
DM
72962012-03-01 David S. Miller <davem@davemloft.net>
7297
3c969083
DM
7298 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7299
759707de
DM
7300 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7301 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7302 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7303 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7304
dfdb8ff2
DM
7305 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7306 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7307 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7309 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7310 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7311 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7312 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7313 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7314
ead89f96
DM
7315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7316
7f66bd07
DM
7317 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7318 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7319 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7320
53362a4b
DM
7321 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7322 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7323 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7324 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7325 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7326 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7327 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7328 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7329 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7330 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7331 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7332 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7333 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7334 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7335 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7336 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7337 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7338 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7339 * sysdeps/sparc/elf/configure: Regenerated.
7340
7b1902cb
JM
73412012-03-01 Joseph Myers <joseph@codesourcery.com>
7342
bec039bc
JM
7343 * configure.in (AS, LD): Require binutils 2.20 or later.
7344 * configure: Regenerated.
7345 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7346 as required minimum version.
7347 * INSTALL: Regenerated.
7348
7b1902cb
JM
7349 [BZ #2541]
7350 [BZ #4108]
7351 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7352 before squaring exponent.
7353 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7354 bottom long double and 27 bits of top long double before squaring
7355 exponent.
7356 * math/libm-test.inc (erfc_test): Add more tests.
7357 * sysdeps/i386/fpu/libm-test-ulps: Update.
7358 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7360
f775c276
KT
73612012-03-01 Kai Tietz <ktietz@redhat.com>
7362
7363 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7364 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7365 containing bit-fields.
7366 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7367 * soft-fp/single.h (_FP_UNION_S): Likewise.
7368 * soft-fp/double.h (_FP_UNION_D): Likewise.
7369
5b8a4d4a
JM
73702012-02-29 Joseph Myers <joseph@codesourcery.com>
7371
0bab47b6
JM
7372 [BZ #13786]
7373 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7374 not include ../strcmp.S.
7375 [USE_AS_STRNCASECMP_L]: Likewise.
7376 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7377 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7378 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7379 (__strncasecmp_l_ia32): Define as alias to
7380 __strncasecmp_l_nonascii.
7381
0fcad3e2
JM
7382 [BZ #5794]
7383 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7384 * sysdeps/i386/fpu/libm-test-ulps: Update.
7385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7386
5b8a4d4a
JM
7387 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7389
8fdceb2e
JL
73902012-02-29 Jeff Law <law@redhat.com>
7391
7392 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7393 out of bounds read.
7394
1f393a11
MP
73952012-02-29 Marek Polacek <polacek@redhat.com>
7396
7397 [BZ #13706]
7398 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7399 * elf/Makefile: Add rules to run tst-unused-dep.out.
7400
8847f037
DM
74012012-02-28 David S. Miller <davem@davemloft.net>
7402
7403 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7404 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7405 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7406 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7407 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7408 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7409
169d7f11
JM
74102012-02-29 Joseph Myers <joseph@codesourcery.com>
7411
7412 * math/libm-test.inc (llround_test): Move one test from
7413 lround_test. Use TEST_f_L in moved test.
7414 (lround_test): Move misplaced test to llround_test. Add testcase
7415 from bug 2561.
7416
39adf059
UD
74172012-02-28 Ulrich Drepper <drepper@gmail.com>
7418
7419 * sysdeps/x86_64/fpu/e_expf.S: New file.
7420 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7421
71b5d1c5
SB
74222012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7423
7424 [BZ #13637]
7425 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7426 of remain_len that may cause incomplete multi-byte character and
7427 false match.
7428 * posix/bug-regex33.c: New file.
7429 * posix/Makefile (tests): Add bug-regex33.
7430
1f77f049
JM
74312012-02-28 Joseph Myers <joseph@codesourcery.com>
7432
7433 * manual/macros.texi: New file.
7434 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7435 * manual/libc.texinfo: Include macros.texi.
7436 * manual/creatute.texi: Likewise.
7437 * manual/install.texi: Likewise.
7438 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7439 @glibcadj{} in references to the GNU C Library.
7440 * manual/charset.texi: Likewise.
7441 * manual/conf.texi: Likewise.
7442 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7443 when not using those macros.
7444 * manual/creature.texi: Likewise.
7445 * manual/crypt.texi: Likewise.
7446 * manual/errno.texi: Likewise.
7447 * manual/filesys.texi: Likewise.
7448 * manual/header.texi: Likewise.
7449 * manual/install.texi: Likewise.
7450 * manual/intro.texi: Likewise.
7451 * manual/io.texi: Likewise.
7452 * manual/job.texi: Likewise.
7453 * manual/lang.texi: Likewise.
7454 * manual/libc.texiinfo: Likewise.
7455 * manual/llio.texi: Likewise.
7456 * manual/locale.texi: Likewise.
7457 * manual/maint.texi: Likewise.
7458 * manual/math.texi: Likewise.
7459 * manual/memory.texi: Likewise.
7460 * manual/message.texi: Likewise.
7461 * manual/nss.texi: Likewise.
7462 * manual/pattern.texi: Likewise.
7463 * manual/process.texi: Likewise.
7464 * manual/resource.texi: Likewise.
7465 * manual/search.texi: Likewise.
7466 * manual/setjmp.texi: Likewise.
7467 * manual/signal.texi: Likewise.
7468 * manual/socket.texi: Likewise.
7469 * manual/startup.texi: Likewise.
7470 * manual/stdio.texi: Likewise.
7471 * manual/string.texi: Likewise.
7472 * manual/sysinfo.texi: Likewise.
7473 * manual/syslog.texi: Likewise.
7474 * manual/terminal.texi: Likewise.
7475 * manual/time.texi: Likewise.
7476 * manual/users.texi: Likewise.
7477 * INSTALL: Regenerated.
7478 * NOTES: Regenerated.
d40c5d54 7479 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7480
450bf206
AS
74812012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7482
7483 * include/dirent.h: Include <dirstream.h> before
7484 <dirent/dirent.h>.
7485
741a235b
DM
74862012-02-28 David S. Miller <davem@davemloft.net>
7487
7488 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7489 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7490 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7491 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7492
d6b5aa58
DM
74932012-02-27 David S. Miller <davem@davemloft.net>
7494
1aff59a3
DM
7495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7497 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7498 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7499
d6b5aa58
DM
7500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7501 frame pointer instead of stack pointer relative arg slot.
7502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7503 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7504 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7505
433f48bf
CD
75062012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7507
7508 [BZ #3992]
7509 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7510
d674b76d
DM
75112012-02-27 David S. Miller <davem@davemloft.net>
7512
7513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7517 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7518 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7519 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7520 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7521
0e7727f7
JM
75222012-02-27 Joseph Myers <joseph@codesourcery.com>
7523
7524 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7525 later. Allow versions 5-9.
43be4ca2 7526 * configure: Regenerated.
0e7727f7
JM
7527 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7528 required minimum version and 4.6 as recommended version. Do not
7529 mention bugs in GCC 2.7 and 2.8.
43be4ca2 7530 * INSTALL: Regenerated.
0e7727f7 7531
a78bc654
DM
75322012-02-27 David S. Miller <davem@davemloft.net>
7533
428d5830
DM
7534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7538 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7539 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7540 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7541 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7542
a78bc654
DM
7543 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7544 manipulate bits before adding and subtracting TWO112[sx].
7545 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7546
4579f81c
RM
75472012-02-27 Roland McGrath <roland@hack.frob.com>
7548
36c8acb4
RM
7549 [BZ #13775]
7550 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7551 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7552 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7553 being in POSIX, because they are in 1003.1-2008.
7554
84ad622b
RM
7555 * rt/tst-aio.c: Include <fcntl.h>.
7556 * rt/tst-aio7.c: Likewise.
7557 * rt/tst-aio64.c: Likewise.
7558
4579f81c
RM
7559 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7560
abd923db
JM
75612012-02-27 Joseph Myers <joseph@codesourcery.com>
7562
7563 * manual/install.texi (--with-headers): Describe headers as
7564 interface headers, not private headers.
7565 (Specific advice for GNU/Linux systems): Describe use of headers
7566 from "make headers_install", not private headers from older
7567 kernels.
43be4ca2 7568 * INSTALL: Regenerated.
abd923db
JM
7569 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7570 Change to 2.6.19.
7571 * sysdeps/unix/sysv/linux/configure: Regenerated.
7572
6664049b
JM
7573 * manual/llio.texi (fclean): Remove documentation.
7574
bb8b6697
JM
7575 * manual/Makefile (libc-texi-generated): New variable. Include
7576 version.texi.
7577 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7578 $(libc-texi-generated), not duplicated list of files.
7579 (version.texi, stamp-version): New rules.
7580 (realclean): Remove $(libc-texi-generated), not individual files
7581 from that list. Do not remove dir-add.texinfo.
7582 * manual/libc.texinfo: Comment out uses of edition numbers and
7583 references to printed manual. Remove last-updated dates.
7584 (EDITION): Comment out.
7585 (ISBN): Likewise.
7586 (VERSION, UPDATED): Remove.
7587 (version.texi): Include.
7588
12e5c3b9
AS
75892012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7590
7591 * sysdeps/posix/spawni.c: Include <signal.h>.
7592 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7593 * sysdeps/pthread/aio_fsync.c: Likewise.
7594
4efeffc1 75952012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 7596
ba63ba08
UD
7597 * conform/Makefile (tests): Run only when not cross-compiling and
7598 when fast-check is not defined.
7599
d94a4670
UD
7600 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7601 * conform/data/limits.h-data: Fixes for POSIX2008.
7602 * conform/run-conformtest.sh: Run all tests.
7603 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7604 headers.
7605 * include/bits/dlfcn.h: Likewise.
7606 * include/langinfo.h: Likewise.
7607 * include/monetary.h: Likewise.
7608 * include/sys/poll.h: Likewise.
7609
7610 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7611 for __USE_GNU.
7612 * posix/spawn.h: Define __need_sigset_t.
7613 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7614 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7615 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7616 to get sigevent_t only.
7617 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7618 only for __USE_GNU.
7619 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7620 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7621 process_vm_writev only for __USE_GNU.
7622 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
7623
7624 * conform/Makefile: For now ignore errors from run-conformtest.
7625 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7626 POSIX to avoid namespace pollution. Don't prepend headers.
7627 * conform/data/aio.h-data: Fixes for POSIX testing.
7628 * conform/data/fcntl.h-data: Likewise.
7629 * conform/data/glob.h-data: Likewise.
7630 * conform/data/grp.h-data: Likewise.
7631 * conform/data/pthread.h-data: Likewise.
7632 * conform/data/pwd.h-data: Likewise.
7633 * conform/data/signal.h-data: Likewise.
7634 * conform/data/spawn.h-data: Likewise.
7635 * conform/data/stdio.h-data: Likewise.
7636 * conform/data/stdlib.h-data: Likewise.
7637 * conform/data/stropts.h-data: Likewise.
7638 * conform/data/sys/mman.h-data: Likewise.
7639 * conform/data/sys/stat.h-data: Likewise.
7640 * conform/data/sys/types.h-data: Likewise.
7641 * conform/data/sys/wait.h-data: Likewise.
7642 * conform/data/time.h-data: Likewise.
7643 * conform/data/unistd.h-data: Likewise.
7644 * conform/data/utime.h-data: Likewise.
7645
7646 * io/sys/stat.h: fchmod was always in POSIX.
7647 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7648 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7649 * rt/aio.h: Define __need_timespec before including <time.h>.
7650 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7651 struct. Add forward declaration of pthread_attr_t and use it in
7652 sigevent.
7653 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7654 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7655 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7656 always remove CLK_TCK definition.
7657
c20105c3
AS
76582012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7659
7660 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7661
7a270350
UD
76622012-02-25 Ulrich Drepper <drepper@gmail.com>
7663
31341567
UD
7664 * conform/run-conformtest.sh: New file.
7665 * conform/Makefile: Run run-conformtest for tests.
7666 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7667 support.
7668
7669 * conform/data/uchar.h-data: New file.
7670 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7671 * conform/data/arpa/inet.h-data: Likewise.
7672 * conform/data/assert.h-data: Likewise.
7673 * conform/data/complex.h-data: Likewise.
7674 * conform/data/cpio.h-data: Likewise.
7675 * conform/data/ctype.h-data: Likewise.
7676 * conform/data/dirent.h-data: Likewise.
7677 * conform/data/dlfcn.h-data: Likewise.
7678 * conform/data/errno.h-data: Likewise.
7679 * conform/data/fcntl.h-data: Likewise.
7680 * conform/data/float.h-data: Likewise.
7681 * conform/data/fmtmsg.h-data: Likewise.
7682 * conform/data/fnmatch.h-data: Likewise.
7683 * conform/data/ftw.h-data: Likewise.
7684 * conform/data/glob.h-data: Likewise.
7685 * conform/data/grp.h-data: Likewise.
7686 * conform/data/iconv.h-data: Likewise.
7687 * conform/data/inttypes.h-data: Likewise.
7688 * conform/data/langinfo.h-data: Likewise.
7689 * conform/data/libgen.h-data: Likewise.
7690 * conform/data/limits.h-data: Likewise.
7691 * conform/data/locale.h-data: Likewise.
7692 * conform/data/math.h-data: Likewise.
7693 * conform/data/monetary.h-data: Likewise.
7694 * conform/data/mqueue.h-data: Likewise.
7695 * conform/data/ndbm.h-data: Likewise.
7696 * conform/data/net/if.h-data: Likewise.
7697 * conform/data/netdb.h-data: Likewise.
7698 * conform/data/netinet/in.h-data: Likewise.
7699 * conform/data/nl_types.h-data: Likewise.
7700 * conform/data/poll.h-data: Likewise.
7701 * conform/data/pthread.h-data: Likewise.
7702 * conform/data/pwd.h-data: Likewise.
7703 * conform/data/regex.h-data: Likewise.
7704 * conform/data/sched.h-data: Likewise.
7705 * conform/data/search.h-data: Likewise.
7706 * conform/data/semaphore.h-data: Likewise.
7707 * conform/data/setjmp.h-data: Likewise.
7708 * conform/data/signal.h-data: Likewise.
7709 * conform/data/spawn.h-data: Likewise.
7710 * conform/data/stdarg.h-data: Likewise.
7711 * conform/data/stdio.h-data: Likewise.
7712 * conform/data/stdlib.h-data: Likewise.
7713 * conform/data/string.h-data: Likewise.
7714 * conform/data/strings.h-data: Likewise.
7715 * conform/data/stropts.h-data: Likewise.
7716 * conform/data/sys/ipc.h-data: Likewise.
7717 * conform/data/sys/mman.h-data: Likewise.
7718 * conform/data/sys/msg.h-data: Likewise.
7719 * conform/data/sys/resource.h-data: Likewise.
7720 * conform/data/sys/select.h-data: Likewise.
7721 * conform/data/sys/sem.h-data: Likewise.
7722 * conform/data/sys/shm.h-data: Likewise.
7723 * conform/data/sys/socket.h-data: Likewise.
7724 * conform/data/sys/stat.h-data: Likewise.
7725 * conform/data/sys/statvfs.h-data: Likewise.
7726 * conform/data/sys/time.h-data: Likewise.
7727 * conform/data/sys/timeb.h-data: Likewise.
7728 * conform/data/sys/times.h-data: Likewise.
7729 * conform/data/sys/types.h-data: Likewise.
7730 * conform/data/sys/uio.h-data: Likewise.
7731 * conform/data/sys/un.h-data: Likewise.
7732 * conform/data/sys/utsname.h-data: Likewise.
7733 * conform/data/sys/wait.h-data: Likewise.
7734 * conform/data/syslog.h-data: Likewise.
7735 * conform/data/tar.h-data: Likewise.
7736 * conform/data/termios.h-data: Likewise.
7737 * conform/data/utime.h-data: Likewise.
7738 * conform/data/utmpx.h-data: Likewise.
7739 * conform/data/varargs.h-data: Likewise.
7740 * conform/data/wchar.h-data: Likewise.
7741 * conform/data/wctype.h-data: Likewise.
7742 * conform/data/wordexp.h-data: Likewise.
7743
7744 * include/stropts.h: New file.
7745 * include/uchar.h: New file.
7746 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7747 * include/assert.h: Likewise.
7748 * include/ctype.h: Likewise.
7749 * include/dirent.h: Likewise.
7750 * include/dlfcn.h: Likewise.
7751 * include/fcntl.h: Likewise.
7752 * include/fnmatch.h: Likewise.
7753 * include/glob.h: Likewise.
7754 * include/grp.h: Likewise.
7755 * include/libio.h: Likewise.
7756 * include/locale.h: Likewise.
7757 * include/math.h: Likewise.
7758 * include/net/if.h: Likewise.
7759 * include/netdb.h: Likewise.
7760 * include/netinet/in.h: Likewise.
7761 * include/pthread.h: Likewise.
7762 * include/pwd.h: Likewise.
7763 * include/regex.h: Likewise.
7764 * include/sched.h: Likewise.
7765 * include/search.h: Likewise.
7766 * include/setjmp.h: Likewise.
7767 * include/signal.h: Likewise.
7768 * include/stdio.h: Likewise.
7769 * include/stdlib.h: Likewise.
7770 * include/string.h: Likewise.
7771 * include/sys/cdefs.h: Likewise.
7772 * include/sys/mman.h: Likewise.
7773 * include/sys/msg.h: Likewise.
7774 * include/sys/resource.h: Likewise.
7775 * include/sys/select.h: Likewise.
7776 * include/sys/socket.h: Likewise.
7777 * include/sys/stat.h: Likewise.
7778 * include/sys/statvfs.h: Likewise.
7779 * include/sys/time.h: Likewise.
7780 * include/sys/times.h: Likewise.
7781 * include/sys/uio.h: Likewise.
7782 * include/sys/utsname.h: Likewise.
7783 * include/sys/wait.h: Likewise.
7784 * include/termios.h: Likewise.
7785 * include/time.h: Likewise.
7786 * include/ulimit.h: Likewise.
7787 * include/unistd.h: Likewise.
7788 * include/utime.h: Likewise.
7789 * include/wchar.h: Likewise.
7790 * include/wctype.h: Likewise.
7791 * include/wordexp.h: Likewise.
7792
7793 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7794
7a270350
UD
7795 * time/time.h: TIME_UTC must be a macro.
7796 Make timespec_get available for ISO C11 only as well.
7797
7724defc
UD
77982012-02-24 Ulrich Drepper <drepper@gmail.com>
7799
7800 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7801 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7802
6b1d1d46
JM
78032012-02-24 Joseph Myers <joseph@codesourcery.com>
7804
7805 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 7806
0f8bbd69
JM
78072012-02-24 Joseph Myers <joseph@codesourcery.com>
7808
7809 * manual/texinfo.tex: Update to version 2012-01-19.16.
7810
66ab80bc
JM
78112012-02-24 Joseph Myers <joseph@codesourcery.com>
7812
7813 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7814
74981cc5
RM
78152012-02-24 Roland McGrath <roland@hack.frob.com>
7816
ee968201
RM
7817 [BZ #13738]
7818 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7819 * manual/fdl-1.3.texi: New file.
7820 * manual/fdl-1.1.texi: File removed.
7821
74981cc5
RM
7822 [BZ #13738]
7823 * manual/libc.texinfo (FDL_VERSION): New @set.
7824 Use it for mention of FDL in cover text.
7825 (Documentation License): Use it in @include file name.
7826
7bb764bc
JM
78272012-02-22 Joseph Myers <joseph@codesourcery.com>
7828 Roland McGrath <roland@hack.frob.com>
7829
7830 [BZ #5461]
7831 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7832 not LONG_LONG_MAX and LONG_LONG_MIN.
7833 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7834 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7835 name.
7836 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7837
6cbeae47
JM
78382012-02-22 Joseph Myers <joseph@codesourcery.com>
7839
7840 [BZ #2547]
7841 [BZ #11365]
7842 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7843 manipulate bits before adding and subtracting TWO23[sx].
7844 * math/libm-test.inc (nearbyint_test): Add more tests.
7845
fe45ce09
JM
78462012-02-22 Joseph Myers <joseph@codesourcery.com>
7847
7848 [BZ #2548]
7849 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7850 bits before adding and subtracting TWO23[sx].
7851 * math/libm-test.inc (rint_test): Add more tests.
7852 (rint_test_tonearest): Likewise.
7853 (rint_test_towardzero): Likewise.
7854 (rint_test_downward): Likewise.
7855 (rint_test_upward: Likewise.
7856
ff3b3d82
JM
78572012-02-22 Joseph Myers <joseph@codesourcery.com>
7858
7859 [BZ #10110]
7860 * include/stdc-predef.h: New file. Extracted from features.h.
7861 * include/features.h: Include stdc-predef.h.
7862 * Makefile (headers): Add stdc-predef.h.
7863 * CONFORMANCE (Compiler limitations): Update.
7864
ef0aab35
JM
78652012-02-22 Joseph Myers <joseph@codesourcery.com>
7866
7867 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7868
58639409
DM
78692012-02-21 David S. Miller <davem@davemloft.net>
7870
7871 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7872 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7873
c0e70b25
DM
78742012-02-20 David S. Miller <davem@davemloft.net>
7875
7876 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7877 using a normal save/restore sequence, rather than allocating a
7878 dummy stack frame just to store a frame pointer and restore.
7879 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7880
fb06851d
JM
78812012-02-21 Joseph Myers <joseph@codesourcery.com>
7882
7883 * manual/install.texi: Fix stray word in line-wrapped comment.
7884
7a8b71c3
DM
78852012-02-20 David S. Miller <davem@davemloft.net>
7886
d510c123
DM
7887 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7888 both binutils and gcc support GOTDATA.
7889
0722d7c2
DM
7890 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7891 "rd %pc" in the PIC register setup sequences.
7892
3d2b3019
DM
7893 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7894 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7895 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7896 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7897 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7898 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7899 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7900 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7901 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7902 (SYSCALL_ERROR_HANDLER): Likewise.
7903 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7904 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7905 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7906 (SYSCALL_ERROR_HANDLER): Likewise.
7907
c80098a9
DM
7908 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7909 (HAVE_GCC_GOTDATA): New.
7910 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7911 relocation support in both binutils and gcc.
7912 * sysdeps/sparc/elf/configure: Regenerate.
7913
3a2545a0
DM
7914 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7915 * sysdeps/sparc/sparc32/elf/configure: Delete.
7916 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7917 * sysdeps/sparc/sparc64/elf/configure: Delete.
7918 * sysdeps/sparc/elf/configure.in: New file.
7919 * sysdeps/sparc/elf/configure: Generate.
7920
7a8b71c3
DM
7921 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7922 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7923 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7924 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7925 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7926
f1e86fca
JM
79272012-02-21 Joseph Myers <joseph@codesourcery.com>
7928
7929 * manual/install.texi: Do not mention specific glibc version
7930 numbers.
7931 * manual/libc.texinfo (VERSION, UPDATED): Update.
7932 (@copying): Use @copyright{} and range of years.
7933
0e7dfaef
JM
79342012-02-21 Joseph Myers <joseph@codesourcery.com>
7935
7936 [BZ #13695]
7937 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7938 [crti.S not in sysdirs] (generated): Do not append.
7939 [crti.S not in sysdirs] (omit-deps): Likewise.
7940 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7941 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7942 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7943 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7944 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7945 Likewise.
7946 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7947 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7948 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7949 * csu/defs.awk: Remove file.
7950 * sysdeps/generic/initfini.c: Likewise.
7951 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7952 variable.
7953 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7954 Likewise.
7955
599af3ca
JM
79562012-02-20 Joseph Myers <joseph@codesourcery.com>
7957
7958 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7959 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7960 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7961 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7962 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7963 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7964 <bits/epoll.h>.
7965 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7966 (__EPOLL_PACKED): Define to empty if not defined by
7967 <bits/epoll.h>.
7968 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7969 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7970 bits/epoll.h.
7971
0e499750
JM
79722012-02-20 Joseph Myers <joseph@codesourcery.com>
7973
7974 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7975 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7976 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7977 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7978 <bits/timerfd.h>.
7979 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7980 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7981 bits/timerfd.h.
7982
5ad91f6e
JM
79832012-02-20 Joseph Myers <joseph@codesourcery.com>
7984
7985 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7986 in C locale.
7987 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7988 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7989 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7991
06b99b02
AJ
79922012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7993
7994 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7995 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7996
7638c0fd
AS
79972012-02-19 Andreas Schwab <schwab@linux-m68k.org>
7998
7999 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8000 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8001 defined.
8002 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8003 Likewise.
8004 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8005 entry for 2.16.
8006
92221550
AJ
80072012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8008
8009 * math/w_acos.c: Use non-signaling floating-point comparisons.
8010 * math/w_acosf.c: Likewise.
8011 * math/w_acosh.c: Likewise.
8012 * math/w_acoshf.c: Likewise.
8013 * math/w_acoshl.c: Likewise.
8014 * math/w_acosl.c: Likewise.
8015 * math/w_asin.c: Likewise.
8016 * math/w_asinf.c: Likewise.
8017 * math/w_asinl.c: Likewise.
8018 * math/w_atanh.c: Likewise.
8019 * math/w_atanhf.c: Likewise.
8020 * math/w_atanhl.c: Likewise.
8021 * math/w_exp2.c: Likewise.
8022 * math/w_exp2f.c: Likewise.
8023 * math/w_exp2l.c: Likewise.
8024 * math/w_j0.c: Likewise.
8025 * math/w_j0f.c: Likewise.
8026 * math/w_j0l.c: Likewise.
8027 * math/w_j1.c: Likewise.
8028 * math/w_j1f.c: Likewise.
8029 * math/w_j1l.c: Likewise.
8030 * math/w_jn.c: Likewise.
8031 * math/w_jnf.c: Likewise.
8032 * math/w_log.c: Likewise.
8033 * math/w_log10.c: Likewise.
8034 * math/w_log10f.c: Likewise.
8035 * math/w_log10l.c: Likewise.
8036 * math/w_log2.c: Likewise.
8037 * math/w_log2f.c: Likewise.
8038 * math/w_log2l.c: Likewise.
8039 * math/w_logf.c: Likewise.
8040 * math/w_logl.c: Likewise.
8041 * math/w_sqrt.c: Likewise.
8042 * math/w_sqrtf.c: Likewise.
8043 * math/w_sqrtl.c: Likewise.
8044 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8045 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8046 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8047 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8048 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8049
ebaf36eb
JM
80502012-02-19 Joseph Myers <joseph@codesourcery.com>
8051
8052 [BZ #9739]
8053 * manual/string.texi (strnlen): Use correct parameter name in
8054 equivalent expression.
8055
71c254a6
JM
80562012-02-19 Joseph Myers <joseph@codesourcery.com>
8057
8058 [BZ #11174]
8059 * manual/users.texi (seteuid): Consistently use neweuid for
8060 argument name.
8061
16d2c631
JM
80622012-02-19 Joseph Myers <joseph@codesourcery.com>
8063
8064 [BZ #13704]
8065 * manual/nss.texi (Services in the NSS configuration): Correct
8066 list of services in example configuration file.
8067
cd837b09
NB
80682012-02-19 Nick Bowler <nbowler@draconx.ca>
8069
8070 [BZ #11322]
8071 * manual/arith.texi: Remove statements about negative zero
8072 behaving identically to zero.
8073
02c4bbad
JM
80742012-02-18 Joseph Myers <joseph@codesourcery.com>
8075
8076 [BZ #5993]
8077 * manual/install.texi: Do not document upgrading from libc5.
8078
366842e7
JM
80792012-02-18 Joseph Myers <joseph@codesourcery.com>
8080
8081 [BZ #4596]
8082 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8083
dd54084d
DM
80842012-02-18 David S. Miller <davem@davemloft.net>
8085
8086 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8087 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8088 %o7 across the call.
8089 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8090 instead.
8091 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8092 SETUP_PIC_REG_LEAF.
8093 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8094 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8095 * sysdeps/sparc/crtn.S: Likewise.
8096
2bcc53a3
UD
80972012-02-17 Ulrich Drepper <drepper@gmail.com>
8098
8099 * aout/Makefile: Remove.
8100
09c093b5
RK
81012012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8102
8103 [BZ #13058]
8104 * manual/examples/argp-ex1.c (main): Format definition in GNU
8105 style.
8106 * manual/examples/argp-ex2.c (main): Likewise.
8107 * manual/examples/argp-ex3.c (main): Likewise.
8108 * manual/examples/argp-ex4.c (main): Likewise.
8109 * manual/examples/longopt.c (main): Use new-style prototype
8110 definition.
8111 * manual/examples/strncat.c (main): Specify return type and use
8112 (void) for arguments.
8113 * manual/examples/subopt.c (main): Use char **argv argument.
8114
2ee633a2
JM
81152012-02-17 Joseph Myers <joseph@codesourcery.com>
8116
8117 [BZ #5077]
8118 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8119 rounding modes.
8120
0520adde
FB
81212012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8122
8123 [BZ #6907]
8124 * manual/string.texi (strchr): Change when strchrnul is
8125 recommended.
8126
3f4081cd
DGM
81272012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8128
8129 [BZ #174]
8130 * manual/locale.texi (setlocale): Document LOCPATH.
8131
d1b10e78
JM
81322012-02-17 Joseph Myers <joseph@codesourcery.com>
8133
8134 [BZ #10210]
8135 * manual/process.texi (execle): Move @dots{} before last argument.
8136
79c6869c
PB
81372012-02-17 Paul Bolle <pebolle@tiscali.nl>
8138
8139 [BZ #12047]
8140 * manual/charset.texi (Generic Charset Conversion): Fix typo
8141 (LC_TYPE -> LC_CTYPE).
8142
cc6e48bc
NB
81432012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8144
8145 [BZ #5805]
8146 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8147 (scalbnf): Likewise.
8148 (scalbnl): Likewise.
8149 (scalbln): Likewise.
8150 (scalblnf): Likewise.
8151 (scalblnl): Likewise.
8152 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8153 (vwarnx): Likewise.
8154 (verr): Likewise.
8155 (verrx): Likewise.
8156 * manual/filesys.texi (telldir): Use braces around return type.
8157 * manual/llio.texi (mmap): Add space after comma.
8158 (mmap64): Likewise.
8159 * manual/math.texi (jn): Use @var{} on parameter names.
8160 (jnf): Likewise.
8161 (jnl): Likewise.
8162 (yn): Likewise.
8163 (ynf): Likewise.
8164 (ynl): Likewise.
8165 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8166 line.
8167 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8168 "...".
8169 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8170 (sched_get_priority_max): Likewise.
8171 * manual/signal.texi (sigvec): Add space after comma.
8172 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8173 names.
8174 (if_indextoname): Likewise.
8175 (if_freenameindex): Likewise.
8176 (sendto): Use ',' instead of '.' in prototype.
8177 * manual/startup.texi (syscall): Use @dots{} instead of literal
8178 "...".
8179 * manual/stdio.texi (__fpending): Separate initial words of
8180 paragraph from @deftypefun line.
8181 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8182 "...".
8183 (vsyslog): Use @var{} on parameter names.
8184 * manual/terminal.texi (stty): Use @var{} on parameter names.
8185 * manual/users.texi (getutmp): Use @var{} on parameter names.
8186 (getutmpx): Likewise.
8187
5b23062f
JM
81882012-02-17 Joseph Myers <joseph@codesourcery.com>
8189
8190 [BZ #6884]
8191 * manual/stdio.texi (fopen): Fix typos in description of
8192 ",ccs=STRING".
8193
8dee4833
AJ
81942012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8195
8196 [BZ #4026]
8197 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8198 get clock_id definition.
8199
9078ce93
TS
82002012-02-17 Thomas Schwinge <thomas@schwinge.name>
8201
8202 [BZ #4822]
8203 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8204 (madvise): Cast every argument to void on its own.
8205
3835c55f
JM
82062012-02-17 Joseph Myers <joseph@codesourcery.com>
8207
8208 [BZ #9902]
8209 * manual/startup.texi (Exit Status): Fix typo.
8210
35c47e37
JM
82112012-02-17 Joseph Myers <joseph@codesourcery.com>
8212
8213 [BZ #10140]
8214 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8215 * manual/examples/argp-ex2.c: Likewise.
8216 * manual/examples/argp-ex3.c: Likewise.
8217
e3b69ca7
RH
82182012-02-16 Richard Henderson <rth@redhat.com>
8219
8220 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8221 * sysdeps/s390/s390-32/initfini.c: Remove.
8222 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8223 * sysdeps/s390/s390-64/initfini.c: Remove.
8224
df83af67
KK
82252012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8226
8227 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8228 compiler output for sysdeps/generic/initfini.c.
8229 * sysdeps/sh/elf/initfini.c: Remove file.
8230
f63f3380
DM
82312012-02-16 David S. Miller <davem@davemloft.net>
8232
fb59b3a4
DM
8233 [BZ #11494]
8234 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8235
f63f3380
DM
8236 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8237 * sysdeps/sparc/crti.S: New file.
8238 * sysdeps/sparc/crtn.S: New file.
8239 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8240 * sysdeps/sparc/sparc64/Makefile: Likewise.
8241
df6a4a4a
MF
82422012-02-15 Mike Frysinger <vapier@gentoo.org>
8243
6dd8f3dc 8244 [BZ #3335]
df6a4a4a
MF
8245 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8246
1cac7236
RM
82472012-02-15 Roland McGrath <roland@hack.frob.com>
8248
d2c736f8
RM
8249 [BZ #4822]
8250 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8251
1cac7236
RM
8252 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8253 (write, read, close): Likewise.
8254 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8255
8e475601
JM
82562012-02-15 Joseph Myers <joseph@codesourcery.com>
8257
8258 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8259 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8260 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8261 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8262 <bits/signalfd.h>.
8263 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8264 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8265 bits/signalfd.h.
8266
ed656b40
MP
82672012-02-14 Marek Polacek <polacek@redhat.com>
8268
8269 * sysdeps/x86_64/crti.S: New file.
8270 * sysdeps/x86_64/crtn.S: New file.
8271 * sysdeps/x86_64/elf/initfini.c: Remove file.
8272
2a979d3a
JM
82732012-02-13 Joseph Myers <joseph@codesourcery.com>
8274
8275 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8276 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8277 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8278 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8279 <bits/inotify.h>.
8280 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8281 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8282 bits/inotify.h.
8283
2a418ac3
JM
82842012-02-13 Joseph Myers <joseph@codesourcery.com>
8285
8286 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8287 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8288 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8289 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8290 <bits/eventfd.h>.
8291 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8292 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8293 bits/eventfd.h.
8294
fb779be7
TS
82952012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8296
e19e83c5
RM
8297 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8298 __feraiseexcept instead of feraiseexcept.
7c35ffed 8299
fb779be7
TS
8300 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8301 nanosleep invocations.
8302 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8303 strings, and add error checking for a nanosleep invocations.
8304
59ba27a6
PE
83052012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8306
8307 Replace FSF snail mail address with URLs, as per GNU coding standards.
8308 Most of the snail mail addresses were wrong anyway, and omitting
8309 them makes the source code easier to maintain. Almost all of the
8310 changes are to license notices and to locale LC_IDENTIFICATION
8311 addresses, except for this one:
8312 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8313 not its snail mail address.
8314
57b957eb
RH
83152012-02-09 Richard Henderson <rth@twiddle.net>
8316
af850b1c
RH
8317 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8318 of kernel-features.h.
8319
57b957eb
RH
8320 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8321
6b73181a
MP
83222012-02-08 Marek Polacek <polacek@redhat.com>
8323
8324 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8325 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8326 * sysdeps/gnu/_G_config.h: Likewise.
8327 * sysdeps/generic/_G_config.h: Likewise.
8328
26ecc33a
AS
83292012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8330
6c6dbc63
AS
8331 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8332 tests.
8333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8334
e216c012
AS
8335 * sysdeps/powerpc/powerpc32/crti.S: New file.
8336 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8337 * sysdeps/powerpc/powerpc64/crti.S: New file.
8338 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8339
26ecc33a
AS
8340 * Makeconfig (have-initfini): Don't set.
8341 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8342 * configure.in (nopic_initfini): Don't substitute.
8343 * config.h.in (HAVE_INITFINI): Don't #undef.
8344 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8345 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8346
3add8e13
JM
83472012-02-08 Joseph Myers <joseph@codesourcery.com>
8348
8349 Support crti.S and crtn.S provided directly by architectures.
8350 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8351 [crti.S in sysdirs] (omit-deps): Likewise.
8352 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8353 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8354 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8355 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8356 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8357 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8358 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8359 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8360 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8361 compiler output for sysdeps/generic/initfini.c.
8362 * sysdeps/i386/elf/Makefile: Remove file.
8363 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8364
a22f12b4
MP
83652012-02-07 Marek Polacek <polacek@redhat.com>
8366
8367 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8368 * sysdeps/gnu/_G_config.h: Likewise.
8369 * sysdeps/mach/hurd/_G_config.h: Likewise.
8370
148cf100
MP
83712012-02-07 Marek Polacek <polacek@redhat.com>
8372
8373 * math/Makefile (tests): Add tst-CMPLX2.
8374 * math/tst-CMPLX2.c: New file.
8375
cfdc0dd7
AS
83762012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8377
84ba42c4
AS
8378 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8379
cfdc0dd7
AS
8380 * math/libm-test.inc (jn_test): Add missing L suffix.
8381
622c86f4
MP
83822012-02-06 Marek Polacek <polacek@redhat.com>
8383
8384 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8385 * sysdeps/i386/fpu/e_powf.S: Likewise.
8386 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8387 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8388 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8389 * sysdeps/i386/fpu/e_pow.S: Likewise.
8390 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8391 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8392 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8393 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8394 * sysdeps/i386/fpu/e_log2.S: Likewise.
8395 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8396 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8397 * sysdeps/i386/fpu/e_powl.S: Likewise.
8398 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8399 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8400 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8401 * sysdeps/i386/fpu/e_logl.S: Likewise.
8402 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8403 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8404 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8405 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8406 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8407 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8408 * sysdeps/i386/fpu/e_log.S: Likewise.
8409 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8410 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8411 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8412 * sysdeps/i386/fpu/e_logf.S: Likewise.
8413 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8414 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8415 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8416 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8417 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8418 * sysdeps/i386/fpu/e_log10.S: Likewise.
8419 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8420 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8421 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8422 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8423 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8424 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8425 * sysdeps/i386/asm-syntax.h: Likewise.
8426 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8427 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8428 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8429 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8430 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8431 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8432 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8433 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8434 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8435 * sysdeps/powerpc/sysdep.h: Likewise.
8436 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8437 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8438
d4a54ac6
JM
84392012-02-06 Joseph Myers <joseph@codesourcery.com>
8440
8441 [BZ #411]
8442 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8443
314054ea
JM
84442012-02-06 Joseph Myers <joseph@codesourcery.com>
8445
8446 * sysdeps/i386/sysdep.h: Include <features.h>.
8447 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8448 version.
8449
d8e0ca50
JM
84502012-02-05 Joseph Myers <joseph@codesourcery.com>
8451
8452 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8453 Define.
8454 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8455 LOAD_PIC_REG_STR.
8456
b1da7dd9
JM
84572012-02-03 Joseph Myers <joseph@codesourcery.com>
8458
8459 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8460 (SETUP_PIC_REG): Use GET_PC_THUNK.
8461 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8462 macro.
8463
9a1d9254
JM
84642012-02-03 Joseph Myers <joseph@codesourcery.com>
8465
8466 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8467 for non-PIC compilation.
8468 (SETUP_PIC_REG): Add .p2align directive.
8469 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8470 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8471 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8472 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8473 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8474 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8475 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8476 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8477 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8478 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8479 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8480 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8481 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8482 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8483 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8484 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8485 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8486 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8487 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8488 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8489 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8490 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8491 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8492 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8493 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8494 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8495 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8496 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8497 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8498 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8499 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8500 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8501 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8502 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8503 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8504 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8505 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8506 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8507 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8508 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8509 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8510
65dc3b75
JM
85112012-02-03 Joseph Myers <joseph@codesourcery.com>
8512
8513 * math/tst-CMPLX.c: Include <stdio.h>.
8514
d55bf177
JM
85152012-01-31 Joseph Myers <joseph@codesourcery.com>
8516
8517 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8518 float.
8519 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8520 * sysdeps/sparc/bits/mathdef.h: Likewise.
8521
69db4f8f
MP
85222012-01-31 Marek Polacek <polacek@redhat.com>
8523
8524 * libio/libio.h: Don't define _PARAMS.
8525 * locale/programs/config.h: Don't define PARAMS.
8526 * stdlib/strtol_l.c: Likewise.
8527 (__strtol_l): Remove PARAMS from the prototype.
8528
41b81892
UD
85292012-01-31 Ulrich Drepper <drepper@gmail.com>
8530
3b49edc0
UD
8531 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8532 names. Just use the correct names. Remove unnecessary wrapper
8533 functions.
8534 * malloc/arena.c: Likewise.
8535 * malloc/hooks.c: Likewise.
8536
41b81892
UD
8537 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8538 ARENA_TEST says not to. Simplify test for creation of a new arena.
8539 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8540
27a25b6e
UD
85412012-01-30 Ulrich Drepper <drepper@gmail.com>
8542
8543 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8544 into tail calls.
8545 (update_get_addr): New function.
8546 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8547 GET_ADDR_MODULE parameter.
8548
c8a89e7d
JM
85492012-01-30 Joseph Myers <joseph@codesourcery.com>
8550
8551 * crypt/cert.c: Remove __STDC__ conditionals.
8552 * crypt/crypt-entry.c: Likewise.
8553 * crypt/crypt_util.c: Likewise.
8554 * libio/filedoalloc.c: Likewise.
8555 * libio/fileops.c: Likewise.
8556 * libio/genops.c: Likewise.
8557 * libio/iofclose.c: Likewise.
8558 * libio/iofdopen.c: Likewise.
8559 * libio/iofopen.c: Likewise.
8560 * libio/iofopen64.c: Likewise.
8561 * libio/iogetdelim.c: Likewise.
8562 * libio/iopopen.c: Likewise.
8563 * libio/obprintf.c: Likewise.
8564 * libio/oldfileops.c: Likewise.
8565 * libio/oldiofclose.c: Likewise.
8566 * libio/oldiofdopen.c: Likewise.
8567 * libio/oldiofopen.c: Likewise.
8568 * libio/oldiopopen.c: Likewise.
8569 * libio/wfiledoalloc.c: Likewise.
8570 * libio/wgenops.c: Likewise.
8571 * locale/programs/xmalloc.c: Likewise.
8572 * misc/syslog.c: Likewise.
8573 * stdio-common/xbug.c: Likewise.
8574 * string/memchr.c: Likewise.
8575 * string/memcmp.c: Likewise.
8576 * string/memrchr.c: Likewise.
8577 * string/rawmemchr.c: Likewise.
8578 * sysdeps/posix/getcwd.c: Likewise.
8579 * time/strftime_l.c: Likewise.
8580
3b100462
JM
85812012-01-30 Joseph Myers <joseph@codesourcery.com>
8582
8583 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
8584 * config.make.in (config-cflags-sse2avx): Define.
8585 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8586 Fix typo.
8587
607998af
CM
85882012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8589
8590 * scripts/config.guess: Update from upstream config git repository.
8591 * scripts/config.sub: Likewise.
8592
3601428f
CM
85932012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8594
3ac8b282
CM
8595 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8596 (EM_NUM): Update.
8597 (R_TILEPRO_*, R_TILEGX_*): New macros.
8598
e034841e
CM
8599 * scripts/firstversions.awk: Fix bug in version range handling.
8600
540d7568
CM
8601 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8602
3601428f
CM
8603 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8604
463de862
CM
8605 * include/sys/epoll.h: New file.
8606 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8607 libc_hidden_def.
8608
73139a76
UD
86092012-01-28 Ulrich Drepper <drepper@gmail.com>
8610
96bc5b45
UD
8611 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8612 Avoid unnecessary __WORDSIZE == 64 test.
8613 (fmaxf): Use VEX format if possible.
8614 (fmax): Likewise.
8615 (fminf): Likewise.
8616 (fmin): Likewise.
8617
56f6f6a2
UD
8618 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8619 * math/math_private.h: Remove libc_fegetround* and
8620 libc_fesetround*.
8621 * sysdeps/i386/configure.in: Check for -msse2avx.
8622 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8623 also if SSE2AVX is defined.
8624 Remove libc_fegetround* and libc_fesetround*.
8625 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8626 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8627 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8628 of HAS_YMM_USABLE.
8629 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8630 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8631 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8632 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8633 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8634
73139a76
UD
8635 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8636
d73f93a4
AZ
86372012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8638
8639 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8640 size is not set.
8641 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8642
6ee65ed6
UD
86432012-01-27 Ulrich Drepper <drepper@gmail.com>
8644
8645 [BZ #13618]
8646 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8647 relocation.
8648 * Makeconfig (libm): Define.
8649 * elf/Makefile: Add rules to build and run tst-relsort1.
8650 * elf/tst-relsort1.c: New file.
8651 * elf/tst-relsort1mod1.c: New file.
8652 * elf/tst-relsort1mod2.c: New file.
8653
8db21882
JM
86542012-01-27 Joseph Myers <joseph@codesourcery.com>
8655
8656 * math/s_ldexp.c: Remove __STDC__ conditionals.
8657 * math/s_ldexpf.c: Likewise.
8658 * math/s_ldexpl.c: Likewise.
8659 * math/s_nextafter.c: Likewise.
8660 * math/s_nexttowardf.c: Likewise.
8661 * math/s_significand.c: Likewise.
8662 * math/s_significandf.c: Likewise.
8663 * math/s_significandl.c: Likewise.
8664 * math/w_jnl.c: Likewise.
8665 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8666 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8667 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8668 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8669 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8670 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8671 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8672 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8673 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8674 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8675 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8676 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8677 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8678 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8679 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8680 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8681 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8682 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8683 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8684 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8685 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8686 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8687 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8688 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8689 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8690 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8691 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8692 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8693 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8694 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8695 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8696 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8697 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8698 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8699 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8700 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8701 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8702 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8703 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8704 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8705 * sysdeps/ieee754/k_standard.c: Likewise.
8706 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8707 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8708 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8709 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8710 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8711 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8712 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8713 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8714 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8715 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8716 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8717 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8718 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8719 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8720 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8721 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8722 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8723 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8724 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8725 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8726 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8727 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8728 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8729 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8730 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8731 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8732 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8733 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8734 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8735 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8736 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8737 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8738 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8739 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8740 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8741 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8742 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8743 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8744 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8745 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8746 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8747 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8748 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8749 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8750 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8751 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8752 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8753 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8754 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8755 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8756 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8757 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8758 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8759 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8760 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8761 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8762 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8763 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8764 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8765 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8766 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8767 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8768 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8769 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8770 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8771 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8772 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8773 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8774 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8775 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8776 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8777 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8778 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8779 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8780 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8781 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8782 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8783 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8784 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8785 * sysdeps/ieee754/s_matherr.c: Likewise.
8786 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8787 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8788 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8789 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8790
965a54a4
JM
87912012-01-26 Joseph Myers <joseph@codesourcery.com>
8792
8793 * crypt/md5.h: Remove __STDC__ conditionals.
8794 * libio/libioP.h: Likewise.
8795 * locale/programs/config.h: Likewise.
8796 * sysdeps/generic/sysdep.h: Likewise.
8797 * sysdeps/i386/asm-syntax.h: Likewise.
8798 * sysdeps/s390/asm-syntax.h: Likewise.
8799 * sysdeps/unix/sysdep.h: Likewise.
8800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8802
7071ad79
JM
88032012-01-26 Joseph Myers <joseph@codesourcery.com>
8804
8805 * libio/libio.h: Remove __STDC__ conditionals.
8806 * malloc/obstack.h: Likewise.
8807 * math/complex.h: Likewise.
8808 * math/math.h: Likewise.
8809 * sysdeps/generic/_G_config.h: Likewise.
8810 * sysdeps/gnu/_G_config.h: Likewise.
8811 * sysdeps/mach/hurd/_G_config.h: Likewise.
8812 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8813 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8814 * sysdeps/sparc/bits/mathdef.h: Likewise.
8815
afc5ed09
UD
88162012-01-26 Ulrich Drepper <drepper@gmail.com>
8817
8818 [BZ #13583]
8819 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 8820 Clean up HAS_* macros.
afc5ed09 8821 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
8822 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8823 possible.
8824 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8825 HAS_AVX.
8826 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8827 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8828 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8829 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8830 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 8831
bdb6de1d
JM
88322012-01-25 Joseph Myers <joseph@codesourcery.com>
8833
8834 * elf/tst-unique3.cc (gets): Remove declaration.
8835 * elf/tst-unique3lib.cc (gets): Likewise.
8836 * elf/tst-unique3lib2.cc (gets): Likewise.
8837 * elf/tst-unique4.cc (gets): Likewise.
8838
b15549e6
UD
88392012-01-24 Ulrich Drepper <drepper@gmail.com>
8840
8841 * include/stdio.h: Add C++ protection. Add gets declarations and
8842 definitions.
8843 * debug/tst-chk1.c: Don't declare gets here.
8844 * stdio-common/tst-gets.c: Likewise.
8845
a037381f
JM
88462012-01-24 Joseph Myers <joseph@codesourcery.com>
8847
8848 * posix/glob: Remove directory.
8849
f1d4aa75
JM
88502012-01-24 Joseph Myers <joseph@codesourcery.com>
8851
8852 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8853
81c0c964
PT
88542012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8855
8856 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8857 of the non-standard EPFNOSUPPORT.
8858
0ea698ae
ST
88592011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8860
8861 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8862 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8863 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8864
d220b117
UD
88652012-01-21 Ulrich Drepper <drepper@gmail.com>
8866
8867 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8868
3e1aa84e
UD
88692012-01-20 Ulrich Drepper <drepper@gmail.com>
8870
8871 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8872 transient errors.
8873 * nscd/grpcache.c (cache_addgr): Likewise.
8874 * nscd/hstcache.c (cache_addhst): Likewise.
8875 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8876 * nscd/pwdcache.c (cache_addpw): Likewise.
8877 * nscd/servicescache.c (cache_addserv): Likewise.
8878
400aa020
UD
88792012-01-16 Ulrich Drepper <drepper@gmail.com>
8880
d77e7869
UD
8881 * malloc/malloc.c: Various cleanups.
8882 * malloc/hooks.c: Likewise.
8883
400aa020
UD
8884 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8885 * stdlib/bug-fmtmsg1.c: New file.
8886
8887 * stdlib/fmtmsg.c (init): Add missing unlock.
8888 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8889
e0a309cf
MP
88902012-01-12 Marek Polacek <polacek@redhat.com>
8891
8892 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8893 and _GNU_SOURCE.
8894
929d11c7
WS
88952012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8896
8897 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8898 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8899 macro to ensure uniqueness of label name.
8900 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8901 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8902
41d0e869
UD
89032012-01-11 Ulrich Drepper <drepper@gmail.com>
8904
0cc5ed3b
UD
8905 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8906
41d0e869
UD
8907 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8908 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8909 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8910 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8911
a47a831a
UD
89122012-01-10 Ulrich Drepper <drepper@gmail.com>
8913
daa891c0
UD
8914 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8915
8916 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8917 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8918 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8919
e58ef0f2
UD
8920 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8921
a47a831a 8922 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
8923 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8924 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 8925 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
8926
8927 * math/bits/math-finite.h: Add ldexp support.
8928
a0bfc9c7
MP
89292012-01-10 Marek Polacek <polacek@redhat.com>
8930
8931 * locale/programs/localedef.h (show_archive_content): Add noreturn
8932 attribute.
8933
d6e97a1d
UD
89342012-01-09 Ulrich Drepper <drepper@gmail.com>
8935
8936 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8937
d5835c26
UD
89382012-01-08 Ulrich Drepper <drepper@gmail.com>
8939
e5f484c6
UD
8940 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8941
d5835c26
UD
8942 * io/Makefile (headers): Add bits/poll2.h.
8943
d1f741e9
WS
89442011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8945
8946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8947 typo #include statement.
8948
ec09c1c4
UD
89492012-01-08 Ulrich Drepper <drepper@gmail.com>
8950
8951 * include/sys/cdefs.h: Define __attribute_alloc_size.
8952 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8953 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8954 * elf/pldd.c: Likewise.
8955 * iconv/iconv_charmap.c: Likewise.
8956 * iconv/iconvconfig.c: Likewise.
8957 * iconv/strtab.c: Likewise.
8958 * locale/programs/locale.c: Likewise.
8959 * locale/programs/localedef.h: Likewise.
8960 * locale/programs/simple-hash.c: Likewise.
8961 * nscd/nscd.h: Likewise.
8962 * nss/makedb.c: Likewise.
8963 * sysdeps/generic/ldconfig.h: Likewise.
8964 * locale/programs/localedef.c: Remove xmalloc prototype.
8965 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8966
20b38e03
PP
89672012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8968
8969 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8970 appropriate.
8971
a0da5fe1
UD
89722012-01-08 Ulrich Drepper <drepper@gmail.com>
8973
1d5a644a 8974 * math/Makefile (tests): Add tst-CMPLX.
669704fd 8975 * math/tst-CMPLX.c: New file.
1d5a644a 8976
8784a6db
UD
8977 * math/complex.h (CMPLXL): Fix typo.
8978
d9a216c0
UD
8979 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8980 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8981 GLIBC_2.16.
8982 * debug/tst-chk1.c: Add poll and ppoll tests.
8983 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8984 * include/sys/poll.h: Add hidden proto for ppoll.
8985 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8986 * sysdeps/mach/hurd/ppoll.c: Likewise.
8987 * io/ppoll.c: Likewise.
8988 * debug/poll_chk.c: New file.
8989 * debug/ppoll_chk.c: New file.
8990 * include/bits/poll2.h: New file.
8991 * io/bits/poll2.h: New file.
8992
ac097f5c
UD
8993 [BZ #1350]
8994 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8995
2119dcfa
UD
8996 * configure.in: static is always set to yes. Remove.
8997 * config.make.in: Don't set build-static.
8998 * Makeconfig: Remove use of build-static.
8999 * dlfcn/Makefile: Likewise.
9000 * elf/Makefile: Likewise.
9001 * math/Makefile: Likewise.
9002 * misc/Makefile: Likewise.
9003 * nptl/Makefile: Likewise.
9004 * sysdeps/mach/hurd/Makefile: Likewise.
9005
121766a9
UD
9006 * configure.in: PWD_P is not used anymore.
9007 * config.make.in: Remove PWD_P entry.
9008
51a1d39c 9009 * configure.in: Remove last remnants of RANLIB.
8720d066 9010 No need to check for signed size_t anymore.
215f4bdc
UD
9011 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9012 and IA-64.
3857022a 9013 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9014 * aclocal.m4: Likewise.
9015
d3ed7225
UD
9016 * wcsmbs/mbrtoc16.c: Implement using towc function.
9017 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9018 * wcsmbs/wcsmbsload.c: Likewise.
9019 * iconv/gconv_simple.c: Likewise.
9020 * iconv/gconv_int.h: Likewise.
9021 * iconv/gconv_builtin.h: Likewise.
9022 * iconv/iconv_prog.c: Remove CHAR16 handling.
9023
9024 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9025
9026 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9027
a0da5fe1
UD
9028 * configure.in: Remove --with-elf and --enable-bounded options.
9029 Dont set base_machine for ia64. More non-ELF conditions removed.
9030 Remove testing and setting of leading underscore information.
9031 * config.make.in (build-bounded): Set to no.
9032 * config.h.in: Remove NO_UNDERSCORES entry.
9033 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9034 them.
9035 * csu/start.c: Remove !NO_UNDERSCORE code.
9036 * locale/localeinfo.h: Likewise.
9037 * sysdeps/generic/machine-gmon.h: Likewise.
9038 * sysdeps/generic/sysdep.h: Likewise.
9039 * sysdeps/i386/sysdep.h: Likewise.
9040 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9041 * sysdeps/mach/sysdep.h: Likewise.
9042 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9043 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9044 * sysdeps/sh/sysdep.h: Likewise.
9045 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9046 * sysdeps/unix/i386/sysdep.S: Likewise.
9047 * sysdeps/unix/sparc/start.c: Likewise.
9048 * sysdeps/unix/sparc/sysdep.S: Likewise.
9049 * sysdeps/unix/sparc/sysdep.h: Likewise.
9050 * sysdeps/unix/start.c: Likewise.
9051 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9052 * sysdeps/x86_64/sysdep.h: Likewise.
9053
df78418a
UD
90542012-01-07 Ulrich Drepper <drepper@gmail.com>
9055
a784e502
UD
9056 [BZ #13553]
9057 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9058 for non-gcc.
9059 * argp/argp-fmtstream.h: Use const instead __const.
9060 * argp/argp.h: Likewise.
9061 * assert/assert.h: Likewise.
9062 * bits/fenv.h: Likewise.
9063 * bits/sched.h: Likewise.
9064 * bits/sigset.h: Likewise.
9065 * bits/sigthread.h: Likewise.
9066 * catgets/nl_types.h: Likewise.
9067 * conform/data/pthread.h-data: Likewise.
9068 * crypt/crypt-private.h: Likewise.
9069 * crypt/crypt.h: Likewise.
9070 * crypt/crypt_util.c: Likewise.
9071 * ctype/ctype.h: Likewise.
9072 * debug/execinfo.h: Likewise.
9073 * debug/mbsnrtowcs_chk.c: Likewise.
9074 * debug/mbsrtowcs_chk.c: Likewise.
9075 * debug/wcsnrtombs_chk.c: Likewise.
9076 * debug/wcsrtombs_chk.c: Likewise.
9077 * debug/wcstombs_chk.c: Likewise.
9078 * dirent/dirent.h: Likewise.
9079 * dlfcn/dlfcn.h: Likewise.
9080 * elf/neededtest4.c: Likewise.
9081 * grp/grp.h: Likewise.
9082 * gshadow/gshadow.h: Likewise.
9083 * iconv/gconv.h: Likewise.
9084 * iconv/gconv_int.h: Likewise.
9085 * iconv/gconv_simple.c: Likewise.
9086 * iconv/iconv.h: Likewise.
9087 * iconv/loop.c: Likewise.
9088 * iconv/skeleton.c: Likewise.
9089 * include/aio.h: Likewise.
9090 * include/aliases.h: Likewise.
9091 * include/argz.h: Likewise.
9092 * include/arpa/inet.h: Likewise.
9093 * include/assert.h: Likewise.
9094 * include/dirent.h: Likewise.
9095 * include/dlfcn.h: Likewise.
9096 * include/execinfo.h: Likewise.
9097 * include/fcntl.h: Likewise.
9098 * include/fenv.h: Likewise.
9099 * include/glob.h: Likewise.
9100 * include/grp.h: Likewise.
9101 * include/libintl.h: Likewise.
9102 * include/mntent.h: Likewise.
9103 * include/netdb.h: Likewise.
9104 * include/pwd.h: Likewise.
9105 * include/rpc/netdb.h: Likewise.
9106 * include/sched.h: Likewise.
9107 * include/search.h: Likewise.
9108 * include/shadow.h: Likewise.
9109 * include/signal.h: Likewise.
9110 * include/stdio.h: Likewise.
9111 * include/stdlib.h: Likewise.
9112 * include/string.h: Likewise.
9113 * include/sys/socket.h: Likewise.
9114 * include/sys/stat.h: Likewise.
9115 * include/sys/statfs.h: Likewise.
9116 * include/sys/statvfs.h: Likewise.
9117 * include/sys/syslog.h: Likewise.
9118 * include/sys/time.h: Likewise.
9119 * include/sys/uio.h: Likewise.
9120 * include/time.h: Likewise.
9121 * include/unistd.h: Likewise.
9122 * include/utmp.h: Likewise.
9123 * include/wchar.h: Likewise.
9124 * include/wctype.h: Likewise.
9125 * inet/aliases.h: Likewise.
9126 * inet/arpa/inet.h: Likewise.
9127 * inet/netinet/ether.h: Likewise.
9128 * inet/netinet/in.h: Likewise.
9129 * intl/libintl.h: Likewise.
9130 * io/bits/fcntl2.h: Likewise.
9131 * io/fcntl.h: Likewise.
9132 * io/ftw.h: Likewise.
9133 * io/sys/poll.h: Likewise.
9134 * io/sys/stat.h: Likewise.
9135 * io/sys/statfs.h: Likewise.
9136 * io/sys/statvfs.h: Likewise.
9137 * io/utime.h: Likewise.
9138 * libio/bits/stdio.h: Likewise.
9139 * libio/bits/stdio2.h: Likewise.
9140 * libio/libio.h: Likewise.
9141 * libio/libioP.h: Likewise.
9142 * libio/stdio.h: Likewise.
9143 * locale/lc-ctype.c: Likewise.
9144 * locale/locale.h: Likewise.
9145 * login/utmp.h: Likewise.
9146 * malloc/arena.c: Likewise.
9147 * malloc/malloc.c: Likewise.
9148 * malloc/malloc.h: Likewise.
9149 * malloc/mcheck.c: Likewise.
9150 * malloc/mtrace.c: Likewise.
9151 * math/bits/mathcalls.h: Likewise.
9152 * math/fenv.h: Likewise.
9153 * math/math_private.h: Likewise.
9154 * misc/bits/error.h: Likewise.
9155 * misc/bits/syslog.h: Likewise.
9156 * misc/err.h: Likewise.
9157 * misc/error.h: Likewise.
9158 * misc/fstab.h: Likewise.
9159 * misc/mntent.h: Likewise.
9160 * misc/regexp.h: Likewise.
9161 * misc/search.h: Likewise.
9162 * misc/sgtty.h: Likewise.
9163 * misc/sys/mman.h: Likewise.
9164 * misc/sys/syslog.h: Likewise.
9165 * misc/sys/uio.h: Likewise.
9166 * misc/sys/xattr.h: Likewise.
9167 * misc/ttyent.h: Likewise.
9168 * nis/rpcsvc/ypclnt.h: Likewise.
9169 * nss/nss.h: Likewise.
9170 * posix/bits/unistd.h: Likewise.
9171 * posix/fnmatch.h: Likewise.
9172 * posix/glob.h: Likewise.
9173 * posix/sched.h: Likewise.
9174 * posix/spawn.h: Likewise.
9175 * posix/sys/wait.h: Likewise.
9176 * posix/unistd.h: Likewise.
9177 * posix/wordexp.h: Likewise.
9178 * pwd/pwd.h: Likewise.
9179 * resolv/netdb.h: Likewise.
9180 * resource/sys/resource.h: Likewise.
9181 * rt/aio.h: Likewise.
9182 * rt/bits/mqueue2.h: Likewise.
9183 * rt/mqueue.h: Likewise.
9184 * shadow/shadow.h: Likewise.
9185 * signal/signal.h: Likewise.
9186 * socket/send.c: Likewise.
9187 * socket/sendto.c: Likewise.
9188 * socket/sys/socket.h: Likewise.
9189 * stdio-common/printf.h: Likewise.
9190 * stdlib/bits/stdlib.h: Likewise.
9191 * stdlib/fmtmsg.h: Likewise.
9192 * stdlib/monetary.h: Likewise.
9193 * stdlib/stdlib.h: Likewise.
9194 * stdlib/ucontext.h: Likewise.
9195 * streams/stropts.h: Likewise.
9196 * string/argz.h: Likewise.
9197 * string/bits/string2.h: Likewise.
9198 * string/string.h: Likewise.
9199 * string/strings.h: Likewise.
9200 * sunrpc/rpc/auth.h: Likewise.
9201 * sunrpc/rpc/auth_des.h: Likewise.
9202 * sunrpc/rpc/clnt.h: Likewise.
9203 * sunrpc/rpc/netdb.h: Likewise.
9204 * sunrpc/rpc/pmap_clnt.h: Likewise.
9205 * sunrpc/rpc/xdr.h: Likewise.
9206 * sysdeps/generic/inttypes.h: Likewise.
9207 * sysdeps/generic/net/if.h: Likewise.
9208 * sysdeps/generic/sys/swap.h: Likewise.
9209 * sysdeps/gnu/net/if.h: Likewise.
9210 * sysdeps/gnu/utmpx.h: Likewise.
9211 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9212 * sysdeps/i386/i486/bits/string.h: Likewise.
9213 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9214 * sysdeps/s390/bits/string.h: Likewise.
9215 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9216 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9217 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9218 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9219 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9220 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9221 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9222 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9223 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9224 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9225 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9226 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9227 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9228 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9229 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9230 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9231 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9232 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9233 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9234 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9235 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9236 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9237 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9238 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9239 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9240 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9241 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9242 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9243 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9244 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9245 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9246 * sysvipc/sys/ipc.h: Likewise.
9247 * sysvipc/sys/msg.h: Likewise.
9248 * sysvipc/sys/sem.h: Likewise.
9249 * sysvipc/sys/shm.h: Likewise.
9250 * termios/termios.h: Likewise.
9251 * time/sys/time.h: Likewise.
9252 * time/time.h: Likewise.
9253 * wcsmbs/bits/wchar2.h: Likewise.
9254 * wcsmbs/uchar.h: Likewise.
9255 * wcsmbs/wchar.h: Likewise.
9256 * wctype/wctype.h: Likewise.
9257
0269750c
UD
9258 [BZ #13551]
9259 * Makeconfig: Remove all but ELF support including AIX support.
9260 * Makerules: Likewise.
9261 * config.h.in: Likewise.
9262 * config.make.in: Likewise.
9263 * configure: Likewise.
9264 * configure.in: Likewise.
9265 * csu/Makefile: Likewise.
9266 * csu/version.c: Likewise.
9267 * debug/Makefile: Likewise.
9268 * dlfcn/Makefile: Likewise.
9269 * elf/Makefile: Likewise.
9270 * extra-lib.mk: Likewise.
9271 * iconv/Makefile: Likewise.
9272 * include/libc-symbols.h: Likewise.
9273 * include/shlib-compat.h: Likewise.
9274 * resolv/Makefile: Likewise.
9275 * resolv/res_libc.c: Likewise.
9276 * rt/Makefile: Likewise.
9277 * sysdeps/i386/asm-syntax.h: Likewise.
9278 * sysdeps/i386/sysdep.h: Likewise.
9279 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9280 * sysdeps/mach/sysdep.h: Likewise.
9281 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9282 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9283 * sysdeps/s390/asm-syntax.h: Likewise.
9284 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9285 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9286 * sysdeps/sh/sysdep.h: Likewise.
9287 * sysdeps/unix/sparc/sysdep.h: Likewise.
9288 * sysdeps/wordsize-32/divdi3.c: Likewise.
9289 * sysdeps/x86_64/sysdep.h: Likewise.
9290
00bbd29b
UD
9291 * argp/Versions: Remove _argp_unlock_xxx.
9292
9293 [BZ #13559]
9294 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9295 * abilist/libBrokenLocale.abilist: Likewise.
9296 * abilist/libanl.abilist: Likewise.
9297 * abilist/libc.abilist: Likewise.
9298 * abilist/libcrypt.abilist: Likewise.
9299 * abilist/libdl.abilist: Likewise.
9300 * abilist/libm.abilist: Likewise.
9301 * abilist/libnsl.abilist: Likewise.
9302 * abilist/libpthread.abilist: Likewise.
9303 * abilist/libresolv.abilist: Likewise.
9304 * abilist/librt.abilist: Likewise.
9305 * abilist/libthread_db.abilist: Likewise.
9306 * abilist/libutil.abilist: Likewise.
9307 * abilist/libnss_db.abilist: New file.
9308
9309 * scripts/abilist.awk: Add support for indirect functions.
9310
a2693a0e
UD
9311 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9312
3f05895f
UD
9313 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9314
ecb6fb48
UD
9315 * shlib-versions: Remove entries for ports architectures.
9316
664f8cb9
UD
9317 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9318 files in ports.
9319 * elf/stackguard-macros.h: Remove support for IA-64.
9320 * elf/tst-auditmod1.c: Likewise.
9321 * sysdeps/generic/ldsodefs.h: Likewise.
9322
7ae81d88
UD
9323 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9324 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9325 configure files.
9326
bdeba135
UD
9327 [BZ #13552]
9328 * configure.in: Remove --enable-omitfp support.
9329 * FAQ.in: Adjust.
9330 * config.make.in: Likewise.
9331 * Makeconfig: Likewise.
9332 * manual/install.texi: Likewise.
9333
d75a0a62
UD
9334 In case anyone cares, the IA-64 architecture could move to ports.
9335 * sysdeps/ia64/*: Removed.
9336 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9337 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9338
dcc9756b
UD
9339 [BZ #13555]
9340 * configure.in: Remove entries for unsupported architectures.
9341
d3761ebc 9342 [BZ #13533]
9954432e
UD
9343 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9344 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9345 routines.
9346 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9347 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9348 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9349 fall back to using wcrtomb.
9350 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9351 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9352 renaming.
9353 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9354 * wcsmbs/tst-c16c32-1.c: New file.
9355
9356 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9357 local variable.
9358
c3a87236
UD
9359 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9360
28926a1b
UD
9361 * elf/tst-unique3.cc: Add explicit declaration of gets.
9362 * elf/tst-unique3lib.cc: Likewise.
9363 * elf/tst-unique3lib2.cc: Likewise.
9364 * elf/tst-unique4.cc: Likewise.
9365
df78418a
UD
9366 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9367
8ecd6b2a
JM
93682012-01-06 Joseph Myers <joseph@codesourcery.com>
9369
9370 [BZ #13566]
9371 * assert/assert.h (static_assert): Don't define for C++.
9372 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9373 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9374
9f115170
UD
93752012-01-03 Ulrich Drepper <drepper@gmail.com>
9376
5e0d0300
UD
9377 * iconv/loop.c (single loop): Fix assertion in storing of
9378 remaining bytes.
9379
9f115170
UD
9380 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9381
81fb02b0
UD
93822012-01-01 Ulrich Drepper <drepper@gmail.com>
9383
9384 * posix/getconf.c: Update copyright year.
9385 * nss/getent.c: Likewise.
a316c1f6 9386 * nss/makedb.c: Likewise.
81fb02b0
UD
9387 * iconv/iconvconfig.c: Likewise.
9388 * iconv/iconv_prog.c: Likewise.
9389 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9390 * elf/pldd.c: Likewise.
9391 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9392 * catgets/gencat.c: Likewise.
9393 * csu/version.c: Likewise.
9394 * elf/ldd.bash.in: Likewise.
9395 * elf/sprof.c (print_version): Likewise.
9396 * locale/programs/locale.c: Likewise.
9397 * locale/programs/localedef.c: Likewise.
a316c1f6 9398 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9399 * nscd/nscd.c (print_version): Likewise.
9400 * debug/xtrace.sh: Likewise.
9401 * malloc/memusage.sh: Likewise.
9402 * malloc/mtrace.pl: Likewise.
9403 * debug/catchsegv.sh: Likewise.
9404
2ba92745
JJ
94052011-12-30 Jakub Jelinek <jakub@redhat.com>
9406
9407 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9408 pure attribute.
9409
dadebdae
UD
94102011-12-24 Ulrich Drepper <drepper@gmail.com>
9411
d3761ebc 9412 [BZ #13533]
db6af3eb
UD
9413 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9414 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9415 transformations.
9416 * iconv/gconv_int.h: Likewise.
9417 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9418 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9419 from libc for GLIBC_2.16.
9420 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9421 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9422 * wcsmbs/uchar.h: Really define mbstate_t.
9423 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9424 * wcsmbs/c16rtomb.c: New file.
9425 * wcsmbs/mbrtoc16.c: New file.
9426 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9427 for C/POSIX locale.
9428 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9429 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9430
dadebdae
UD
9431 * wcsmbs/wchar.h: Add missing __restrict.
9432
67371b56
UD
94332011-12-23 Ulrich Drepper <drepper@gmail.com>
9434
74033a25
UD
9435 [BZ #13532]
9436 * time/Makefile (routines): Add timespec_get.
9437 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9438 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9439 timespec for ISO C11.
9440 * time/timespec_get.c: New file.
9441 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9442 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9443
380d7e87
UD
9444 [BZ #13531]
9445 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9446 * stdlib/stdlib.h: Declare aligned_alloc.
9447 * Versions.def: Add GLIBC_2.16 for libc.
9448 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9449
4e9e7a35
UD
9450 [BZ 13527]
9451 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9452 ISO C11.
9453
380d7e87 9454 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9455 code.
9456
03a71829
UD
9457 [BZ #13528]
9458 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9459
839e283e
UD
9460 [BZ #13529]
9461 * assert/assert.h (static_assert): Define.
9462
ce5294e2 9463 * version.h: Update for 2.16 development version.
90fa7312 9464
8d44e150 9465 [BZ #13526]
d7809905
UD
9466 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9467 _ISOC11_SOURCE.
9468
c0da14cd
UD
9469 * version.h (RELEASE): Bump for 2.15 release.
9470 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9471
530a3249
MP
9472 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9473 Patch by Marek Polacek <mpolacek@redhat.com>.
9474
67371b56
UD
9475 * bits/byteswap.h: Protect long long constants with __extension__.
9476 * sysdeps/i386/bits/byteswap.h: Likewise.
9477 * sysdeps/ia64/bits/byteswap.h: Likewise.
9478 * sysdeps/s390/bits/byteswap.h: Likewise.
9479 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9480
15db4de1
LD
94812011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9482
9483 [BZ #13540]
bbe315ea
LD
9484 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9485 destination buffer.
15db4de1
LD
9486 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9487
2b2596b1
MP
94882011-12-23 Marek Polacek <polacek@redhat.com>
9489
9490 * elf/dl-addr.c (determine_info): Add inline keyword.
9491 * elf/tst-auditmod4b.c (check_avx): Likewise.
9492 * elf/tst-auditmod6b.c (check_avx): Likewise.
9493 * elf/tst-auditmod6c.c (check_avx): Likewise.
9494 * elf/tst-auditmod7b.c (check_avx): Likewise.
9495
70c6c246
UD
94962011-12-23 Ulrich Drepper <drepper@gmail.com>
9497
9498 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9499 !__SSE_MATH__.
9500
c044cf14
LD
95012011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9502
15db4de1 9503 [BZ #13540]
c044cf14
LD
9504 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9505 processing for last bytes.
9506
6b13d9d9
BH
95072011-08-06 Bruno Haible <bruno@clisp.org>
9508
d455f537
BH
9509 [BZ #13061]
9510 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9511 U+0385, not to U+1FEE.
9512
6b13d9d9
BH
9513 [BZ #13062]
9514 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9515 entry for U+00A5 U+0301.
9516
db910efd
UD
95172011-12-22 Ulrich Drepper <drepper@gmail.com>
9518
27deeafc
UD
9519 [BZ #13166]
9520 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9521 buffer for the output is too small.
9522
aed9d171
UD
9523 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9524 optimization.
9525
db910efd
UD
9526 [BZ #13185]
9527 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9528 SSE flags if possible.
9529
2bd779ae
LD
95302011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9531
e7f9dac3 9532 [BZ #13540]
2bd779ae
LD
9533 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9534 processing for last bytes.
9535
154bfc16
JM
95362011-12-22 Joseph Myers <joseph@codesourcery.com>
9537
9538 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9539 (syscall-list-default-options, syscall-list-default-condition)
9540 (syscall-list-includes): Define.
9541 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9542 list of ABIs and options and #if conditions for each ABI. Do not
9543 handle common syscalls between ABIs specially.
9544 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9545 Remove.
9546 (syscall-list-variants, syscall-list-32bit-options)
9547 (syscall-list-32bit-condition, syscall-list-64bit-options)
9548 (syscall-list-64bit-condition): Define.
9549 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9550 (syscall-list-variants, syscall-list-32bit-options)
9551 (syscall-list-32bit-condition, syscall-list-64bit-options)
9552 (syscall-list-64bit-condition): Define.
9553 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9554 Remove.
9555 (syscall-list-variants, syscall-list-32bit-options)
9556 (syscall-list-32bit-condition, syscall-list-64bit-options)
9557 (syscall-list-64bit-condition): Define.
9558 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9559 Remove.
9560 (syscall-list-variants, syscall-list-32bit-options)
9561 (syscall-list-32bit-condition, syscall-list-64bit-options)
9562 (syscall-list-64bit-condition): Define.
9563
21eaf3a5
UD
95642011-12-22 Ulrich Drepper <drepper@gmail.com>
9565
16c6f992
UD
9566 * locale/iso-639.def: Add brx entry.
9567
41043168
UD
9568 [BZ #13328]
9569 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9570 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9571
21eaf3a5
UD
9572 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9573 __feraiseexcept_renamed.
9574
e3a851a2
UD
95752011-12-21 Ulrich Drepper <drepper@gmail.com>
9576
4920765e
UD
9577 [BZ #13538]
9578 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9579 EPOLLET with unsigned values.
9580 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9581 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9582
e3a851a2
UD
9583 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9584 to large cancellation.
9585 * math/s_cacoshf.c: Likewise.
9586 * math/s_cacoshl.c: Likewise.
9587
b27e24b8
RK
95882011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9589
9590 [BZ #13305]
aebefeee 9591 [BZ #12786]
b27e24b8
RK
9592 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9593 * math/s_cacoshf.c: Likewise.
9594 * math/s_cacoshl.c: Likewise.
9595
ee190f67
UD
95962011-12-21 Ulrich Drepper <drepper@gmail.com>
9597
9598 [BZ #13439]
9599 * iconv/gconv.h: Define __GCONV_SWAP.
9600 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9601 * iconvdata/utf-16.c: Likewise.
9602 * iconvdata/utf-32.c: Likewise.
9603
707f25df
AS
96042011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9605
9606 [BZ #13524]
9607 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9608 numerator after shifting it by one limb.
9609
d2daaa1e
RÁE
96102011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9611
9612 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9613 under [__USE_EXTERN_INLINES].
9614
a4647e72
UD
96152011-12-17 Ulrich Drepper <drepper@gmail.com>
9616
9617 [BZ #13446]
9618 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9619
f0b264f1
AZ
96202011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9621
9622 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9623 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9624 optimized code.
9625 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9626 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9627 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9628 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9629 for strncasecmp/strncasecmp_l compilation.
9630 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9631 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9632
8ef4f244
MP
96332011-12-08 Marek Polacek <mpolacek@redhat.com>
9634
9635 [BZ #13484]
9636 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9637 of __asm__.
9638
97ac2654
UD
96392011-12-17 Ulrich Drepper <drepper@gmail.com>
9640
9641 [BZ #13506]
9642 * time/tzfile.c (__tzfile_read): Check values from file header.
9643
91d2a845
WS
96442011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9645
9646 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9647 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9648 * powerpc/powerpc32/dl-start.S: Likewise.
9649 * powerpc/powerpc32/elf/start.S: Likewise.
9650 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9651 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9652 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9653 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9654 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9655 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9656 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9657 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9658 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9659 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9660 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9661 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9662 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9663 * powerpc/powerpc32/memset.S: Likewise.
9664 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9665 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9666 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9667 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9668 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9669 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9670 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9671 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9672 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9673 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9674 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9675 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9676 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9677
a1267ba1
AZ
96782011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9679
9680 * math/libm-test.inc: Added more nearbyint tests.
9681 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9682 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9683 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9684 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9685
ad8ac1bd
RL
96862011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9687
9688 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9689 FD_CLOEXEC.
9690
1d3e4b61
UD
96912011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9692
9693 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9694 Add wcscpy-ssse3 wcscpy-c.
9695 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9696 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9697 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9698 * sysdeps/x86_64/wcschr.S: New file.
9699 * sysdeps/x86_64/wcsrchr.S: New file.
9700 * string/test-strcmp.c: Remove checking of wcscmp function for
9701 wrong alignments.
9702 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9703 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9704 wcsrchr-sse2 wcsrchr-c.
9705 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9706 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9707 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9708 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9709 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9710 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9711 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9712 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9713 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9714 * wcsmbc/wcschr.c (WCSCHR): New macro.
9715
5b330a2d
UD
97162011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9717
9718 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9719 * wcsmbs/test-wcsrchr.c: New file.
9720 * string/test-strrchr.c: Add wcsrchr support.
9721 (WIDE): New macro.
9722 * wcsmbs/test-wcscpy.c: New file.
9723 * string/test-strcpy.c: Add wcscpy support.
9724 (WIDE): New macro.
26428b7c 9725
f039c043
UD
97262011-12-10 Ulrich Drepper <drepper@gmail.com>
9727
9728 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9729 the inner loop.
9730
850fb039
AS
97312011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9732
9733 [BZ #13472]
9734 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9735
4efbd5cb
UD
97362011-12-04 Ulrich Drepper <drepper@gmail.com>
9737
52ff5dd0 9738 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 9739 Minor optimizations.
52ff5dd0 9740
4efbd5cb
UD
9741 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9742 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9743 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9744
8a426e12
UD
97452011-12-03 Ulrich Drepper <drepper@gmail.com>
9746
aff2453d
UD
9747 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9748 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9749 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9750 for gcc to avoid warnings.
9751 * inet/Makefile (tests): Add tst-checks.
9752 * inet/tst-checks.c: New file.
9753
9754 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9755 warning.
9756
9757 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9758 __wmemcmp_sse2.
9759
9760 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9761 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9762
8a426e12
UD
9763 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9764
9bea3473
UD
97652011-12-02 Ulrich Drepper <drepper@gmail.com>
9766
3a965496
UD
9767 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9768 problem.
9769
9bea3473
UD
9770 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9771
f101631b
UD
97722011-11-29 Joseph Myers <joseph@codesourcery.com>
9773
9774 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9775 conditional on GCC version.
9776 (__arch_compare_and_exchange_val_8_acq)
9777 (__arch_compare_and_exchange_val_16_acq)
9778 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9779 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9780 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9781
a98275aa
UD
97822011-12-02 Joseph Myers <joseph@codesourcery.com>
9783
9784 * sysdeps/sh/backtrace.c: New file.
9785
d4cc29a2
AS
97862011-12-02 Andreas Schwab <schwab@redhat.com>
9787
9788 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9789 parenthesis.
9790
6257af2d
AS
97912011-12-01 Andreas Schwab <schwab@redhat.com>
9792
9793 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9794 falling back to utime.
9795
b5f44c1a
AS
97962011-11-30 Andreas Schwab <schwab@redhat.com>
9797
9798 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9799 expectations for float.
9800
f3a6cc0a
AS
98012011-11-29 Andreas Schwab <schwab@redhat.com>
9802
9803 * locale/weight.h (findidx): Add parameter len.
9804 * locale/weightwc.h (findidx): Likewise.
9805 * posix/fnmatch_loop.c (FCT): Adjust caller.
9806 * posix/regcomp.c (build_equiv_class): Likewise.
9807 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9808 * posix/regexec.c (check_node_accept_bytes): Likewise.
9809 * string/strcoll_l.c (STRCOLL): Likewise.
9810 * string/strxfrm_l.c (STRXFRM): Likewise.
9811
9d65ea3a
UD
98122011-11-17 Ulrich Drepper <drepper@gmail.com>
9813
9814 * Makefile.in: Remove CVSOPT handling.
9815 * configure.in: Remove use of AC_REVISION.
9816 * iconvdata/Makefile (distribute): No need to filter out CVS.
9817 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9818 handling.
9819
5583a086
AS
98202011-11-16 Andreas Schwab <schwab@redhat.com>
9821
9822 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9823 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9824 [USE_AS_STRNCASECMP_L]: Likewise.
9825 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9826 NO_TLS_DIRECT_SEG_REFS.
9827 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9828 Fix argument offsets for non-PIC.
9829 [USE_AS_STRNCASECMP_L]: Likewise.
9830 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9831 NO_TLS_DIRECT_SEG_REFS.
9832
d62a8200
UD
98332011-11-15 Ulrich Drepper <drepper@gmail.com>
9834
9d65ea3a 9835 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
9836 O_CLOEXEC.
9837 * locale/loadlocale.c (_nl_load_locale): Likewise.
9838
09f93bd3
AS
98392011-11-15 Andreas Schwab <schwab@redhat.com>
9840
446514f9
AS
9841 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9842 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9843 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9844 (SYSCALL_GETTIME): Set errno on error.
9845
09f93bd3
AS
9846 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9847 count references to noai6ai_cached.
9848
312be3f9
UD
98492011-11-15 Ulrich Drepper <drepper@gmail.com>
9850
9851 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9852
9853 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9854 FD_CLOEXEC for /proc/self/maps.
9855
9856 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9857 FD_CLOEXEC for /proc/meminfo.
9858
9859 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9860 gai.conf.
9861
9862 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9863 FD_CLOEXEC for given file.
9864
9865 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9866
9867 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9868 FD_CLOEXEC for /etc/hosts.
9869 (_gethtent): Likewise.
9870
9871 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9872
9873 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9874 cancellation and set FD_CLOEXEC for /etc/netgroup.
9875
9876 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9877 reading /etc/publickey.
9878
9879 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9880 allow cancellation when reading /etc/group.
9881
9882 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9883 cancellation.
9884 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9885
9886 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9887 when using data file.
9888
9889 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9890
9891 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9892 (write_nis_obj): Use "c" and "e" in fopen.
9893
9894 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9895
9896 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9897
9898 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9899
9900 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9901
9902 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9903 locale.alias.
9904
9905 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9906
9907 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9908
9909 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9910
9911 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9912 file parsing and set FD_CLOEXEC.
9913
82af0fa8
UD
99142011-11-14 Ulrich Drepper <drepper@gmail.com>
9915
9916 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9917
a5fb313c
AS
99182011-11-14 Andreas Schwab <schwab@redhat.com>
9919
9920 * malloc/arena.c (arena_get2): Don't call reused_arena when
9921 _int_new_arena failed.
9922
6abf3465
UD
99232011-11-14 Ulrich Drepper <drepper@gmail.com>
9924
9925 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9926 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9927 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9928 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9929 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9930 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9931 to compile strcasecmp and strncasecmp.
9932 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9933 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9934
9935 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9936
76e3966e
UD
99372011-11-13 Ulrich Drepper <drepper@gmail.com>
9938
9939 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9940 locale-defines.sym to gen-as-const-headers.
9941 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9942 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9943 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9944 to compile strcasecmp and strncasecmp.
9945 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9946 strcasecmp_l and strncasecmp_l.
9947 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9948 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9949 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9950 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9951 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9952 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9953 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9954 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9955 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9956 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9957 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9958
ab26144e
UD
99592011-11-12 Ulrich Drepper <drepper@gmail.com>
9960
7edb22ef
UD
9961 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9962 result of SYSDEP_GETTIME_CPU to retval.
9963 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9964 parameter list to macro. Remove trailing semicolon. Adjust users.
9965
9694fc44
UD
9966 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9967 variable.
9968
8ad89ef8
UD
9969 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9970 mantissa words.
9971 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9972
0c822ef9
UD
9973 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9974 from unused variable.
9975
874e0564
UD
9976 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9977 DWARF definitions.
9978 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9979 for assembling.
9980
3a2edc79
UD
9981 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9982 over namespaces.
9983
f3c2577f
UD
9984 * sunrpc/rpc_prot.c (rejected): Fix case value.
9985
294ce126
UD
9986 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9987 unsigned long long int to avoid warnings in shift.
9988
5e2b63c6
UD
9989 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9990 of use of trans.
9991 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9992 variable tmp.
9993
e7f4b08e
UD
9994 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9995 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9996 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9997
ab26144e
UD
9998 * nis/nis_table.c (nis_list): Use variable of correct type for
9999 result of __follow_path call.
10000
8a6d5255
AZ
100012011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10002
10003 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10004 of math functions ceil, trunc, floor, round, and sqrt, when
10005 avaliable on the platform.
10006 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10007 name clash.
10008 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10009 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10010 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10011
aaddc98c
MP
100122011-10-30 Marek Polacek <mpolacek@redhat.com>
10013
10014 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10015 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10016
95b7042b
RM
100172011-11-11 Roland McGrath <roland@hack.frob.com>
10018
10019 * include/unistd.h: Fix __readlink return type.
10020 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10021
57769839
UD
100222011-11-11 Ulrich Drepper <drepper@gmail.com>
10023
10024 * stdlib/ucontext.h: Undo last change for makecontext.
10025
edc5984d
AS
100262011-11-11 Andreas Schwab <schwab@redhat.com>
10027
98591e58
AS
10028 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10029
edc5984d
AS
10030 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10031 * setjmp/setjmp.h: Mark functions as non-leaf.
10032 * setjmp/bits/setjmp2.h: Likewise.
10033 * stdlib/ucontext.h: Likewise.
10034
77cdc054
AS
100352011-11-10 Andreas Schwab <schwab@redhat.com>
10036
10037 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10038 (reused_arena): Don't check arena limit.
10039 (arena_get2): Atomically check arena limit.
10040
fe72eebd
UD
100412011-11-08 Ulrich Drepper <drepper@gmail.com>
10042
5f078c32
UD
10043 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10044 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10045
fe72eebd
UD
10046 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10047 instructions.
10048
ae1bc2fa
AS
100492011-11-07 Andreas Schwab <schwab@redhat.com>
10050
7583a88d
AS
10051 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10052 handler when locking.
10053
ae1bc2fa
AS
10054 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10055 Fix size of allocated buffer.
10056
10fb0bfa
AS
100572011-11-04 Andreas Schwab <schwab@redhat.com>
10058
998832a4
AS
10059 [BZ #10103]
10060 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10061 declarations for long double functions.
10062 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10063
10fb0bfa
AS
10064 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10065
3d7ba52b
AS
100662011-11-03 Andreas Schwab <schwab@redhat.com>
10067
a9ae54a1
AS
10068 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10069 installed.
10070
3d7ba52b
AS
10071 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10072 is disabled.
10073
bc8db248
ST
100742011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10075
10076 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10077
45b96dd6
AS
100782011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10079
647776f6
AS
10080 * include/alloca.h (stackinfo_alloca_round): Define.
10081 (extend_alloca): Use it.
10082 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10083 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10084 here.
10085
d91a8b93
AS
10086 * scripts/check-local-headers.sh: Ignore libaudit.h.
10087
45b96dd6
AS
10088 * nscd/Makefile (extra-objs): Make recursively expanded.
10089
432d41ce
UD
100902011-11-01 Ulrich Drepper <drepper@gmail.com>
10091
34372fc6
UD
10092 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10093 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10094
fadb59f8
UD
10095 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10096 * posix/tst-rfc3484-2.c: Likewise.
10097 * posix/tst-rfc3484-3.c: Likewise.
10098
78239589
UD
10099 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10100 process_vm_writev.
10101 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10102 process_vm_writev.
10103 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10104 process_vm_writev from libc using GLIBC_2.15 version.
10105
432d41ce
UD
10106 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10107
02f9c6cf
PP
101082011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10109
10110 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10111 stack usage.
10112
3a2c0242
UD
101132011-10-31 Ulrich Drepper <drepper@gmail.com>
10114
f4ec4833
UD
10115 [BZ #13367]
10116 * nss/getent.c (initgroups_keys): Show error message in case no group
10117 names are given.
10118
3a2c0242
UD
10119 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10120 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10121 __bump_nl_timestamp.
10122 * nscd/connections (nscd_init): When host database is served open
10123 netlink socket and request notification about configuration changes.
10124 (main_loop_poll): Track netlink file descriptor and bump timestamp
10125 in case data becomes available.
10126 (main_loop_epoll): Likewise.
10127 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10128 (database_pers_head): Add extra_data fileds.
10129 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10130 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10131 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10132 Adjust caller.
10133 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10134 in6ai data, call __free_in6ai.
10135 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10136 Add -DHAVE_NETLINK.
10137 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10138 interface information. Reuse previous data if netlink timestamp
10139 is not changed.
10140 (__bump_nl_timestamp): New function.
10141 (__free_in6ai): New function.
10142
636064eb
UD
101432011-10-30 Ulrich Drepper <drepper@gmail.com>
10144
10145 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10146 close_not_cancel_no_status here.
10147 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10148
9beb2334
UD
101492011-10-29 Ulrich Drepper <drepper@gmail.com>
10150
6ef76f3b
UD
10151 [BZ #13276]
10152 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10153 return value.
10154
0ffc4f3e 10155 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10156 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10157 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10158
cb95113e
UD
101592011-07-03 Andreas Jaeger <aj@suse.de>
10160
10161 [BZ #10709]
10162 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10163 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10164 * math/libm-test.inc (sin_test): Add test case.
10165
a1b560ff
UD
101662011-10-29 Ulrich Drepper <drepper@gmail.com>
10167
c9aaface
UD
10168 [BZ #13337]
10169 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10170 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10171
d272e7f1
UD
10172 * elf/chroot_canon.c (chroot_canon): Cleanups.
10173
1bc33071
UD
10174 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10175
1760874d
TJ
10176 [BZ #13335]
10177 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10178 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10179
51d91b18
UD
10180 * string/test-strchr.c: Make usable for strchrnul testing.
10181 * string/test-strchrnul.c: New file.
10182 * string/Makefile (strop-tests): Add strchrnul.
10183
a1b560ff 10184 * po/it.po: Update from translation team.
b611fb81 10185 * po/es.po: Likewise.
a1b560ff 10186
a5b81e1f
UD
101872011-10-28 Ulrich Drepper <drepper@gmail.com>
10188
fd52bc6d
UD
10189 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10190 the three constants needed as parameters. Drop the others.
10191 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10192 __m128i_strloadu_tolower.
52e4b9eb
UD
10193 Create and initialize variable zero and use it in all the places
10194 where _mm_setzero_si128 was used.
fd52bc6d 10195
a5b81e1f
UD
10196 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10197 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10198 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10199 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10200 anymore.
10201 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10202 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10203 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10204 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10205 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10206 __mpranred, __mptan.
10207 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10208 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10209 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10210 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10211 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10212 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10213 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10214 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10215 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10216
b4343346
AS
102172011-10-28 Andreas Schwab <schwab@redhat.com>
10218
0c92d8a8
AS
10219 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10220 redefine if SHARED.
10221 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10222
b4343346
AS
10223 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10224 wide char related routines to wcsmbs subdir.
10225
3871f58f
AS
102262011-10-27 Andreas Schwab <schwab@redhat.com>
10227
10228 [BZ #13344]
10229 * misc/sys/cdefs.h (__THROWNL): Define.
10230 * posix/unistd.h: Use __THREADNL instead of __THREAD
10231 for memory synchronization functions.
10232
94d44d9f
RM
102332011-10-26 Roland McGrath <roland@hack.frob.com>
10234
21b64b15 10235 [BZ #13349]
94d44d9f
RM
10236 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10237 doesn't exist.
10238 * manual/stdio.texi (Obstack Streams): Node removed.
10239
f6ce9294
AS
102402011-10-26 Andreas Schwab <schwab@redhat.com>
10241
80479147
AS
10242 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10243 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10244 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10245
f6ce9294
AS
10246 * math/math_private.h (math_force_eval): Allow non-addressable
10247 arguments.
10248 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10249
618280a1
UD
102502011-10-25 Ulrich Drepper <drepper@gmail.com>
10251
e0016b11
UD
10252 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10253 file is not needed.
10254
10255 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10256 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10257 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10258 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10259 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10260 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10261 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10262 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10263 Add AVX variants.
10264 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10265 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10266 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10267 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10268 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10269 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10270 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10271 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10272 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10273 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10274 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10275 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10276 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10277 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10278 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10279 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10280 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10281 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10282 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10283
10284 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10285 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10286
618280a1
UD
10287 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10288 place. Use VEX encoding when compiling for AVX.
10289
37822576
AS
102902011-10-25 Andreas Schwab <schwab@redhat.com>
10291
1f1e1947
AS
10292 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10293 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10294
37822576
AS
10295 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10296
31ea014d
UD
102972011-10-25 Ulrich Drepper <drepper@gmail.com>
10298
d7826aa1 10299 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10300 useless if() expression.
d7826aa1
UD
10301 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10302 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10303 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10304 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10305 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10306 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10307 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10308 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10309 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10310 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10311 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10312 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10313 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10314 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10315 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10316 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10317 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10318 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10319 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10320
31ea014d
UD
10321 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10322
16437fec
AS
103232011-10-25 Andreas Schwab <schwab@redhat.com>
10324
10325 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10326 condition.
10327 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10328
31d3cc00
UD
103292011-10-25 Ulrich Drepper <drepper@gmail.com>
10330
10331 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10332 .text section. Avoid duplicate constants.
10333 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10334 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10335 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10336 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10337 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10338 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10339 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10340 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10341 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10342 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10343 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10344 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10345 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10346 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10347 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10348 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10349 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10350 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10351 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10352 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10353 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10354 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10355 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10356 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10357 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10358 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10359 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10360 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10361 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10362 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10363 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10364 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10365 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10366 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10367 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10368 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10369 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10370 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10371 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10372 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10373 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10374 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10375 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10376 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10377 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10378
58985aa9
UD
103792011-10-24 Ulrich Drepper <drepper@gmail.com>
10380
202c9deb
UD
10381 * sysdeps/x86_64/dla.h: Move to ...
10382 * sysdeps/x86_64/fpu/dla.h: ...here.
10383 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10384 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10385
af968f62
UD
10386 * config.make.in: Add have-mfma4 entry.
10387 * configure.in: Substitute libc_cv_cc_fma4.
10388 * math/Makefile (dbl-only-routines): Add sincostab.
10389 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10390 Use __sincostab not sincos.
10391 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10392 name is a macro.
10393 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10394 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10395 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10396 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10397 using __copysign.
10398 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10399 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10400 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10401 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10402 and __inv.
10403 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10404 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10405 __copysign.
10406 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10407 define aliases when function name is a macro.
10408 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10409 sysdeps/ieee754/dbl-64/sincos.tbl.
10410 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10411 fma4-enabled routines.
10412 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10413 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10414 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10415 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10416 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10417 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10418 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10419 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10420 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10421 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10422 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10423 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10424 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10425 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10426 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10427 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10428 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10429 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10430 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10431 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10432 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10433 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10434 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10435 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10436 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10437 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10438 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10439 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10440 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10441 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10442
58985aa9
UD
10443 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10444 rename.
10445 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10446 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10447 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10448 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10449 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10450 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10451 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10452 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10453
a201fbcf
AS
104542011-10-24 Andreas Schwab <schwab@redhat.com>
10455
10456 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10457
fc2ee42a
LD
104582011-10-23 Ulrich Drepper <drepper@gmail.com>
10459
bb3129bd
UD
10460 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10461
0275fff8
UD
10462 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10463 prediction.
10464 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10465
2fa2ae85
UD
10466 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10467 Remove unused variable magic_bits.
10468 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10469
fc2ee42a
LD
10470 * string/strnlen.c: Define and use STRNLEN macro.
10471 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10472 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10473 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10474 * wcsmbs/wcslen.c: Define and use WCSLEN.
10475 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10476 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10477 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10478 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10479 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10480 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10481 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10482
ce7dd29f
LD
104832011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10484
10485 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10486 strnlen-sse2-no-bsf.
10487 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10488 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10489 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10490 Add strnlen support.
10491 (USE_AS_STRNLEN): New macro.
10492 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10493 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10494 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10495 * sysdeps/x86_64/wcslen.S: New file.
10496
979c70a3
MZ
104972011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10498
10499 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10500 XMM-moves are used for copying on small sizes.
10501
2d09f82f
LD
105022011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10503
10504 * wcsmbs/Makefile (strop-tests): Add wcschr.
10505 * wcsmbs/test-wcschr.c: New file.
10506 * string/test-strchr.c: Update.
10507 Add wcschr support.
10508 (WIDE): New macro.
10509
619fccca
LD
105102011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10511
2d09f82f 10512 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
10513 * wcsmbs/test-wcslen.c: New file.
10514 * string/test-strlen.c: Update.
10515 Add wcslen support.
10516 (WIDE): New macro.
10517
09f699ea
UD
105182011-10-23 Ulrich Drepper <drepper@gmail.com>
10519
10520 * po/it.po: Update from translation team.
10521
95584d3b
LD
105222011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10523
10524 * sysdeps/x86_64/wcscmp.S: Update.
10525 Fix wrong comparison semantics.
10526 wcscmp shall use signed comparison not unsigned.
10527 Don't use substraction to avoid overflow bug.
10528 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10529 * wcsmbc/wcscmp.c: Likewise.
10530 * string/test-strcmp.c: Likewise.
10531 Add new tests to check cases with negative values.
10532
c8b3296b
UD
105332011-10-23 Ulrich Drepper <drepper@gmail.com>
10534
10535 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10536 * sysdeps/x86_64/dla.h: ...here. New file.
10537 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10538 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10539 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10540 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10541 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10542 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10543 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10544 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10545 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10546
246ad57a
AS
105472011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10548
10549 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10550 __ynl_finite aliases.
10551
a1a87169
UD
105522011-10-22 Ulrich Drepper <drepper@gmail.com>
10553
0d355eb7
UD
10554 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10555
a1a87169
UD
10556 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10557 define DLA_FMA.
10558 [DLA_FMA] (EMULV): Use DLA_FMA.
10559 [DLA_FMA] (MUL12): Use EMULV.
10560 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10561 that are not needed.
10562 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10563 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10564 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10565 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10566 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10567 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10568 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10569
ee2aafe0
AS
105702011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10571
10572 * math/s_nan.c: Undef __nan.
10573 * math/s_nanf.c: Undef __nanf.
10574 * math/s_nanl.c: Undef __nanl.
10575 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10576 "math_private.h".
10577
bc62c2fb
UD
105782011-10-22 Ulrich Drepper <drepper@gmail.com>
10579
77425c63
UD
10580 * math/s_catan.c: Add branch predictions.
10581 * math/s_catanf.c: Likewise.
10582 * math/s_catanh.c: Likewise.
10583 * math/s_catanhf.c: Likewise.
10584 * math/s_catanhl.c: Likewise.
10585 * math/s_catanl.c: Likewise.
10586 * math/s_cexp.c: Likewise.
10587 * math/s_cexpf.c: Likewise.
10588 * math/s_cexpl.c: Likewise.
10589 * math/s_clog.c: Likewise.
10590 * math/s_clog10.c: Likewise.
10591 * math/s_clog10f.c: Likewise.
10592 * math/s_clog10l.c: Likewise.
10593 * math/s_clogf.c: Likewise.
10594 * math/s_clogl.c: Likewise.
10595 * math/s_csqrt.c: Likewise.
10596 * math/s_csqrtf.c: Likewise.
10597 * math/s_csqrtl.c: Likewise.
10598 * math/s_ctanf.c: Likewise.
10599 * math/s_ctanh.c: Likewise.
10600 * math/s_ctanhf.c: Likewise.
10601 * math/s_ctanhl.c: Likewise.
10602 * math/s_ctanl.c: Likewise.
10603
bc62c2fb
UD
10604 * math/math_private.h: Define __nan, __nanf, __nanl.
10605 * math/s_cacosh.c: Include <math_private.h>.
10606 * math/s_cacoshl.c: Likewise.
10607 * math/s_casinh.c: Likewise.
10608 * math/s_casinhf.c: Likewise.
10609 * math/s_casinhl.c: Likewise.
10610 * math/s_ccos.c: Rely entire on ccosh.
10611 * math/s_ccosf.c: Rely entire on ccoshf.
10612 * math/s_ccosl.c: Rely entirely on ccoshl.
10613 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10614 Remove tests for FE_INVALID.
10615 * math/s_ccoshf.c: Likewise.
10616 * math/s_ccoshl.c: Likewise.
10617 * math/s_csin.c: Likewise.
10618 * math/s_csinf.c: Likewise.
10619 * math/s_csinh.c Likewise.
10620 * math/s_csinhf.c: Likewise.
10621 * math/s_csinhl.c: Likewise.
10622 * math/s_csinl.c: Likewise.
10623 * math/s_ctan.c: Likewise.
10624 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10625 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10626 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10627
8ec250a4
UD
106282011-10-21 Ulrich Drepper <drepper@gmail.com>
10629
c196fed8
UD
10630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10631 compilation problems.
10632
8ec250a4
UD
10633 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10634 __builtin_expect.
10635
8d4f46c6
UD
106362011-10-20 Ulrich Drepper <drepper@gmail.com>
10637
ed72b654
UD
10638 * sysdeps/i386/configure.in: Test for -mfma4 option.
10639 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10640 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10641 COMMON_CPUID_INDEX_80000001.
10642 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10643 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10644 use it if FMA3 is not supported.
10645 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10646
8d4f46c6
UD
10647 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10648 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10649
d45c60c2
AS
106502011-10-20 Andreas Schwab <schwab@redhat.com>
10651
10652 [BZ #12892]
10653 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10654 it would create a cycle with a link time dependency.
10655
d9a4d2ab
UD
106562011-10-19 Ulrich Drepper <drepper@gmail.com>
10657
855d1560
UD
10658 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10659 instruction.
10660 * string/Makefile (strop-tests): Add rawmemchr.
10661 * string/test-rawmemchr.c: New file.
10662
d9a4d2ab
UD
10663 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10664 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10665 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10666 when compiling str{,n}casecmp and when AVX is available. Hook up
10667 new optimized code in initializers.
10668
8f3b1ffe
AS
106692011-10-19 Andreas Schwab <schwab@redhat.com>
10670
10671 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10672 __feraiseexcept instead of feraiseexcept.
10673
d38f1dba
UD
106742011-10-18 Ulrich Drepper <drepper@gmail.com>
10675
d9a8d0ab
UD
10676 * math/math_private.h: Define defaults for libc_fetestexcept and
10677 libc_feupdateenv.
10678 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10679 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10680 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10681 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10682 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10683 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10684 libc_fetestexcept and libc_feupdateenv.
10685
4855e3dd
UD
10686 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10687 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10688 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10689 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10690 libc_feholdexcept_setround.
10691
581d30e3
UD
10692 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10693 Add s_nearbyint-c and s_nearbyintf-c.
10694 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10695 nearbyintf inlines.
10696 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10697 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10698 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10699 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10700
d38f1dba
UD
10701 * math/math_private.h: Define defaults for libc_fegetround,
10702 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10703 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10704 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10705 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10706 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10707 standard functions.
10708 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10709 Remove comments and hacks for old compiler versions.
10710 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10711 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10712 libc_feholdexceptl.
10713
caa6c9d8
AS
107142011-10-18 Andreas Schwab <schwab@redhat.com>
10715
10716 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
10717 (__feraiseexcept_renamed): Add __NTH.
10718 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
10719 namespace violations.
10720
97c066e6
UD
107212011-10-17 Ulrich Drepper <drepper@gmail.com>
10722
99ce7b04
UD
10723 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10724
1004d182
UD
10725 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10726
228a984d
UD
10727 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10728 recently added interfaces.
10729 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10730
c8553a6a
UD
10731 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10732 about macro parameter expansion.
10733
ed22dcf6
UD
10734 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10735 __NO_MATH_INLINES is defined. Cleanups.
10736
10737 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10738 and __floorf is target has SSE4.1.
10739 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10740 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10741 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10742 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10743
b171c137
UD
10744 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10745 name.
10746 (floorf): Likewise.
10747
97c066e6
UD
10748 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10749
629f62ef
AS
107502011-10-17 Andreas Schwab <schwab@redhat.com>
10751
49a43d80
AS
10752 * misc/sys/cdefs.h: Fix last change.
10753
629f62ef
AS
10754 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10755 database lookup.
10756
e453f6cd
UD
107572011-10-16 Ulrich Drepper <drepper@gmail.com>
10758
aa78043a
UD
10759 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10760
ad0f5cad
UD
10761 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10762 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10763 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10764 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10765 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10766 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10767 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10768 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10769 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10770 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10771 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10772 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10773 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10774 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10775 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10776 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10777 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10778 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10779 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10780 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10781 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10782 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10783
10784 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10785 ceil, ceilf, floor, floorf.
10786
10787 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10788 Perform IRELATIVE relocations last.
10789
e453f6cd
UD
10790 * elf/do-rel.h: Add another parameter nrelative, replacing the
10791 local variable with the same name. Change name of the function
10792 to end in Rel or Rela (uppercase).
10793 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10794 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10795 elf_dynamic_do_##reloc function.
10796
fd5bdc09
UD
107972011-10-15 Ulrich Drepper <drepper@gmail.com>
10798
79b195b5
UD
10799 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10800 is sufficient, at least on modern CPUs.
10801
d4a28569
UD
10802 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10803
b61099b5
UD
10804 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10805 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10806
bcf01e6d
UD
10807 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10808 __expl_finite.
10809 * math/bits/math-finite.h: Add entries for exp.
10810 * math/e_expl.c: Add __*_finite alias.
10811 * sysdeps/i386/fpu/e_exp.S: Likewise.
10812 * sysdeps/i386/fpu/e_expf.S: Likewise.
10813 * sysdeps/i386/fpu/e_expl.c: Likewise.
10814 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10815 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10816 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10817 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10818 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10819 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10820 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10821
ba1a0d59
UD
10822 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10823 is sufficient, at least on modern CPUs.
10824
fd5bdc09
UD
10825 * ctype/ctype-info.c (__ctype_init): Define.
10826 * include/ctype.h (__ctype_init): Declare.
10827 (__ctype_b_loc): The variable is always initialized.
10828 (__ctype_toupper_loc): Likewise.
10829 (__ctype_tolower_loc): Likewise.
10830 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10831 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10832
7872cfb0
AS
108332011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10834
b468825a
AS
10835 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10836
7872cfb0
AS
10837 * configure.in: Also look in $cxxmachine/include for C++ system
10838 headers.
10839
be13f7bf
LD
108402011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10841
10842 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10843 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10844 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10845 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10846 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10847 (USE_AS_WMEMCMP): New macro.
10848 Fixing indents.
10849 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10850 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10851 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10852 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10853 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10854 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10855 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10856 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10857 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10858 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10859 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10860 (USE_AS_WMEMCMP): New macro.
10861 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10862 * sysdeps/string/test-memcmp.c: Update.
10863 Fix simple_wmemcmp.
10864 Add new tests.
10865 * wcsmbs/wmemcmp.c: Update.
10866 (WMEMCMP): New macro.
10867 Fix overflow bug.
10868
556a2007
AJ
108692011-10-12 Andreas Jaeger <aj@suse.de>
10870
10871 [BZ #13268]
10872 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10873
538faaa7
UD
108742011-10-15 Ulrich Drepper <drepper@gmail.com>
10875
ab6737ff
UD
10876 * libio/iofwide.c (do_length): Avoid warning.
10877
538faaa7
UD
10878 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10879
396a21b1
UD
108802011-10-14 Ulrich Drepper <drepper@gmail.com>
10881
cdf2901f
UD
10882 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10883
38ad40ce
UD
10884 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10885 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10886 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10887 * sysdeps/i386/i686/fpu/e_log.S: New file.
10888 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10889 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10890
396a21b1
UD
10891 * ctype/ctype.h: Add support for inlined isXXX functions when
10892 compiling C++ code.
10893
6b1f68c9
AS
108942011-10-14 Andreas Schwab <schwab@redhat.com>
10895
349290c0
AS
10896 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10897
6b1f68c9
AS
10898 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10899
f2282d42
RM
109002011-10-13 Roland McGrath <roland@hack.frob.com>
10901
10902 [BZ #13291]
10903 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10904
5298ffa8
AS
109052011-10-13 Andreas Schwab <schwab@redhat.com>
10906
714fad23
AS
10907 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10908 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10909 feraiseexcept.
10910
81dcc7fb
AS
10911 * sysdeps/x86_64/memrchr.S: Check for zero size.
10912
5298ffa8
AS
10913 * string/stratcliff.c: Add memrchr tests.
10914
951fbcec
LD
109152011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10916
10917 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10918 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10919 rawmemchr-sse2 rawmemchr-sse2-bsf.
10920 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10921 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10922 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10923 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10924 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10925 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10926 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10927 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10928 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10929 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10930 * string/memrchr.c (MEMRCHR): New macro.
10931
0ac5ae23
UD
109322011-10-12 Ulrich Drepper <drepper@gmail.com>
10933
10934 Add integration with gcc's -ffinite-math-only and optimize wrapper
10935 functions in libm.
10936 * Versions.def: Define GLIBC_2.15 version for libm.
10937 * math/Makefile (headers): Add bits/math-finite.h.
10938 * math/bits/math-finite.h: New file.
10939 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10940 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10941 * math/e_acoshl.c: Add __*_finite alias.
10942 * math/e_acosl.c: Likewise.
10943 * math/e_asinl.c: Likewise.
10944 * math/e_atan2l.c: Likewise.
10945 * math/e_atanhl.c: Likewise.
10946 * math/e_coshl.c: Likewise.
10947 * math/e_exp10.c: Likewise.
10948 * math/e_exp10f.c: Likewise.
10949 * math/e_exp10l.c: Likewise.
10950 * math/e_exp2l.c: Likewise.
10951 * math/e_fmodl.c: Likewise.
10952 * math/e_gammal_r.c: Likewise.
10953 * math/e_hypotl.c: Likewise.
10954 * math/e_j0l.c: Likewise.
10955 * math/e_j1l.c: Likewise.
10956 * math/e_jnl.c: Likewise.
10957 * math/e_lgammal_r.c: Likewise.
10958 * math/e_log10l.c: Likewise.
10959 * math/e_log2l.c: Likewise.
10960 * math/e_logl.c: Likewise.
10961 * math/e_powl.c: Likewise.
10962 * math/e_sinhl.c: Likewise.
10963 * math/e_sqrtl.c: Likewise.
10964 * math/e_scalb.c: Completely rewritten and optimized.
10965 * math/e_scalbf.c: Likewise.
10966 * math/e_scalbl.c: Likewise.
10967 * math/w_acos.c: Likewise.
10968 * math/w_acosf.c: Likewise.
10969 * math/w_acosl.c: Likewise.
10970 * math/w_acosh.c: Likewise.
10971 * math/w_acoshf.c: Likewise.
10972 * math/w_acoshl.c: Likewise.
10973 * math/w_asin.c: Likewise.
10974 * math/w_asinf.c: Likewise.
10975 * math/w_asinl.c: Likewise.
10976 * math/w_atan2.c: Likewise.
10977 * math/w_atan2f.c: Likewise.
10978 * math/w_atan2l.c: Likewise.
10979 * math/w_atanh.c: Likewise.
10980 * math/w_atanhf.c: Likewise.
10981 * math/w_atanhl.c: Likewise.
10982 * math/w_exp10.c: Likewise.
10983 * math/w_exp10f.c: Likewise.
10984 * math/w_exp10l.c: Likewise.
10985 * math/w_fmod.c: Likewise.
10986 * math/w_fmodf.c: Likewise.
10987 * math/w_fmodl.c: Likewise.
10988 * math/w_j0.c: Likewise.
10989 * math/w_j0f.c: Likewise.
10990 * math/w_j0l.c: Likewise.
10991 * math/w_j1.c: Likewise.
10992 * math/w_j1f.c: Likewise.
10993 * math/w_j1l.c: Likewise.
10994 * math/w_jn.c: Likewise.
10995 * math/w_jnf.c: Likewise.
10996 * math/w_log.c: Likewise.
10997 * math/w_logf.c: Likewise.
10998 * math/w_logl.c: Likewise.
10999 * math/w_log10.c: Likewise.
11000 * math/w_log10f.c: Likewise.
11001 * math/w_log10l.c: Likewise.
11002 * math/w_log2.c: Likewise.
11003 * math/w_log2f.c: Likewise.
11004 * math/w_log2l.c: Likewise.
11005 * math/w_pow.c: Likewise.
11006 * math/w_powf.c: Likewise.
11007 * math/w_powl.c: Likewise.
11008 * math/w_remainder.c: Likewise.
11009 * math/w_remainderf.c: Likewise.
11010 * math/w_remainderl.c: Likewise.
11011 * math/w_scalb.c: Likewise.
11012 * math/w_scalbf.c: Likewise.
11013 * math/w_scalbl.c: Likewise.
11014 * math/w_sqrt.c: Likewise.
11015 * math/w_sqrtf.c: Likewise.
11016 * math/w_sqrtl.c: Likewise.
11017 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11018 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11019 used.
11020 * math/math_private.h: Declare __kernel_standard_f.
11021 * math/w_cosh.c: Remove cruft and optimize a bit.
11022 * math/w_coshf.c: Likewise.
11023 * math/w_coshl.c: Likewise.
11024 * math/w_exp2.c: Likewise.
11025 * math/w_exp2f.c: Likewise.
11026 * math/w_exp2l.c: Likewise.
11027 * math/w_hypot.c: Likewise.
11028 * math/w_hypotf.c: Likewise.
11029 * math/w_hypotl.c: Likewise.
11030 * math/w_lgamma.c: Likewise.
11031 * math/w_lgamma_r.c: Likewise.
11032 * math/w_lgammaf.c: Likewise.
11033 * math/w_lgammaf_r.c: Likewise.
11034 * math/w_lgammal.c: Likewise.
11035 * math/w_lgammal_r.c: Likewise.
11036 * math/w_sinh.c: Likewise.
11037 * math/w_sinhf.c: Likewise.
11038 * math/w_sinhl.c: Likewise.
11039 * math/w_tgamma.c: Likewise.
11040 * math/w_tgammaf.c: Likewise.
11041 * math/w_tgammal.c: Likewise.
11042 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11043 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11044 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11045 Minor optimizations. Pretty printing. Remove cruft.
11046 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11047 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11048 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11049 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11050 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11051 * sysdeps/i386/fpu/e_asin.S: Likewise.
11052 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11053 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11054 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11055 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11056 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11057 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11058 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11059 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11060 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11061 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11062 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11063 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11064 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11065 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11066 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11067 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11068 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11069 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11070 * sysdeps/i386/fpu/e_log.S: Likewise.
11071 * sysdeps/i386/fpu/e_log10.S: Likewise.
11072 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11073 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11074 * sysdeps/i386/fpu/e_log2.S: Likewise.
11075 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11076 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11077 * sysdeps/i386/fpu/e_logf.S: Likewise.
11078 * sysdeps/i386/fpu/e_logl.S: Likewise.
11079 * sysdeps/i386/fpu/e_pow.S: Likewise.
11080 * sysdeps/i386/fpu/e_powf.S: Likewise.
11081 * sysdeps/i386/fpu/e_powl.S: Likewise.
11082 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11083 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11084 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11085 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11086 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11087 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11088 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11089 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11090 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11091 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11092 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11093 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11094 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11095 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11096 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11097 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11098 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11099 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11100 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11101 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11102 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11103 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11104 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11105 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11106 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11107 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11108 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11109 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11110 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11111 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11112 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11113 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11114 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11115 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11116 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11117 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11118 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11119 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11120 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11121 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11122 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11123 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11124 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11125 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11126 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11127 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11128 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11129 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11130 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11131 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11132 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11133 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11134 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11135 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11136 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11137 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11138 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11139 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11140 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11141 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11142 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11143 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11144 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11145 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11146 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11147 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11148 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11149 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11150 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11151 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11152 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11153 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11154 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11155 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11156 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11157 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11158 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11159 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11160 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11161 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11162 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11163 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11164 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11165 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11166 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11167 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11168 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11169 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11170 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11171 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11172 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11173 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11174 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11175 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11176 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11177 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11178 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11179 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11180 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11181 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11182 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11183 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11184 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11185 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11186 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11187 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11188 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11189 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11190 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11191 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11192 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11193 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11194 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11195 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11196 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11197 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11198 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11199 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11200 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11201 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11202 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11203 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11204 (__isnanf): Likewise.
11205 (__isinf_ns): Likewise.
11206 (__isinf_nsf): Likewise.
11207 (__finite): Likewise.
11208 (__finitef): Likewise.
11209 (__ieee754_sqrt): Define as macro.
11210 (__ieee754_sqrtf): Define as macro.
11211 (__ieee754_sqrtl): Define as macro.
11212 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11213 inlined copy.
11214 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11215 __FINITE_MATH_ONLY__ consistent.
11216 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11217
12cc2fcd
AS
112182011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11219
a843a204
AS
11220 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11221 of rawmemchr.
11222
12cc2fcd
AS
11223 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11224
c853acd5
UD
112252011-10-09 Ulrich Drepper <drepper@gmail.com>
11226
11227 * po/ja.po: Update from translation team.
11228
c658d255
RM
112292011-10-08 Roland McGrath <roland@hack.frob.com>
11230
110946e4
RM
11231 * locale/programs/locarchive.c (prepare_address_space): New function.
11232 (create_archive, enlarge_archive, open_archive): Use it.
11233
50604220
RM
11234 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11235 inside [SHARED], where it is used.
11236
c658d255
RM
11237 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11238
11239 * nss/getent.c (netgroup_keys): Remove unused variable.
11240 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11241
6a621eb7
UD
112422011-10-08 Ulrich Drepper <drepper@gmail.com>
11243
7edb55ce
UD
11244 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11245 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11246 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11247 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11248 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11249 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11250 * math/Makefile (libm-calls): Add s_isinf_ns.
11251 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11252 * math/multc3.c: Likewise.
11253 * math/s_casin.c: Likewise.
11254 * math/s_casinf.c: Likewise.
11255 * math/s_casinl.c: Likewise.
11256 * math/s_ccos.c: Likewise.
11257 * math/s_ccosf.c: Likewise.
11258 * math/s_ccosl.c: Likewise.
11259 * math/s_ctan.c: Likewise.
11260 * math/s_ctanf.c: Likewise.
11261 * math/s_ctanh.c: Likewise.
11262 * math/s_ctanhf.c: Likewise.
11263 * math/s_ctanhl.c: Likewise.
11264 * math/s_ctanl.c: Likewise.
11265 * math/w_fmod.c: Likewise.
11266 * math/w_fmodf.c: Likewise.
11267 * math/w_fmodl.c: Likewise.
11268 * math/w_remainder.c: Likewise.
11269 * math/w_remainderf.c: Likewise.
11270 * math/w_remainderl.c: Likewise.
11271 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11272 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11273 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11274 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11275 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11276 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11277 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11278 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11279
187da0ae
UD
11280 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11281 of the number.
11282 * stdio-common/printf_fphex.c: Likewise.
11283 * stdio-common/printf_size.c: Likewise.
11284
9277c064
UD
11285 * math/e_exp10.c: Include math_private.h using <...> not "...".
11286 * math/e_exp10f.c: Likewise.
11287 * math/e_exp10l.c: Likewise.
11288 * math/e_exp2l.c: Likewise.
11289 * math/e_j0l.c: Likewise.
11290 * math/e_j1l.c: Likewise.
11291 * math/e_jnl.c: Likewise.
11292 * math/e_lgammal_r.c: Likewise.
11293 * math/e_rem_pio2l.c: Likewise.
11294 * math/e_scalb.c: Likewise.
11295 * math/e_scalbf.c: Likewise.
11296 * math/e_scalbl.c: Likewise.
11297 * math/k_cosl.c: Likewise.
11298 * math/k_sinl.c: Likewise.
11299 * math/k_tanl.c: Likewise.
11300 * math/s_cacoshf.c: Likewise.
11301 * math/s_catan.c: Likewise.
11302 * math/s_catanf.c: Likewise.
11303 * math/s_catanh.c: Likewise.
11304 * math/s_catanhf.c: Likewise.
11305 * math/s_catanhl.c: Likewise.
11306 * math/s_catanl.c: Likewise.
11307 * math/s_ccosh.c: Likewise.
11308 * math/s_ccoshf.c: Likewise.
11309 * math/s_ccoshl.c: Likewise.
11310 * math/s_cexp.c: Likewise.
11311 * math/s_cexpf.c: Likewise.
11312 * math/s_cexpl.c: Likewise.
11313 * math/s_clog.c: Likewise.
11314 * math/s_clog10.c: Likewise.
11315 * math/s_clog10f.c: Likewise.
11316 * math/s_clog10l.c: Likewise.
11317 * math/s_clogf.c: Likewise.
11318 * math/s_clogl.c: Likewise.
11319 * math/s_csin.c: Likewise.
11320 * math/s_csinf.c: Likewise.
11321 * math/s_csinh.c: Likewise.
11322 * math/s_csinhf.c: Likewise.
11323 * math/s_csinhl.c: Likewise.
11324 * math/s_csinl.c: Likewise.
11325 * math/s_csqrt.c: Likewise.
11326 * math/s_csqrtf.c: Likewise.
11327 * math/s_csqrtl.c: Likewise.
11328 * math/s_ctan.c: Likewise.
11329 * math/s_ctanf.c: Likewise.
11330 * math/s_ctanh.c: Likewise.
11331 * math/s_ctanhf.c: Likewise.
11332 * math/s_ctanhl.c: Likewise.
11333 * math/s_ctanl.c: Likewise.
11334 * math/s_ldexp.c: Likewise.
11335 * math/s_ldexpf.c: Likewise.
11336 * math/s_ldexpl.c: Likewise.
11337 * math/s_significand.c: Likewise.
11338 * math/s_significandf.c: Likewise.
11339 * math/s_significandl.c: Likewise.
11340 * math/w_acos.c: Likewise.
11341 * math/w_acosf.c: Likewise.
11342 * math/w_acosh.c: Likewise.
11343 * math/w_acoshf.c: Likewise.
11344 * math/w_acoshl.c: Likewise.
11345 * math/w_acosl.c: Likewise.
11346 * math/w_asin.c: Likewise.
11347 * math/w_asinf.c: Likewise.
11348 * math/w_asinl.c: Likewise.
11349 * math/w_atan2.c: Likewise.
11350 * math/w_atan2f.c: Likewise.
11351 * math/w_atan2l.c: Likewise.
11352 * math/w_atanh.c: Likewise.
11353 * math/w_atanhf.c: Likewise.
11354 * math/w_atanhl.c: Likewise.
11355 * math/w_cosh.c: Likewise.
11356 * math/w_coshf.c: Likewise.
11357 * math/w_coshl.c: Likewise.
11358 * math/w_dremf.c: Likewise.
11359 * math/w_exp10.c: Likewise.
11360 * math/w_exp10f.c: Likewise.
11361 * math/w_exp10l.c: Likewise.
11362 * math/w_exp2.c: Likewise.
11363 * math/w_exp2f.c: Likewise.
11364 * math/w_fmod.c: Likewise.
11365 * math/w_fmodf.c: Likewise.
11366 * math/w_fmodl.c: Likewise.
11367 * math/w_hypot.c: Likewise.
11368 * math/w_hypotf.c: Likewise.
11369 * math/w_hypotl.c: Likewise.
11370 * math/w_j0.c: Likewise.
11371 * math/w_j0f.c: Likewise.
11372 * math/w_j0l.c: Likewise.
11373 * math/w_j1.c: Likewise.
11374 * math/w_j1f.c: Likewise.
11375 * math/w_j1l.c: Likewise.
11376 * math/w_jn.c: Likewise.
11377 * math/w_jnf.c: Likewise.
11378 * math/w_jnl.c: Likewise.
11379 * math/w_lgamma.c: Likewise.
11380 * math/w_lgamma_r.c: Likewise.
11381 * math/w_lgammaf.c: Likewise.
11382 * math/w_lgammaf_r.c: Likewise.
11383 * math/w_lgammal.c: Likewise.
11384 * math/w_lgammal_r.c: Likewise.
11385 * math/w_log.c: Likewise.
11386 * math/w_log10.c: Likewise.
11387 * math/w_log10f.c: Likewise.
11388 * math/w_log10l.c: Likewise.
11389 * math/w_log2.c: Likewise.
11390 * math/w_log2f.c: Likewise.
11391 * math/w_log2l.c: Likewise.
11392 * math/w_logf.c: Likewise.
11393 * math/w_logl.c: Likewise.
11394 * math/w_pow.c: Likewise.
11395 * math/w_powf.c: Likewise.
11396 * math/w_powl.c: Likewise.
11397 * math/w_remainder.c: Likewise.
11398 * math/w_remainderf.c: Likewise.
11399 * math/w_remainderl.c: Likewise.
11400 * math/w_scalb.c: Likewise.
11401 * math/w_scalbf.c: Likewise.
11402 * math/w_scalbl.c: Likewise.
11403 * math/w_sinh.c: Likewise.
11404 * math/w_sinhf.c: Likewise.
11405 * math/w_sinhl.c: Likewise.
11406 * math/w_sqrt.c: Likewise.
11407 * math/w_sqrtf.c: Likewise.
11408 * math/w_sqrtl.c: Likewise.
11409 * math/w_tgamma.c: Likewise.
11410 * math/w_tgammaf.c: Likewise.
11411 * math/w_tgammal.c: Likewise.
11412
6a621eb7
UD
11413 * po/ja.po: Update from translation team.
11414
bf582445
AJ
114152011-09-29 Andreas Jaeger <aj@suse.de>
11416
f9efbf3a
AJ
11417 [BZ #13179]
11418 * sunrpc/netname.c (netname2host): Fix logic.
11419
bf582445
AJ
11420 [BZ #6779]
11421 [BZ #6783]
11422 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11423 correctly.
11424 * math/w_remainder.c (__remainder): Likewise.
11425 * math/w_remainderf.c (__remainderf): Likewise.
11426 * math/libm-test.inc (remainder_test): Add test cases.
11427
48693bea
AK
114282011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11429
11430 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11431 sdiv_qrnnd.
11432
42622229
LD
114332011-10-07 Ulrich Drepper <drepper@gmail.com>
11434
11435 * string/test-memcmp.c: Avoid unncessary #defines.
11436 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11437
093ecf92
LD
114382011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11439
11440 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11441 Use new sse2 version for core i3 - i7 as it's faster
11442 than sse42 version.
11443 (bit_Prefer_PMINUB_for_stringop): New.
11444 * sysdeps/x86_64/rawmemchr.S: Update.
11445 Replace with faster SSE2 version.
11446 * sysdeps/x86_64/memrchr.S: New file.
11447 * sysdeps/x86_64/memchr.S: Update.
11448 Replace with faster SSE2 version.
11449
fde56e5c
MP
114502011-09-12 Marek Polacek <mpolacek@redhat.com>
11451
11452 * elf/dl-load.c (lose): Add cast to avoid warning.
11453
21fd49a9
UD
114542011-10-07 Ulrich Drepper <drepper@gmail.com>
11455
5a06e643
UD
11456 * po/ca.po: Update from translation team.
11457
684ae515
UD
11458 * inet/getnetgrent_r.c: Hook up nscd.
11459 * nscd/Makefile (routines): Add nscd_netgroup.
11460 (nscd-modules): Add netgroupcache.
11461 (CFLAGS-netgroupcache.c): Define.
11462 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11463 (cache_search): Add const to second parameter.
11464 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11465 INNETGR.
11466 (dbs): Add netgrdb entry.
11467 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11468 (verify_persistent_db): Handle netgrdb.
11469 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11470 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11471 GETFDNETGR.
11472 (netgroup_response_header): Define.
11473 (innetgroup_response_header): Define.
11474 (datahead): Add netgroup_response_header and innetgroup_response_header
11475 elements.
11476 * nscd/nscd.conf: Add entries for netgroup cache.
11477 * nscd/nscd.h (dbtype): Add netgrdb.
11478 (_PATH_NSCD_NETGROUP_DB): Define.
11479 (netgroup_iov_disabled): Declare.
11480 (xmalloc, xcalloc, xrealloc): Move declarations here.
11481 (cache_search): Adjust prototype.
11482 Add netgroup-related prototypes.
11483 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11484 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11485 (__nscd_innetgr): Declare.
11486 * nscd/selinux.c (perms): Use access_vector_t as element type and
11487 add netgroup-related initializers.
11488 * nscd/netgroupcache.c: New file.
11489 * nscd/nscd_netgroup.c: New file.
11490 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11491 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11492 For four parameters use innetgr.
11493 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11494 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11495 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11496 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11497
21fd49a9
UD
11498 * nscd/connections.c (register_traced_file): Don't register file
11499 for disabled databases.
11500
054c0457
UD
115012011-10-06 Ulrich Drepper <drepper@gmail.com>
11502
32b63198
UD
11503 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11504
054c0457
UD
11505 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11506 from tree and freeing node.
11507
64031225
JO
115082011-09-25 Jiri Olsa <jolsa@redhat.com>
11509
11510 * nss/nsswitch.c (__nss_database_lookup): Handle
11511 nss_parse_service_list out of memory case.
11512
0490345c
JO
115132011-09-15 Jiri Olsa <jolsa@redhat.com>
11514
11515 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11516 out of memory case.
11517
3a62d00d
AS
115182011-10-04 Andreas Schwab <schwab@redhat.com>
11519
11520 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11521 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11522 pass it down.
11523 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11524 elf_machine_rela, elf_machine_lazy_rel.
11525 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11526 (ELF_DYNAMIC_DO_REL): Likewise.
11527 (ELF_DYNAMIC_DO_RELA): Likewise.
11528 (ELF_DYNAMIC_RELOCATE): Likewise.
11529 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11530 to ELF_DYNAMIC_DO_REL.
11531 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11532 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11533 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11534 elf_machine_rela.
11535 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11536 skip_ifunc, don't call ifunc function if non-zero.
11537 (elf_machine_rela): Likewise.
11538 (elf_machine_lazy_rel): Likewise.
11539 (elf_machine_lazy_rela): Likewise.
11540 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11541 (elf_machine_lazy_rel): Likewise.
11542 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11543 Likewise.
11544 (elf_machine_lazy_rel): Likewise.
11545 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11546 Likewise.
11547 (elf_machine_lazy_rel): Likewise.
11548 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11549 (elf_machine_lazy_rel): Likewise.
11550 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11551 (elf_machine_lazy_rel): Likewise.
11552 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11553 (elf_machine_lazy_rel): Likewise.
11554 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11555 (elf_machine_lazy_rel): Likewise.
11556 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11557 (elf_machine_lazy_rel): Likewise.
11558 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11559 (elf_machine_lazy_rel): Likewise.
11560
68577918
UD
115612011-09-28 Ulrich Drepper <drepper@gmail.com>
11562
11563 * nss/nss_files/files-init.c (_nss_files_init): Use static
11564 initialization for all the *_traced_file variables.
11565
68822d74
AS
115662011-09-28 Andreas Schwab <schwab@redhat.com>
11567
11568 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11569
2056100b
RM
115702011-09-27 Roland McGrath <roland@hack.frob.com>
11571
11572 [BZ #13226]
11573 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11574
32c76b63
AS
115752011-09-27 Andreas Schwab <schwab@redhat.com>
11576
11577 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11578 Reread the line before reparsing it.
11579
bf972c9d
AS
115802011-09-26 Andreas Schwab <schwab@redhat.com>
11581
11582 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11583
e057a1b5
JM
115842011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11585 Maxim Kuvyrkov <maxim@codesourcery.com>
11586 Joseph Myers <joseph@codesourcery.com>
11587
11588 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11589 if needed for __stack_chk_guard.
11590
bc7e1c36
RM
115912011-09-19 Roland McGrath <roland@hack.frob.com>
11592
ecb1482f
RM
11593 * sysdeps/posix/spawni.c (script_execute): Always define it.
11594 It will be optimized away if unused.
11595 (maybe_script_execute): New function.
11596 (__spawni): Call it.
11597
bc7e1c36
RM
11598 * Makerules: Don't include tls.make.
11599 (config-tls): Always set to thread.
11600 * tls.make.c: File removed.
11601
1c3b002b
MF
116022011-09-19 Mike Frysinger <vapier@gentoo.org>
11603
11604 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11605 * config.make.in (CPPFLAGS-config): New substituted variable.
11606
2840865d
UD
116072011-09-15 Ulrich Drepper <drepper@gmail.com>
11608
88738eb6
UD
11609 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11610
cbf645a6 11611 [BZ #13192]
2840865d
UD
11612 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11613 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11614
b402e91a
RM
116152011-09-15 Roland McGrath <roland@hack.frob.com>
11616
11617 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11618 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11619 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11620 (CALL_FAIL): Likewise.
11621 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11622 (CALL_FAIL): Macro removed.
11623 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11624
4c1a1f71
UD
116252011-09-15 Ulrich Drepper <drepper@gmail.com>
11626
11627 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11628 for __FINITE_MATH_ONLY__ == 1.
11629
edc121be
AS
116302011-09-15 Andreas Schwab <schwab@redhat.com>
11631
11632 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11633 __ieee754_sqrt instead of sqrt.
11634 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11635 __ieee754_sqrtf instead of sqrtf.
11636 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11637 __floorf instead of floorf.
11638 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11639 __floorf, __truncf instead of floorf, truncf.
11640
cd205654
UD
116412011-09-14 Ulrich Drepper <drepper@gmail.com>
11642
ee4d0315
UD
11643 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11644
cd205654
UD
11645 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11646 __extern_always_inline.
11647 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11648 32-bit.
11649
48b67d71
AS
116502011-09-14 Andreas Schwab <schwab@redhat.com>
11651
11652 * elf/rtld.c (dl_main): Also relocate in dependency order when
11653 doing symbol dependency testing.
11654
1ae12c75
AS
116552011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11656
11657 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11658 Always define `refsym'.
11659
995a80df
AS
116602011-09-13 Andreas Schwab <schwab@redhat.com>
11661
e529793b
AS
11662 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11663 (__FD_ELT): Renamed from __FDELT.
11664 * misc/bits/select2.h (__FD_ELT): Likewise.
11665 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11666 __FD_MASK instead of __FDELT, __FDMASK.
11667 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11668 Likewise.
11669 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11670 Likewise.
11671
52d4fef8
AS
11672 * elf/Makefile (gen-ldd): Fix pattern.
11673
995a80df
AS
11674 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11675 (init_tls): Likewise.
11676
8682f8b0
UD
116772011-09-12 Ulrich Drepper <drepper@gmail.com>
11678
11679 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11680
de82006d
AS
116812011-09-12 Andreas Schwab <schwab@redhat.com>
11682
a7c8e6a1
AS
11683 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11684 `struct cmsghdr *' instead of `void *'.
11685 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11686 Likewise.
11687
0f31fe77
AS
116882011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11689
11690 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11691 if non-absolute.
11692 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11693 ldd_rewrite_script.
0f31fe77 11694
32b4c839
UD
116952011-09-11 Ulrich Drepper <drepper@gmail.com>
11696
83cd1420
UD
11697 * configure.in: Remove --with-tls option.
11698 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11699 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11700 out in case it is missing.
11701 * sysdeps/ia64/elf/configure.in: Likewise.
11702 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11703 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11704 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11705 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11706 * sysdeps/sh/elf/configure.in: Likewise.
11707 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11708 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11709 * sysdeps/x86_64/elf/configure.in: Likewise.
11710 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11711 * sysdeps/mach/hurd/tls.h: Likewise.
11712
633f745d
UD
11713 [BZ #13067]
11714 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11715
f318beb8
UD
11716 [BZ #13090]
11717 * configure.in: Fix use of AC_INIT.
11718
32b4c839
UD
11719 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11720
3ce1f295
UD
117212011-09-10 Ulrich Drepper <drepper@gmail.com>
11722
bb016596
UD
11723 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11724 __set_errno.
8e58439c
UD
11725 * malloc/hooks.c: Likewise.
11726
aebae053 11727 [BZ #11929]
02d46fc4
UD
11728 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11729 variables statically.
11730 (narenas): Initialize.
11731 (list_lock): Initialize.
bb016596
UD
11732 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11733 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
11734 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11735 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11736 Add initializers to main_arena and mp_.
11737 (malloc_state): Remove pagesize member. Change all users to use
11738 GLRO(dl_pagesize).
11739
11740 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11741 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11742 is always initialized.
11743
22a89187
UD
11744 * malloc/malloc.c: Removed unused configurations and dead code.
11745 * malloc/arena.c: Likewise.
11746 * malloc/hooks.c: Likewise.
02d46fc4 11747 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 11748
d063d164
UD
11749 * include/tls.h: Removed. USE___THREAD must always be defined.
11750 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11751 * elf/dl-libc.c: Likewise.
11752 * elf/dl-tsd.c: Likewise.
11753 * include/errno.h: Likewise.
11754 * include/netdb.h: Likewise.
11755 * include/resolv.h: Likewise.
11756 * inet/herrno-loc.c: Likewise.
11757 * inet/herrno.c: Likewise.
11758 * malloc/arena.c: Likewise.
11759 * malloc/hooks.c: Likewise.
11760 * malloc/malloc.c: Likewise.
11761 * resolv/res-state.c: Likewise.
11762 * resolv/res_libc.c: Likewise.
11763 * sysdeps/i386/dl-machine.h: Likewise.
11764 * sysdeps/ia64/dl-machine.h: Likewise.
11765 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11766 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11767 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11768 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11769 * sysdeps/sh/dl-machine.h: Likewise.
11770 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11771 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11772 * sysdeps/unix/i386/sysdep.S: Likewise.
11773 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11774 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11775 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11776 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11777 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11778 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11779 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11780 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11781 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11782 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11783 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11784 * sysdeps/x86_64/dl-machine.h: Likewise.
11785 * tls.make.c: Likewise.
11786
3ce1f295
UD
11787 * configure.in: Remove --with-__thread option. Make tests for
11788 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11789 tls_model attribute fail if no support is available. Remove
11790 USE_IN_LIBIO.
11791 * Makeconfig: Adjust for dropped configure option. All features are
11792 now mandatory.
11793 * Makerules: Likewise.
11794 * Versions.def: Likewise.
11795 * argp/argp-fmtstream.c: Likewise.
11796 * argp/argp-fmtstream.h: Likewise.
11797 * argp/argp-help.c: Likewise.
11798 * assert/assert.c: Likewise.
11799 * config.h.in: Likewise.
11800 * config.make.in: Likewise.
11801 * configure: Likewise.
11802 * configure.in: Likewise.
11803 * csu/Versions: Likewise.
11804 * csu/init.c: Likewise.
11805 * elf/tst-audit2.c: Likewise.
11806 * elf/tst-tls10.c: Likewise.
11807 * elf/tst-tls10.h: Likewise.
11808 * elf/tst-tls11.c: Likewise.
11809 * elf/tst-tls12.c: Likewise.
11810 * elf/tst-tls14.c: Likewise.
11811 * elf/tst-tlsmod11.c: Likewise.
11812 * elf/tst-tlsmod12.c: Likewise.
11813 * elf/tst-tlsmod13.c: Likewise.
11814 * elf/tst-tlsmod13a.c: Likewise.
11815 * elf/tst-tlsmod14a.c: Likewise.
11816 * elf/tst-tlsmod15b.c: Likewise.
11817 * elf/tst-tlsmod16a.c: Likewise.
11818 * elf/tst-tlsmod16b.c: Likewise.
11819 * elf/tst-tlsmod7.c: Likewise.
11820 * elf/tst-tlsmod8.c: Likewise.
11821 * elf/tst-tlsmod9.c: Likewise.
11822 * gmon/gmon.c: Likewise.
11823 * grp/fgetgrent_r.c: Likewise.
11824 * grp/putgrent.c: Likewise.
11825 * hurd/fopenport.c: Likewise.
11826 * include/libc-symbols.h: Likewise.
11827 * include/tls.h: Likewise.
11828 * intl/gettextP.h: Likewise.
11829 * intl/loadinfo.h: Likewise.
11830 * locale/global-locale.c: Likewise.
11831 * locale/localeinfo.h: Likewise.
11832 * mach/devstream.c: Likewise.
11833 * malloc/arena.c: Likewise.
11834 * malloc/set-freeres.c: Likewise.
11835 * misc/err.c: Likewise.
11836 * misc/getttyent.c: Likewise.
11837 * misc/mntent_r.c: Likewise.
11838 * posix/getopt.c: Likewise.
11839 * posix/wordexp.c: Likewise.
11840 * pwd/fgetpwent_r.c: Likewise.
11841 * resolv/Versions: Likewise.
11842 * resolv/res_hconf.c: Likewise.
11843 * shadow/fgetspent_r.c: Likewise.
11844 * shadow/putspent.c: Likewise.
11845 * stdio-common/printf_fphex.c: Likewise.
11846 * stdio-common/tmpfile.c: Likewise.
11847 * stdlib/abort.c: Likewise.
11848 * stdlib/fmtmsg.c: Likewise.
11849 * sunrpc/auth_unix.c: Likewise.
11850 * sunrpc/clnt_perr.c: Likewise.
11851 * sunrpc/clnt_tcp.c: Likewise.
11852 * sunrpc/clnt_udp.c: Likewise.
11853 * sunrpc/clnt_unix.c: Likewise.
11854 * sunrpc/openchild.c: Likewise.
11855 * sunrpc/svc_simple.c: Likewise.
11856 * sunrpc/svc_tcp.c: Likewise.
11857 * sunrpc/svc_udp.c: Likewise.
11858 * sunrpc/svc_unix.c: Likewise.
11859 * sunrpc/xdr.c: Likewise.
11860 * sunrpc/xdr_array.c: Likewise.
11861 * sunrpc/xdr_rec.c: Likewise.
11862 * sunrpc/xdr_ref.c: Likewise.
11863 * sunrpc/xdr_stdio.c: Likewise.
11864
1248c1c4
PB
118652011-09-09 Ulrich Drepper <drepper@gmail.com>
11866
11867 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11868
118692011-07-03 Andreas Jaeger <aj@suse.de>
11870
11871 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11872 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11873 regenerate with gen-libm-tests.pl.
11874
118752010-05-12 Petr Baudis <pasky@suse.cz>
11876
11877 [BZ #11589]
11878 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11879 around j0() zero points by switching to j1().
11880 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11881 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11882 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11883 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11884
f22e1074
UD
118852011-09-09 Ulrich Drepper <drepper@gmail.com>
11886
f19009c1
UD
11887 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11888 instead of 0.
11889 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11890 instead of 0. .
11891 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11892 Patch in part by Pavel Roskin <proski@gnu.org>.
11893
3f8cc204
UD
11894 [BZ #13138]
11895 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11896 realloc.
11897 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11898 Free memory block if necessary.
11899
f22e1074
UD
11900 [BZ #12847]
11901 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11902 be NULL. Don't lock in this case.
11903
0a2349f9
RM
119042011-09-09 Roland McGrath <roland@hack.frob.com>
11905
11906 * elf/elf.h (ELFOSABI_GNU): New macro.
11907 (ELFOSABI_LINUX): Define to that.
11908
f3cdd467
DZ
119092011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11910
11911 * string/strncat.c (strncat): Undef the symbol in case it has been
11912 defined in bits/string.h.
11913
74718d13
UD
119142011-09-09 Ulrich Drepper <drepper@gmail.com>
11915
633e9e0f
UD
11916 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11917
0a2349f9 11918 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
11919 link map.
11920
f9924780
AJ
119212011-08-17 Andreas Jaeger <aj@suse.de>
11922
11923 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11924
7f5517aa
PP
119252011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11926 Ian Lance Taylor <iant@google.com>
11927
11928 * math/libm-test.inc (lround_test): New testcase.
11929 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11930
762011fe
UD
119312011-09-08 Ulrich Drepper <drepper@gmail.com>
11932
92963737
UD
11933 * Makefile: Remove support for automatic cvs check-ins.
11934 * Makerules: Likewise.
11935 * config.make.in: Likewise.
11936 * configure.in: Likewise.
11937 * intl/Makefile: Likewise.
11938 * locale/Makefile: Likewise.
11939 * po/Makefile: Likewise.
11940 * posix/Makefile: Likewise.
11941 * sysdeps/gnu/Makefile: Likewise.
11942 * sysdeps/mach/hurd/Makefile: Likewise.
11943 * sysdeps/sparc/sparc32/Makefile: Likewise.
11944
b0727fd8
JS
11945 [BZ #13118]
11946 * posix/Makefile (bug-regex32-ENV): Define.
11947 Patch by John Stanley <jpsinthemix@verizon.net>.
11948
a0f33f99
UD
11949 * misc/Makefile (headers): Add bits/select2.h.
11950 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11951 * misc/bits/select2.h: New file.
11952 * include/bits/select2.h: New file.
11953 * debug/Makefile (routines): Add fdelt_chk.
11954 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11955 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11956 FD_ISSET.
11957 * debug/fdelt_chk.c: New file.
11958
762011fe
UD
11959 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11960 * wcsmbs/test-wmemcmp.c: Likewise.
11961 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 11962 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
11963
119642011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11965
11966 * string/Makefile (strop-tests): Add memcmp.
11967 * string/test-wmemcmp.c: New file.
11968 * string/test-memcmp.c: Add wmemcmp support.
11969
7f513ec8
RM
119702011-09-08 Roland McGrath <roland@hack.frob.com>
11971
0442afb4
RM
11972 [BZ #13153]
11973 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11974 2011-07-19 change.
11975
7f513ec8
RM
11976 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11977 garbage value in a __mach_port_mod_refs call in the cases of the
11978 task-self and thread-self ports.
11979
a12b2239
ST
119802011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11981
11982 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11983
610f9ab4
AS
119842011-09-08 Andreas Schwab <schwab@redhat.com>
11985
7f513ec8 11986 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 11987
48882a1a
LD
119882011-09-07 Ulrich Drepper <drepper@gmail.com>
11989
b49865be
UD
11990 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11991
fdc86bc9
UD
11992 * elf/dl-libc.c (dlerror_run): Pass back error code from
11993 dl_catch_error.
11994
c966526a
UD
11995 [BZ #13123]
11996 * elf/dl-load.c (lose): Free l_origin if it is valid.
11997
48882a1a
LD
11998 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11999 names.
12000 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12001 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12002 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12003 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12004 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12005 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12006
77a2a8b4
AZ
120072011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12008
12009 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12010 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12011 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12012 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12013 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12014 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12015 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12016 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12017 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12018 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12019
24f579d8
AM
120202011-08-15 Alan Modra <amodra@gmail.com>
12021
12022 [BZ #13092]
12023 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12024 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12025 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12026 ppc_mcount to static-only-routines.
12027 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12028 __mcount_internal.
12029 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12030 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12031
3d4837df
UD
120322011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12033
12034 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12035 for finite and infinity parameters.
12036
22700377
WS
120372011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12038
12039 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12040 and add nop instructions for throughput optimization.
12041 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12042
5025581e
WS
120432011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12044
12045 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12046 aligned copy for power7 with vector-scalar instructions.
12047 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12048
08a300c9
L
120492011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12050
12051 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12052 AVX check.
12053
59178ef9
AS
120542011-09-07 Andreas Schwab <schwab@redhat.com>
12055
12056 [BZ #13144]
12057 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12058 last change.
12059
e38ba7ab
UD
120602011-09-07 Ulrich Drepper <drepper@gmail.com>
12061
12062 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12063 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12064 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12065 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12066 clock_gettime.
12067
d53a73ac
UD
120682011-09-06 Ulrich Drepper <drepper@gmail.com>
12069
fc8bffcc
UD
12070 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12071 Forgot to demangle the pointer.
12072
ceaa0c5d
UD
12073 * sysdeps/i386/sysdep.h: Define atom_text_section.
12074 * sysdeps/x86_64/sysdep.h: Likewise.
12075 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12076 section with atom_text_section.
12077 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12078 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12079 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12080 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12081 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12082
a77d3c17
UD
12083 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12084 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12085 already be defined. Change to take two parameters and don't assign
12086 result to variable. Adjust all users.
12087 Define INTERNAL_GETTIME if not already defined.
12088 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12089 call.
12090 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12091 HAVE_CLOCK_GETTIME_VSYSCALL.
12092 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12093
d53a73ac
UD
12094 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12095 gettimeofday vsyscall, just use time.
12096
a8f84144
AS
120972011-09-06 Andreas Schwab <schwab@redhat.com>
12098
12099 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12100 <errno.h>.
12101
ef606249
UD
121022011-09-06 Ulrich Drepper <drepper@gmail.com>
12103
12104 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12105 syscall on x86-64.
12106 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12107 syscall.
12108 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12109 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12110 syscall if possible.
12111
6585cb60
UD
121122011-09-05 Ulrich Drepper <drepper@gmail.com>
12113
12114 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12115 e_ident. Don't pass to find_mapsXX.
12116 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12117
a5f524e4
LD
121182011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12119
12120 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12121 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12122 * sysdeps/x86_64/multiarch/strchr.S: Update.
12123 Check bit_slow_BSF bit.
12124 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12125 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12126 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12127
554881ef
UD
121282011-09-05 Ulrich Drepper <drepper@gmail.com>
12129
d96de963
UD
12130 [BZ #13134]
12131 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12132 before glibc 2.15.
12133 (tryshell): Define.
12134 (__spawni): Change last parameter to be flag. Test
12135 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12136 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12137 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12138 * posix/spawni.c: Likewise.
12139 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12140 * posix/spawnp.c: Likewise. Change normal version to use
12141 SPAWN_XFLAGS_USE_PATH.
12142 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12143 SPAWN_XFLAGS_TRY_SHELL.
12144
d48e5868
UD
12145 [BZ #13150]
12146 * posix/glob.h: Remove gcc 1.x support.
12147
554881ef
UD
12148 [BZ #13068]
12149 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12150
693fb948
LD
121512011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12152
12153 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12154 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12155 strrchr-sse2-bsf
12156 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12157 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12158 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12159 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12160 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12161 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12162
1b48c537
UD
121632011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12164
49d42c37
UD
12165 * sysdeps/x86_64/wcscmp.S: New file.
12166
1b48c537
UD
12167 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12168 wcscmp-c wcscmp-sse2
12169 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12170 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12171 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12172 * wcsmbs/wcscmp.c: Allow renaming.
12173
15c95c5d
DM
121742011-09-05 David S. Miller <davem@davemloft.net>
12175
12176 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12177 stack slot, rather than the struct return pointer slot.
12178 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12179 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12181 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12182
2f0ad8f3
UD
121832011-09-05 Ulrich Drepper <drepper@gmail.com>
12184
d88ae418
UD
12185 * po/ja.po: Update from translation team.
12186
2f0ad8f3
UD
12187 [BZ #13144]
12188 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12189 kernel in 64-bit binaries.
12190
5f4318d1
DM
121912011-09-01 David S. Miller <davem@davemloft.net>
12192
12193 * elf/elf.h (HWCAP_SPARC_*): Move to..
12194 * sysdeps/sparc/sysdep.h: this new file and add new values.
12195 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12196 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12197 _DL_HWCAP_COUNT to 24.
12198 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12199 entries.
12200 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12201 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12202 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12203 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12204 instead of magic constants.
12205 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12206
3ba57516
DM
122072011-08-31 David S. Miller <davem@davemloft.net>
12208
12209 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12210 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12211 Reimplement to do errno handling inline.
12212 (SYSCALL_ERROR_HANDLER): New macro.
12213 (__SYSCALL_STRING): Do not do errno handling in asm.
12214 (__CLONE_SYSCALL_STRING): Delete.
12215 (__INTERNAL_SYSCALL_STRING): Delete.
12216 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12217 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12218 (PSEUDO): Reimplement to do errno handling inline.
12219 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12220 (SYSCALL_ERROR_HANDLER): New macro.
12221 (__SYSCALL_STRING): Do not do errno handling in asm.
12222 (__CLONE_SYSCALL_STRING): Delete.
12223 (__INTERNAL_SYSCALL_STRING): Delete.
12224 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12225 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12226 i386.
12227 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12228 (inline_syscall*): Add 'err' argument.
12229 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12230 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12231 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12232 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12233
12234 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12235 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12236
2bc17433
AS
122372011-08-30 Andreas Schwab <schwab@redhat.com>
12238
12239 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12240
fbeb5f4d
JO
122412011-08-29 Jiri Olsa <jolsa@redhat.com>
12242
12243 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12244 directive.
12245
ad69cc26
DM
122462011-08-24 David S. Miller <davem@davemloft.net>
12247
12248 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12249
39dd69df
AS
122502011-08-24 Andreas Schwab <schwab@redhat.com>
12251
12252 * elf/Makefile: Add rules to build and run unload8 test.
12253 * elf/unload8.c: New file.
12254 * elf/unload8mod1.c: New file.
12255 * elf/unload8mod1x.c: New file.
12256 * elf/unload8mod2.c: New file.
12257 * elf/unload8mod3.c: New file.
12258
12259 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12260 it wasn't used.
12261
2c0b250a
DM
122622011-08-23 David S. Miller <davem@davemloft.net>
12263
12264 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12265 subtract stack bias.
12266 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12267 %sp not %fp in calculations.
12268 (_JMPBUF_UNWINDS_ADJ): Likewise.
12269
22044b48
DM
12270 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12271 (aio_suspend): Call it to force an exception region around the
12272 AIO_MISC_WAIT() invocation.
12273
2cae4995
AS
122742011-08-23 Andreas Schwab <schwab@redhat.com>
12275
12276 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12277 backslash.
12278
873a772e
AJ
122792011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12280
12281 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12282 protection macro.
12283 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12284 and <dl-machine.h>.
12285 (Elf64_FuncDesc): Remove.
12286
25ad0df1
DM
122872011-08-22 David S. Miller <davem@davemloft.net>
12288
12289 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12290 sigaltstack check, add missing cfi directives.
12291 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12292 missing cfi directives, and sigaltstack handling.
12293
e888bcbe
AS
122942011-08-16 Andreas Schwab <schwab@redhat.com>
12295
12296 [BZ #11724]
12297 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12298 object is seen twice.
12299 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12300
12301 * elf/Makefile (distribute): Add tst-initorder2.c.
12302 (tests): Add tst-initorder2.
12303 (modules-names): Add tst-initorder2a tst-initorder2b
12304 tst-initorder2c tst-initorder2d. Add rules to build them.
12305 ($(objpfx)tst-initorder2.out): New rule.
12306 * elf/tst-initorder2.c: New file.
12307 * elf/tst-initorder2.exp: New file.
12308
87162f46
AS
123092011-08-22 Andreas Schwab <schwab@redhat.com>
12310
70538b7f
AS
12311 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12312
f55ffe58
AS
12313 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12314 dependencies back to end of function.
12315
87162f46
AS
12316 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12317 $(elfobjdir)/ld.so.
12318
91b392a4
UD
123192011-08-21 Ulrich Drepper <drepper@gmail.com>
12320
12321 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12322 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12323 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12324 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12325 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12326 of __vdso_gettimeofday.
12327 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12328 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12329 attribute_hidden.
12330 (_libc_vdso_platform_setup): Remove initialization of
12331 __vdso_gettimeofday and __vdso_time.
12332
5c43483f
UD
123332011-08-20 Ulrich Drepper <drepper@gmail.com>
12334
775a77e7
UD
12335 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12336 and fgetc_unlocked.
12337 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12338 getc_unlocked.
89f447ed 12339
49c74ba9
UD
12340 * elf/dl-open.c (add_to_global): Report additions to the global scope
12341 for LD_DEBUG=scopes.
12342 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12343 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12344
5c43483f
UD
12345 [BZ #13114]
12346 * stdio-common/Makefile (tests): Add bug24.
12347 * stdio-common/bug24.c: New file.
12348
a101b025
AJ
123492011-08-19 Andreas Jaeger <aj@suse.de>
12350
12351 [BZ #13114]
12352 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12353 non-existant file when using close-on-exec mode.
12354
c88f1766
UD
123552011-08-20 Ulrich Drepper <drepper@gmail.com>
12356
0276a718
UD
12357 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12358 the very first instruction.
12359
c88f1766
UD
12360 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12361 the CFI state in the end.
12362 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12363 inclusion of dl-trampoline.h.
12364 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12365
51ccffa0
AS
123662011-08-19 Andreas Schwab <schwab@redhat.com>
12367
94d7165f
AS
12368 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12369 expectations for long double.
12370
51ccffa0
AS
12371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12372 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12373
fd708658 123742011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12375
12376 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12377 artificual limit depends upon the system page size.
12378
44f0a71e
UD
123792011-08-17 Ulrich Drepper <drepper@gmail.com>
12380
12381 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12382 * resolv/Makefile: Define CFLAGS-libresolv.
12383
8de79a24
AS
123842011-08-17 Andreas Schwab <schwab@redhat.com>
12385
12386 * nss/makedb.c (compute_tables): Make variables used in nested
12387 function static.
12388
27724598
UD
123892011-08-17 Ulrich Drepper <drepper@gmail.com>
12390
c5305d88
UD
12391 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12392 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12393 if buffer was too small.
12394
27724598
UD
12395 * elf/pldd.c (main): Attach to all threads in the process.
12396 Rewrite /proc handling to use *at functions.
12397
076fe015
UD
123982011-08-16 Ulrich Drepper <drepper@gmail.com>
12399
174baab3
UD
12400 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12401 specifies first scope to show.
12402 (dl_open_worker): Update callers. Move printing scope of new
12403 object to before the relocation.
44f0a71e 12404 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12405 * sysdeps/generic/ldsodefs.h: Update declaration.
12406
076fe015
UD
12407 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12408 string for the scope number.
12409
a60df2c3
UD
124102011-08-14 Ulrich Drepper <drepper@gmail.com>
12411
12412 * nscd/servicescache.c (cache_addserv): Make sure written is always
12413 initialized.
12414
5e4287d1
RM
124152011-08-14 Roland McGrath <roland@hack.frob.com>
12416
85ae0589
RM
12417 * sysdeps/i386/i486/bits/atomic.h
12418 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12419 statement expression, so as to suppress "set but not used" warning.
12420 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12421
69f63097
RM
12422 * string/strncat.c (STRNCAT): Use prototype definition.
12423
675456ef
RM
12424 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12425 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12426 -Iprograms here.
12427 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12428 (localedef-modules): Add localedef.
12429 (locale-modules): Add locale.
12430
5e4287d1
RM
12431 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12432 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12433 to avoid a warning.
12434
9c96ff23
DM
124352011-08-14 David S. Miller <davem@davemloft.net>
12436
12437 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12438 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12439
f9ddf089
UD
124402011-08-13 Ulrich Drepper <drepper@gmail.com>
12441
44f0a71e 12442 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12443 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12444 * elf/rtld.c (dl_main): Set l_name of vDSO.
12445 Call _dl_show_scope when DL_DEBUG_SCOPES.
12446 (process_dl_debug): Recognize scopes flag and also set it for all.
12447 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12448 Declare _dl_show_scope.
12449
1dc27704
UD
12450 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12451 (do_dlopen): Pass caller_dlopen to dl_open.
12452 (__libc_dlopen_mode): Initialize caller_dlopen.
12453
f9ddf089
UD
12454 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12455 of libc. Make tolower call locale-independent. Optimize a bit by
12456 using isdigit instead of isalnum.
12457 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12458
9ac533d3
UD
124592011-08-12 Ulrich Drepper <drepper@gmail.com>
12460
12461 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12462 was a dependency or dynamically loaded.
12463
89edf2e9
UD
124642011-08-11 Ulrich Drepper <drepper@gmail.com>
12465
8e999d29
UD
12466 * intl/l10nflist.c: Allow architecture-specific pop function.
12467 * sysdeps/x86_64/l10nflist.c: New file.
12468
89edf2e9
UD
12469 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12470 classification.
12471
14d96785
AS
124722011-08-10 Andreas Schwab <schwab@redhat.com>
12473
12474 * include/dirent.h: Add libc_hidden_proto for scandirat and
12475 scandirat64. Don't declare __scandirat64.
12476 * dirent/scandirat.c: Add libc_hidden_def.
12477 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12478 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12479
6761ac04
DM
124802011-08-10 David S. Miller <davem@davemloft.net>
12481
12482 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12483 enum.
12484 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12485 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12486 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12487
c55fbd1e
UD
124882011-08-09 Ulrich Drepper <drepper@gmail.com>
12489
12490 * Versions.def [libc]: Add GLIBC_2.15.
12491 * dirent/Makefile (routines): Add scandirat and scandirat64.
12492 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12493 GLIBC_2.15.
12494 * dirent/dirent.h: Declare scandirat and scandirat64.
12495 * dirent/scandirat.c: New file.
12496 * dirent/scandirat64.c: New file.
12497 * sysdeps/wordsize-64/scandirat.c: New file.
12498 * sysdeps/wordsize-64/scandirat64.c: New file.
12499 * dirent/opendir.c: Define opendirat.
12500 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12501 using scandirat.
12502 * dirent/scandir64.c: Adjust for scandir.c change.
12503 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12504 __scandirat64, and __scandir_cancel_handler.
12505 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12506 additional parameter and use openat instead of open (outside of ld.so).
12507 Add new __opendir as wrapper around __opendirat.
12508 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12509 here without requiring old scandirat implementation.
12510
879165f2
UD
125112011-08-08 Ulrich Drepper <drepper@gmail.com>
12512
12513 * dirent/scandir.c (cancel_handler): Renamed to
12514 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12515 defined. Adjust users.
12516 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12517 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12518
cb7e923b
UD
125192011-08-04 Ulrich Drepper <drepper@gmail.com>
12520
16292edd
UD
12521 * string/test-string.h (IMPL): Use __STRING to expand name and then
12522 stringify it.
12523
cb7e923b
UD
12524 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12525 of cleanups.
12526
cff82933
LD
125272011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12528
12529 * string/Makefile: Update.
12530 (strop-tests): Append strncat.
12531 * string/test-wcscmp.c: New file.
12532 New comprehensive test for wcscmp.
12533 * string/test-strcmp.c: Update.
12534 (WIDE): New define.
12535
9be9bfcc
AS
125362011-07-22 Andreas Schwab <schwab@redhat.com>
12537
12538 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12539 line.
12540
2e96f1c7
AS
125412011-07-26 Andreas Schwab <schwab@redhat.com>
12542
12543 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12544 encoding to ACE if AI_IDN.
12545
85188888
JJ
125462011-08-01 Jakub Jelinek <jakub@redhat.com>
12547
12548 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12549 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12550
5fa16e9b
LD
125512011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12552
12553 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12554 Fix overflow bug in strncat.
12555 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12556
12557 * string/test-strncat.c: Update.
12558 Add new tests for checking overflow bugs.
12559
125602011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12561
12562 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12563 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12564 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12565 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12566 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12567 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12568 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12569 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12570 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12571
12572 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12573 (USE_AS_STRCAT): Define.
12574 Add strcat and strncat support.
12575 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12576
8c1a459f
AS
125772011-07-25 Andreas Schwab <schwab@redhat.com>
12578
12579 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12580 __n bigger than INT_MAX+1.
12581 (__strncmp_g): Likewise.
12582
bba33c28
UD
125832011-07-23 Ulrich Drepper <drepper@gmail.com>
12584
798be72d
UD
12585 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12586 * libio/stido.h: Likewise.
12587
8accd4dc
UD
12588 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12589 (AF_NFC): Define.
12590 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12591 (AF_NFC): Define.
12592
cbff0d96
UD
12593 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12594 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12595 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12596 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12597 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12598
9191c04a
UD
12599 [BZ #13021]
12600 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12601 installed.
12602
bba33c28
UD
12603 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12604 typo.
12605 (_dl_x86_64_save_sse): Likewise.
12606
90f139dd
UD
126072011-07-22 Ulrich Drepper <drepper@gmail.com>
12608
1aae088a
UD
12609 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12610 OSXSAVE.
12611 (_dl_x86_64_save_sse): Likewise.
12612
8e2045f5
UD
12613 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12614
90f139dd
UD
12615 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12616
1d002f25
AS
126172011-07-21 Andreas Schwab <schwab@redhat.com>
12618
12619 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12620 change.
12621 (_dl_x86_64_save_sse): Use correct AVX check.
12622
21137f89
UD
126232011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12624
12625 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12626 bug in strncpy/strncat.
12627 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12628
a65c0b7a
UD
126292011-07-21 Ulrich Drepper <drepper@gmail.com>
12630
12631 * string/tester.c (test_strcat): Add tests for different alignments
12632 of source and destination.
12633 (test_strncat): Likewise.
12634
6986b98a
UD
126352011-07-20 Ulrich Drepper <drepper@gmail.com>
12636
90bb2039
UD
12637 [BZ #12852]
12638 * posix/glob.c (glob): Check passed in values before using them in
12639 expressions to avoid some overflows.
12640 (glob_in_dir): Likewise.
12641
5644ef54
UD
12642 [BZ #13007]
12643 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12644 check for AVX enablement so that we don't crash with old kernels and
12645 new hardware.
12646 * elf/tst-audit4.c: Add same checks here.
12647 * elf/tst-audit6.c: Likewise.
12648
12649 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 12650
bfc9dc9b
AS
126512011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12652
12653 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12654
702e64bb
UD
126552011-07-20 Ulrich Drepper <drepper@gmail.com>
12656
12657 * po/cs.po: Update from translation team.
12658 * po/bg.po: Likewise.
12659
295e904f
MP
126602011-07-12 Marek Polacek <mpolacek@redhat.com>
12661
12662 * misc/sys/cdefs.h: Add support for const attribute.
12663 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12664 to gnu_dev_{major,minor,makedev} functions.
12665
3ff94596
MP
126662011-07-20 Marek Polacek <mpolacek@redhat.com>
12667
12668 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12669
28b59fca
AS
126702011-07-20 Andreas Schwab <schwab@redhat.com>
12671
12672 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12673 strlen results.
12674
19df733e
AK
126752011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12676
12677 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12678 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12679 register in order to avoid conflicts with the soft frame pointer
12680 being held in r11 when necessary.
12681 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12682 (INTERNAL_VSYSCALL_NCS): Likewise.
12683
c8835729
MP
126842011-07-14 Marek Polacek <mpolacek@redhat.com>
12685
12686 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12687 * elf/dl-fini.c (_dl_fini): Adjust caller.
12688 * elf/dl-close.c (_dl_close_worker): Likewise.
12689 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12690
b902330c
MP
126912011-07-15 Marek Polacek <mpolacek@redhat.com>
12692
8991e135
MP
12693 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12694 "aux_cache->nlibs < 0".
12695
b902330c
MP
12696 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12697 in the reload-count case.
12698
99710781
LD
126992011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12700
12701 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12702 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12703 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12704 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12705 * sysdeps/x86_64/multiarch/strcat.S: New file.
12706 * sysdeps/x86_64/multiarch/strncat.S: New file.
12707 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12708 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12709 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12710 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12711 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12712 (USE_AS_STRCAT): Define.
12713 Add strcat and strncat support.
12714 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12715 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12716 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12717 * string/strncat.c: Update.
12718 (USE_AS_STRNCAT): Define.
12719 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12720 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12721 and i7.
12722 * sysdeps/x86_64/multiarch/init-arch.h
12723 (bit_Prefer_PMINUB_for_stringop): New.
12724 (index_Prefer_PMINUB_for_stringop): Likewise.
12725 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12726 bit_Prefer_PMINUB_for_stringop.
12727
7dc6bd90
UD
127282011-07-19 Ulrich Drepper <drepper@gmail.com>
12729
12730 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12731 buffer64.
12732 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12733 of casting of buffer.
12734 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12735 buffer32 and buffer64.
12736 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12737 writes instead of casting of buffer.
12738 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12739 buffer32.
12740 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12741 casting of buffer.
12742
e0e72284
AS
127432011-07-19 Andreas Schwab <schwab@redhat.com>
12744
12745 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12746
feb1eb0b
UD
127472011-07-19 Ulrich Drepper <drepper@gmail.com>
12748
12749 * nscd/nscd.c (termination_handler): Don't do anything for a database
12750 if it has not yet been initialized.
12751
298711ff
UD
127522011-07-18 Ulrich Drepper <drepper@gmail.com>
12753
12754 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12755
127562011-07-15 Marek Polacek <mpolacek@redhat.com>
12757
12758 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12759
f9d68389
UD
127602011-07-18 Ulrich Drepper <drepper@gmail.com>
12761
12762 * po/nl.po: Update from translation team.
12763 * po/sv.po: Likewise.
12764
db290cf5
RM
127652011-07-16 Roland McGrath <roland@hack.frob.com>
12766
12767 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12768 now disallowed by GCC.
5c550700 12769
fd5e21c7
RM
12770 * configure.in (use-default-link): Default to yes if a test -shared
12771 link meets our qualifications.
12772 * configure: Regenerated.
12773
5c550700
RM
12774 * config.make.in (output-format): New variable.
12775 * configure.in: Check for ld --print-output-format support.
12776 * configure: Regenerated.
12777 * Makerules ($(common-objpfx)format.lds)
12778 [$(output-format) != unknown]: Just use $(output-format),
12779 instead of the linker-script munging.
12780
9fa2c032
RM
127812011-07-14 Roland McGrath <roland@hack.frob.com>
12782
a6928d51
RM
12783 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12784 of $(common-objpfx)shlib.lds.
12785 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12786
661607b3
RM
12787 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12788 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12789
9fa2c032
RM
12790 * configure.in (-z relro check): Adjust test code to add a large
12791 writable data section after it.
12792 * configure: Regenerated.
12793
defe9061
RM
127942011-07-11 Roland McGrath <roland@hack.frob.com>
12795
12796 * configure.in (-z relro check): Fix test code to make the variable
12797 truly const.
12798 * configure: Regenerated.
12799
319b9ad4
UD
128002011-07-11 Ulrich Drepper <drepper@gmail.com>
12801
12802 * nscd/nscd.h (struct traced_file): Define.
12803 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12804 elements. Add traced_files.
12805 (inotify_fd): Declare.
12806 (register_traced_file): Declare.
12807 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12808 (inotify_fd): Export.
12809 (resolv_conf_descr): Remove.
12810 (nscd_init): Move inotify descriptor creation to main.
12811 Don't register files for notification here.
12812 (register_traced_file): New function.
12813 (invalidate_cache): Don't use reset_res to determine whether to call
12814 res_init, go through the list of registered files.
12815 (main_loop_poll): The inotify descriptors are now stored in the
12816 structures for the traced files.
12817 (main_loop_epoll): Likewise
12818 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12819 to __nss_disable_nscd.
12820 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12821 for a database anymore. Check the records for all the registered
12822 files instead.
12823 * nss/Makefile (libnss_files-routines): Add files-init.
12824 (libnss_db-routines): Add db-init.
12825 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12826 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12827 * nss/nss_db/db-init.c: New file.
12828 * nss/nss_files/files-init.c: New file.
12829 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12830 __nss_lookup_function.
12831 (__nss_lookup_function): Call nss_load_library.
12832 (nss_load_all_libraries): New function.
12833 (__nss_disable_nscd): Take parameter with callback function for files
12834 to register. Set is_nscd. Load all the DSOs for the NSS modules
12835 used for the cached services.
12836 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12837 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12838 options for features to all the files in nscd.
12839
12840 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12841
23bee3e8
RM
128422011-07-10 Roland McGrath <roland@hack.frob.com>
12843
12844 * csu/elf-init.c (__libc_csu_init): Comment typo.
12845
46a5b7f0
UD
128462011-07-09 Ulrich Drepper <drepper@gmail.com>
12847
12848 * po/pl.po: Update from translation team.
12849 * po/ja.po: Likewise.
12850 * po/ru.po: Likewise.
12851 * po/ko.po: Likewise.
12852 * po/fr.po: Likewise.
12853
d30cf5bb
RM
128542011-07-09 Roland McGrath <roland@hack.frob.com>
12855
113ddea4
RM
12856 * configure.in (.ctors/.dtors header and trailer check):
12857 Use an empirical test on a built program.
12858 * configure: Regenerated.
12859
574920b4
RM
12860 * configure.in (-z relro check): Use an empirical test on a built DSO.
12861 Detect, but do not require, on ia64.
12862 * configure: Regenerated.
12863
d30cf5bb
RM
12864 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12865 Update tests that use readelf to use $READELF instead.
12866 * configure: Regenerated.
12867
8538fdb3
UD
128682011-07-08 Ulrich Drepper <drepper@gmail.com>
12869
12870 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12871 if the result is not used.
12872
04d08991
AJ
128732011-07-05 Andreas Jaeger <aj@suse.de>
12874
12875 [BZ#9696]
12876 * stdlib/tst-strtod.c: Add testcase.
12877
de283087
AD
128782011-07-07 Ulrich Drepper <drepper@gmail.com>
12879
4e5f31c8 12880 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 12881 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
12882 The latter has a higher limit. Take additional parameter to pass to
12883 the new function.
12884 (__pathconf): Pass file to __statfs_link_max.
12885 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12886 __statfs_link_max.
12887 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12888 __statfs_link_max.
12889
de283087
AD
12890 [BZ #12868]
12891 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12892 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12893 Handle Lustre.
12894 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12895 (__statfs_filesize_max): Likewise.
12896 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12897
c75fa153
AJ
128982011-07-05 Andreas Jaeger <aj@suse.de>
12899
12900 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12901
1a544854
UD
129022011-07-06 Marek Polacek <mpolacek@redhat.com>
12903
12904 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12905 `status' variable.
12906 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12907 Likewise.
12908
6f0eec67
UD
129092011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12910
12911 * Makefile (strop-tests): Add strncat.
12912 * string/test-strncat.c: New file.
12913
aae30307
UD
129142011-06-30 Marek Polacek <mpolacek@redhat.com>
12915
12916 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12917
c0cfb5eb
UD
129182011-06-21 Andreas Jaeger <aj@suse.de>
12919
12920 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12921 Copy rule from iconvdata/Makefile.
12922
01636b21
UD
129232011-07-06 Ulrich Drepper <drepper@gmail.com>
12924
12925 [BZ #12922]
12926 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12927 but no long options are defined, just return 'W'.
12928
9895c8bc
UD
129292011-06-22 Marek Polacek <mpolacek@redhat.com>
12930
12931 [BZ #9696]
12932 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12933
5d4cf042
UD
129342011-07-06 Ulrich Drepper <drepper@gmail.com>
12935
12936 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12937 netgroups to read.
960e5535 12938 (innetgr): Likewise.
5d4cf042 12939
751eb97e
RM
129402011-07-05 Roland McGrath <roland@hack.frob.com>
12941
12942 * config.make.in (install_root): Default to $(DESTDIR).
12943
f15f1e45
UD
129442011-07-05 Ulrich Drepper <drepper@gmail.com>
12945
12946 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12947
4e34ac6a
RM
129482011-07-02 Roland McGrath <roland@hack.frob.com>
12949
5e9b6af4
RM
12950 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12951
84f9ea0f
RM
12952 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12953 containing directory rather than embedding absolute directory names.
12954
ea5ee9f7
RM
12955 * scripts/check-local-headers.sh: Rewritten using awk.
12956 Match by word, not by line. Print error messages for matches.
12957 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12958
1b74661a
RM
12959 * Makerules [shlib-lds-flags empty]:
12960 ($(common-objpfx)libc_pic.opts): New target.
12961 ($(common-objpfx)libc_pic.os.clean): New target.
12962 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12963
12964 * config.make.in (OBJCOPY): New variable.
12965 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12966 * configure: Regenerated.
12967
f781ef40
RM
12968 * config.make.in (use-default-link): New variable.
12969 * configure.in (use_default_link): Grok --with-default-link to set it.
12970 * configure: Regenerated.
12971 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12972 (shlib-lds, shlib-lds-flags): Define to empty.
12973
2d4fa81e
RM
12974 * Makerules (shlib-lds): New variable.
12975 (shlib-lds-flags): New variable.
12976 (build-shlib, build-moduile, build-module-asneeded): Use it.
12977 ($(common-objpfx)libc.so): Use $(shlib-lds).
12978 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12979 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12980
31fffa6b
RM
12981 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12982 DT_FLAGS/DT_FLAGS_1 with zero flags.
12983
4e34ac6a
RM
12984 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12985 linker script munging.
12986
fcfc776b
UD
129872011-07-02 Ulrich Drepper <drepper@gmail.com>
12988
12989 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12990 as 128-bit value.
12991 * crypt/sha512.c (sha512_process_block): Perform total addition using
12992 128-bit if possible.
12993 (__sha512_finish_ctx): Likewise.
12994 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12995 as 64-bit value.
12996 * crypt/sha256.c (SWAP64): Define.
12997 (sha256_process_block): Perform total addition using 64-bit if
12998 possible.
12999 (__sha256_finish_ctx): Likewise.
13000
99231d9a
UD
130012011-07-01 Ulrich Drepper <drepper@gmail.com>
13002
13003 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13004 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13005 * nscd/hstcache.c (cache_addhst): Likewise.
13006 * nscd/grpcache.c (cache_addgr): Likewise.
13007 * nscd/aicache.c (addhstaiX): Likewise
13008 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13009
445b4a53
TK
130102011-07-01 Thorsten Kukuk <kukuk@suse.de>
13011
13012 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13013 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13014 * nscd/hstcache.c (cache_addhst): Likewise.
13015 * nscd/grpcache.c (cache_addgr): Likewise.
13016 * nscd/aicache.c (addhstaiX): Likewise
13017
6d4d8e8e
AS
130182011-07-01 Andreas Schwab <schwab@redhat.com>
13019
13020 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13021 domain only when needed.
13022
89f654c5
AS
130232011-06-30 Andreas Schwab <schwab@redhat.com>
13024
13025 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13026 is always restored.
13027
cf3b23ff
UD
130282011-06-29 Ulrich Drepper <drepper@gmail.com>
13029
13030 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13031 are re-adding the entry.
13032 * nscd/servicescache.c (cache_addserv): Likewise.
13033
751626f9
AJ
130342011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13035
13036 * sysdeps/generic/dl-irel.h: fix protection against multiple
13037 inclusions.
13038 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13039
9113ea1f
UD
130402011-06-28 Ulrich Drepper <drepper@gmail.com>
13041
5c0b8d90
UD
13042 [BZ #12935]
13043 * malloc/memusage.sh: Fix quoting in message.
13044 * debug/xtrace.sh: Likewise.
13045
9113ea1f
UD
13046 * configure.in: Remove support for --experimental-malloc option, make
13047 it the default.
13048 * config.make.in: Likewise.
13049 * malloc/Makefile: Likewise.
13050
a4172181
AS
130512011-06-27 Andreas Schwab <schwab@redhat.com>
13052
13053 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13054 two-byte characters.
13055
78a7eee7
RM
130562011-06-27 Roland McGrath <roland@hack.frob.com>
13057
62bede13
RM
13058 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13059 AC_CACHE_CHECK invocation.
13060 * configure: Regenerated.
13061
78a7eee7
RM
13062 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13063
5ce33a62
UD
130642011-06-27 Ulrich Drepper <drepper@gmail.com>
13065
034807a9
UD
13066 [BZ #12350]
13067 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13068 bit from old_res_options.
13069
4902da17
UD
13070 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13071
5ce33a62
UD
13072 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13073 value type for setfct.
13074
c2344f56
L
130752011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13076
13077 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13078 __gettimeofday instead of gettimeofday.
13079
68468076
UD
130802011-06-26 Ulrich Drepper <drepper@gmail.com>
13081
13082 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13083
acb0d739
L
130842011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13085
13086 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13087
13088 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13089 info.
13090
8912479f
L
130912011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13092
13093 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13094 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13095 strcpy-sse2-unaligned strncpy-sse2-unaligned
13096 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13097 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13098 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13099 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13100 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13101 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13102 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13103 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13104 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13105 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13106 (STRCPY): Support SSE2 and SSSE3 versions.
13107
d5495a11
UD
131082011-06-24 Ulrich Drepper <drepper@gmail.com>
13109
13110 [BZ #12874]
13111 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13112 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13113 kernels which artificially limit size of requests.
13114
0b1cbaae
L
131152011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13116
13117 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13118 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13119 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13120 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13121 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13122 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13123 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13124 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13125 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13126 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13127 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13128 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13129 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13130 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13131 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13132 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13133 Enable unaligned load optimization for Intel Core i3, i5 and i7
13134 processors.
13135 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13136 Define.
13137 (index_Fast_Unaligned_Load): Define.
13138 (HAS_FAST_UNALIGNED_LOAD): Define.
13139
07f494a0
MP
131402011-06-23 Marek Polacek <mpolacek@redhat.com>
13141
13142 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13143
fa3fc0fe
UD
131442011-06-22 Ulrich Drepper <drepper@gmail.com>
13145
13146 [BZ #12907]
13147 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13148 until it is clear that the information is realy needed.
13149 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13150
e12df166
AS
131512011-06-22 Andreas Schwab <schwab@redhat.com>
13152
13153 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13154
852eb34d
UD
131552011-06-22 Ulrich Drepper <drepper@gmail.com>
13156
84e2a551
UD
13157 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13158 /sys/devices/system/cpu/online if it is usable.
13159
852eb34d
UD
13160 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13161 reading the information from the /proc filesystem to once a second.
13162
6e502e19
UD
131632011-06-21 Andreas Jaeger <aj@suse.de>
13164
13165 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13166 NULL after inclusion of kernel headers.
13167
75d39ff2
UD
131682011-06-21 Ulrich Drepper <drepper@gmail.com>
13169
51f9aa6a
UD
13170 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13171 calls to internal_setent.
13172
c0244a9d
UD
13173 [BZ #12885]
13174 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13175 addresses using gethostbyname4_r ignore IPv4 addresses.
13176
c5e3c2ae
UD
13177 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13178 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13179
75d39ff2
UD
13180 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13181
42675c6f
DM
131822011-06-20 David S. Miller <davem@davemloft.net>
13183
13184 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13185 inclusions.
13186 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13187
13188 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13189 (elf_irel): Use it.
13190 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13191 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13192 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13193 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13194 * sysdeps/x86_64/dl-irel.h: Likewise.
13195
13196 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13197 * elf/dl-sym.c: Likewise.
13198
57912a71
UD
131992011-06-15 Ulrich Drepper <drepper@gmail.com>
13200
13201 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13202 need to dereference resplen2.
13203
ee22793d
AS
132042011-06-14 Andreas Schwab <schwab@redhat.com>
13205
13206 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13207
a9e836b0
UD
132082011-06-15 Ulrich Drepper <drepper@gmail.com>
13209
77fb9117
UD
13210 * Makeconfig: Define vardbdir and inst_vardbdir.
13211 * nss/Makefile: Add rules to install db-Makefile.
13212
40c1b22c
UD
13213 * nss/nss_db/db-XXX.c: Cleanup.
13214
9f2da732
UD
13215 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13216 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13217 GLIBC_PRIVATE.
13218 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13219 * nss/makedb.c: Implement -g option to specify that value strings
13220 are generated and should not be added to table iterated over for
13221 get*ent calls.
13222 * nss/nss_db/db-initgroups.c: New file.
13223
82e9a1f7
UD
13224 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13225 interface.
13226
c41af17e
UD
13227 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13228 (internal_getgrouplist): Adjust to name change.
13229 Update use_initgroups_entry if this is not the first call.
13230 * nss/databases.def: Add initgroups entry.
13231
a9e836b0
UD
13232 * nss/makedb.c (compute_tables): Check result of multiple hash table
13233 sizes to minimize maximum chain length.
13234
2666d441
UD
132352011-06-14 Ulrich Drepper <drepper@gmail.com>
13236
13237 * Versions.def: Add entry for libnss_db.
13238 * shlib-versions: Likewise.
13239 * nss/Makefile: Add rules to build libnss_db.
13240 * nss/Versions: Add libnss_db information. Organize libnss_files
13241 entries better.
13242 * nss/db-Makefile: Add gshadow support. Change rules for the new
13243 makedb progra. Some minor improvements to generate smaller files.
13244 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13245 here from...
13246 * nss/makedb.c: ...here.
13247 Improve database format to be smaller and require less memory at
13248 runtime.
13249 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13250 db anymore.
13251 * nss/nss_db/db-netgrp.c: Likewise.
13252 * nss/nss_db/db-open.c: Likewise.
13253 * nss/nss_files/flies-XXX.x: Adjust comments.
13254 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13255 * nss/nss_files/files-grp.c: Likewise.
13256 * nss/nss_files/files-hosts.c: Likewise.
13257 * nss/nss_files/files-network.c: Likewise.
13258 * nss/nss_files/files-proto.c: Likewise.
13259 * nss/nss_files/files-pwd.c: Likewise.
13260 * nss/nss_files/files-rpc.c: Likewise.
13261 * nss/nss_files/files-service.c: Likewise.
13262 * nss/nss_files/files-sgrp.c: Likewise.
13263 * nss/nss_files/files-spwd.c: Likewise.
13264 * nss/nss_db/db-alias.c: Removed.
13265 * nss/nss_db/dummy-db.h: Removed.
13266
9ee76b5a
UD
132672011-06-02 Ulrich Drepper <drepper@gmail.com>
13268
13269 * nss/makedb.c: Rewritten to not use database library.
13270 * nss/Makefile: Update to build new makedb program.
13271
c71ca1f8
AJ
132722011-06-14 Andreas Jaeger <aj@suse.de>
13273
13274 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13275 memset declaration.
13276
3154bfb8
UD
132772011-06-10 Andreas Schwab <schwab@redhat.com>
13278
13279 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13280 tmpbuf.
13281
b350afab
RM
132822011-06-10 Roland McGrath <roland@hack.frob.com>
13283
decd4e50
RM
13284 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13285 * elf/Makefile ($(objpfx)ld.so): Likewise.
13286
5615eaf2
RM
13287 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13288 Don't list ld.so twice in dependencies.
13289
13290 * posix/bug-regex31.c: Include <stdlib.h>.
13291
13292 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13293
13294 * nis/nss_compat/compat-spwd.c
13295 (getspent_next_nss_netgr): Remove unused variable.
13296 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13297
13298 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13299 nonmembers" output to use the right array.
13300
13301 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13302
13303 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13304
13305 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13306 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13307 * catgets/gencat.c (read_input_file): Likewise.
13308 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13309
13310 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13311 variable definition inside #if's controlling its use.
13312
13313 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13314
13315 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13316
13317 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13318
13319 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13320 unreachable code.
13321
13322 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13323
b68e08db
RM
13324 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13325 * configure: Regenerated.
13326
b350afab
RM
13327 * Makerules: Revert last change.
13328 * elf/Makefile: Likewise.
13329
28368601
RM
133302011-06-09 Roland McGrath <roland@hack.frob.com>
13331
13332 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13333 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13334 (reloc-link): Likewise.
13335
11988f8f
UD
133362011-06-09 Ulrich Drepper <drepper@gmail.com>
13337
13338 * elf/Makefile: Add rules to build pldd.
13339 * elf/pldd.c: New file.
13340 * elf/pldd-xx.c: New file.
13341
e80fab37
UD
133422011-06-07 Ulrich Drepper <drepper@gmail.com>
13343
13344 * version.h: Update for 2.15 development version.
13345
9b849836
DM
133462011-06-07 David S. Miller <davem@davemloft.net>
13347
13348 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13349 ifuncs.
13350 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13351 elf_machine_lazy_rel): Likewise.
13352 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13353 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13354 elf_machine_lazy_rel): Likewise.
13355 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13356 dl_hwcap via passed in argument.
13357 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13358 Likewise.
13359
5a31b283
AK
133602011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13361
13362 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13363
069e52f8
RM
133642011-06-06 Roland McGrath <roland@hack.frob.com>
13365
13366 [BZ #12849]
13367 * manual/fdl-1.1.texi: New file, verbatim from:
13368 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13369 * manual/lgpl-2.1.texi: New file, verbatim from:
13370 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13371 * manual/Makefile (licenses): New variable, list those new file names.
13372 (texis): Use it.
13373 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13374
13375 * manual/fdl.texi: File removed.
13376 * manual/lesser.texi: File removed.
13377 * manual/libc.texinfo (Copying, Documentation License):
13378 Use new @include file names, put @appendix directive before @include.
13379
f16846a5
JJ
133802011-06-04 Jakub Jelinek <jakub@redhat.com>
13381
13382 [BZ #12841]
13383 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13384 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13385 (mq_open): Add __NTH.
13386
3d29045b
L
133872011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13388
13389 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13390 Assume Intel Core i3/i5/i7 processor if AVX is available.
13391
8c297311
UD
133922011-05-31 Ulrich Drepper <drepper@gmail.com>
13393
13394 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13395 typo.
13396
c8fc0c91
UD
133972011-05-31 Andreas Schwab <schwab@redhat.com>
13398
13399 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13400 memory. Use alloca_account. Fix memory leak when retrying.
13401
5b27a807
UD
134022011-05-31 Ulrich Drepper <drepper@gmail.com>
13403
356f8bc6
UD
13404 * version.h (RELEASE): Bump for 2.14 release.
13405 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13406
5b27a807
UD
13407 * config.make.in (RANLIB): Remove entry.
13408
01f16ab0
UD
134092011-05-30 Ulrich Drepper <drepper@gmail.com>
13410
41fce8bd
UD
13411 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13412 (libc.pot): Work around missing support for .ksh extension in xgettext.
13413
4769ae77
UD
13414 [BZ #12684]
13415 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13416 if both request failed.
13417 (send_dg): In case of server errors clear resplen or *resplen2.
13418
6b1e7d19
UD
13419 [BZ #12454]
13420 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13421 when there are multiple maps.
13422 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13423 (_dl_fini): Remove test here.
13424
01f16ab0
UD
13425 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13426
b1ebd700
UD
134272011-05-29 Ulrich Drepper <drepper@gmail.com>
13428
7ae22829
UD
13429 [BZ #12350]
13430 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13431 bit from old_res_options.
13432 (gaih_inet): Likewise.
13433
553149f6 13434 [BZ #11099]
18a84741 13435 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13436 as signed.
13437
652ffab1
UD
13438 * resolv/res_init.c (res_setoptions): Make the code more compact.
13439
16985fd0
UD
13440 [BZ #11558]
13441 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13442 set RES_USEVC.
13443
0464f746
UD
13444 [BZ #11634]
13445 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13446
7d17596c
UD
13447 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13448
cf6bbbd7
UD
13449 [BZ #11781]
13450 * malloc/malloc.h: Declare malloc hook variables as volatile.
13451
13f1ab36
UD
13452 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13453 in last patch.
13454
b1ebd700
UD
13455 [BZ #11799]
13456 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13457 raise in the comment.
80e2212d
UD
13458 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13459 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13460 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13461
ce67228d
UD
134622011-05-28 Ulrich Drepper <drepper@gmail.com>
13463
8887a920
UD
13464 [BZ #12811]
13465 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13466 grow the buffers more if it already has to be sufficient.
13467 (build_wcs_upper_buffer): Likewise.
13468 * posix/regexec.c (check_matching): Likewise.
13469 (clean_state_log_if_needed): Likewise.
13470 (extend_buffers): Don't enlarge buffers beyond size of the input
13471 buffer.
13472 Patches mostly by Emil Wojak <emil@wojak.eu>.
13473 * posix/bug-regex32.c: New file.
13474 * posix/Makefile (tests): Add bug-regex32.
13475
4f031072
UD
13476 * locale/findlocale.c (_nl_find_locale): Return right away if
13477 _nl_explode_name failed.
13478 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13479
d0478f0c
UD
13480 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13481
de81b246
UD
13482 * debug/xtrace.sh: Unify messages.
13483 * malloc/memusage.sh: Likewise.
13484
c738465a
UD
13485 [BZ #12813]
13486 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13487 time symbol from vDSO. Substitute with vsyscall if not available.
13488 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13489 __vdso_time.
13490
f1f929d7
UD
13491 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13492 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13493 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13494 Add sendmmsg and internal_sendmmsg.
13495 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13496 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13497 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13498
ce67228d
UD
13499 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13500 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13501 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13502
e57420c6
UD
135032011-05-27 Ulrich Drepper <drepper@gmail.com>
13504
a8509ca5
UD
13505 [BZ #12813]
13506 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13507 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13508 available.
13509 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13510 __vdso_getcpu.
13511
e57420c6
UD
13512 [BZ #12814]
13513 * iconvdata/Makefile (tests): Add bug-iconv9.
13514 * iconvdata/bug-iconv9.c: New file.
13515
4d07db15
AS
135162011-05-27 Andreas Schwab <schwab@redhat.com>
13517
13518 [BZ #12814]
13519 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13520
ea486f69
JJ
135212011-05-25 Jakub Jelinek <jakub@redhat.com>
13522
13523 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13524 (struct user_regs_struct): Change intcs field back to cs.
13525
6f038433
UD
135262011-05-25 Ulrich Drepper <drepper@gmail.com>
13527
13528 * po/ja.po: Update from translation team.
13529
67f86a25
UD
135302011-05-23 Ulrich Drepper <drepper@gmail.com>
13531
13532 [BZ #12795]
13533 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13534 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13535
def7fbd6
AS
135362011-05-20 Andreas Schwab <schwab@redhat.com>
13537
13538 * stdlib/longlong.h: Update from GCC.
13539
f50ef8f1
AS
135402011-05-23 Andreas Schwab <schwab@redhat.com>
13541
13542 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13543 parameter name.
13544 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13545 Add parameter name.
13546 (__sysconf): Pass it down.
13547
de7ce8f1
UD
135482011-05-22 Ulrich Drepper <drepper@gmail.com>
13549
f2962a71
UD
13550 [BZ #12671]
13551 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13552 some situations.
13553 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13554 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13555 add in in __libc_use_alloca calls. Adjust callers.
13556 (glob): Use malloc in some situations.
13557
de7ce8f1
UD
13558 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13559 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13560 pltexit.
13561
aec84f53
UD
135622011-05-21 Ulrich Drepper <drepper@gmail.com>
13563
05bb4a68
UD
13564 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13565 and CLOCK_BOOTTIME_ALARM.
13566
7ea72f99
UD
13567 [BZ #12782]
13568 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13569 is returned.
13570
7e4afad5
UD
13571 * string/_strerror.c (__strerror_r): Print negative errors as signed
13572 numbers.
13573
8e211fec
UD
13574 [BZ #12777]
13575 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13576 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13577 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13578
f7d82dc9
UD
13579 * configure.in: Fix typo in redirection and correct removal of test
13580 files in two cases.
13581
cc9e536d
UD
13582 [BZ #12788]
13583 * locale/setlocale.c (new_composite_name): Fix test to check for
13584 identical name of all categories.
13585
aec84f53
UD
13586 [BZ #12792]
13587 * libio/filedoalloc.c (local_isatty): New function.
13588 (_IO_file_doallocate): Use local_isatty.
13589 * stdio-common/perror.c (perror): In case a new stream is used
13590 forward the stream error.
13591 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13592 error flag.
13593
78e64fdc
RT
135942011-05-20 Ulrich Drepper <drepper@gmail.com>
13595
34a9094f
UD
13596 [BZ #11869]
13597 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13598 alloca.
13599 * include/alloca.h (extend_alloca_account): Define.
13600
78e64fdc
RT
13601 [BZ #11857]
13602 * posix/regex.h: Fix comments with documentation of user-accessible
13603 fields after compilation and describe correct free'ing of pattern
13604 after re_compile_pattern.
13605 Patch by Reuben Thomas <rrt@sc3d.org>.
13606
457bddfc
RA
136072011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13608
13609 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13610 and -mno-altivec to prevent the compiler from using Altivec and/or
13611 VSX instructions when the corresponding registers are not available.
13612
a4527b51
AS
136132011-05-19 Andreas Schwab <schwab@redhat.com>
13614
13615 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13616
ed690b2f
UD
136172011-05-19 Ulrich Drepper <drepper@gmail.com>
13618
13619 * libio/freopen.c (freopen): Use __dup2, not dup2.
13620 * libio/freopen64.c (freopen64): Likewise.
13621
8db73634
L
136222011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13623
13624 [BZ #12775]
13625 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13626 * math/Makefile (tests): Add test-powl.
13627 (CFLAGS-test-powl.c): Define.
13628 * math/test-powl.c: New file.
13629
0a197a9d
L
136302011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13631
13632 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13633
ee30c380
UD
136342011-05-17 Ulrich Drepper <drepper@gmail.com>
13635
13636 [BZ #11837]
13637 * iconvdata/gb18030.c: Update to GB18020-2005.
13638
6ce75379
UD
136392011-05-16 Ulrich Drepper <drepper@gmail.com>
13640
a4b89fd8
AR
13641 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13642 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13643 Patch by Aharon Robbins <arnold@skeeve.com>.
13644
ea389b12
UD
13645 [BZ #11892]
13646 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13647 on the stack.
13648
68a3f91f
UD
13649 [BZ #11895]
13650 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13651 through underflows.
13652
15cc7dd1
UD
13653 [BZ #12766]
13654 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13655 point to strings before performing equality test for error_one_per_line
13656 mode.
13657
f3799213
UD
13658 [BZ #11697]
13659 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13660
d79a9c94
UD
13661 [BZ #11820]
13662 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13663 (struct user_fpregs_struct): Avoid __uint*_t types.
13664
56e5eb46
UD
13665 [BZ #6420]
13666 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13667 symbol info. Use it instead of calling _dl_addr locally.
13668 (lock_and_info): New function.
13669 (tr_freehook): Call lock_and_info and pass symbol info as additional
13670 parameter to tr_where.
13671 (tr_mallochook): Likewise.
13672 (tr_reallochook): Likewise.
13673 (tr_memalignhook): Likewise.
13674
6ce75379
UD
13675 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13676 used and couldn't be at all thread-safe.
13677
f8a3b5bf
UD
136782011-05-15 Ulrich Drepper <drepper@gmail.com>
13679
94b7cc37
UD
13680 * libio/freopen.c (freopen): Don't close old file descriptor
13681 before the new one is opened. Instead dup the new file descriptor
13682 to the old one after the new stream is created.
13683 * libio/freopen64.c (freopen64): Likewise.
13684 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13685 * libio/fileops.c (_IO_new_file_close_it): Handle new
13686 _IO_FLAGS2_NOCLOSE flag.
13687 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13688 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13689 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13690 _IO_FLAGS2_NOCLOSE flag.
13691 * include/unistd.h: Add hidden_proto for dup3.
13692 Define __have_dup3.
13693 * io/dup3.c: Define hidden symbol.
13694 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13695
bd25564e
UD
13696 [BZ #7101]
13697 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13698 when an incomplete long option is used.
13699 * posix/tst-getopt_long1.c: New file.
13700 * posix/Makefile (tests): Add tst-getopt_long1.
13701
c84cfef4
UD
13702 [BZ #10138]
13703 * scripts/config.guess: Update from autoconf-2.68.
13704 * scripts/config.sub: Likewise.
13705
3b85df27
UD
13706 [BZ #10157]
13707 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13708 tests into ...
13709 (has_cpuclock): ...this. New function.
13710 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13711 macro here based on has_cpuclock code.
13712
15a856b1
UD
13713 [BZ #10149]
13714 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13715 First byte (not low byte) is now always NUL.
13716 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13717
05f399e6
UD
13718 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13719 Use non-cancelable interfaces.
13720
10a52685 13721 [BZ #9809]
94ecc67d
UD
13722 * locale/iso-639.def: Add entry for Sorani.
13723
f8a3b5bf
UD
13724 [BZ #11901]
13725 * include/stdlib.h: Move include protection to the right place.
13726 Define abort_msg_s. Declare __abort_msg with it.
13727 * stdlib/abort.c (__abort_msg): Adjust type.
13728 * assert/assert.c (__assert_fail_base): New function. Majority
13729 of code from __assert_fail. Allocate memory for __abort_msg with
13730 mmap.
13731 (__assert_fail): Now call __assert_fail_base.
13732 * assert/assert-perr.c: Remove bulk of implementation. Use
13733 __assert_fail_base.
13734 * include/assert.hL Declare __assert_fail_base.
13735 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13736 mmap.
13737 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13738
1af4e298
UD
137392011-05-14 Ulrich Drepper <drepper@gmail.com>
13740
f8a3b5bf 13741 [BZ #11952]
d26dfc60
MG
13742 [BZ #12453]
13743 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13744 until all modules are registered in the DTV.
13745 * elf/Makefile: Add rules to build and run tst-tls19.
13746 * elf/tst-tls19.c: New file.
13747 * elf/tst-tls19mod1.c: New file.
13748 * elf/tst-tls19mod2.c: New file.
13749 * elf/tst-tls19mod3.c: New file.
13750 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13751
2fc54d6f
UD
13752 [BZ #12083]
13753 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13754 correctly.
13755
98d76b46
UD
13756 [BZ #12601]
13757 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13758 two-byte sequence errors.
13759 * iconvdata/Makefile (tests): Add bug-iconv8.
13760 * iconvdata/bug-iconv8.c: New file.
13761
da3c19ef
UD
13762 [BZ #12626]
13763 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13764 buf2 definition.
13765
ca408c15
UD
13766 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13767
d6f67f7d
UD
13768 [BZ #12432]
13769 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13770 (dummy_getcfa): New function.
13771 (init): Get _Unwind_GetCFA address, use dummy if not found.
13772 (backtrace_helper): In recursion check, also check whether CFA changes.
13773 (__backtrace): Completely initialize arg.
13774
1af4e298 13775 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
13776 storing incomplete byte sequence in state object. Avoid testing for
13777 guaranteed too small input if we know there is enough data available.
1af4e298 13778
da62f81b
AS
137792011-05-11 Andreas Schwab <schwab@redhat.com>
13780
13781 * Makeconfig (+link-pie): Indent.
13782 * Rules (binaries-pie): Define if $(have-fpie) and
13783 $(build-shared).
13784 (binaries-shared): Also filter out $(binaries-pie).
13785 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13786 * nscd/Makefile (others-pie): Add nscd.
13787 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13788 ($(objpfx)nscd): Remove command override.
13789 * login/Makefile (others-pie): Add pt_chown.
13790 ($(objpfx)pt_chown): Remove command override.
13791 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13792 remove command overrides.
13793
fcabc0f8
UD
137942011-05-13 Ulrich Drepper <drepper@gmail.com>
13795
20030ae6
UD
13796 * libio/tst_putwc.c: Fix error messages.
13797
fcabc0f8
UD
13798 [BZ #12724]
13799 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13800 currently writing and seek to current position when not.
13801 * libio/Makefile (tests): Add bug-fclose1.
13802 * libio/bug-fclose1.c: New file.
13803
320a5dc0
PB
138042011-05-12 Ulrich Drepper <drepper@gmail.com>
13805
13806 [BZ #12511]
13807 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13808 don't set DF_1_NODELETE here.
13809 (do_lookup_x): When entering new entry test for copy relocation
13810 and if necessary set DF_1_NODELETE flag.
13811 * elf/tst-unique4.cc: New file.
13812 * elf/tst-unique4.h: New file.
13813 * elf/tst-unique4lib.cc: New file.
13814 * elf/Makefile: Add rules to build and run tst-unique4.
13815 Patch by Piotr Bury <pbury@goahead.com>.
13816
22836f52
UD
138172011-05-11 Ulrich Drepper <drepper@gmail.com>
13818
f574184a
UD
13819 [BZ #12052]
13820 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13821
e1fb097f
UD
13822 [BZ #12625]
13823 * misc/mntent_r.c (addmntent): Flush the stream after the output
13824
22836f52
UD
13825 [BZ #12393]
13826 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13827 (is_trusted_path_normalize): Skip initial colon. Append slash
13828 to empty buffer. Duplicate is_trusted_path code but allow
13829 constructed patch to be prefix.
13830 (is_dst): Allow $ORIGIN followed by /.
13831 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13832 Correct testing of result of is_trusted_path_normalize
13833 (decompose_rpath): Fix warning.
13834
7b3b0b2a
UD
138352011-05-10 Ulrich Drepper <drepper@gmail.com>
13836
13837 [BZ #11257]
13838 * grp/initgroups.c (internal_getgrouplist): When we found the service
13839 list through the initgroups entry in nsswitch.conf do not always
13840 continue on a successful lookup. Don't always use the
eac80ce2 13841 __nss_group_database value if it is set.
7b3b0b2a
UD
13842 * nss/nsswitch.conf (initgroups): Change action for successful db
13843 lookup to continue for compatibility.
13844
2a81eaa5
UD
138452011-05-09 Ulrich Drepper <drepper@gmail.com>
13846
be97a69e
UD
13847 [BZ #11532]
13848 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13849 and CP774 modules.
13850 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13851 and CP774 modules.
13852 * iconvdata/tst-tables.sh: Likewise.
13853 * iconvdata/cp770.c: New file.
13854 * iconvdata/cp771.c: New file.
13855 * iconvdata/cp772.c: New file.
13856 * iconvdata/cp773.c: New file.
13857 * iconvdata/cp774.c: New file.
13858 * iconvdata/testdata/CP770: New file.
13859 * iconvdata/testdata/CP770..UTF8: New file.
13860 * iconvdata/testdata/CP771: New file.
13861 * iconvdata/testdata/CP771..UTF8: New file.
13862 * iconvdata/testdata/CP772: New file.
13863 * iconvdata/testdata/CP772..UTF8: New file.
13864 * iconvdata/testdata/CP773: New file.
13865 * iconvdata/testdata/CP773..UTF8: New file.
13866 * iconvdata/testdata/CP774: New file.
13867 * iconvdata/testdata/CP774..UTF8: New file.
13868
13869 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13870 END CHARMAP line.
13871 * iconvdata/gen-8bit-gap.sh: Likewise.
13872 * iconvdata/gen-8bit.sh: Likewise.
13873
c1e9e399
UD
13874 * locale/iso-639.def: Add ary entry.
13875
24c55fb3 13876 [BZ #11258]
96b4b1b0
UD
13877 * locale/C-translit.h.in: Add U20A1 transliteration.
13878
bdc2f971
KB
13879 [BZ #12178]
13880 * locale/iso-639.def: Add wae entry.
13881 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13882
2952b117
UD
13883 [BZ #12545]
13884 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13885 for n.
13886
2a81eaa5
UD
13887 [BZ #12711]
13888 * locale/C-translit.h.in: Add entry for U20B9.
13889 Patch by pravin.d.s@gmail.com.
13890
28377d1b
UD
138912011-05-08 Ulrich Drepper <drepper@gmail.com>
13892
7fb90fb8
UD
13893 [BZ #12713]
13894 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13895 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
13896 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13897 in rtld. Use *stat64.
7fb90fb8 13898 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 13899 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 13900 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
13901 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13902 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13903 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13904 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13905 __fstatat64 macros.
7fb90fb8
UD
13906 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13907 * dirent/rewinddir.c: Add libc_hidden_def.
13908 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 13909 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 13910
28377d1b
UD
13911 * include/dirent.h (__alloc_dir): Add flags parameter.
13912 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13913 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13914 __alloc_dir.
13915 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13916 from fdopendir if O_CLOEXEC is already set.
13917
66bdbaa4
AM
139182011-03-15 Alan Modra <amodra@gmail.com>
13919
13920 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13921 l_tls_firstbyte_offset non-zero. Save padding offset in
13922 l_tls_firstbyte_offset for later use.
13923 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13924 freeing static tls block.
13925
95721191
JN
139262011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13927
13928 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13929 where #ifdef was intended. The intent is to prevent ARG_MAX from
13930 being defined by the kernel headers.
13931
f87dfb1f
UD
139322011-05-07 Ulrich Drepper <drepper@gmail.com>
13933
13934 [BZ #12734]
13935 * resolv/resolv.h: Define RES_NOTLDQUERY.
13936 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13937 no-tld-query and set RES_NOTLDQUERY.
13938 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13939 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13940 modern BIND to search name as TLD unless forbidden.
13941
47c3cd7a
UD
139422011-05-07 Petr Baudis <pasky@suse.cz>
13943 Ulrich Drepper <drepper@gmail.com>
13944
13945 [BZ #12393]
13946 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13947 (is_trusted_path): ...to here.
c1e9ea35 13948 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 13949 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 13950 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 13951
8a35c912
PP
139522011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13953
13954 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13955 __BEGIN/__END_DECLS.
13956
acd41f47
UD
139572011-05-06 Ulrich Drepper <drepper@gmail.com>
13958
13959 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13960 NSS_STATUS_NOTFOUND if no record was found.
13961
597df647
AS
139622011-05-05 Andreas Schwab <schwab@redhat.com>
13963
13964 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13965 (headers-not-in-tirpc): Remove rpc/netdb.h
13966 * resolv/netdb.h: Revert last change.
13967
b9af1301
PP
139682011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13969
13970 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13971 circular dependency between libgcc.a and libc.a.
13972
4e34d5f5
AS
139732011-05-05 Andreas Schwab <schwab@redhat.com>
13974
13975 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13976 * nis/Makefile: Don't install rpcsvc/*.
13977 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13978 instead of <rpc/types.h>.
13979 (MAXHOSTNAMELEN): Define.
13980
00ee369c
AS
139812011-05-03 Andreas Schwab <schwab@redhat.com>
13982
13983 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13984
0b592a30
MB
139852011-04-28 Maciej Babinski <mbabinski@google.com>
13986
13987 [BZ #12714]
13988 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13989 gethostbyname4_r when IPv6 results are possible.
13990
6e04cbbe
UD
139912011-05-02 Ulrich Drepper <drepper@gmail.com>
13992
13993 [BZ #12723]
13994 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13995 _PC_PIPE_BUF handling.
13996
e4ecafe0
BH
139972011-04-30 Bruno Haible <bruno@clisp.org>
13998
13999 [BZ #12717]
14000 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14001 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14002 to 'int'.
14003 * inet/getnameinfo.c (getnameinfo): Likewise.
14004
125ee683
UD
140052011-04-29 Ulrich Drepper <drepper@gmail.com>
14006
14007 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14008 to groups setting in database lookup.
14009 * nss/nsswitch.conf: Add initgroups entry.
14010
b722481a
EB
140112011-04-22 Ulrich Drepper <drepper@gmail.com>
14012
14013 [BZ #12685]
14014 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14015 mode string.
14016 Patch by Eric Blake <eblake@redhat.com>.
14017
4df46dbd
L
140182011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14019
14020 * sunrpc/Makefile (need-export-routines): Add svc_run.
14021 (routines): Remove svc_run.
14022 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14023 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14024 * sunrpc/svc_run.c (svc_run): Likewise.
14025 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14026
e84142d2
UD
140272011-04-21 Ulrich Drepper <drepper@gmail.com>
14028
14029 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14030 problem in reallocation in last patch.
14031
877175d8
UD
140322011-04-20 Ulrich Drepper <drepper@gmail.com>
14033
14034 * sunrpc/Makefile: Move inclusion of Rules.
14035
ab8eed78
UD
140362011-04-19 Ulrich Drepper <drepper@gmail.com>
14037
14038 * nss/nss_files/files-initgroups.c: New file.
14039 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14040 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14041 _nss_files_initgroups_dyn.
14042
e3d8f584
RS
140432011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14044
14045 * elf/elf.h (R_ARM_IRELATIVE): Define.
14046
af190f45
UD
140472011-04-19 Ulrich Drepper <drepper@gmail.com>
14048
14049 * po/ru.po: Update from translation team.
14050
53cf59ef
UD
140512011-04-17 Ulrich Drepper <drepper@gmail.com>
14052
14053 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14054 dependencies.
14055
4c559bcd
MF
140562011-02-06 Mike Frysinger <vapier@gentoo.org>
14057
14058 [BZ #12653]
14059 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14060 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14061 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14062 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14063 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14064
4420675c
AS
140652011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14066
14067 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14068 differing bytes.
14069 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14070 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14071 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14072
75ea32ab
UD
140732011-04-17 Ulrich Drepper <drepper@gmail.com>
14074
14075 [BZ #12420]
14076 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14077 storing it.
14078 * stdlib/bug-getcontext.c: New file.
14079 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14080
27390476
AK
140812011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14082
14083 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14084 instructions into .machine "z9-109".
14085 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14086 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14087
10442705
AK
140882011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14089
14090 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14091 between environment variables and auxiliary vector.
14092
7b57bfe5
UD
140932011-04-16 Ulrich Drepper <drepper@gmail.com>
14094
14095 * Makefile: Add rules to build linkobj/libc.so.
14096 * include/libc-symbols.h: Define libc_hidden_nolink.
14097 * include/rpc/auth.h: Mark functions which are to be hidden.
14098 * include/rpc/auth_des.h: Likewise.
14099 * include/rpc/auth_unix.h: Likewise.
14100 * include/rpc/clnt.h: Likewise.
14101 * include/rpc/des_crypt.h: Likewise.
14102 * include/rpc/key_prot.h: Likewise.
14103 * include/rpc/pmap_clnt.h: Likewise.
14104 * include/rpc/pmap_prot.h: Likewise.
14105 * include/rpc/pmap_rmt.h: Likewise.
14106 * include/rpc/rpc_msg.h: Likewise.
14107 * include/rpc/svc.h: Likewise.
14108 * include/rpc/svc_auth.h: Likewise.
14109 * include/rpc/xdr.h: Likewise.
14110 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14111 * nss/Makefile: Likewise.
14112 * sunrpc/Makefile: Don't install headers. Build library with normal
14113 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14114 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14115 for the compat linking library. Remove use of INTDEF/INTUSE.
14116 * sunrpc/auth_none.c: Likewise.
14117 * sunrpc/auth_unix.c: Likewise.
14118 * sunrpc/authdes_prot.c: Likewise.
14119 * sunrpc/authuxprot.c: Likewise.
14120 * sunrpc/clnt_gen.c: Likewise.
14121 * sunrpc/clnt_perr.c: Likewise.
14122 * sunrpc/clnt_raw.c: Likewise.
14123 * sunrpc/clnt_simp.c: Likewise.
14124 * sunrpc/clnt_tcp.c: Likewise.
14125 * sunrpc/clnt_udp.c: Likewise.
14126 * sunrpc/clnt_unix.c: Likewise.
14127 * sunrpc/des_crypt.c: Likewise.
14128 * sunrpc/des_soft.c: Likewise.
14129 * sunrpc/get_myaddr.c: Likewise.
14130 * sunrpc/key_call.c: Likewise.
14131 * sunrpc/key_prot.c: Likewise.
14132 * sunrpc/netname.c: Likewise.
14133 * sunrpc/pm_getmaps.c: Likewise.
14134 * sunrpc/pm_getport.c: Likewise.
14135 * sunrpc/pmap_clnt.c: Likewise.
14136 * sunrpc/pmap_prot.c: Likewise.
14137 * sunrpc/pmap_prot2.c: Likewise.
14138 * sunrpc/pmap_rmt.c: Likewise.
14139 * sunrpc/publickey.c: Likewise.
14140 * sunrpc/rpc_cmsg.c: Likewise.
14141 * sunrpc/rpc_common.c: Likewise.
14142 * sunrpc/rpc_dtable.c: Likewise.
14143 * sunrpc/rpc_prot.c: Likewise.
14144 * sunrpc/rpc_thread.c: Likewise.
14145 * sunrpc/rtime.c: Likewise.
14146 * sunrpc/svc.c: Likewise.
14147 * sunrpc/svc_auth.c: Likewise.
14148 * sunrpc/svc_authux.c: Likewise.
14149 * sunrpc/svc_raw.c: Likewise.
14150 * sunrpc/svc_run.c: Likewise.
14151 * sunrpc/svc_simple.c: Likewise.
14152 * sunrpc/svc_tcp.c: Likewise.
14153 * sunrpc/svc_udp.c: Likewise.
14154 * sunrpc/svc_unix.c: Likewise.
14155 * sunrpc/svcauth_des.c: Likewise.
14156 * sunrpc/xcrypt.c: Likewise.
14157 * sunrpc/xdr.c: Likewise.
14158 * sunrpc/xdr_array.c: Likewise.
14159 * sunrpc/xdr_float.c: Likewise.
14160 * sunrpc/xdr_intXX_t.c: Likewise.
14161 * sunrpc/xdr_mem.c: Likewise.
14162 * sunrpc/xdr_rec.c: Likewise.
14163 * sunrpc/xdr_ref.c: Likewise.
14164 * sunrpc/xdr_sizeof.c: Likewise.
14165 * sunrpc/xdr_stdio.c: Likewise.
14166
e6c61494
UD
141672011-04-10 Ulrich Drepper <drepper@gmail.com>
14168
14169 [BZ #12650]
14170 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14171 * sysdeps/ia64/dl-tls.h: Likewise.
14172 * sysdeps/powerpc/dl-tls.h: Likewise.
14173 * sysdeps/s390/dl-tls.h: Likewise.
14174 * sysdeps/sh/dl-tls.h: Likewise.
14175 * sysdeps/sparc/dl-tls.h: Likewise.
14176 * sysdeps/x86_64/dl-tls.h: Likewise.
14177 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14178
34fe483e
AS
141792011-03-14 Andreas Schwab <schwab@redhat.com>
14180
14181 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14182 rpath element also skip the following colon.
14183 (expand_dynamic_string_token): Add is_path parameter and pass
14184 down to DL_DST_REQUIRED and _dl_dst_substitute.
14185 (decompose_rpath): Call expand_dynamic_string_token with
14186 non-zero is_path. Ignore empty rpaths.
14187 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14188 with zero is_path.
14189
f12a32e6
AS
141902011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14191
14192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14193 Make cancelable.
14194
38a7d692
UD
141952011-04-09 Ulrich Drepper <drepper@gmail.com>
14196
14197 [BZ #12655]
14198 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14199 Patch by Filipe David Manana <fdmanana@apache.org>.
14200
e451d22b
AS
142012011-04-07 Andreas Schwab <schwab@redhat.com>
14202
14203 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14204 Maintain aligned stack.
14205 (CHECK_RSP): Remove unused macro.
14206
dedc7c7b
UD
142072011-04-03 Ulrich Drepper <drepper@gmail.com>
14208
14209 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14210 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14211
94521213
UD
142122011-04-02 Ulrich Drepper <drepper@gmail.com>
14213
14214 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14215
8cb700c0 14216 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14217
0354e355
L
142182011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14219
14220 [BZ #12518]
14221 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14222 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14223 * sysdeps/x86_64/memmove.c: New file.
14224 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14225 (memcpy): Renamed to ...
14226 (__new_memcpy): This.
14227 (memcpy): Provide GLIBC_2_14 memcpy.
14228 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14229 (memcpy): Provide GLIBC_2_2_5 memcpy.
14230
8593482f
UD
142312011-04-01 Ulrich Drepper <drepper@gmail.com>
14232
14233 [BZ #12631]
14234 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14235
81a5726b
AS
142362011-03-30 Andreas Schwab <schwab@redhat.com>
14237
14238 * misc/syncfs.c: New file.
14239 * misc/Makefile (routines): Add syncfs.
14240 * posix/unistd.h: Declare syncfs.
14241 * sysdeps/unix/syscalls.list: Add syncfs.
14242
00e5419f
AS
142432011-04-01 Andreas Schwab <schwab@redhat.com>
14244
14245 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14246 open_by_handle_at.
14247 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14248 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14249 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14250 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14251 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14252 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14253 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14254
748876bf
UD
142552011-04-01 Ulrich Drepper <drepper@gmail.com>
14256
658e451d
UD
14257 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14258 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14259 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14260 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14261 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14262 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14263 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14264
748876bf
UD
14265 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14266 sync_file_range.c with -fexceptions.
14267 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14268 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14269 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14270 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14271 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14272 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14273 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14274 sync_file_range as cancellation point
14275 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14276 now a wrapper around __call_sync_file_range with cancellation handling.
14277 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14278 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14279 function name to __call_sync_file_range.
14280 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14281 Add call_sync_file_range.
748876bf 14282
6e63d5e1
AS
142832011-04-01 Andreas Schwab <schwab@redhat.com>
14284
14285 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14286 bits/timex.h.
6e63d5e1 14287
46998f74
UD
142882011-04-01 Ulrich Drepper <drepper@gmail.com>
14289
4c1423ed
UD
14290 * iconv/iconv.h: Fix typo in comment.
14291 * io/fcntl.h: Likewise.
14292 * libio/stdio.h: Likewise.
14293 * posix/spawn.h: Likewise.
14294 * posix/unistd.h: Likewise.
14295 * stdlib/stdlib.h: Likewise.
14296 * time/time.h: Likewise.
14297 * wcsmbs/wchar.h: Likewise.
14298
158648c0
UD
14299 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14300 open_by_handle): Add.
14301 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14302 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14303 Augment a few comments.
14304 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14305 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14306 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14307 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14308 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14309 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14310 open_by_handle.
14311
46998f74
UD
14312 * io/fcntl.h (AT_EMPTY_PATH): Define.
14313
83fe108b
UD
143142011-03-30 Ulrich Drepper <drepper@gmail.com>
14315
14316 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14317 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14318 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14319 to...
14320 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14321 * Versions.def: Add GLIBC_2.14.
14322 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14323 Export.
83fe108b 14324
bb242059
UD
143252011-03-22 Ulrich Drepper <drepper@gmail.com>
14326
14327 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14328 round counter.
14329 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14330
c97a1282
L
143312011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14332
14333 [BZ #12597]
14334 * string/test-strncmp.c (do_page_test): New function.
14335 (check2): Likewise.
14336 (test_main): Call check2.
14337 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14338
2a115601
UD
143392011-03-20 Ulrich Drepper <drepper@gmail.com>
14340
14341 [BZ #12587]
14342 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14343 Handle cache information in CPU leaf 4.
14344 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14345
8126d904
UD
143462011-03-18 Ulrich Drepper <drepper@gmail.com>
14347
042c49c6 14348 [BZ #12583]
8126d904
UD
14349 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14350 character representation.
14351 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14352
ccfe366e
RA
143532011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14354
14355 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14356 END(__isnan) to END(__isnanf) to match function entry point/label
14357 EALIGN(__isnanf,...).
14358
c6e13027
JJ
143592011-03-10 Jakub Jelinek <jakub@redhat.com>
14360
14361 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14362
33f85a3f
UD
143632011-03-10 Ulrich Drepper <drepper@gmail.com>
14364
028478fa
UD
14365 [BZ #12510]
14366 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14367 copy from the symbol referenced in the relocation to initialize the
14368 used variable.
14369 Patch by Piotr Bury <pbury@goahead.com>.
14370 * elf/Makefile: Add rules to build and tst-unique3.
14371 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14372 * elf/tst-unique3.cc: New file.
14373 * elf/tst-unique3.h: New file.
14374 * elf/tst-unique3lib.cc: New file.
14375 * elf/tst-unique3lib2.cc: New file.
14376
33f85a3f
UD
14377 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14378
03592fc7
MF
143792011-03-10 Mike Frysinger <vapier@gentoo.org>
14380
14381 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14382 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14383 to _start.
03592fc7 14384
6a5ee102
UD
143852011-03-06 Ulrich Drepper <drepper@gmail.com>
14386
14387 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14388 to-be-loaded object along a path to loader is ld.so.
14389
7e4ba49c
HJ
143902011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14391 Ulrich Drepper <drepper@gmail.com>
14392
14393 * sysdeps/x86_64/memset.S: After aligning destination, code
14394 branches to different locations depending on the value of
14395 misalignment, when multiarch is enabled. Fix this.
14396
143972011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14398
14399 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14400 Set _x86_64_preferred_memory_instruction for AMD processsors.
14401 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14402 Set bit_Prefer_SSE_for_memop for AMD processors.
14403
13a804de
UD
144042011-03-04 Ulrich Drepper <drepper@gmail.com>
14405
14406 * libio/fmemopen.c (fmemopen): Optimize a bit.
14407
9d25c392
AS
144082011-03-03 Andreas Schwab <schwab@redhat.com>
14409
14410 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14411
a5543c6a
RM
144122011-03-03 Roland McGrath <roland@redhat.com>
14413
14414 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14415
012d35f7
DM
144162011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14417
7e4ba49c 14418 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14419 __bzero_ultra1 instead of __memset_ultra1.
14420
4bff6e01
AS
144212011-02-23 Andreas Schwab <schwab@redhat.com>
14422 Ulrich Drepper <drepper@gmail.com>
14423
14424 [BZ #12509]
14425 * include/link.h (struct link_map): Add l_orig_initfini.
14426 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14427 returning unsuccessfully.
14428 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14429 close of a file loaded at startup, restore the original l_initfini
14430 list.
14431 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14432 list, store the pointer.
14433 * elf/Makefile ($(objpfx)noload-mem): New rule.
14434 (noload-ENV): Define.
14435 (tests): Add $(objpfx)noload-mem.
14436 * elf/noload.c: Include <memcheck.h>.
14437 (main): Call mtrace. Close all opened handles.
14438
f2092faf
AS
144392011-02-17 Andreas Schwab <schwab@redhat.com>
14440
14441 [BZ #12454]
14442 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14443 dependencies are missing.
14444
6c8a2e88
ST
144452011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14446
f2092faf 14447 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14448 Hurd needs munmap.
14449 * sysdeps/mach/hurd/ifreq.h: New file.
14450
84a42118
PB
144512011-01-27 Petr Baudis <pasky@suse.cz>
14452 Ulrich Drepper <drepper@gmail.com>
14453
071f805e 14454 [BZ 12445]#
84a42118
PB
14455 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14456 to extend_alloca().
14457 * stdio-common/bug23.c: New file.
14458 * stdio-common/Makefile (tests): Add bug23.
14459
e23fe25b
AS
144602010-09-28 Andreas Schwab <schwab@redhat.com>
14461 Ulrich Drepper <drepper@gmail.com>
14462
14463 [BZ #12489]
14464 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14465 before performing relro protection. At old place add assertion
14466 to make sure nothing changed.
14467
d3f02e10
NS
144682011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14469 Glauber de Oliveira Costa <glommer@gmail.com>
14470
14471 * elf/elf.h: Add new ARM TLS relocs.
14472
d55fd7a5
RA
144732011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14474
14475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14476 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14477 cast from r3.
14478 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14479 'tests' variable.
14480 * sysdeps/wordsize-64/tst-writev.c: New file.
14481
2206397e
RA
144822011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14483
14484 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14485 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14486 insns in _dl_start to prevent a TOC reference before relocs are
14487 resolved.
14488
e9433893
UD
144892011-02-15 Ulrich Drepper <drepper@gmail.com>
14490
14491 [BZ #12469]
14492 * Makeconfig: Remove RANLIB definition.
14493 * Makerules: Don't use RANLIB.
14494 * aclocal.m4: Remove ranlib test.
14495 * configure.in: No need to check for ranlib.
14496 * elf/rtld-Rules: Don't use RANLIB.
14497
f75286c6
ST
144982011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14499
8e31c82d
ST
14500 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14501 protection macro.
14502 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14503 inclusion protection macro.
14504
f75286c6
ST
14505 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14506 SIGRTMIN and SIGRTMAX and print information in that case only when
14507 SIGRTMIN is defined.
14508
c1d0e639
JJ
145092011-02-11 Jakub Jelinek <jakub@redhat.com>
14510
14511 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14512 arginfo fn returning -1.
14513
14514 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14515 and thousands string is zero terminated.
14516
edf9294e
AS
145172011-02-03 Andreas Schwab <schwab@redhat.com>
14518
14519 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14520 sysdeps/unix/sysv/linux/bits/socket.h.
14521
2b7e92df
ST
145222011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14523
edf9294e
AS
14524 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14525 (__CPU_COUNT): Remove old macros.
14526 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14527 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14528 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
14529 (__sched_cpualloc, __sched_cpufree): Add declarations.
14530
a4c7ea7b
UD
145312011-02-05 Ulrich Drepper <drepper@gmail.com>
14532
14533 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14534 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14535 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14536 (readdhstai): Return value of addhstaiX call.
14537 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14538 (addgrbyX): Return value returned by cache_addgr.
14539 (readdgrbyname): Return value returned by addgrbyX.
14540 (readdgrbygid): Likewise.
14541 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14542 (addpwbyX): Return value returned by cache_addpw.
14543 (readdpwbyname): Return value returned by addhstbyX.
14544 (readdpwbyuid): Likewise.
14545 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14546 (addservbyX): Return value returned by cache_addserv.
14547 (readdservbyname): Return value returned by addservbyX:
14548 (readdservbyport): Likewise.
14549 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14550 (addhstbyX): Return value returned by cache_addhst.
14551 (readdhstbyname): Return value returned by addhstbyX.
14552 (readdhstbyaddr): Likewise.
14553 (readdhstbynamev6): Likewise.
14554 (readdhstbyaddrv6): Likewise.
14555 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14556 (readdinitgroups): Return value returned by addinitgroupsX.
14557 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14558 (prune_cache): Keep track of timeout value of re-added entries.
14559 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14560 * nscd/nscd.h: Adjust prototypes of readd* functions.
14561
a0bf67cc
RM
145622011-02-04 Roland McGrath <roland@redhat.com>
14563
14564 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14565 (nis_stats): Likewise.
14566 * nis/nis_modify.c (nis_modify): Likewise.
14567 * nis/nis_remove.c (nis_remove): Likewise.
14568 * nis/nis_add.c (nis_add): Likewise.
14569
14570 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14571
14572 * posix/fnmatch_loop.c: Add some consts.
14573
14574 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14575
435b95eb
L
145762011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14577
14578 [BZ #12460]
14579 * config.make.in (config-cflags-novzeroupper): Define.
14580 * configure.in: Substitute libc_cv_cc_novzeroupper.
14581 * elf/Makefile (AVX-CFLAGS): Define.
14582 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14583 (CFLAGS-tst-auditmod4a.c): Likewise.
14584 (CFLAGS-tst-auditmod4b.c): Likewise.
14585 (CFLAGS-tst-auditmod6b.c): Likewise.
14586 (CFLAGS-tst-auditmod6c.c): Likewise.
14587 (CFLAGS-tst-auditmod7b.c): Likewise.
14588 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14589
8517b15e
UD
145902011-02-02 Ulrich Drepper <drepper@gmail.com>
14591
14592 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14593 function to the callback.
14594 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14595
10a656fe
AS
145962011-02-02 Andreas Schwab <schwab@redhat.com>
14597
14598 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14599 of errno.
14600
968dad0a
UD
146012011-01-19 Ulrich Drepper <drepper@gmail.com>
14602
9f94d2ea 14603 [BZ #11724]
968dad0a
UD
14604 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14605 of constructors.
14606 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14607 of destructors.
14608 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14609
14610 [BZ #11724]
14611 * elf/Makefile: Add rules to build and run new test.
14612 * elf/tst-initorder.c: New file.
14613 * elf/tst-initorder.exp: New file.
14614 * elf/tst-initordera1.c: New file.
14615 * elf/tst-initordera2.c: New file.
14616 * elf/tst-initordera3.c: New file.
14617 * elf/tst-initordera4.c: New file.
14618 * elf/tst-initorderb1.c: New file.
14619 * elf/tst-initorderb2.c: New file.
14620 * elf/tst-order-a1.c: New file.
14621 * elf/tst-order-a2.c: New file.
14622 * elf/tst-order-a3.c: New file.
14623 * elf/tst-order-a4.c: New file.
14624 * elf/tst-order-b1.c: New file.
14625 * elf/tst-order-b2.c: New file.
14626 * elf/tst-order-main.c: New file.
14627 New test case by George Gensure <werkt0@gmail.com>.
14628
86e92359
UD
146292010-10-01 Andreas Schwab <schwab@redhat.com>
14630
14631 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14632 decoding ACE if AI_CANONIDN.
14633
5d5732b0
UD
146342011-01-18 Ulrich Drepper <drepper@gmail.com>
14635
14636 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14637
a77e8cbc
UD
146382011-01-17 Ulrich Drepper <drepper@gmail.com>
14639
6392473f
UD
14640 * version.h (RELEASE): Bump for 2.13 release.
14641 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14642
620a0529
UD
14643 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14644
18ba70a5
UD
14645 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14646 MADV_NOHUGEPAGE.
32465c3e
UD
14647 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14648 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14649 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14650 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14651 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14652 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14653
c0dafcf1
UD
14654 * posix/getconf.c: Update copyright year.
14655 * catgets/gencat.c: Likewise.
14656 * csu/version.c: Likewise.
14657 * debug/catchsegv.sh: Likewise.
14658 * debug/xtrace.sh: Likewise.
14659 * elf/ldconfig.c: Likewise.
14660 * elf/ldd.bash.in: Likewise.
14661 * elf/sprof.c (print_version): Likewise.
14662 * iconv/iconv_prog.c: Likewise.
14663 * iconv/iconvconfig.c: Likewise.
14664 * locale/programs/locale.c: Likewise.
14665 * locale/programs/localedef.c: Likewise.
14666 * malloc/memusage.sh: Likewise.
14667 * malloc/mtrace.pl: Likewise.
14668 * nscd/nscd.c (print_version): Likewise.
14669 * nss/getent.c: Likewise.
14670
a77e8cbc
UD
14671 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14672 PF_CAIF, and PF_ALG.
14673 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14674
77e8bddf
AS
146752011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14676
1f20b93a
AS
14677 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14678 (modules-names): Use them.
14679 (ifunc-test-modules, ifunc-pie-tests): Define.
14680 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14681 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14682 (test-extras): Likewise.
14683 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14684 $(compile-command.c).
14685 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14686 (all-built-dso): Define.
14687 (check-textrel.out, check-execstack.out): Depend on it.
14688
77e8bddf
AS
14689 * configure.in: Don't override --enable-multi-arch.
14690
bc425b33
UD
146912011-01-15 Ulrich Drepper <drepper@gmail.com>
14692
14693 [BZ #6812]
14694 * nscd/hstcache.c (tryagain): Define.
14695 (cache_addhst): Return tryagain not notfound for temporary errors.
14696 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14697 failed.
14698
794c3ad3
UD
146992011-01-14 Ulrich Drepper <drepper@gmail.com>
14700
70181fdd
UD
14701 [BZ #10563]
14702 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14703 to make the syscall.
14704 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14705
794c3ad3
UD
14706 [BZ #12378]
14707 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14708 and fall back to matching as normal character if the string ends before
14709 the matching ']' is found. This is what POSIX requires.
14710 * posix/testfnm.c: Adjust test result.
14711 * posix/globtest.sh: Adjust test result. Add new test.
14712 * posix/tst-fnmatch.input: Likewise.
14713 * posix/tst-fnmatch2.c: Add new test.
14714
68dc9497
AS
147152010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14716
14717 * elf/Makefile (check-execstack): Revert last change. Depend on
14718 check-execstack.h.
14719 (check-execstack.h): New target.
14720 (generated): Add check-execstack.h.
14721 * elf/check-execstack.c: Include "check-execstack.h".
14722 (main): Revert last change.
14723 (handle_file): Return zero if GNU_STACK is absent and
14724 DEFAULT_STACK_PERMS doesn't include PF_X.
14725
451f001b
UD
147262011-01-13 Ulrich Drepper <drepper@gmail.com>
14727
cfa28e56
UD
14728 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14729 in child fails because the descriptor is already closed.
8cf8ce17
UD
14730 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14731 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14732 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 14733
1086d70d
UD
14734 [BZ #12397]
14735 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14736 syscall.
14737
451f001b
UD
14738 [BZ #10484]
14739 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14740 temporary buffer used to handle multi lookups locally.
a85b5cb4 14741 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 14742
08769175
UD
147432011-01-12 Ulrich Drepper <drepper@gmail.com>
14744
14745 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14746 loader is ld.so.
14747
5e49c52e
UD
147482011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14749
14750 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14751 alignment for SSE2.
14752
60522a5f
UD
147532011-01-12 Ulrich Drepper <drepper@gmail.com>
14754
14755 [BZ #12394]
14756 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14757 characters. When rounding increased number of integer digits recompute
14758 number of groups.
14759 * stdio-common/tst-grouping.c: New file.
14760 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14761
f257bbd7
UD
147622011-01-09 Ulrich Drepper <drepper@gmail.com>
14763
14764 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14765 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14766
14767 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14768 void.
14769 * bits/select.h: Likewise.
14770
fa9c15cb
UD
147712011-01-08 Ulrich Drepper <drepper@gmail.com>
14772
14773 * po/ja.po: Update from translation team.
14774
16c2895f
DM
147752011-01-04 David S. Miller <davem@sunset.davemloft.net>
14776
14777 [BZ #11155]
14778 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14779 implementation just like for lxstat, fxstatat, et al.
14780
2543fef2
JM
147812010-12-27 Jim Meyering <meyering@redhat.com>
14782
14783 [BZ #12348]
14784 * posix/regexec.c (build_trtable): Return failure indication upon
14785 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14786
98727dbe
UD
147872010-12-25 Ulrich Drepper <drepper@gmail.com>
14788
5bd6dc5c
UD
14789 [BZ #12201]
14790 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14791 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14792 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14793 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14794
97983464
UD
14795 [BZ #12207]
14796 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14797
98727dbe
UD
14798 [BZ #12204]
14799 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14800 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14801
4a531bb0
L
148022010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14803
14804 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14805 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14806 script has SORT_BY_INIT_PRIORITY.
14807 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14808 NO_CTORS_DTORS_SECTIONS is defined.
14809 * elf/soinit.c: Likewise.
14810 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14811 NO_CTORS_DTORS_SECTIONS is defined.
14812 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14813 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14814 * sysdeps/sh/init-first.c: Likewise.
14815 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14816
07eb4b71
UD
148172010-12-24 Ulrich Drepper <drepper@gmail.com>
14818
14819 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14820 always use the slow path.
14821
30950a5f
RA
148222010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14823
14824 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14825 similar rule which adds the sysdep directories to the header search in
14826 order to pick up the correct platform stackinfo.h.
14827 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14828 perform test if it is, otherwise return successfully without testing.
14829 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14830 DEFAULT_STACK_PERMS define in stackinfo.h.
14831 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14832 defined in stackinfo.h.
14833 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14834 DEFAULT_STACK_PERMS defined in stackinfo.h.
14835 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14836 * sysdeps/ia64/stackinfo.h: Likewise.
14837 * sysdeps/s390/stackinfo.h: Likewise.
14838 * sysdeps/sh/stackinfo.h: Likewise.
14839 * sysdeps/sparc/stackinfo.h: Likewise.
14840 * sysdeps/x86_64/stackinfo.h: Likewise.
14841 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14842 PF_X for powerpc64. Retain PF_X for powerpc32.
14843
db753e2c
UD
148442010-12-19 Ulrich Drepper <drepper@gmail.com>
14845
14b697f7
UD
14846 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14847 accurately.
db753e2c
UD
14848 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14849 GETDENTS_64BIT_ALIGNED.
14850
28300719
UD
148512010-12-14 Ulrich Drepper <dreper@gmail.com>
14852
14b697f7 14853 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 14854
4f197237
AS
148552010-12-10 Andreas Schwab <schwab@redhat.com>
14856
dbb0472f
AS
14857 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14858 _GNU_SOURCE.
14859
4f197237
AS
14860 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14861 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14862 Remove __restrict.
14863 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14864 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14865
fb88ac72
UD
148662010-12-09 Ulrich Drepper <drepper@gmail.com>
14867
14868 [BZ #11655]
14869 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14870 are initialized.
14871
42acbb92
JJ
148722010-12-09 Jakub Jelinek <jakub@redhat.com>
14873
14874 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14875
c038d98d
UD
148762010-12-03 Ulrich Drepper <drepper@gmail.com>
14877
14878 * po/it.po: Update from translation team.
14879
3a4a2499
L
148802010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14881
14882 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14883 unused codes.
14884
1e24cf6e
UD
148852010-11-30 Ulrich Drepper <drepper@gmail.com>
14886
14887 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14888
a7690819
AS
148892010-11-24 Andreas Schwab <schwab@redhat.com>
14890
14891 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14892 specially.
14893 (gaih_getanswer_slice): Likewise.
14894
3bf8d1b1
JJ
148952010-10-20 Jakub Jelinek <jakub@redhat.com>
14896
14897 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14898
6db52fbb
PB
148992010-05-31 Petr Baudis <pasky@suse.cz>
14900
14901 [BZ #11149]
14902 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14903 silently even in the chroot mode.
14904
eaca7569
UD
149052010-11-22 Ulrich Drepper <drepper@gmail.com>
14906
14907 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14908 last patch a bit. Pretty printing
14909
3056dcdb
UD
149102010-05-31 Petr Baudis <pasky@suse.cz>
14911
14912 [BZ #10085]
14913 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14914 initialization of skip_initgroups_dyn.
14915
cf7c9078
UD
149162010-11-19 Ulrich Drepper <drepper@gmail.com>
14917
14918 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14919 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14920
a1fb5e3e
UD
149212010-11-16 Ulrich Drepper <drepper@gmail.com>
14922
14923 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14924
3540d66b
AS
149252010-11-11 Andreas Schwab <schwab@redhat.com>
14926
14927 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14928 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14929 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14930 ($(objpfx)tst-fnmatch-mem): New rule.
14931 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14932 * posix/tst-fnmatch.c (main): Call mtrace.
14933
13b69574
L
149342010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14935
14936 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14937 Support Intel processor model 6 and model 0x2c.
14938
da93d214
LM
149392010-11-10 Luis Machado <luisgpm@br.ibm.com>
14940
14941 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14942 signed comparison.
14943
8ca52c6e
L
149442010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14945
14946 [BZ #12205]
14947 * string/test-strncasecmp.c (check_result): New function.
14948 (do_one_test): Use it.
14949 (check1): New function.
14950 (test_main): Use it.
14951 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14952 Support strcasecmp and strncasecmp.
14953
69da074d
UD
149542010-11-08 Ulrich Drepper <drepper@gmail.com>
14955
14956 [BZ #12194]
14957 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14958 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14959
ff02d528
L
149602010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14961
14962 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14963 IFUNC support.
14964 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14965 memset-x86-64.
14966 * sysdeps/x86_64/multiarch/bzero.S: New file.
14967 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14968 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14969 * sysdeps/x86_64/multiarch/memset.S: New file.
14970 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14971 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14972 Set bit_Prefer_SSE_for_memop for Intel processors.
14973 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14974 Define.
14975 (index_Prefer_SSE_for_memop): Define.
14976 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14977
344d0b54
LM
149782010-11-04 Luis Machado <luisgpm@br.ibm.com>
14979
14980 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14981 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14982
c0dde15b
UD
149832010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14984
14985 [BZ #12191]
14986 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14987 (__x86_64_raw_data_cache_size_half): Likewise.
14988 (__x86_64_raw_shared_cache_size): Likewise.
14989 (__x86_64_raw_shared_cache_size_half): Likewise.
14990
14991 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14992 (__x86_64_raw_data_cache_size_half): Likewise.
14993 (__x86_64_raw_shared_cache_size): Likewise.
14994 (__x86_64_raw_shared_cache_size_half): Likewise.
14995 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14996 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14997 and __x86_64_raw_shared_cache_size_half. Round
14998 __x86_64_data_cache_size_half, __x86_64_data_cache_size
14999 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15000 to multiple of 256 bytes.
15001
0e516e0e
MS
150022010-11-03 Ulrich Drepper <drepper@gmail.com>
15003
15004 [BZ #12167]
15005 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15006 of inacessible symlinks. Verify result of symlink before returning it.
15007 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15008 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15009
0e012e87
ER
150102010-10-28 Erich Ritz <erichritz@gmail.com>
15011
15012 * math/math.h (isinf): Fix typo in comment.
15013
de0ff7bc
UD
150142010-11-01 Ulrich Drepper <drepper@gmail.com>
15015
15016 * po/da.po: Update from translation team.
15017
fa41c84d
UD
150182010-10-26 Ulrich Drepper <drepper@gmail.com>
15019
15020 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15021 is added to the list.
15022
f0967738
AK
150232010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15024 Ulrich Drepper <drepper@gmail.com>
15025
15026 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15027 the global list here. Move code to...
15028 (_dl_add_to_namespace_list): ...here. New function.
15029 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15030 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15031 * elf/dl-load.c (lose): Don't remove the element from the list.
15032 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15033 (_dl_map_object): Likewise.
15034
150352010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15036
15037 [BZ #12159]
15038 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15039 into all bytes of SSE register.
15040 Patch by Richard Li <richardpku@gmail.com>.
15041
f0967738 150422010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15043
15044 [BZ #12140]
15045 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15046 perturbing.
15047
d0b9e94f
MB
150482010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15049
15050 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15051 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15052 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15053 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15055 submachine.
15056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15057
8e9f92e9
AS
150582010-10-22 Andreas Schwab <schwab@redhat.com>
15059
15060 * include/dlfcn.h (__RTLD_SECURE): Define.
15061 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15062 mode & __RTLD_SECURE instead.
15063 (open_path): Rename preloaded parameter to secure.
15064 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15065 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15066 * elf/dl-deps.c (openaux): Likewise.
15067 * elf/rtld.c (struct map_args): Remove is_preloaded.
15068 (map_doit): Don't use it.
15069 (dl_main): Likewise.
15070 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15071 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15072
bc96fbda
AS
150732010-09-09 Andreas Schwab <schwab@redhat.com>
15074
15075 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15076 (sysd-rules-targets): Remove duplicates.
15077 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15078 rtld-%.$o dependency.
15079
22cd1c9b
AS
150802010-10-18 Andreas Schwab <schwab@redhat.com>
15081
15082 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15083 _dl_map_object do it.
15084
18edac48
UD
150852010-10-19 Ulrich Drepper <drepper@gmail.com>
15086
15087 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15088 fast fma builtins, define the macros in the C99 standard.
15089 (FP_FAST_FMAF): Likewise.
15090 (FP_FAST_FMAL): Likewise.
15091 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15092
15093 * bits/mathdef.h: Update copyright year.
15094 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15095
d2050124
MM
150962010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15097
15098 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15099 builtins, define the macros in the C99 standard.
15100 (FP_FAST_FMAF): Likewise.
15101 (FP_FAST_FMAL): Likewise.
15102 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15103 multiply/add.
15104 (FP_FAST_FMAF): Likewise.
15105
475facd1
JJ
151062010-10-15 Jakub Jelinek <jakub@redhat.com>
15107
15108 [BZ #3268]
15109 * math/libm-test.inc (fma_test): Some new testcases.
15110 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15111 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15112 y and infinite z. Do multiplication by C already in long double.
15113 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15114 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15115 y and infinite z. Do bitwise or of inexact bit into u.d.
15116 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15117 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15118 * sysdeps/i386/fpu/s_fma.S: Removed.
15119 * sysdeps/i386/fpu/s_fmal.S: Removed.
15120
7c08a05c
JJ
151212010-10-16 Jakub Jelinek <jakub@redhat.com>
15122
15123 [BZ #3268]
15124 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15125 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15126 computation is not scheduled after fetestexcept. Fix value
15127 of minimum denormal long double.
15128
f3f7372d
JJ
151292010-10-14 Jakub Jelinek <jakub@redhat.com>
15130
15131 [BZ #3268]
15132 * math/libm-test.inc (fma_test): Add some more tests.
15133 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15134 correctly.
15135
14d43591
AS
151362010-10-15 Andreas Schwab <schwab@redhat.com>
15137
15138 * scripts/data/localplt-s390-linux-gnu.data: New file.
15139 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15140
5e908464
JJ
151412010-10-13 Jakub Jelinek <jakub@redhat.com>
15142
15143 [BZ #3268]
15144 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15145 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15146 instead of dbl-64.
15147 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15148 inlines.
15149 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15150 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15151 if one of x and y is very large and the other is subnormal.
15152 * sysdeps/s390/fpu/s_fmaf.c: New file.
15153 * sysdeps/s390/fpu/s_fma.c: New file.
15154 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15155 * sysdeps/powerpc/fpu/s_fma.S: New file.
15156 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15157 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15158 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15159
151602010-10-12 Jakub Jelinek <jakub@redhat.com>
15161
15162 [BZ #3268]
15163 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15164 fma tests.
15165 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15166 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15167 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15168 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15169 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15170 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15171 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15172
b833d51f
UD
151732010-10-12 Ulrich Drepper <drepper@redhat.com>
15174
15175 [BZ #12078]
15176 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15177 * posix/bug-regex31.input: Add test case.
15178
1751705d
UD
151792010-10-11 Ulrich Drepper <drepper@gmail.com>
15180
e9b9cbf5
UD
15181 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15182 * posix/bug-regex31.input: New file.
15183
15184 [BZ #12078]
15185 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15186 (parse_sub_exp): Fix last change, use postorder.
15187
ef06edbe
UD
15188 * posix/bug-regex31.c: New file.
15189 * posix/Makefile: Add rules to build and run bug-regex31.
15190
a129c80d
UD
15191 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15192
15193 [BZ #12078]
15194 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15195
b76b818e
UD
15196 [BZ #12108]
15197 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15198 to have entries in sys_siglist.
15199
1751705d
UD
15200 [BZ #12093]
15201 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15202 be NULL.
15203
9ff8d36f
JJ
152042010-10-07 Jakub Jelinek <jakub@redhat.com>
15205
15206 [BZ #3268]
15207 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15208 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15209 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15210 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15211 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15212 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15213 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15214 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15215 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15216 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15217 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15218 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15219 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15220 * math/ftestexcept.c (fetestexcept): Likewise.
15221 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15222 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15223 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15224 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15225 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15226 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15227 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15228
af325969
UD
152292010-10-11 Ulrich Drepper <drepper@gmail.com>
15230
c579b202 15231 [BZ #12107]
af325969
UD
15232 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15233 newline.
15234
67a67b95
UD
152352010-10-06 Ulrich Drepper <drepper@gmail.com>
15236
15237 * string/bug-strstr1.c: New file.
15238 * string/Makefile: Add rules to build and run bug-strstr1.
15239
5fb308bc
EB
152402010-10-05 Eric Blake <eblake@redhat.com>
15241
15242 [BZ #12092]
15243 * string/str-two-way.h (two_way_long_needle): Always clear memory
15244 when skipping input due to the shift table.
15245
45db99c7
UD
152462010-10-03 Ulrich Drepper <drepper@gmail.com>
15247
3b111893
UD
15248 [BZ #12005]
15249 * malloc/mcheck.c: Handle large requests.
15250
45db99c7
UD
15251 [BZ #12077]
15252 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15253 for strncmp and strncasecmp.
15254 * string/stratcliff.c: Add tests for strcmp and strncmp.
15255 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15256
cf7a1eb8
NI
152572010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15258
15259 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15260 __set_fpscr.
15261
6484ba5e
AJ
152622010-09-30 Andreas Jaeger <aj@suse.de>
15263
15264 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15265 (CGROUP_SUPER_MAGIC): Define.
15266 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15267 Handle btrfs and cgroup file systems.
15268 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15269 Likewise.
15270
91c42559
LM
152712010-09-27 Luis Machado <luisgpm@br.ibm.com>
15272
15273 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15274 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15275
87a97932
AK
152762010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15277
15278 [BZ #12067]
15279 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15280 trying to locate the ELF header.
15281
c21cc9bc
AS
152822010-09-27 Andreas Schwab <schwab@redhat.com>
15283
15284 [BZ #11611]
15285 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15286 Mask out sign-bit copies when constructing f_fsid.
15287
315970f6
PB
152882010-09-24 Petr Baudis <pasky@suse.cz>
15289
15290 * debug/stack_chk_fail_local.c: Add missing licence exception.
15291 * debug/warning-nop.c: Likewise.
15292
1ac7a2c7
JM
152932010-09-15 Joseph Myers <joseph@codesourcery.com>
15294
15295 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15296 implementing getdents64 using getdents syscall, set d_type if
15297 __ASSUME_GETDENTS32_D_TYPE.
15298
56801c50
AS
152992010-09-16 Andreas Schwab <schwab@redhat.com>
15300
15301 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15302 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15303
dda51327
UD
153042010-09-21 Ulrich Drepper <drepper@redhat.com>
15305
15306 [BZ #12037]
15307 * posix/unistd.h: Undo change of feature selection for ftruncate from
15308 2010-01-11.
15309
8ffcee4a
UD
153102010-09-20 Ulrich Drepper <drepper@redhat.com>
15311
a545ecd9 15312 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15313 detection.
15314
e24f0a8b
AS
153152010-09-20 Andreas Schwab <schwab@redhat.com>
15316
15317 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15318 fanotify_mark.
15319 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15320
7291c56f
AS
153212010-09-14 Andreas Schwab <schwab@redhat.com>
15322
15323 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15324 variables after CHECK_SP call.
15325 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15326
bc5fb037
AS
153272010-09-13 Andreas Schwab <schwab@redhat.com>
15328 Ulrich Drepper <drepper@redhat.com>
15329
15330 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15331 re-relocationg ld.so.
15332 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15333 _dl_init_paths call.
15334 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15335 here anymore.
15336
e66e7419
UD
153372010-09-14 Ulrich Drepper <drepper@redhat.com>
15338
15339 * resolv/res_init.c (__res_vinit): Count the default server we added.
15340
c044aa75
CLT
153412010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15342 Ulrich Drepper <drepper@redhat.com>
15343
15344 [BZ #11968]
15345 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15346 (____longjmp_chk): Use %ebx for saving value across system call.
15347 Add unwind info.
15348
32cf4069
AS
153492010-09-06 Andreas Schwab <schwab@redhat.com>
15350
15351 * manual/Makefile: Don't mix pattern rules with normal rules.
15352
817328ee
AS
153532010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15354
15355 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15356 operation.
15357 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15358 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15359 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15360 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15361 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15362 Likewise.
15363
29fddf61
UD
153642010-09-04 Ulrich Drepper <drepper@redhat.com>
15365
15366 [BZ #11979]
15367 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15368 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15369
0959ffc9
UD
153702010-09-02 Ulrich Drepper <drepper@redhat.com>
15371
15372 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15373 * sysdeps/x86_64/addmul_1.S: Likewise.
15374 * sysdeps/x86_64/lshift.S: Likewise.
15375 * sysdeps/x86_64/mul_1.S: Likewise.
15376 * sysdeps/x86_64/rshift.S: Likewise.
15377 * sysdeps/x86_64/sub_n.S: Likewise.
15378 * sysdeps/x86_64/submul_1.S: Likewise.
15379
ece29840
ST
153802010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15381
0959ffc9
UD
15382 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15383 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15384 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15385 * bits/sched.h [__need_schedparam]
ece29840 15386 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15387 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15388 (__defined_schedparam): Define to 1.
ece29840
ST
15389 (__sched_param): New structure, identical to sched_param.
15390 (__need_schedparam): Undefine.
15391
e53a31fe
MF
153922010-08-31 Mike Frysinger <vapier@gentoo.org>
15393
fdc0c10d
MF
15394 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15395 (epoll_create1): Declare.
15396
e53a31fe
MF
15397 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15398
a726d796
AS
153992010-08-31 Andreas Schwab <schwab@redhat.com>
15400
15401 [BZ #7066]
15402 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15403 shifting retval into place.
15404
2f3e3dc7
UD
154052010-09-01 Ulrich Drepper <drepper@redhat.com>
15406
f2933da9
UD
15407 * nis/rpcsvc/nis.h: Update copyright notice.
15408 * nis/rpcsvc/nis.x: Likewise.
15409 * nis/rpcsvc/nis_callback.h: Likewise.
15410 * nis/rpcsvc/nis_callback.x: Likewise.
15411 * nis/rpcsvc/nis_object.x: Likewise.
15412 * nis/rpcsvc/nis_tags.h: Likewise.
15413 * nis/rpcsvc/yp.h: Likewise.
15414 * nis/rpcsvc/yp.x: Likewise.
15415 * nis/rpcsvc/ypupd.h: Likewise.
15416 * nis/yp_xdr.c: Likewise.
15417 * nis/ypupdate_xdr.c: Likewise.
15418
2f3e3dc7
UD
15419 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15420 mainly the body of pmap_getport. Add parameters to specify timeouts.
15421 (pmap_getport): Use __libc_rpc_getport.
15422 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15423 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15424 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15425
f3dcc2f9
AS
154262010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15427
15428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15429 fanotify_mark.
15430
6d34eb5b
RM
154312010-08-27 Roland McGrath <roland@redhat.com>
15432
15433 * sysdeps/i386/i686/multiarch/Makefile
15434 (CFLAGS-varshift.c): New variable.
15435
9ea3de11
UD
154362010-08-27 Ulrich Drepper <drepper@redhat.com>
15437
c96d23fc
UD
15438 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15439 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15440
9ea3de11
UD
15441 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15442
15443 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15444
623aac7f
L
154452010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15446
15447 * sysdeps/x86_64/strlen.S: Unroll the loop.
15448 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15449 strlen-sse2 strlen-sse2-bsf.
15450 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15451 __strlen_no_bsf if bit_Slow_BSF is set.
15452 (__strlen_sse42): Removed.
15453 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15454 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15455
8b2b7715
RM
154562010-08-25 Roland McGrath <roland@redhat.com>
15457
15458 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15459 * sysdeps/x86_64/multiarch/varshift.c: New file.
15460 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15461 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15462 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15463 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15464
e73015f2
L
154652010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15466
15467 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15468 strlen-sse2 strlen-sse2-bsf.
15469 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15470 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15471 (__strlen_sse2): Removed.
15472 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15473 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15474 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15475 bit_Slow_BSF for Atom.
15476 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15477 (index_Slow_BSF): Define.
15478 (HAS_SLOW_BSF): Define.
15479
df24a73e
UD
154802010-08-25 Ulrich Drepper <drepper@redhat.com>
15481
15482 [BZ #10851]
15483 * resolv/res_init.c (__res_vinit): When no server address at all
15484 is given default to loopback.
15485
f2ac4868
RM
154862010-08-24 Roland McGrath <roland@redhat.com>
15487
09055553
RM
15488 * configure.in: Remove config-name.h generation.
15489 * configure: Regenerated.
15490 * config-name.in: File removed.
15491 * scripts/config-uname.sh: New file.
15492 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15493 ($(objdir)config-name.h): New target.
15494
f2ac4868
RM
15495 * sunrpc/rpc_parse.h: Avoid nested comment.
15496
73f27d5e
RH
154972010-08-24 Richard Henderson <rth@redhat.com>
15498 Ulrich Drepper <drepper@redhat.com>
15499 H.J. Lu <hongjiu.lu@intel.com>
15500
15501 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15502 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15503 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15504 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15505 _mm_alignr_epi8 with _mm_loadu_si128.
15506 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15507 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15508 (__m128i_shift_right): Removed.
15509 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15510 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15511 * sysdeps/x86_64/multiarch/varshift.h: New file.
15512 * sysdeps/x86_64/multiarch/varshift.S: New file.
15513
84b9230c
MF
155142010-08-21 Mike Frysinger <vapier@gentoo.org>
15515
15516 * configure.in: Move assembler checks to before sysdep dir checking.
15517
9bbd0ddc
PB
155182010-08-20 Petr Baudis <pasky@suse.cz>
15519
15520 * LICENSES: Sync the sunrpc license.
15521
9da4bb31
UD
155222010-08-19 Ulrich Drepper <drepper@redhat.com>
15523
a7ab6ec8
UD
15524 * sunrpc/auth_des.c: Update copyright notice once again.
15525 * sunrpc/auth_none.c: Likewise.
15526 * sunrpc/auth_unix.c: Likewise.
15527 * sunrpc/authdes_prot.c: Likewise.
15528 * sunrpc/authuxprot.c: Likewise.
15529 * sunrpc/bindrsvprt.c: Likewise.
15530 * sunrpc/clnt_gen.c: Likewise.
15531 * sunrpc/clnt_perr.c: Likewise.
15532 * sunrpc/clnt_raw.c: Likewise.
15533 * sunrpc/clnt_simp.c: Likewise.
15534 * sunrpc/clnt_tcp.c: Likewise.
15535 * sunrpc/clnt_udp.c: Likewise.
15536 * sunrpc/clnt_unix.c: Likewise.
15537 * sunrpc/des_crypt.c: Likewise.
15538 * sunrpc/des_soft.c: Likewise.
15539 * sunrpc/get_myaddr.c: Likewise.
15540 * sunrpc/getrpcport.c: Likewise.
15541 * sunrpc/key_call.c: Likewise.
15542 * sunrpc/key_prot.c: Likewise.
15543 * sunrpc/openchild.c: Likewise.
15544 * sunrpc/pm_getmaps.c: Likewise.
15545 * sunrpc/pm_getport.c: Likewise.
15546 * sunrpc/pmap_clnt.c: Likewise.
15547 * sunrpc/pmap_prot.c: Likewise.
15548 * sunrpc/pmap_prot2.c: Likewise.
15549 * sunrpc/pmap_rmt.c: Likewise.
15550 * sunrpc/rpc/auth.h: Likewise.
15551 * sunrpc/rpc/auth_unix.h: Likewise.
15552 * sunrpc/rpc/clnt.h: Likewise.
15553 * sunrpc/rpc/des_crypt.h: Likewise.
15554 * sunrpc/rpc/key_prot.h: Likewise.
15555 * sunrpc/rpc/netdb.h: Likewise.
15556 * sunrpc/rpc/pmap_clnt.h: Likewise.
15557 * sunrpc/rpc/pmap_prot.h: Likewise.
15558 * sunrpc/rpc/pmap_rmt.h: Likewise.
15559 * sunrpc/rpc/rpc.h: Likewise.
15560 * sunrpc/rpc/rpc_des.h: Likewise.
15561 * sunrpc/rpc/rpc_msg.h: Likewise.
15562 * sunrpc/rpc/svc.h: Likewise.
15563 * sunrpc/rpc/svc_auth.h: Likewise.
15564 * sunrpc/rpc/types.h: Likewise.
15565 * sunrpc/rpc/xdr.h: Likewise.
15566 * sunrpc/rpc_clntout.c: Likewise.
15567 * sunrpc/rpc_cmsg.c: Likewise.
15568 * sunrpc/rpc_common.c: Likewise.
15569 * sunrpc/rpc_cout.c: Likewise.
15570 * sunrpc/rpc_dtable.c: Likewise.
15571 * sunrpc/rpc_hout.c: Likewise.
15572 * sunrpc/rpc_main.c: Likewise.
15573 * sunrpc/rpc_parse.c: Likewise.
15574 * sunrpc/rpc_parse.h: Likewise.
15575 * sunrpc/rpc_prot.c: Likewise.
15576 * sunrpc/rpc_sample.c: Likewise.
15577 * sunrpc/rpc_scan.c: Likewise.
15578 * sunrpc/rpc_scan.h: Likewise.
15579 * sunrpc/rpc_svcout.c: Likewise.
15580 * sunrpc/rpc_tblout.c: Likewise.
15581 * sunrpc/rpc_util.c: Likewise.
15582 * sunrpc/rpc_util.h: Likewise.
15583 * sunrpc/rpcinfo.c: Likewise.
15584 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15585 * sunrpc/rpcsvc/key_prot.x: Likewise.
15586 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15587 * sunrpc/rpcsvc/mount.x: Likewise.
15588 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15589 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15590 * sunrpc/rpcsvc/rex.x: Likewise.
15591 * sunrpc/rpcsvc/rstat.x: Likewise.
15592 * sunrpc/rpcsvc/rusers.x: Likewise.
15593 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15594 * sunrpc/rpcsvc/spray.x: Likewise.
15595 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15596 * sunrpc/rtime.c: Likewise.
15597 * sunrpc/svc.c: Likewise.
15598 * sunrpc/svc_auth.c: Likewise.
15599 * sunrpc/svc_authux.c: Likewise.
15600 * sunrpc/svc_raw.c: Likewise.
15601 * sunrpc/svc_run.c: Likewise.
15602 * sunrpc/svc_simple.c: Likewise.
15603 * sunrpc/svc_tcp.c: Likewise.
15604 * sunrpc/svc_udp.c: Likewise.
15605 * sunrpc/svc_unix.c: Likewise.
15606 * sunrpc/svcauth_des.c: Likewise.
15607 * sunrpc/xcrypt.c: Likewise.
15608 * sunrpc/xdr.c: Likewise.
15609 * sunrpc/xdr_array.c: Likewise.
15610 * sunrpc/xdr_float.c: Likewise.
15611 * sunrpc/xdr_mem.c: Likewise.
15612 * sunrpc/xdr_rec.c: Likewise.
15613 * sunrpc/xdr_ref.c: Likewise.
15614 * sunrpc/xdr_sizeof.c: Likewise.
15615 * sunrpc/xdr_stdio.c: Likewise.
15616
9da4bb31
UD
15617 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15618 handling.
15619
bdaa77bc
AS
156202010-08-19 Andreas Schwab <schwab@redhat.com>
15621
15622 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15623
fe2f79db
LM
156242010-08-19 Luis Machado <luisgpm@br.ibm.com>
15625
15626 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15627 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15628 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15629 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15630 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15631 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15632 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15633 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15634 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15635 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15636 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15637 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15638 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15639 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15640
b9b42ee0
AB
156412010-07-26 Anton Blanchard <anton@samba.org>
15642
15643 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15644 * malloc/arena.c (heap_trim): Likewise.
15645
1c06ba31
UD
156462010-08-16 Ulrich Drepper <drepper@redhat.com>
15647
15648 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15649 here. Not...
15650 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15651 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15652
f8392f40
L
156532010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15654
15655 * sysdeps/i386/elf/Makefile: New file.
15656
3162f12e
AS
156572010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15658
15659 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15660 from fanotify_init.
15661 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15662 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15663
28c90b2c
UD
156642010-08-15 Ulrich Drepper <drepper@redhat.com>
15665
15666 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15667 of strncasecmp_l.
1feccb6c 15668 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 15669
ca6bb004
UD
156702010-08-14 Ulrich Drepper <drepper@redhat.com>
15671
e9f82e0d
UD
15672 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15673 strncase_l-nonascii.
15674 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15675 Add strncase_l-ssse3.
15676 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15677 * sysdeps/x86_64/strcmp.S: Likewise.
15678 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15679 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15680 * sysdeps/x86_64/strncase.S: New file.
15681 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15682 * sysdeps/x86_64/strncase_l.S: New file.
15683 * string/Makefile (strop-tests): Add strncasecmp.
15684 * string/test-strncasecmp.c: New file.
15685
15686 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15687 warning.
15688
ca6bb004
UD
15689 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15690 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15691
052fa7b3
AS
156922010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15693
15694 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15695
962dba78
UD
156962010-08-12 Ulrich Drepper <drepper@redhat.com>
15697
15698 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15699 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15700 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15701
bebff237
AM
157022010-05-01 Alan Modra <amodra@gmail.com>
15703
15704 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15705 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15706 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15707 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15708 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15709 tidying. Don't tail-call __sigjmp_save for static lib.
15710 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15711 save location.
15712 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15713 (CALL_MCOUNT): Add eh info, and nop after bl.
15714 (TAIL_CALL_SYSCALL_ERROR): New macro.
15715 (PSEUDO_RET): Use it.
15716 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15717 Correct save location of integer regs and cr.
15718 (_dl_profile_resolve): Correct cr save location. Delete nops
15719 after bl when SHARED. Reduce cfi size a little by better
15720 placement of cfi directives.
15721 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15722 make a stack frame. Instead use parm save area as a temp.
15723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15724 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15726 Don't make a stack frame for parent, use parm save area.
15727 Increase child stack frame to 112 bytes. Don't save unused reg,
15728 and adjust reg usage. Set up cfi on error recovery and
15729 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15731 (__makecontext): Add dummy nop after jump to exit.
15732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15733 Use correct parm save area and cr save, reduce stack frame.
15734 Correct cfi for possible PSEUDO_RET frame setup.
15735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15736 Branch to local label emitted by PSEUDO_RET rather than
15737 __syscall_error.
15738
02637374
AS
157392010-08-12 Andreas Schwab <schwab@redhat.com>
15740
15741 [BZ #11904]
15742 * locale/programs/locale.c (print_assignment): New function.
15743 (show_locale_vars): Use it.
15744
c3e2f19b
UD
157452010-08-11 Ulrich Drepper <drepper@redhat.com>
15746
3cdaa6ad
UD
15747 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15748 field.
15749 (struct statfs64): Likewise.
15750 (_STATFS_F_FLAGS): Define.
15751 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15752 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15753 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15754 (ST_VALID): Define locally.
15755 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15756 __statvfs_getflags, use the provided value.
15757 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15758 __ASSUME_STATFS_F_FLAGS.
15759
754f7da3
UD
15760 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15761
10b3bedc
UD
15762 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15763 Add sys/fanotify.h.
15764 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15765 fanotify_mask for GLIBC_2.13.
15766 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15767 fanotify_init and fanotify_mark.
15768 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15769 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15770
c08fb0d7
UD
15771 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15772 Add prlimit.
15773 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15774 prlimit64 for GLIBC_2.13.
15775 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15776 prlimit64.
15777 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15778 syscall.
15779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15780 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15781 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15782 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15783 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15784 add prlimit alias.
15785 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15786
15bac72b
UD
15787 [BZ #11903]
15788 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15789 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15790
c3e2f19b
UD
15791 * nss/Makefile: Add rules to build and run tst-nss-test1.
15792 * shlib-versions: Add entry for libnss_test1.
15793 * nss/nss_test1.c: New file.
15794 * nss/tst-nss-test1.c: New file.
15795
15796 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15797 (__nss_configure_lookup): Set appropriate entry in
15798 __nss_configure_lookup to true.
15799 * nss/nsswitch.h: Define enum with indeces of databases in
15800 databases and __nss_database_custom arrays. Declare
15801 __nss_database_custom.
15802 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15803 to avoid using nscd when custom rules are installed.
15804 * nss/getXXbyYY_r.c: Likewise.
15805 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15806
15807 * nss/nss_files/files-parse.c: Whitespace fixes.
15808
f15ce4d8
UD
158092010-08-09 Ulrich Drepper <drepper@redhat.com>
15810
15811 [BZ #11883]
15812 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15813 * posix/fnmatch_loop.c: Likewise.
15814
d22e4cc9
AK
158152010-07-17 Andi Kleen <ak@linux.intel.com>
15816
15817 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15818 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15819 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15820 * Versions.def [GLIBC_2.13]: Add.
15821
805bc17d
UD
158222010-08-06 Ulrich Drepper <drepper@redhat.com>
15823
15824 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15825 Also fail if tpwd after pwuid call is NULL.
15826
5a42321d
ST
158272010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15828
15829 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15830 when converting to ms.
15831
fd3ebeda
ST
158322010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15833
15834 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15835 EOPNOTSUPP errors with ENOTTY.
15836 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15837 EOPNOTSUPP errors with ENOTTY.
15838
73507d3a
UD
158392010-07-31 Ulrich Drepper <drepper@redhat.com>
15840
15841 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15842 Add strcasecmp_l-ssse3.
15843 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15844 strcasecmp.
15845 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15846 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15847 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15848
fe36dd02
UD
158492010-07-30 Ulrich Drepper <drepper@redhat.com>
15850
66f6765a
UD
15851 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15852
42e08a54
UD
15853 * string/Makefile (strop-tests): Add strcasecmp.
15854 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15855 strcasecmp_l-nonascii.
15856 (gen-as-const-headers): Add locale-defines.sym.
15857 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15858 * sysdeps/x86_64/strcasecmp.S: New file.
15859 * sysdeps/x86_64/strcasecmp_l.S: New file.
15860 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15861 * sysdeps/x86_64/locale-defines.sym: New file.
15862 * string/test-strcasecmp.c: New file.
15863
fe36dd02
UD
15864 * string/test-strcasestr.c: Test both ends of the range of characters.
15865 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15866
48cbc0d6
RM
158672010-07-29 Roland McGrath <roland@redhat.com>
15868
76e6d6bc 15869 [BZ #11856]
48cbc0d6
RM
15870 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15871
880113d9
UD
158722010-07-27 Ulrich Drepper <drepper@redhat.com>
15873
15874 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15875 for ld.so.
15876
deb9cabb
AS
158772010-07-27 Andreas Schwab <schwab@redhat.com>
15878
15879 * manual/memory.texi (Malloc Tunable Parameters): Document
15880 M_PERTURB.
15881
1c7570ff
RM
158822010-07-26 Roland McGrath <roland@redhat.com>
15883
15884 [BZ #11840]
15885 * configure.in (-fgnu89-inline check): Set and substitute
15886 gnu89_inline, not libc_cv_gnu89_inline.
15887 * configure: Regenerated.
15888 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15889
24fb0f88
UD
158902010-07-26 Ulrich Drepper <drepper@redhat.com>
15891
15892 * string/test-strnlen.c: New file.
15893 * string/Makefile (strop-tests): Add strnlen.
15894 * string/tester.c (test_strnlen): Add a few more test cases.
15895 * string/tst-strlen.c: Better error reporting.
15896
15897 * sysdeps/x86_64/strnlen.S: New file.
15898
8e96b93a
UD
158992010-07-24 Ulrich Drepper <drepper@redhat.com>
15900
15901 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15902 lower-latency instructions.
15903
dbc676d4
UD
159042010-07-23 Ulrich Drepper <drepper@redhat.com>
15905
15906 * string/test-strcasestr.c: New file.
15907 * string/test-strstr.c: New file.
15908 * string/Makefile (strop-tests): Add strstr and strcasestr.
15909 * string/str-two-way.h: Don't undefine MAX.
15910 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15911
f6a31e0e
AS
159122010-07-21 Andreas Schwab <schwab@redhat.com>
15913
15914 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15915 strcasestr-nonascii.
15916 (CFLAGS-strcasestr-nonascii.c): Define.
15917 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15918 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15919 Remove unused attribute.
15920
5dbc3b6c
RM
159212010-07-20 Roland McGrath <roland@redhat.com>
15922
15923 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15924 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15925 ld.so.cache was broken. With it, there is no way to disable dsocaps
15926 like LD_HWCAP_MASK can disable hwcaps.
15927
23d101d8
EPM
159282010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15929
15930 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15931
cc9f2e47
UD
159322010-07-16 Ulrich Drepper <drepper@redhat.com>
15933
15934 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15935 call in strcasestr.
15936 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15937 __strcasestr_sse42_nonascii.
15938 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15939 strcasestr-nonascii.c.
15940 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15941
77c1b069
LM
159422010-06-15 Luis Machado <luisgpm@br.ibm.com>
15943
15944 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15945 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15946 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15947 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15948
440566c3
UD
159492010-07-09 Ulrich Drepper <drepper@redhat.com>
15950
15951 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15952 fcntl.
15953
5be9d05d
AS
159542010-07-06 Andreas Schwab <schwab@redhat.com>
15955
c30b7ee2 15956 [BZ #11577]
5be9d05d
AS
15957 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15958 dl_signal_cerror.
15959
8a492a67
UD
159602010-07-06 Ulrich Drepper <drepper@redhat.com>
15961
15962 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15963 _PC_PIPE_BUF using F_GETPIPE_SZ.
15964
713df3d5
RM
159652010-07-05 Roland McGrath <roland@redhat.com>
15966
15967 * manual/arith.texi (Rounding Functions): Fix rint description
15968 implicit in round description.
15969
702e8f14
UD
159702010-07-02 Ulrich Drepper <drepper@redhat.com>
15971
15972 * elf/Makefile: Fix linking for a few tests to make recent linker
15973 happy.
15974
52ed8be9
AS
159752010-06-30 Andreas Schwab <schwab@redhat.com>
15976
15977 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15978 $(common-objpfx)libc_nonshared.a.
15979
f47c9a11
LM
159802010-06-21 Luis Machado <luisgpm@br.ibm.com>
15981
15982 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15983 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15984 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15985 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15986 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15987 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15988 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15989 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16004 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16005 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16006 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16007 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16008 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16009 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16010 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16011 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16012 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16013 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16014 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16015 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16030
6fb8cbcb
L
160312010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16032
16033 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16034 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16035 * string/memmove.c (memmove): Renamed to ...
16036 (MEMMOVE): ...this. Default to memmove.
16037 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16038 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16039 (END_CHK): Define.
16040 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16041 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16042 mempcpy-ssse3-back memmove-ssse3-back.
16043 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16044 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16045 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16046 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16047 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16048 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16049 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16050 * sysdeps/x86_64/multiarch/memmove.c: New file.
16051 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16052 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16053 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16054 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16055 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16056 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16057 Define.
16058 (index_Fast_Copy_Backward): Define.
16059 (HAS_ARCH_FEATURE): Define.
16060 (HAS_FAST_REP_STRING): Define.
16061 (HAS_FAST_COPY_BACKWARD): Define.
16062
4e733bac 160632010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16064
16065 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16066 Restore proper fallback handling.
16067
63c4ed22
UD
160682010-06-19 Ulrich Drepper <drepper@redhat.com>
16069
ac2b484c
UD
16070 [BZ #11701]
16071 * posix/group_member.c (__group_member): Correct checking loop.
16072
63c4ed22
UD
16073 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16074 OOM in getpwuid_r correctly. Return error number when the caller
16075 should return, otherwise -1.
16076 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16077 call returning > 0 value.
16078 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16079
765ade4b
AS
160802010-06-07 Andreas Schwab <schwab@redhat.com>
16081
16082 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16083 libc_nonshared.a from targets in modules-names.
16084
80da2e09
KS
160852010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16086
16087 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16088 requires it.
16089
158db122
LM
160902010-06-10 Luis Machado <luisgpm@br.ibm.com>
16091
16092 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16093 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16094 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16095 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16096
caa78cf8
AS
160972010-06-02 Andreas Schwab <schwab@redhat.com>
16098
16099 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16100
b2ef2c01
UD
161012010-06-14 Ulrich Drepper <drepper@redhat.com>
16102
16103 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16104 and F_GETPIPE_SZ.
16105 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16106 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16107 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16108 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16109 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16110 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16111
fbd643b6
RM
161122010-06-14 Roland McGrath <roland@redhat.com>
16113
16114 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16115
f32f2869
JJ
161162010-06-07 Jakub Jelinek <jakub@redhat.com>
16117
16118 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16119 __REDIRECT followed by __THROW.
16120 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16121 * posix/getopt.h (getopt): Likewise.
16122
2a50c078
EPM
161232010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16124
16125 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16126 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16127 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16128 in AT_FLAGS.
16129 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16130 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16131
eb5ad2eb
LM
161322010-05-28 Luis Machado <luisgpm@br.ibm.com>
16133
16134 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16135
3c88fe1e
L
161362010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16137
16138 [BZ #11640]
16139 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16140 Properly check family and model.
16141
d2f73151
TY
161422010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16143
16144 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16145
ebd2e13d
LM
161462010-05-24 Luis Machado <luisgpm@br.ibm.com>
16147
16148 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16149
b32b8b45
UD
161502010-05-21 Ulrich Drepper <drepper@redhat.com>
16151
16152 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16153 symbol reference.
16154
9acbe24d
AS
161552010-05-19 Andreas Schwab <schwab@redhat.com>
16156
16157 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16158 symbol reference.
16159
f0ccf6ea
AS
161602010-05-21 Andreas Schwab <schwab@redhat.com>
16161
3d04ff3a
AS
16162 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16163 and internal_recvmmsg.
16164 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16165 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16166 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16167 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16168
f0ccf6ea
AS
16169 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16170 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16171 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16172
5b08ac57
AS
161732010-05-20 Andreas Schwab <schwab@redhat.com>
16174
16175 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16176
4828935d
LM
161772010-05-17 Luis Machado <luisgpm@br.ibm.com>
16178
16179 POWER7 optimizations.
16180 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16181 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16182
373d545e
UD
161832010-05-19 Ulrich Drepper <drepper@redhat.com>
16184
16185 * version.h: Update for 2.13 development version.
16186
21a2b1ae
AS
161872010-05-12 Andrew Stubbs <ams@codesourcery.com>
16188
16189 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16190 exceptions. Return 0.
16191
3f7dcb2b
RM
161922010-05-07 Roland McGrath <roland@redhat.com>
16193
16194 * elf/ldconfig.c (main): Add a const.
16195
5f24d53a 161962010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16197
a160f8d8
UD
16198 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16199 (args_options): Add no-idn option.
16200 (ahosts_keys_int): Add idn_flags to ai_flags.
16201 (parse_option): Handle 'i' option to clear idn_flags.
16202
5f24d53a
UD
16203 * malloc/malloc.c (_int_free): Possible race in the most recently
16204 added check. Only act on the data if no current modification
16205 happened.
265bb1ce
UD
16206
16207See ChangeLog.17 for earlier changes.
This page took 2.054381 seconds and 5 git commands to generate.