]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Replace addr with __addr in x86_64 sys/io.h
[thirdparty/glibc.git] / ChangeLog
CommitLineData
42bbb1c3
L
12012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2
3 [BZ #14117]
471101a1
L
4 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
5 with __addr.
6 (insw): Likewise.
7 (insl): Likewise.
8 (outsb): Likewise.
9 (outsw): Likewise.
10 (outsl): Likewise.
11
6451c862
L
12 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
13 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
14 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15
a254b8c9
L
16 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
20 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22
b8dfdd92
L
23 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
24 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
25
578cd270
L
26 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28
de662f5f
L
29 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32
25653439
L
33 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
35 to ...
36 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
37
6bad24a0
L
38 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41
42bbb1c3
L
42 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
43 for x86-64.
44 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
45
2d10d547
JM
462012-05-31 Joseph Myers <joseph@codesourcery.com>
47
48 * math/math.h (M_El): Use two more decimal places.
49 (M_LOG2El): Likewise.
50 (M_LOG10El): Likewise.
51 (M_LN2l): Likewise.
52 (M_LN10l): Likewise.
53 (M_PIl): Likewise.
54 (M_PI_2l): Likewise.
55 (M_PI_4l): Likewise.
56 (M_1_PIl): Likewise.
57 (M_2_PIl): Likewise.
58 (M_2_SQRTPIl): Likewise.
59 (M_SQRT2l): Likewise.
60 (M_SQRT1_2l): Likewise.
61
f230c29b
DM
622012-05-31 David S. Miller <davem@davemloft.net>
63
64 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
65 values between float registers.
66 * sysdeps/sparc/sparc64/memset.S: Likewise.
67 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
68
fed806c3
MF
692012-05-31 Mike Frysinger <vapier@gentoo.org>
70
71 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
72 -D_FORTIFY_SOURCE=1.
73 (CPPFLAGS-tst-longjmp_chk.c): Define.
74 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
75 (CPPFLAGS-tst-longjmp_chk2.c): Define.
76 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
77 CFLAGS-tst-wchar-h.c.
78
30917259
MP
792012-05-31 Marek Polacek <polacek@redhat.com>
80
81 [BZ #14132]
82 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
83 __endmntent_internal): Remove declaration.
84 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
85 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
86 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
87
1c58d5dc
DM
882012-05-30 David S. Miller <davem@davemloft.net>
89
90 * sysdeps/sparc/sparc32/soft-fp/q_util.c
91 (___Q_simulate_exceptions): Use real FP ops rather than writing
92 into the %fsr.
93 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
94 Likewise.
95
7dc00e0d
L
962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
97
98 [BZ #14117]
0bd53985
L
99 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
100 * sysdeps/x86/bits/xtitypes.h: This.
101
3a257e66
L
102 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
103 * sysdeps/x86/bits/wordsize.h: This.
104
62f62904
L
105 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
106 * sysdeps/x86/bits/huge_vall.h: This.
107
404fe9d9
L
108 * sysdeps/i386/bits/select.h: Removed.
109 * sysdeps/x86_64/bits/select.h: Renamed to ...
110 * sysdeps/x86/bits/select.h: This.
111
d48d0446
L
112 * sysdeps/i386/bits/setjmp.h: Removed.
113 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
114 * sysdeps/x86/bits/setjmp.h: This.
115
7dc00e0d
L
116 * sysdeps/i386/bits/mathdef.h: Removed.
117 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
118 * sysdeps/x86/bits/mathdef.h: This.
119
03277f8f
AS
1202012-05-30 Andreas Schwab <schwab@linux-m68k.org>
121
122 [BZ #14132]
123 * include/sys/socket.h (__connect_internal)
124 (__libc_sa_len_internal): Remove declaration.
125 (__connect, __libc_sa_len): Declare hidden_proto.
126 (SA_LEN): Remove use of INTUSE.
127 * socket/connect.c: Add libc_hidden_def.
128 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
129 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
130 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
131 alias.
132 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
133 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
134 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
135 of adding _internal alias.
136
13764867
L
1372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
138
139 [BZ #14117]
6bd97696
L
140 * sysdeps/i386/bits/link.h: Removed.
141 * sysdeps/i386/bits/linkmap.h: Likewise.
142 * sysdeps/x86_64/bits/link.h: Renamed to ...
143 * sysdeps/x86/bits/link.h: This.
144 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
145 * sysdeps/x86/bits/linkmap.h: This.
146
f726f0bb
L
147 * sysdeps/i386/bits/endian.h: Removed.
148 * sysdeps/x86_64/bits/endian.h: Renamed to ...
149 * sysdeps/x86/bits/endian.h: This.
150
13764867
L
151 * sysdeps/i386/bits/byteswap.h: Removed.
152 * sysdeps/i386/bits/byteswap-16.h: Likewise.
153 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
154 * sysdeps/x86/bits/byteswap.h: This.
155 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
156 * sysdeps/x86/bits/byteswap-16.h: This.
157 * sysdeps/i386/Implies: Add x86.
158 * sysdeps/x86_64/Implies: Likewise.
159
ae251b0b
DM
1602012-05-30 David S. Miller <davem@davemloft.net>
161
162 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
163 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
164 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
165 (FP_TRAPPING_EXCEPTIONS): Define.
166 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
167 (FP_TRAPPING_EXCEPTIONS): Define.
168 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
169 subnormals only when inexact has been signalled or underflow
170 exceptions are enabled.
171 (_FP_PACK_CANONICAL): Likewise.
172
d5c90867
L
1732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
174
175 [BZ #14183]
176 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
177 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
178
63f1549e
RH
1792012-05-30 Richard Henderson <rth@twiddle.net>
180
8d8f2279
RH
181 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
182 with #ifndef NOT_IN_libc.
183
63f1549e
RH
184 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
185 marked to avoid plt entry.
186
0ab0291b
L
1872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
188
189 [BZ #14112]
190 * Makeconfig (default-abi): New macro.
191 (abi-includes): Likewise.
192 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
193 $(abi-$(default-abi)-lib-soname) for soname if defined.
194 ($(common-objpfx)gnu/lib-names.stmp): Generate from
195 abi-variants.
196 * Makefile (installed-stubs): Likewise.
197 * include/stubs-biarch.h: Removed.
198 * scripts/lib-names.awk: Only handle one library at a time.
199 * scripts/soversions.awk: Remove WORDSIZE support.
200 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
201 entries.
202 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
203 Removed.
204 (syscall-list-default-condition): Likewise.
205 (syscall-list-default-condition): Likewise.
206 (syscall-list-includes): Likewise.
207 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
208 syscall-list-* with abi-*. Handle undefined abi-variants.
209 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
210 * sysdeps/unix/sysv/linux/i386/Implies: New file.
211 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
212 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
213 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
214 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
215 Removed.
216 (syscall-list-32-options): Likewise.
217 (syscall-list-32-condition): Likewise.
218 (syscall-list-64-options): Likewise.
219 (syscall-list-64-condition): Likewise.
220 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
221 macro.
222 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
223 Renamed to ...
224 (abi-*): This.
225 (abi-64-ld-soname): New macro.
226 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
227 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
228 Renamed to ...
229 (abi-*): This.
230 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
231 * sysdeps/x86_64/x32/shlib-versions: Likewise.
232
4da0431d
JM
2332012-05-30 Joseph Myers <joseph@codesourcery.com>
234
3a85279c
JM
235 * sysdeps/unix/sysv/linux/kernel-features.h
236 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
237 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
238 include <kernel-features.h>.
239 [!__NR_ftruncate64]: Remove conditional code.
240 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
241 [__NR_ftruncate64]: Make code unconditional.
242 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
243 * sysdeps/unix/sysv/linux/truncate64.c: Do not
244 include <kernel-features.h>.
245 [!__NR_ftruncate64]: Remove conditional code.
246 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
247 [__NR_ftruncate64]: Make code unconditional.
248 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
250 include <kernel-features.h>.
251 [!__NR_ftruncate64]: Remove conditional code.
252 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
253 [__NR_ftruncate64]: Make code unconditional.
254 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
256 include <kernel-features.h>.
257 [!__NR_ftruncate64]: Remove conditional code.
258 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
259 [__NR_ftruncate64]: Make code unconditional.
260 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
261
4da0431d
JM
262 * configure.in (libc_cv_fpie): Weaken to a compile test using
263 LIBC_TRY_CC_OPTION.
264 * configure: Regenerated.
265
11ef492c
AK
2662012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
267
268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
272 Refreshed.
273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
274 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
279 Refreshed.
280
d66ef399
DM
2812012-05-27 David S. Miller <davem@davemloft.net>
282
283 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
284 (___Q_zero): New.
285 (__Q_simulate_exceptions): Return void. Change to simulate
286 exceptions by writing into the %fsr.
287 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
288 (__Qp_handle_exceptions): Likewise.
289 (numbers): Delete.
290 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
291 __Qp_handle_exceptions.
292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
293 __Qp_handle_exceptions.
294 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
295 as unused and give dummy FP_RND_NEAREST initializer.
296 (FP_INHIBIT_RESULTS): Define.
297 (___Q_simulate_exceptions): Update declaration.
298 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
299 formatting.
300 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
301 as unused and give dummy FP_RND_NEAREST initializer.
302 (__Qp_handle_exceptions): Update declaration.
303 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
304 formatting.
305
04fb54b5
TS
3062012-05-27 Thomas Schwinge <thomas@codesourcery.com>
307
308 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
309 the temporary FPU control word.
310 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
311 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
312 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
313 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
314 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
315 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
316 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
317 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
318 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
319 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
320 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
321
3f99608f
KK
3222012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
323
324 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
325 fields.
326
65a4de4e
CLT
3272012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
328
329 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
330 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
331 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
332 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
333 Likewise.
334 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
335 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
336 Likewise.
337
15749d40
UD
3382012-05-27 Ulrich Drepper <drepper@gmail.com>
339
340 * po/h.po: Update from translation team.
341
25dbcb27
AS
3422012-05-26 Andreas Schwab <schwab@linux-m68k.org>
343
3d3f8e55
AS
344 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
345
25dbcb27
AS
346 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
347 handling of denormals.
348 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
349 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
350 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
351 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
352 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
353 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
354 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
355 Likewise.
356
7ad47a80 3572012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
358
359 [BZ #14152]
360 * math/libm-test.inc (fma_test): Don't always expect underflow
361 exception.
362
9c6ea9fa
SP
3632012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
364
365 [BZ #12416]
366 * elf/tst-execstack.c: Include stackinfo.h.
367 (do_test): Adjust test case to ensure that pthread_getattr_np
368 behaviour remains the same after marking stack executable.
369
a8239222
JM
3702012-05-25 Joseph Myers <joseph@codesourcery.com>
371
372 * sysdeps/unix/sysv/linux/kernel-features.h
373 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
374 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
375 kernel-features.h.
376 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
377 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
378 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
379 kernel-features.h.
380 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
381 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
382
918b5606
L
3832012-05-25 H.J. Lu <hongjiu.lu@intel.com>
384
385 * configure.in: Define the default includes to being none.
386 * configure: Regenerated.
387
3a097cc7
RM
3882012-05-25 Roland McGrath <roland@hack.frob.com>
389
8422c9a5
RM
390 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
391 * sysdeps/x86_64/setjmp.S: Likewise.
392 * sysdeps/i386/bsd-setjmp.S: Likewise.
393 * sysdeps/i386/bsd-_setjmp.S: Likewise.
394 * sysdeps/i386/setjmp.S: Likewise.
395 * sysdeps/i386/__longjmp.S: Likewise.
396 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
397 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
398
3a097cc7
RM
399 * include/stap-probe.h: New file.
400 * configure.in: Handle --enable-systemtap.
401 * configure: Regenerated.
402 * config.h.in (USE_STAP_PROBE): New #undef.
403 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
404 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
405 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
406
21708942
JM
4072012-05-25 Joseph Myers <joseph@codesourcery.com>
408
409 [BZ #13717]
410 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
411 to 2.4.0 where earlier.
412 * sysdeps/unix/sysv/linux/configure: Regenerated.
413 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
414 <kernel-features.h>.
415 [__ASSUME_32BITUIDS]: Make code unconditional.
416 [!__ASSUME_32BITUIDS]: Remove conditional code.
417 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
418 <kernel-features.h>.
419 [__ASSUME_32BITUIDS]: Make code unconditional.
420 [!__ASSUME_32BITUIDS]: Remove conditional code.
421 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
422 [__ASSUME_32BITUIDS]: Make code unconditional.
423 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
424 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
425 <kernel-features.h>.
426 [__ASSUME_32BITUIDS]: Make code unconditional.
427 [!__ASSUME_32BITUIDS]: Remove conditional code.
428 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
429 <kernel-features.h>.
430 [__ASSUME_32BITUIDS]: Make code unconditional.
431 [!__ASSUME_32BITUIDS]: Remove conditional code.
432 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
433 <kernel-features.h>.
434 [__ASSUME_32BITUIDS]: Make code unconditional.
435 [!__ASSUME_32BITUIDS]: Remove conditional code.
436 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
437 <kernel-features.h>.
438 [__ASSUME_32BITUIDS]: Make code unconditional.
439 [!__ASSUME_32BITUIDS]: Remove conditional code.
440 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
441 <kernel-features.h>.
442 [__ASSUME_32BITUIDS]: Make code unconditional.
443 [!__ASSUME_32BITUIDS]: Remove conditional code.
444 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
445 <kernel-features.h>.
446 [__ASSUME_32BITUIDS]: Make code unconditional.
447 [!__ASSUME_32BITUIDS]: Remove conditional code.
448 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
449 <kernel-features.h>.
450 [__ASSUME_32BITUIDS]: Make code unconditional.
451 [!__ASSUME_32BITUIDS]: Remove conditional code.
452 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
453 <kernel-features.h>.
454 [__ASSUME_32BITUIDS]: Make code unconditional.
455 [!__ASSUME_32BITUIDS]: Remove conditional code.
456 * sysdeps/unix/sysv/linux/i386/msgctl.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/semctl.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/setegid.c: Do not include
465 <kernel-features.h>.
466 [__NR_setresgid] (__setresgid): Do not declare.
467 [__ASSUME_32BITUIDS]: Make code unconditional.
468 [!__ASSUME_32BITUIDS]: Remove conditional code.
469 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
470 <kernel-features.h>.
471 [__NR_setresuid] (__setresuid): Do not declare.
472 [__ASSUME_32BITUIDS]: Make code unconditional.
473 [!__ASSUME_32BITUIDS]: Remove conditional code.
474 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
475 <kernel-features.h>.
476 [__ASSUME_32BITUIDS]: Make code unconditional.
477 [!__ASSUME_32BITUIDS]: Remove conditional code.
478 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
479 <kernel-features.h>.
480 [__ASSUME_32BITUIDS]: Make code unconditional.
481 [!__ASSUME_32BITUIDS]: Remove conditional code.
482 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
483 <kernel-features.h>.
484 [__ASSUME_32BITUIDS]: Make code unconditional.
485 [!__ASSUME_32BITUIDS]: Remove conditional code.
486 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
487 <kernel-features.h>.
488 [__ASSUME_32BITUIDS]: Make code unconditional.
489 [!__ASSUME_32BITUIDS]: Remove conditional code.
490 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
491 <kernel-features.h>.
492 [__ASSUME_32BITUIDS]: Make code unconditional.
493 [!__ASSUME_32BITUIDS]: Remove conditional code.
494 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
495 <kernel-features.h>.
496 [__ASSUME_32BITUIDS]: Make code unconditional.
497 [!__ASSUME_32BITUIDS]: Remove conditional code.
498 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
499 <kernel-features.h>.
500 [__ASSUME_32BITUIDS]: Make code unconditional.
501 [!__ASSUME_32BITUIDS]: Remove conditional code.
502 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
503 <kernel-features.h>.
504 [__ASSUME_32BITUIDS]: Make code unconditional.
505 [!__ASSUME_32BITUIDS]: Remove conditional code.
506 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
507 <kernel-features.h>.
508 [__ASSUME_32BITUIDS]: Make code unconditional.
509 [!__ASSUME_32BITUIDS]: Remove conditional code.
510 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
511 <kernel-features.h>.
512 [__ASSUME_32BITUIDS]: Make code unconditional.
513 [!__ASSUME_32BITUIDS]: Remove conditional code.
514 * sysdeps/unix/sysv/linux/kernel-features.h
515 (__ASSUME_SETRESUID_SYSCALL): Remove.
516 (__ASSUME_SETRESGID_SYSCALL): Likewise.
517 (__ASSUME_32BITUIDS): Likewise.
518 (__ASSUME_LDT_WORKS): Likewise.
519 (__ASSUME_O_DIRECTORY): Likewise.
520 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
521 architecture but not kernel version.
522 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
523 (__ASSUME_MMAP2_SYSCALL): Likewise.
524 (__ASSUME_STAT64_SYSCALL): Likewise.
525 (__ASSUME_IPC64): Likewise.
526 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
527 <kernel-features.h>.
528 [__ASSUME_32BITUIDS]: Make code unconditional.
529 [!__ASSUME_32BITUIDS]: Remove conditional code.
530 * sysdeps/unix/sysv/linux/opendir.c: Do not include
531 <kernel-features.h>.
532 [__ASSUME_O_DIRECTORY]: Make code unconditional.
533 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
534 132096]: Remove conditional code.
535 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
536 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
537 <kernel-features.h>.
538 [__ASSUME_32BITUIDS]: Make code unconditional.
539 [!__ASSUME_32BITUIDS]: Remove conditional code.
540 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
541 <kernel-features.h>.
542 [__ASSUME_32BITUIDS]: Make code unconditional.
543 [!__ASSUME_32BITUIDS]: Remove conditional code.
544 * sysdeps/unix/sysv/linux/setegid.c: Do not include
545 <kernel-features.h>.
546 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
547 unconditional.
548 (__setresgid): Do not declare.
549 [__ASSUME_32BITUIDS]: Make code unconditional.
550 [!__ASSUME_32BITUIDS]: Remove conditional code.
551 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
552 <kernel-features.h>.
553 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
554 unconditional.
555 (__setresuid): Do not declare.
556 [__ASSUME_32BITUIDS]: Make code unconditional.
557 [!__ASSUME_32BITUIDS]: Remove conditional code.
558 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
559 <kernel-features.h>.
560 [__ASSUME_32BITUIDS]: Make code unconditional.
561 [!__ASSUME_32BITUIDS]: Remove conditional code.
562 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
563 <kernel-features.h>.
564 [__ASSUME_32BITUIDS]: Make code unconditional.
565 [!__ASSUME_32BITUIDS]: Remove conditional code.
566
a386f1cc
RH
5672012-05-25 Richard Henderson <rth@twiddle.net>
568
569 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
570 dl_hwcap to ifunc resolver.
571 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
572 elf_ifunc_invoke.
573 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
574 dl_hwcap to ifunc resolver.
575 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
576
b6550497
JM
5772012-05-24 Joseph Myers <joseph@codesourcery.com>
578
579 [BZ #14153]
580 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
581 for |x| <= 2**-26, not 2**-57.
582 * math/libm-test.inc (acos_test): Do not allow spurious underflow
583 exception.
584
b0bc23a1
JL
5852012-05-24 Jeff Law <law@redhat.com>
586
587 * stdio-common/Makefile (tests): Add bug25.
588 * stdio-common/bug25.c: New test.
589
347c92e9
L
5902012-05-24 H.J. Lu <hongjiu.lu@intel.com>
591
592 [BZ #13576]
593 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
594 multiple of MALLOC_ALIGNMENT in size.
595 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
596
6bcc8b3f
JM
5972012-05-24 Joseph Myers <joseph@codesourcery.com>
598
599 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
600 Require >= 256.
601 (FILENAME_MAX): Use macro-int-constant.
602 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
603 (_IOFBF): Use macro-int-constant.
604 (_IOLBF): Likewise.
605 (_IONBF): Likewise.
606 (SEEK_CUR): Likewise.
607 (SEEK_END): Likewise.
608 (SEEK_SET): Likewise.
609 (TMP_MAX): Likewise.
610 (EOF): Use macro-int-constant. Require < 0.
611 (NULL): Use macro-constant. Require == 0.
612 (stdin): Require type to be FILE *.
613 (stdout): Likewise.
614 (stderr): Likewise.
615 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
616 macro-int-constant.
617 (EXIT_SUCCESS): Likewise.
618 (NULL): Use macro-constant. Require == 0.
619 (RAND_MAX): Use macro-int-constant.
620 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
621 [C99-based standards] (strtof): Require function.
622 [C99-based standards] (strtold): Likewise.
623 [C99-based standards] (strtoll): Likewise.
624 [C99-based standards] (strtoull): Likewise.
625 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
626 [ISO || ISO99 || ISO11] (limits.h): Likewise.
627 [ISO || ISO99 || ISO11] (math.h): Likewise.
628 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
629 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
630 [ISO || ISO99 || ISO11] (*_t): Do not allow.
631
d18ea0c5
AS
6322012-05-24 Andreas Schwab <schwab@linux-m68k.org>
633
634 [BZ #14132]
56d25bb8
AS
635 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
636 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
637 * intl/dgettext.c (DCGETTEXT): Likewise.
638 * intl/gettext.c (DCGETTEXT): Likewise.
639 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
640 * posix/regex_internal.h (gettext): Likewise.
641 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
642 Remove declaration.
643 * include/argz.h (__argz_count_internal)
644 (__argz_stringify_internal): Remove declaration.
645 (__argz_count, __argz_stringify): Declare hidden proto.
646 * intl/dcgettext.c: Remove use of INTDEF.
647 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
648 * string/argz-stringify.c: Likewise.
649 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
650 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
651 Declare hidden proto.
d18ea0c5
AS
652 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
653 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
654 Declare hidden proto.
655 * include/stdio.h (__asprintf_internal): Don't declare.
656 (__asprintf): Don't define as macro. Declare hidden proto.
657 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
658 (__fsetlocking): Declare hidden proto.
659 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
660 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
661 hidden proto.
662 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
663 (_IO_setlinebuf): Remove use of INTUSE.
664 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
665 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
666 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
667 Remove declaration.
668 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
669 (_IO_do_flush): Remove use of INTUSE.
670 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
671 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
672 (_IO_adjust_column, _IO_least_wmarker)
673 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
674 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
675 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
676 (_IO_default_doallocate, _IO_wdefault_doallocate)
677 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
678 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
679 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
680 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
681 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
682 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
683 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
684 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
685 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
686 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
687 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
688 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
689 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
690 proto.
691 (_IO_flush_all_internal, _IO_adjust_column_internal)
692 (_IO_default_uflow_internal, _IO_default_finish_internal)
693 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
694 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
695 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
696 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
697 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
698 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
699 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
700 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
701 (_IO_file_close_internal, _IO_file_close_it_internal)
702 (_IO_file_underflow_internal, _IO_file_overflow_internal)
703 (_IO_file_init_internal, _IO_file_attach_internal)
704 (_IO_file_fopen_internal, _IO_file_read_internal)
705 (_IO_file_sync_internal, _IO_file_seek_internal)
706 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
707 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
708 (_IO_str_underflow_internal, _IO_str_overflow_internal)
709 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
710 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
711 (_IO_list_all_internal, _IO_link_in_internal)
712 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
713 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
714 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
715 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
716 (_IO_do_write_internal, _IO_padn_internal)
717 (_IO_getline_info_internal, _IO_getline_internal)
718 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
719 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
720 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
721 (_IO_vfscanf_internal, _IO_vfprintf_internal)
722 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
723 (_IO_init_internal, _IO_un_link_internal): Don't declare.
724 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
725 with libc_hidden_ver, remove use of INTUSE.
726 * libio/genops.c: Likewise.
727 * libio/freopen.c: Likewise.
728 * libio/freopen64.c: Likewise.
729 * libio/iofclose.c: Likewise.
730 * libio/iofdopen.c: Likewise.
731 * libio/iofflush.c: Likewise.
732 * libio/iofflush_u.c: Likewise.
733 * libio/iofgets.c: Likewise.
734 * libio/iofgets_u.c: Likewise.
735 * libio/iofopen.c: Likewise.
736 * libio/iofopncook.c: Likewise.
737 * libio/iofread.c: Likewise.
738 * libio/iofread_u.c: Likewise.
739 * libio/ioftell.c: Likewise.
740 * libio/iofwrite.c: Likewise.
741 * libio/iogetline.c: Likewise.
742 * libio/iogets.c: Likewise.
743 * libio/iogetwline.c: Likewise.
744 * libio/iopadn.c: Likewise.
745 * libio/iopopen.c: Likewise.
746 * libio/ioseekoff.c: Likewise.
747 * libio/ioseekpos.c: Likewise.
748 * libio/iosetbuffer.c: Likewise.
749 * libio/iosetvbuf.c: Likewise.
750 * libio/ioungetc.c: Likewise.
751 * libio/ioungetwc.c: Likewise.
752 * libio/iovdprintf.c: Likewise.
753 * libio/iovsprintf.c: Likewise.
754 * libio/iovsscanf.c: Likewise.
755 * libio/memstream.c: Likewise.
756 * libio/obprintf.c: Likewise.
757 * libio/oldfileops.c: Likewise.
758 * libio/oldiofclose.c: Likewise.
759 * libio/oldiofdopen.c: Likewise.
760 * libio/oldiofopen.c: Likewise.
761 * libio/oldiopopen.c: Likewise.
762 * libio/oldstdfiles.c: Likewise.
763 * libio/putc.c: Likewise.
764 * libio/setbuf.c: Likewise.
765 * libio/setlinebuf.c: Likewise.
766 * libio/stdfiles.c: Likewise.
767 * libio/strops.c: Likewise.
768 * libio/vasprintf.c: Likewise.
769 * libio/vscanf.c: Likewise.
770 * libio/vsnprintf.c: Likewise.
771 * libio/vswprintf.c: Likewise.
772 * libio/wfiledoalloc.c: Likewise.
773 * libio/wfileops.c: Likewise.
774 * libio/wgenops.c: Likewise.
775 * libio/wmemstream.c: Likewise.
776 * libio/wstrops.c: Likewise.
777 * libio/__fpurge.c: Likewise.
778 * libio/__fsetlocking.c: Likewise.
779 * assert/assert.c: Likewise.
780 * debug/fgets_chk.c: Likewise.
781 * debug/fgets_u_chk.c: Likewise.
782 * debug/fread_chk.c: Likewise.
783 * debug/fread_u_chk.c: Likewise.
784 * debug/gets_chk.c: Likewise.
785 * debug/obprintf_chk.c: Likewise.
786 * debug/vasprintf_chk.c: Likewise.
787 * debug/vdprintf_chk.c: Likewise.
788 * debug/vsnprintf_chk.c: Likewise.
789 * debug/vsprintf_chk.c: Likewise.
790 * malloc/mtrace.c: Likewise.
791 * misc/error.c: Likewise.
792 * misc/syslog.c: Likewise.
793 * stdio-common/asprintf.c: Likewise.
794 * stdio-common/fxprintf.c: Likewise.
795 * stdio-common/getw.c: Likewise.
796 * stdio-common/isoc99_fscanf.c: Likewise.
797 * stdio-common/isoc99_scanf.c: Likewise.
798 * stdio-common/isoc99_vfscanf.c: Likewise.
799 * stdio-common/isoc99_vscanf.c: Likewise.
800 * stdio-common/isoc99_vsscanf.c: Likewise.
801 * stdio-common/printf-prs.c: Likewise.
802 * stdio-common/printf_fp.c: Likewise.
803 * stdio-common/printf_fphex.c: Likewise.
804 * stdio-common/printf_size.c: Likewise.
805 * stdio-common/putw.c: Likewise.
806 * stdio-common/scanf.c: Likewise.
807 * stdio-common/sprintf.c: Likewise.
808 * stdio-common/tmpfile.c: Likewise.
809 * stdio-common/vfprintf.c: Likewise.
810 * stdio-common/vfscanf.c: Likewise.
811 * stdlib/strfmon_l.c: Likewise.
812 * sunrpc/openchild.c: Likewise.
813 * sunrpc/xdr_stdio.c: Likewise.
814 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
815 * sysdeps/mach/hurd/tmpfile.c: Likewise.
816
d6c33fda
RM
8172012-05-24 Roland McGrath <roland@hack.frob.com>
818
c1487492
RM
819 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
820
821 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
822 in the third column, to generate for the shared library an IFUNC
823 that uses _dl_vdso_vsym.
824 * Makerules (COMPILE.c, compile-stdin.c): New variables.
825 * Makeconfig (object-suffixes-noshared): New variable.
826
827 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
828 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
829 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
830 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
831
d6c33fda
RM
832 [BZ #14132]
833 * include/sys/time.h (__gettimeofday): Remove macro.
834 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
835 * time/gettimeofday.c (__gettimeofday): Remove #undef.
836 Remove INTDEF.
837 (__gettimeofday): Add libc_hidden_def.
838 (gettimeofday): Add libc_hidden_weak.
839 * sysdeps/mach/gettimeofday.c: Likewise.
840 * sysdeps/posix/gettimeofday.c: Likewise.
841 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
842 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
843 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
844 (__gettimeofday_internal): Remove strong_alias.
845 (__gettimeofday): Add libc_hidden_def.
846 (gettimeofday): Add libc_hidden_weak.
847 * sysdeps/unix/syscalls.list (gettimeofday):
848 Remove __gettimeofday_internal alias.
849
b5a2bbe6
L
8502012-05-24 Daniel Jacobowitz <drow@false.org>
851 H.J. Lu <hongjiu.lu@intel.com>
852
853 [BZ #12495]
854 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
855 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
856 (largebin_index_32_big): New.
857 (largebin_index): Use it for 16-byte alignment.
858 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
859 correction with front_misalign.
860
cfba4fda
L
8612012-05-24 H.J. Lu <hongjiu.lu@intel.com>
862
7f907421
L
863 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
865 Likewise.
866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
867 Likewise.
868 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
869 Likewise.
870 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
871 Likewise.
872 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
873 Likewise.
874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
875 Likewise.
876 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
877 Likewise.
878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
879 Likewise.
880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
881 Likewise.
882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
883 Likewise.
884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
885 Likewise.
886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
887 Likewise.
888
cfba4fda
L
889 * scripts/data/c++-types-x32-linux-gnu.data: New file.
890 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
891
80bad0cc
JM
8922012-05-24 Joseph Myers <joseph@codesourcery.com>
893
7a25eb06
JM
894 [BZ #10846]
895 [BZ #14036]
896 * math/libm-test.inc (exp_test): Add test from bug 14036.
897 (pow_test): Add test from bug 10846.
898
795405f9
JM
899 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
900 and other flags.
901 (special_function): Do not include flags in test name.
902 (parse_args): Likewise.
903 * sysdeps/i386/fpu/libm-test-ulps: Update.
904 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
905 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
906 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
908
80bad0cc
JM
909 * math/gen-libm-test.pl (%beautify): Add entries for underflow
910 exceptions.
911 * math/libm-test.inc ("Philosophy"): Update comment about
912 exception testing.
913 (UNDERFLOW_EXCEPTION): New macro.
914 (UNDERFLOW_EXCEPTION_OK): Likewise.
915 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
916 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
917 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
918 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
919 (INVALID_EXCEPTION_OK): Update value.
920 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
921 (OVERFLOW_EXCEPTION_OK): Likewise.
922 (IGNORE_ZERO_INF_SIGN): Likewise.
923 (test_exceptions): Handle underflow exceptions.
924 (acos_test): Update for underflow exception expectations.
925 (cexp_test): Likewise.
926 (clog_test): Likewise.
927 (clog10_test): Likewise.
928 (csqrt_test): Likewise.
929 (ctan_test): Likewise.
930 (ctanh_test): Likewise.
931 (exp_test): Likewise.
932 (exp10_test): Likewise.
933 (exp2_test): Likewise.
934 (expm1_test): Likewise.
935 (fma_test): Likewise.
936 (j0_test): Likewise.
937 (jn_test): Likewise.
938 (nexttoward_test): Likewise.
939 (pow_test): Likewise.
940 (scalbn_test): Likewise.
941 (scalbln_test): Likewise.
942 (tan_test): Likewise.
943 (y1_test): Likewise.
944 * sysdeps/i386/fpu/libm-test-ulps: Update.
945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
946
9e0e3d0b
DM
9472012-05-23 David S. Miller <davem@davemloft.net>
948
949 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
950 (__libc_sigaction): Remove unused local variables.
951
ccd0a08f
L
9522012-05-23 H.J. Lu <hongjiu.lu@intel.com>
953
954 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
955
62bdf9a6
PE
9562012-05-23 Paul Eggert <eggert@cs.ucla.edu>
957
f8591f80
PE
958 mktime: avoid signed integer overflow
959 * time/mktime.c (__mktime_internal): Do not mishandle the case
960 where diff == INT_MIN.
961
94c7d826
PE
962 mktime: simplify computation of average
963 * time/mktime.c (ranged_convert): Use new time_t_avg function
964 instead of rolling our own (probably-slower) code.
965
ce73d683
PE
966 mktime: do not assume signed right shift propagates sign bit
967 * time/mktime.c (isdst_differ): New static function.
968 (__mktime_internal): No need to normalize tm_isdst now.
969 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
970 tm_isdst values.
971
72a22e59
PE
972 mktime: merge another wrapv change from gnulib
973 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
974 from some compilers.
975
68605433
PE
976 mktime: remove incorrect attempt at unusual arithmetics
977 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
978 The code didn't really work on such machines anyway.
979 (TYPE_MINIMUM): Assume two's complement.
980 (twos_complement_arithmetic): Verify that long_int and time_t
981 are two's complement (or unsigned, in the latter case).
982
03cf7fe3
PE
983 mktime: check signed shifts on long_int and time_t, too
984 * time/mktime.c (SHR): Check that shifts work as desired
985 on the types long_int and time_t too, as SHR is used on
986 such types.
987
f04dfbc2
PE
988 mktime: do not assume 'long' is wide enough
989 * time/mktime.c (verify): Move decl up.
990 (long_int): New type.
991 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
992 to remove assumption in the code that 'long' is wide enough to
993 store year values. This assumption is not true on x32 and on
994 some non-glibc platforms.
995
62bdf9a6
PE
996 mktime: merge wrapv change from gnulib
997 * time/mktime.c (WRAPV): New macro.
998 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
999 (guess_time_tm, __mktime_internal): Do not assume that signed
1000 integer overflow wraps around; modern compilers generate code
1001 where this assumption is no longer valid.
1002
5e292e4f
L
10032012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1004
1005 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1006 Replace "jmp L(pseudo_end)" with "ret".
1007 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1008 Likewise.
1009
8caf8c87
AJ
10102012-05-23 Andreas Jaeger <aj@suse.de>
1011
1012 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1013 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1014
1a09dc56
AJ
10152012-05-23 Andreas Jaeger <aj@suse.de>
1016 Maximilian Attems <max@stro.at>
1017
1018 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1019 New macros.
1020
1c87aba0
L
10212012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1022
1023 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1024 code so that pseudo_end is just ret and the stack pointer is
1025 correct also for static library in error case.
1026
40e45bd5
JM
10272012-05-23 Joseph Myers <joseph@codesourcery.com>
1028
c2670533
JM
1029 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1030 move to syscalls.list.
1031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1035
40e45bd5
JM
1036 * manual/install.texi (Running make install): Do not mention Linux
1037 kernel version for which pt_chown is not needed.
1038 (Linux): Do not mention problems with nscd with 2.0 kernels.
1039 * INSTALL: Regenerated.
1040
be08eda5
AJ
10412012-05-23 Andreas Jaeger <aj@suse.de>
1042
1043 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1044 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1045 macro.
1046 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1047 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1048 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1049 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1050 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1051 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1052 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1053 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1054 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1055 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1056 * sysdeps/unix/sysv/linux/bits/in.h
1057 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1058
a6a056bb
RM
10592012-05-22 Roland McGrath <roland@hack.frob.com>
1060
1061 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1062 (PREPARE_VERSION): Just use assert instead, it will be elided
1063 under [NDEBUG] anyway.
1064
c9009328
L
10652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1066
1067 * sysdeps/unix/sysv/linux/Makefile: Include
1068 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1069 (sysdep_routines): Remove sysctl.
c9009328
L
1070 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1071 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1072 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1073 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1074 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1075
73338355
AJ
10762012-05-22 Andreas Jaeger <aj@suse.de>
1077
1078 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1079 that pseudo_end is just ret and the stack pointer is correct also
1080 for static library in error case.
1081
d44638b0
PP
10822012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1083
1084 [BZ #14122]
1085 * nss/nsswitch.c (defconfig_entries): New variable.
1086 (__nss_database_lookup): Don't leak defconfig entries.
1087 (nss_parse_service_list): Don't leak on error paths.
1088 (free_database_entries): New function.
1089 (free_defconfig): New function.
1090 (free_mem): Move common code to free_database_entries.
1091
31a39bd8
L
10922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1093
da0331a8
L
1094 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1095 Add arch_prctl.
1096 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1097
31a39bd8
L
1098 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1099 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1100 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1101 New macro.
1102 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1103 (INTERNAL_SYSCALL_TYPES): Likewise.
1104 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1105 (LOAD_REGS_TYPES_[1-6]): Likewise.
1106 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1107 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1108
45470df3
AZ
11092012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1110
1111 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1112 copysignl for GLIBC_2_0.
1113 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1114 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1115 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1116 logbl for GLIBC_2_0.
1117 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1118 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1119
98a61bcb
L
11202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1121
a4f6e481
L
1122 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1123 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1124
f63d5db6
L
1125 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1126 Use "neg %eax".
1127
98a61bcb
L
1128 * time/mktime.c: Update copyright years.
1129
95770f14
PE
11302012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1131
6226efbd
PE
1132 mktime: merge comment-quoting-style change from gnulib
1133 * time/mktime.c: Quote 'like this' in comments.
1134 The GNU coding standards suggest that we no longer quote `like this',
1135 as "`" and "'" are typically rendered asymmetrically nowadays.
1136 The typical gnulib style is to quote 'like this' when quoting
1137 code, and "like this" when quoting English.
1138
b99e4f78
PE
1139 * time/mktime.c (compile-command): Add "-I.".
1140
643e01e6
PE
1141 mktime: merge mktime-internal.h change from gnulib
1142 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1143
2554247d
PE
1144 mktime: merge time_r change from gnulib
1145 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1146
826dd0ab
PE
1147 mktime: merge DEBUG change from gnulib
1148 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1149 case system <time.h> has a #define.
1150
bd83aabe
PE
1151 mktime: merge <sys/types.h> change from gnulib
1152 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1153 since <time.t> is now guaranteed to define time_t.
1154
95770f14
PE
1155 mktime: merge HAVE_CONFIG_H change from gnulib
1156 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1157
5e1a27a9
L
11582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1159
0e44a77e
L
1160 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1161 Use "neg %eax".
1162
5e1a27a9
L
1163 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1164 __rlim_t cast.
1165 (struct rusage): Use anonymous union to pad each field to
1166 __syscall_slong_t.
1167
46259bec
DM
11682012-05-21 David S. Miller <davem@davemloft.net>
1169
1170 * Makefules (o-iterator): Remove .s cases.
1171 (compile-command.s): Delete.
1172 (COMPILE.s): Delete.
1173 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1174
59f0c22e
JM
11752012-05-21 Joseph Myers <joseph@codesourcery.com>
1176
1177 * configure.in (libc_cv_predef_stack_protector): Only consider
1178 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1179 * configure: Regenerated.
1180
20c07380
L
11812012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1182
bbb3154b
L
1183 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1184 New macro. Use R*LP on int and pointer.
1185 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1186 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1187 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1188 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1189
20c07380
L
1190 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1191 [__WORDSIZE_TIME64_COMPAT32] instead of
1192 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1193 (struct utmp): Likewise.
1194 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1195 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1196 Renamed to ...
1197 (__WORDSIZE_TIME64_COMPAT32): This.
1198 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1199 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1200 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1201 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1202 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1203 (__WORDSIZE_TIME64_COMPAT32): New macro.
1204
d8d1017e
AJ
12052012-05-21 Andreas Jaeger <aj@suse.de>
1206
1207 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1208 only if [SHARED]. Add prototype for __wcschr_ia32.
1209
6c7fb145
RM
12102012-05-21 Roland McGrath <roland@hack.frob.com>
1211
1212 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1213 of %rbp unmolested in the jmp_buf while mangling the low bits.
1214 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1215 unmolested high bits of %rbp while demangling the low bits.
1216 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1217
66274218
AJ
12182012-05-21 Andreas Jaeger <aj@suse.de>
1219
07c58f8f
AJ
1220 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1221 * sunrpc/svc_simple.c: Use it for registerrpc.
1222 * sunrpc/xcrypt.c: Use it for passwd2des.
1223
66274218
AJ
1224 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1225
61f65140
L
12262012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1227
1228 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1229 Don't define if [__SYSCALL_WORDSIZE != 32].
1230 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1231 New macro.
1232
5fefb436
AJ
12332012-05-21 Bruno Haible <bruno@clisp.org>
1234 Andreas Jaeger <aj@suse.de>
1235
1236 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1237 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1238 inptr and inend for must_buffer_ch.
1239 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1240 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1241 * stdio-common/Makefile (tests): Remove bug15.
1242 (bug15-ENV): Remove macro.
1243 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1244 anymore.
1245
d8e272ab
AJ
12462012-05-19 Andreas Jaeger <aj@suse.de>
1247 Roland McGrath <roland@hack.frob.com>
1248
1249 * manual/contrib.texi: Completely rewritten. It contains now an
1250 alphabetical list of contributors and their contributions.
1251
4a56a162
RH
12522012-05-21 Richard Henderson <rth@twiddle.net>
1253
1254 * misc/getauxval.c (__getauxval): Use unsigned long int.
1255 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1256 (getauxval): Use unsigned long int.
1257
d024d23c
L
12582012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1259
1260 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1261
cbc00a03
RM
12622012-05-21 Roland McGrath <roland@hack.frob.com>
1263
1264 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1265 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1266 __alignof__ (long double).
1267
478143fa
AZ
12682012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1269
1270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1271
c7683a6d
RH
12722012-05-20 Richard Henderson <rth@twiddle.net>
1273
1274 * misc/getauxval.c: New file.
1275 * misc/sys/auxv.h: New file.
1276 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1277 (routines): Add getauxval.
1278 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1279 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1280 * elf/dl-sysdep.c (_dl_auxv): Remove.
1281 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1282 * elf/dl-support.c (_dl_auxv): New variable.
1283 (_dl_aux_init): Initialize it.
1284 * manual/startup.texi (Auxiliary Vector): New node.
1285 * sysdeps/generic/bits/hwcap.h: New file.
1286 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1287 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1288 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1289 * sysdeps/sparc/sysdep.h: ... here. Include it.
1290 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1291 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1293 Update.
c7683a6d
RH
1294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1297 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1298 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1300 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1302
a6f1845d
AZ
13032012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1304
1305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1306
cbcbe830
DM
13072012-05-19 David S. Miller <davem@davemloft.net>
1308
1309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1310
e0b16cc2
JM
13112012-05-19 Joseph Myers <joseph@codesourcery.com>
1312
1313 [BZ #14123]
1314 * math/s_ccosh.c: Include <float.h>
1315 (__ccosh): Avoid internal overflow calculating sinh and cosh
1316 values before multiplying by sin and cos values.
1317 * math/s_ccoshf.c: Likewise.
1318 * math/s_ccoshl.c: Likewise.
1319 * math/s_csin.c: Likewise.
1320 * math/s_csinf.c: Likewise.
1321 * math/s_csinl.c: Likewise.
1322 * math/s_csinh.c: Likewise.
1323 * math/s_csinhf.c: Likewise.
1324 * math/s_csinhl.c: Likewise.
1325 * math/libm-test.inc (ccos_test): Add more tests.
1326 (ccosh_test): Likewise.
1327 (csin_test): Likewise.
1328 (csinh_test): Likewise.
1329 * sysdeps/i386/fpu/libm-test-ulps: Update.
1330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1331
6ad13e08
L
13322012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1333
f66f0ce8
L
1334 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1335 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1336
6ad13e08
L
1337 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1338
b1d072a7
JM
13392012-05-19 Joseph Myers <joseph@codesourcery.com>
1340
1341 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1342 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1343 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1344 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1345 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1346 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1347 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1348 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1349 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1350 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1351 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1352 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1353 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1354 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1355 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1356 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1357 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1358 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1359 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1360 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1361 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1362 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1363 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1364 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1365 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1366 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1367 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1368 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1369 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1370 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1371 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1372
9eae47cb
AJ
13732012-05-18 Andreas Jaeger <aj@suse.de>
1374
1375 * csu/.gitignore: Delete.
1376
bb07f69f
L
13772012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1378
1379 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1380 (timex): Use __syscall_slong_t.
1381
e6bdb741
AJ
13822012-05-18 Andreas Jaeger <aj@suse.de>
1383 Carlos O'Donell <carlos_odonell@mentor.com>
1384
1385 * manual/install.texi (Configuring and compiling): Update
1386 description about files modified in the source directory.
d6c33fda 1387 * INSTALL: Regenerated.
e6bdb741 1388
1b74487e
L
13892012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1390
1391 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1392 value. Use "or" to set return value to -1.
1393 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1394 negate return value.
1395
a88b64b9
TMQMF
13962012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1397
1398 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1399 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1400 failure if the compiler has Graphite support disabled.
1401 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1402 Likewise.
1403 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1404 CFLAGS-memmove.c): Likewise.
1405 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1406 Likewise.
1407
3707636e
L
14082012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1409
610b8622
L
1410 * sysdeps/x86_64/x32/_itoa.h: New file.
1411
7cd195df
L
1412 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1413 getdents system call only if kernel and user dirents have the
1414 same d_ino and d_off.
1415
94b07d20
L
1416 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1417 LLONG_MAX != LONG_MAX.
1418 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1419 (_fitoa_word): Likewise.
1420
18298070
L
1421 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1422 years.
1423 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1424 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1425 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1426
553c7ea4
L
1427 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1428 include <bits/wordsize.h>. Check __x86_64__ instead of
1429 __WORDSIZE.
1430 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1431 if __x86_64__ is defined. Use anonymous union on fpstate.
1432
3707636e
L
1433 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1434 anonymous union.
1435
b53ef01a
AS
14362012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1437
37fb1dc0
AS
1438 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1439 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1440 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1441 Refer to _rtld_local_ro instead of _rtld_global_ro.
1442 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1443 Likewise.
1444 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1445 Likewise.
1446 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1447 Likewise.
1448 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1449 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1450 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1451
b53ef01a
AS
1452 * sysdeps/powerpc/powerpc32/dl-machine.c
1453 (__elf_machine_runtime_setup) [PROF]: Don't reference
1454 _dl_prof_resolve.
1455
7a185db2
AJ
14562012-05-18 Andreas Jaeger <aj@suse.de>
1457
1458 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1459 function only available for GCCs before 3.4 since GCC 3.4
1460 introduced a builtin.
1461 (lrint): Likewise.
1462 (llrintf): Likewise.
1463 (llrint): Likewise.
1464 (fmaxf): Likewise.
1465 (fmax): Likewise.
1466 (fminf): Likewise.
1467 (fmin): Likewise.
1468 (rint): Likewise.
1469 (rintf): Likewise.
1470 (nearbyint): Likewise.
1471 (nearbyintf): Likewise.
1472 (ceil): Likewise.
1473 (ceilf): Likewise.
1474 (floor): Likewise.
1475 (floorf): Likewise.
1476
3e5aef87
L
14772012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1478
428bd707
L
1479 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1480 on both fields and cast pointer to __syscall_ulong_t.
1481
3e5aef87
L
1482 * bits/types.h (__fsword_t): New type.
1483 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1484 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1485 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1486 (__FSWORD_T_TYPE): Likewise.
1487 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1488 (__FSWORD_T_TYPE): Likewise.
1489 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1490 (__FSWORD_T_TYPE): Likewise.
1491 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1492 (__FSWORD_T_TYPE): Likewise.
1493 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1494 __SWORD_TYPE with __fsword_t.
1495 (statfs64): Likewise.
1496
1ba7c3dc
DM
14972012-05-17 David S. Miller <davem@davemloft.net>
1498
1499 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1500
59910343
AJ
15012012-05-17 Andreas Jaeger <aj@suse.de>
1502
1503 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1504 warning.
1505
2e4c1e9e
L
15062012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1507
1508 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1509
de7f5ce7
AJ
15102012-05-17 Andreas Jaeger <aj@suse.de>
1511
1512 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1513 when it is used.
1514
286abc3d
CM
15152012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1516
1517 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1518
477cc68e
L
15192012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1520
1521 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1522 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1523
1a0994f5
CD
15242012-05-17 Andreas Jaeger <aj@suse.de>
1525 Carlos O'Donell <carlos_odonell@mentor.com>
1526
1527 [BZ #14059]
1528 * sysdeps/x86_64/multiarch/init-arch.h
1529 (bit_YMM_Usable): Rename to...
1530 (bit_AVX_Usable): ... this.
1531 (bit_FMA4_Usable): New macro.
1532 (bit_XMM_state): New macro.
1533 (bit_YMM_state): New macro.
1534 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1535 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1536 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1537 (CPUID_OSXSAVE): New macro.
1538 (CPUID_AVX): New macro.
1539 (CPUID_FMA4): New macro.
1540 (index_YMM_Usable): Rename to...
1541 (index_AVX_Usable): ... this.
1542 (HAS_AVX): Use HAS_ARCH_FEATURE.
1543 (HAS_FMA4): Likewise.
1544 (HAS_YMM_USABLE): Remove.
1545 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1546 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1547 are present.
1548 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1549 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1550 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1551 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1552 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1553
0af797de
CM
15542012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1555
1556 * math/libm-test.c: Support platforms without multiple rounding modes.
1557 * math/bug-nextafter.c: Support platforms without FP exceptions.
1558 * math/bug-nexttoward.c: Likewise.
1559 * math/test-fenv.c: Likewise.
1560 * math/test-misc.c: Likewise.
1561 * stdlib/bug-getcontext.c: Likewise.
1562
e39745ff
AJ
15632012-05-17 Andreas Jaeger <aj@suse.de>
1564
1565 * manual/examples/search.c (critter_cmp): Change signature to
1566 avoid warnings.
1567 * manual/string.texi (Collation Functions): Likewise.
1568
48970aba
L
15692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1570
1571 * bits/types.h: Fold copyright years.
1572 * bits/typesizes.h: Likewise.
1573 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1574 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1575 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1576 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1577 * time/time.h: Likewise.
1578
bedee953
PP
15792012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1580
1581 [BZ #208]
1582 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1583 in instead of returning them. Return void.
1584 (__libc_mallinfo): Accumulate over all arenas.
1585 (__malloc_stats): Adjust for change in int_mallinfo interface.
1586
61653dfb
RM
15872012-05-16 Roland McGrath <roland@hack.frob.com>
1588
30b99d79
RM
1589 [BZ #10375]
1590 * configure.in (NM): Add AC_CHECK_TOOL for it.
1591 (libc_extra_cflags): New substituted variable.
1592 Check for -fstack-protector being used implicitly.
1593 * configure: Regenerated.
1594 * config.make.in (config-extra-cflags): New variable,
1595 gets @libc_extra_cflags@.
1596 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1597
61653dfb
RM
1598 [BZ #10375]
1599 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1600 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1601 * configure: Regenerated.
1602 * config.make.in (CPPUNDEFS): New substituted variable.
1603 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1604 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1605 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1606
661768bb
L
16072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1608
1609 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1610 (mq_attr): Use __syscall_slong_t.
1611
d4261567
L
16122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1613
1614 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1615 Check __x86_64__ instead of __WORDSIZE.
1616 (_STAT_VER_LINUX): Likewise.
1617 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1618 __syscall_ulong_t and __syscall_slong_t.
1619 (stat64): Likewise.
1620
cf3ff365
L
16212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1622
1623 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1624
76cf3e4d
L
16252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1626
1627 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1628
a637753a
L
16292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1630
1631 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1632 __syscall_ulong_t.
1633
d5e05119
L
1634 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1635 include <bits/wordsize.h>. Check __x86_64__ instead of
1636 __WORDSIZE.
1637 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1638 defined.
1639 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1640
f62ee380
L
1641 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1642 include <bits/wordsize.h>. Check __x86_64__ instead of
1643 __WORDSIZE.
1644 (user_regs_struct): Use "__extension__ unsigned long long"
1645 instead of "unsigned long" if __x86_64__ is defined.
1646 (user): Likewise. Pad after pointer field if __ILP32__ is
1647 defined.
1648
4e124ced
JM
16492012-05-16 Joseph Myers <joseph@codesourcery.com>
1650
6a3951a0
JM
1651 * configure.in (makeinfo): Require version 4.5 or later. Allow
1652 versions 5 to 9.
1653 * configure: Regenerated.
1654 * manual/install.texi (texinfo): Increase version requirement to
1655 4.5 or later.
1656 * INSTALL: Regenerated.
1657
4e124ced
JM
1658 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1659
953ca31a
L
16602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1661
1662 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1663
617aca05
L
1664 * sysdeps/x86_64/x32/ffs.c: New file.
1665
5762f7ae
L
1666 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1667 __syscall_ulong_t.
1668 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1669 defined. Use __syscall_ulong_t.
1670 (shminfo): Use __syscall_ulong_t.
1671 (shm_info): Likewise.
1672
a26b6856
L
1673 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1674 __syscall_ulong_t.
1675
cb2b9ef7
L
1676 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1677 <bits/wordsize.h>.
1678 (msgqnum_t): Use __syscall_ulong_t.
1679 (msglen_t): Likewise.
1680 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1681 __syscall_ulong_t.
1682
34683bb0
L
1683 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1684 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1685
84a68786
L
1686 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1687
48baa5f1
L
1688 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1689 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1690
180be88b
L
1691 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1692 __syscall_slong_t.
1693
5e90c8ad
L
1694 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1695 include <bits/wordsize.h>. Check __x86_64__ instead of
1696 __WORDSIZE.
1697
23dfb58b
L
1698 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1699 "unsigned long long int" if __x86_64__ is defined.
1700 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1701
ce5d54b0
L
1702 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1703 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1704 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1705
13dc9eac
L
1706 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1707 <stdint.h>.
1708 (GET_PC): Cast to uintptr_t first.
1709 (GET_FRAME): Likewise.
1710 (GET_STACK): Likewise.
1711
a7895d15
L
1712 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1713 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1714 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1715 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1716 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1717 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1718 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1719 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1720 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1721 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1722 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1723 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1724 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1725 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1726 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1727 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1728 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1729 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1730 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1731 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1732 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1733 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1734 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1735 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1736 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1737 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1738 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1739 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1740 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1741
656416c9
AS
17422012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1743
5bd66283
AS
1744 * Makerules (+depfiles): Also collect depfiles from .oS in
1745 $(extra-objs).
1746 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1747 .oS, $(libnldbl-routines)).
1748
656416c9
AS
1749 * Makerules (native-compile-mkdep-flags): Define.
1750 * sunrpc/Makefile (extra-objs): Add $(addprefix
1751 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1752 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1753 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1754 calling $(make-target-directory).
1755
a46f2169
L
17562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1757
1758 * bits/types.h (__snseconds_t): Removed.
1759 * time/time.h (struct timespec): Replace __snseconds_t with
1760 __syscall_slong_t.
1761 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1762 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1763 Likewise.
1764 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1765 (__SNSECONDS_T_TYPE): Likewise.
1766 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1767 (__SNSECONDS_T_TYPE): Likewise.
1768 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1769 (__SNSECONDS_T_TYPE): Likewise.
1770
6af6528b
L
17712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1772
1773 * sysdeps/mach/hurd/bits/typesizes.h
1774 (__SYSCALL_SLONG_TYPE): New macro.
1775 (__SYSCALL_ULONG_TYPE): Likewise.
1776
de986b56
L
17772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1778
1779 * bits/types.h (__syscall_slong_t): New type.
1780 (__syscall_ulong_t): Likewise.
1781
1782 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1783 (__SYSCALL_ULONG_TYPE): Likewise.
1784 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1785 (__SYSCALL_SLONG_TYPE): Likewise.
1786 (__SYSCALL_ULONG_TYPE): Likewise.
1787 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1788 (__SYSCALL_SLONG_TYPE): Likewise.
1789 (__SYSCALL_ULONG_TYPE): Likewise.
1790 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1791 (__SYSCALL_SLONG_TYPE): Likewise.
1792 (__SYSCALL_ULONG_TYPE): Likewise.
1793
85736dc7
L
17942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1795
1796 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1797 Add sigaltstack-offsets.sym.
1798 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1799 <sigaltstack-offsets.h>.
1800 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1801 longjmp_msg pointer.
1802 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1803 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1804 signal stack.
1805 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1806
cc03b296
JM
18072012-05-15 Joseph Myers <joseph@codesourcery.com>
1808
a9538892
JM
1809 * elf/stackguard-macros.h: Remove file.
1810 * sysdeps/generic/stackguard-macros.h: New file.
1811 * sysdeps/i386/stackguard-macros.h: Likewise.
1812 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1813 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1814 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1815 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1816 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1817 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1818 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1819 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1820 <elf/stackguard-macros.h>.
1821
cc03b296
JM
1822 [BZ #14109]
1823 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1824 __aligned__ in attribute.
1825 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1826 (gregset_t): Likewise.
1827
93171016
L
18282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1829
1830 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1831 * sysdeps/x86_64/64/Implies-after: Here. New file.
1832 * sysdeps/x86_64/x32/Implies-after: New file.
1833
d86813a0
L
18342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1835
1836 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1837 and access return value for _dl_profile_fixup. Use R10_LP to
1838 load frame size.
1839
2953ec75
L
18402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1841
1842 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1843
3b550e9e
L
18442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1845
1846 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1847 * sysdeps/x86_64/x32/sysdep.h: New file.
1848
eda41706
L
18492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1850
1851 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1852 * sysdeps/x86_64/setjmp.S: Likewise.
1853
9ea01d93
AZ
18542012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1855
1856 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1857 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1858 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1859 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1860 remove unused global constant.
1861
02a91938
CM
18622012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1863
1864 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1865 include of <not-cancel.h>.
1866
6540185f
RM
18672012-05-15 Roland McGrath <roland@hack.frob.com>
1868
1869 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1870
509072a0
AJ
18712012-05-15 Jeff Law <law@redhat.com>
1872 Andreas Jaeger <aj@suse.de>
1873
1874 [BZ #13594]
1875 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1876 out from...
1877 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1878 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1879 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1880 code changing __hst_map_handle.map.
1881
ba75122d
RM
18822012-05-15 Roland McGrath <roland@hack.frob.com>
1883
1884 * configure.in (sysnames): Look for Implies-before and Implies-after
1885 files.
1886 * configure: Regenerated.
1887
890d8bd8
L
18882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1889
1890 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1891 8-byte data alignment with LP_SIZE alignment.
1892
f6ee6623
L
18932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1894
1895 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1896 into R10_LP.
1897
ea2626f6
L
18982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1899
1900 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1901
085f715e
L
19022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1903
1904 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1905 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1906 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1907 Likewise.
1908 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1909
be8498fc
L
19102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1911
1912 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1913 (stackinfo_sub_sp): Likewise.
1914
70bc83b9
L
19152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1916
1917 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1918 RAX_LP.
1919
9bc0b730
L
19202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1921
1922 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1923 into R*_LP.
1924
6d2850e7
L
19252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1926
1927 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1928 sizes into R*_LP.
1929
3cb84561
L
19302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1931
1932 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1933
54e2ed81
L
19342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1935
1936 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1937 into R11_LP and load __x86_64_shared_cache_size_half into
1938 R8_LP.
1939
8a17f349
L
19402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1941
1942 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1943 R8_LP.
1944
777b1eea
AZ
19452012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1946
1947 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1948 logb for POWER7.
1949 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1950 logbf for POWER7.
1951 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1952 logbl for POWER7.
1953 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1954 powerpc32/power7/fpu/s_logb.c via #include.
1955 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1956 powerpc32/power7/fpu/s_logbf.c via #include.
1957 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
1958 powerpc32/power7/fpu/s_logbl.c via #include.
1959
d20d4ac2
JM
19602012-05-15 Joseph Myers <joseph@codesourcery.com>
1961
1962 * README.libm: Remove file.
1963
6cdef1ab
L
19642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1965
1966 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1967 count for x32. Use R*_LP and omit operand-size suffix.
1968
0b254d8f
L
19692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1970
1971 * shlib-versions: Move x86_64-.*-linux.* entries to ...
1972 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1973 * sysdeps/x86_64/x32/shlib-versions: New file.
1974
ceb809dc
RM
19752012-05-14 Roland McGrath <roland@hack.frob.com>
1976
1977 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1978 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1979 Use _dl_fatal_printf instead.
1980
37f1abd4
JM
19812012-05-14 Joseph Myers <joseph@codesourcery.com>
1982
1983 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1984 set if not set by the user. Do not allow for being unset.
1985 * sysdeps/unix/sysv/linux/configure: Regenerated.
1986
11de3a33
L
19872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1988
1989 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1990 the `q' suffix from lea and replace .quad with ASM_ADDR.
1991
e02f153a
L
19922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1993
1994 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1995 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1996 instead of $17.
1997 (PTR_DEMANGLE): Likewise.
1998
520ae0fd
L
19992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2000
2001 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2002 (LP_OP): Likewise.
2003 (ASM_ADDR): Likewise.
2004 (RAX_LP): Likewise.
2005 (RBP_LP): Likewise.
2006 (RBX_LP): Likewise.
2007 (RCX_LP): Likewise.
2008 (RDI_LP): Likewise.
2009 (RSI_LP): Likewise.
2010 (RSP_LP): Likewise.
2011 (R8_LP): Likewise.
2012 (R9_LP): Likewise.
2013 (R10_LP): Likewise.
2014 (R10_LP): Likewise.
2015 (R11_LP): Likewise.
2016 (R12_LP): Likewise.
2017 (R13_LP): Likewise.
2018 (R14_LP): Likewise.
2019 (R15_LP): Likewise.
2020
b985be81
L
20212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2022
2023 * sysdeps/x86_64/x32/dl-machine.h: New file.
2024
6a4888ff
AJ
20252012-05-14 Andreas Jaeger <aj@suse.de>
2026
2027 * manual/Makefile (subdir): Remove export of subdir.
2028 (all): Remove target.
2029 (.PHONY): Remove all from list.
2030 (mkinstalldirs): Remove.
2031 (.PHONY): Remove installdirs from list.
2032 ($(inst_infodir)/libc.info): Use make-target-directory.
2033 (installdirs): Remove.
2034 (subdir_%): Remove.
2035 (glibc-targets): Remove.
2036 (lib): Remove.
2037 (stubs): Remove.
2038 ($(objpfx)stubs ../po/manual.pot): Remove.
2039 ($(objpfx)stamp%): Remove.
2040 (make-target-directory): Remove.
2041 (subdir_install): Remove.
2042 (routines): Remove.
2043 (aux): Remove.
2044 (sources): Remove.
2045 (objects): Remove.
2046 (headers): Remove.
2047
2048 [BZ #13750]
2049 * manual/.gitignore: Remove, it's not needed anymore.
2050 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2051 all files in it.
2052 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2053 directory.
2054 (texis): Renamed to $(objpfx)texis.
2055 (texis-path): New, contains path to generated files.
2056 (chapters.%): Use texis-path for complete path, add extra argument
2057 libc-texinfo.sh.
2058 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2059 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2060 (summary,texi, stamp-summary): Use complete path of
2061 files. Generate files in build dir.
2062 (dir-add.texi): Build in build dir.
2063 (libm-err.texi,stamp-libm-err): Likewise.
2064 (version.texi, stamp-version): Likewise.
2065 (.%c.texi): Likewise.
2066 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2067 (mostlyclean): Remove target.
2068 (realclean): Remove target.
2069 (generated): Add new variable with contents from mostlyclean and
2070 realclean, remove entries duplicated in common-mostlyclean, add
2071 stamp-libm-err and stamp-version.
2072 (generated-dirs): Add libc directory.
2073 ($(inst_infodir)/libc.info): Install files from build dir.
2074
2075 * manual/install.texi (Configuring and compiling): Adjust since
2076 the info files are not part of the tar ball anymore.
2077
7ac77294
AJ
20782012-05-14 Andreas Jaeger <aj@suse.de>
2079
2080 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2081 variable.
2082
ffb7875d
JM
20832012-05-14 Joseph Myers <joseph@codesourcery.com>
2084
2085 [BZ #13717]
2086 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2087 to 2.2.0 where earlier.
2088 * sysdeps/unix/sysv/linux/configure: Regenerated.
2089 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2090 Remove conditional code.
2091 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2092 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2093 Remove conditional code.
2094 [!__NR_lchown]: Likewise.
2095 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2096 [__NR_lchown]: Likewise.
2097 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2098 comment referencing __ASSUME_LCHOWN_SYSCALL.
2099 * sysdeps/unix/sysv/linux/i386/sigaction.c
2100 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2101 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2102 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2103 Remove conditional code.
2104 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2105 (__protocol_available): Remove #if 0 code.
2106 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2107 conditional code.
2108 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2109 * sysdeps/unix/sysv/linux/kernel-features.h
2110 (__ASSUME_GETCWD_SYSCALL): Don't define.
2111 (__ASSUME_REALTIME_SIGNALS): Likewise.
2112 (__ASSUME_PREAD_SYSCALL): Likewise.
2113 (__ASSUME_PWRITE_SYSCALL): Likewise.
2114 (__ASSUME_POLL_SYSCALL): Likewise.
2115 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2116 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2117 non-SPARC.
2118 (__ASSUME_SIOCGIFNAME): Don't define.
2119 (__ASSUME_MSG_NOSIGNAL): Likewise.
2120 (__ASSUME_SENDFILE): Define unconditionally.
2121 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2122 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2123 conditional code.
2124 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2125 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2126 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2127 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2128 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2129 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2130 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2132 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2133 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2135 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2136 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2138 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2139 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2141 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2142 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2144 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2145 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2147 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2148 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2150 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2151 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2153 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2154 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2155 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2156 Remove conditional code.
2157 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2158 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2159 Remove conditional code.
2160 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2161 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2162 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2163 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2164 Remove conditional code.
2165 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2166 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2167 Remove conditional code.
2168 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2169 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2170 Remove conditional code.
2171 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2172 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2173 Remove conditional code.
2174 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2175 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2176 Remove conditional code.
2177 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2178 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2179 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2180 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2181 * sysdeps/unix/sysv/linux/sigaction.c
2182 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2183 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2184 * sysdeps/unix/sysv/linux/sigpending.c
2185 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2186 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2187 * sysdeps/unix/sysv/linux/sigprocmask.c
2188 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2189 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2190 * sysdeps/unix/sysv/linux/sigsuspend.c
2191 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2192 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2193 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2194 (__libc_missing_rt_sigs): Remove.
2195 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2196 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2197 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2198 Remove conditional code.
2199 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2200 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2201 return 1.
2202 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2203 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2204 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2205 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2206
1bfb7291
AJ
22072012-05-14 Andreas Jaeger <aj@suse.de>
2208
caae5a81
AJ
2209 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2210 it's not used in glibc.
2211 (__coshm1): Likewise.
2212 (__acosh1p): Likewise.
2213 (__sgn): Likewise.
2214
1bfb7291
AJ
2215 * manual/string.texi (Copying and Concatenation): Add missing
2216 variable in concat example.
2217 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2218
c044d724
L
22192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2220
144c5467 2221 [BZ #14103]
c044d724
L
2222 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2223 __builtin_clzl with __builtin_clzll.
2224
2523c62b
L
22252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2226
2227 [BZ #14104]
2228 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2229 libc_freeres_ptr.
2230
d7bb4c42
LD
22312012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2232
2233 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2234 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2235 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2236 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2237
9dc4e1fb
MF
22382012-05-14 Mike Frysinger <vapier@gentoo.org>
2239
2240 * NEWS: Update ia64 info.
2241
c7df0112
AS
22422012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2243
2244 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2245 used as bcopy.
2246
dc70356c
TS
22472012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2248
2249 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2250 * sysdeps/unix/syscalls.list (dup3): Likewise.
2251 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2252 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2253
9fb1a21f
L
22542012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2255
2256 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2257 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2258
4822a2a5
L
22592012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2260
2261 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2262 thread pointer.
2263 (TLS_IE): Use mov/add instead of movq/addq to load thread
2264 pointer.
2265 (TLS_GD_PREFIX): New.
2266 (TLS_GD): Use it.
2267
842b81d6
DM
22682012-05-11 David S. Miller <davem@davemloft.net>
2269
2270 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2271 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2272 (_FPU_SETCW): Likewise.
2273
1cf463cd
L
22742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2275
2276 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2277 is 32-byte aligned.
2278
60cc4a18
AS
22792012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2280
2281 [BZ #11837]
2282 * iconvdata/gb18030.c: Update tables.
2283 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2284 characters specially.
2285 (BODY for TO_LOOP): Add encoding of missing ranges.
2286
febb44a4
TS
22872012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2288
2289 [BZ #13673]
2290 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2291 * sysdeps/mach/hurd/dup3.c: Likewise.
2292 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2293 * sysdeps/powerpc/memmove.c:: Likewise.
2294
0a10fb9e
L
22952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2296
2297 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2298 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2299
df8a552f
L
23002012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2301
2302 * elf/elf.h (R_X86_64_RELATIVE64): New.
2303 (R_X86_64_NUM): Updated.
2304 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2305 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2306 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2307 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2308 tst-quad1pie tst-quad2pie
2309 (modules-names): Add tst-quadmod1 tst-quadmod2.
2310 ($(objpfx)tst-quad1): New dependency.
2311 ($(objpfx)tst-quad2): Likewise.
2312 ($(objpfx)tst-quad1pie): Likewise.
2313 ($(objpfx)tst-quad2pie): Likewise.
2314 * sysdeps/x86_64/tst-quad1.c: New file.
2315 * sysdeps/x86_64/tst-quad1pie.c: New file.
2316 * sysdeps/x86_64/tst-quad2.c: Likewise.
2317 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2318 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2319 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2320 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2321 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2322
f34d6f84
ST
23232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2324
f42d41d1
ST
2325 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2326 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2327 * streams/stropts.h (t_scalar_t): Define type.
2328
3c3571fc
ST
2329 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2330 (_PATH_PRESERVE): Set to "/var/lib".
2331 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2332
61f06bd3
ST
2333 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2334 instead of int.
2335
918d4d71
ST
2336 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2337 if __dir_mkfile succeeded.
2338
f34d6f84
ST
2339 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2340 checking for _hurd_dtablesize. Unlock it right after having
2341 finished _hurd_dtable allocation.
2342
10589b4a
TS
23432012-05-10 Thomas Schwinge <thomas@schwinge.name>
2344
674cdbc7
TS
2345 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2346 * sysdeps/mach/hurd/configure: Regenerated.
2347 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2348 special-casing to...
2349 * sysdeps/gnu/configure.in: ... this new file.
2350 * sysdeps/unix/sysv/linux/configure: Regenerated.
2351 * sysdeps/gnu/configure: New generated file.
2352
8e41b99f
TS
2353 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2354 for Linux: use nsec instead of usec, as well as:
2355 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2356 members of type struct timespec.
2357 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2358 New macros.
2359 (struct stat64): Likewise.
2360 (_STATBUF_ST_NSEC): New macro.
2361 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2362
10589b4a
TS
2363 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2364 __strtoul_internal rather than strtoul.
2365
63643c85
PT
23662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2367
2368 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2369 and reject them.
2370
3faebe6a
ST
23712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2372
2373 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2374 which preserves existing values.
2375 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2376
c6474b07
PT
23772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2378
2379 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2380 TIMEOUT values. Return EINVAL for NFDS values either negative or
2381 greater than FD_SETSIZE.
2382
1043890b
ST
23832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2384
2385 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2386 allocated, call __vm_protect to finish enabling the existing space, and
2387 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2388 allocate the remainder.
2389
37ed8b9b
PT
23902012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2391
2392 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2393 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2394
db653660
ST
23952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2396
37ed8b9b
PT
2397 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2398 sysdeps/mach/hurd/readlink.c.
b29d4053 2399
db653660
ST
2400 * posix/tst-sysconf.c (posix_options): Only use
2401 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2402 _POSIX_SYNCHRONIZED_IO when they are defined
2403 * sysdeps/mach/hurd/bits/posix_opt.h:
2404 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2405 (_XOPEN_REALTIME): Undefine macro.
2406 (_XOPEN_REALTIME_THREADS): Undefine macro.
2407 (_XOPEN_SHM): Undefine macro.
2408 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2409 macro to -1.
2410 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2411 macro to -1.
2412 (_POSIX_ASYNC_IO): Undefine macro.
2413 (_POSIX_PRIORITIZED_IO): Undefine macro.
2414 (_POSIX_SPIN_LOCKS): Define macro to -1.
2415
ee16e894
ST
2416 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2417 SA_NODEFER, SA_RESETHAND.
2418 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2419 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2420 F_DUPFD_CLOEXEC.
2421
6103ae3b
TS
24222012-05-10 Thomas Schwinge <thomas@schwinge.name>
2423
2424 * elf/Makefile (pldd-modules): Define unconditionally.
2425
80b4e5f3
TS
24262012-05-10 Thomas Schwinge <thomas@schwinge.name>
2427
2428 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2429
edadcbd6
ST
24302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2431
2432 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2433 Return ENOENT when name is empty.
2434 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2435
80694780
TS
24362012-05-10 Thomas Schwinge <thomas@schwinge.name>
2437
1792c087
TS
2438 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2439
80694780
TS
2440 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2441
6b645f0d
ST
24422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2443
80694780
TS
2444 Fix mlock in all cases except non-readable pages.
2445 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2446 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2447
6b645f0d
ST
2448 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2449 (__mkdir): When path is `/', just fail with EEXIST.
2450 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2451
e468f8a3
TS
24522012-05-10 Thomas Schwinge <thomas@schwinge.name>
2453
2454 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2455 <sys/uio.h> (for writev).
2456 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2457 and <sys/param.h> (for MIN).
2458
a4186cff
PT
24592012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2460
2461 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2462 REQUESTED_TIME. Properly set the remaining time and return EINTR
2463 if interrupted.
2464
510bbf14
TS
24652012-05-10 Thomas Schwinge <thomas@schwinge.name>
2466
2467 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2468 Depend on against $(link-rpcuserlibs).
2469
5d5722e8
ST
24702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2471
a4186cff
PT
2472 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2473 (__libc_stack_end): Do not use attribute_relro.
2474 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2475 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 2476 to libthread-provided value.
a4186cff
PT
2477 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2478 attribute_relro.
5d5722e8 2479
37233df9
TS
24802012-05-10 Thomas Schwinge <thomas@schwinge.name>
2481
be971a2b
TS
2482 [BZ #3748]
2483 * bits/libc-lock.h (__libc_once_get): New macro.
2484 * sysdeps/mach/bits/libc-lock.h: Likewise.
2485 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2486 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2487 instead of using implementation details.
2488
37233df9
TS
2489 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2490 * libio/freopen.c: Likewise.
2491 * libio/freopen64.c: Likewise.
2492 * misc/syslog.c: Likewise.
2493 * nscd/connections.c: Likewise.
2494 * nscd/netgroupcache.c: Likewise.
2495 * sysdeps/posix/getcwd.c: Likewise.
2496
38de94a5
RM
24972012-05-10 Roland McGrath <roland@hack.frob.com>
2498
2499 * math/w_ilogbf.c: Add #include <limits.h>.
2500
67530489
ST
25012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2502
a4186cff 2503 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
2504 path instead of returning without unlocking.
2505
67530489
ST
2506 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2507 immediate-write ioctls.
2508 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2509
5aa3a74a
TS
25102012-05-10 Thomas Schwinge <thomas@schwinge.name>
2511
18bad2ae
TS
2512 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2513 __builtin_frame_address instead of making assumptions about the
2514 location of the return address relative to DATA. Force early load of
2515 the return address.
2516 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2517 __builtin_frame_address.
2518
5aa3a74a
TS
2519 dup3 for GNU Hurd.
2520 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2521 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2522 implement dup3 and do some further code clean-ups.
2523 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2524 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2525
ecd0de9a
ST
25262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2527
cd9fa985
ST
2528 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2529
a4186cff
PT
2530 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2531 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2532 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2533 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2534 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2535 d->port.lock.
802ca5a5 2536
a4186cff
PT
2537 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2538 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2539 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 2540
bcf55240
TS
25412012-05-10 Thomas Schwinge <thomas@schwinge.name>
2542
6960eb42
TS
2543 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2544 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2545 definitions.
2546
eb43375f
TS
2547 accept4 for GNU Hurd.
2548 * include/sys/socket.h (__libc_accept4): New prototype.
2549 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2550 to implement __libc_accept4.
2551 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2552 __libc_accept4.
2553 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2554
bcf55240
TS
2555 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2556 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2557 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2558 signal-defines.sym.
2559
6178c55b
ST
25602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2561
a4186cff 2562 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 2563
6f080c2f
TS
25642012-05-10 Thomas Schwinge <thomas@schwinge.name>
2565
2566 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2567 assertion on O_CLOEXEC flag.
2568 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2569 * hurd/intern-fd.c: Likewise.
2570 * hurd/port2fd.c: Likewise.
2571
bcfe3a54
ST
25722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2573
2574 [BZ #3906]
2575 * bits/in.h (IPV6_PKTINFO): Define new macro.
2576 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2577
89c9aa49
AZ
25782012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2579
2580 [BZ #13954]
2581 [BZ #13955]
2582 [BZ #13956]
2583 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2584 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2585 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2586 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2587 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2588 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2589 * math/libm-test.inc (logb_test) : Additional logb tests.
2590
021db4be
AJ
25912012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2592 Andreas Jaeger <aj@suse.de>
2593
2594 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2595 * configure: Regenerated.
2596 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2597 * config.make.in (link-obsolete-rpc): New substituted variable.
2598 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2599 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2600 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2601 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2602 so that libc.a contains the symbols.
2603 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2604 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2605 * sunrpc/auth_none.c: Likewise.
2606 * sunrpc/auth_unix.c: Likewise.
2607 * sunrpc/authdes_prot.c: Likewise.
2608 * sunrpc/authuxprot.c: Likewise.
2609 * sunrpc/clnt_gen.c: Likewise.
2610 * sunrpc/clnt_perr.c: Likewise.
2611 * sunrpc/clnt_raw.c: Likewise.
2612 * sunrpc/clnt_simp.c: Likewise.
2613 * sunrpc/clnt_tcp.c: Likewise.
2614 * sunrpc/clnt_udp.c: Likewise.
2615 * sunrpc/clnt_unix.c: Likewise.
2616 * sunrpc/des_crypt.c: Likewise.
2617 * sunrpc/des_soft.c: Likewise.
2618 * sunrpc/get_myaddr.c: Likewise.
2619 * sunrpc/key_call.c: Likewise.
2620 * sunrpc/key_prot.c: Likewise.
2621 * sunrpc/netname.c: Likewise.
2622 * sunrpc/pm_getmaps.c: Likewise.
2623 * sunrpc/pm_getport.c: Likewise.
2624 * sunrpc/pmap_clnt.c: Likewise.
2625 * sunrpc/pmap_prot.c: Likewise.
2626 * sunrpc/pmap_prot2.c: Likewise.
2627 * sunrpc/pmap_rmt.c: Likewise.
2628 * sunrpc/publickey.c: Likewise.
2629 * sunrpc/rpc_cmsg.c: Likewise.
2630 * sunrpc/rpc_common.c: Likewise.
2631 * sunrpc/rpc_dtable.c: Likewise.
2632 * sunrpc/rpc_prot.c: Likewise.
2633 * sunrpc/rpc_thread.c: Likewise.
2634 * sunrpc/rtime.c: Likewise.
2635 * sunrpc/svc.c: Likewise.
2636 * sunrpc/svc_auth.c: Likewise.
2637 * sunrpc/svc_raw.c: Likewise.
2638 * sunrpc/svc_run.c: Likewise.
2639 * sunrpc/svc_tcp.c: Likewise.
2640 * sunrpc/svc_udp.c: Likewise.
2641 * sunrpc/svc_unix.c: Likewise.
2642 * sunrpc/svcauth_des.c: Likewise.
2643 * sunrpc/xcrypt.c: Likewise.
2644 * sunrpc/xdr.c: Likewise.
2645 * sunrpc/xdr_array.c: Likewise.
2646 * sunrpc/xdr_float.c: Likewise.
2647 * sunrpc/xdr_intXX_t.c: Likewise.
2648 * sunrpc/xdr_mem.c: Likewise.
2649 * sunrpc/xdr_rec.c: Likewise.
2650 * sunrpc/xdr_ref.c: Likewise.
2651 * sunrpc/xdr_sizeof.c: Likewise.
2652 * sunrpc/xdr_stdio.c: Likewise.
2653
b5c086a2
RM
26542012-05-10 Roland McGrath <roland@hack.frob.com>
2655
2656 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2657 change. Update copyright years.
2658
6d74dd09
JM
26592012-05-10 Joseph Myers <joseph@codesourcery.com>
2660
2661 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2662
28e72501
MK
26632012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2664 Joseph Myers <joseph@codesourcery.com>
2665 Paul Pluzhnikov <ppluzhnikov@google.com>
2666
2667 [BZ #14012]
2668 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2669 requiring rpcgen.
2670 [cross-compiling] (extra-libs): Likewise.
2671 [cross-compiling] (extra-libs-others): Likewise.
2672 [cross-compiling] (librpcsvc-routines): Likewise.
2673 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2674 [cross-compiling] (omit-deps): Likewise.
2675 (sunrpc-CPPFLAGS): New variable.
2676 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2677 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2678 (cross-rpcgen-objs): New variable.
2679 (extra-objs): Append $(cross-rpcgen-objs).
2680 ($(cross-rpcgen-objs)): New rule.
2681 ($(objpfx)cross-rpcgen): Likewise.
2682 (rpcgen-cmd): Define to use $(built-program-file). Expand
2683 comment.
2684 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2685 ($(objpfx)x%.stmp): Likewise.
2686 * sunrpc/proto.h [IS_IN_build] (_): Define.
2687 [IS_IN_build] (_libc_intl_domainname): Likewise.
2688
c8c59454
L
26892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2690
2691 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2692 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2693 and R_X86_64_TPOFF64.
2694
6f27cd16
JM
26952012-05-10 Joseph Myers <joseph@codesourcery.com>
2696
2697 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2698 sysdeps/unix/sysv/syscalls.list.
2699 (stime): Likewise.
2700 (utime): Likewise.
2701 * sysdeps/unix/sysv/syscalls.list: Remove file.
2702
02467e1c
PE
27032012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2704
2705 [BZ #3440]
2706 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2707 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2708 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2709 (__LC_IDENTIFICATION): Make these macros useful in #if
2710 expressions, as required by C99.
2711
da392631
AS
27122012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2713
2714 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2715 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2716 after this.
2717
8115f29b
L
27182012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2719
2720 * stdlib/longlong.h: Updated from GCC.
2721
bdd74070
AJ
27222012-05-09 Andreas Jaeger <aj@suse.de>
2723
edfe0dbe
AJ
2724 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2725 default is first entry.
2726 (run_mode): Set type.
2727 (main): Remove informal message about syslog.
2728 (options): Fix typo.
2729
bcfe3a54
ST
2730 [BZ #14053]
2731 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 2732 to asm.
bcfe3a54
ST
2733 (lrint): Likewise.
2734 (llrintf): Likewise.
2735 (llrint): Likewise.
2736 (rint): Likewise.
2737 (rintf): Likewise.
2738 (nearbyint): Likewise.
2739 (nearbyintf): Likewise.
bdd74070 2740
91d8d69e
AJ
27412012-05-09 Andreas Jaeger <aj@suse.de>
2742 Pedro Alves <palves@redhat.com>
2743
2744 * nscd/nscd.c (run_mode): Use enum.
2745 (main): Cleanup coding style issue.
2746
bb90b80b
AJ
27472012-05-09 Alexandre Oliva <aoliva@redhat.com>
2748 Andreas Jaeger <aj@suse.de>
2749
bcfe3a54
ST
2750 * nscd/nscd.c (go_background): Replaced with...
2751 (run_mode): ... this.
bb90b80b 2752 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
2753 (options): Add -F --foreground.
2754 (main): Implement it.
2755 (parse_opt): Parse it.
bb90b80b 2756
1a4b75a1
AJ
27572012-05-09 Andreas Jaeger <aj@suse.de>
2758
2759 [BZ #14083]
2760 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2761 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2762 -Wconversion warning.
2763 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2764 Likewise.
2765
b1cc2472
JM
27662012-05-09 Joseph Myers <joseph@codesourcery.com>
2767
2768 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2769 == 0.
2770 (LC_ALL): Use macro-int-constant.
2771 (LC_COLLATE): Likewise.
2772 (LC_CTYPE): Likewise.
2773 (LC_MESSAGES): Likewise.
2774 (LC_MONETARY): Likewise.
2775 (LC_NUMERIC): Likewise.
2776 (LC_TIME): Likewise.
2777 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2778 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2779 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2780 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2781 Specify type.
2782 [C99-based standards] (float_t): Expect type.
2783 [C99-based standards] (double_t): Expect type.
2784 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2785 type.
2786 [C99-based standards] (HUGE_VALL): Likewise.
2787 [C99-based standards] (INFINITY): Likewise.
2788 [C99-based standards] (NAN): Likewise.
2789 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2790 [C99-based standards] (FP_NAN): Likewise.
2791 [C99-based standards] (FP_NORMAL): Likewise.
2792 [C99-based standards] (FP_SUBNORMAL): Likewise.
2793 [C99-based standards] (FP_ZERO): Likewise.
2794 [C99-based standards] (FP_FAST_FMA): Use
2795 optional-macro-int-constant. Specify type. Require == 1.
2796 [C99-based standards] (FP_FAST_FMAF): Likewise.
2797 [C99-based standards] (FP_FAST_FMAL): Likewise.
2798 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2799 [C99-based standards] (FP_ILOGBNAN): Likewise.
2800 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2801 Specify type.
2802 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2803 [C99-based standards] (math_errhandling): Specify type.
2804 [ISO99 || ISO11] (signgam): Do not allow.
2805 [non-C99-based standards] (copysignf): Do not allow.
2806 [non-C99-based standards] (exp2f): Likewise.
2807 [non-C99-based standards] (log2f): Likewise.
2808 [non-C99-based standards] (modff): Allow.
2809 [non-C99-based standards] (erff): Do not allow.
2810 [non-C99-based standards] (erfcf): Likewise.
2811 [non-C99-based standards] (gammaf): Likewise.
2812 [non-C99-based standards] (hypotf): Likewise.
2813 [non-C99-based standards] (j0f): Likewise.
2814 [non-C99-based standards] (j1f): Likewise.
2815 [non-C99-based standards] (jnf): Likewise.
2816 [non-C99-based standards] (lgammaf): Likewise.
2817 [non-C99-based standards] (tgammaf): Likewise.
2818 [non-C99-based standards] (y0f): Likewise.
2819 [non-C99-based standards] (y1f): Likewise.
2820 [non-C99-based standards] (ynf): Likewise.
2821 [non-C99-based standards] (isnanf): Likewise.
2822 [non-C99-based standards] (acoshf): Likewise.
2823 [non-C99-based standards] (asinhf): Likewise.
2824 [non-C99-based standards] (atanhf): Likewise.
2825 [non-C99-based standards] (cbrtf): Likewise.
2826 [non-C99-based standards] (expm1f): Likewise.
2827 [non-C99-based standards] (ilogbf): Likewise.
2828 [non-C99-based standards] (log1pf): Likewise.
2829 [non-C99-based standards] (logbf): Likewise.
2830 [non-C99-based standards] (nextafterf): Likewise.
2831 [non-C99-based standards] (remainderf): Likewise.
2832 [non-C99-based standards] (rintf): Likewise.
2833 [non-C99-based standards] (scalbf): Likewise.
2834 [non-C99-based standards] (copysignl): Likewise.
2835 [non-C99-based standards] (exp2l): Likewise.
2836 [non-C99-based standards] (log2l): Likewise.
2837 [non-C99-based standards] (modfl): Allow.
2838 [non-C99-based standards] (erfl): Do not allow.
2839 [non-C99-based standards] (erfcl): Likewise.
2840 [non-C99-based standards] (gammal): Likewise.
2841 [non-C99-based standards] (hypotl): Likewise.
2842 [non-C99-based standards] (j0l): Likewise.
2843 [non-C99-based standards] (j1l): Likewise.
2844 [non-C99-based standards] (jnl): Likewise.
2845 [non-C99-based standards] (lgammal): Likewise.
2846 [non-C99-based standards] (tgammal): Likewise.
2847 [non-C99-based standards] (y0l): Likewise.
2848 [non-C99-based standards] (y1l): Likewise.
2849 [non-C99-based standards] (ynl): Likewise.
2850 [non-C99-based standards] (isnanl): Likewise.
2851 [non-C99-based standards] (acoshl): Likewise.
2852 [non-C99-based standards] (asinhl): Likewise.
2853 [non-C99-based standards] (atanhl): Likewise.
2854 [non-C99-based standards] (cbrtl): Likewise.
2855 [non-C99-based standards] (expm1l): Likewise.
2856 [non-C99-based standards] (ilogbl): Likewise.
2857 [non-C99-based standards] (log1pl): Likewise.
2858 [non-C99-based standards] (logbl): Likewise.
2859 [non-C99-based standards] (nextafterl): Likewise.
2860 [non-C99-based standards] (remainderl): Likewise.
2861 [non-C99-based standards] (rintl): Likewise.
2862 [non-C99-based standards] (scalbl): Likewise.
2863 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2864 [non-C99-based standards] (FP_*): Do not allow.
2865 [C99-based standards] (FP_*): Change to
2866 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2867 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2868 allow.
2869 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2870 (SIG_ERR): Likewise.
2871 [X/Open-based standards] (SIG_HOLD): Likewise.
2872 (SIG_IGN): Likewise.
2873 (SIGABRT): Use macro-int-constant. Specify type. Require
2874 positive value.
2875 (SIGFPE): Likewise.
2876 (SIGILL): Likewise.
2877 (SIGINT): Likewise.
2878 (SIGSEGV): Likewise.
2879 (SIGTER): Likewise.
2880 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2881 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2882 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2883 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2884 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2885 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2886 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2887 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2888 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2889 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2890 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2891 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2892 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2893 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2894 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2895 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2896 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2897 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2898 [X/Open-based standards] (SIGTRAP): Likewise.
2899 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2900 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2901 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2902 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2903 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2904 allow.
2905
b9f1922d
IW
29062012-05-08 Ian Wienand <ianw@vmware.com>
2907
2908 [BZ #14080]
2909 * time/tzset.c (__tzset_parse_tz): Update default rules for
2910 daylight time changes in the Energy Policy Act of 2005.
2911
1db86e88
AJ
29122012-05-09 Andreas Jaeger <aj@suse.de>
2913
2914 [BZ #13983]
2915 * elf/ldconfig.c (parse_conf): Change string to make clear that
2916 ldconfig only issued a warning if ld.so.conf does not exist.
2917
dee4a4e3
DM
29182012-05-08 David S. Miller <davem@davemloft.net>
2919
ee0db190
DM
2920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2921 movxtod instead of popping the value on the stack.
2922
dee4a4e3
DM
2923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2924
6a43ec98
CD
29252012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2926
2927 * config.h.in: Add HAVE_ARM_PCS_VFP.
2928
05c2c961
RMG
29292012-05-08 Roland Mc Grath <roland@hack.frob.com>
2930
bcfe3a54
ST
2931 [BZ #13979]
2932 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2933 checking but the checks are disabled for any reason.
05c2c961 2934
4b30f61a
L
29352012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2936
2937 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2938 and ELF64_R_TYPE with ELFW(R_TYPE).
2939
eee2bc67
JM
29402012-05-08 Joseph Myers <joseph@codesourcery.com>
2941
7ea5391a
JM
2942 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2943 (ulimit): Likewise.
2944
eee2bc67
JM
2945 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2946 (settimeofday): Likewise.
2947
abb66a67
MF
29482012-05-08 Mike Frysinger <vapier@gentoo.org>
2949
2950 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2951 a struct th_u2 inside the union, and move tu_block/tu_code into
2952 a new th_u3 union of tu_block/tu_code inside of that. Move
2953 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
2954 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
2955 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2956 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
2957 (th_stuff): Change to th_u1.tu_stuff.
2958 (th_data): Define.
2959 (th_msg): Change to th_u1.th_u2.tu_data.
2960
7f18b530
DM
29612012-05-07 David S. Miller <davem@davemloft.net>
2962
05760585
DM
2963 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2964
7f18b530
DM
2965 [BZ #14074]
2966 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2967 (SETUP_PIC_REG): Use it.
2968 (SETUP_PIC_REG_LEAF): Use it.
2969
495fd99f
JM
29702012-05-07 Joseph Myers <joseph@codesourcery.com>
2971
2972 [BZ #13885]
2973 [BZ #13923]
2974 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2975 USE_AS_EXPM1L.
2976 (EXPL_FINITE): Likewise.
2977 (FLDLOG): Likewise.
2978 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2979 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2980 e_expl.S.
2981 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2982 USE_AS_EXPM1L.
2983 (EXPL_FINITE): Likewise.
2984 (FLDLOG): Likewise.
2985 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2986 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2987 e_expl.S.
2988 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2989 test of -max_value argument for long double.
2990 * sysdeps/i386/fpu/libm-test-ulps: Update.
2991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2992
6693d694
DM
29932012-05-06 David S. Miller <davem@davemloft.net>
2994
2995 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2996 quad soft-float symbols whose references which are compiler
2997 generated.
2998 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2999
6c23e11c
JM
30002012-05-06 Joseph Myers <joseph@codesourcery.com>
3001
d8b82cad
JM
3002 [BZ #13884]
3003 [BZ #13914]
3004 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3005 USE_AS_EXP10L.
3006 (EXPL_FINITE): Likewise.
3007 (FLDLOG): Likewise.
3008 (c0): Likewise.
3009 (c1): Likewise.
3010 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3011 Adjust comments for base varying.
3012 (__expl_finite): Change alias to EXPL_FINITE.
3013 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3014 e_expl.S.
3015 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3016 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3017 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3018 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3019 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3020 USE_AS_EXP10L.
3021 (EXPL_FINITE): Likewise.
3022 (FLDLOG): Likewise.
3023 (c0): Likewise.
3024 (c1): Likewise.
3025 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3026 Adjust comments for base varying.
3027 (__expl_finite): Change alias to EXPL_FINITE.
3028 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3029 tests for bugs.
3030 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3031
6c23e11c
JM
3032 [BZ #14064]
3033 * math/libm-test.inc (check_float_internal): Correct ulp
3034 calculation for subnormal expected results.
3035
29ba805c
AJ
30362012-05-06 Andreas Jaeger <aj@suse.de>
3037
3038 * Makeconfig (+math-flags): New, set to -frounding-math.
3039 (+cflags): Add +math-flags so that all of glibc gets compiled with
3040 it.
3041
3042 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3043
7b17aeda
JM
30442012-05-05 Joseph Myers <joseph@codesourcery.com>
3045
5779f134
JM
3046 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3047 Disable one test.
3048
41498f4d
JM
3049 [BZ #13787]
3050 [BZ #13922]
3051 [BZ #14036]
3052 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3053 (__ieee754_expl): Allow for and saturate large arguments.
3054 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3055 (u_threshold): Likewise.
3056 (__exp): Call __ieee754_exp before checking for overflow and
3057 underflow.
3058 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3059 (u_threshold): Likewise.
3060 (__expf): Call __ieee754_expf before checking for overflow and
3061 underflow.
3062 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3063 (u_threshold): Likewise.
3064 (__expl): Call __ieee754_expl before checking for overflow and
3065 underflow.
3066 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3067 (__ieee754_expl): Allow for and saturate large arguments.
3068 * math/libm-test.inc (exp_test): Add another test. Do not allow
3069 missing overflow exception on overflow.
3070 (expm1_test): Do not allow missing overflow exception on overflow.
3071
6698b8bf
JM
3072 * sysdeps/i386/fpu/e_expl.c: Move to ...
3073 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3074 rather than using inline asm.
3075 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3076 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3077 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3078
7b17aeda
JM
3079 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3080 (nice): Likewise.
3081 (poll): Likewise.
3082 (signal): Likewise.
3083 (time): Likewise.
3084 (times): Likewise.
3085
f7c85819
JM
30862012-05-04 Joseph Myers <joseph@codesourcery.com>
3087
3088 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3089 sysdeps/unix/common/syscalls.list.
3090 (fchmod): Likewise.
3091 (fchown): Likewise.
3092 (ftruncate): Likewise.
3093 (getrusage): Likewise.
3094 (gettimeofday): Likewise.
3095 (setpgid): Likewise.
3096 (setregid): Likewise.
3097 (setreuid): Likewise.
3098 (sigaction): Likewise.
3099 (truncate): Likewise.
3100 (vhangup): Likewise.
3101 * sysdeps/unix/common/syscalls.list: Remove file.
3102 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3103 * sysdeps/unix/sysv/linux/Implies: Likewise.
3104
336270d0
L
31052012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3106
3107 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3108 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3109 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3110 Moved to ...
3111 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3112 Here.
3113 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3114 to ...
3115 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3116 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3117 to ...
3118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3119 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3120 to ...
3121 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3122 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3123 to ...
3124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3125 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3126 to ...
3127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3128 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3129 to ...
3130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3131 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3132 to ...
3133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3134 Here.
3135 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3136 to ...
3137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3138 Here.
3139 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3140 to ...
3141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3142 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3143 Moved to ...
3144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3145 Here.
3146 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3147 to ...
3148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3149
d128e450
JM
31502012-05-04 Joseph Myers <joseph@codesourcery.com>
3151
fa8ee516
JM
3152 * sysdeps/unix/common/bits/dirent.h: Remove file.
3153 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3154
d128e450
JM
3155 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3156 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3157 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3158 * sysdeps/unix/bsd/isatty.c: Likewise.
3159 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3160 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3161 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3162
ff8faaf0 31632012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3164
62881be4 3165 [BZ #13563]
31dc8730
AZ
3166 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3167 long double comparison inaccuracies.
3168 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3170
6fef930c
AS
31712012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3172
3173 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3174 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3175
8f203e6c
JM
31762012-05-04 Joseph Myers <joseph@codesourcery.com>
3177
3178 [BZ #14049]
3179 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3180 nonzero digits before rounding a hex value.
3181 * stdlib/tst-strtod.c (tests): Add another test.
3182
5197d9c2
AK
31832012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3184
3185 * sysdeps/s390/fpu/libm-test-ulps: Update.
3186
f0c1dedf
AJ
31872012-05-03 Andreas Jaeger <aj@suse.de>
3188
3189 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3190 does not get optimized out.
3191 (malloc_opt_barrier): New.
3192
a65ef2ae 31932012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3194 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3195
2b942cb7 3196 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3197 intermediate file deletion.
2b942cb7 3198 (generated): Add .symlist files.
a65ef2ae 3199
54b71e02
JM
32002012-05-03 Joseph Myers <joseph@codesourcery.com>
3201
3202 [BZ #13775]
3203 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3204 Redirect under this condition.
3205 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3206 [__USE_GNU] (__dprintf_chk): Not under this condition.
3207 [__USE_GNU] (__vdprintf_chk): Likewise.
3208 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3209 under this condition.
3210 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3211 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3212 [__USE_XOPEN2K8] (vdprintf): Likewise.
3213 [__USE_GNU] (__dprintf_chk): Not under this condition.
3214 [__USE_GNU] (__vdprintf_chk): Likewise.
3215 [__USE_GNU] (dprintf): Likewise.
3216 [__USE_GNU] (vdprintf): Likewise.
3217
d3dfcc41
RM
32182012-05-03 Roland McGrath <roland@hack.frob.com>
3219
3220 * elf/Makefile (common-generated): Set this instead of generated for
3221 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3222 $(all-built-dso)-derived lists.
3223
7ac30cc5
AJ
32242012-05-03 Andreas Jaeger <aj@suse.de>
3225
0c51e550
AJ
3226 * sysdeps/i386/fpu/libm-test-ulps: Update.
3227
7ac30cc5
AJ
3228 * FAQ: Removed.
3229 * FAQ.in: Likewise.
3230 * scripts/gen-FAQ.pl: Likewise.
3231 * manual/install.texi (Installation): Point to online location of
3232 FAQ.
3233 * Makefile (files-for-dist): Remove FAQ.
3234 (FAQ): Remove.
3235
d4c2917f
AM
32362012-05-02 Allan McRae <allan@archlinux.org>
3237
3238 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3239 (LDFLAGS-reldepmod5.so): Likewise.
3240 (LDFLAGS-reldep6mod1.so): Likewise.
3241 (LDFLAGS-reldep6mod4.so): Likewise.
3242 (LDFLAGS-reldep8mod3.so): Likewise.
3243 (LDFLAGS-unload4mod1.so): Likewise.
3244 (LDFLAGS-unload4mod2.so): Likewise.
3245 (LDFLAGS-tst-initorder): Likewise.
3246 (LDFLAGS-tst-initordera2.so): Likewise.
3247 (LDFLAGS-tst-initordera3.so): Likewise.
3248 (LDFLAGS-tst-initordera4.so): Likewise.
3249 (LDFLAGS-tst-initorderb2.so): Likewise.
3250 (LDFLAGS-noload): Likewise.
3251 (LDFLAGS-next): Likewise.
3252 (LDFLAGS-order2mod1.so): Likewise.
3253 (LDFLAGS-order2mod2.so): Likewise.
3254 (LDFLAGS-tst-initorder2): Likewise.
3255 (LDFLAGS-tst-initorder2a.so): Likewise.
3256 (LDFLAGS-tst-initorder2b.so): Likewise.
3257 (LDFLAGS-tst-initorder2c.so): Likewise.
3258 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3259
d77f993f
DM
32602012-05-02 David S. Miller <davem@davemloft.net>
3261
3262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3263
171a70b4
PP
32642012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3265
3266 [BZ #14055]
3267 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3268
0be196ad
AJ
32692012-05-02 Andreas Jaeger <aj@suse.de>
3270
3271 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3272 since we manipulate rounding mode.
3273 (CPPFLAGS-test-idouble.c): Likewise.
3274 (CPPFLAGS-test-ifloat.c): Likewise.
3275 (CFLAGS-test-ldouble.c): Likewise.
3276 (CFLAGS-test-double.c): Likewise.
3277 (CFLAGS-test-float.c): Likewise.
3278 (CFLAGS-test-misc.c): Likewise.
3279 (CFLAGS-test-test-fenv.c): Likewise.
3280
4f9d04aa
AZ
32812012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3282
2b942cb7
RM
3283 [BZ #2550]
3284 [BZ #2570]
3285 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3286 comparisons to determine direction to adjust input.
4f9d04aa 3287
82a79e7d
RM
32882012-05-01 Roland McGrath <roland@hack.frob.com>
3289
f5a01ca9
RM
3290 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3291 output to the target.
3292
90fe4186
RM
3293 * scripts/localplt.awk: New file.
3294 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3295 (check-localplt-CFLAGS): Variable removed.
3296 ($(all-built-dso:=.jmprel)): New static pattern rule.
3297 (generated): Add those targets.
3298 (localplt-built-dso): New variable.
3299 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3300
3301 * elf/check-localplt.c: File removed.
3302
82397ed6
RM
3303 * scripts/check-execstack.awk: New file.
3304 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3305 (check-execstack-CFLAGS): Variable removed.
3306 ($(objpfx)check-execstack.h): Target removed.
3307 ($(objpfx)execstack-default): New target.
3308 (generated): Add that instead of check-execstack.h.
3309 ($(all-built-dso:=.phdr)): New static pattern rule.
3310 (generated): Add those targets.
3311 * elf/check-execstack.c: File removed.
3312
82a79e7d
RM
3313 * scripts/check-textrel.awk: New file.
3314 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3315 (check-textrel-CFLAGS): Variable removed.
3316 (all-built-dso): Use := to define.o
3317 ($(all-built-dso:=.dyn)): New static pattern rule.
3318 (generated): Add those targets.
3319 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3320 * config.make.in (READELF): New substituted variable.
3321 * elf/check-textrel.c: File removed.
3322
62fde54f 33232012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3324
615605c9
JM
3325 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3326 allow.
3327 * conform/data/ctype.h-data [C99-based standards] (isblank):
3328 Expect function.
3329 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3330 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3331 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3332 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3333 Specify type. Require positive value.
3334 (EILSEQ): Likewise.
3335 (ERANGE): Likewise.
3336 [ISO || POSIX] (EILSEQ): Do not expect.
3337 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3338 Specify type. Require positive value.
3339 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3340 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3341 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3342 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3343 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3344 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3345 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3346 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3347 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3348 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3349 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3350 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3351 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3352 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3353 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3354 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3355 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3356 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3357 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3358 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3359 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3360 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3361 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3362 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3363 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3364 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3365 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3366 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3367 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3368 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3369 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3370 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3371 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3372 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3373 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3374 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3375 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3376 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3377 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3378 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3379 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3380 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3381 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3382 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3383 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3384 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3385 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3386 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3387 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3388 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3389 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3390 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3391 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3392 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3393 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3394 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3395 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3396 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3397 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3398 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3399 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3400 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3401 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3402 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3403 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3404 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3405 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3406 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3407 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3408 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3409 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3410 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3411 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3412 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3413 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3414 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3415 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3416 Require >= 2.
3417 (FLT_ROUNDS): Expect as macro, not constant.
3418 (FLT_MANT_DIG): Use macro-int-constant.
3419 (DBL_MANT_DIG): Likewise.
3420 (LDBL_MANT_DIG): Likewise.
3421 (FLT_DIG): Likewise.
3422 (DBL_DIG): Likewise.
3423 (LDBL_DIG): Likewise.
3424 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3425 (DBL_MIN_EXP): Likewise.
3426 (LDBL_MIN_EXP): Likewise.
3427 (FLT_MAX_EXP): Use macro-int-constant.
3428 (DBL_MAX_EXP): Likewise.
3429 (LDBL_MAX_EXP): Likewise.
3430 (FLT_MAX_10_EXP): Likewise.
3431 (DBL_MAX_10_EXP): Likewise.
3432 (LDBL_MAX_10_EXP): Likewise.
3433 (FLT_MAX): Use macro-constant.
3434 (DBL_MAX): Likewise.
3435 (LDBL_MAX): Likewise.
3436 (FLT_EPSILON): Use macro-constant. Give upper bound.
3437 (DBL_EPSILON): Likewise.
3438 (LDBL_EPSILON): Likewise.
3439 (FLT_MIN): Likewise.
3440 (DBL_MIN): Likewise.
3441 (LDBL_MIN): Likewise.
3442 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3443 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3444 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3445 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3446 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3447 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3448 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3449 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3450 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3451 [ISO11] (FLT_TRUE_MIN): Likewise.
3452 [ISO11] (LDBL_TRUE_MIN): Likewise.
3453 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3454 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3455 (SCHAR_MIN): Use macro-int-constant. Specify type.
3456 (SCHAR_MAX): Likewise.
3457 (UCHAR_MAX): Likewise.
3458 (CHAR_MIN): Likewise.
3459 (CHAR_MAX): Likewise.
3460 (MB_LEN_MAX): Use macro-int-constant.
3461 (SHRT_MIN): Use macro-int-constant. Specify type.
3462 (SHRT_MAX): Likewise.
3463 (USHRT_MAX): Likewise.
3464 (INT_MAX): Likewise.
3465 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3466 bound negative.
3467 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3468 bound with "U".
3469 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3470 bound with "L".
3471 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3472 bound negative. Suffix upper bound with "L".
3473 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3474 bound with "UL".
3475 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3476 Specify type.
3477 [C99-based standards] (LLONG_MAX): Likewise.
3478 [C99-based standards] (ULLONG_MAX): Likewise.
3479 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3480 == 0.
3481 [ISO11] (max_align_t): Require type.
3482 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3483
c9140a62
JM
3484 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3485 from $CFLAGS, without defining away __attribute__ calls.
3486 (checknamespace): Use $CFLAGS_namespace.
3487
9af0bf29
JM
3488 * conform/conformtest.pl (@keywords): Only include C99 keywords
3489 for standards based on C99 or C11.
3490
343222a2
JM
3491 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3492 Disable tests.
3493 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3494 UNIX98]: Likewise.
3495
661f8cf0
JM
3496 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3497 usability of symbols in #if.
3498
ee74b9cb
JM
3499 * conform/conformtest.pl: If macro or constant types start
3500 "promoted:", expect the symbol to be of the following type
3501 promoted by the integer promotions.
62fde54f 3502
aafc49b3
JM
3503 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3504 in one place. Also handle "macro-constant".
3505
fefdf574
JM
3506 * conform/conformtest.pl: Only accept expected macro values with
3507 "==". Parse all "macro" lines in one place.
3508 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3509
f2d922fe
JM
3510 * conform/conformtest.pl: Handle braced types on "constant" lines
3511 instead of handling "typed-constant".
3512 * conform/data/signal.h-data: Use "constant" instead of
3513 "typed-constant".
3514
d22956c9
JM
3515 * conform/conformtest.pl: Handle "optional-" at start of lines in
3516 one place rather than duplicating several cases. Handle each
3517 format of "macro" line with initial "optional-".
3518
028e2e38
JM
3519 * conform/conformtest.pl: Only accept expected constant or
3520 optional-constant values with "==". Parse all "constant" lines in
3521 one place. Parse all "optional-constant" lines in one place.
3522 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3523 * conform/data/fmtmsg.h-data: Likewise.
3524 * conform/data/netinet/in.h-data: Likewise.
3525 * conform/data/tar.h-data: Likewise.
3526 * conform/data/limits.h-data: Use "==" form on "constant" and
3527 "optional-constant" lines.
3528
1b8f2850
JM
3529 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3530 Use -std=c99 for XOPEN2K.
3531 (@knownproblems): Remove.
3532 (newtoken): Don't check %isknown.
3533
a05a144b
JM
3534 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3535 Do not expect macro.
3536 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3537 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3538 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3539 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3540 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3541 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3542 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3543 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3544 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3545 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3546 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3547 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3548 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3549 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3550 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3551 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3552 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3553 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3554 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3555 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3556 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3557 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3558 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3559 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3560 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3561 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3562 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3563 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3564 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3565 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3566 [XPG3] (acosh): Likewise.
3567 [XPG3] (asinh): Likewise.
3568 [XPG3] (atanh): Likewise.
3569 [XPG3] (cbrt): Likewise.
3570 [XPG3] (expm1): Likewise.
3571 [XPG3] (ilogb): Likewise.
3572 [XPG3] (log1p): Likewise.
3573 [XPG3] (logb): Likewise.
3574 [XPG3] (nextafter): Likewise.
3575 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3576 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3577 [XPG3] (remainder): Likewise.
3578 [XPG3] (rint): Likewise.
3579 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3580 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3581 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3582 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3583 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3584 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3585 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3586 [UNIX98 || XOPEN2K] (scalb): Expect.
3587 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3588 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3589 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3590 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3591 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3592 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3593 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3594 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3595 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3596 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3597 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3598 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3599 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3600 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3601 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3602 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3603 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3604 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3605 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3606 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3607 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3608 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3609 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3610 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3611 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3612 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3613 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3614 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3615 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3616 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3617 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3618 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3619 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3620 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3621 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3622 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3623 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3624 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3625 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3626 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3627 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3628 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3629 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3630 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3631 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3632 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3633 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3634 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3635 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3636 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3637 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3638 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3639 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3640 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3641 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3642 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3643 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3644 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3645 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3646 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3647 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3648 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3649 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3650 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3651 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3652 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3653 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3654 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3655 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3656 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3657 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3658 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3659 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3660 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3661 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3662 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3663 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3664 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3665 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3666 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3667 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3668 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3669 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3670 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3671 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3672 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3673 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3674 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3675 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3676 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3677 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3678 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3679 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3680 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3681 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3682 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3683 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3684 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3685 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3686 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3687 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3688 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3689 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3690 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3691 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3692 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3693 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3694 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3695 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3696 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3697 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3698 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3699 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3700 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3701 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3702 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3703 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3704 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3705 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3706 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3707 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3708 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3709 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3710 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3711 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3712 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3713 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3714 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3715 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3716 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3717 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3718 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3719 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3720 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3721 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3722 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3723 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3724
73c5ebe3
JM
3725 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3726 _XOPEN_SOURCE_EXTENDED for XPG4.
3727
39c33b6c
JM
3728 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3729
62fde54f
JM
3730 * Makeconfig (localtime): Remove variable.
3731 (inst_localtime-file): Likewise.
3732
0741d64c
AS
37332012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3734
3735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3736 Update.
3737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3738 Update.
3739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3740 Update.
3741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3742 Update.
3743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3744 Update.
3745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3746 Update.
3747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3748 Update.
3749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3750 Update.
3751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3752 Update.
3753
7cb029ee
JM
37542012-05-01 Joseph Myers <joseph@codesourcery.com>
3755
3756 [BZ #2550]
3757 [BZ #2570]
3758 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3759 comparisons to determine direction to adjust input.
3760 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3761 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3762 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3763 Likewise.
3764 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3765 Likewise.
3766 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3767 Likewise.
3768 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3769 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3770 Likewise.
3771 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3772 Likewise.
3773 * math/libm-test.inc (nexttoward_test): Add more tests.
3774
412bd966
AS
37752012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3776
3777 [BZ #14040]
3778 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3779 in version GLIBC_2.1, not GLIBC_2.0.
3780 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3781 Likewise.
3782
9568c0c2
JM
37832012-04-30 Joseph Myers <joseph@codesourcery.com>
3784
adfbc8ac
JM
3785 [BZ #13942]
3786 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3787 (1 - x) * (1 + x).
3788 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3789 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3790 * math/libm-test.inc (acos_test): Add more tests.
3791 (asin_test): Likewise.
3792 * sysdeps/i386/fpu/libm-test-ulps: Update.
3793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3794
5ba3cc69
JM
3795 [BZ #14034]
3796 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3797 of square root.
3798 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3799 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3800 * math/libm-test.inc (acos_test_tonearest): New function.
3801 (acos_test_towardzero): Likewise.
3802 (acos_test_downward): Likewise.
3803 (acos_test_upward): Likewise.
3804 (asin_test_tonearest): Likewise.
3805 (asin_test_towardzero): Likewise.
3806 (asin_test_downward): Likewise.
3807 (asin_test_upward): Likewise.
3808 (main): Call the new functions.
3809 * sysdeps/i386/fpu/libm-test-ulps: Update.
3810 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3811
9568c0c2
JM
3812 [BZ #13884]
3813 [BZ #13924]
3814 * math/e_exp10.c: Include <float.h>.
3815 (__ieee754_exp10): Handle underflow here rather than multiplying
3816 large negative argument by M_LN10.
3817 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3818 of __ieee754_expf.
3819 * math/e_exp10l.c: Include <float.h>.
3820 (__ieee754_exp10l): Handle underflow here rather than multiplying
3821 large negative argument by M_LN10l.
3822 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3823 spurious overflow exception on underflow.
3824
5ac3ea17
MP
38252012-04-29 Marek Polacek <polacek@redhat.com>
3826
3827 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3828 (__fortify_function): New macro.
3829 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3830 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3831 __extern_always_inline.
3832 * libio/bits/stdio2.h: Likewise.
3833 * libio/bits/stdio.h: Likewise.
3834 * string/string.h: Likewise.
3835 * string/bits/string3.h: Likewise.
3836 * include/stdio.h: Likewise.
3837 * stdlib/bits/stdlib.h: Likewise.
3838 * stdlib/stdlib.h: Likewise.
3839 * rt/bits/mqueue2.h: Likewise.
3840 * rt/mqueue.h: Likewise.
3841 * posix/bits/unistd.h: Likewise.
3842 * posix/unistd.h: Likewise.
3843 * io/bits/poll2.h: Likewise.
3844 * io/bits/fcntl2.h: Likewise.
3845 * io/fcntl.h: Likewise.
3846 * io/sys/poll.h: Likewise.
3847 * misc/bits/syslog.h: Likewise.
3848 * misc/bits/syslog-ldbl.h: Likewise.
3849 * misc/sys/syslog.h: Likewise.
3850 * socket/bits/socket2.h: Likewise.
3851 * socket/sys/socket.h: Likewise.
3852 * debug/tst-chk1.c: Likewise.
3853 * wcsmbs/bits/wchar2.h: Likewise.
3854 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3855 * wcsmbs/wchar.h: Likewise.
3856
ecf0ebfb
AJ
38572012-04-29 Andreas Jaeger <aj@suse.de>
3858
3859 * Makerules (tests): Remove enable-check-abi protection.
3860 (check-abi-warn): Remove.
3861 (check-abi-%): Remove check-abi-warn usage.
3862
3863 * configure.in: Remove check-abi configure option.
3864 * configure: Regenerated.
3865 * config.make.in (enable-check-abi): Remove.
3866
6d5c57fa
AS
38672012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3868
24c5d07e 3869 [BZ #14033]
ded5180a
AS
3870 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3871 double functions to double *_finite functions.
3872
7e0d315d
AS
3873 [BZ #13941]
3874 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3875 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3876 LDBL_MIN_EXP.
3877 * stdio-common/Makefile (tests): Add tst-sprintf3.
3878 * stdio-common/tst-sprintf3.c: New file.
3879
6d5c57fa
AS
3880 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3881 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3882
0749ff8b
JM
38832012-04-28 Joseph Myers <joseph@codesourcery.com>
3884
3885 * conform/conformtest.pl: Remove duplicate typed-constant
3886 handling.
3887
8dbd5d7b
DM
38882012-04-28 David S. Miller <davem@davemloft.net>
3889
3890 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3891 (check-abi-%): Remove AWK script prerequisite and explicit
3892 abilist directory.
3893 (check-abi): Rewrite to just diff the symlist with the abilist.
3894 (config-tls, config-abi-config): Delete, no longer used.
3895 (update-abi-%): Remove AWK script and explicit abilist directory.
3896 (update-abi): Rewrite to simply compare and conditionally copy the
3897 symlist and the sysdep abilist file. Remove update-abi-config
3898 checks.
3899 * abilist/ld.abilist: Remove.
3900 * abilist/libBrokenLocale.abilist: Remove.
3901 * abilist/libanl.abilist: Remove.
3902 * abilist/libcrypt.abilist: Remove.
3903 * abilist/libdl.abilist: Remove.
3904 * abilist/librt.abilist: Remove.
3905 * abilist/libthread_db.abilist: Remove.
3906 * abilist/libutil.abilist: Remove.
3907 * scripts/extract-abilist.awk: Remove.
3908 * scripts/merge-abilist.awk: Remove.
3909 * sysdeps/generic/libcidn.abilist: New file.
3910 * sysdeps/generic/libnss_compat.abilist: New file.
3911 * sysdeps/generic/libnss_db.abilist: New file.
3912 * sysdeps/generic/libnss_dns.abilist: New file.
3913 * sysdeps/generic/libnss_files.abilist: New file.
3914 * sysdeps/generic/libnss_hesiod.abilist: New file.
3915 * sysdeps/generic/libnss_nis.abilist: New file.
3916 * sysdeps/generic/libnss_nisplus.abilist: New file.
3917 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3918 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3919 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3920 file.
3921 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3922 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3923 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3924 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3925 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3926 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3927 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3928 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3929 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3930 file.
3931 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3932 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3933 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3934 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3935 file.
3936 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3937 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3938 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3939 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3940 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3941 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3942 file.
3943 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3944 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3945 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3946 file.
3947 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3948 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3949 New file.
3950 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3951 New file.
3952 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3953 New file.
3954 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3955 New file.
3956 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
3957 New file.
3958 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
3959 New file.
3960 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
3961 New file.
3962 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3963 New file.
3964 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3965 New file.
3966 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3967 New file.
3968 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3969 New file.
3970 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3971 New file.
3972 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3973 New file.
3974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3975 file.
3976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3977 New file.
3978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3979 New file.
3980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3981 file.
3982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3983 New file.
3984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3985 New file.
3986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3987 file.
3988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3989 New file.
3990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3991 New file.
3992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3993 New file.
3994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3995 New file.
3996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3997 New file.
3998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3999 New file.
4000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4002 file.
4003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4004 New file.
4005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4006 file.
4007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4008 file.
4009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4010 file.
4011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4012 file.
4013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4014 file.
4015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4016 New file.
4017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4018 file.
4019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4020 file.
4021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4022 New file.
4023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4024 file.
4025 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4027 file.
4028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4029 New file.
4030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4031 file.
4032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4033 file.
4034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4035 file.
4036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4037 file.
4038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4039 file.
4040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4041 New file.
4042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4043 file.
4044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4045 file.
4046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4047 New file.
4048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4049 file.
4050 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4051 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4052 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4053 file.
4054 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4055 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4056 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4057 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4058 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4059 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4060 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4061 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4062 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4063 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4064 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4066 file.
4067 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4068 New file.
4069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4070 file.
4071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4072 file.
4073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4074 file.
4075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4076 file.
4077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4078 file.
4079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4080 New file.
4081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4082 New file.
4083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4084 file.
4085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4086 New file.
4087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4088 file.
4089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4091 file.
4092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4093 New file.
4094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4095 file.
4096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4097 file.
4098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4099 file.
4100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4101 file.
4102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4103 file.
4104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4105 New file.
4106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4107 New file.
4108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4109 file.
4110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4111 New file.
4112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4113 file.
4114
41d73a1b
JM
41152012-04-28 Joseph Myers <joseph@codesourcery.com>
4116
4117 * conform/conformtest.pl: Fix typo in handling typed-constant from
4118 allow-header.
4119
28aeeda4
JM
41202012-04-27 Joseph Myers <joseph@codesourcery.com>
4121
adae8f5e
JM
4122 * README: Cut down references to pre-2.6 Linux kernels and
4123 Linuxthreads. Update lists of configurations in libc and ports
4124 and sort alphabetically. Say "or newer" with Linux kernel version
4125 requirements.
4126
28aeeda4
JM
4127 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4128
a462cb63
RA
41292012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4130
4131 [BZ #887]
4132 * math/libm-test.inc (logb_test_downward): New test to expose
4133 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4134 rounding mode.
4135
6ad3493e
JM
41362012-04-27 Joseph Myers <joseph@codesourcery.com>
4137
4138 [BZ #14027]
4139 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4140 to be done.
4141 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4142 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4143
2ce4f015
JM
41442012-04-26 Joseph Myers <joseph@codesourcery.com>
4145
5aeb141a
JM
4146 * sysdeps/unix/i386/brk.S: Remove file.
4147 * sysdeps/unix/i386/dl-brk.S: Likewise.
4148 * sysdeps/unix/i386/pipe.S: Likewise.
4149 * sysdeps/unix/i386/sigreturn.S: Likewise.
4150 * sysdeps/unix/i386/syscall.S: Likewise.
4151 * sysdeps/unix/i386/vfork.S: Likewise.
4152 * sysdeps/unix/i386/wait.S: Likewise.
4153
7143acae
JM
4154 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4155 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4156
2ce4f015
JM
4157 * configure.in (arm*-none*): Do not allow without
4158 --enable-hacker-mode.
4159 (netbsd*): Remove case setting base_os.
4160 (386bsd*): Likewise.
4161 (freebsd*): Likewise.
4162 (bsdi*): Likewise.
4163 (osf*): Likewise.
4164 (sunos*): Likewise.
4165 (ultrix*): Likewise.
4166 (newsos*): Likewise.
4167 (dynix*): Likewise.
4168 (*bsd*): Likewise.
4169 (sysv*): Likewise.
4170 (isc*): Likewise.
4171 (esix*): Likewise.
4172 (sco*): Likewise.
4173 (minix*): Likewise.
4174 (irix4*): Likewise.
4175 (irix6*): Likewise.
4176 (solaris[2-9]*): Likewise.
4177 (none): Likewise.
4178 * configure: Regenerated.
4179
0ac229c8
AZ
41802012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4181
4182 [BZ #11521]
4183 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4184 overflow or cancellation in calculating denominator.
4185 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4186 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4187 down expression to avoid unexpected rounding in newer GCCs.
4188 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4189
33f244f4
DM
41902012-04-26 David S. Miller <davem@davemloft.net>
4191
4192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4193 long-double compat symbols.
4194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4207
cfa1f3e8
DM
42082012-04-25 David S. Miller <davem@davemloft.net>
4209
4210 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4211 HWCAP_* values only after the memory barriers have been defined.
4212 (atomic_full_barrier): Define.
4213 (atomic_read_barrier): Define.
4214 (atomic_write_barrier): Define.
4215
6e236b92
SP
42162012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4217
4218 * shlib-versions: Add libgcc_s version information.
4219 * sysdeps/generic/libgcc_s.h: Remove.
4220 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4221 libgcc_s.h.
4222 * sysdeps/gnu/unwind-resume.c: Likewise.
4223 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4224
aab39a09
DM
42252012-04-25 David S. Miller <davem@davemloft.net>
4226
4227 * sysdeps/unix/sparc/brk.S: Delete.
4228 * sysdeps/unix/sparc/dl-brk.S: Delete.
4229 * sysdeps/unix/sparc/pipe.S: Delete.
4230 * sysdeps/unix/sparc/sysdep.S: Delete.
4231 * sysdeps/unix/sparc/sysdep.h: Delete.
4232 * sysdeps/unix/sparc/vfork.S: Delete.
4233 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4234 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4235 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4236 ret_ERRVAL, r0, r1, MOVE): Define.
4237 (JUMPTARGET): Remove.
4238 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4239 sysdeps/unix/sparc/sysdep.h
4240 (ENTRY, END): Remove.
4241 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4242
a3cc4f48
JM
42432012-04-25 Joseph Myers <joseph@codesourcery.com>
4244
2ed8cda2
JM
4245 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4246 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4247 -DIS_IN_build.
4248
35d76d59
JM
4249 * timezone/README: Update upstream location and email address for
4250 tzcode and tzdata.
4251 * timezone/zdump.c: Update from tzcode 2012b.
4252 * timezone/zic.c: Likewise.
4253
a3cc4f48
JM
4254 * configure.in (libc_cv_as_needed): Remove test.
4255 * configure: Regenerated.
4256 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4257 conditional definition.
4258 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4259 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4260 * config.make.in (have-as-needed): Remove variable.
4261
ceab42c3
SP
42622012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4263 Paul Pluzhnikov <ppluzhnikov@google.com>
4264
4265 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4266 strings correctly.
4267
3ce2865f
CLT
42682012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4269
4270 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4271 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4272 * sysdeps/sh/strlen.S: Likewise.
4273
f37e0d68
JM
42742012-04-24 Joseph Myers <joseph@codesourcery.com>
4275
ae186e9a
JM
4276 * sysdeps/unix/fork.S: Remove file.
4277 * sysdeps/unix/i386/fork.S: Likewise.
4278 * sysdeps/unix/sparc/fork.S: Likewise.
4279
b96914af
JM
4280 * sysdeps/unix/system.c: Remove file.
4281 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4282
f37e0d68
JM
4283 * sysdeps/unix/getegid.S: Remove file.
4284 * sysdeps/unix/geteuid.S: Likewise.
4285
87ef29ca
RM
42862012-04-24 Roland McGrath <roland@hack.frob.com>
4287
83bcd236
RM
4288 * scripts/check-localplt.awk: New file.
4289 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4290 of diff.
4291 * scripts/data/localplt-generic.data: Add a comment.
4292
87ef29ca
RM
4293 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4294 NODE when __dir_mkfile failed.
4295 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4296 Reported by Ludovic Courtès <ludo@gnu.org>.
4297
e5a6e567
AJ
42982012-04-24 Andreas Jaeger <aj@suse.de>
4299
4300 * Makerules (common-clean): Also remove gen-as-const-headers
4301 files.
4302
c1820385
JM
43032012-04-24 Joseph Myers <joseph@codesourcery.com>
4304
4305 * Makerules (native-compile): Do not change working directory for
4306 build. Use $(OUTPUT_OPTION) in command.
4307 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4308
94e02fc4
AZ
43092012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4310
4311 [BZ #13886]
4312 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4313 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4314 * math/libm-test.inc (floor_test): Add more tests.
4315 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4316
3a533ca3
JM
43172012-04-24 Joseph Myers <joseph@codesourcery.com>
4318
940ab4b3
JM
4319 * sysdeps/unix/getdents.c: Remove file.
4320 * sysdeps/unix/sysv/getdents.c: Likewise.
4321 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4322
90e037bd
JM
4323 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4324 sysdeps/unix/mman/syscalls.list.
4325 (mmap): Likewise.
4326 (mprotect): Likewise.
4327 (msync): Likewise.
4328 (munmap): Likewise.
4329 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4330 * sysdeps/unix/mman/syscalls.list: Remove.
4331 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4332
3a533ca3
JM
4333 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4334 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4335 * configure: Regenerated.
4336 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4337 $(libgcc_s_suffix).
4338 * config.make.in (libgcc_s_suffix): Remove variable.
4339
1ad743de
JM
43402012-04-23 Joseph Myers <joseph@codesourcery.com>
4341
4ad451e2
JM
4342 * sysdeps/unix/sysv/gethostname.c: Move to ...
4343 * sysdeps/posix/gethostname.c: ... here.
4344
5e37ce39
JM
4345 * sysdeps/unix/execve.S: Remove file.
4346
1ad743de
JM
4347 * sysdeps/unix/_exit.S: Remove file.
4348
4e681b5b
AJ
43492012-04-23 Andreas Jaeger <aj@suse.de>
4350
4351 [BZ #13739]
4352 * manual/Makefile: Remove make dist support, there's no
4353 need for a stand-alone documentation tar ball.
4354 (TEXI2DVI): Define always, it's not in Makeconfig.
4355 (dist): Removed.
4356 (tar-it): Removed.
4357 (edition): Removed.
4358 (glibc-doc-$(edition).tar): Removed
4359 (%.Z): Removed.
4360 (%.gz): Removed.
4361 (%.uu): Removed.
4362 (ETAGS): Remove, it's in Makeconfig.
4363 (move-if-change): Remove, it's in Makeconfig.
4364
c0baea34
PE
43652013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4366
4367 [BZ #13970]
4368 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4369 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4370 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4371 (strtod_l, strtof_l, strtold_l): Remove __wur.
4372 It is not necessarily an error to ignore strtol's return value.
4373 One can reliably look at the stored endptr to decide whether
4374 the number had valid syntax.
4375
7c0616fa
AJ
43762012-04-21 Andreas Jaeger <aj@suse.de>
4377
803cb6b7 4378 [BZ #13739]
7c0616fa
AJ
4379 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4380
b0fe253f
JM
43812012-04-21 Joseph Myers <joseph@codesourcery.com>
4382
4383 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4384 * sysdeps/unix/sysv/Versions: Remove file.
4385
8280f22d
MT
43862012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4387
4388 [BZ #13927]
4389 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4390
75ce411f 43912012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4392
4393 [BZ #7064]
4394 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4395 version from __vm86.
4396
097d59fa
JM
43972012-04-20 Joseph Myers <joseph@codesourcery.com>
4398
a90f3bcb
JM
4399 * sysdeps/unix/common/lxstat.c: Remove file.
4400 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4401
edc7ea78
JM
4402 * sysdeps/unix/sysv/Makefile: Remove file.
4403
cb78c221
JM
4404 * sysdeps/unix/sysv/direct.h: Remove file.
4405
efa6a45f
JM
4406 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4407 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4408 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4409 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4410 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4411 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4412 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4413
9c9f2d0c
JM
4414 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4415
4541c83b
JM
4416 * sysdeps/unix/xmknod.c: Remove file.
4417 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4418
f5d153a0
JM
4419 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4420
aa746595
JM
4421 * sysdeps/unix/sysv/i386/time.S: Remove file.
4422
cce5905e
JM
4423 * sysdeps/unix/fxstat.c: Remove file.
4424 * sysdeps/unix/xstat.c: Likewise.
4425 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4426
37fa3841
JM
4427 * sysdeps/unix/sysv/sigaction.c: Remove file.
4428
ff1962a3
JM
4429 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4430 (sysdep_headers): Remove variable.
4431 [termio.h not in sysdep_headers] (generated): Likewise.
4432 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4433 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4434 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4435 * sysdeps/unix/sysv/tcflow.c: Likewise.
4436 * sysdeps/unix/sysv/tcflush.c: Likewise.
4437 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4438 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4439 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4440 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4441 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4442
e7740d31
JM
4443 * sysdeps/unix/siglist.c: Remove file.
4444
ee06f18b
JM
4445 * sysdeps/unix/getppid.S: Remove file.
4446
097d59fa
JM
4447 * sysdeps/unix/mkdir.c: Remove file.
4448 * sysdeps/unix/rmdir.c: Likewise.
4449
ff3d51ec
AS
44502012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4451
4452 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4453 ERR_MAX value.
4454 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4455 errlist-compat value.
4456
50f81fd7
DM
44572012-04-18 David S. Miller <davem@davemloft.net>
4458
4459 * sysdeps/generic/memcopy.h (reg_char): Delete.
4460 * debug/strcat_chk.c: Use char, not reg_char.
4461 * debug/strcpy_chk.c: Likewise.
4462 * debug/strncat_chk.c: Likewise.
4463 * debug/strncpy_chk.c: Likewise.
4464 * string/memchr.c: Likewise.
4465 * string/memrchr.c: Likewise.
4466 * string/rawmemchr.c: Likewise.
4467 * string/strcat.c: Likewise.
4468 * string/strchr.c: Likewise.
4469 * string/strchrnul.c: Likewise.
4470 * string/strcmp.c: Likewise.
4471 * string/strcpy.c: Likewise.
4472 * string/strncat.c: Likewise.
4473 * string/strncmp.c: Likewise.
4474 * string/strncpy.c: Likewise.
4475
8ff41c46
WS
44762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4477
4478 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4479 __builtin_memcopy is called when src and dest ranges are known to not
4480 overlap.
4481
6b652f46
WS
44822012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4483
4484 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4485 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4486 fwd_align_merge macro call.
4487 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4488 bwd_align_merge macro call.
4489 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4490
b282631e
WS
44912012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4492
4493 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4494 bwd_align_merge macros.
4495 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4496 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4497 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4498
95aa737c
DM
44992012-04-18 David S. Miller <davem@davemloft.net>
4500
4501 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4502
7a99a614
AJ
45032012-04-18 Andreas Jaeger <aj@suse.de>
4504
4505 [BZ# 6794]
4506 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4507 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4508 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4509
4510 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4511 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4512 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4513
4514 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4515 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4516 Adjust for changed ldbl-128 files.
4517
4518 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4519 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4520 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4521
e5270c23
DM
45222012-04-17 David S. Miller <davem@davemloft.net>
4523
4524 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4525
fb5e92c9
AS
45262012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4527
4528 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4529 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4530 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4531 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4532 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4533 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4534
76da7265
AZ
45352012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4536
4537 [BZ #6794]
4538 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4539 * math/libm-test.inc: Add ilogb errno and exception tests.
4540 * math/w_ilogb.c: New file: ilogb wrapper.
4541 * math/w_ilogbf.c: New file: ilogbf wrapper.
4542 * math/w_ilogbl.c: New file: ilogbl wrapper.
4543 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4544 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4545 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4546 exception being thrown with 0.0 as argument.
4547 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4548 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4549 exception being thrown with 0.0 as argument.
4550 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4551 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4552 exception being thrown with 0.0 as argument.
4553 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4554 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4555 exception being thrown with 0.0 as argument.
4556 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4557 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 4558 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
4559 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4560 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4561 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4562 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4563 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4564 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4565
0396e69d
PB
45662012-04-17 Petr Baudis <pasky@ucw.cz>
4567
4568 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4569 with altivec.
4570
750b5926
MP
45712012-04-16 Marek Polacek <polacek@redhat.com>
4572
4573 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4574
751728a1
MP
45752012-04-16 Marek Polacek <polacek@redhat.com>
4576
4577 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4578 operands of fdivp instruction.
4579
34a27407
L
45802012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4581
4582 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4583 * elf/tst-auditmod3b.c: Likewise.
4584 * elf/tst-auditmod4b.c: Likewise.
4585 * elf/tst-auditmod5b.c: Likewise.
4586 * elf/tst-auditmod6b.c: Likewise.
4587 * elf/tst-auditmod6c.c: Likewise.
4588 * elf/tst-auditmod7b.c: Likewise.
4589 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4590 * sysdeps/x86_64/preconfigure.in: Likewise.
4591 * sysdeps/x86_64/preconfigure: Regenerated.
4592
7e73e17d
L
45932012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4594
4595 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4596 __ILP32__.
4597
c7a6ab72
AB
45982012-04-13 Antoine Balestrat <merkil33@gmail.com>
4599
4600 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4601 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4602
a9e8e0e0
CL
46032012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4604
4605 [BZ #13973]
4606 * locale/iso-639.def: Fix gl language name. Spotted by
4607 Yaron Shahrabani.
4608
ec98af7d
RM
46092012-04-12 Roland McGrath <roland@hack.frob.com>
4610
4611 [BZ #2074]
4612 * libio/libio.h (__io_write_fn): Update comment.
4613
247c3ede
PB
46142012-04-12 Petr Baudis <pasky@ucw.cz>
4615
4616 [BZ #2074]
4617 * stdio.texi (Hook Functions): The user provided writer function
4618 is not allowed to return -1.
4619
55939d6d
DM
46202012-04-11 David S. Miller <davem@davemloft.net>
4621
4622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4623
90020f5a
MF
46242012-04-11 Mike Frysinger <vapier@gentoo.org>
4625
4626 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4627 Add a leading slash to rtkaio.
4628
288f9098
JM
46292012-04-11 Jim Meyering <meyering@redhat.com>
4630
90020f5a
MF
4631 [BZ #11959]
4632 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4633 It is not necessarily an error to ignore fwrite's return
4634 value. One can reliably use ferror to test for errors after
4635 the fact.
288f9098 4636
4be2b570
L
46372012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4638
4639 * bits/types.h (__snseconds_t): New type.
4640 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4641
4642 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4643 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4644 (__SNSECONDS_T_TYPE): Likewise.
4645 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4646 (__SNSECONDS_T_TYPE): Likewise.
4647 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4648 (__SNSECONDS_T_TYPE): Likewise.
4649
288f9098 46502012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
4651
4652 [BZ #2636]
4653 * manual/time.texi (Processor Time): Return type of times is
4654 elapsed real time since an arbitrary point in the past.
4655 (CPU Time): Move CLK_TCK from here...
4656 (Processor Time): ...to here. Correct description.
4657 * manual/conf.texi (Constants for Sysconf): Correct description of
4658 _SC_CLK_TCK.
4659
d7dd4413
DM
46602012-04-10 David S. Miller <davem@davemloft.net>
4661
4662 [BZ #13967]
4663 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4664 where the is a gap between DT_REL(A) and DT_JMPREL.
4665
b46068fc
L
46662012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4667
4668 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4669 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4670 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4671
73d65cc3
SP
46722012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4673
4674 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4675 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4676 (dl_main): Handle --inhibit-cache.
4677 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4678 _dl_inhibit_cache.
4679 * elf/dl-load.c (_dl_map_object): Use it.
4680 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4681
bcc8d661
JM
46822012-04-09 Joseph Myers <joseph@codesourcery.com>
4683
8f9a2fae
JM
4684 [BZ #13872]
4685 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4686 (__ieee754_powl): Saturate large exponents rather than testing for
4687 overflow of y*log2(x).
4688 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4689 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4690 exceptions.
4691
bcc8d661
JM
4692 [BZ #11521]
4693 * math/s_ctan.c: Include <float.h>.
4694 (__ctan): Avoid internal overflow or cancellation in calculating
4695 denominator.
4696 * math/s_ctanf.c: Likewise.
4697 * math/s_ctanl.c: Likewise.
4698 * math/s_ctanh.c: Likewise.
4699 * math/s_ctanhf.c: Likewise.
4700 * math/s_ctanhl.c: Likewise.
4701 * math/libm-test.inc (ctan_test): Add more tests.
4702 (ctanh_test): Likewise.
4703 * sysdeps/i386/fpu/libm-test-ulps: Update.
4704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4705
823fbbb4
AJ
47062012-04-09 Andreas Jaeger <aj@suse.de>
4707
03879793
AJ
4708 [BZ #6894]
4709 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4710 is an optional BSD extension.
4711
823fbbb4
AJ
4712 [BZ #10254]
4713 * manual/stdio.texi (Opening Streams): Document additional fopen
4714 parameters.
4715
8de131cb
RM
47162012-04-09 Roland McGrath <roland@hack.frob.com>
4717
4718 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4719 %eax without telling the compiler.
4720
c0ed9d7d
CD
47212012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4722
4723 [BZ # 13963]
4724 * manual/install.texi: Use sourceware.org.
4725
c483f6b4
JM
47262012-04-09 Joseph Myers <joseph@codesourcery.com>
4727
d7dd9453
JM
4728 [BZ #13873]
4729 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4730 (__ieee754_pow): Generate overflow and underflow using huge*huge
4731 and tiny*tiny rather than just returning constant infinity or zero
4732 for large exponents.
4733 * math/libm-test.inc (pow_test): Require overflow exceptions for
4734 applicable cases of large exponents.
4735
c483f6b4
JM
4736 [BZ #706]
4737 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4738 (__ieee754_pow): Use iterative multiplication algorithm only for
4739 integer exponents with absolute value below 1024. Check for odd
4740 integer exponents when using algorithm for real exponents.
4741 * math/libm-test.inc (pow_test): Add more tests.
4742 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4743
d2de7579
JM
47442012-04-08 Joseph Myers <joseph@codesourcery.com>
4745
4746 [BZ #13705]
4747 * math/libm-test.inc (exp_test): Do not allow overflow exception
4748 on underflow test.
4749
f77f1232
AJ
47502012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4751
4752 [BZ #13705]
4753 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4754 instead of __kernel_standard_f.
4755
3884932b
MF
47562012-04-08 Mike Frysinger <vapier@gentoo.org>
4757
4758 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4759 * sysdeps/x86_64/memset_chk.S: Likewise.
4760
54472e9c
AJ
47612012-04-08 Andreas Jaeger <aj@suse.de>
4762
6ab0fbfc
AJ
4763 [BZ #10153]
4764 * manual/startup.texi (Environment Access): Describe return value
4765 for putenv and setenv.
4766
61efba8c
AJ
4767 [BZ #6895]
4768 * manual/filesys.texi (Directory Entries): Add description for
4769 DT_LNK.
4770
95c3f29a
AJ
4771 [BZ #6890]
4772 * manual/filesys.texi (Directory Entries): Clarify that it's file
4773 system not operating system in the description of DT_UNKNOWN.
4774
54472e9c
AJ
4775 [BZ #6578]
4776 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4777
624254b1
SC
47782012-04-08 Stephen Compall <s11@member.fsf.org>
4779
4780 [BZ #6649]
4781 * manual/llio.texi (Opening and Closing Files): Add cross
4782 reference to explain mode argument.
4783
1e4920e0
MF
47842012-04-07 Mike Frysinger <vapier@gentoo.org>
4785
4786 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4787 * sysdeps/x86_64/memset_chk.S: Likewise.
4788
5ed848f3
DM
47892012-04-07 David S. Miller <davem@davemloft.net>
4790
4791 * elf/elf.h (R_SPARC_WDISP10): Define.
4792 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4793 R_SPARC_SIZE32.
4794 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4795 R_SPARC_SIZE64 and R_SPARC_H34.
4796
96154cd8
CD
47972012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4798
4799 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4800 conditions and remove no longer applicable assertion.
4801
9904dc47
L
48022012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4803
4804 * bits/byteswap.h: Include <features.h>.
4805 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4806 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4807
f8887d0a
L
48082012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4809
4810 * bits/byteswap.h (__bswap_16): Removed.
4811 Include <bits/byteswap-16.h> to get __bswap_16.
4812 * sysdeps/i386/bits/byteswap.h: Likewise.
4813 * sysdeps/s390/bits/byteswap.h: Likewise.
4814 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4815 * bits/byteswap-16.h: New file.
4816 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4817 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4818 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4819 * string/Makefile (headers): Add bits/byteswap-16.h.
4820
62470f60
PP
48212012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4822
4823 [BZ #13895]
4824 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4825 extra indirection.
4826 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4827 * nss/tst-nss-static.c: New.
4828
4dad7bab
RM
48292012-04-06 Robert Millan <rmh@gnu.org>
4830
4831 [BZ #6486]
4832 * manual/llio.texi (File Position Primitive): lseek
4833 refers to WHENCE when it really means OFFSET.
4834
e9142a17
AJ
48352012-04-06 Andreas Jaeger <aj@suse.de>
4836
2c040eff
AJ
4837 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4838 strncmp declarations.
4839
e9142a17
AJ
4840 * abilist/libc.abilist: Add __poll and __ppoll.
4841
ff9f1c5f
DM
48422012-04-05 David S. Miller <davem@davemloft.net>
4843
dcd2ae90
DM
4844 * scripts/check-local-headers.sh: Accept a host triplet in the
4845 path matched by the exclude regexp.
4846
993eb054
DM
4847 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4848 definition.
4849 * sysdeps/powerpc/powerpc32/dl-machine.h
4850 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4851 * sysdeps/s390/s390-32/dl-machine.h
4852 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4853 * sysdeps/sparc/sparc32/dl-machine.h
4854 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4855 * sysdeps/sparc/sparc64/dl-machine.h
4856 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4857
ff9f1c5f
DM
4858 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4859 lazy binding.
48e2e132 4860 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
4861 undefined symbol errors.
4862
48e2e132 4863 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
4864 DT_NEEDED entries.
4865
e80d6f94
MM
48662012-04-05 Michael Matz <matz@suse.de>
4867
4868 [BZ #13592]
4869 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4870
349fa79f
AJ
48712012-04-05 Andreas Jaeger <aj@suse.de>
4872
4873 [BZ #13908]
4874 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4875 comment.
4876
f402708f
KK
48772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4878
4879 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4880 which ROUND is no valid rounding mode.
4881
2ecccfc9
KK
48822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4883
4884 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4885 read again.
4886 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4887
8a53f50f
KK
48882012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4889
4890 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4891 an exception using FPU order intentionally.
4892
48932012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4894
4895 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4896 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4897 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4898 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4899
d653abb7
SJ
49002012-04-05 Simon Josefsson <simon@josefsson.org>
4901
4902 [BZ #12340]
4903 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4904 EINVAL when BUFLEN is too smal.
4905
c3b1bf7d
TS
49062012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4907
4908 [BZ #13553]
4909 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4910 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4911
b1aa60f3
AJ
49122012-04-03 Andreas Jaeger <aj@suse.de>
4913
c3b1bf7d 4914 [BZ #13938]
67f60a26
AJ
4915 * manual/setjmp.texi (System V contexts): Fix sentence.
4916
b1aa60f3
AJ
4917 [BZ #13926]
4918 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4919 New macro for this case.
4920 [!__GNUC__] (__bswap_64): New inline function for this case.
4921 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4922 * bits/byteswap.h: Likewise.
4923 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4924 ull, guard with __GLIBC_HAVE_LONG_LONG.
4925
4926 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4927 __GLIBC_HAVE_LONG_LONG.
4928
4929 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4930 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4931
39c59c35
TMQMF
49322012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4933
4934 [BZ #13691]
4935 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4936 inptr and inend, rather than using last_ch.
4937
135ffda8
DM
49382012-04-02 David S. Miller <davem@davemloft.net>
4939
4940 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4941 * stdio-common/printf-parse.h (read_int): Change return type to
4942 'int', return -1 on INT_MAX overflow.
4943 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4944 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4945 overflows INT_MAX. Check for overflow of in-format-string precision
4946 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4947 SIZE_MAX not INT_MAX for integer overflow test.
4948 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4949 skip the construct in the format string but do not record anything.
4950 * stdio-common/bug22.c: Adjust to test both width/prevision
4951 INT_MAX overflow as well as total length INT_MAX overflow. Check
4952 explicitly for proper errno values.
4953
228c019e
TS
49542012-04-02 Thomas Schwinge <thomas@codesourcery.com>
4955
302cadd3
TS
4956 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
4957 CHAR_MAX.
4958 * string/test-strcmp.c [! WIDE]: Likewise.
4959 * time/tst-mktime2.c: Likewise for INT_MAX.
4960 * string/test-string.h: #include <sys/param.h> for MIN.
4961
228c019e
TS
4962 * csu/init-first.c (__libc_init_first): Call __ctype_init.
4963 * sysdeps/i386/init-first.c (init): Likewise.
4964 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4965 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4966 * sysdeps/sh/init-first.c (init): Likewise.
4967
cfa633f5
UD
49682012-04-01 Ulrich Drepper <drepper@gmail.com>
4969
4970 * po/ru.po: Update from translation team.
d1635ef8 4971 * po/vi.po: Likewise.
cfa633f5 4972
6cd0a5ea
SP
49732012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4974
4975 * resolv/nss_dns/dns-host.c: Merge copyright years.
4976
4b43400f
LD
49772012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4978
4979 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4980 Optimize memcpy with prefetch if
4981 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4982 src, dst pointers have unequal 16 byte alignments.
4983
48c41d04
SP
49842012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4985
4986 [BZ #13928]
4987 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4988 from a CNAME entry and return the minimum ttl for the query.
4989 (gaih_getanswer_slice): Likewise.
4990
b8dc394d
JL
49912012-03-30 Jeff Law <law@redhat.com>
4992
4993 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4994 due to long keys.
4995 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4996 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4997
2f5a5ed0
JL
4998 * resolv/nss_dns/dns-host.c: Update copyright year.
4999
1d39e359
UD
50002012-03-30 Ulrich Drepper <drepper@gmail.com>
5001
c030f70c 5002 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5003 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5004
1d39e359
UD
5005 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5006 comments for sendmmsg.
5007
50082012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5009
5010 [BZ #13691]
5011 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5012 with only 1 character between 0x0041 and 0x01b0.
5013 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5014 * wcsmbs/tst-mbsnrtowcs.c: New file.
5015
20fde227
DM
50162012-03-29 David S. Miller <davem@davemloft.net>
5017
5018 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5019 small copies by hand.
5020
984a4237
JL
50212012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5022
5023 [BZ #13761]
5024 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5025 _nss_compat_initgroups_dyn): Fall back to malloc/free
5026 for large group memberships.
5027
18c9d62b
DM
50282012-03-28 David S. Miller <davem@davemloft.net>
5029
88d85d4f
DM
5030 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5031 that branches into memcpy.
5032 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5033 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5034 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5035 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5036 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5037 bits.
5038 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5039 implementation too.
5040 * sysdeps/sparc/mempcpy.S: New file.
5041
e5aa83e1
DM
5042 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5043 the IFUNC routine in the libc case.
5044 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5045
88570753
DM
5046 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5047 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5048 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5049 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5050 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5051 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5052 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5053 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5054
249d7567
DM
5055 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5056 loop to 256 bytes instead of 64 bytes and fix test signedness.
5057
18c9d62b
DM
5058 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5059 * sysdeps/sparc/sparc32/Makefile: rather than here...
5060 * sysdeps/sparc/sparc64/Makefile: and here.
5061
05f3d1f6
UD
50622012-03-28 Ulrich Drepper <drepper@gmail.com>
5063
5064 * malloc/mallocbug.c: Avoid warnings about unused variables.
5065
86ae07a8
JL
50662012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5067
5068 [BZ #13760]
5069 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5070 in the right place. Discard and retry query if response is
5071 larger than input buffer size.
5072
41bf21a1
JM
50732012-03-28 Joseph Myers <joseph@codesourcery.com>
5074
d6270972
JM
5075 [BZ #369]
5076 [BZ #2678]
5077 [BZ #3866]
5078 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5079 x for large integer exponent.
5080 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5081 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5082 sign of result as needed afterwards.
5083 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5084 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5085 result for underflowing pow the same as for overflow.
5086 (__kernel_standard_l): Handle powl overflow and underflow here
5087 rather than calling __kernel_standard.
5088 * math/libm-test.inc (pow_test): Add more tests.
5089
414fca03 5090 [BZ #3868]
41bf21a1
JM
5091 [BZ #13879]
5092 [BZ #13910]
5093 [BZ #13911]
5094 [BZ #13912]
5095 [BZ #13913]
5096 [BZ #13915]
5097 [BZ #13916]
5098 [BZ #13917]
5099 [BZ #13918]
5100 [BZ #13919]
5101 [BZ #13920]
5102 [BZ #13921]
5103 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5104 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5105 (__kernel_standard_l): New function.
5106 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5107 __kernel_standard.
5108 * math/w_acosl.c (__acosl): Likewise.
5109 * math/w_asinl.c (__asinl): Likewise.
5110 * math/w_atan2l.c (__atan2l): Likewise.
5111 * math/w_atanhl.c (__atanhl): Likewise.
5112 * math/w_coshl.c (__coshl): Likewise.
5113 * math/w_exp10l.c (__exp10l): Likewise.
5114 * math/w_exp2l.c (__exp2l): Likewise.
5115 * math/w_fmodl.c (__fmodl): Likewise.
5116 * math/w_hypotl.c (__hypotl): Likewise.
5117 * math/w_j0l.c (__j0l, __y0l): Likewise.
5118 * math/w_j1l.c (__j1l, __y1l): Likewise.
5119 * math/w_jnl.c (__jnl, __ynl): Likewise.
5120 * math/w_lgammal.c (__lgammal): Likewise.
5121 * math/w_log10l.c (__log10l): Likewise.
5122 * math/w_log2l.c (__log2l): Likewise.
5123 * math/w_logl.c (__logl): Likewise.
5124 * math/w_powl.c (__powl): Likewise.
5125 * math/w_remainderl.c (__remainderl): Likewise.
5126 * math/w_scalbl.c (sysv_scalbl): Likewise.
5127 * math/w_sinhl.c (__sinhl): Likewise.
5128 * math/w_sqrtl.c (__sqrtl): Likewise.
5129 * math/w_tgammal.c (__tgammal): Likewise.
5130 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5131 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5132 * math/libm-test.inc (acos_test): Add more tests.
5133 (acosh_test): Likewise.
5134 (asin_test): Likewise.
5135 (atanh_test): Likewise.
5136 (exp_test): Likewise.
5137 (exp10_test): Likewise.
5138 (exp2_test): Likewise.
5139 (expm1_test): Likewise.
5140 (lgamma_test): Likewise.
5141 (log_test): Likewise.
5142 (log10_test): Likewise.
5143 (log1p_test): Likewise.
5144 (log2_test): Likewise.
5145 (pow_test): Do not allow some spurious overflow exceptions.
5146 (sqrt_test): Add more tests.
5147 (tgamma_test): Likewise.
5148 (y0_test): Likewise.
5149 (y1_test): Likewise.
5150 (yn_test): Likewise.
5151
dd62fda6
AB
51522012-03-27 Anton Blanchard <anton@samba.org>
5153
5154 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5155 MAP_HUGETLB.
5156 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5157 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5158 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5159
1e3cdfda
AJ
51602012-03-27 David S. Miller <davem@davemloft.net>
5161
b855ab85
DM
5162 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5163
1e3cdfda
AJ
5164 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5165 have-as-vis3 check.
5166
51672012-03-27 Andreas Jaeger <aj@suse.de>
5168
5169 * sysdeps/x86_64/elf/configure.in: Moved to ...
5170 * sysdeps/x86_64/configure.in: ... here.
5171 * sysdeps/x86_64/elf/start.S: Moved to ...
5172 * sysdeps/x86_64/start.S: ... here.
5173 * sysdeps/x86_64/elf/configure: Delete.
5174
5175 * sysdeps/x86_64/configure.in: Merge contents from
5176 sysdeps/i386/configure.in (without i686 check).
5177
5178 * sysdeps/i386/elf/Versions: Merge into ...
5179 * sysdeps/i386/Versions: ... this.
5180 * sysdeps/i386/elf/Versions: Delete file.
5181 * sysdeps/i386/elf/start.S: Moved to ...
5182 * sysdeps/i386/start.S: ...here.
5183 * sysdeps/i386/elf/configure.in: Merge into...
5184 * sysdeps/i386/configure.in: ...here.
5185 * sysdeps/i386/elf/configure.in: Delete file.
5186 * sysdeps/i386/elf/configure: Delete file.
5187
5188 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5189 * debug/backtracesyms.c: ... here.
5190 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5191 * debug/backtracesymsfd.c: ... here.
5192 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5193 * sysdeps/generic/ifunc-sel.h: ... here.
5194
5195 * sysdeps/unix/i386/start.c: Delete file.
5196 * sysdeps/unix/sparc/start.c: Delete file.
5197 * sysdeps/unix/start.c: Delete file.
5198
5199 * sysdeps/sh/elf/configure.in: Moved to ...
5200 * sysdeps/sh/configure.in: ... here.
5201 * sysdeps/sh/elf/start.S: Moved to ...
5202 * sysdeps/sh/start.S: ... here.
5203 * sysdeps/sh/elf/configure: Delete file.
5204
5205 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5206 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5207 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5208 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5209 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5210 * sysdeps/powerpc/powerpc64/start.S: here.
5211 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5212 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5213 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5214 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5215 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5216
5217 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5218 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5219 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5220 * sysdeps/powerpc/powerpc32/start.S: ... here.
5221 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5222 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5223 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5224
5225 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5226 * sysdeps/powerpc/ifunc-sel.h: ... here.
5227 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5228 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5229
5230 * sysdeps/sparc/elf/configure.in: Moved to ...
5231 * sysdeps/sparc/configure.in: ... here.
5232 * sysdeps/sparc/elf/configure: Delete file.
5233 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5234 * sysdeps/sparc/sparc32/start.S: ... here.
5235 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5236 * sysdeps/sparc/sparc64/start.S: ... here.
5237 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5238 * sysdeps/sparc/sparc32/Makefile: ... this.
5239 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5240 * sysdeps/sparc/sparc64/Makefile: ... this.
5241
5242 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5243 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5244 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5245 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5246 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5247 * sysdeps/s390/s390-32/setjmp.S: ... here.
5248 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5249 * sysdeps/s390/s390-32/configure.in: ... here.
5250 * sysdeps/s390/s390-32/elf/configure: Delete file.
5251 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5252 * sysdeps/s390/s390-32/start.S: ... here.
5253
5254 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5255 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5256 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5257 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5258 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5259 * sysdeps/s390/s390-64/setjmp.S: ... here.
5260 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5261 * sysdeps/s390/s390-64/configure.in: ... here
5262 * sysdeps/s390/s390-64/elf/configure: Delete file.
5263 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5264 * sysdeps/s390/s390-64/start.S: ... here.
5265 * sysdeps/s390/s390-64/elf/configure: Delete.
5266
5267 * configure.in: Remove support for elf directories in sysdeps.
5268
5269 * configure: Regenerated.
5270 * sysdeps/i386/configure: Regenerated.
5271 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5272 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5273 * sysdeps/s390/s390-32/configure: Regenerated.
5274 * sysdeps/s390/s390-64/configure: Regenerated.
5275 * sysdeps/sh/configure: Regenerated.
5276 * sysdeps/sparc/configure: Regenerated.
5277 * sysdeps/x86_64/configure: Regenerated.
5278
a3f61311
AS
52792012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5280
c876e002
AS
5281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5282
a3f61311
AS
5283 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5284 denormal result into account.
5285
ac4c54f0
RM
52862012-03-25 Roland McGrath <roland@hack.frob.com>
5287
5288 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5289 Reported by Allan McRae <allan@archlinux.org>.
5290
6a9b9c02
JL
52912012-03-23 Jeff Law <law@redhat.com>
5292
5293 * nss/getnssent.c (__nss_getent): Fix typo.
5294
4c42a0c1
DM
52952012-03-23 David S. Miller <davem@davemloft.net>
5296
5297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5298
1532c7ac
L
52992012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5300
5301 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5302 to pad to uint64_t for each field.
5303 (dl_tls_index): Replace unsigned long with uint64_t.
5304
3ff42526
PP
53052012-03-23 Daniel Jacobowitz <dmj@google.com>
5306 Paul Pluzhnikov <ppluzhnikov@google.com>
5307
5308 [BZ #6528]
5309 * grp/Makefile (otherlibs): Don't set it.
5310 * inet/Makefile (otherlibs): Likewise.
5311 * login/Makefile (otherlibs): Likewise.
5312 * nscd/Makefile (otherlibs): Likewise.
5313 * posix/Makefile (otherlibs): Likewise.
5314 * pwd/Makefile (otherlibs): Likewise.
5315 * rt/Makefile (otherlibs): Likewise.
5316 * sunrpc/Makefile (otherlibs): Likewise.
5317 * nss/Makefile (otherlibs): Likewise.
5318 Add libnss_files to routines and static-only-routines.
5319 ($(objpfx)getent): Remove rule.
5320 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5321 static-only-routines.
5322
7c69cd14
JM
53232012-03-22 Joseph Myers <joseph@codesourcery.com>
5324
5325 [BZ #13892]
5326 * math/s_cexp.c: Include <float.h>.
5327 (__cexp): Handle exp result overflowing not necessarily
5328 overflowing both real and imaginary parts of result.
5329 * math/s_cexpf.c: Likewise.
5330 * math/s_cexpl.c: Likewise.
5331 * math/libm-test.inc (cexp_test): Add more tests.
5332 * sysdeps/i386/fpu/libm-test-ulps: Update.
5333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5334
81b035fe
L
53352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5336
5337 * include/link.h (ELFW): New macro.
5338 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5339 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5340
1da7940c
L
53412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5342
5343 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5344 with uint64_t.
5345
b749dbb9
L
53462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5347
5348 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5349 declaration.
5350 (struct La_x32_retval): Likewise.
5351
2ff87f3f
L
53522012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5353
5354 * sysdeps/x86_64/preconfigure.in: New file.
5355 * sysdeps/x86_64/preconfigure: New generated file.
5356
c0df8e69
JM
53572012-03-22 Joseph Myers <joseph@codesourcery.com>
5358
48e44791
JM
5359 [BZ #13824]
5360 * math/e_exp2l.c: Include <float.h>.
5361 (__ieee754_exp2l): Handle overflow and underflow cases
5362 separately. Only pass fractional part of argument to
5363 __ieee754_expl.
5364 * math/libm-test.inc (exp2_test): Add more tests.
5365
c0df8e69
JM
5366 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5367 negating x to take absolute value.
5368 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5369 Likewise.
5370 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5371 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5372 Likewise.
5373 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5374 computing low part if x was negated.
5375 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5376
c8e43ba7
L
53772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5378
5379 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5380 la_x32_gnu_pltexit.
5381 (pltexit): Cast int_retval to ptrdiff_t.
5382 * elf/tst-auditmod3b.c: Likewise.
5383 * elf/tst-auditmod4b.c: Likewise.
5384 * elf/tst-auditmod5b.c: Likewise.
5385 * elf/tst-auditmod6b.c: Likewise.
5386 * elf/tst-auditmod6c.c: Likewise.
5387 * elf/tst-auditmod7b.c: Likewise.
5388
5389 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5390 and x32_gnu_pltexit.
5391
5392 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5393 __ELF_NATIVE_CLASS.
5394 (La_x32_regs): New macro.
5395 (La_x32_retval): Likewise.
5396 (la_x32_gnu_pltenter): New function prototype.
5397 (la_x32_gnu_pltexit): Likewise.
5398
7998fa78
AS
53992012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5400
dcb33988
AS
5401 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5402 exponent.
5403
233fc563
AS
5404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5405
7998fa78
AS
5406 * configure.in (libc_cv_cc_nofma): Check for option to disable
5407 generation of FMA instructions.
5408 * configure: Regenerate.
5409 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5410 * sysdeps/ieee754/dbl-64/Makefile: New file.
5411 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5412 Remove brandred-fma4.
5413 (CFLAGS-brandred-fma4.c): Remove.
5414 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5415 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5416 define.
5417 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5418 define.
5419
8e95c99a
L
54202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5421
5422 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5423 LLONG_MAX != LONG_MAX.
5424 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5425 (_fitoa_word): Likewise.
5426 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5427 LLONG_MAX != LONG_MAX.
5428 * stdio-common/_itowa.h: Include <_itoa.h>.
5429 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5430 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5431 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5432 only if not defined.
5433 (_ITOA_WORD_TYPE): Likewise.
5434 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5435 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5436
6f4db457
DM
54372012-03-21 David S. Miller <davem@davemloft.net>
5438
5439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5440
7785fe5a
L
54412012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5442
5443 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5444 of x86_64 when setting libc_cv_slibdir, libdir and
5445 libc_cv_localedir.
5446 * sysdeps/unix/sysv/linux/configure: Regenerated.
5447
4535cd55
JM
54482012-03-21 Joseph Myers <joseph@codesourcery.com>
5449
5450 * manual/lang.texi (Old Varargs): Remove section.
5451 (How Variadic): Update menu.
5452 (va_start): Do not mention varargs.h.
5453
17228132
TS
54542012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5455 Joseph Myers <joseph@codesourcery.com>
5456
5457 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5458 link test.
5459 * configure: Regenerated.
5460
8149f976
TS
54612012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5462
05f3d1f6
UD
5463 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5464 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5465 conformtest.pl
8149f976 5466
1a4ac776
JM
54672012-03-21 Joseph Myers <joseph@codesourcery.com>
5468
be22ce65
JM
5469 * NOTES: Remove.
5470 * Makefile (files-for-dist): Remove NOTES.
5471 (NOTES): Remove rule.
5472 * README: Don't refer to NOTES.
5473 * manual/creature.texi: Don't include macros.texi.
5474 * manual/intro.texi (creature.texi): Remove comment referring to
5475 NOTES.
5476
40b601fb
JM
5477 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5478 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5479 * configure: Regenerated.
5480 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5481 LIBC_TRY_CC_OPTION.
5482 (libc_cv_as_i686): Likewise.
5483 (libc_cv_cc_avx): Likewise.
5484 (libc_cv_cc_sse2avx): Likewise.
5485 (libc_cv_cc_fma4): Likewise.
5486 (libc_cv_cc_novzeroupper): Likewise.
5487 * sysdeps/i386/configure: Regenerated.
5488
1a4ac776
JM
5489 [BZ #13883]
5490 * sysdeps/i386/fpu/s_cexp.S: Remove.
5491 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5492 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5493 * math/libm-test.inc (cexp_test): Add more tests.
5494 * sysdeps/i386/fpu/libm-test-ulps: Update.
5495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5496
a458e7fe
AM
54972012-03-21 Allan McRae <allan@archlinux.org>
5498
5499 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5500
0cb7efc5
JM
55012012-03-21 Joseph Myers <joseph@codesourcery.com>
5502
5503 [BZ #13871]
5504 * math/w_exp2.c: Do not include <float.h>.
5505 (o_threshold, u_threshold): Remove.
5506 (__exp2): Calculate result before checking finiteness and calling
5507 __kernel_standard.
5508 * math/w_exp2f.c: Likewise.
5509 * math/w_exp2l.c: Likewise.
5510 * math/libm-test.inc (exp2_test): Require overflow exception for
5511 1e6 input.
2460d3aa
JM
5512
5513 [BZ #3866]
5514 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5515 range of signed 64-bit integers before using fistpll. Remove
5516 checks for whether integers fit in mantissa bits.
5517 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5518 the range of signed 32-bit integers before using fistpl. Remove
5519 checks for whether integers fit in mantissa bits.
5520 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5521 (__ieee754_powl): Test for y outside the range of signed 64-bit
5522 integers before using fistpll. Reduce 64-bit values to 63-bit
5523 ones as needed.
5524 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5525 divide-by-zero is raised for zero to large negative powers.
5526 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5527 (__ieee754_powl): Test for y outside the range of signed 64-bit
5528 integers before using fistpll. Reduce 64-bit values to 63-bit
5529 ones as needed.
5530 * math/libm-test.inc (pow_test): Add more tests.
5531
eb96ffb0
L
55322012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5533
5534 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5535 <stdio-common/_itoa.h>.
5536 * debug/segfault.c: Likewise.
5537 * elf/dl-cache.c: Likewise.
5538 * elf/dl-minimal.c: Likewise.
5539 * elf/dl-misc.c: Likewise.
5540 * elf/dl-sysdep.c: Likewise.
5541 * elf/dl-version.c: Likewise.
5542 * elf/rtld.c: Likewise.
5543 * hurd/hurdsock.c: Likewise.
5544 * hurd/lookup-retry.c: Likewise.
5545 * malloc/malloc.c: Likewise.
5546 * malloc/mtrace.c: Likewise.
5547 * nscd/nscd_getgr_r.c: Likewise.
5548 * nscd/nscd_getpw_r.c: Likewise.
5549 * nscd/nscd_getserv_r.c: Likewise.
5550 * posix/getopt_init.c: Likewise.
5551 * posix/wordexp.c: Likewise.
5552 * stdio-common/_itoa.c: Likewise.
5553 * stdio-common/printf_fphex.c: Likewise.
5554 * stdio-common/vfprintf.c: Likewise.
5555 * string/_strerror.c: Likewise.
5556 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5557 * sysdeps/i386/i686/hp-timing.h: Likewise.
5558 * sysdeps/mach/_strerror.c: Likewise.
5559 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5560 * sysdeps/mach/hurd/sethostid.c: Likewise.
5561 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5562 * sysdeps/mach/xpg-strerror.c: Likewise.
5563 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5564 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5565 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5566 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5567 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5568 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5569 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5570 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5571 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5572 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5573 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5574 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5575 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5576 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5577 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5578 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5579 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5580 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5581 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5582 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5583 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5584
5585 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5586
5587 * stdio-common/_itoa.h: Moved to ...
5588 * sysdeps/generic/_itoa.h: Here.
5589
5590 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5591
5592 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5593 instead of "_itoa.h" and "_itowa.h".
5594 * stdio-common/vfprintf.: Likewise.
5595
d1af992d
L
55962012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5597
5598 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5599 <bits/wordsize.h>.
5600 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5601 (__signbit): Likwise.
5602 (llrintf): Likwise.
5603 (llrint): Likwise.
5604
114883e0
L
56052012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5606
5607 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5608 __WORDSIZE != 64.
5609
c135cc1b
JM
56102012-03-20 Joseph Myers <joseph@codesourcery.com>
5611
5612 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5613 OVERFLOW_EXCEPTION_OK.
5614 * math/libm-test.inc ("Philosophy"): Update comment about
5615 exception testing.
5616 (OVERFLOW_EXCEPTION): Define.
5617 (OVERFLOW_EXCEPTION_OK): Likewise.
5618 (INVALID_EXCEPTION_OK): Renumber.
5619 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5620 (IGNORE_ZERO_INF_SIGN): Likewise.
5621 (test_exceptions): Handle FE_OVERFLOW.
5622 (exp10_test): Expect overflow exceptions.
5623 (exp2_test): Likewise.
5624 (expm1_test): Likewise.
5625 (nextafter_test): Likewise.
5626 (pow_test): Likewise.
5627 (scalbn_test): Likewise.
5628 (scalbln_test): Likewise.
5629
95443d88
L
56302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5631
5632 * sysdeps/x86_64/bits/atomic.h
5633 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5634 64bit integer.
5635 (atomic_exchange_acq): Likewise.
5636 (__arch_exchange_and_add_body): Likewise.
5637 (__arch_add_body): Likewise.
5638 (atomic_add_negative): Likewise.
5639 (atomic_add_zero): Likewise.
5640
490df6c4
L
56412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5642
c2722551 5643 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
5644 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5645
5e52b189
L
56462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5647
5648 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5649 Check __x86_64__ instead of __WORDSIZE.
5650
a9879d4c
L
56512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5652
5653 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5654
5df98260
DM
56552012-03-19 David S. Miller <davem@davemloft.net>
5656
e1497744
DM
5657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5658
5df98260
DM
5659 * sysdeps/sparc/fpu/fenv_private.h: New file.
5660 * sysdeps/sparc/fpu/math_private.h: Use it.
5661 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5662 Remove.
5663 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5664 (libc_feholdexcept_setroundl): Remove.
5665 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5666 Remove.
5667 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5668 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5669
b4c35121
L
56702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5671
5672 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5673 int64_t instead of long int.
5674 (INSERT_WORDS64): Likwise.
5675
56965fd7
L
56762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5677
5678 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5679 _Unwind_GetCFA return to _Unwind_Ptr first.
5680
83d1aec8
JM
56812012-03-19 Joseph Myers <joseph@codesourcery.com>
5682
1897ad44
JM
5683 [BZ #13629]
5684 * math/s_clog.c: Include <float.h>.
5685 (__clog): Scale large or subnormal inputs.
5686 * math/s_clogf.c: Likewise.
5687 * math/s_clogl.c: Likewise.
5688 * math/s_clog10.c: Include <float.h>.
5689 (M_LOG10_2): Define.
5690 (__clog10): Scale large or subnormal inputs.
5691 * math/s_clog10f.c: Likewise.
5692 * math/s_clog10l.c: Likewise.
5693 * math/libm-test.inc (clog_test): Add more tests.
5694 (clog10_test): Likewise.
5695 * sysdeps/i386/fpu/libm-test-ulps: Update.
5696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5697
7726d6a9
JM
5698 [BZ #11451]
5699 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5700 x and y.
5701 * math/libm-test.inc (atan2_test): Add another test.
5702
83d1aec8
JM
5703 * Makerules (common-objdir-compile): Remove.
5704 * sysdeps/unix/Makefile (config-generated): Do not add
5705 $(unix-generated) to variable.
5706 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5707 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5708 Remove rule.
5709 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5710 Likewise.
5711 [generic bits/local_lim.h] (before-compile): Do not append to
5712 variable.
5713 [generic bits/local_lim.h] (common-generated): Likewise.
5714 [generic sys/param.h] (before-compile): Do not append to variable.
5715 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5716 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5717 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5718 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5719 include.
5720 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5721 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5722 [generic sys/param.h] ($(addprefix
5723 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5724 [generic sys/param.h] (common-generated): Do not append to
5725 variable.
5726 [generic sys/param.h] (sysdep_headers): Likewise.
5727 [generic bits/errno.h] (before-compile): Do not append to
5728 variable.
5729 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5730 rule.
5731 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5732 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5733 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5734 [generic bits/errno.h] (common-generated): Do not append to
5735 variable.
5736 [generic bits/ioctls.h] (before-compile): Do not append to
5737 variable.
5738 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5739 rule.
5740 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5741 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5742 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5743 rule.
5744 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5745 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5746 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5747 [generic bits/ioctls.h] (common-generated): Do not append to
5748 variable.
5749 [generic sys/syscall.h] (syscall.h): Remove variable.
5750 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5751 rule.
5752 [generic sys/syscall.h] (before-compile): Do not append to
5753 variable.
5754 [generic sys/syscall.h] (common-generated): Likewise.
5755 * sysdeps/unix/errnos-tmpl.c: Remove file.
5756 * sysdeps/unix/errnos.awk: Likewise.
5757 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5758 * sysdeps/unix/ioctls.awk: Likewise.
5759 * sysdeps/unix/mk-local_lim.c: Likewise.
5760 * sysdeps/unix/snarf-ioctls: Likewise.
5761
4851a949
RH
57622012-03-19 Richard Henderson <rth@twiddle.net>
5763
bd37f2ee
RH
5764 * sysdeps/i386/fpu/fenv_private.h: New file.
5765 * sysdeps/i386/fpu/math_private.h: Use it.
5766 (math_opt_barrier, math_force_eval): Remove.
5767 (libc_feholdexcept_setround_53bit): Remove.
5768 (libc_feupdateenv_53bit): Remove.
5769 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5770 (math_opt_barrier, math_force_eval): Remove.
5771 (libc_feholdexcept): Remove.
5772 (libc_feholdexcept_setround): Remove.
5773 (libc_fetestexcept, libc_fesetenv): Remove.
5774 (libc_feupdateenv_test): Remove.
5775 (libc_feupdateenv, libc_feholdsetround): Remove.
5776 (libc_feresetround): Remove.
5777
d0adc922
RH
5778 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5779 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5780
0fe0f1f8
RH
5781 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5782 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5783 (libc_feupdateenv_testl): New.
5784 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5785 (libc_feupdateenv_testf): New.
5786 (libc_feupdateenv): Use libc_feupdateenv_test.
5787 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5788 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5789
eb92c487
RH
5790 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5791 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5792 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5793 (libc_feresetround_noex): New.
5794 (libc_feresetround_noexf): New.
5795 (libc_feresetround_noexl): New.
5796 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5797 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5798 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5799 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5800 SET_RESTORE_ROUND.
5801 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5802 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5803 (__cos): Likewise.
5804 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5805 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5806 SET_RESTORE_ROUND_NOEX.
5807 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5808 SET_RESTORE_ROUND_NOEXF.
5809 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5810 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5811 (libc_feholdsetroundf): New.
5812 (libc_feresetround, libc_feresetroundf): New.
5813
7d2e8012
RH
5814 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5815 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5816 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5817
b4dabbb4
RH
5818 * sysdeps/generic/math_private.h: Include <fenv.h>.
5819 (default_libc_feholdexcept): New.
5820 (default_libc_feholdexcept_setround): New.
5821 (default_libc_fesetenv, default_libc_feupdateenv): New.
5822 (libc_feholdexcept): Only define if undefined.
5823 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5824 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5825 (libc_feholdexcept_setroundl): Likewise.
5826 (libc_feholdexcept_setround_53bit): Likewise.
5827 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5828 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5829 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5830 (libc_feupdateenv_53bit): Likewise.
5831 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5832 (libc_feholdexcept): Convert from macro to inline function.
5833 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5834 (libc_fesetenv, libc_feupdateenv): Likewise.
5835
4851a949
RH
5836 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5837 not previously defined.
5838 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5839 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5840 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5841 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5842 * sysdeps/ieee754/flt-32/math_private.h: New file.
5843 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5844 math_private.h below SET_FLOAT_WORD.
5845 (__isnan, __isinf_ns, __finite): Remove.
5846 (__isnanf, __isinf_nsf, __finitef): Remove.
5847
e79d442e
AS
58482012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5849
5850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5851
90b80344
DM
58522012-03-17 David S. Miller <davem@davemloft.net>
5853
5854 [BZ #6471]
5855 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5856 for 2.16.
5857
edc21804
DM
58582012-03-16 David S. Miller <davem@davemloft.net>
5859
77e927af
DM
5860 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5861 warnings.
5862
374976dd
DM
5863 [BZ #6471]
5864 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5865 properly.
5866 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5867 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5868 sysdep_routines when subdir is sysvipc.
5869 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5870 __getshmlba helper.
5871
edc21804
DM
5872 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5873
473c3ef3
L
58742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5875
5876 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5877 [__LP64__].
5878
eb0f39b6
L
58792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5880
5881 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5882 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5883 (__lround): Renamed to ...
5884 (__llround): This. Replace long int with long long int.
5885 Define lround functions as aliases of llround functions.
5886 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5887
6b6cd74b
L
58882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5889
5890 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5891 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5892 adresses to uintptr_t. Replace "long int" and "unsigned long
5893 int" with "greg_t" on va_arg.
5894
f1a77b01
L
58952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5896
5897 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5898 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5899
5900 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5901 Move e_machine check before EI_CLASS check. Handle x32
5902 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5903 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5904 SKIP_EM_IA_64 and include
5905 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5906
5907 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5908 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5909 (add_system_dir): New macro.
5910
5911 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5912 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5913
11b90b9f
JM
59142012-03-16 Joseph Myers <joseph@codesourcery.com>
5915
c36e1d23
JM
5916 [BZ #2551]
5917 [BZ #2552]
5918 [BZ #2553]
5919 [BZ #2554]
5920 [BZ #2562]
5921 [BZ #2563]
5922 [BZ #2565]
5923 [BZ #2566]
5924 [BZ #2576]
5925 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5926 (y0): Likewise.
5927 * math/w_j0f.c (j0f): Likewise.
5928 (y0f): Likewise.
5929 * math/w_j0l.c (__j0l): Likewise.
5930 (__y0l): Likewise.
5931 * math/w_j1.c (j1): Likewise.
5932 (y1): Likewise.
5933 * math/w_j1f.c (j1f): Likewise.
5934 (y1f): Likewise.
5935 * math/w_j1l.c (__j1l): Likewise.
5936 (__y1l): Likewise.
5937 * math/w_jn.c (jn): Likewise.
5938 (yn): Likewise.
5939 * math/w_jnf.c (jnf): Likewise.
5940 (ynf): Likewise.
5941 * math/w_jnl.c (__jnl): Likewise.
5942 (__ynl): Likewise.
5943 * math/libm-test.inc (j0_test): Add more tests.
5944 (j1_test): Likewise.
5945 (jn_test): Likewise. Add trailing semicolon to existing test.
5946 (y0_test): Likewise.
5947 (y1_test): Likewise.
5948 * sysdeps/i386/fpu/libm-test-ulps: Update.
5949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5950
11b90b9f
JM
5951 [BZ #13851]
5952 [BZ #13854]
5953 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5954 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5955 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5956 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
5957 (__tanl): Set errno for infinite argument.
5958 * sysdeps/i386/fpu/mptan.c: Remove.
5959 * sysdeps/i386/fpu/s_tan.S: Likewise.
5960 * sysdeps/i386/fpu/s_tanl.S: Likewise.
5961 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
5962 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5963 * math/libm-test.inc (tan_test): Add more tests and enable more
5964 tests for double and long double.
5965 * sysdeps/i386/fpu/libm-test-ulps: Update.
5966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5967
6a1bd2a1
JK
59682012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5969
5970 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5971 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5972
10a803e0
RM
59732012-03-16 Roland McGrath <roland@hack.frob.com>
5974
5975 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5976 * configure.in: Use it for both main tree and add-ons.
5977 * configure: Regenerated.
5978
f196c7f7
L
59792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5980
5981 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5982
8848d99d
JM
59832012-03-16 Joseph Myers <joseph@codesourcery.com>
5984
96cbe7f4
JM
5985 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5986 in comment.
5987
8848d99d
JM
5988 [BZ #13851]
5989 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5990 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5991 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5992 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5993 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5994 infinite argument.
5995 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5996 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5997 != 0 for prec == 2.
5998 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5999 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6000 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6001 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6002 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6003 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6004 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6005 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6006 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6007 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6008 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6009 * math/libm-test.inc (cos_test): Add more tests and enable more
6010 tests for long double.
6011 (sin_test): Likewise.
6012 (sincos_test): Likewise.
6013 * sysdeps/i386/fpu/libm-test-ulps: Update.
6014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6015
dd7f4703
DM
60162012-03-16 David S. Miller <davem@davemloft.net>
6017
6018 * sysdeps/sparc/fpu/math_private.h: New file.
6019
006f1daa
DM
60202012-03-15 David S. Miller <davem@davemloft.net>
6021
c0c83bc8
DM
6022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6023 file.
e6a62e18 6024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6026 file.
e6a62e18
DM
6027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6032 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6033 sysdep routines.
6034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6035
88cb87d9
DM
6036 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6037 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6038
006f1daa 6039 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6041 sparc-ifunc.h
006f1daa 6042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6044 Likewise.
6045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6046 Likewise.
006f1daa
DM
6047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6051 Likewise.
006f1daa
DM
6052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6057 Likewise.
6058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6059 Likewise.
006f1daa
DM
6060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6064 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6065 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6066 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6067 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6068 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6069 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6073 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6074 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6075 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6076 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6077 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6078 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6079 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6080 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6081 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6082 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6083 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6084
11e0098e
AS
60852012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6086
6087 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6088 scaling.
6089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6090
e85b09d0
AJ
60912012-03-15 Andreas Jaeger <aj@suse.de>
6092
6093 [BZ #13852]
6094 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6095 ieee754/flt-32 implementation for sin, cos and sincos.
6096 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6097 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6098 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6099 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6100 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6101 ieee754/flt-32 implementation for tan.
6102
6103 * math/libm-test.inc (cos_test): Enable some large input tests for
6104 float as well
6105 (sin_test): Likewise.
6106 (sincos_test): Likewise.
6107 (tan_test): Add tests for large input.
6108
6109 * sysdeps/i386/fpu/libm-test-ulps: Update.
6110
81c64153
AJ
61112012-03-15 Andreas Jaeger <aj@suse.de>
6112
6113 [BZ #13658]
6114 * math/libm-test.inc (cos_test): Add more test cases.
6115 (sin_test): Likewise.
6116 (sincos_test): Likewise.
6117
7bbfa5c6
AJ
61182012-03-15 Andreas Jaeger <aj@suse.de>
6119
6120 [BZ #13837]
6121 * math/libm-test.inc (cos_test): Add a test case for large input
6122 value.
6123 (sin_test): Likewise.
6124 (sincos_test): Likewise.
6125
61262012-03-15 Andreas Jaeger <aj@suse.de>,
6127 Joseph Myers <joseph@codesourcery.com>
6128
6129 [BZ #13658]
0671f479 6130 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6131 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6132 * sysdeps/i386/fpu/branred.c: Likewise.
6133 * sysdeps/i386/fpu/dosincos.c: Likewise.
6134 * sysdeps/i386/fpu/mpa.c: Likewise.
6135 * sysdeps/i386/fpu/s_cos.S: Likewise.
6136 * sysdeps/i386/fpu/s_sin.S: Likewise.
6137 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6138 * sysdeps/i386/fpu/sincos32.c: Likewise.
6139
6140 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6141 Define.
6142 (libc_feupdateenv_53bit): Define.
6143 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6144 Define.
6145 (libc_feupdateenv_53bit): Define.
6146
6147 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6148 53 bit (without extend i386 double precision).
6149
6150 * math/libm-test.inc (sincos_test): Add tests for large input.
6151 (sin): Likewise.
6152 (cos): Likewise.
6153
6154 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6155
9cad04ea
AS
61562012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6157
6158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6159
f7062b9a
DM
61602012-03-15 David S. Miller <davem@davemloft.net>
6161
6162 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6163 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6164 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6165 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6170 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6171 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6172 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6174 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6175 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6176 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6178 file.
f7062b9a 6179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6181 file.
f7062b9a 6182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6184 file.
f7062b9a 6185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6187 file.
f7062b9a
DM
6188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6189 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6190 fmin/fmax sysdep routines.
6191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6192
7bd951ff
DM
61932012-03-14 David S. Miller <davem@davemloft.net>
6194
559398ab
DM
6195 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6196 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6197 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6198 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6199 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6200 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6201 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6202 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6203 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6204 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6205 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6206 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6207 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6208 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6209 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6210 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6211 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6212 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6213 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6214 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6215 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6216 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6217 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6218 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6219 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6220 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6221 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6222 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6223 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6224 routines.
6225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6226 file.
559398ab 6227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6229 file.
559398ab 6230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6232 file.
559398ab 6233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6235 file.
559398ab 6236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6238 file.
559398ab 6239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6241 file.
6242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6243 file.
6244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6245 file.
6246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6247 file.
6248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6249 New file.
6250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6251 file.
6252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6253 file.
559398ab 6254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6256 file.
559398ab 6257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6259 file.
559398ab 6260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6262 file.
559398ab 6263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6265 VIS3 routines.
559398ab
DM
6266
6267 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6268 New file.
6269
5a1c1e32
DM
6270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6271
eae47a36
DM
6272 * sysdeps/sparc/configure.in: New file.
6273 * sysdeps/sparc/configure: Generate.
6274 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6275 * configure: Regenerate.
6276 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6277 * config.make.in (have-as-vis3): New.
6278 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6279 available use -Av9d instead of -Av9a.
6280 * sysdeps/sparc/sparc64/Makefile: Likewise.
6281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6283 New file.
6284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6285 file.
6286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6287 New file.
6288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6289 file.
eae47a36
DM
6290 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6291 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6292 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6293 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6294 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6295
c0c83bc8
DM
6296 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6297 fzeros/fnegs to load 0x80000000 into a float register instead of
6298 using the stack.
7bd951ff
DM
6299 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6300
bd951ccb
JM
63012012-03-14 Joseph Myers <joseph@codesourcery.com>
6302
6303 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6304 bits/syscall.h.
6305 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6306 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6307 ($(inst_includedir)/bits/syscall.h): Remove rule.
6308 ($(objpfx)bits/syscall.d): Include instead of
6309 $(objpfx)syscall-list.d.
6310 (generated): Change syscall-list.h and syscall-list.d to
6311 bits/syscall.h and bits/syscall.d.
6312
bb4e6db2
RM
63132012-03-14 Roland McGrath <roland@hack.frob.com>
6314
6315 [BZ #13846]
6316 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6317
aa4a2ae1
JM
63182012-03-14 Joseph Myers <joseph@codesourcery.com>
6319
e456826d
JM
6320 [BZ #13841]
6321 * math/s_csqrt.c: Include <float.h>.
6322 (__csqrt): Scale large or subnormal inputs.
6323 * math/s_csqrtf.c: Likewise.
6324 * math/s_csqrtl.c: Likewise.
6325 * math/libm-test.inc (csqrt_test): Add more tests.
6326 * sysdeps/i386/fpu/libm-test-ulps: Update.
6327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6328
aa4a2ae1
JM
6329 [BZ #13840]
6330 * math/libm-test.inc (hypot_test): Add more tests.
6331
7c10fd35
DM
63322012-03-13 David S. Miller <davem@davemloft.net>
6333
6334 [BZ #13840]
6335 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6336 double-precision for the calculation instead of scaling.
6337
f453b98b
JM
63382012-03-13 Joseph Myers <joseph@codesourcery.com>
6339
6340 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6341 manipulate bits before adding and subtracting TWO52[sx].
6342 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6343 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6344 Likewise.
6345 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6346
09a3453f
DM
63472012-03-13 David S. Miller <davem@davemloft.net>
6348
8e59da90
DM
6349 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6350 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6351 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6352 rtld-global-offsets.h
6353 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6354
2a8ab7f2
DM
6355 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6356 large parameters.
6357
10f62770
DM
6358 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6359
5f0bdb18
DM
6360 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6361 'err' in the ifdef scope in which it is actually used.
6362
09a3453f
DM
6363 * nss/nss_db/db-init.c: Include string.h
6364
b4b2eb5e
DM
63652012-03-12 David S. Miller <davem@davemloft.net>
6366
98bb2f1c
DM
6367 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6368 masking out of the most significant byte of random value used.
6369 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6370 Fix coding style in previous change.
6371
b4b2eb5e
DM
6372 * sysdeps/unix/sysv/linux/kernel-features.h
6373 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6374 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6375 expression.
6376 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6377 later.
6378
6e226b09
DM
63792012-03-11 David S. Miller <davem@davemloft.net>
6380
a1bcbd40
DM
6381 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6382 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6383 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6384 for 'resultvar' otherwise things get truncated on 64-bit.
6385
cb9d6174
DM
6386 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6387 Fix masking out of the most significant byte of random value used.
6388
6e226b09
DM
6389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6390
058c132d
AS
63912012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6392
6393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6394
2d2cd515
DM
63952012-03-09 David S. Miller <davem@davemloft.net>
6396
6397 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6398 variables with appropriate CPP guards.
6399 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6400 frame pointer, not the stack pointer. Correct layout comments. Fix test
6401 on resulting framesize and the management of the outregs buffer for pltexit.
6402 Preserve floating point return values across _dl_call_pltexit call.
6403 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6404 framesize and the management of the outregs buffer for pltexit.
6405 Preserve floating point return values across _dl_call_pltexit
6406 call.
6407 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6408 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6409 (print_exit): Fix format string for return register value.
6410
9a07f9d0
JM
64112012-03-10 Joseph Myers <joseph@codesourcery.com>
6412
6413 * sunrpc/Makefile (others): Add rpcgen.
6414 ($(objpfx)rpcgen): Remove special build rule and dependency on
6415 libc.
6416 * sunrpc/rpcgen.c: New file.
6417
547b5e30
PE
64182012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6419
c524201a
PE
6420 [BZ #13673]
6421 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6422 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6423 * sysdeps/i386/crti.S: Likewise.
6424 * sysdeps/i386/crtn.S: Likewise.
6425 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6426 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6427 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6428 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6429 * sysdeps/sh/crti.S: Likewise.
6430 * sysdeps/sh/crtn.S: Likewise.
6431 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6432
7b6235f2
PE
6433 [BZ #13673]
6434 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6435 with URL.
6436 * locale/programs/locfile-kw.gperf: Likewise.
6437 * locale/programs/charmap-kw.h: Regenerated.
6438 * locale/programs/locfile-kw.h: Likewise.
6439
547b5e30
PE
6440 [BZ #13673]
6441 * intl/plural.y: Replace FSF snail mail address with URL.
6442 * intl/plural.c: Regenerated.
6443
5f0a5dae
RH
64442012-03-09 Richard Henderson <rth@twiddle.net>
6445
6446 * include/math_private.h: Remove file.
6447 * math/math_private.h: Move file ...
6448 * sysdeps/generic/math_private.h: ... here.
6449
b8c03620
RH
6450 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6451 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6452 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6453
4e234f5d 6454 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6455 and <math_private.h>.
6456 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6457 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6458 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6459 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6460 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6461 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6462 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6463 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6464 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6465 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6466 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6467 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6468 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6469 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6470 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6471 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6472 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6473 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6474 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6475 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6476 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6477 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6478 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6479 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6480 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6481 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6482 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6483 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6484 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6485 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6486 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6487 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6488 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6489 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6490 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6491 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6492 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6493 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6494 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6495 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6496 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6497 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6498 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6499 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6500 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6501 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6502 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6503 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6504 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6505 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6506 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6507 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6508 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6509 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6510 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6511 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6512 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6513 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6514 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6515 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6516 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6517 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6518 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6519 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6520 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6521 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6522 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6523 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6524 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6525 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6526 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6527 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6528 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6529 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6530 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6531 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6532 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6533 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6534 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6535 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6536 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6537 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6538 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6539 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6540 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6541 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6542 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6543 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6544 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6545 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6546 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6547 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6548 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6549 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6550 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6551 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6552 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6553 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6554 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6555 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6556 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6557 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6558 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6559 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6560 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6561 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6562 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6563 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6564 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6565 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6566 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6567 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6568 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6569 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6570 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6571 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6572 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6573 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6574 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6575 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6576 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6577 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6578 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6579 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6580 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6581 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6582 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6583 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6584 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6585 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6586 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6587 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6588 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6589 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6590 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6591 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6592 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6593 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6594 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6595 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6596 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6597 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6598 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6599 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6600 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6601 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6602 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6603 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6604 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6605 * sysdeps/ieee754/k_standard.c: Likewise.
6606 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6607 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6608 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6609 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6610 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6611 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6612 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6613 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6614 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6615 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6616 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6617 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6618 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6619 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6620 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6621 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6622 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6623 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6624 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6625 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6626 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6627 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6628 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6629 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6630 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6631 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6632 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6633 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6634 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6635 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6636 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6637 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6638 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6639 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6640 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6641 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6642 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6643 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6644 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6645 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6646 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6647 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6648 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6649 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6650 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6651 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6652 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6653 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6654 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6655 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6656 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6657 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6658 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6659 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6660 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6661 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6662 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6663 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6664 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6665 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6666 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6667 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6668 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6669 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6670 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6671 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6672 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6673 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6674 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6675 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6676 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6677 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6678 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6679 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6680 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6681 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6682 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6683 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6684 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6685 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6686 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6687 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6688 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6689 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6690 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6691 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6692 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6693 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6694 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6695 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6696 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6697 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6698 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6699 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6700 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6701 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6702 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6703 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6704 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6705 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6706 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6707 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6708 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6709 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6710 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6711 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6712 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6713 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6714 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6715 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6716 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6717 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6718 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6719 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6720 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6721 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6722 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6723 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6724 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6725 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6726 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6727 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6728 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6729 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6730 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6731 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6732 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6733 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6734 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6735 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6736 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6737 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6738 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6739 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6740 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6741 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6742 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6743 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6744 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6745 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6746 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6747 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6748 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6749 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6750 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6751 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6752 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6753 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6754 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6755 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6756 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6757 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6758 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6759 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6760 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6761 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6762 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6763 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6764 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6765 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6766 * sysdeps/ieee754/s_lib_version.c: Likewise.
6767 * sysdeps/ieee754/s_matherr.c: Likewise.
6768 * sysdeps/ieee754/s_signgam.c: Likewise.
6769 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6770 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6771 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6772 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6773 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6774 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6775 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6776 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6777 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6778 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6779 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6780 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6781 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6782 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6783 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6784 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6785 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6786 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6787 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6788 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6789 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 6790
1991fa03
JM
67912012-03-09 Joseph Myers <joseph@codesourcery.com>
6792
6793 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6794 * sunrpc/rpc_main.c: Likewise.
6795 * sunrpc/rpc_svcout.c: Likewise.
6796
60d6f5a6
DM
67972012-03-09 David S. Miller <davem@davemloft.net>
6798
6799 * include/math_private.h: New file.
6800
4962050e
JM
68012012-03-09 Joseph Myers <joseph@codesourcery.com>
6802
02a6f887
JM
6803 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6804 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6805 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6806 from <bits/socket_type.h>.
6807 (enum __socket_type): Don't define here.
6808 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6809 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6810 bits/socket_type.h.
6811
c6e013c1
JM
6812 [BZ #13566]
6813 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6814 checking __USE_GNU.
6815
4962050e
JM
6816 * Makerules ($(inst_includedir)/%.h): New rule.
6817 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6818 (install-others): Remove variable setting.
6819 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6820
38842f45
RH
68212012-03-08 Richard Henderson <rth@twiddle.net>
6822
67bb6da6
RH
6823 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6824 from macro to inline function; merge with the
6825 !__LIBC_INTERNAL_MATH_INLINES version.
6826 (__ieee754_sqrtf): Likewise.
6827
15194b4b
RH
6828 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6829 to inline function.
6830 (__rintf, __floor, __floorf): Likewise.
6831
64e21ede
RH
6832 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6833 macro to inline function.
6834 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6835
38842f45
RH
6836 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6837 not <math/math_private.h>.
6838
c64bf5fe
DM
68392012-03-08 David S. Miller <davem@davemloft.net>
6840
6841 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6842 copyright year.
6843 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6844
82d86f28
TS
68452012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6846
6847 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6848 normalization.
6849 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6850 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6851
aea5d727
UD
68522012-03-08 Ulrich Drepper <drepper@gmail.com>
6853
6854 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6855 be defined individually, they must be defined as a block. Define
6856 S for printing a string instead of hidint the different by using a
6857 macro for adding the 'l'.
6858 * stdio-common/tst-fphex-wide.c: Adjust.
6859
70bca0a3
MP
68602012-03-07 Marek Polacek <polacek@redhat.com>
6861
6862 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6863
65b81130
MP
68642012-03-08 Marek Polacek <polacek@redhat.com>
6865
6866 [BZ #13806]
6867 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6868 * stdio-common/tst-fphex.c: Define a few macros to make the
6869 test reusable. Use them.
6870 * stdio-common/tst-fphex-wide.c: New file.
6871
07037eeb
JM
68722012-03-08 Joseph Myers <joseph@codesourcery.com>
6873
a7a93d50
JM
6874 [BZ #6911]
6875 * manual/macros.texi (gnusystems): New macro.
6876 (nongnusystems): Likewise.
6877 (gnulinuxhurdsystems): Likewise.
6878 (gnuhurdsystems): Likewise..
6879 (gnulinuxsystems): Likewise.
6880 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6881 variants of the GNU system, not "GNU system".
6882 * manual/conf.texi: Likewise.
6883 * manual/errno.texi: Likewise. Update example of errno macro
6884 expansion.
6885 * manual/filesys.texi: Likewise.
6886 (getumask): Document as specific to GNU/Hurd.
6887 * manual/install.texi: Likewise. Reword some references to
6888 GNU/Linux.
6889 * manual/intro.texi: Likewise.
6890 * manual/io.texi: Likewise.
6891 (File Name Portability): Detail which constraints are inapplicable
6892 to all GNU systems and which are only inapplicable to GNU/Hurd.
6893 * manual/job.texi: Likewise.
6894 * manual/llio.texi: Likewise.
6895 (O_NOCTTY): Document as present on GNU/Linux.
6896 * manual/maint.texi: Likewise.
6897 * manual/memory.texi: Likewise.
6898 * manual/pattern.texi: Likewise.
6899 * manual/pipe.texi: Likewise.
6900 * manual/process.texi: Likewise.
6901 * manual/resource.texi: Likewise.
6902 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6903 child on GNU/Hurd.
6904 * manual/setjmp.texi: Likewise.
6905 * manual/signal.texi: Likewise.
6906 * manual/startup.texi: Likewise.
6907 * manual/stdio.texi: Likewise.
6908 * manual/terminal.texi: Likewise.
6909 (ONLCR): Document as POSIX.
6910 (OXTABS): Document availability on GNU/Linux as XTABS.
6911 (ONOEOT): Document availability separately from other bits.
6912 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6913 * manual/time.texi: Likewise.
6914 * manual/users.texi: Likewise.
6915 * INSTALL: Regenerated.
6916 * sysdeps/gnu/errlist.c: Regenerated.
6917
07037eeb
JM
6918 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6919 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6920 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6921 puts.
6922 * configure: Regenerated.
6923
d1d3431a
JM
69242012-03-07 Joseph Myers <joseph@codesourcery.com>
6925
af6a1e37
JM
6926 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6927 default includes instead of AC_HEADER_CHECK.
6928 * sysdeps/i386/configure: Regenerated.
6929
d1d3431a
JM
6930 [BZ #10716]
6931 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6932 * math/s_cacoshf.c (__cacoshf): Likewise.
6933 * math/s_cacoshl.c (__cacoshl): Likewise.
6934 * math/s_casinh.c (__casinh): Set signs of result from argument.
6935 * math/s_casinhf.c (__casinhf): Likewise.
6936 * math/s_casinhl.c (__casinhl): Likewise.
6937 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6938 (casinh_test): Add more tests.
6939 * sysdeps/i386/fpu/libm-test-ulps: Update.
6940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6941
482ff4da
UD
69422012-03-07 Ulrich Drepper <drepper@gmail.com>
6943
872fda05
UD
6944 * po/zh_TW.po: Update from translation team.
6945
a4300c7a
UD
6946 * login/Makefile (distribute): Remove variable.
6947 * catgets/Makefile: Likewise.
6948 * mach/Makefile: Likewise.
6949 * malloc/Makefile: Likewise.
6950 * misc/Makefile: Likewise.
6951 * iconv/Makefile: Likewise.
6952 * nscd/Makefile: Likewise.
6953 * hurd/Makefile: Likewise.
6954 * manual/Makefile: Likewise.
6955 * locale/Makefile: Likewise.
6956 * intl/Makefile: Likewise.
6957 * conform/Makefile: Likewise.
6958 * nss/Makefile: Likewise.
6959 * time/Makefile: Likewise.
6960 * soft-fp/Makefile: Likewise.
6961 * dirent/Makefile: Likewise.
6962 * gmon/Makefile: Likewise.
6963 * po/Makefile: Likewise.
6964 * rt/Makefile: Likewise.
6965 * socket/Makefile: Likewise.
6966 * math/Makefile: Likewise.
6967 * signal/Makefile: Likewise.
6968 * debug/Makefile: Likewise.
6969 * elf/Makefile: Likewise.
6970 * timezone/Makefile: Likewise.
6971 * stdlib/Makefile: Likewise.
6972 * iconvdata/Makefile: Likewise.
6973 * sunrpc/Makefile: Likewise.
6974 * io/Makefile: Likewise.
6975 * argp/Makefile: Likewise.
6976 * inet/Makefile: Likewise.
6977 * hesiod/Makefile: Likewise.
6978 * grp/Makefile: Likewise.
6979 * csu/Makefile: Likewise.
6980 * wctype/Makefile: Likewise.
6981 * crypt/Makefile: Likewise.
6982 * libio/Makefile: Likewise.
6983 * string/Makefile: Likewise.
6984 * nis/Makefile: Likewise.
6985 * resolv/Makefile: Likewise.
6986 * stdio-common/Makefile: Likewise.
6987 * wcsmbs/Makefile: Likewise.
6988 * dlfcn/Makefile: Likewise.
6989 * posix/Makefile: Likewise.
6990
3b7c4e74 6991 [BZ #6959]
482ff4da
UD
6992 * timezone/Makefile: Don't install timezone files, just the programs
6993 and scripts.
6994
f72ed77d
UD
69952012-03-06 Ulrich Drepper <drepper@gmail.com>
6996
a000466f
UD
6997 * nss/databases.def: Add missing gshadow entry.
6998
f72ed77d
UD
6999 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7000
a53b7a4e
MP
70012012-03-06 Marek Polacek <polacek@redhat.com>
7002
7003 [BZ #13726]
7004 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7005 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7006 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7007 * stdio-common/tst-long-dbl-fphex.c: New file.
7008
e9258400
DM
70092012-03-06 David S. Miller <davem@davemloft.net>
7010
7011 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7012 (set_obp_int): New function.
7013 (get_obp_int): New function.
7014 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7015 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7016 Avoid unused variable warnings on 'val' and use builtin_expect.
7017 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7018 __builtin_expect.
e9258400
DM
7019 (INLINE_CLONE_SYSCALL): Likewise.
7020
3bd2c723
DM
70212012-03-05 David S. Miller <davem@davemloft.net>
7022
7023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7024
bbb78d03
AS
70252012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7026
884c5db4
AS
7027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7028
bbb78d03
AS
7029 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7030 only for |x| >= 40.
7031 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7032
1c9f702a 70332012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7034
7035 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7036 Replace gettimeofday with __vdso_gettimeofday.
7037
7be16f82
RM
7038 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7039 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7040 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7041
7042 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7043 time with __vdso_time.
7044
ed58a00f
JM
70452012-03-05 Joseph Myers <joseph@codesourcery.com>
7046
7047 * manual/lang.texi (size_t): Note types to which size_t may be
7048 equivalent with the GNU C Library, but do not describe when
7049 differences between them are significant.
7050
30ee4ced
AJ
70512012-03-05 Andreas Jaeger <aj@suse.de>
7052
7053 * sysdeps/i386/fpu/libm-test-ulps: Update.
7054
b7cd39e8
JM
70552012-03-05 Joseph Myers <joseph@codesourcery.com>
7056
7057 [BZ #3976]
7058 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7059 (__ieee754_pow): Save and restore rounding mode and use
7060 round-to-nearest for main computations.
7061 * math/libm-test.inc (pow_test_tonearest): New function.
7062 (pow_test_towardzero): Likewise.
7063 (pow_test_downward): Likewise.
7064 (pow_test_upward): Likewise.
7065 (main): Call the new functions.
7066 * sysdeps/i386/fpu/libm-test-ulps: Update.
7067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7068
7069 [BZ #3976]
7070 * math/libm-test.inc (cosh_test_tonearest): New function.
7071 (cosh_test_towardzero): Likewise.
7072 (cosh_test_downward): Likewise.
7073 (cosh_test_upward): Likewise.
7074 (sinh_test_tonearest): Likewise.
7075 (sinh_test_towardzero): Likewise.
7076 (sinh_test_downward): Likewise.
7077 (sinh_test_upward): Likewise.
7078 (main): Call the new functions.
7079 * sysdeps/i386/fpu/libm-test-ulps: Update.
7080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7081
6c6a98c9
TV
70822012-03-05 Tom de Vries <tom@codesourcery.com>
7083
7084 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7085 default stack guard is set in last bytes.
7086 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7087
21bb2d2e 70882012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7089
21bb2d2e 7090 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7091
21bb2d2e
AJ
7092 [BZ #13656]
7093 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7094 possibly allocate from heap instead of stack.
7095 * stdio-common/bug-vfprintf-nargs.c: New file.
7096 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7097
c6922934
AS
70982012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7099
7100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7101
bc957d53
MP
71022012-03-03 Marek Polacek <polacek@redhat.com>
7103
7104 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7105 * math/math_private.h: Likewise.
7106 * stdlib/tst-strtod.c: Likewise.
7107 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7108 * sysdeps/x86_64/bits/atomic.h: Likewise.
7109
6358490d
DM
71102012-03-02 David S. Miller <davem@davemloft.net>
7111
7112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7116 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7117 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7118 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7119 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7120
01ae168d
RM
71212012-03-02 Roland McGrath <roland@hack.frob.com>
7122
d9a17c07
RM
7123 [BZ #13792]
7124 * manual/examples/README: New file, says the example source files
7125 can be used under GPL>=2.
7126 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7127 line containing just "*/".
7128 * manual/examples/add.c: Add copyright header (GPL>=2).
7129 * manual/examples/argp-ex1.c: Likewise.
7130 * manual/examples/argp-ex2.c: Likewise.
7131 * manual/examples/argp-ex3.c: Likewise.
7132 * manual/examples/argp-ex4.c: Likewise.
7133 * manual/examples/atexit.c: Likewise.
7134 * manual/examples/db.c: Likewise.
7135 * manual/examples/dir.c: Likewise.
7136 * manual/examples/dir2.c: Likewise.
7137 * manual/examples/execinfo.c: Likewise.
7138 * manual/examples/filecli.c: Likewise.
7139 * manual/examples/filesrv.c: Likewise.
7140 * manual/examples/fmtmsgexpl.c: Likewise.
7141 * manual/examples/genpass.c: Likewise.
7142 * manual/examples/inetcli.c: Likewise.
7143 * manual/examples/inetsrv.c: Likewise.
7144 * manual/examples/isockad.c: Likewise.
7145 * manual/examples/longopt.c: Likewise.
7146 * manual/examples/memopen.c: Likewise.
7147 * manual/examples/memstrm.c: Likewise.
7148 * manual/examples/mkfsock.c: Likewise.
7149 * manual/examples/mkisock.c: Likewise.
7150 * manual/examples/mygetpass.c: Likewise.
7151 * manual/examples/pipe.c: Likewise.
7152 * manual/examples/popen.c: Likewise.
7153 * manual/examples/rprintf.c: Likewise.
7154 * manual/examples/search.c: Likewise.
7155 * manual/examples/select.c: Likewise.
7156 * manual/examples/setjmp.c: Likewise.
7157 * manual/examples/sigh1.c: Likewise.
7158 * manual/examples/sigusr.c: Likewise.
7159 * manual/examples/stpcpy.c: Likewise.
7160 * manual/examples/strdupa.c: Likewise.
7161 * manual/examples/strftim.c: Likewise.
7162 * manual/examples/strncat.c: Likewise.
7163 * manual/examples/subopt.c: Likewise.
7164 * manual/examples/swapcontext.c: Likewise.
7165 * manual/examples/termios.c: Likewise.
7166 * manual/examples/testopt.c: Likewise.
7167 * manual/examples/testpass.c: Likewise.
7168 * manual/examples/timeval_subtract.c: Likewise.
7169
01ae168d
RM
7170 [BZ #13792]
7171 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7172 function to ...
7173 * manual/timeval_subtract.c.texi: ... here, new file.
7174
49efa33d
DM
71752012-03-02 David S. Miller <davem@davemloft.net>
7176
7177 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7178
28afd92d
JM
71792012-03-02 Joseph Myers <joseph@codesourcery.com>
7180
804360ed
JM
7181 [BZ #3976]
7182 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7183 (__sin): Save and restore rounding mode and use round-to-nearest
7184 for all computations.
7185 (__cos): Save and restore rounding mode and use round-to-nearest
7186 for all computations.
7187 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7188 <fenv.h>.
7189 (tan): Save and restore rounding mode and use round-to-nearest for
7190 all computations.
7191 * math/libm-test.inc (cos_test_tonearest): New function.
7192 (cos_test_towardzero): Likewise.
7193 (cos_test_downward): Likewise.
7194 (cos_test_upward): Likewise.
7195 (sin_test_tonearest): Likewise.
7196 (sin_test_towardzero): Likewise.
7197 (sin_test_downward): Likewise.
7198 (sin_test_upward): Likewise.
7199 (tan_test_tonearest): Likewise.
7200 (tan_test_towardzero): Likewise.
7201 (tan_test_downward): Likewise.
7202 (tan_test_upward): Likewise.
7203 (main): Call the new functions.
7204 * sysdeps/i386/fpu/libm-test-ulps: Update.
7205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7206
a6d06d7b
JM
7207 [BZ #10135]
7208 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7209 small n, then large n, before computing and testing k+n.
7210 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7211 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7212 Likewise.
7213 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7214 Likewise.
7215 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7216 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7217 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7218 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7219 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7220 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7221 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7222 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7223 * math/libm-test.inc (scalbn_test): Add more tests.
7224 (scalbln_test): Likewise.
7225
07e12bb3
JM
7226 * manual/filesys.texi (mode_t): Describe constraints on size and
7227 signedness, not exact equivalence to a particular type.
7228 (ino_t): Likewise.
7229 (ino64_t): Likewise.
7230 (dev_t): Likewise.
7231 (nlink_t): Likewise.
7232 (blkcnt_t): Likewise.
7233 (blkcnt64_t): Likewise.
7234 * manual/llio.texi (off_t): Likewise.
7235
28afd92d
JM
7236 [BZ #3976]
7237 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7238 (__ieee754_exp): Save and restore rounding mode and use
7239 round-to-nearest for all computations.
7240 * math/libm-test.inc (exp_test_tonearest): New function.
7241 (exp_test_towardzero): Likewise.
7242 (exp_test_downward): Likewise.
7243 (exp_test_upward): Likewise.
7244 (main): Call the new functions.
7245 * sysdeps/i386/fpu/libm-test-ulps: Update.
7246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7247
b1eeb65d
CD
72482012-03-01 Chris Demetriou <cgd@google.com>
7249
7250 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7251 have predictable order.
7252
53362a4b
DM
72532012-03-01 David S. Miller <davem@davemloft.net>
7254
3c969083
DM
7255 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7256
759707de
DM
7257 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7258 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7259 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7260 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7261
dfdb8ff2
DM
7262 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7263 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7264 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7266 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7267 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7268 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7269 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7270 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7271
ead89f96
DM
7272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7273
7f66bd07
DM
7274 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7275 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7276 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7277
53362a4b
DM
7278 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7279 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7280 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7281 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7282 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7283 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7284 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7285 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7286 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7287 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7288 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7289 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7290 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7291 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7292 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7293 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7294 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7295 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7296 * sysdeps/sparc/elf/configure: Regenerated.
7297
7b1902cb
JM
72982012-03-01 Joseph Myers <joseph@codesourcery.com>
7299
bec039bc
JM
7300 * configure.in (AS, LD): Require binutils 2.20 or later.
7301 * configure: Regenerated.
7302 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7303 as required minimum version.
7304 * INSTALL: Regenerated.
7305
7b1902cb
JM
7306 [BZ #2541]
7307 [BZ #4108]
7308 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7309 before squaring exponent.
7310 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7311 bottom long double and 27 bits of top long double before squaring
7312 exponent.
7313 * math/libm-test.inc (erfc_test): Add more tests.
7314 * sysdeps/i386/fpu/libm-test-ulps: Update.
7315 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7317
f775c276
KT
73182012-03-01 Kai Tietz <ktietz@redhat.com>
7319
7320 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7321 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7322 containing bit-fields.
7323 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7324 * soft-fp/single.h (_FP_UNION_S): Likewise.
7325 * soft-fp/double.h (_FP_UNION_D): Likewise.
7326
5b8a4d4a
JM
73272012-02-29 Joseph Myers <joseph@codesourcery.com>
7328
0bab47b6
JM
7329 [BZ #13786]
7330 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7331 not include ../strcmp.S.
7332 [USE_AS_STRNCASECMP_L]: Likewise.
7333 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7334 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7335 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7336 (__strncasecmp_l_ia32): Define as alias to
7337 __strncasecmp_l_nonascii.
7338
0fcad3e2
JM
7339 [BZ #5794]
7340 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7341 * sysdeps/i386/fpu/libm-test-ulps: Update.
7342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7343
5b8a4d4a
JM
7344 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7346
8fdceb2e
JL
73472012-02-29 Jeff Law <law@redhat.com>
7348
7349 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7350 out of bounds read.
7351
1f393a11
MP
73522012-02-29 Marek Polacek <polacek@redhat.com>
7353
7354 [BZ #13706]
7355 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7356 * elf/Makefile: Add rules to run tst-unused-dep.out.
7357
8847f037
DM
73582012-02-28 David S. Miller <davem@davemloft.net>
7359
7360 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7361 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7362 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7363 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7364 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7365 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7366
169d7f11
JM
73672012-02-29 Joseph Myers <joseph@codesourcery.com>
7368
7369 * math/libm-test.inc (llround_test): Move one test from
7370 lround_test. Use TEST_f_L in moved test.
7371 (lround_test): Move misplaced test to llround_test. Add testcase
7372 from bug 2561.
7373
39adf059
UD
73742012-02-28 Ulrich Drepper <drepper@gmail.com>
7375
7376 * sysdeps/x86_64/fpu/e_expf.S: New file.
7377 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7378
71b5d1c5
SB
73792012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7380
7381 [BZ #13637]
7382 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7383 of remain_len that may cause incomplete multi-byte character and
7384 false match.
7385 * posix/bug-regex33.c: New file.
7386 * posix/Makefile (tests): Add bug-regex33.
7387
1f77f049
JM
73882012-02-28 Joseph Myers <joseph@codesourcery.com>
7389
7390 * manual/macros.texi: New file.
7391 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7392 * manual/libc.texinfo: Include macros.texi.
7393 * manual/creatute.texi: Likewise.
7394 * manual/install.texi: Likewise.
7395 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7396 @glibcadj{} in references to the GNU C Library.
7397 * manual/charset.texi: Likewise.
7398 * manual/conf.texi: Likewise.
7399 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7400 when not using those macros.
7401 * manual/creature.texi: Likewise.
7402 * manual/crypt.texi: Likewise.
7403 * manual/errno.texi: Likewise.
7404 * manual/filesys.texi: Likewise.
7405 * manual/header.texi: Likewise.
7406 * manual/install.texi: Likewise.
7407 * manual/intro.texi: Likewise.
7408 * manual/io.texi: Likewise.
7409 * manual/job.texi: Likewise.
7410 * manual/lang.texi: Likewise.
7411 * manual/libc.texiinfo: Likewise.
7412 * manual/llio.texi: Likewise.
7413 * manual/locale.texi: Likewise.
7414 * manual/maint.texi: Likewise.
7415 * manual/math.texi: Likewise.
7416 * manual/memory.texi: Likewise.
7417 * manual/message.texi: Likewise.
7418 * manual/nss.texi: Likewise.
7419 * manual/pattern.texi: Likewise.
7420 * manual/process.texi: Likewise.
7421 * manual/resource.texi: Likewise.
7422 * manual/search.texi: Likewise.
7423 * manual/setjmp.texi: Likewise.
7424 * manual/signal.texi: Likewise.
7425 * manual/socket.texi: Likewise.
7426 * manual/startup.texi: Likewise.
7427 * manual/stdio.texi: Likewise.
7428 * manual/string.texi: Likewise.
7429 * manual/sysinfo.texi: Likewise.
7430 * manual/syslog.texi: Likewise.
7431 * manual/terminal.texi: Likewise.
7432 * manual/time.texi: Likewise.
7433 * manual/users.texi: Likewise.
7434 * INSTALL: Regenerated.
7435 * NOTES: Regenerated.
d40c5d54 7436 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7437
450bf206
AS
74382012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7439
7440 * include/dirent.h: Include <dirstream.h> before
7441 <dirent/dirent.h>.
7442
741a235b
DM
74432012-02-28 David S. Miller <davem@davemloft.net>
7444
7445 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7446 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7447 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7448 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7449
d6b5aa58
DM
74502012-02-27 David S. Miller <davem@davemloft.net>
7451
1aff59a3
DM
7452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7454 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7455 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7456
d6b5aa58
DM
7457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7458 frame pointer instead of stack pointer relative arg slot.
7459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7460 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7461 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7462
433f48bf
CD
74632012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7464
7465 [BZ #3992]
7466 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7467
d674b76d
DM
74682012-02-27 David S. Miller <davem@davemloft.net>
7469
7470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7474 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7475 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7476 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7477 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7478
0e7727f7
JM
74792012-02-27 Joseph Myers <joseph@codesourcery.com>
7480
7481 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7482 later. Allow versions 5-9.
43be4ca2 7483 * configure: Regenerated.
0e7727f7
JM
7484 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7485 required minimum version and 4.6 as recommended version. Do not
7486 mention bugs in GCC 2.7 and 2.8.
43be4ca2 7487 * INSTALL: Regenerated.
0e7727f7 7488
a78bc654
DM
74892012-02-27 David S. Miller <davem@davemloft.net>
7490
428d5830
DM
7491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7495 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7496 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7497 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7498 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7499
a78bc654
DM
7500 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7501 manipulate bits before adding and subtracting TWO112[sx].
7502 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7503
4579f81c
RM
75042012-02-27 Roland McGrath <roland@hack.frob.com>
7505
36c8acb4
RM
7506 [BZ #13775]
7507 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7508 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7509 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7510 being in POSIX, because they are in 1003.1-2008.
7511
84ad622b
RM
7512 * rt/tst-aio.c: Include <fcntl.h>.
7513 * rt/tst-aio7.c: Likewise.
7514 * rt/tst-aio64.c: Likewise.
7515
4579f81c
RM
7516 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7517
abd923db
JM
75182012-02-27 Joseph Myers <joseph@codesourcery.com>
7519
7520 * manual/install.texi (--with-headers): Describe headers as
7521 interface headers, not private headers.
7522 (Specific advice for GNU/Linux systems): Describe use of headers
7523 from "make headers_install", not private headers from older
7524 kernels.
43be4ca2 7525 * INSTALL: Regenerated.
abd923db
JM
7526 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7527 Change to 2.6.19.
7528 * sysdeps/unix/sysv/linux/configure: Regenerated.
7529
6664049b
JM
7530 * manual/llio.texi (fclean): Remove documentation.
7531
bb8b6697
JM
7532 * manual/Makefile (libc-texi-generated): New variable. Include
7533 version.texi.
7534 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7535 $(libc-texi-generated), not duplicated list of files.
7536 (version.texi, stamp-version): New rules.
7537 (realclean): Remove $(libc-texi-generated), not individual files
7538 from that list. Do not remove dir-add.texinfo.
7539 * manual/libc.texinfo: Comment out uses of edition numbers and
7540 references to printed manual. Remove last-updated dates.
7541 (EDITION): Comment out.
7542 (ISBN): Likewise.
7543 (VERSION, UPDATED): Remove.
7544 (version.texi): Include.
7545
12e5c3b9
AS
75462012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7547
7548 * sysdeps/posix/spawni.c: Include <signal.h>.
7549 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7550 * sysdeps/pthread/aio_fsync.c: Likewise.
7551
4efeffc1 75522012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 7553
ba63ba08
UD
7554 * conform/Makefile (tests): Run only when not cross-compiling and
7555 when fast-check is not defined.
7556
d94a4670
UD
7557 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7558 * conform/data/limits.h-data: Fixes for POSIX2008.
7559 * conform/run-conformtest.sh: Run all tests.
7560 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7561 headers.
7562 * include/bits/dlfcn.h: Likewise.
7563 * include/langinfo.h: Likewise.
7564 * include/monetary.h: Likewise.
7565 * include/sys/poll.h: Likewise.
7566
7567 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7568 for __USE_GNU.
7569 * posix/spawn.h: Define __need_sigset_t.
7570 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7571 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7572 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7573 to get sigevent_t only.
7574 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7575 only for __USE_GNU.
7576 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7577 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7578 process_vm_writev only for __USE_GNU.
7579 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
7580
7581 * conform/Makefile: For now ignore errors from run-conformtest.
7582 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7583 POSIX to avoid namespace pollution. Don't prepend headers.
7584 * conform/data/aio.h-data: Fixes for POSIX testing.
7585 * conform/data/fcntl.h-data: Likewise.
7586 * conform/data/glob.h-data: Likewise.
7587 * conform/data/grp.h-data: Likewise.
7588 * conform/data/pthread.h-data: Likewise.
7589 * conform/data/pwd.h-data: Likewise.
7590 * conform/data/signal.h-data: Likewise.
7591 * conform/data/spawn.h-data: Likewise.
7592 * conform/data/stdio.h-data: Likewise.
7593 * conform/data/stdlib.h-data: Likewise.
7594 * conform/data/stropts.h-data: Likewise.
7595 * conform/data/sys/mman.h-data: Likewise.
7596 * conform/data/sys/stat.h-data: Likewise.
7597 * conform/data/sys/types.h-data: Likewise.
7598 * conform/data/sys/wait.h-data: Likewise.
7599 * conform/data/time.h-data: Likewise.
7600 * conform/data/unistd.h-data: Likewise.
7601 * conform/data/utime.h-data: Likewise.
7602
7603 * io/sys/stat.h: fchmod was always in POSIX.
7604 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7605 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7606 * rt/aio.h: Define __need_timespec before including <time.h>.
7607 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7608 struct. Add forward declaration of pthread_attr_t and use it in
7609 sigevent.
7610 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7611 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7612 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7613 always remove CLK_TCK definition.
7614
c20105c3
AS
76152012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7616
7617 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7618
7a270350
UD
76192012-02-25 Ulrich Drepper <drepper@gmail.com>
7620
31341567
UD
7621 * conform/run-conformtest.sh: New file.
7622 * conform/Makefile: Run run-conformtest for tests.
7623 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7624 support.
7625
7626 * conform/data/uchar.h-data: New file.
7627 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7628 * conform/data/arpa/inet.h-data: Likewise.
7629 * conform/data/assert.h-data: Likewise.
7630 * conform/data/complex.h-data: Likewise.
7631 * conform/data/cpio.h-data: Likewise.
7632 * conform/data/ctype.h-data: Likewise.
7633 * conform/data/dirent.h-data: Likewise.
7634 * conform/data/dlfcn.h-data: Likewise.
7635 * conform/data/errno.h-data: Likewise.
7636 * conform/data/fcntl.h-data: Likewise.
7637 * conform/data/float.h-data: Likewise.
7638 * conform/data/fmtmsg.h-data: Likewise.
7639 * conform/data/fnmatch.h-data: Likewise.
7640 * conform/data/ftw.h-data: Likewise.
7641 * conform/data/glob.h-data: Likewise.
7642 * conform/data/grp.h-data: Likewise.
7643 * conform/data/iconv.h-data: Likewise.
7644 * conform/data/inttypes.h-data: Likewise.
7645 * conform/data/langinfo.h-data: Likewise.
7646 * conform/data/libgen.h-data: Likewise.
7647 * conform/data/limits.h-data: Likewise.
7648 * conform/data/locale.h-data: Likewise.
7649 * conform/data/math.h-data: Likewise.
7650 * conform/data/monetary.h-data: Likewise.
7651 * conform/data/mqueue.h-data: Likewise.
7652 * conform/data/ndbm.h-data: Likewise.
7653 * conform/data/net/if.h-data: Likewise.
7654 * conform/data/netdb.h-data: Likewise.
7655 * conform/data/netinet/in.h-data: Likewise.
7656 * conform/data/nl_types.h-data: Likewise.
7657 * conform/data/poll.h-data: Likewise.
7658 * conform/data/pthread.h-data: Likewise.
7659 * conform/data/pwd.h-data: Likewise.
7660 * conform/data/regex.h-data: Likewise.
7661 * conform/data/sched.h-data: Likewise.
7662 * conform/data/search.h-data: Likewise.
7663 * conform/data/semaphore.h-data: Likewise.
7664 * conform/data/setjmp.h-data: Likewise.
7665 * conform/data/signal.h-data: Likewise.
7666 * conform/data/spawn.h-data: Likewise.
7667 * conform/data/stdarg.h-data: Likewise.
7668 * conform/data/stdio.h-data: Likewise.
7669 * conform/data/stdlib.h-data: Likewise.
7670 * conform/data/string.h-data: Likewise.
7671 * conform/data/strings.h-data: Likewise.
7672 * conform/data/stropts.h-data: Likewise.
7673 * conform/data/sys/ipc.h-data: Likewise.
7674 * conform/data/sys/mman.h-data: Likewise.
7675 * conform/data/sys/msg.h-data: Likewise.
7676 * conform/data/sys/resource.h-data: Likewise.
7677 * conform/data/sys/select.h-data: Likewise.
7678 * conform/data/sys/sem.h-data: Likewise.
7679 * conform/data/sys/shm.h-data: Likewise.
7680 * conform/data/sys/socket.h-data: Likewise.
7681 * conform/data/sys/stat.h-data: Likewise.
7682 * conform/data/sys/statvfs.h-data: Likewise.
7683 * conform/data/sys/time.h-data: Likewise.
7684 * conform/data/sys/timeb.h-data: Likewise.
7685 * conform/data/sys/times.h-data: Likewise.
7686 * conform/data/sys/types.h-data: Likewise.
7687 * conform/data/sys/uio.h-data: Likewise.
7688 * conform/data/sys/un.h-data: Likewise.
7689 * conform/data/sys/utsname.h-data: Likewise.
7690 * conform/data/sys/wait.h-data: Likewise.
7691 * conform/data/syslog.h-data: Likewise.
7692 * conform/data/tar.h-data: Likewise.
7693 * conform/data/termios.h-data: Likewise.
7694 * conform/data/utime.h-data: Likewise.
7695 * conform/data/utmpx.h-data: Likewise.
7696 * conform/data/varargs.h-data: Likewise.
7697 * conform/data/wchar.h-data: Likewise.
7698 * conform/data/wctype.h-data: Likewise.
7699 * conform/data/wordexp.h-data: Likewise.
7700
7701 * include/stropts.h: New file.
7702 * include/uchar.h: New file.
7703 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7704 * include/assert.h: Likewise.
7705 * include/ctype.h: Likewise.
7706 * include/dirent.h: Likewise.
7707 * include/dlfcn.h: Likewise.
7708 * include/fcntl.h: Likewise.
7709 * include/fnmatch.h: Likewise.
7710 * include/glob.h: Likewise.
7711 * include/grp.h: Likewise.
7712 * include/libio.h: Likewise.
7713 * include/locale.h: Likewise.
7714 * include/math.h: Likewise.
7715 * include/net/if.h: Likewise.
7716 * include/netdb.h: Likewise.
7717 * include/netinet/in.h: Likewise.
7718 * include/pthread.h: Likewise.
7719 * include/pwd.h: Likewise.
7720 * include/regex.h: Likewise.
7721 * include/sched.h: Likewise.
7722 * include/search.h: Likewise.
7723 * include/setjmp.h: Likewise.
7724 * include/signal.h: Likewise.
7725 * include/stdio.h: Likewise.
7726 * include/stdlib.h: Likewise.
7727 * include/string.h: Likewise.
7728 * include/sys/cdefs.h: Likewise.
7729 * include/sys/mman.h: Likewise.
7730 * include/sys/msg.h: Likewise.
7731 * include/sys/resource.h: Likewise.
7732 * include/sys/select.h: Likewise.
7733 * include/sys/socket.h: Likewise.
7734 * include/sys/stat.h: Likewise.
7735 * include/sys/statvfs.h: Likewise.
7736 * include/sys/time.h: Likewise.
7737 * include/sys/times.h: Likewise.
7738 * include/sys/uio.h: Likewise.
7739 * include/sys/utsname.h: Likewise.
7740 * include/sys/wait.h: Likewise.
7741 * include/termios.h: Likewise.
7742 * include/time.h: Likewise.
7743 * include/ulimit.h: Likewise.
7744 * include/unistd.h: Likewise.
7745 * include/utime.h: Likewise.
7746 * include/wchar.h: Likewise.
7747 * include/wctype.h: Likewise.
7748 * include/wordexp.h: Likewise.
7749
7750 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7751
7a270350
UD
7752 * time/time.h: TIME_UTC must be a macro.
7753 Make timespec_get available for ISO C11 only as well.
7754
7724defc
UD
77552012-02-24 Ulrich Drepper <drepper@gmail.com>
7756
7757 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7758 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7759
6b1d1d46
JM
77602012-02-24 Joseph Myers <joseph@codesourcery.com>
7761
7762 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 7763
0f8bbd69
JM
77642012-02-24 Joseph Myers <joseph@codesourcery.com>
7765
7766 * manual/texinfo.tex: Update to version 2012-01-19.16.
7767
66ab80bc
JM
77682012-02-24 Joseph Myers <joseph@codesourcery.com>
7769
7770 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7771
74981cc5
RM
77722012-02-24 Roland McGrath <roland@hack.frob.com>
7773
ee968201
RM
7774 [BZ #13738]
7775 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7776 * manual/fdl-1.3.texi: New file.
7777 * manual/fdl-1.1.texi: File removed.
7778
74981cc5
RM
7779 [BZ #13738]
7780 * manual/libc.texinfo (FDL_VERSION): New @set.
7781 Use it for mention of FDL in cover text.
7782 (Documentation License): Use it in @include file name.
7783
7bb764bc
JM
77842012-02-22 Joseph Myers <joseph@codesourcery.com>
7785 Roland McGrath <roland@hack.frob.com>
7786
7787 [BZ #5461]
7788 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7789 not LONG_LONG_MAX and LONG_LONG_MIN.
7790 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7791 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7792 name.
7793 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7794
6cbeae47
JM
77952012-02-22 Joseph Myers <joseph@codesourcery.com>
7796
7797 [BZ #2547]
7798 [BZ #11365]
7799 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7800 manipulate bits before adding and subtracting TWO23[sx].
7801 * math/libm-test.inc (nearbyint_test): Add more tests.
7802
fe45ce09
JM
78032012-02-22 Joseph Myers <joseph@codesourcery.com>
7804
7805 [BZ #2548]
7806 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7807 bits before adding and subtracting TWO23[sx].
7808 * math/libm-test.inc (rint_test): Add more tests.
7809 (rint_test_tonearest): Likewise.
7810 (rint_test_towardzero): Likewise.
7811 (rint_test_downward): Likewise.
7812 (rint_test_upward: Likewise.
7813
ff3b3d82
JM
78142012-02-22 Joseph Myers <joseph@codesourcery.com>
7815
7816 [BZ #10110]
7817 * include/stdc-predef.h: New file. Extracted from features.h.
7818 * include/features.h: Include stdc-predef.h.
7819 * Makefile (headers): Add stdc-predef.h.
7820 * CONFORMANCE (Compiler limitations): Update.
7821
ef0aab35
JM
78222012-02-22 Joseph Myers <joseph@codesourcery.com>
7823
7824 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7825
58639409
DM
78262012-02-21 David S. Miller <davem@davemloft.net>
7827
7828 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7829 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7830
c0e70b25
DM
78312012-02-20 David S. Miller <davem@davemloft.net>
7832
7833 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7834 using a normal save/restore sequence, rather than allocating a
7835 dummy stack frame just to store a frame pointer and restore.
7836 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7837
fb06851d
JM
78382012-02-21 Joseph Myers <joseph@codesourcery.com>
7839
7840 * manual/install.texi: Fix stray word in line-wrapped comment.
7841
7a8b71c3
DM
78422012-02-20 David S. Miller <davem@davemloft.net>
7843
d510c123
DM
7844 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7845 both binutils and gcc support GOTDATA.
7846
0722d7c2
DM
7847 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7848 "rd %pc" in the PIC register setup sequences.
7849
3d2b3019
DM
7850 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7851 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7852 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7853 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7854 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7855 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7856 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7857 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7858 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7859 (SYSCALL_ERROR_HANDLER): Likewise.
7860 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7861 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7862 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7863 (SYSCALL_ERROR_HANDLER): Likewise.
7864
c80098a9
DM
7865 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7866 (HAVE_GCC_GOTDATA): New.
7867 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7868 relocation support in both binutils and gcc.
7869 * sysdeps/sparc/elf/configure: Regenerate.
7870
3a2545a0
DM
7871 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7872 * sysdeps/sparc/sparc32/elf/configure: Delete.
7873 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7874 * sysdeps/sparc/sparc64/elf/configure: Delete.
7875 * sysdeps/sparc/elf/configure.in: New file.
7876 * sysdeps/sparc/elf/configure: Generate.
7877
7a8b71c3
DM
7878 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7879 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7880 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7881 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7882 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7883
f1e86fca
JM
78842012-02-21 Joseph Myers <joseph@codesourcery.com>
7885
7886 * manual/install.texi: Do not mention specific glibc version
7887 numbers.
7888 * manual/libc.texinfo (VERSION, UPDATED): Update.
7889 (@copying): Use @copyright{} and range of years.
7890
0e7dfaef
JM
78912012-02-21 Joseph Myers <joseph@codesourcery.com>
7892
7893 [BZ #13695]
7894 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7895 [crti.S not in sysdirs] (generated): Do not append.
7896 [crti.S not in sysdirs] (omit-deps): Likewise.
7897 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7898 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7899 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7900 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7901 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7902 Likewise.
7903 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7904 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7905 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7906 * csu/defs.awk: Remove file.
7907 * sysdeps/generic/initfini.c: Likewise.
7908 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7909 variable.
7910 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7911 Likewise.
7912
599af3ca
JM
79132012-02-20 Joseph Myers <joseph@codesourcery.com>
7914
7915 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7916 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7917 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7918 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7919 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7920 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7921 <bits/epoll.h>.
7922 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7923 (__EPOLL_PACKED): Define to empty if not defined by
7924 <bits/epoll.h>.
7925 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7926 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7927 bits/epoll.h.
7928
0e499750
JM
79292012-02-20 Joseph Myers <joseph@codesourcery.com>
7930
7931 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7932 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7933 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7934 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7935 <bits/timerfd.h>.
7936 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7937 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7938 bits/timerfd.h.
7939
5ad91f6e
JM
79402012-02-20 Joseph Myers <joseph@codesourcery.com>
7941
7942 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7943 in C locale.
7944 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7945 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7946 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7948
06b99b02
AJ
79492012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7950
7951 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7952 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7953
7638c0fd
AS
79542012-02-19 Andreas Schwab <schwab@linux-m68k.org>
7955
7956 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
7957 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
7958 defined.
7959 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
7960 Likewise.
7961 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7962 entry for 2.16.
7963
92221550
AJ
79642012-02-19 Aurelien Jarno <aurelien@aurel32.net>
7965
7966 * math/w_acos.c: Use non-signaling floating-point comparisons.
7967 * math/w_acosf.c: Likewise.
7968 * math/w_acosh.c: Likewise.
7969 * math/w_acoshf.c: Likewise.
7970 * math/w_acoshl.c: Likewise.
7971 * math/w_acosl.c: Likewise.
7972 * math/w_asin.c: Likewise.
7973 * math/w_asinf.c: Likewise.
7974 * math/w_asinl.c: Likewise.
7975 * math/w_atanh.c: Likewise.
7976 * math/w_atanhf.c: Likewise.
7977 * math/w_atanhl.c: Likewise.
7978 * math/w_exp2.c: Likewise.
7979 * math/w_exp2f.c: Likewise.
7980 * math/w_exp2l.c: Likewise.
7981 * math/w_j0.c: Likewise.
7982 * math/w_j0f.c: Likewise.
7983 * math/w_j0l.c: Likewise.
7984 * math/w_j1.c: Likewise.
7985 * math/w_j1f.c: Likewise.
7986 * math/w_j1l.c: Likewise.
7987 * math/w_jn.c: Likewise.
7988 * math/w_jnf.c: Likewise.
7989 * math/w_log.c: Likewise.
7990 * math/w_log10.c: Likewise.
7991 * math/w_log10f.c: Likewise.
7992 * math/w_log10l.c: Likewise.
7993 * math/w_log2.c: Likewise.
7994 * math/w_log2f.c: Likewise.
7995 * math/w_log2l.c: Likewise.
7996 * math/w_logf.c: Likewise.
7997 * math/w_logl.c: Likewise.
7998 * math/w_sqrt.c: Likewise.
7999 * math/w_sqrtf.c: Likewise.
8000 * math/w_sqrtl.c: Likewise.
8001 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8002 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8003 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8004 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8005 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8006
ebaf36eb
JM
80072012-02-19 Joseph Myers <joseph@codesourcery.com>
8008
8009 [BZ #9739]
8010 * manual/string.texi (strnlen): Use correct parameter name in
8011 equivalent expression.
8012
71c254a6
JM
80132012-02-19 Joseph Myers <joseph@codesourcery.com>
8014
8015 [BZ #11174]
8016 * manual/users.texi (seteuid): Consistently use neweuid for
8017 argument name.
8018
16d2c631
JM
80192012-02-19 Joseph Myers <joseph@codesourcery.com>
8020
8021 [BZ #13704]
8022 * manual/nss.texi (Services in the NSS configuration): Correct
8023 list of services in example configuration file.
8024
cd837b09
NB
80252012-02-19 Nick Bowler <nbowler@draconx.ca>
8026
8027 [BZ #11322]
8028 * manual/arith.texi: Remove statements about negative zero
8029 behaving identically to zero.
8030
02c4bbad
JM
80312012-02-18 Joseph Myers <joseph@codesourcery.com>
8032
8033 [BZ #5993]
8034 * manual/install.texi: Do not document upgrading from libc5.
8035
366842e7
JM
80362012-02-18 Joseph Myers <joseph@codesourcery.com>
8037
8038 [BZ #4596]
8039 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8040
dd54084d
DM
80412012-02-18 David S. Miller <davem@davemloft.net>
8042
8043 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8044 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8045 %o7 across the call.
8046 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8047 instead.
8048 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8049 SETUP_PIC_REG_LEAF.
8050 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8051 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8052 * sysdeps/sparc/crtn.S: Likewise.
8053
2bcc53a3
UD
80542012-02-17 Ulrich Drepper <drepper@gmail.com>
8055
8056 * aout/Makefile: Remove.
8057
09c093b5
RK
80582012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8059
8060 [BZ #13058]
8061 * manual/examples/argp-ex1.c (main): Format definition in GNU
8062 style.
8063 * manual/examples/argp-ex2.c (main): Likewise.
8064 * manual/examples/argp-ex3.c (main): Likewise.
8065 * manual/examples/argp-ex4.c (main): Likewise.
8066 * manual/examples/longopt.c (main): Use new-style prototype
8067 definition.
8068 * manual/examples/strncat.c (main): Specify return type and use
8069 (void) for arguments.
8070 * manual/examples/subopt.c (main): Use char **argv argument.
8071
2ee633a2
JM
80722012-02-17 Joseph Myers <joseph@codesourcery.com>
8073
8074 [BZ #5077]
8075 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8076 rounding modes.
8077
0520adde
FB
80782012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8079
8080 [BZ #6907]
8081 * manual/string.texi (strchr): Change when strchrnul is
8082 recommended.
8083
3f4081cd
DGM
80842012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8085
8086 [BZ #174]
8087 * manual/locale.texi (setlocale): Document LOCPATH.
8088
d1b10e78
JM
80892012-02-17 Joseph Myers <joseph@codesourcery.com>
8090
8091 [BZ #10210]
8092 * manual/process.texi (execle): Move @dots{} before last argument.
8093
79c6869c
PB
80942012-02-17 Paul Bolle <pebolle@tiscali.nl>
8095
8096 [BZ #12047]
8097 * manual/charset.texi (Generic Charset Conversion): Fix typo
8098 (LC_TYPE -> LC_CTYPE).
8099
cc6e48bc
NB
81002012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8101
8102 [BZ #5805]
8103 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8104 (scalbnf): Likewise.
8105 (scalbnl): Likewise.
8106 (scalbln): Likewise.
8107 (scalblnf): Likewise.
8108 (scalblnl): Likewise.
8109 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8110 (vwarnx): Likewise.
8111 (verr): Likewise.
8112 (verrx): Likewise.
8113 * manual/filesys.texi (telldir): Use braces around return type.
8114 * manual/llio.texi (mmap): Add space after comma.
8115 (mmap64): Likewise.
8116 * manual/math.texi (jn): Use @var{} on parameter names.
8117 (jnf): Likewise.
8118 (jnl): Likewise.
8119 (yn): Likewise.
8120 (ynf): Likewise.
8121 (ynl): Likewise.
8122 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8123 line.
8124 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8125 "...".
8126 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8127 (sched_get_priority_max): Likewise.
8128 * manual/signal.texi (sigvec): Add space after comma.
8129 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8130 names.
8131 (if_indextoname): Likewise.
8132 (if_freenameindex): Likewise.
8133 (sendto): Use ',' instead of '.' in prototype.
8134 * manual/startup.texi (syscall): Use @dots{} instead of literal
8135 "...".
8136 * manual/stdio.texi (__fpending): Separate initial words of
8137 paragraph from @deftypefun line.
8138 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8139 "...".
8140 (vsyslog): Use @var{} on parameter names.
8141 * manual/terminal.texi (stty): Use @var{} on parameter names.
8142 * manual/users.texi (getutmp): Use @var{} on parameter names.
8143 (getutmpx): Likewise.
8144
5b23062f
JM
81452012-02-17 Joseph Myers <joseph@codesourcery.com>
8146
8147 [BZ #6884]
8148 * manual/stdio.texi (fopen): Fix typos in description of
8149 ",ccs=STRING".
8150
8dee4833
AJ
81512012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8152
8153 [BZ #4026]
8154 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8155 get clock_id definition.
8156
9078ce93
TS
81572012-02-17 Thomas Schwinge <thomas@schwinge.name>
8158
8159 [BZ #4822]
8160 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8161 (madvise): Cast every argument to void on its own.
8162
3835c55f
JM
81632012-02-17 Joseph Myers <joseph@codesourcery.com>
8164
8165 [BZ #9902]
8166 * manual/startup.texi (Exit Status): Fix typo.
8167
35c47e37
JM
81682012-02-17 Joseph Myers <joseph@codesourcery.com>
8169
8170 [BZ #10140]
8171 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8172 * manual/examples/argp-ex2.c: Likewise.
8173 * manual/examples/argp-ex3.c: Likewise.
8174
e3b69ca7
RH
81752012-02-16 Richard Henderson <rth@redhat.com>
8176
8177 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8178 * sysdeps/s390/s390-32/initfini.c: Remove.
8179 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8180 * sysdeps/s390/s390-64/initfini.c: Remove.
8181
df83af67
KK
81822012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8183
8184 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8185 compiler output for sysdeps/generic/initfini.c.
8186 * sysdeps/sh/elf/initfini.c: Remove file.
8187
f63f3380
DM
81882012-02-16 David S. Miller <davem@davemloft.net>
8189
fb59b3a4
DM
8190 [BZ #11494]
8191 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8192
f63f3380
DM
8193 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8194 * sysdeps/sparc/crti.S: New file.
8195 * sysdeps/sparc/crtn.S: New file.
8196 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8197 * sysdeps/sparc/sparc64/Makefile: Likewise.
8198
df6a4a4a
MF
81992012-02-15 Mike Frysinger <vapier@gentoo.org>
8200
6dd8f3dc 8201 [BZ #3335]
df6a4a4a
MF
8202 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8203
1cac7236
RM
82042012-02-15 Roland McGrath <roland@hack.frob.com>
8205
d2c736f8
RM
8206 [BZ #4822]
8207 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8208
1cac7236
RM
8209 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8210 (write, read, close): Likewise.
8211 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8212
8e475601
JM
82132012-02-15 Joseph Myers <joseph@codesourcery.com>
8214
8215 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8216 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8217 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8218 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8219 <bits/signalfd.h>.
8220 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8221 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8222 bits/signalfd.h.
8223
ed656b40
MP
82242012-02-14 Marek Polacek <polacek@redhat.com>
8225
8226 * sysdeps/x86_64/crti.S: New file.
8227 * sysdeps/x86_64/crtn.S: New file.
8228 * sysdeps/x86_64/elf/initfini.c: Remove file.
8229
2a979d3a
JM
82302012-02-13 Joseph Myers <joseph@codesourcery.com>
8231
8232 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8233 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8234 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8235 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8236 <bits/inotify.h>.
8237 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8238 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8239 bits/inotify.h.
8240
2a418ac3
JM
82412012-02-13 Joseph Myers <joseph@codesourcery.com>
8242
8243 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8244 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8245 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8246 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8247 <bits/eventfd.h>.
8248 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8249 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8250 bits/eventfd.h.
8251
fb779be7
TS
82522012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8253
e19e83c5
RM
8254 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8255 __feraiseexcept instead of feraiseexcept.
7c35ffed 8256
fb779be7
TS
8257 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8258 nanosleep invocations.
8259 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8260 strings, and add error checking for a nanosleep invocations.
8261
59ba27a6
PE
82622012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8263
8264 Replace FSF snail mail address with URLs, as per GNU coding standards.
8265 Most of the snail mail addresses were wrong anyway, and omitting
8266 them makes the source code easier to maintain. Almost all of the
8267 changes are to license notices and to locale LC_IDENTIFICATION
8268 addresses, except for this one:
8269 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8270 not its snail mail address.
8271
57b957eb
RH
82722012-02-09 Richard Henderson <rth@twiddle.net>
8273
af850b1c
RH
8274 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8275 of kernel-features.h.
8276
57b957eb
RH
8277 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8278
6b73181a
MP
82792012-02-08 Marek Polacek <polacek@redhat.com>
8280
8281 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8282 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8283 * sysdeps/gnu/_G_config.h: Likewise.
8284 * sysdeps/generic/_G_config.h: Likewise.
8285
26ecc33a
AS
82862012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8287
6c6dbc63
AS
8288 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8289 tests.
8290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8291
e216c012
AS
8292 * sysdeps/powerpc/powerpc32/crti.S: New file.
8293 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8294 * sysdeps/powerpc/powerpc64/crti.S: New file.
8295 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8296
26ecc33a
AS
8297 * Makeconfig (have-initfini): Don't set.
8298 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8299 * configure.in (nopic_initfini): Don't substitute.
8300 * config.h.in (HAVE_INITFINI): Don't #undef.
8301 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8302 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8303
3add8e13
JM
83042012-02-08 Joseph Myers <joseph@codesourcery.com>
8305
8306 Support crti.S and crtn.S provided directly by architectures.
8307 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8308 [crti.S in sysdirs] (omit-deps): Likewise.
8309 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8310 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8311 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8312 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8313 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8314 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8315 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8316 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8317 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8318 compiler output for sysdeps/generic/initfini.c.
8319 * sysdeps/i386/elf/Makefile: Remove file.
8320 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8321
a22f12b4
MP
83222012-02-07 Marek Polacek <polacek@redhat.com>
8323
8324 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8325 * sysdeps/gnu/_G_config.h: Likewise.
8326 * sysdeps/mach/hurd/_G_config.h: Likewise.
8327
148cf100
MP
83282012-02-07 Marek Polacek <polacek@redhat.com>
8329
8330 * math/Makefile (tests): Add tst-CMPLX2.
8331 * math/tst-CMPLX2.c: New file.
8332
cfdc0dd7
AS
83332012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8334
84ba42c4
AS
8335 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8336
cfdc0dd7
AS
8337 * math/libm-test.inc (jn_test): Add missing L suffix.
8338
622c86f4
MP
83392012-02-06 Marek Polacek <polacek@redhat.com>
8340
8341 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8342 * sysdeps/i386/fpu/e_powf.S: Likewise.
8343 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8344 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8345 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8346 * sysdeps/i386/fpu/e_pow.S: Likewise.
8347 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8348 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8349 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8350 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8351 * sysdeps/i386/fpu/e_log2.S: Likewise.
8352 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8353 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8354 * sysdeps/i386/fpu/e_powl.S: Likewise.
8355 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8356 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8357 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8358 * sysdeps/i386/fpu/e_logl.S: Likewise.
8359 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8360 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8361 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8362 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8363 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8364 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8365 * sysdeps/i386/fpu/e_log.S: Likewise.
8366 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8367 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8368 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8369 * sysdeps/i386/fpu/e_logf.S: Likewise.
8370 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8371 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8372 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8373 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8374 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8375 * sysdeps/i386/fpu/e_log10.S: Likewise.
8376 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8377 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8378 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8379 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8380 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8381 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8382 * sysdeps/i386/asm-syntax.h: Likewise.
8383 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8384 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8385 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8386 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8387 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8388 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8389 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8390 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8391 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8392 * sysdeps/powerpc/sysdep.h: Likewise.
8393 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8394 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8395
d4a54ac6
JM
83962012-02-06 Joseph Myers <joseph@codesourcery.com>
8397
8398 [BZ #411]
8399 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8400
314054ea
JM
84012012-02-06 Joseph Myers <joseph@codesourcery.com>
8402
8403 * sysdeps/i386/sysdep.h: Include <features.h>.
8404 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8405 version.
8406
d8e0ca50
JM
84072012-02-05 Joseph Myers <joseph@codesourcery.com>
8408
8409 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8410 Define.
8411 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8412 LOAD_PIC_REG_STR.
8413
b1da7dd9
JM
84142012-02-03 Joseph Myers <joseph@codesourcery.com>
8415
8416 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8417 (SETUP_PIC_REG): Use GET_PC_THUNK.
8418 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8419 macro.
8420
9a1d9254
JM
84212012-02-03 Joseph Myers <joseph@codesourcery.com>
8422
8423 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8424 for non-PIC compilation.
8425 (SETUP_PIC_REG): Add .p2align directive.
8426 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8427 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8428 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8429 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8430 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8431 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8432 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8433 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8434 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8435 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8436 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8437 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8438 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8439 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8440 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8441 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8442 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8443 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8444 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8445 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8446 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8447 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8448 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8449 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8450 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8451 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8452 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8453 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8454 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8455 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8456 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8457 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8458 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8459 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8460 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8461 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8462 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8463 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8464 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8465 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8466 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8467
65dc3b75
JM
84682012-02-03 Joseph Myers <joseph@codesourcery.com>
8469
8470 * math/tst-CMPLX.c: Include <stdio.h>.
8471
d55bf177
JM
84722012-01-31 Joseph Myers <joseph@codesourcery.com>
8473
8474 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8475 float.
8476 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8477 * sysdeps/sparc/bits/mathdef.h: Likewise.
8478
69db4f8f
MP
84792012-01-31 Marek Polacek <polacek@redhat.com>
8480
8481 * libio/libio.h: Don't define _PARAMS.
8482 * locale/programs/config.h: Don't define PARAMS.
8483 * stdlib/strtol_l.c: Likewise.
8484 (__strtol_l): Remove PARAMS from the prototype.
8485
41b81892
UD
84862012-01-31 Ulrich Drepper <drepper@gmail.com>
8487
3b49edc0
UD
8488 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8489 names. Just use the correct names. Remove unnecessary wrapper
8490 functions.
8491 * malloc/arena.c: Likewise.
8492 * malloc/hooks.c: Likewise.
8493
41b81892
UD
8494 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8495 ARENA_TEST says not to. Simplify test for creation of a new arena.
8496 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8497
27a25b6e
UD
84982012-01-30 Ulrich Drepper <drepper@gmail.com>
8499
8500 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8501 into tail calls.
8502 (update_get_addr): New function.
8503 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8504 GET_ADDR_MODULE parameter.
8505
c8a89e7d
JM
85062012-01-30 Joseph Myers <joseph@codesourcery.com>
8507
8508 * crypt/cert.c: Remove __STDC__ conditionals.
8509 * crypt/crypt-entry.c: Likewise.
8510 * crypt/crypt_util.c: Likewise.
8511 * libio/filedoalloc.c: Likewise.
8512 * libio/fileops.c: Likewise.
8513 * libio/genops.c: Likewise.
8514 * libio/iofclose.c: Likewise.
8515 * libio/iofdopen.c: Likewise.
8516 * libio/iofopen.c: Likewise.
8517 * libio/iofopen64.c: Likewise.
8518 * libio/iogetdelim.c: Likewise.
8519 * libio/iopopen.c: Likewise.
8520 * libio/obprintf.c: Likewise.
8521 * libio/oldfileops.c: Likewise.
8522 * libio/oldiofclose.c: Likewise.
8523 * libio/oldiofdopen.c: Likewise.
8524 * libio/oldiofopen.c: Likewise.
8525 * libio/oldiopopen.c: Likewise.
8526 * libio/wfiledoalloc.c: Likewise.
8527 * libio/wgenops.c: Likewise.
8528 * locale/programs/xmalloc.c: Likewise.
8529 * misc/syslog.c: Likewise.
8530 * stdio-common/xbug.c: Likewise.
8531 * string/memchr.c: Likewise.
8532 * string/memcmp.c: Likewise.
8533 * string/memrchr.c: Likewise.
8534 * string/rawmemchr.c: Likewise.
8535 * sysdeps/posix/getcwd.c: Likewise.
8536 * time/strftime_l.c: Likewise.
8537
3b100462
JM
85382012-01-30 Joseph Myers <joseph@codesourcery.com>
8539
8540 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
8541 * config.make.in (config-cflags-sse2avx): Define.
8542 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8543 Fix typo.
8544
607998af
CM
85452012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8546
8547 * scripts/config.guess: Update from upstream config git repository.
8548 * scripts/config.sub: Likewise.
8549
3601428f
CM
85502012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8551
3ac8b282
CM
8552 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8553 (EM_NUM): Update.
8554 (R_TILEPRO_*, R_TILEGX_*): New macros.
8555
e034841e
CM
8556 * scripts/firstversions.awk: Fix bug in version range handling.
8557
540d7568
CM
8558 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8559
3601428f
CM
8560 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8561
463de862
CM
8562 * include/sys/epoll.h: New file.
8563 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8564 libc_hidden_def.
8565
73139a76
UD
85662012-01-28 Ulrich Drepper <drepper@gmail.com>
8567
96bc5b45
UD
8568 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8569 Avoid unnecessary __WORDSIZE == 64 test.
8570 (fmaxf): Use VEX format if possible.
8571 (fmax): Likewise.
8572 (fminf): Likewise.
8573 (fmin): Likewise.
8574
56f6f6a2
UD
8575 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8576 * math/math_private.h: Remove libc_fegetround* and
8577 libc_fesetround*.
8578 * sysdeps/i386/configure.in: Check for -msse2avx.
8579 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8580 also if SSE2AVX is defined.
8581 Remove libc_fegetround* and libc_fesetround*.
8582 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8583 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8584 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8585 of HAS_YMM_USABLE.
8586 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8587 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8588 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8589 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8590 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8591
73139a76
UD
8592 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8593
d73f93a4
AZ
85942012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8595
8596 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8597 size is not set.
8598 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8599
6ee65ed6
UD
86002012-01-27 Ulrich Drepper <drepper@gmail.com>
8601
8602 [BZ #13618]
8603 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8604 relocation.
8605 * Makeconfig (libm): Define.
8606 * elf/Makefile: Add rules to build and run tst-relsort1.
8607 * elf/tst-relsort1.c: New file.
8608 * elf/tst-relsort1mod1.c: New file.
8609 * elf/tst-relsort1mod2.c: New file.
8610
8db21882
JM
86112012-01-27 Joseph Myers <joseph@codesourcery.com>
8612
8613 * math/s_ldexp.c: Remove __STDC__ conditionals.
8614 * math/s_ldexpf.c: Likewise.
8615 * math/s_ldexpl.c: Likewise.
8616 * math/s_nextafter.c: Likewise.
8617 * math/s_nexttowardf.c: Likewise.
8618 * math/s_significand.c: Likewise.
8619 * math/s_significandf.c: Likewise.
8620 * math/s_significandl.c: Likewise.
8621 * math/w_jnl.c: Likewise.
8622 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8623 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8624 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8625 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8626 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8627 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8628 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8629 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8630 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8631 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8632 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8633 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8634 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8635 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8636 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8637 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8638 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8639 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8640 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8641 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8642 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8643 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8644 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8645 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8646 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8647 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8648 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8649 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8650 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8651 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8652 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8653 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8654 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8655 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8656 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8657 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8658 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8659 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8660 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8661 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8662 * sysdeps/ieee754/k_standard.c: Likewise.
8663 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8664 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8665 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8666 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8667 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8668 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8669 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8670 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8671 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8672 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8673 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8674 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8675 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8676 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8677 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8678 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8679 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8680 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8681 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8682 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8683 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8684 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8685 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8686 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8687 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8688 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8689 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8690 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8691 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8692 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8693 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8694 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8695 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8696 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8697 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8698 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8699 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8700 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8701 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8702 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8703 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8704 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8705 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8706 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8707 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8708 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8709 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8710 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8711 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8712 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8713 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8714 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8715 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8716 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8717 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8718 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8719 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8720 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8721 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8722 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8723 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8724 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8725 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8726 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8727 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8728 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8729 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8730 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8731 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8732 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8733 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8734 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8735 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8736 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8737 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8738 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8739 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8740 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8741 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8742 * sysdeps/ieee754/s_matherr.c: Likewise.
8743 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8744 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8745 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8746 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8747
965a54a4
JM
87482012-01-26 Joseph Myers <joseph@codesourcery.com>
8749
8750 * crypt/md5.h: Remove __STDC__ conditionals.
8751 * libio/libioP.h: Likewise.
8752 * locale/programs/config.h: Likewise.
8753 * sysdeps/generic/sysdep.h: Likewise.
8754 * sysdeps/i386/asm-syntax.h: Likewise.
8755 * sysdeps/s390/asm-syntax.h: Likewise.
8756 * sysdeps/unix/sysdep.h: Likewise.
8757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8759
7071ad79
JM
87602012-01-26 Joseph Myers <joseph@codesourcery.com>
8761
8762 * libio/libio.h: Remove __STDC__ conditionals.
8763 * malloc/obstack.h: Likewise.
8764 * math/complex.h: Likewise.
8765 * math/math.h: Likewise.
8766 * sysdeps/generic/_G_config.h: Likewise.
8767 * sysdeps/gnu/_G_config.h: Likewise.
8768 * sysdeps/mach/hurd/_G_config.h: Likewise.
8769 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8770 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8771 * sysdeps/sparc/bits/mathdef.h: Likewise.
8772
afc5ed09
UD
87732012-01-26 Ulrich Drepper <drepper@gmail.com>
8774
8775 [BZ #13583]
8776 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 8777 Clean up HAS_* macros.
afc5ed09 8778 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
8779 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8780 possible.
8781 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8782 HAS_AVX.
8783 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8784 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8785 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8786 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8787 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 8788
bdb6de1d
JM
87892012-01-25 Joseph Myers <joseph@codesourcery.com>
8790
8791 * elf/tst-unique3.cc (gets): Remove declaration.
8792 * elf/tst-unique3lib.cc (gets): Likewise.
8793 * elf/tst-unique3lib2.cc (gets): Likewise.
8794 * elf/tst-unique4.cc (gets): Likewise.
8795
b15549e6
UD
87962012-01-24 Ulrich Drepper <drepper@gmail.com>
8797
8798 * include/stdio.h: Add C++ protection. Add gets declarations and
8799 definitions.
8800 * debug/tst-chk1.c: Don't declare gets here.
8801 * stdio-common/tst-gets.c: Likewise.
8802
a037381f
JM
88032012-01-24 Joseph Myers <joseph@codesourcery.com>
8804
8805 * posix/glob: Remove directory.
8806
f1d4aa75
JM
88072012-01-24 Joseph Myers <joseph@codesourcery.com>
8808
8809 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8810
81c0c964
PT
88112012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8812
8813 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8814 of the non-standard EPFNOSUPPORT.
8815
0ea698ae
ST
88162011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8817
8818 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8819 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8820 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8821
d220b117
UD
88222012-01-21 Ulrich Drepper <drepper@gmail.com>
8823
8824 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8825
3e1aa84e
UD
88262012-01-20 Ulrich Drepper <drepper@gmail.com>
8827
8828 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8829 transient errors.
8830 * nscd/grpcache.c (cache_addgr): Likewise.
8831 * nscd/hstcache.c (cache_addhst): Likewise.
8832 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8833 * nscd/pwdcache.c (cache_addpw): Likewise.
8834 * nscd/servicescache.c (cache_addserv): Likewise.
8835
400aa020
UD
88362012-01-16 Ulrich Drepper <drepper@gmail.com>
8837
d77e7869
UD
8838 * malloc/malloc.c: Various cleanups.
8839 * malloc/hooks.c: Likewise.
8840
400aa020
UD
8841 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8842 * stdlib/bug-fmtmsg1.c: New file.
8843
8844 * stdlib/fmtmsg.c (init): Add missing unlock.
8845 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8846
e0a309cf
MP
88472012-01-12 Marek Polacek <polacek@redhat.com>
8848
8849 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8850 and _GNU_SOURCE.
8851
929d11c7
WS
88522012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8853
8854 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8855 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8856 macro to ensure uniqueness of label name.
8857 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8858 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8859
41d0e869
UD
88602012-01-11 Ulrich Drepper <drepper@gmail.com>
8861
0cc5ed3b
UD
8862 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8863
41d0e869
UD
8864 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8865 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8866 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8867 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8868
a47a831a
UD
88692012-01-10 Ulrich Drepper <drepper@gmail.com>
8870
daa891c0
UD
8871 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8872
8873 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8874 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8875 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8876
e58ef0f2
UD
8877 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8878
a47a831a 8879 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
8880 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8881 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 8882 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
8883
8884 * math/bits/math-finite.h: Add ldexp support.
8885
a0bfc9c7
MP
88862012-01-10 Marek Polacek <polacek@redhat.com>
8887
8888 * locale/programs/localedef.h (show_archive_content): Add noreturn
8889 attribute.
8890
d6e97a1d
UD
88912012-01-09 Ulrich Drepper <drepper@gmail.com>
8892
8893 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8894
d5835c26
UD
88952012-01-08 Ulrich Drepper <drepper@gmail.com>
8896
e5f484c6
UD
8897 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8898
d5835c26
UD
8899 * io/Makefile (headers): Add bits/poll2.h.
8900
d1f741e9
WS
89012011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8902
8903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8904 typo #include statement.
8905
ec09c1c4
UD
89062012-01-08 Ulrich Drepper <drepper@gmail.com>
8907
8908 * include/sys/cdefs.h: Define __attribute_alloc_size.
8909 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8910 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8911 * elf/pldd.c: Likewise.
8912 * iconv/iconv_charmap.c: Likewise.
8913 * iconv/iconvconfig.c: Likewise.
8914 * iconv/strtab.c: Likewise.
8915 * locale/programs/locale.c: Likewise.
8916 * locale/programs/localedef.h: Likewise.
8917 * locale/programs/simple-hash.c: Likewise.
8918 * nscd/nscd.h: Likewise.
8919 * nss/makedb.c: Likewise.
8920 * sysdeps/generic/ldconfig.h: Likewise.
8921 * locale/programs/localedef.c: Remove xmalloc prototype.
8922 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8923
20b38e03
PP
89242012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8925
8926 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8927 appropriate.
8928
a0da5fe1
UD
89292012-01-08 Ulrich Drepper <drepper@gmail.com>
8930
1d5a644a 8931 * math/Makefile (tests): Add tst-CMPLX.
669704fd 8932 * math/tst-CMPLX.c: New file.
1d5a644a 8933
8784a6db
UD
8934 * math/complex.h (CMPLXL): Fix typo.
8935
d9a216c0
UD
8936 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8937 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8938 GLIBC_2.16.
8939 * debug/tst-chk1.c: Add poll and ppoll tests.
8940 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8941 * include/sys/poll.h: Add hidden proto for ppoll.
8942 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8943 * sysdeps/mach/hurd/ppoll.c: Likewise.
8944 * io/ppoll.c: Likewise.
8945 * debug/poll_chk.c: New file.
8946 * debug/ppoll_chk.c: New file.
8947 * include/bits/poll2.h: New file.
8948 * io/bits/poll2.h: New file.
8949
ac097f5c
UD
8950 [BZ #1350]
8951 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8952
2119dcfa
UD
8953 * configure.in: static is always set to yes. Remove.
8954 * config.make.in: Don't set build-static.
8955 * Makeconfig: Remove use of build-static.
8956 * dlfcn/Makefile: Likewise.
8957 * elf/Makefile: Likewise.
8958 * math/Makefile: Likewise.
8959 * misc/Makefile: Likewise.
8960 * nptl/Makefile: Likewise.
8961 * sysdeps/mach/hurd/Makefile: Likewise.
8962
121766a9
UD
8963 * configure.in: PWD_P is not used anymore.
8964 * config.make.in: Remove PWD_P entry.
8965
51a1d39c 8966 * configure.in: Remove last remnants of RANLIB.
8720d066 8967 No need to check for signed size_t anymore.
215f4bdc
UD
8968 Don't set libc_commonpagesize and libc_relro_required here for Alpha
8969 and IA-64.
3857022a 8970 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
8971 * aclocal.m4: Likewise.
8972
d3ed7225
UD
8973 * wcsmbs/mbrtoc16.c: Implement using towc function.
8974 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8975 * wcsmbs/wcsmbsload.c: Likewise.
8976 * iconv/gconv_simple.c: Likewise.
8977 * iconv/gconv_int.h: Likewise.
8978 * iconv/gconv_builtin.h: Likewise.
8979 * iconv/iconv_prog.c: Remove CHAR16 handling.
8980
8981 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8982
8983 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8984
a0da5fe1
UD
8985 * configure.in: Remove --with-elf and --enable-bounded options.
8986 Dont set base_machine for ia64. More non-ELF conditions removed.
8987 Remove testing and setting of leading underscore information.
8988 * config.make.in (build-bounded): Set to no.
8989 * config.h.in: Remove NO_UNDERSCORES entry.
8990 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8991 them.
8992 * csu/start.c: Remove !NO_UNDERSCORE code.
8993 * locale/localeinfo.h: Likewise.
8994 * sysdeps/generic/machine-gmon.h: Likewise.
8995 * sysdeps/generic/sysdep.h: Likewise.
8996 * sysdeps/i386/sysdep.h: Likewise.
8997 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8998 * sysdeps/mach/sysdep.h: Likewise.
8999 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9000 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9001 * sysdeps/sh/sysdep.h: Likewise.
9002 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9003 * sysdeps/unix/i386/sysdep.S: Likewise.
9004 * sysdeps/unix/sparc/start.c: Likewise.
9005 * sysdeps/unix/sparc/sysdep.S: Likewise.
9006 * sysdeps/unix/sparc/sysdep.h: Likewise.
9007 * sysdeps/unix/start.c: Likewise.
9008 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9009 * sysdeps/x86_64/sysdep.h: Likewise.
9010
df78418a
UD
90112012-01-07 Ulrich Drepper <drepper@gmail.com>
9012
a784e502
UD
9013 [BZ #13553]
9014 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9015 for non-gcc.
9016 * argp/argp-fmtstream.h: Use const instead __const.
9017 * argp/argp.h: Likewise.
9018 * assert/assert.h: Likewise.
9019 * bits/fenv.h: Likewise.
9020 * bits/sched.h: Likewise.
9021 * bits/sigset.h: Likewise.
9022 * bits/sigthread.h: Likewise.
9023 * catgets/nl_types.h: Likewise.
9024 * conform/data/pthread.h-data: Likewise.
9025 * crypt/crypt-private.h: Likewise.
9026 * crypt/crypt.h: Likewise.
9027 * crypt/crypt_util.c: Likewise.
9028 * ctype/ctype.h: Likewise.
9029 * debug/execinfo.h: Likewise.
9030 * debug/mbsnrtowcs_chk.c: Likewise.
9031 * debug/mbsrtowcs_chk.c: Likewise.
9032 * debug/wcsnrtombs_chk.c: Likewise.
9033 * debug/wcsrtombs_chk.c: Likewise.
9034 * debug/wcstombs_chk.c: Likewise.
9035 * dirent/dirent.h: Likewise.
9036 * dlfcn/dlfcn.h: Likewise.
9037 * elf/neededtest4.c: Likewise.
9038 * grp/grp.h: Likewise.
9039 * gshadow/gshadow.h: Likewise.
9040 * iconv/gconv.h: Likewise.
9041 * iconv/gconv_int.h: Likewise.
9042 * iconv/gconv_simple.c: Likewise.
9043 * iconv/iconv.h: Likewise.
9044 * iconv/loop.c: Likewise.
9045 * iconv/skeleton.c: Likewise.
9046 * include/aio.h: Likewise.
9047 * include/aliases.h: Likewise.
9048 * include/argz.h: Likewise.
9049 * include/arpa/inet.h: Likewise.
9050 * include/assert.h: Likewise.
9051 * include/dirent.h: Likewise.
9052 * include/dlfcn.h: Likewise.
9053 * include/execinfo.h: Likewise.
9054 * include/fcntl.h: Likewise.
9055 * include/fenv.h: Likewise.
9056 * include/glob.h: Likewise.
9057 * include/grp.h: Likewise.
9058 * include/libintl.h: Likewise.
9059 * include/mntent.h: Likewise.
9060 * include/netdb.h: Likewise.
9061 * include/pwd.h: Likewise.
9062 * include/rpc/netdb.h: Likewise.
9063 * include/sched.h: Likewise.
9064 * include/search.h: Likewise.
9065 * include/shadow.h: Likewise.
9066 * include/signal.h: Likewise.
9067 * include/stdio.h: Likewise.
9068 * include/stdlib.h: Likewise.
9069 * include/string.h: Likewise.
9070 * include/sys/socket.h: Likewise.
9071 * include/sys/stat.h: Likewise.
9072 * include/sys/statfs.h: Likewise.
9073 * include/sys/statvfs.h: Likewise.
9074 * include/sys/syslog.h: Likewise.
9075 * include/sys/time.h: Likewise.
9076 * include/sys/uio.h: Likewise.
9077 * include/time.h: Likewise.
9078 * include/unistd.h: Likewise.
9079 * include/utmp.h: Likewise.
9080 * include/wchar.h: Likewise.
9081 * include/wctype.h: Likewise.
9082 * inet/aliases.h: Likewise.
9083 * inet/arpa/inet.h: Likewise.
9084 * inet/netinet/ether.h: Likewise.
9085 * inet/netinet/in.h: Likewise.
9086 * intl/libintl.h: Likewise.
9087 * io/bits/fcntl2.h: Likewise.
9088 * io/fcntl.h: Likewise.
9089 * io/ftw.h: Likewise.
9090 * io/sys/poll.h: Likewise.
9091 * io/sys/stat.h: Likewise.
9092 * io/sys/statfs.h: Likewise.
9093 * io/sys/statvfs.h: Likewise.
9094 * io/utime.h: Likewise.
9095 * libio/bits/stdio.h: Likewise.
9096 * libio/bits/stdio2.h: Likewise.
9097 * libio/libio.h: Likewise.
9098 * libio/libioP.h: Likewise.
9099 * libio/stdio.h: Likewise.
9100 * locale/lc-ctype.c: Likewise.
9101 * locale/locale.h: Likewise.
9102 * login/utmp.h: Likewise.
9103 * malloc/arena.c: Likewise.
9104 * malloc/malloc.c: Likewise.
9105 * malloc/malloc.h: Likewise.
9106 * malloc/mcheck.c: Likewise.
9107 * malloc/mtrace.c: Likewise.
9108 * math/bits/mathcalls.h: Likewise.
9109 * math/fenv.h: Likewise.
9110 * math/math_private.h: Likewise.
9111 * misc/bits/error.h: Likewise.
9112 * misc/bits/syslog.h: Likewise.
9113 * misc/err.h: Likewise.
9114 * misc/error.h: Likewise.
9115 * misc/fstab.h: Likewise.
9116 * misc/mntent.h: Likewise.
9117 * misc/regexp.h: Likewise.
9118 * misc/search.h: Likewise.
9119 * misc/sgtty.h: Likewise.
9120 * misc/sys/mman.h: Likewise.
9121 * misc/sys/syslog.h: Likewise.
9122 * misc/sys/uio.h: Likewise.
9123 * misc/sys/xattr.h: Likewise.
9124 * misc/ttyent.h: Likewise.
9125 * nis/rpcsvc/ypclnt.h: Likewise.
9126 * nss/nss.h: Likewise.
9127 * posix/bits/unistd.h: Likewise.
9128 * posix/fnmatch.h: Likewise.
9129 * posix/glob.h: Likewise.
9130 * posix/sched.h: Likewise.
9131 * posix/spawn.h: Likewise.
9132 * posix/sys/wait.h: Likewise.
9133 * posix/unistd.h: Likewise.
9134 * posix/wordexp.h: Likewise.
9135 * pwd/pwd.h: Likewise.
9136 * resolv/netdb.h: Likewise.
9137 * resource/sys/resource.h: Likewise.
9138 * rt/aio.h: Likewise.
9139 * rt/bits/mqueue2.h: Likewise.
9140 * rt/mqueue.h: Likewise.
9141 * shadow/shadow.h: Likewise.
9142 * signal/signal.h: Likewise.
9143 * socket/send.c: Likewise.
9144 * socket/sendto.c: Likewise.
9145 * socket/sys/socket.h: Likewise.
9146 * stdio-common/printf.h: Likewise.
9147 * stdlib/bits/stdlib.h: Likewise.
9148 * stdlib/fmtmsg.h: Likewise.
9149 * stdlib/monetary.h: Likewise.
9150 * stdlib/stdlib.h: Likewise.
9151 * stdlib/ucontext.h: Likewise.
9152 * streams/stropts.h: Likewise.
9153 * string/argz.h: Likewise.
9154 * string/bits/string2.h: Likewise.
9155 * string/string.h: Likewise.
9156 * string/strings.h: Likewise.
9157 * sunrpc/rpc/auth.h: Likewise.
9158 * sunrpc/rpc/auth_des.h: Likewise.
9159 * sunrpc/rpc/clnt.h: Likewise.
9160 * sunrpc/rpc/netdb.h: Likewise.
9161 * sunrpc/rpc/pmap_clnt.h: Likewise.
9162 * sunrpc/rpc/xdr.h: Likewise.
9163 * sysdeps/generic/inttypes.h: Likewise.
9164 * sysdeps/generic/net/if.h: Likewise.
9165 * sysdeps/generic/sys/swap.h: Likewise.
9166 * sysdeps/gnu/net/if.h: Likewise.
9167 * sysdeps/gnu/utmpx.h: Likewise.
9168 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9169 * sysdeps/i386/i486/bits/string.h: Likewise.
9170 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9171 * sysdeps/s390/bits/string.h: Likewise.
9172 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9173 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9174 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9175 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9176 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9177 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9178 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9179 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9180 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9181 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9182 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9183 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9184 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9185 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9186 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9187 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9188 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9189 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9190 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9191 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9192 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9193 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9194 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9195 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9196 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9197 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9198 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9199 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9200 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9201 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9202 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9203 * sysvipc/sys/ipc.h: Likewise.
9204 * sysvipc/sys/msg.h: Likewise.
9205 * sysvipc/sys/sem.h: Likewise.
9206 * sysvipc/sys/shm.h: Likewise.
9207 * termios/termios.h: Likewise.
9208 * time/sys/time.h: Likewise.
9209 * time/time.h: Likewise.
9210 * wcsmbs/bits/wchar2.h: Likewise.
9211 * wcsmbs/uchar.h: Likewise.
9212 * wcsmbs/wchar.h: Likewise.
9213 * wctype/wctype.h: Likewise.
9214
0269750c
UD
9215 [BZ #13551]
9216 * Makeconfig: Remove all but ELF support including AIX support.
9217 * Makerules: Likewise.
9218 * config.h.in: Likewise.
9219 * config.make.in: Likewise.
9220 * configure: Likewise.
9221 * configure.in: Likewise.
9222 * csu/Makefile: Likewise.
9223 * csu/version.c: Likewise.
9224 * debug/Makefile: Likewise.
9225 * dlfcn/Makefile: Likewise.
9226 * elf/Makefile: Likewise.
9227 * extra-lib.mk: Likewise.
9228 * iconv/Makefile: Likewise.
9229 * include/libc-symbols.h: Likewise.
9230 * include/shlib-compat.h: Likewise.
9231 * resolv/Makefile: Likewise.
9232 * resolv/res_libc.c: Likewise.
9233 * rt/Makefile: Likewise.
9234 * sysdeps/i386/asm-syntax.h: Likewise.
9235 * sysdeps/i386/sysdep.h: Likewise.
9236 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9237 * sysdeps/mach/sysdep.h: Likewise.
9238 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9239 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9240 * sysdeps/s390/asm-syntax.h: Likewise.
9241 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9242 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9243 * sysdeps/sh/sysdep.h: Likewise.
9244 * sysdeps/unix/sparc/sysdep.h: Likewise.
9245 * sysdeps/wordsize-32/divdi3.c: Likewise.
9246 * sysdeps/x86_64/sysdep.h: Likewise.
9247
00bbd29b
UD
9248 * argp/Versions: Remove _argp_unlock_xxx.
9249
9250 [BZ #13559]
9251 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9252 * abilist/libBrokenLocale.abilist: Likewise.
9253 * abilist/libanl.abilist: Likewise.
9254 * abilist/libc.abilist: Likewise.
9255 * abilist/libcrypt.abilist: Likewise.
9256 * abilist/libdl.abilist: Likewise.
9257 * abilist/libm.abilist: Likewise.
9258 * abilist/libnsl.abilist: Likewise.
9259 * abilist/libpthread.abilist: Likewise.
9260 * abilist/libresolv.abilist: Likewise.
9261 * abilist/librt.abilist: Likewise.
9262 * abilist/libthread_db.abilist: Likewise.
9263 * abilist/libutil.abilist: Likewise.
9264 * abilist/libnss_db.abilist: New file.
9265
9266 * scripts/abilist.awk: Add support for indirect functions.
9267
a2693a0e
UD
9268 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9269
3f05895f
UD
9270 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9271
ecb6fb48
UD
9272 * shlib-versions: Remove entries for ports architectures.
9273
664f8cb9
UD
9274 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9275 files in ports.
9276 * elf/stackguard-macros.h: Remove support for IA-64.
9277 * elf/tst-auditmod1.c: Likewise.
9278 * sysdeps/generic/ldsodefs.h: Likewise.
9279
7ae81d88
UD
9280 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9281 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9282 configure files.
9283
bdeba135
UD
9284 [BZ #13552]
9285 * configure.in: Remove --enable-omitfp support.
9286 * FAQ.in: Adjust.
9287 * config.make.in: Likewise.
9288 * Makeconfig: Likewise.
9289 * manual/install.texi: Likewise.
9290
d75a0a62
UD
9291 In case anyone cares, the IA-64 architecture could move to ports.
9292 * sysdeps/ia64/*: Removed.
9293 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9294 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9295
dcc9756b
UD
9296 [BZ #13555]
9297 * configure.in: Remove entries for unsupported architectures.
9298
d3761ebc 9299 [BZ #13533]
9954432e
UD
9300 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9301 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9302 routines.
9303 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9304 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9305 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9306 fall back to using wcrtomb.
9307 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9308 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9309 renaming.
9310 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9311 * wcsmbs/tst-c16c32-1.c: New file.
9312
9313 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9314 local variable.
9315
c3a87236
UD
9316 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9317
28926a1b
UD
9318 * elf/tst-unique3.cc: Add explicit declaration of gets.
9319 * elf/tst-unique3lib.cc: Likewise.
9320 * elf/tst-unique3lib2.cc: Likewise.
9321 * elf/tst-unique4.cc: Likewise.
9322
df78418a
UD
9323 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9324
8ecd6b2a
JM
93252012-01-06 Joseph Myers <joseph@codesourcery.com>
9326
9327 [BZ #13566]
9328 * assert/assert.h (static_assert): Don't define for C++.
9329 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9330 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9331
9f115170
UD
93322012-01-03 Ulrich Drepper <drepper@gmail.com>
9333
5e0d0300
UD
9334 * iconv/loop.c (single loop): Fix assertion in storing of
9335 remaining bytes.
9336
9f115170
UD
9337 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9338
81fb02b0
UD
93392012-01-01 Ulrich Drepper <drepper@gmail.com>
9340
9341 * posix/getconf.c: Update copyright year.
9342 * nss/getent.c: Likewise.
a316c1f6 9343 * nss/makedb.c: Likewise.
81fb02b0
UD
9344 * iconv/iconvconfig.c: Likewise.
9345 * iconv/iconv_prog.c: Likewise.
9346 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9347 * elf/pldd.c: Likewise.
9348 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9349 * catgets/gencat.c: Likewise.
9350 * csu/version.c: Likewise.
9351 * elf/ldd.bash.in: Likewise.
9352 * elf/sprof.c (print_version): Likewise.
9353 * locale/programs/locale.c: Likewise.
9354 * locale/programs/localedef.c: Likewise.
a316c1f6 9355 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9356 * nscd/nscd.c (print_version): Likewise.
9357 * debug/xtrace.sh: Likewise.
9358 * malloc/memusage.sh: Likewise.
9359 * malloc/mtrace.pl: Likewise.
9360 * debug/catchsegv.sh: Likewise.
9361
2ba92745
JJ
93622011-12-30 Jakub Jelinek <jakub@redhat.com>
9363
9364 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9365 pure attribute.
9366
dadebdae
UD
93672011-12-24 Ulrich Drepper <drepper@gmail.com>
9368
d3761ebc 9369 [BZ #13533]
db6af3eb
UD
9370 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9371 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9372 transformations.
9373 * iconv/gconv_int.h: Likewise.
9374 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9375 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9376 from libc for GLIBC_2.16.
9377 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9378 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9379 * wcsmbs/uchar.h: Really define mbstate_t.
9380 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9381 * wcsmbs/c16rtomb.c: New file.
9382 * wcsmbs/mbrtoc16.c: New file.
9383 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9384 for C/POSIX locale.
9385 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9386 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9387
dadebdae
UD
9388 * wcsmbs/wchar.h: Add missing __restrict.
9389
67371b56
UD
93902011-12-23 Ulrich Drepper <drepper@gmail.com>
9391
74033a25
UD
9392 [BZ #13532]
9393 * time/Makefile (routines): Add timespec_get.
9394 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9395 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9396 timespec for ISO C11.
9397 * time/timespec_get.c: New file.
9398 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9399 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9400
380d7e87
UD
9401 [BZ #13531]
9402 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9403 * stdlib/stdlib.h: Declare aligned_alloc.
9404 * Versions.def: Add GLIBC_2.16 for libc.
9405 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9406
4e9e7a35
UD
9407 [BZ 13527]
9408 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9409 ISO C11.
9410
380d7e87 9411 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9412 code.
9413
03a71829
UD
9414 [BZ #13528]
9415 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9416
839e283e
UD
9417 [BZ #13529]
9418 * assert/assert.h (static_assert): Define.
9419
ce5294e2 9420 * version.h: Update for 2.16 development version.
90fa7312 9421
8d44e150 9422 [BZ #13526]
d7809905
UD
9423 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9424 _ISOC11_SOURCE.
9425
c0da14cd
UD
9426 * version.h (RELEASE): Bump for 2.15 release.
9427 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9428
530a3249
MP
9429 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9430 Patch by Marek Polacek <mpolacek@redhat.com>.
9431
67371b56
UD
9432 * bits/byteswap.h: Protect long long constants with __extension__.
9433 * sysdeps/i386/bits/byteswap.h: Likewise.
9434 * sysdeps/ia64/bits/byteswap.h: Likewise.
9435 * sysdeps/s390/bits/byteswap.h: Likewise.
9436 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9437
15db4de1
LD
94382011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9439
9440 [BZ #13540]
bbe315ea
LD
9441 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9442 destination buffer.
15db4de1
LD
9443 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9444
2b2596b1
MP
94452011-12-23 Marek Polacek <polacek@redhat.com>
9446
9447 * elf/dl-addr.c (determine_info): Add inline keyword.
9448 * elf/tst-auditmod4b.c (check_avx): Likewise.
9449 * elf/tst-auditmod6b.c (check_avx): Likewise.
9450 * elf/tst-auditmod6c.c (check_avx): Likewise.
9451 * elf/tst-auditmod7b.c (check_avx): Likewise.
9452
70c6c246
UD
94532011-12-23 Ulrich Drepper <drepper@gmail.com>
9454
9455 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9456 !__SSE_MATH__.
9457
c044cf14
LD
94582011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9459
15db4de1 9460 [BZ #13540]
c044cf14
LD
9461 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9462 processing for last bytes.
9463
6b13d9d9
BH
94642011-08-06 Bruno Haible <bruno@clisp.org>
9465
d455f537
BH
9466 [BZ #13061]
9467 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9468 U+0385, not to U+1FEE.
9469
6b13d9d9
BH
9470 [BZ #13062]
9471 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9472 entry for U+00A5 U+0301.
9473
db910efd
UD
94742011-12-22 Ulrich Drepper <drepper@gmail.com>
9475
27deeafc
UD
9476 [BZ #13166]
9477 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9478 buffer for the output is too small.
9479
aed9d171
UD
9480 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9481 optimization.
9482
db910efd
UD
9483 [BZ #13185]
9484 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9485 SSE flags if possible.
9486
2bd779ae
LD
94872011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9488
e7f9dac3 9489 [BZ #13540]
2bd779ae
LD
9490 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9491 processing for last bytes.
9492
154bfc16
JM
94932011-12-22 Joseph Myers <joseph@codesourcery.com>
9494
9495 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9496 (syscall-list-default-options, syscall-list-default-condition)
9497 (syscall-list-includes): Define.
9498 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9499 list of ABIs and options and #if conditions for each ABI. Do not
9500 handle common syscalls between ABIs specially.
9501 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9502 Remove.
9503 (syscall-list-variants, syscall-list-32bit-options)
9504 (syscall-list-32bit-condition, syscall-list-64bit-options)
9505 (syscall-list-64bit-condition): Define.
9506 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9507 (syscall-list-variants, syscall-list-32bit-options)
9508 (syscall-list-32bit-condition, syscall-list-64bit-options)
9509 (syscall-list-64bit-condition): Define.
9510 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9511 Remove.
9512 (syscall-list-variants, syscall-list-32bit-options)
9513 (syscall-list-32bit-condition, syscall-list-64bit-options)
9514 (syscall-list-64bit-condition): Define.
9515 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9516 Remove.
9517 (syscall-list-variants, syscall-list-32bit-options)
9518 (syscall-list-32bit-condition, syscall-list-64bit-options)
9519 (syscall-list-64bit-condition): Define.
9520
21eaf3a5
UD
95212011-12-22 Ulrich Drepper <drepper@gmail.com>
9522
16c6f992
UD
9523 * locale/iso-639.def: Add brx entry.
9524
41043168
UD
9525 [BZ #13328]
9526 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9527 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9528
21eaf3a5
UD
9529 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9530 __feraiseexcept_renamed.
9531
e3a851a2
UD
95322011-12-21 Ulrich Drepper <drepper@gmail.com>
9533
4920765e
UD
9534 [BZ #13538]
9535 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9536 EPOLLET with unsigned values.
9537 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9538 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9539
e3a851a2
UD
9540 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9541 to large cancellation.
9542 * math/s_cacoshf.c: Likewise.
9543 * math/s_cacoshl.c: Likewise.
9544
b27e24b8
RK
95452011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9546
9547 [BZ #13305]
aebefeee 9548 [BZ #12786]
b27e24b8
RK
9549 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9550 * math/s_cacoshf.c: Likewise.
9551 * math/s_cacoshl.c: Likewise.
9552
ee190f67
UD
95532011-12-21 Ulrich Drepper <drepper@gmail.com>
9554
9555 [BZ #13439]
9556 * iconv/gconv.h: Define __GCONV_SWAP.
9557 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9558 * iconvdata/utf-16.c: Likewise.
9559 * iconvdata/utf-32.c: Likewise.
9560
707f25df
AS
95612011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9562
9563 [BZ #13524]
9564 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9565 numerator after shifting it by one limb.
9566
d2daaa1e
RÁE
95672011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9568
9569 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9570 under [__USE_EXTERN_INLINES].
9571
a4647e72
UD
95722011-12-17 Ulrich Drepper <drepper@gmail.com>
9573
9574 [BZ #13446]
9575 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9576
f0b264f1
AZ
95772011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9578
9579 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9580 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9581 optimized code.
9582 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9583 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9584 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9585 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9586 for strncasecmp/strncasecmp_l compilation.
9587 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9588 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9589
8ef4f244
MP
95902011-12-08 Marek Polacek <mpolacek@redhat.com>
9591
9592 [BZ #13484]
9593 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9594 of __asm__.
9595
97ac2654
UD
95962011-12-17 Ulrich Drepper <drepper@gmail.com>
9597
9598 [BZ #13506]
9599 * time/tzfile.c (__tzfile_read): Check values from file header.
9600
91d2a845
WS
96012011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9602
9603 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9604 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9605 * powerpc/powerpc32/dl-start.S: Likewise.
9606 * powerpc/powerpc32/elf/start.S: Likewise.
9607 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9608 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9609 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9610 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9611 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9612 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9613 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9614 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9615 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9616 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9617 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9618 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9619 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9620 * powerpc/powerpc32/memset.S: Likewise.
9621 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9622 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9623 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9624 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9625 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9626 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9627 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9628 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9629 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9630 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9631 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9632 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9633 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9634
a1267ba1
AZ
96352011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9636
9637 * math/libm-test.inc: Added more nearbyint tests.
9638 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9639 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9640 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9641 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9642
ad8ac1bd
RL
96432011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9644
9645 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9646 FD_CLOEXEC.
9647
1d3e4b61
UD
96482011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9649
9650 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9651 Add wcscpy-ssse3 wcscpy-c.
9652 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9653 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9654 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9655 * sysdeps/x86_64/wcschr.S: New file.
9656 * sysdeps/x86_64/wcsrchr.S: New file.
9657 * string/test-strcmp.c: Remove checking of wcscmp function for
9658 wrong alignments.
9659 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9660 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9661 wcsrchr-sse2 wcsrchr-c.
9662 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9663 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9664 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9665 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9666 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9667 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9668 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9669 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9670 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9671 * wcsmbc/wcschr.c (WCSCHR): New macro.
9672
5b330a2d
UD
96732011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9674
9675 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9676 * wcsmbs/test-wcsrchr.c: New file.
9677 * string/test-strrchr.c: Add wcsrchr support.
9678 (WIDE): New macro.
9679 * wcsmbs/test-wcscpy.c: New file.
9680 * string/test-strcpy.c: Add wcscpy support.
9681 (WIDE): New macro.
26428b7c 9682
f039c043
UD
96832011-12-10 Ulrich Drepper <drepper@gmail.com>
9684
9685 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9686 the inner loop.
9687
850fb039
AS
96882011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9689
9690 [BZ #13472]
9691 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9692
4efbd5cb
UD
96932011-12-04 Ulrich Drepper <drepper@gmail.com>
9694
52ff5dd0 9695 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 9696 Minor optimizations.
52ff5dd0 9697
4efbd5cb
UD
9698 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9699 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9700 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9701
8a426e12
UD
97022011-12-03 Ulrich Drepper <drepper@gmail.com>
9703
aff2453d
UD
9704 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9705 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9706 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9707 for gcc to avoid warnings.
9708 * inet/Makefile (tests): Add tst-checks.
9709 * inet/tst-checks.c: New file.
9710
9711 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9712 warning.
9713
9714 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9715 __wmemcmp_sse2.
9716
9717 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9718 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9719
8a426e12
UD
9720 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9721
9bea3473
UD
97222011-12-02 Ulrich Drepper <drepper@gmail.com>
9723
3a965496
UD
9724 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9725 problem.
9726
9bea3473
UD
9727 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9728
f101631b
UD
97292011-11-29 Joseph Myers <joseph@codesourcery.com>
9730
9731 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9732 conditional on GCC version.
9733 (__arch_compare_and_exchange_val_8_acq)
9734 (__arch_compare_and_exchange_val_16_acq)
9735 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9736 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9737 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9738
a98275aa
UD
97392011-12-02 Joseph Myers <joseph@codesourcery.com>
9740
9741 * sysdeps/sh/backtrace.c: New file.
9742
d4cc29a2
AS
97432011-12-02 Andreas Schwab <schwab@redhat.com>
9744
9745 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9746 parenthesis.
9747
6257af2d
AS
97482011-12-01 Andreas Schwab <schwab@redhat.com>
9749
9750 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9751 falling back to utime.
9752
b5f44c1a
AS
97532011-11-30 Andreas Schwab <schwab@redhat.com>
9754
9755 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9756 expectations for float.
9757
f3a6cc0a
AS
97582011-11-29 Andreas Schwab <schwab@redhat.com>
9759
9760 * locale/weight.h (findidx): Add parameter len.
9761 * locale/weightwc.h (findidx): Likewise.
9762 * posix/fnmatch_loop.c (FCT): Adjust caller.
9763 * posix/regcomp.c (build_equiv_class): Likewise.
9764 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9765 * posix/regexec.c (check_node_accept_bytes): Likewise.
9766 * string/strcoll_l.c (STRCOLL): Likewise.
9767 * string/strxfrm_l.c (STRXFRM): Likewise.
9768
9d65ea3a
UD
97692011-11-17 Ulrich Drepper <drepper@gmail.com>
9770
9771 * Makefile.in: Remove CVSOPT handling.
9772 * configure.in: Remove use of AC_REVISION.
9773 * iconvdata/Makefile (distribute): No need to filter out CVS.
9774 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9775 handling.
9776
5583a086
AS
97772011-11-16 Andreas Schwab <schwab@redhat.com>
9778
9779 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9780 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9781 [USE_AS_STRNCASECMP_L]: Likewise.
9782 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9783 NO_TLS_DIRECT_SEG_REFS.
9784 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9785 Fix argument offsets for non-PIC.
9786 [USE_AS_STRNCASECMP_L]: Likewise.
9787 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9788 NO_TLS_DIRECT_SEG_REFS.
9789
d62a8200
UD
97902011-11-15 Ulrich Drepper <drepper@gmail.com>
9791
9d65ea3a 9792 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
9793 O_CLOEXEC.
9794 * locale/loadlocale.c (_nl_load_locale): Likewise.
9795
09f93bd3
AS
97962011-11-15 Andreas Schwab <schwab@redhat.com>
9797
446514f9
AS
9798 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9799 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9800 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9801 (SYSCALL_GETTIME): Set errno on error.
9802
09f93bd3
AS
9803 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9804 count references to noai6ai_cached.
9805
312be3f9
UD
98062011-11-15 Ulrich Drepper <drepper@gmail.com>
9807
9808 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9809
9810 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9811 FD_CLOEXEC for /proc/self/maps.
9812
9813 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9814 FD_CLOEXEC for /proc/meminfo.
9815
9816 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9817 gai.conf.
9818
9819 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9820 FD_CLOEXEC for given file.
9821
9822 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9823
9824 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9825 FD_CLOEXEC for /etc/hosts.
9826 (_gethtent): Likewise.
9827
9828 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9829
9830 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9831 cancellation and set FD_CLOEXEC for /etc/netgroup.
9832
9833 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9834 reading /etc/publickey.
9835
9836 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9837 allow cancellation when reading /etc/group.
9838
9839 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9840 cancellation.
9841 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9842
9843 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9844 when using data file.
9845
9846 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9847
9848 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9849 (write_nis_obj): Use "c" and "e" in fopen.
9850
9851 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9852
9853 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9854
9855 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9856
9857 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9858
9859 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9860 locale.alias.
9861
9862 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9863
9864 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9865
9866 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9867
9868 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9869 file parsing and set FD_CLOEXEC.
9870
82af0fa8
UD
98712011-11-14 Ulrich Drepper <drepper@gmail.com>
9872
9873 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9874
a5fb313c
AS
98752011-11-14 Andreas Schwab <schwab@redhat.com>
9876
9877 * malloc/arena.c (arena_get2): Don't call reused_arena when
9878 _int_new_arena failed.
9879
6abf3465
UD
98802011-11-14 Ulrich Drepper <drepper@gmail.com>
9881
9882 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9883 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9884 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9885 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9886 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9887 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9888 to compile strcasecmp and strncasecmp.
9889 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9890 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9891
9892 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9893
76e3966e
UD
98942011-11-13 Ulrich Drepper <drepper@gmail.com>
9895
9896 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9897 locale-defines.sym to gen-as-const-headers.
9898 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9899 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9900 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9901 to compile strcasecmp and strncasecmp.
9902 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9903 strcasecmp_l and strncasecmp_l.
9904 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9905 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9906 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9907 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9908 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9909 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9910 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9911 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9912 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9913 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9914 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9915
ab26144e
UD
99162011-11-12 Ulrich Drepper <drepper@gmail.com>
9917
7edb22ef
UD
9918 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9919 result of SYSDEP_GETTIME_CPU to retval.
9920 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9921 parameter list to macro. Remove trailing semicolon. Adjust users.
9922
9694fc44
UD
9923 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9924 variable.
9925
8ad89ef8
UD
9926 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9927 mantissa words.
9928 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9929
0c822ef9
UD
9930 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9931 from unused variable.
9932
874e0564
UD
9933 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9934 DWARF definitions.
9935 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9936 for assembling.
9937
3a2edc79
UD
9938 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9939 over namespaces.
9940
f3c2577f
UD
9941 * sunrpc/rpc_prot.c (rejected): Fix case value.
9942
294ce126
UD
9943 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9944 unsigned long long int to avoid warnings in shift.
9945
5e2b63c6
UD
9946 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9947 of use of trans.
9948 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9949 variable tmp.
9950
e7f4b08e
UD
9951 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9952 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9953 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9954
ab26144e
UD
9955 * nis/nis_table.c (nis_list): Use variable of correct type for
9956 result of __follow_path call.
9957
8a6d5255
AZ
99582011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9959
9960 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
9961 of math functions ceil, trunc, floor, round, and sqrt, when
9962 avaliable on the platform.
9963 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9964 name clash.
9965 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9966 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9967 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9968
aaddc98c
MP
99692011-10-30 Marek Polacek <mpolacek@redhat.com>
9970
9971 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9972 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9973
95b7042b
RM
99742011-11-11 Roland McGrath <roland@hack.frob.com>
9975
9976 * include/unistd.h: Fix __readlink return type.
9977 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9978
57769839
UD
99792011-11-11 Ulrich Drepper <drepper@gmail.com>
9980
9981 * stdlib/ucontext.h: Undo last change for makecontext.
9982
edc5984d
AS
99832011-11-11 Andreas Schwab <schwab@redhat.com>
9984
98591e58
AS
9985 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9986
edc5984d
AS
9987 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9988 * setjmp/setjmp.h: Mark functions as non-leaf.
9989 * setjmp/bits/setjmp2.h: Likewise.
9990 * stdlib/ucontext.h: Likewise.
9991
77cdc054
AS
99922011-11-10 Andreas Schwab <schwab@redhat.com>
9993
9994 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9995 (reused_arena): Don't check arena limit.
9996 (arena_get2): Atomically check arena limit.
9997
fe72eebd
UD
99982011-11-08 Ulrich Drepper <drepper@gmail.com>
9999
5f078c32
UD
10000 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10001 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10002
fe72eebd
UD
10003 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10004 instructions.
10005
ae1bc2fa
AS
100062011-11-07 Andreas Schwab <schwab@redhat.com>
10007
7583a88d
AS
10008 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10009 handler when locking.
10010
ae1bc2fa
AS
10011 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10012 Fix size of allocated buffer.
10013
10fb0bfa
AS
100142011-11-04 Andreas Schwab <schwab@redhat.com>
10015
998832a4
AS
10016 [BZ #10103]
10017 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10018 declarations for long double functions.
10019 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10020
10fb0bfa
AS
10021 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10022
3d7ba52b
AS
100232011-11-03 Andreas Schwab <schwab@redhat.com>
10024
a9ae54a1
AS
10025 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10026 installed.
10027
3d7ba52b
AS
10028 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10029 is disabled.
10030
bc8db248
ST
100312011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10032
10033 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10034
45b96dd6
AS
100352011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10036
647776f6
AS
10037 * include/alloca.h (stackinfo_alloca_round): Define.
10038 (extend_alloca): Use it.
10039 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10040 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10041 here.
10042
d91a8b93
AS
10043 * scripts/check-local-headers.sh: Ignore libaudit.h.
10044
45b96dd6
AS
10045 * nscd/Makefile (extra-objs): Make recursively expanded.
10046
432d41ce
UD
100472011-11-01 Ulrich Drepper <drepper@gmail.com>
10048
34372fc6
UD
10049 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10050 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10051
fadb59f8
UD
10052 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10053 * posix/tst-rfc3484-2.c: Likewise.
10054 * posix/tst-rfc3484-3.c: Likewise.
10055
78239589
UD
10056 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10057 process_vm_writev.
10058 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10059 process_vm_writev.
10060 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10061 process_vm_writev from libc using GLIBC_2.15 version.
10062
432d41ce
UD
10063 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10064
02f9c6cf
PP
100652011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10066
10067 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10068 stack usage.
10069
3a2c0242
UD
100702011-10-31 Ulrich Drepper <drepper@gmail.com>
10071
f4ec4833
UD
10072 [BZ #13367]
10073 * nss/getent.c (initgroups_keys): Show error message in case no group
10074 names are given.
10075
3a2c0242
UD
10076 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10077 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10078 __bump_nl_timestamp.
10079 * nscd/connections (nscd_init): When host database is served open
10080 netlink socket and request notification about configuration changes.
10081 (main_loop_poll): Track netlink file descriptor and bump timestamp
10082 in case data becomes available.
10083 (main_loop_epoll): Likewise.
10084 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10085 (database_pers_head): Add extra_data fileds.
10086 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10087 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10088 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10089 Adjust caller.
10090 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10091 in6ai data, call __free_in6ai.
10092 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10093 Add -DHAVE_NETLINK.
10094 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10095 interface information. Reuse previous data if netlink timestamp
10096 is not changed.
10097 (__bump_nl_timestamp): New function.
10098 (__free_in6ai): New function.
10099
636064eb
UD
101002011-10-30 Ulrich Drepper <drepper@gmail.com>
10101
10102 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10103 close_not_cancel_no_status here.
10104 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10105
9beb2334
UD
101062011-10-29 Ulrich Drepper <drepper@gmail.com>
10107
6ef76f3b
UD
10108 [BZ #13276]
10109 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10110 return value.
10111
0ffc4f3e 10112 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10113 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10114 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10115
cb95113e
UD
101162011-07-03 Andreas Jaeger <aj@suse.de>
10117
10118 [BZ #10709]
10119 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10120 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10121 * math/libm-test.inc (sin_test): Add test case.
10122
a1b560ff
UD
101232011-10-29 Ulrich Drepper <drepper@gmail.com>
10124
c9aaface
UD
10125 [BZ #13337]
10126 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10127 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10128
d272e7f1
UD
10129 * elf/chroot_canon.c (chroot_canon): Cleanups.
10130
1bc33071
UD
10131 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10132
1760874d
TJ
10133 [BZ #13335]
10134 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10135 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10136
51d91b18
UD
10137 * string/test-strchr.c: Make usable for strchrnul testing.
10138 * string/test-strchrnul.c: New file.
10139 * string/Makefile (strop-tests): Add strchrnul.
10140
a1b560ff 10141 * po/it.po: Update from translation team.
b611fb81 10142 * po/es.po: Likewise.
a1b560ff 10143
a5b81e1f
UD
101442011-10-28 Ulrich Drepper <drepper@gmail.com>
10145
fd52bc6d
UD
10146 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10147 the three constants needed as parameters. Drop the others.
10148 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10149 __m128i_strloadu_tolower.
52e4b9eb
UD
10150 Create and initialize variable zero and use it in all the places
10151 where _mm_setzero_si128 was used.
fd52bc6d 10152
a5b81e1f
UD
10153 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10154 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10155 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10156 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10157 anymore.
10158 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10159 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10160 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10161 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10162 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10163 __mpranred, __mptan.
10164 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10165 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10166 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10167 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10168 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10169 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10170 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10171 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10172 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10173
b4343346
AS
101742011-10-28 Andreas Schwab <schwab@redhat.com>
10175
0c92d8a8
AS
10176 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10177 redefine if SHARED.
10178 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10179
b4343346
AS
10180 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10181 wide char related routines to wcsmbs subdir.
10182
3871f58f
AS
101832011-10-27 Andreas Schwab <schwab@redhat.com>
10184
10185 [BZ #13344]
10186 * misc/sys/cdefs.h (__THROWNL): Define.
10187 * posix/unistd.h: Use __THREADNL instead of __THREAD
10188 for memory synchronization functions.
10189
94d44d9f
RM
101902011-10-26 Roland McGrath <roland@hack.frob.com>
10191
21b64b15 10192 [BZ #13349]
94d44d9f
RM
10193 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10194 doesn't exist.
10195 * manual/stdio.texi (Obstack Streams): Node removed.
10196
f6ce9294
AS
101972011-10-26 Andreas Schwab <schwab@redhat.com>
10198
80479147
AS
10199 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10200 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10201 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10202
f6ce9294
AS
10203 * math/math_private.h (math_force_eval): Allow non-addressable
10204 arguments.
10205 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10206
618280a1
UD
102072011-10-25 Ulrich Drepper <drepper@gmail.com>
10208
e0016b11
UD
10209 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10210 file is not needed.
10211
10212 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10213 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10214 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10215 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10216 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10217 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10218 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10219 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10220 Add AVX variants.
10221 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10222 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10223 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10224 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10225 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10226 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10227 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10228 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10229 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10230 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10231 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10232 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10233 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10234 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10235 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10236 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10237 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10238 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10239 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10240
10241 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10242 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10243
618280a1
UD
10244 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10245 place. Use VEX encoding when compiling for AVX.
10246
37822576
AS
102472011-10-25 Andreas Schwab <schwab@redhat.com>
10248
1f1e1947
AS
10249 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10250 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10251
37822576
AS
10252 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10253
31ea014d
UD
102542011-10-25 Ulrich Drepper <drepper@gmail.com>
10255
d7826aa1 10256 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10257 useless if() expression.
d7826aa1
UD
10258 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10259 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10260 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10261 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10262 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10263 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10264 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10265 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10266 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10267 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10268 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10269 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10270 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10271 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10272 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10273 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10274 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10275 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10276 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10277
31ea014d
UD
10278 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10279
16437fec
AS
102802011-10-25 Andreas Schwab <schwab@redhat.com>
10281
10282 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10283 condition.
10284 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10285
31d3cc00
UD
102862011-10-25 Ulrich Drepper <drepper@gmail.com>
10287
10288 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10289 .text section. Avoid duplicate constants.
10290 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10291 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10292 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10293 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10294 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10295 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10296 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10297 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10298 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10299 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10300 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10301 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10302 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10303 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10304 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10305 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10306 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10307 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10308 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10309 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10310 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10311 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10312 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10313 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10314 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10315 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10316 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10317 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10318 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10319 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10320 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10321 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10322 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10323 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10324 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10325 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10326 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10327 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10328 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10329 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10330 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10331 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10332 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10333 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10334 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10335
58985aa9
UD
103362011-10-24 Ulrich Drepper <drepper@gmail.com>
10337
202c9deb
UD
10338 * sysdeps/x86_64/dla.h: Move to ...
10339 * sysdeps/x86_64/fpu/dla.h: ...here.
10340 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10341 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10342
af968f62
UD
10343 * config.make.in: Add have-mfma4 entry.
10344 * configure.in: Substitute libc_cv_cc_fma4.
10345 * math/Makefile (dbl-only-routines): Add sincostab.
10346 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10347 Use __sincostab not sincos.
10348 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10349 name is a macro.
10350 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10351 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10352 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10353 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10354 using __copysign.
10355 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10356 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10357 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10358 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10359 and __inv.
10360 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10361 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10362 __copysign.
10363 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10364 define aliases when function name is a macro.
10365 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10366 sysdeps/ieee754/dbl-64/sincos.tbl.
10367 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10368 fma4-enabled routines.
10369 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10370 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10371 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10372 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10373 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10374 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10375 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10376 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10377 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10378 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10379 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10380 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10381 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10382 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10383 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10384 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10385 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10386 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10387 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10388 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10389 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10390 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10391 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10392 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10393 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10394 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10395 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10396 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10397 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10398 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10399
58985aa9
UD
10400 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10401 rename.
10402 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10403 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10404 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10405 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10406 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10407 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10408 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10409 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10410
a201fbcf
AS
104112011-10-24 Andreas Schwab <schwab@redhat.com>
10412
10413 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10414
fc2ee42a
LD
104152011-10-23 Ulrich Drepper <drepper@gmail.com>
10416
bb3129bd
UD
10417 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10418
0275fff8
UD
10419 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10420 prediction.
10421 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10422
2fa2ae85
UD
10423 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10424 Remove unused variable magic_bits.
10425 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10426
fc2ee42a
LD
10427 * string/strnlen.c: Define and use STRNLEN macro.
10428 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10429 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10430 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10431 * wcsmbs/wcslen.c: Define and use WCSLEN.
10432 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10433 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10434 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10435 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10436 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10437 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10438 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10439
ce7dd29f
LD
104402011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10441
10442 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10443 strnlen-sse2-no-bsf.
10444 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10445 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10446 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10447 Add strnlen support.
10448 (USE_AS_STRNLEN): New macro.
10449 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10450 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10451 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10452 * sysdeps/x86_64/wcslen.S: New file.
10453
979c70a3
MZ
104542011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10455
10456 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10457 XMM-moves are used for copying on small sizes.
10458
2d09f82f
LD
104592011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10460
10461 * wcsmbs/Makefile (strop-tests): Add wcschr.
10462 * wcsmbs/test-wcschr.c: New file.
10463 * string/test-strchr.c: Update.
10464 Add wcschr support.
10465 (WIDE): New macro.
10466
619fccca
LD
104672011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10468
2d09f82f 10469 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
10470 * wcsmbs/test-wcslen.c: New file.
10471 * string/test-strlen.c: Update.
10472 Add wcslen support.
10473 (WIDE): New macro.
10474
09f699ea
UD
104752011-10-23 Ulrich Drepper <drepper@gmail.com>
10476
10477 * po/it.po: Update from translation team.
10478
95584d3b
LD
104792011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10480
10481 * sysdeps/x86_64/wcscmp.S: Update.
10482 Fix wrong comparison semantics.
10483 wcscmp shall use signed comparison not unsigned.
10484 Don't use substraction to avoid overflow bug.
10485 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10486 * wcsmbc/wcscmp.c: Likewise.
10487 * string/test-strcmp.c: Likewise.
10488 Add new tests to check cases with negative values.
10489
c8b3296b
UD
104902011-10-23 Ulrich Drepper <drepper@gmail.com>
10491
10492 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10493 * sysdeps/x86_64/dla.h: ...here. New file.
10494 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10495 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10496 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10497 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10498 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10499 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10500 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10501 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10502 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10503
246ad57a
AS
105042011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10505
10506 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10507 __ynl_finite aliases.
10508
a1a87169
UD
105092011-10-22 Ulrich Drepper <drepper@gmail.com>
10510
0d355eb7
UD
10511 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10512
a1a87169
UD
10513 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10514 define DLA_FMA.
10515 [DLA_FMA] (EMULV): Use DLA_FMA.
10516 [DLA_FMA] (MUL12): Use EMULV.
10517 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10518 that are not needed.
10519 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10520 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10521 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10522 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10523 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10524 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10525 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10526
ee2aafe0
AS
105272011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10528
10529 * math/s_nan.c: Undef __nan.
10530 * math/s_nanf.c: Undef __nanf.
10531 * math/s_nanl.c: Undef __nanl.
10532 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10533 "math_private.h".
10534
bc62c2fb
UD
105352011-10-22 Ulrich Drepper <drepper@gmail.com>
10536
77425c63
UD
10537 * math/s_catan.c: Add branch predictions.
10538 * math/s_catanf.c: Likewise.
10539 * math/s_catanh.c: Likewise.
10540 * math/s_catanhf.c: Likewise.
10541 * math/s_catanhl.c: Likewise.
10542 * math/s_catanl.c: Likewise.
10543 * math/s_cexp.c: Likewise.
10544 * math/s_cexpf.c: Likewise.
10545 * math/s_cexpl.c: Likewise.
10546 * math/s_clog.c: Likewise.
10547 * math/s_clog10.c: Likewise.
10548 * math/s_clog10f.c: Likewise.
10549 * math/s_clog10l.c: Likewise.
10550 * math/s_clogf.c: Likewise.
10551 * math/s_clogl.c: Likewise.
10552 * math/s_csqrt.c: Likewise.
10553 * math/s_csqrtf.c: Likewise.
10554 * math/s_csqrtl.c: Likewise.
10555 * math/s_ctanf.c: Likewise.
10556 * math/s_ctanh.c: Likewise.
10557 * math/s_ctanhf.c: Likewise.
10558 * math/s_ctanhl.c: Likewise.
10559 * math/s_ctanl.c: Likewise.
10560
bc62c2fb
UD
10561 * math/math_private.h: Define __nan, __nanf, __nanl.
10562 * math/s_cacosh.c: Include <math_private.h>.
10563 * math/s_cacoshl.c: Likewise.
10564 * math/s_casinh.c: Likewise.
10565 * math/s_casinhf.c: Likewise.
10566 * math/s_casinhl.c: Likewise.
10567 * math/s_ccos.c: Rely entire on ccosh.
10568 * math/s_ccosf.c: Rely entire on ccoshf.
10569 * math/s_ccosl.c: Rely entirely on ccoshl.
10570 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10571 Remove tests for FE_INVALID.
10572 * math/s_ccoshf.c: Likewise.
10573 * math/s_ccoshl.c: Likewise.
10574 * math/s_csin.c: Likewise.
10575 * math/s_csinf.c: Likewise.
10576 * math/s_csinh.c Likewise.
10577 * math/s_csinhf.c: Likewise.
10578 * math/s_csinhl.c: Likewise.
10579 * math/s_csinl.c: Likewise.
10580 * math/s_ctan.c: Likewise.
10581 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10582 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10583 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10584
8ec250a4
UD
105852011-10-21 Ulrich Drepper <drepper@gmail.com>
10586
c196fed8
UD
10587 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10588 compilation problems.
10589
8ec250a4
UD
10590 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10591 __builtin_expect.
10592
8d4f46c6
UD
105932011-10-20 Ulrich Drepper <drepper@gmail.com>
10594
ed72b654
UD
10595 * sysdeps/i386/configure.in: Test for -mfma4 option.
10596 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10597 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10598 COMMON_CPUID_INDEX_80000001.
10599 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10600 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10601 use it if FMA3 is not supported.
10602 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10603
8d4f46c6
UD
10604 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10605 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10606
d45c60c2
AS
106072011-10-20 Andreas Schwab <schwab@redhat.com>
10608
10609 [BZ #12892]
10610 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10611 it would create a cycle with a link time dependency.
10612
d9a4d2ab
UD
106132011-10-19 Ulrich Drepper <drepper@gmail.com>
10614
855d1560
UD
10615 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10616 instruction.
10617 * string/Makefile (strop-tests): Add rawmemchr.
10618 * string/test-rawmemchr.c: New file.
10619
d9a4d2ab
UD
10620 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10621 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10622 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10623 when compiling str{,n}casecmp and when AVX is available. Hook up
10624 new optimized code in initializers.
10625
8f3b1ffe
AS
106262011-10-19 Andreas Schwab <schwab@redhat.com>
10627
10628 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10629 __feraiseexcept instead of feraiseexcept.
10630
d38f1dba
UD
106312011-10-18 Ulrich Drepper <drepper@gmail.com>
10632
d9a8d0ab
UD
10633 * math/math_private.h: Define defaults for libc_fetestexcept and
10634 libc_feupdateenv.
10635 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10636 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10637 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10638 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10639 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10640 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10641 libc_fetestexcept and libc_feupdateenv.
10642
4855e3dd
UD
10643 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10644 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10645 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10646 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10647 libc_feholdexcept_setround.
10648
581d30e3
UD
10649 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10650 Add s_nearbyint-c and s_nearbyintf-c.
10651 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10652 nearbyintf inlines.
10653 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10654 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10655 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10656 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10657
d38f1dba
UD
10658 * math/math_private.h: Define defaults for libc_fegetround,
10659 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10660 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10661 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10662 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10663 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10664 standard functions.
10665 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10666 Remove comments and hacks for old compiler versions.
10667 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10668 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10669 libc_feholdexceptl.
10670
caa6c9d8
AS
106712011-10-18 Andreas Schwab <schwab@redhat.com>
10672
10673 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
10674 (__feraiseexcept_renamed): Add __NTH.
10675 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
10676 namespace violations.
10677
97c066e6
UD
106782011-10-17 Ulrich Drepper <drepper@gmail.com>
10679
99ce7b04
UD
10680 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10681
1004d182
UD
10682 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10683
228a984d
UD
10684 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10685 recently added interfaces.
10686 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10687
c8553a6a
UD
10688 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10689 about macro parameter expansion.
10690
ed22dcf6
UD
10691 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10692 __NO_MATH_INLINES is defined. Cleanups.
10693
10694 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10695 and __floorf is target has SSE4.1.
10696 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10697 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10698 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10699 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10700
b171c137
UD
10701 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10702 name.
10703 (floorf): Likewise.
10704
97c066e6
UD
10705 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10706
629f62ef
AS
107072011-10-17 Andreas Schwab <schwab@redhat.com>
10708
49a43d80
AS
10709 * misc/sys/cdefs.h: Fix last change.
10710
629f62ef
AS
10711 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10712 database lookup.
10713
e453f6cd
UD
107142011-10-16 Ulrich Drepper <drepper@gmail.com>
10715
aa78043a
UD
10716 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10717
ad0f5cad
UD
10718 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10719 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10720 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10721 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10722 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10723 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10724 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10725 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10726 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10727 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10728 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10729 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10730 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10731 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10732 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10733 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10734 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10735 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10736 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10737 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10738 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10739 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10740
10741 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10742 ceil, ceilf, floor, floorf.
10743
10744 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10745 Perform IRELATIVE relocations last.
10746
e453f6cd
UD
10747 * elf/do-rel.h: Add another parameter nrelative, replacing the
10748 local variable with the same name. Change name of the function
10749 to end in Rel or Rela (uppercase).
10750 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10751 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10752 elf_dynamic_do_##reloc function.
10753
fd5bdc09
UD
107542011-10-15 Ulrich Drepper <drepper@gmail.com>
10755
79b195b5
UD
10756 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10757 is sufficient, at least on modern CPUs.
10758
d4a28569
UD
10759 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10760
b61099b5
UD
10761 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10762 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10763
bcf01e6d
UD
10764 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10765 __expl_finite.
10766 * math/bits/math-finite.h: Add entries for exp.
10767 * math/e_expl.c: Add __*_finite alias.
10768 * sysdeps/i386/fpu/e_exp.S: Likewise.
10769 * sysdeps/i386/fpu/e_expf.S: Likewise.
10770 * sysdeps/i386/fpu/e_expl.c: Likewise.
10771 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10772 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10773 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10774 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10775 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10776 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10777 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10778
ba1a0d59
UD
10779 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10780 is sufficient, at least on modern CPUs.
10781
fd5bdc09
UD
10782 * ctype/ctype-info.c (__ctype_init): Define.
10783 * include/ctype.h (__ctype_init): Declare.
10784 (__ctype_b_loc): The variable is always initialized.
10785 (__ctype_toupper_loc): Likewise.
10786 (__ctype_tolower_loc): Likewise.
10787 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10788 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10789
7872cfb0
AS
107902011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10791
b468825a
AS
10792 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10793
7872cfb0
AS
10794 * configure.in: Also look in $cxxmachine/include for C++ system
10795 headers.
10796
be13f7bf
LD
107972011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10798
10799 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10800 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10801 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10802 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10803 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10804 (USE_AS_WMEMCMP): New macro.
10805 Fixing indents.
10806 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10807 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10808 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10809 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10810 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10811 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10812 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10813 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10814 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10815 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10816 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10817 (USE_AS_WMEMCMP): New macro.
10818 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10819 * sysdeps/string/test-memcmp.c: Update.
10820 Fix simple_wmemcmp.
10821 Add new tests.
10822 * wcsmbs/wmemcmp.c: Update.
10823 (WMEMCMP): New macro.
10824 Fix overflow bug.
10825
556a2007
AJ
108262011-10-12 Andreas Jaeger <aj@suse.de>
10827
10828 [BZ #13268]
10829 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10830
538faaa7
UD
108312011-10-15 Ulrich Drepper <drepper@gmail.com>
10832
ab6737ff
UD
10833 * libio/iofwide.c (do_length): Avoid warning.
10834
538faaa7
UD
10835 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10836
396a21b1
UD
108372011-10-14 Ulrich Drepper <drepper@gmail.com>
10838
cdf2901f
UD
10839 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10840
38ad40ce
UD
10841 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10842 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10843 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10844 * sysdeps/i386/i686/fpu/e_log.S: New file.
10845 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10846 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10847
396a21b1
UD
10848 * ctype/ctype.h: Add support for inlined isXXX functions when
10849 compiling C++ code.
10850
6b1f68c9
AS
108512011-10-14 Andreas Schwab <schwab@redhat.com>
10852
349290c0
AS
10853 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10854
6b1f68c9
AS
10855 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10856
f2282d42
RM
108572011-10-13 Roland McGrath <roland@hack.frob.com>
10858
10859 [BZ #13291]
10860 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10861
5298ffa8
AS
108622011-10-13 Andreas Schwab <schwab@redhat.com>
10863
714fad23
AS
10864 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10865 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10866 feraiseexcept.
10867
81dcc7fb
AS
10868 * sysdeps/x86_64/memrchr.S: Check for zero size.
10869
5298ffa8
AS
10870 * string/stratcliff.c: Add memrchr tests.
10871
951fbcec
LD
108722011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10873
10874 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10875 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10876 rawmemchr-sse2 rawmemchr-sse2-bsf.
10877 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10878 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10879 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10880 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10881 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10882 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10883 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10884 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10885 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10886 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10887 * string/memrchr.c (MEMRCHR): New macro.
10888
0ac5ae23
UD
108892011-10-12 Ulrich Drepper <drepper@gmail.com>
10890
10891 Add integration with gcc's -ffinite-math-only and optimize wrapper
10892 functions in libm.
10893 * Versions.def: Define GLIBC_2.15 version for libm.
10894 * math/Makefile (headers): Add bits/math-finite.h.
10895 * math/bits/math-finite.h: New file.
10896 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10897 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10898 * math/e_acoshl.c: Add __*_finite alias.
10899 * math/e_acosl.c: Likewise.
10900 * math/e_asinl.c: Likewise.
10901 * math/e_atan2l.c: Likewise.
10902 * math/e_atanhl.c: Likewise.
10903 * math/e_coshl.c: Likewise.
10904 * math/e_exp10.c: Likewise.
10905 * math/e_exp10f.c: Likewise.
10906 * math/e_exp10l.c: Likewise.
10907 * math/e_exp2l.c: Likewise.
10908 * math/e_fmodl.c: Likewise.
10909 * math/e_gammal_r.c: Likewise.
10910 * math/e_hypotl.c: Likewise.
10911 * math/e_j0l.c: Likewise.
10912 * math/e_j1l.c: Likewise.
10913 * math/e_jnl.c: Likewise.
10914 * math/e_lgammal_r.c: Likewise.
10915 * math/e_log10l.c: Likewise.
10916 * math/e_log2l.c: Likewise.
10917 * math/e_logl.c: Likewise.
10918 * math/e_powl.c: Likewise.
10919 * math/e_sinhl.c: Likewise.
10920 * math/e_sqrtl.c: Likewise.
10921 * math/e_scalb.c: Completely rewritten and optimized.
10922 * math/e_scalbf.c: Likewise.
10923 * math/e_scalbl.c: Likewise.
10924 * math/w_acos.c: Likewise.
10925 * math/w_acosf.c: Likewise.
10926 * math/w_acosl.c: Likewise.
10927 * math/w_acosh.c: Likewise.
10928 * math/w_acoshf.c: Likewise.
10929 * math/w_acoshl.c: Likewise.
10930 * math/w_asin.c: Likewise.
10931 * math/w_asinf.c: Likewise.
10932 * math/w_asinl.c: Likewise.
10933 * math/w_atan2.c: Likewise.
10934 * math/w_atan2f.c: Likewise.
10935 * math/w_atan2l.c: Likewise.
10936 * math/w_atanh.c: Likewise.
10937 * math/w_atanhf.c: Likewise.
10938 * math/w_atanhl.c: Likewise.
10939 * math/w_exp10.c: Likewise.
10940 * math/w_exp10f.c: Likewise.
10941 * math/w_exp10l.c: Likewise.
10942 * math/w_fmod.c: Likewise.
10943 * math/w_fmodf.c: Likewise.
10944 * math/w_fmodl.c: Likewise.
10945 * math/w_j0.c: Likewise.
10946 * math/w_j0f.c: Likewise.
10947 * math/w_j0l.c: Likewise.
10948 * math/w_j1.c: Likewise.
10949 * math/w_j1f.c: Likewise.
10950 * math/w_j1l.c: Likewise.
10951 * math/w_jn.c: Likewise.
10952 * math/w_jnf.c: Likewise.
10953 * math/w_log.c: Likewise.
10954 * math/w_logf.c: Likewise.
10955 * math/w_logl.c: Likewise.
10956 * math/w_log10.c: Likewise.
10957 * math/w_log10f.c: Likewise.
10958 * math/w_log10l.c: Likewise.
10959 * math/w_log2.c: Likewise.
10960 * math/w_log2f.c: Likewise.
10961 * math/w_log2l.c: Likewise.
10962 * math/w_pow.c: Likewise.
10963 * math/w_powf.c: Likewise.
10964 * math/w_powl.c: Likewise.
10965 * math/w_remainder.c: Likewise.
10966 * math/w_remainderf.c: Likewise.
10967 * math/w_remainderl.c: Likewise.
10968 * math/w_scalb.c: Likewise.
10969 * math/w_scalbf.c: Likewise.
10970 * math/w_scalbl.c: Likewise.
10971 * math/w_sqrt.c: Likewise.
10972 * math/w_sqrtf.c: Likewise.
10973 * math/w_sqrtl.c: Likewise.
10974 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10975 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10976 used.
10977 * math/math_private.h: Declare __kernel_standard_f.
10978 * math/w_cosh.c: Remove cruft and optimize a bit.
10979 * math/w_coshf.c: Likewise.
10980 * math/w_coshl.c: Likewise.
10981 * math/w_exp2.c: Likewise.
10982 * math/w_exp2f.c: Likewise.
10983 * math/w_exp2l.c: Likewise.
10984 * math/w_hypot.c: Likewise.
10985 * math/w_hypotf.c: Likewise.
10986 * math/w_hypotl.c: Likewise.
10987 * math/w_lgamma.c: Likewise.
10988 * math/w_lgamma_r.c: Likewise.
10989 * math/w_lgammaf.c: Likewise.
10990 * math/w_lgammaf_r.c: Likewise.
10991 * math/w_lgammal.c: Likewise.
10992 * math/w_lgammal_r.c: Likewise.
10993 * math/w_sinh.c: Likewise.
10994 * math/w_sinhf.c: Likewise.
10995 * math/w_sinhl.c: Likewise.
10996 * math/w_tgamma.c: Likewise.
10997 * math/w_tgammaf.c: Likewise.
10998 * math/w_tgammal.c: Likewise.
10999 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11000 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11001 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11002 Minor optimizations. Pretty printing. Remove cruft.
11003 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11004 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11005 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11006 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11007 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11008 * sysdeps/i386/fpu/e_asin.S: Likewise.
11009 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11010 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11011 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11012 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11013 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11014 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11015 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11016 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11017 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11018 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11019 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11020 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11021 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11022 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11023 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11024 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11025 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11026 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11027 * sysdeps/i386/fpu/e_log.S: Likewise.
11028 * sysdeps/i386/fpu/e_log10.S: Likewise.
11029 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11030 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11031 * sysdeps/i386/fpu/e_log2.S: Likewise.
11032 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11033 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11034 * sysdeps/i386/fpu/e_logf.S: Likewise.
11035 * sysdeps/i386/fpu/e_logl.S: Likewise.
11036 * sysdeps/i386/fpu/e_pow.S: Likewise.
11037 * sysdeps/i386/fpu/e_powf.S: Likewise.
11038 * sysdeps/i386/fpu/e_powl.S: Likewise.
11039 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11040 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11041 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11042 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11043 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11044 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11045 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11046 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11047 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11048 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11049 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11050 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11051 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11052 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11053 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11054 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11055 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11056 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11057 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11058 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11059 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11060 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11061 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11062 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11063 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11064 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11065 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11066 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11067 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11068 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11069 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11070 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11071 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11072 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11073 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11074 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11075 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11076 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11077 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11078 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11079 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11080 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11081 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11082 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11083 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11084 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11085 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11086 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11087 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11088 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11089 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11090 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11091 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11092 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11093 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11094 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11095 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11096 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11097 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11098 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11099 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11100 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11101 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11102 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11103 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11104 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11105 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11106 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11107 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11108 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11109 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11110 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11111 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11112 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11113 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11114 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11115 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11116 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11117 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11118 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11119 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11120 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11121 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11122 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11123 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11124 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11125 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11126 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11127 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11128 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11129 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11130 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11131 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11132 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11133 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11134 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11135 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11136 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11137 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11138 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11139 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11140 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11141 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11142 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11143 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11144 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11145 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11146 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11147 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11148 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11149 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11150 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11151 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11152 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11153 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11154 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11155 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11156 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11157 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11158 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11159 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11160 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11161 (__isnanf): Likewise.
11162 (__isinf_ns): Likewise.
11163 (__isinf_nsf): Likewise.
11164 (__finite): Likewise.
11165 (__finitef): Likewise.
11166 (__ieee754_sqrt): Define as macro.
11167 (__ieee754_sqrtf): Define as macro.
11168 (__ieee754_sqrtl): Define as macro.
11169 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11170 inlined copy.
11171 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11172 __FINITE_MATH_ONLY__ consistent.
11173 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11174
12cc2fcd
AS
111752011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11176
a843a204
AS
11177 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11178 of rawmemchr.
11179
12cc2fcd
AS
11180 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11181
c853acd5
UD
111822011-10-09 Ulrich Drepper <drepper@gmail.com>
11183
11184 * po/ja.po: Update from translation team.
11185
c658d255
RM
111862011-10-08 Roland McGrath <roland@hack.frob.com>
11187
110946e4
RM
11188 * locale/programs/locarchive.c (prepare_address_space): New function.
11189 (create_archive, enlarge_archive, open_archive): Use it.
11190
50604220
RM
11191 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11192 inside [SHARED], where it is used.
11193
c658d255
RM
11194 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11195
11196 * nss/getent.c (netgroup_keys): Remove unused variable.
11197 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11198
6a621eb7
UD
111992011-10-08 Ulrich Drepper <drepper@gmail.com>
11200
7edb55ce
UD
11201 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11202 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11203 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11204 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11205 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11206 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11207 * math/Makefile (libm-calls): Add s_isinf_ns.
11208 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11209 * math/multc3.c: Likewise.
11210 * math/s_casin.c: Likewise.
11211 * math/s_casinf.c: Likewise.
11212 * math/s_casinl.c: Likewise.
11213 * math/s_ccos.c: Likewise.
11214 * math/s_ccosf.c: Likewise.
11215 * math/s_ccosl.c: Likewise.
11216 * math/s_ctan.c: Likewise.
11217 * math/s_ctanf.c: Likewise.
11218 * math/s_ctanh.c: Likewise.
11219 * math/s_ctanhf.c: Likewise.
11220 * math/s_ctanhl.c: Likewise.
11221 * math/s_ctanl.c: Likewise.
11222 * math/w_fmod.c: Likewise.
11223 * math/w_fmodf.c: Likewise.
11224 * math/w_fmodl.c: Likewise.
11225 * math/w_remainder.c: Likewise.
11226 * math/w_remainderf.c: Likewise.
11227 * math/w_remainderl.c: Likewise.
11228 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11229 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11230 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11231 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11232 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11233 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11234 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11235 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11236
187da0ae
UD
11237 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11238 of the number.
11239 * stdio-common/printf_fphex.c: Likewise.
11240 * stdio-common/printf_size.c: Likewise.
11241
9277c064
UD
11242 * math/e_exp10.c: Include math_private.h using <...> not "...".
11243 * math/e_exp10f.c: Likewise.
11244 * math/e_exp10l.c: Likewise.
11245 * math/e_exp2l.c: Likewise.
11246 * math/e_j0l.c: Likewise.
11247 * math/e_j1l.c: Likewise.
11248 * math/e_jnl.c: Likewise.
11249 * math/e_lgammal_r.c: Likewise.
11250 * math/e_rem_pio2l.c: Likewise.
11251 * math/e_scalb.c: Likewise.
11252 * math/e_scalbf.c: Likewise.
11253 * math/e_scalbl.c: Likewise.
11254 * math/k_cosl.c: Likewise.
11255 * math/k_sinl.c: Likewise.
11256 * math/k_tanl.c: Likewise.
11257 * math/s_cacoshf.c: Likewise.
11258 * math/s_catan.c: Likewise.
11259 * math/s_catanf.c: Likewise.
11260 * math/s_catanh.c: Likewise.
11261 * math/s_catanhf.c: Likewise.
11262 * math/s_catanhl.c: Likewise.
11263 * math/s_catanl.c: Likewise.
11264 * math/s_ccosh.c: Likewise.
11265 * math/s_ccoshf.c: Likewise.
11266 * math/s_ccoshl.c: Likewise.
11267 * math/s_cexp.c: Likewise.
11268 * math/s_cexpf.c: Likewise.
11269 * math/s_cexpl.c: Likewise.
11270 * math/s_clog.c: Likewise.
11271 * math/s_clog10.c: Likewise.
11272 * math/s_clog10f.c: Likewise.
11273 * math/s_clog10l.c: Likewise.
11274 * math/s_clogf.c: Likewise.
11275 * math/s_clogl.c: Likewise.
11276 * math/s_csin.c: Likewise.
11277 * math/s_csinf.c: Likewise.
11278 * math/s_csinh.c: Likewise.
11279 * math/s_csinhf.c: Likewise.
11280 * math/s_csinhl.c: Likewise.
11281 * math/s_csinl.c: Likewise.
11282 * math/s_csqrt.c: Likewise.
11283 * math/s_csqrtf.c: Likewise.
11284 * math/s_csqrtl.c: Likewise.
11285 * math/s_ctan.c: Likewise.
11286 * math/s_ctanf.c: Likewise.
11287 * math/s_ctanh.c: Likewise.
11288 * math/s_ctanhf.c: Likewise.
11289 * math/s_ctanhl.c: Likewise.
11290 * math/s_ctanl.c: Likewise.
11291 * math/s_ldexp.c: Likewise.
11292 * math/s_ldexpf.c: Likewise.
11293 * math/s_ldexpl.c: Likewise.
11294 * math/s_significand.c: Likewise.
11295 * math/s_significandf.c: Likewise.
11296 * math/s_significandl.c: Likewise.
11297 * math/w_acos.c: Likewise.
11298 * math/w_acosf.c: Likewise.
11299 * math/w_acosh.c: Likewise.
11300 * math/w_acoshf.c: Likewise.
11301 * math/w_acoshl.c: Likewise.
11302 * math/w_acosl.c: Likewise.
11303 * math/w_asin.c: Likewise.
11304 * math/w_asinf.c: Likewise.
11305 * math/w_asinl.c: Likewise.
11306 * math/w_atan2.c: Likewise.
11307 * math/w_atan2f.c: Likewise.
11308 * math/w_atan2l.c: Likewise.
11309 * math/w_atanh.c: Likewise.
11310 * math/w_atanhf.c: Likewise.
11311 * math/w_atanhl.c: Likewise.
11312 * math/w_cosh.c: Likewise.
11313 * math/w_coshf.c: Likewise.
11314 * math/w_coshl.c: Likewise.
11315 * math/w_dremf.c: Likewise.
11316 * math/w_exp10.c: Likewise.
11317 * math/w_exp10f.c: Likewise.
11318 * math/w_exp10l.c: Likewise.
11319 * math/w_exp2.c: Likewise.
11320 * math/w_exp2f.c: Likewise.
11321 * math/w_fmod.c: Likewise.
11322 * math/w_fmodf.c: Likewise.
11323 * math/w_fmodl.c: Likewise.
11324 * math/w_hypot.c: Likewise.
11325 * math/w_hypotf.c: Likewise.
11326 * math/w_hypotl.c: Likewise.
11327 * math/w_j0.c: Likewise.
11328 * math/w_j0f.c: Likewise.
11329 * math/w_j0l.c: Likewise.
11330 * math/w_j1.c: Likewise.
11331 * math/w_j1f.c: Likewise.
11332 * math/w_j1l.c: Likewise.
11333 * math/w_jn.c: Likewise.
11334 * math/w_jnf.c: Likewise.
11335 * math/w_jnl.c: Likewise.
11336 * math/w_lgamma.c: Likewise.
11337 * math/w_lgamma_r.c: Likewise.
11338 * math/w_lgammaf.c: Likewise.
11339 * math/w_lgammaf_r.c: Likewise.
11340 * math/w_lgammal.c: Likewise.
11341 * math/w_lgammal_r.c: Likewise.
11342 * math/w_log.c: Likewise.
11343 * math/w_log10.c: Likewise.
11344 * math/w_log10f.c: Likewise.
11345 * math/w_log10l.c: Likewise.
11346 * math/w_log2.c: Likewise.
11347 * math/w_log2f.c: Likewise.
11348 * math/w_log2l.c: Likewise.
11349 * math/w_logf.c: Likewise.
11350 * math/w_logl.c: Likewise.
11351 * math/w_pow.c: Likewise.
11352 * math/w_powf.c: Likewise.
11353 * math/w_powl.c: Likewise.
11354 * math/w_remainder.c: Likewise.
11355 * math/w_remainderf.c: Likewise.
11356 * math/w_remainderl.c: Likewise.
11357 * math/w_scalb.c: Likewise.
11358 * math/w_scalbf.c: Likewise.
11359 * math/w_scalbl.c: Likewise.
11360 * math/w_sinh.c: Likewise.
11361 * math/w_sinhf.c: Likewise.
11362 * math/w_sinhl.c: Likewise.
11363 * math/w_sqrt.c: Likewise.
11364 * math/w_sqrtf.c: Likewise.
11365 * math/w_sqrtl.c: Likewise.
11366 * math/w_tgamma.c: Likewise.
11367 * math/w_tgammaf.c: Likewise.
11368 * math/w_tgammal.c: Likewise.
11369
6a621eb7
UD
11370 * po/ja.po: Update from translation team.
11371
bf582445
AJ
113722011-09-29 Andreas Jaeger <aj@suse.de>
11373
f9efbf3a
AJ
11374 [BZ #13179]
11375 * sunrpc/netname.c (netname2host): Fix logic.
11376
bf582445
AJ
11377 [BZ #6779]
11378 [BZ #6783]
11379 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11380 correctly.
11381 * math/w_remainder.c (__remainder): Likewise.
11382 * math/w_remainderf.c (__remainderf): Likewise.
11383 * math/libm-test.inc (remainder_test): Add test cases.
11384
48693bea
AK
113852011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11386
11387 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11388 sdiv_qrnnd.
11389
42622229
LD
113902011-10-07 Ulrich Drepper <drepper@gmail.com>
11391
11392 * string/test-memcmp.c: Avoid unncessary #defines.
11393 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11394
093ecf92
LD
113952011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11396
11397 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11398 Use new sse2 version for core i3 - i7 as it's faster
11399 than sse42 version.
11400 (bit_Prefer_PMINUB_for_stringop): New.
11401 * sysdeps/x86_64/rawmemchr.S: Update.
11402 Replace with faster SSE2 version.
11403 * sysdeps/x86_64/memrchr.S: New file.
11404 * sysdeps/x86_64/memchr.S: Update.
11405 Replace with faster SSE2 version.
11406
fde56e5c
MP
114072011-09-12 Marek Polacek <mpolacek@redhat.com>
11408
11409 * elf/dl-load.c (lose): Add cast to avoid warning.
11410
21fd49a9
UD
114112011-10-07 Ulrich Drepper <drepper@gmail.com>
11412
5a06e643
UD
11413 * po/ca.po: Update from translation team.
11414
684ae515
UD
11415 * inet/getnetgrent_r.c: Hook up nscd.
11416 * nscd/Makefile (routines): Add nscd_netgroup.
11417 (nscd-modules): Add netgroupcache.
11418 (CFLAGS-netgroupcache.c): Define.
11419 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11420 (cache_search): Add const to second parameter.
11421 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11422 INNETGR.
11423 (dbs): Add netgrdb entry.
11424 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11425 (verify_persistent_db): Handle netgrdb.
11426 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11427 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11428 GETFDNETGR.
11429 (netgroup_response_header): Define.
11430 (innetgroup_response_header): Define.
11431 (datahead): Add netgroup_response_header and innetgroup_response_header
11432 elements.
11433 * nscd/nscd.conf: Add entries for netgroup cache.
11434 * nscd/nscd.h (dbtype): Add netgrdb.
11435 (_PATH_NSCD_NETGROUP_DB): Define.
11436 (netgroup_iov_disabled): Declare.
11437 (xmalloc, xcalloc, xrealloc): Move declarations here.
11438 (cache_search): Adjust prototype.
11439 Add netgroup-related prototypes.
11440 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11441 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11442 (__nscd_innetgr): Declare.
11443 * nscd/selinux.c (perms): Use access_vector_t as element type and
11444 add netgroup-related initializers.
11445 * nscd/netgroupcache.c: New file.
11446 * nscd/nscd_netgroup.c: New file.
11447 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11448 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11449 For four parameters use innetgr.
11450 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11451 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11452 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11453 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11454
21fd49a9
UD
11455 * nscd/connections.c (register_traced_file): Don't register file
11456 for disabled databases.
11457
054c0457
UD
114582011-10-06 Ulrich Drepper <drepper@gmail.com>
11459
32b63198
UD
11460 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11461
054c0457
UD
11462 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11463 from tree and freeing node.
11464
64031225
JO
114652011-09-25 Jiri Olsa <jolsa@redhat.com>
11466
11467 * nss/nsswitch.c (__nss_database_lookup): Handle
11468 nss_parse_service_list out of memory case.
11469
0490345c
JO
114702011-09-15 Jiri Olsa <jolsa@redhat.com>
11471
11472 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11473 out of memory case.
11474
3a62d00d
AS
114752011-10-04 Andreas Schwab <schwab@redhat.com>
11476
11477 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11478 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11479 pass it down.
11480 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11481 elf_machine_rela, elf_machine_lazy_rel.
11482 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11483 (ELF_DYNAMIC_DO_REL): Likewise.
11484 (ELF_DYNAMIC_DO_RELA): Likewise.
11485 (ELF_DYNAMIC_RELOCATE): Likewise.
11486 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11487 to ELF_DYNAMIC_DO_REL.
11488 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11489 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11490 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11491 elf_machine_rela.
11492 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11493 skip_ifunc, don't call ifunc function if non-zero.
11494 (elf_machine_rela): Likewise.
11495 (elf_machine_lazy_rel): Likewise.
11496 (elf_machine_lazy_rela): Likewise.
11497 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11498 (elf_machine_lazy_rel): Likewise.
11499 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11500 Likewise.
11501 (elf_machine_lazy_rel): Likewise.
11502 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11503 Likewise.
11504 (elf_machine_lazy_rel): Likewise.
11505 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11506 (elf_machine_lazy_rel): Likewise.
11507 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11508 (elf_machine_lazy_rel): Likewise.
11509 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11510 (elf_machine_lazy_rel): Likewise.
11511 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11512 (elf_machine_lazy_rel): Likewise.
11513 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11514 (elf_machine_lazy_rel): Likewise.
11515 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11516 (elf_machine_lazy_rel): Likewise.
11517
68577918
UD
115182011-09-28 Ulrich Drepper <drepper@gmail.com>
11519
11520 * nss/nss_files/files-init.c (_nss_files_init): Use static
11521 initialization for all the *_traced_file variables.
11522
68822d74
AS
115232011-09-28 Andreas Schwab <schwab@redhat.com>
11524
11525 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11526
2056100b
RM
115272011-09-27 Roland McGrath <roland@hack.frob.com>
11528
11529 [BZ #13226]
11530 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11531
32c76b63
AS
115322011-09-27 Andreas Schwab <schwab@redhat.com>
11533
11534 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11535 Reread the line before reparsing it.
11536
bf972c9d
AS
115372011-09-26 Andreas Schwab <schwab@redhat.com>
11538
11539 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11540
e057a1b5
JM
115412011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11542 Maxim Kuvyrkov <maxim@codesourcery.com>
11543 Joseph Myers <joseph@codesourcery.com>
11544
11545 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11546 if needed for __stack_chk_guard.
11547
bc7e1c36
RM
115482011-09-19 Roland McGrath <roland@hack.frob.com>
11549
ecb1482f
RM
11550 * sysdeps/posix/spawni.c (script_execute): Always define it.
11551 It will be optimized away if unused.
11552 (maybe_script_execute): New function.
11553 (__spawni): Call it.
11554
bc7e1c36
RM
11555 * Makerules: Don't include tls.make.
11556 (config-tls): Always set to thread.
11557 * tls.make.c: File removed.
11558
1c3b002b
MF
115592011-09-19 Mike Frysinger <vapier@gentoo.org>
11560
11561 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11562 * config.make.in (CPPFLAGS-config): New substituted variable.
11563
2840865d
UD
115642011-09-15 Ulrich Drepper <drepper@gmail.com>
11565
88738eb6
UD
11566 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11567
cbf645a6 11568 [BZ #13192]
2840865d
UD
11569 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11570 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11571
b402e91a
RM
115722011-09-15 Roland McGrath <roland@hack.frob.com>
11573
11574 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11575 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11576 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11577 (CALL_FAIL): Likewise.
11578 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11579 (CALL_FAIL): Macro removed.
11580 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11581
4c1a1f71
UD
115822011-09-15 Ulrich Drepper <drepper@gmail.com>
11583
11584 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11585 for __FINITE_MATH_ONLY__ == 1.
11586
edc121be
AS
115872011-09-15 Andreas Schwab <schwab@redhat.com>
11588
11589 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11590 __ieee754_sqrt instead of sqrt.
11591 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11592 __ieee754_sqrtf instead of sqrtf.
11593 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11594 __floorf instead of floorf.
11595 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11596 __floorf, __truncf instead of floorf, truncf.
11597
cd205654
UD
115982011-09-14 Ulrich Drepper <drepper@gmail.com>
11599
ee4d0315
UD
11600 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11601
cd205654
UD
11602 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11603 __extern_always_inline.
11604 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11605 32-bit.
11606
48b67d71
AS
116072011-09-14 Andreas Schwab <schwab@redhat.com>
11608
11609 * elf/rtld.c (dl_main): Also relocate in dependency order when
11610 doing symbol dependency testing.
11611
1ae12c75
AS
116122011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11613
11614 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11615 Always define `refsym'.
11616
995a80df
AS
116172011-09-13 Andreas Schwab <schwab@redhat.com>
11618
e529793b
AS
11619 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11620 (__FD_ELT): Renamed from __FDELT.
11621 * misc/bits/select2.h (__FD_ELT): Likewise.
11622 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11623 __FD_MASK instead of __FDELT, __FDMASK.
11624 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11625 Likewise.
11626 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11627 Likewise.
11628
52d4fef8
AS
11629 * elf/Makefile (gen-ldd): Fix pattern.
11630
995a80df
AS
11631 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11632 (init_tls): Likewise.
11633
8682f8b0
UD
116342011-09-12 Ulrich Drepper <drepper@gmail.com>
11635
11636 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11637
de82006d
AS
116382011-09-12 Andreas Schwab <schwab@redhat.com>
11639
a7c8e6a1
AS
11640 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11641 `struct cmsghdr *' instead of `void *'.
11642 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11643 Likewise.
11644
0f31fe77
AS
116452011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11646
11647 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11648 if non-absolute.
11649 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11650 ldd_rewrite_script.
0f31fe77 11651
32b4c839
UD
116522011-09-11 Ulrich Drepper <drepper@gmail.com>
11653
83cd1420
UD
11654 * configure.in: Remove --with-tls option.
11655 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11656 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11657 out in case it is missing.
11658 * sysdeps/ia64/elf/configure.in: Likewise.
11659 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11660 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11661 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11662 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11663 * sysdeps/sh/elf/configure.in: Likewise.
11664 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11665 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11666 * sysdeps/x86_64/elf/configure.in: Likewise.
11667 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11668 * sysdeps/mach/hurd/tls.h: Likewise.
11669
633f745d
UD
11670 [BZ #13067]
11671 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11672
f318beb8
UD
11673 [BZ #13090]
11674 * configure.in: Fix use of AC_INIT.
11675
32b4c839
UD
11676 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11677
3ce1f295
UD
116782011-09-10 Ulrich Drepper <drepper@gmail.com>
11679
bb016596
UD
11680 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11681 __set_errno.
8e58439c
UD
11682 * malloc/hooks.c: Likewise.
11683
aebae053 11684 [BZ #11929]
02d46fc4
UD
11685 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11686 variables statically.
11687 (narenas): Initialize.
11688 (list_lock): Initialize.
bb016596
UD
11689 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11690 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
11691 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11692 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11693 Add initializers to main_arena and mp_.
11694 (malloc_state): Remove pagesize member. Change all users to use
11695 GLRO(dl_pagesize).
11696
11697 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11698 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11699 is always initialized.
11700
22a89187
UD
11701 * malloc/malloc.c: Removed unused configurations and dead code.
11702 * malloc/arena.c: Likewise.
11703 * malloc/hooks.c: Likewise.
02d46fc4 11704 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 11705
d063d164
UD
11706 * include/tls.h: Removed. USE___THREAD must always be defined.
11707 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11708 * elf/dl-libc.c: Likewise.
11709 * elf/dl-tsd.c: Likewise.
11710 * include/errno.h: Likewise.
11711 * include/netdb.h: Likewise.
11712 * include/resolv.h: Likewise.
11713 * inet/herrno-loc.c: Likewise.
11714 * inet/herrno.c: Likewise.
11715 * malloc/arena.c: Likewise.
11716 * malloc/hooks.c: Likewise.
11717 * malloc/malloc.c: Likewise.
11718 * resolv/res-state.c: Likewise.
11719 * resolv/res_libc.c: Likewise.
11720 * sysdeps/i386/dl-machine.h: Likewise.
11721 * sysdeps/ia64/dl-machine.h: Likewise.
11722 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11723 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11724 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11725 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11726 * sysdeps/sh/dl-machine.h: Likewise.
11727 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11728 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11729 * sysdeps/unix/i386/sysdep.S: Likewise.
11730 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11731 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11732 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11733 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11734 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11735 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11736 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11737 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11738 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11739 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11740 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11741 * sysdeps/x86_64/dl-machine.h: Likewise.
11742 * tls.make.c: Likewise.
11743
3ce1f295
UD
11744 * configure.in: Remove --with-__thread option. Make tests for
11745 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11746 tls_model attribute fail if no support is available. Remove
11747 USE_IN_LIBIO.
11748 * Makeconfig: Adjust for dropped configure option. All features are
11749 now mandatory.
11750 * Makerules: Likewise.
11751 * Versions.def: Likewise.
11752 * argp/argp-fmtstream.c: Likewise.
11753 * argp/argp-fmtstream.h: Likewise.
11754 * argp/argp-help.c: Likewise.
11755 * assert/assert.c: Likewise.
11756 * config.h.in: Likewise.
11757 * config.make.in: Likewise.
11758 * configure: Likewise.
11759 * configure.in: Likewise.
11760 * csu/Versions: Likewise.
11761 * csu/init.c: Likewise.
11762 * elf/tst-audit2.c: Likewise.
11763 * elf/tst-tls10.c: Likewise.
11764 * elf/tst-tls10.h: Likewise.
11765 * elf/tst-tls11.c: Likewise.
11766 * elf/tst-tls12.c: Likewise.
11767 * elf/tst-tls14.c: Likewise.
11768 * elf/tst-tlsmod11.c: Likewise.
11769 * elf/tst-tlsmod12.c: Likewise.
11770 * elf/tst-tlsmod13.c: Likewise.
11771 * elf/tst-tlsmod13a.c: Likewise.
11772 * elf/tst-tlsmod14a.c: Likewise.
11773 * elf/tst-tlsmod15b.c: Likewise.
11774 * elf/tst-tlsmod16a.c: Likewise.
11775 * elf/tst-tlsmod16b.c: Likewise.
11776 * elf/tst-tlsmod7.c: Likewise.
11777 * elf/tst-tlsmod8.c: Likewise.
11778 * elf/tst-tlsmod9.c: Likewise.
11779 * gmon/gmon.c: Likewise.
11780 * grp/fgetgrent_r.c: Likewise.
11781 * grp/putgrent.c: Likewise.
11782 * hurd/fopenport.c: Likewise.
11783 * include/libc-symbols.h: Likewise.
11784 * include/tls.h: Likewise.
11785 * intl/gettextP.h: Likewise.
11786 * intl/loadinfo.h: Likewise.
11787 * locale/global-locale.c: Likewise.
11788 * locale/localeinfo.h: Likewise.
11789 * mach/devstream.c: Likewise.
11790 * malloc/arena.c: Likewise.
11791 * malloc/set-freeres.c: Likewise.
11792 * misc/err.c: Likewise.
11793 * misc/getttyent.c: Likewise.
11794 * misc/mntent_r.c: Likewise.
11795 * posix/getopt.c: Likewise.
11796 * posix/wordexp.c: Likewise.
11797 * pwd/fgetpwent_r.c: Likewise.
11798 * resolv/Versions: Likewise.
11799 * resolv/res_hconf.c: Likewise.
11800 * shadow/fgetspent_r.c: Likewise.
11801 * shadow/putspent.c: Likewise.
11802 * stdio-common/printf_fphex.c: Likewise.
11803 * stdio-common/tmpfile.c: Likewise.
11804 * stdlib/abort.c: Likewise.
11805 * stdlib/fmtmsg.c: Likewise.
11806 * sunrpc/auth_unix.c: Likewise.
11807 * sunrpc/clnt_perr.c: Likewise.
11808 * sunrpc/clnt_tcp.c: Likewise.
11809 * sunrpc/clnt_udp.c: Likewise.
11810 * sunrpc/clnt_unix.c: Likewise.
11811 * sunrpc/openchild.c: Likewise.
11812 * sunrpc/svc_simple.c: Likewise.
11813 * sunrpc/svc_tcp.c: Likewise.
11814 * sunrpc/svc_udp.c: Likewise.
11815 * sunrpc/svc_unix.c: Likewise.
11816 * sunrpc/xdr.c: Likewise.
11817 * sunrpc/xdr_array.c: Likewise.
11818 * sunrpc/xdr_rec.c: Likewise.
11819 * sunrpc/xdr_ref.c: Likewise.
11820 * sunrpc/xdr_stdio.c: Likewise.
11821
1248c1c4
PB
118222011-09-09 Ulrich Drepper <drepper@gmail.com>
11823
11824 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11825
118262011-07-03 Andreas Jaeger <aj@suse.de>
11827
11828 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11829 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11830 regenerate with gen-libm-tests.pl.
11831
118322010-05-12 Petr Baudis <pasky@suse.cz>
11833
11834 [BZ #11589]
11835 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11836 around j0() zero points by switching to j1().
11837 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11838 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11839 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11840 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11841
f22e1074
UD
118422011-09-09 Ulrich Drepper <drepper@gmail.com>
11843
f19009c1
UD
11844 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11845 instead of 0.
11846 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11847 instead of 0. .
11848 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11849 Patch in part by Pavel Roskin <proski@gnu.org>.
11850
3f8cc204
UD
11851 [BZ #13138]
11852 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11853 realloc.
11854 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11855 Free memory block if necessary.
11856
f22e1074
UD
11857 [BZ #12847]
11858 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11859 be NULL. Don't lock in this case.
11860
0a2349f9
RM
118612011-09-09 Roland McGrath <roland@hack.frob.com>
11862
11863 * elf/elf.h (ELFOSABI_GNU): New macro.
11864 (ELFOSABI_LINUX): Define to that.
11865
f3cdd467
DZ
118662011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11867
11868 * string/strncat.c (strncat): Undef the symbol in case it has been
11869 defined in bits/string.h.
11870
74718d13
UD
118712011-09-09 Ulrich Drepper <drepper@gmail.com>
11872
633e9e0f
UD
11873 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11874
0a2349f9 11875 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
11876 link map.
11877
f9924780
AJ
118782011-08-17 Andreas Jaeger <aj@suse.de>
11879
11880 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11881
7f5517aa
PP
118822011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11883 Ian Lance Taylor <iant@google.com>
11884
11885 * math/libm-test.inc (lround_test): New testcase.
11886 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11887
762011fe
UD
118882011-09-08 Ulrich Drepper <drepper@gmail.com>
11889
92963737
UD
11890 * Makefile: Remove support for automatic cvs check-ins.
11891 * Makerules: Likewise.
11892 * config.make.in: Likewise.
11893 * configure.in: Likewise.
11894 * intl/Makefile: Likewise.
11895 * locale/Makefile: Likewise.
11896 * po/Makefile: Likewise.
11897 * posix/Makefile: Likewise.
11898 * sysdeps/gnu/Makefile: Likewise.
11899 * sysdeps/mach/hurd/Makefile: Likewise.
11900 * sysdeps/sparc/sparc32/Makefile: Likewise.
11901
b0727fd8
JS
11902 [BZ #13118]
11903 * posix/Makefile (bug-regex32-ENV): Define.
11904 Patch by John Stanley <jpsinthemix@verizon.net>.
11905
a0f33f99
UD
11906 * misc/Makefile (headers): Add bits/select2.h.
11907 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11908 * misc/bits/select2.h: New file.
11909 * include/bits/select2.h: New file.
11910 * debug/Makefile (routines): Add fdelt_chk.
11911 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11912 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11913 FD_ISSET.
11914 * debug/fdelt_chk.c: New file.
11915
762011fe
UD
11916 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11917 * wcsmbs/test-wmemcmp.c: Likewise.
11918 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 11919 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
11920
119212011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11922
11923 * string/Makefile (strop-tests): Add memcmp.
11924 * string/test-wmemcmp.c: New file.
11925 * string/test-memcmp.c: Add wmemcmp support.
11926
7f513ec8
RM
119272011-09-08 Roland McGrath <roland@hack.frob.com>
11928
0442afb4
RM
11929 [BZ #13153]
11930 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11931 2011-07-19 change.
11932
7f513ec8
RM
11933 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11934 garbage value in a __mach_port_mod_refs call in the cases of the
11935 task-self and thread-self ports.
11936
a12b2239
ST
119372011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11938
11939 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11940
610f9ab4
AS
119412011-09-08 Andreas Schwab <schwab@redhat.com>
11942
7f513ec8 11943 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 11944
48882a1a
LD
119452011-09-07 Ulrich Drepper <drepper@gmail.com>
11946
b49865be
UD
11947 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11948
fdc86bc9
UD
11949 * elf/dl-libc.c (dlerror_run): Pass back error code from
11950 dl_catch_error.
11951
c966526a
UD
11952 [BZ #13123]
11953 * elf/dl-load.c (lose): Free l_origin if it is valid.
11954
48882a1a
LD
11955 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11956 names.
11957 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11958 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11959 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11960 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11961 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11962 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11963
77a2a8b4
AZ
119642011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11965
11966 * sysdeps/powerpc/fpu/e_hypot.c: New file.
11967 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11968 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11969 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11970 * sysdeps/powerpc/fpu/k_cosf.c: New file.
11971 * sysdeps/powerpc/fpu/k_sinf.c: New file.
11972 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11973 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11974 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11975 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11976
24f579d8
AM
119772011-08-15 Alan Modra <amodra@gmail.com>
11978
11979 [BZ #13092]
11980 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11981 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11982 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11983 ppc_mcount to static-only-routines.
11984 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11985 __mcount_internal.
11986 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11987 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11988
3d4837df
UD
119892011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11990
11991 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11992 for finite and infinity parameters.
11993
22700377
WS
119942011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11995
11996 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11997 and add nop instructions for throughput optimization.
11998 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11999
5025581e
WS
120002011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12001
12002 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12003 aligned copy for power7 with vector-scalar instructions.
12004 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12005
08a300c9
L
120062011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12007
12008 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12009 AVX check.
12010
59178ef9
AS
120112011-09-07 Andreas Schwab <schwab@redhat.com>
12012
12013 [BZ #13144]
12014 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12015 last change.
12016
e38ba7ab
UD
120172011-09-07 Ulrich Drepper <drepper@gmail.com>
12018
12019 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12020 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12021 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12022 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12023 clock_gettime.
12024
d53a73ac
UD
120252011-09-06 Ulrich Drepper <drepper@gmail.com>
12026
fc8bffcc
UD
12027 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12028 Forgot to demangle the pointer.
12029
ceaa0c5d
UD
12030 * sysdeps/i386/sysdep.h: Define atom_text_section.
12031 * sysdeps/x86_64/sysdep.h: Likewise.
12032 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12033 section with atom_text_section.
12034 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12035 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12036 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12037 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12038 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12039
a77d3c17
UD
12040 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12041 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12042 already be defined. Change to take two parameters and don't assign
12043 result to variable. Adjust all users.
12044 Define INTERNAL_GETTIME if not already defined.
12045 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12046 call.
12047 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12048 HAVE_CLOCK_GETTIME_VSYSCALL.
12049 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12050
d53a73ac
UD
12051 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12052 gettimeofday vsyscall, just use time.
12053
a8f84144
AS
120542011-09-06 Andreas Schwab <schwab@redhat.com>
12055
12056 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12057 <errno.h>.
12058
ef606249
UD
120592011-09-06 Ulrich Drepper <drepper@gmail.com>
12060
12061 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12062 syscall on x86-64.
12063 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12064 syscall.
12065 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12066 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12067 syscall if possible.
12068
6585cb60
UD
120692011-09-05 Ulrich Drepper <drepper@gmail.com>
12070
12071 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12072 e_ident. Don't pass to find_mapsXX.
12073 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12074
a5f524e4
LD
120752011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12076
12077 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12078 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12079 * sysdeps/x86_64/multiarch/strchr.S: Update.
12080 Check bit_slow_BSF bit.
12081 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12082 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12083 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12084
554881ef
UD
120852011-09-05 Ulrich Drepper <drepper@gmail.com>
12086
d96de963
UD
12087 [BZ #13134]
12088 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12089 before glibc 2.15.
12090 (tryshell): Define.
12091 (__spawni): Change last parameter to be flag. Test
12092 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12093 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12094 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12095 * posix/spawni.c: Likewise.
12096 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12097 * posix/spawnp.c: Likewise. Change normal version to use
12098 SPAWN_XFLAGS_USE_PATH.
12099 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12100 SPAWN_XFLAGS_TRY_SHELL.
12101
d48e5868
UD
12102 [BZ #13150]
12103 * posix/glob.h: Remove gcc 1.x support.
12104
554881ef
UD
12105 [BZ #13068]
12106 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12107
693fb948
LD
121082011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12109
12110 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12111 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12112 strrchr-sse2-bsf
12113 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12114 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12115 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12116 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12117 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12118 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12119
1b48c537
UD
121202011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12121
49d42c37
UD
12122 * sysdeps/x86_64/wcscmp.S: New file.
12123
1b48c537
UD
12124 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12125 wcscmp-c wcscmp-sse2
12126 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12127 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12128 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12129 * wcsmbs/wcscmp.c: Allow renaming.
12130
15c95c5d
DM
121312011-09-05 David S. Miller <davem@davemloft.net>
12132
12133 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12134 stack slot, rather than the struct return pointer slot.
12135 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12136 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12138 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12139
2f0ad8f3
UD
121402011-09-05 Ulrich Drepper <drepper@gmail.com>
12141
d88ae418
UD
12142 * po/ja.po: Update from translation team.
12143
2f0ad8f3
UD
12144 [BZ #13144]
12145 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12146 kernel in 64-bit binaries.
12147
5f4318d1
DM
121482011-09-01 David S. Miller <davem@davemloft.net>
12149
12150 * elf/elf.h (HWCAP_SPARC_*): Move to..
12151 * sysdeps/sparc/sysdep.h: this new file and add new values.
12152 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12153 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12154 _DL_HWCAP_COUNT to 24.
12155 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12156 entries.
12157 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12158 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12159 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12160 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12161 instead of magic constants.
12162 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12163
3ba57516
DM
121642011-08-31 David S. Miller <davem@davemloft.net>
12165
12166 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12167 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12168 Reimplement to do errno handling inline.
12169 (SYSCALL_ERROR_HANDLER): New macro.
12170 (__SYSCALL_STRING): Do not do errno handling in asm.
12171 (__CLONE_SYSCALL_STRING): Delete.
12172 (__INTERNAL_SYSCALL_STRING): Delete.
12173 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12174 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12175 (PSEUDO): Reimplement to do errno handling inline.
12176 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12177 (SYSCALL_ERROR_HANDLER): New macro.
12178 (__SYSCALL_STRING): Do not do errno handling in asm.
12179 (__CLONE_SYSCALL_STRING): Delete.
12180 (__INTERNAL_SYSCALL_STRING): Delete.
12181 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12182 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12183 i386.
12184 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12185 (inline_syscall*): Add 'err' argument.
12186 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12187 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12188 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12189 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12190
12191 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12192 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12193
2bc17433
AS
121942011-08-30 Andreas Schwab <schwab@redhat.com>
12195
12196 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12197
fbeb5f4d
JO
121982011-08-29 Jiri Olsa <jolsa@redhat.com>
12199
12200 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12201 directive.
12202
ad69cc26
DM
122032011-08-24 David S. Miller <davem@davemloft.net>
12204
12205 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12206
39dd69df
AS
122072011-08-24 Andreas Schwab <schwab@redhat.com>
12208
12209 * elf/Makefile: Add rules to build and run unload8 test.
12210 * elf/unload8.c: New file.
12211 * elf/unload8mod1.c: New file.
12212 * elf/unload8mod1x.c: New file.
12213 * elf/unload8mod2.c: New file.
12214 * elf/unload8mod3.c: New file.
12215
12216 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12217 it wasn't used.
12218
2c0b250a
DM
122192011-08-23 David S. Miller <davem@davemloft.net>
12220
12221 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12222 subtract stack bias.
12223 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12224 %sp not %fp in calculations.
12225 (_JMPBUF_UNWINDS_ADJ): Likewise.
12226
22044b48
DM
12227 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12228 (aio_suspend): Call it to force an exception region around the
12229 AIO_MISC_WAIT() invocation.
12230
2cae4995
AS
122312011-08-23 Andreas Schwab <schwab@redhat.com>
12232
12233 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12234 backslash.
12235
873a772e
AJ
122362011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12237
12238 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12239 protection macro.
12240 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12241 and <dl-machine.h>.
12242 (Elf64_FuncDesc): Remove.
12243
25ad0df1
DM
122442011-08-22 David S. Miller <davem@davemloft.net>
12245
12246 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12247 sigaltstack check, add missing cfi directives.
12248 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12249 missing cfi directives, and sigaltstack handling.
12250
e888bcbe
AS
122512011-08-16 Andreas Schwab <schwab@redhat.com>
12252
12253 [BZ #11724]
12254 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12255 object is seen twice.
12256 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12257
12258 * elf/Makefile (distribute): Add tst-initorder2.c.
12259 (tests): Add tst-initorder2.
12260 (modules-names): Add tst-initorder2a tst-initorder2b
12261 tst-initorder2c tst-initorder2d. Add rules to build them.
12262 ($(objpfx)tst-initorder2.out): New rule.
12263 * elf/tst-initorder2.c: New file.
12264 * elf/tst-initorder2.exp: New file.
12265
87162f46
AS
122662011-08-22 Andreas Schwab <schwab@redhat.com>
12267
70538b7f
AS
12268 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12269
f55ffe58
AS
12270 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12271 dependencies back to end of function.
12272
87162f46
AS
12273 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12274 $(elfobjdir)/ld.so.
12275
91b392a4
UD
122762011-08-21 Ulrich Drepper <drepper@gmail.com>
12277
12278 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12279 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12280 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12281 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12282 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12283 of __vdso_gettimeofday.
12284 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12285 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12286 attribute_hidden.
12287 (_libc_vdso_platform_setup): Remove initialization of
12288 __vdso_gettimeofday and __vdso_time.
12289
5c43483f
UD
122902011-08-20 Ulrich Drepper <drepper@gmail.com>
12291
775a77e7
UD
12292 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12293 and fgetc_unlocked.
12294 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12295 getc_unlocked.
89f447ed 12296
49c74ba9
UD
12297 * elf/dl-open.c (add_to_global): Report additions to the global scope
12298 for LD_DEBUG=scopes.
12299 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12300 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12301
5c43483f
UD
12302 [BZ #13114]
12303 * stdio-common/Makefile (tests): Add bug24.
12304 * stdio-common/bug24.c: New file.
12305
a101b025
AJ
123062011-08-19 Andreas Jaeger <aj@suse.de>
12307
12308 [BZ #13114]
12309 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12310 non-existant file when using close-on-exec mode.
12311
c88f1766
UD
123122011-08-20 Ulrich Drepper <drepper@gmail.com>
12313
0276a718
UD
12314 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12315 the very first instruction.
12316
c88f1766
UD
12317 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12318 the CFI state in the end.
12319 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12320 inclusion of dl-trampoline.h.
12321 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12322
51ccffa0
AS
123232011-08-19 Andreas Schwab <schwab@redhat.com>
12324
94d7165f
AS
12325 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12326 expectations for long double.
12327
51ccffa0
AS
12328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12329 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12330
fd708658 123312011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12332
12333 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12334 artificual limit depends upon the system page size.
12335
44f0a71e
UD
123362011-08-17 Ulrich Drepper <drepper@gmail.com>
12337
12338 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12339 * resolv/Makefile: Define CFLAGS-libresolv.
12340
8de79a24
AS
123412011-08-17 Andreas Schwab <schwab@redhat.com>
12342
12343 * nss/makedb.c (compute_tables): Make variables used in nested
12344 function static.
12345
27724598
UD
123462011-08-17 Ulrich Drepper <drepper@gmail.com>
12347
c5305d88
UD
12348 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12349 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12350 if buffer was too small.
12351
27724598
UD
12352 * elf/pldd.c (main): Attach to all threads in the process.
12353 Rewrite /proc handling to use *at functions.
12354
076fe015
UD
123552011-08-16 Ulrich Drepper <drepper@gmail.com>
12356
174baab3
UD
12357 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12358 specifies first scope to show.
12359 (dl_open_worker): Update callers. Move printing scope of new
12360 object to before the relocation.
44f0a71e 12361 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12362 * sysdeps/generic/ldsodefs.h: Update declaration.
12363
076fe015
UD
12364 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12365 string for the scope number.
12366
a60df2c3
UD
123672011-08-14 Ulrich Drepper <drepper@gmail.com>
12368
12369 * nscd/servicescache.c (cache_addserv): Make sure written is always
12370 initialized.
12371
5e4287d1
RM
123722011-08-14 Roland McGrath <roland@hack.frob.com>
12373
85ae0589
RM
12374 * sysdeps/i386/i486/bits/atomic.h
12375 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12376 statement expression, so as to suppress "set but not used" warning.
12377 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12378
69f63097
RM
12379 * string/strncat.c (STRNCAT): Use prototype definition.
12380
675456ef
RM
12381 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12382 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12383 -Iprograms here.
12384 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12385 (localedef-modules): Add localedef.
12386 (locale-modules): Add locale.
12387
5e4287d1
RM
12388 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12389 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12390 to avoid a warning.
12391
9c96ff23
DM
123922011-08-14 David S. Miller <davem@davemloft.net>
12393
12394 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12395 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12396
f9ddf089
UD
123972011-08-13 Ulrich Drepper <drepper@gmail.com>
12398
44f0a71e 12399 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12400 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12401 * elf/rtld.c (dl_main): Set l_name of vDSO.
12402 Call _dl_show_scope when DL_DEBUG_SCOPES.
12403 (process_dl_debug): Recognize scopes flag and also set it for all.
12404 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12405 Declare _dl_show_scope.
12406
1dc27704
UD
12407 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12408 (do_dlopen): Pass caller_dlopen to dl_open.
12409 (__libc_dlopen_mode): Initialize caller_dlopen.
12410
f9ddf089
UD
12411 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12412 of libc. Make tolower call locale-independent. Optimize a bit by
12413 using isdigit instead of isalnum.
12414 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12415
9ac533d3
UD
124162011-08-12 Ulrich Drepper <drepper@gmail.com>
12417
12418 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12419 was a dependency or dynamically loaded.
12420
89edf2e9
UD
124212011-08-11 Ulrich Drepper <drepper@gmail.com>
12422
8e999d29
UD
12423 * intl/l10nflist.c: Allow architecture-specific pop function.
12424 * sysdeps/x86_64/l10nflist.c: New file.
12425
89edf2e9
UD
12426 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12427 classification.
12428
14d96785
AS
124292011-08-10 Andreas Schwab <schwab@redhat.com>
12430
12431 * include/dirent.h: Add libc_hidden_proto for scandirat and
12432 scandirat64. Don't declare __scandirat64.
12433 * dirent/scandirat.c: Add libc_hidden_def.
12434 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12435 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12436
6761ac04
DM
124372011-08-10 David S. Miller <davem@davemloft.net>
12438
12439 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12440 enum.
12441 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12442 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12443 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12444
c55fbd1e
UD
124452011-08-09 Ulrich Drepper <drepper@gmail.com>
12446
12447 * Versions.def [libc]: Add GLIBC_2.15.
12448 * dirent/Makefile (routines): Add scandirat and scandirat64.
12449 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12450 GLIBC_2.15.
12451 * dirent/dirent.h: Declare scandirat and scandirat64.
12452 * dirent/scandirat.c: New file.
12453 * dirent/scandirat64.c: New file.
12454 * sysdeps/wordsize-64/scandirat.c: New file.
12455 * sysdeps/wordsize-64/scandirat64.c: New file.
12456 * dirent/opendir.c: Define opendirat.
12457 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12458 using scandirat.
12459 * dirent/scandir64.c: Adjust for scandir.c change.
12460 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12461 __scandirat64, and __scandir_cancel_handler.
12462 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12463 additional parameter and use openat instead of open (outside of ld.so).
12464 Add new __opendir as wrapper around __opendirat.
12465 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12466 here without requiring old scandirat implementation.
12467
879165f2
UD
124682011-08-08 Ulrich Drepper <drepper@gmail.com>
12469
12470 * dirent/scandir.c (cancel_handler): Renamed to
12471 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12472 defined. Adjust users.
12473 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12474 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12475
cb7e923b
UD
124762011-08-04 Ulrich Drepper <drepper@gmail.com>
12477
16292edd
UD
12478 * string/test-string.h (IMPL): Use __STRING to expand name and then
12479 stringify it.
12480
cb7e923b
UD
12481 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12482 of cleanups.
12483
cff82933
LD
124842011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12485
12486 * string/Makefile: Update.
12487 (strop-tests): Append strncat.
12488 * string/test-wcscmp.c: New file.
12489 New comprehensive test for wcscmp.
12490 * string/test-strcmp.c: Update.
12491 (WIDE): New define.
12492
9be9bfcc
AS
124932011-07-22 Andreas Schwab <schwab@redhat.com>
12494
12495 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12496 line.
12497
2e96f1c7
AS
124982011-07-26 Andreas Schwab <schwab@redhat.com>
12499
12500 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12501 encoding to ACE if AI_IDN.
12502
85188888
JJ
125032011-08-01 Jakub Jelinek <jakub@redhat.com>
12504
12505 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12506 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12507
5fa16e9b
LD
125082011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12509
12510 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12511 Fix overflow bug in strncat.
12512 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12513
12514 * string/test-strncat.c: Update.
12515 Add new tests for checking overflow bugs.
12516
125172011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12518
12519 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12520 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12521 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12522 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12523 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12524 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12525 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12526 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12527 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12528
12529 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12530 (USE_AS_STRCAT): Define.
12531 Add strcat and strncat support.
12532 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12533
8c1a459f
AS
125342011-07-25 Andreas Schwab <schwab@redhat.com>
12535
12536 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12537 __n bigger than INT_MAX+1.
12538 (__strncmp_g): Likewise.
12539
bba33c28
UD
125402011-07-23 Ulrich Drepper <drepper@gmail.com>
12541
798be72d
UD
12542 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12543 * libio/stido.h: Likewise.
12544
8accd4dc
UD
12545 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12546 (AF_NFC): Define.
12547 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12548 (AF_NFC): Define.
12549
cbff0d96
UD
12550 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12551 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12552 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12553 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12554 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12555
9191c04a
UD
12556 [BZ #13021]
12557 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12558 installed.
12559
bba33c28
UD
12560 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12561 typo.
12562 (_dl_x86_64_save_sse): Likewise.
12563
90f139dd
UD
125642011-07-22 Ulrich Drepper <drepper@gmail.com>
12565
1aae088a
UD
12566 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12567 OSXSAVE.
12568 (_dl_x86_64_save_sse): Likewise.
12569
8e2045f5
UD
12570 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12571
90f139dd
UD
12572 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12573
1d002f25
AS
125742011-07-21 Andreas Schwab <schwab@redhat.com>
12575
12576 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12577 change.
12578 (_dl_x86_64_save_sse): Use correct AVX check.
12579
21137f89
UD
125802011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12581
12582 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12583 bug in strncpy/strncat.
12584 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12585
a65c0b7a
UD
125862011-07-21 Ulrich Drepper <drepper@gmail.com>
12587
12588 * string/tester.c (test_strcat): Add tests for different alignments
12589 of source and destination.
12590 (test_strncat): Likewise.
12591
6986b98a
UD
125922011-07-20 Ulrich Drepper <drepper@gmail.com>
12593
90bb2039
UD
12594 [BZ #12852]
12595 * posix/glob.c (glob): Check passed in values before using them in
12596 expressions to avoid some overflows.
12597 (glob_in_dir): Likewise.
12598
5644ef54
UD
12599 [BZ #13007]
12600 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12601 check for AVX enablement so that we don't crash with old kernels and
12602 new hardware.
12603 * elf/tst-audit4.c: Add same checks here.
12604 * elf/tst-audit6.c: Likewise.
12605
12606 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 12607
bfc9dc9b
AS
126082011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12609
12610 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12611
702e64bb
UD
126122011-07-20 Ulrich Drepper <drepper@gmail.com>
12613
12614 * po/cs.po: Update from translation team.
12615 * po/bg.po: Likewise.
12616
295e904f
MP
126172011-07-12 Marek Polacek <mpolacek@redhat.com>
12618
12619 * misc/sys/cdefs.h: Add support for const attribute.
12620 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12621 to gnu_dev_{major,minor,makedev} functions.
12622
3ff94596
MP
126232011-07-20 Marek Polacek <mpolacek@redhat.com>
12624
12625 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12626
28b59fca
AS
126272011-07-20 Andreas Schwab <schwab@redhat.com>
12628
12629 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12630 strlen results.
12631
19df733e
AK
126322011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12633
12634 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12635 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12636 register in order to avoid conflicts with the soft frame pointer
12637 being held in r11 when necessary.
12638 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12639 (INTERNAL_VSYSCALL_NCS): Likewise.
12640
c8835729
MP
126412011-07-14 Marek Polacek <mpolacek@redhat.com>
12642
12643 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12644 * elf/dl-fini.c (_dl_fini): Adjust caller.
12645 * elf/dl-close.c (_dl_close_worker): Likewise.
12646 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12647
b902330c
MP
126482011-07-15 Marek Polacek <mpolacek@redhat.com>
12649
8991e135
MP
12650 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12651 "aux_cache->nlibs < 0".
12652
b902330c
MP
12653 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12654 in the reload-count case.
12655
99710781
LD
126562011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12657
12658 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12659 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12660 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12661 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12662 * sysdeps/x86_64/multiarch/strcat.S: New file.
12663 * sysdeps/x86_64/multiarch/strncat.S: New file.
12664 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12665 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12666 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12667 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12668 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12669 (USE_AS_STRCAT): Define.
12670 Add strcat and strncat support.
12671 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12672 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12673 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12674 * string/strncat.c: Update.
12675 (USE_AS_STRNCAT): Define.
12676 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12677 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12678 and i7.
12679 * sysdeps/x86_64/multiarch/init-arch.h
12680 (bit_Prefer_PMINUB_for_stringop): New.
12681 (index_Prefer_PMINUB_for_stringop): Likewise.
12682 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12683 bit_Prefer_PMINUB_for_stringop.
12684
7dc6bd90
UD
126852011-07-19 Ulrich Drepper <drepper@gmail.com>
12686
12687 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12688 buffer64.
12689 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12690 of casting of buffer.
12691 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12692 buffer32 and buffer64.
12693 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12694 writes instead of casting of buffer.
12695 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12696 buffer32.
12697 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12698 casting of buffer.
12699
e0e72284
AS
127002011-07-19 Andreas Schwab <schwab@redhat.com>
12701
12702 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12703
feb1eb0b
UD
127042011-07-19 Ulrich Drepper <drepper@gmail.com>
12705
12706 * nscd/nscd.c (termination_handler): Don't do anything for a database
12707 if it has not yet been initialized.
12708
298711ff
UD
127092011-07-18 Ulrich Drepper <drepper@gmail.com>
12710
12711 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12712
127132011-07-15 Marek Polacek <mpolacek@redhat.com>
12714
12715 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12716
f9d68389
UD
127172011-07-18 Ulrich Drepper <drepper@gmail.com>
12718
12719 * po/nl.po: Update from translation team.
12720 * po/sv.po: Likewise.
12721
db290cf5
RM
127222011-07-16 Roland McGrath <roland@hack.frob.com>
12723
12724 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12725 now disallowed by GCC.
5c550700 12726
fd5e21c7
RM
12727 * configure.in (use-default-link): Default to yes if a test -shared
12728 link meets our qualifications.
12729 * configure: Regenerated.
12730
5c550700
RM
12731 * config.make.in (output-format): New variable.
12732 * configure.in: Check for ld --print-output-format support.
12733 * configure: Regenerated.
12734 * Makerules ($(common-objpfx)format.lds)
12735 [$(output-format) != unknown]: Just use $(output-format),
12736 instead of the linker-script munging.
12737
9fa2c032
RM
127382011-07-14 Roland McGrath <roland@hack.frob.com>
12739
a6928d51
RM
12740 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12741 of $(common-objpfx)shlib.lds.
12742 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12743
661607b3
RM
12744 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12745 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12746
9fa2c032
RM
12747 * configure.in (-z relro check): Adjust test code to add a large
12748 writable data section after it.
12749 * configure: Regenerated.
12750
defe9061
RM
127512011-07-11 Roland McGrath <roland@hack.frob.com>
12752
12753 * configure.in (-z relro check): Fix test code to make the variable
12754 truly const.
12755 * configure: Regenerated.
12756
319b9ad4
UD
127572011-07-11 Ulrich Drepper <drepper@gmail.com>
12758
12759 * nscd/nscd.h (struct traced_file): Define.
12760 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12761 elements. Add traced_files.
12762 (inotify_fd): Declare.
12763 (register_traced_file): Declare.
12764 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12765 (inotify_fd): Export.
12766 (resolv_conf_descr): Remove.
12767 (nscd_init): Move inotify descriptor creation to main.
12768 Don't register files for notification here.
12769 (register_traced_file): New function.
12770 (invalidate_cache): Don't use reset_res to determine whether to call
12771 res_init, go through the list of registered files.
12772 (main_loop_poll): The inotify descriptors are now stored in the
12773 structures for the traced files.
12774 (main_loop_epoll): Likewise
12775 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12776 to __nss_disable_nscd.
12777 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12778 for a database anymore. Check the records for all the registered
12779 files instead.
12780 * nss/Makefile (libnss_files-routines): Add files-init.
12781 (libnss_db-routines): Add db-init.
12782 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12783 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12784 * nss/nss_db/db-init.c: New file.
12785 * nss/nss_files/files-init.c: New file.
12786 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12787 __nss_lookup_function.
12788 (__nss_lookup_function): Call nss_load_library.
12789 (nss_load_all_libraries): New function.
12790 (__nss_disable_nscd): Take parameter with callback function for files
12791 to register. Set is_nscd. Load all the DSOs for the NSS modules
12792 used for the cached services.
12793 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12794 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12795 options for features to all the files in nscd.
12796
12797 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12798
23bee3e8
RM
127992011-07-10 Roland McGrath <roland@hack.frob.com>
12800
12801 * csu/elf-init.c (__libc_csu_init): Comment typo.
12802
46a5b7f0
UD
128032011-07-09 Ulrich Drepper <drepper@gmail.com>
12804
12805 * po/pl.po: Update from translation team.
12806 * po/ja.po: Likewise.
12807 * po/ru.po: Likewise.
12808 * po/ko.po: Likewise.
12809 * po/fr.po: Likewise.
12810
d30cf5bb
RM
128112011-07-09 Roland McGrath <roland@hack.frob.com>
12812
113ddea4
RM
12813 * configure.in (.ctors/.dtors header and trailer check):
12814 Use an empirical test on a built program.
12815 * configure: Regenerated.
12816
574920b4
RM
12817 * configure.in (-z relro check): Use an empirical test on a built DSO.
12818 Detect, but do not require, on ia64.
12819 * configure: Regenerated.
12820
d30cf5bb
RM
12821 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12822 Update tests that use readelf to use $READELF instead.
12823 * configure: Regenerated.
12824
8538fdb3
UD
128252011-07-08 Ulrich Drepper <drepper@gmail.com>
12826
12827 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12828 if the result is not used.
12829
04d08991
AJ
128302011-07-05 Andreas Jaeger <aj@suse.de>
12831
12832 [BZ#9696]
12833 * stdlib/tst-strtod.c: Add testcase.
12834
de283087
AD
128352011-07-07 Ulrich Drepper <drepper@gmail.com>
12836
4e5f31c8 12837 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 12838 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
12839 The latter has a higher limit. Take additional parameter to pass to
12840 the new function.
12841 (__pathconf): Pass file to __statfs_link_max.
12842 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12843 __statfs_link_max.
12844 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12845 __statfs_link_max.
12846
de283087
AD
12847 [BZ #12868]
12848 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12849 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12850 Handle Lustre.
12851 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12852 (__statfs_filesize_max): Likewise.
12853 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12854
c75fa153
AJ
128552011-07-05 Andreas Jaeger <aj@suse.de>
12856
12857 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12858
1a544854
UD
128592011-07-06 Marek Polacek <mpolacek@redhat.com>
12860
12861 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12862 `status' variable.
12863 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12864 Likewise.
12865
6f0eec67
UD
128662011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12867
12868 * Makefile (strop-tests): Add strncat.
12869 * string/test-strncat.c: New file.
12870
aae30307
UD
128712011-06-30 Marek Polacek <mpolacek@redhat.com>
12872
12873 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12874
c0cfb5eb
UD
128752011-06-21 Andreas Jaeger <aj@suse.de>
12876
12877 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12878 Copy rule from iconvdata/Makefile.
12879
01636b21
UD
128802011-07-06 Ulrich Drepper <drepper@gmail.com>
12881
12882 [BZ #12922]
12883 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12884 but no long options are defined, just return 'W'.
12885
9895c8bc
UD
128862011-06-22 Marek Polacek <mpolacek@redhat.com>
12887
12888 [BZ #9696]
12889 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12890
5d4cf042
UD
128912011-07-06 Ulrich Drepper <drepper@gmail.com>
12892
12893 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12894 netgroups to read.
960e5535 12895 (innetgr): Likewise.
5d4cf042 12896
751eb97e
RM
128972011-07-05 Roland McGrath <roland@hack.frob.com>
12898
12899 * config.make.in (install_root): Default to $(DESTDIR).
12900
f15f1e45
UD
129012011-07-05 Ulrich Drepper <drepper@gmail.com>
12902
12903 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12904
4e34ac6a
RM
129052011-07-02 Roland McGrath <roland@hack.frob.com>
12906
5e9b6af4
RM
12907 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12908
84f9ea0f
RM
12909 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12910 containing directory rather than embedding absolute directory names.
12911
ea5ee9f7
RM
12912 * scripts/check-local-headers.sh: Rewritten using awk.
12913 Match by word, not by line. Print error messages for matches.
12914 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12915
1b74661a
RM
12916 * Makerules [shlib-lds-flags empty]:
12917 ($(common-objpfx)libc_pic.opts): New target.
12918 ($(common-objpfx)libc_pic.os.clean): New target.
12919 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12920
12921 * config.make.in (OBJCOPY): New variable.
12922 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12923 * configure: Regenerated.
12924
f781ef40
RM
12925 * config.make.in (use-default-link): New variable.
12926 * configure.in (use_default_link): Grok --with-default-link to set it.
12927 * configure: Regenerated.
12928 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12929 (shlib-lds, shlib-lds-flags): Define to empty.
12930
2d4fa81e
RM
12931 * Makerules (shlib-lds): New variable.
12932 (shlib-lds-flags): New variable.
12933 (build-shlib, build-moduile, build-module-asneeded): Use it.
12934 ($(common-objpfx)libc.so): Use $(shlib-lds).
12935 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12936 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12937
31fffa6b
RM
12938 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12939 DT_FLAGS/DT_FLAGS_1 with zero flags.
12940
4e34ac6a
RM
12941 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12942 linker script munging.
12943
fcfc776b
UD
129442011-07-02 Ulrich Drepper <drepper@gmail.com>
12945
12946 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12947 as 128-bit value.
12948 * crypt/sha512.c (sha512_process_block): Perform total addition using
12949 128-bit if possible.
12950 (__sha512_finish_ctx): Likewise.
12951 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12952 as 64-bit value.
12953 * crypt/sha256.c (SWAP64): Define.
12954 (sha256_process_block): Perform total addition using 64-bit if
12955 possible.
12956 (__sha256_finish_ctx): Likewise.
12957
99231d9a
UD
129582011-07-01 Ulrich Drepper <drepper@gmail.com>
12959
12960 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
12961 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12962 * nscd/hstcache.c (cache_addhst): Likewise.
12963 * nscd/grpcache.c (cache_addgr): Likewise.
12964 * nscd/aicache.c (addhstaiX): Likewise
12965 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12966
445b4a53
TK
129672011-07-01 Thorsten Kukuk <kukuk@suse.de>
12968
12969 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12970 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12971 * nscd/hstcache.c (cache_addhst): Likewise.
12972 * nscd/grpcache.c (cache_addgr): Likewise.
12973 * nscd/aicache.c (addhstaiX): Likewise
12974
6d4d8e8e
AS
129752011-07-01 Andreas Schwab <schwab@redhat.com>
12976
12977 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12978 domain only when needed.
12979
89f654c5
AS
129802011-06-30 Andreas Schwab <schwab@redhat.com>
12981
12982 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12983 is always restored.
12984
cf3b23ff
UD
129852011-06-29 Ulrich Drepper <drepper@gmail.com>
12986
12987 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12988 are re-adding the entry.
12989 * nscd/servicescache.c (cache_addserv): Likewise.
12990
751626f9
AJ
129912011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12992
12993 * sysdeps/generic/dl-irel.h: fix protection against multiple
12994 inclusions.
12995 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12996
9113ea1f
UD
129972011-06-28 Ulrich Drepper <drepper@gmail.com>
12998
5c0b8d90
UD
12999 [BZ #12935]
13000 * malloc/memusage.sh: Fix quoting in message.
13001 * debug/xtrace.sh: Likewise.
13002
9113ea1f
UD
13003 * configure.in: Remove support for --experimental-malloc option, make
13004 it the default.
13005 * config.make.in: Likewise.
13006 * malloc/Makefile: Likewise.
13007
a4172181
AS
130082011-06-27 Andreas Schwab <schwab@redhat.com>
13009
13010 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13011 two-byte characters.
13012
78a7eee7
RM
130132011-06-27 Roland McGrath <roland@hack.frob.com>
13014
62bede13
RM
13015 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13016 AC_CACHE_CHECK invocation.
13017 * configure: Regenerated.
13018
78a7eee7
RM
13019 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13020
5ce33a62
UD
130212011-06-27 Ulrich Drepper <drepper@gmail.com>
13022
034807a9
UD
13023 [BZ #12350]
13024 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13025 bit from old_res_options.
13026
4902da17
UD
13027 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13028
5ce33a62
UD
13029 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13030 value type for setfct.
13031
c2344f56
L
130322011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13033
13034 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13035 __gettimeofday instead of gettimeofday.
13036
68468076
UD
130372011-06-26 Ulrich Drepper <drepper@gmail.com>
13038
13039 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13040
acb0d739
L
130412011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13042
13043 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13044
13045 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13046 info.
13047
8912479f
L
130482011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13049
13050 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13051 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13052 strcpy-sse2-unaligned strncpy-sse2-unaligned
13053 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13054 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13055 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13056 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13057 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13058 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13059 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13060 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13061 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13062 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13063 (STRCPY): Support SSE2 and SSSE3 versions.
13064
d5495a11
UD
130652011-06-24 Ulrich Drepper <drepper@gmail.com>
13066
13067 [BZ #12874]
13068 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13069 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13070 kernels which artificially limit size of requests.
13071
0b1cbaae
L
130722011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13073
13074 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13075 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13076 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13077 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13078 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13079 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13080 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13081 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13082 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13083 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13084 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13085 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13086 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13087 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13088 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13089 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13090 Enable unaligned load optimization for Intel Core i3, i5 and i7
13091 processors.
13092 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13093 Define.
13094 (index_Fast_Unaligned_Load): Define.
13095 (HAS_FAST_UNALIGNED_LOAD): Define.
13096
07f494a0
MP
130972011-06-23 Marek Polacek <mpolacek@redhat.com>
13098
13099 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13100
fa3fc0fe
UD
131012011-06-22 Ulrich Drepper <drepper@gmail.com>
13102
13103 [BZ #12907]
13104 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13105 until it is clear that the information is realy needed.
13106 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13107
e12df166
AS
131082011-06-22 Andreas Schwab <schwab@redhat.com>
13109
13110 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13111
852eb34d
UD
131122011-06-22 Ulrich Drepper <drepper@gmail.com>
13113
84e2a551
UD
13114 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13115 /sys/devices/system/cpu/online if it is usable.
13116
852eb34d
UD
13117 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13118 reading the information from the /proc filesystem to once a second.
13119
6e502e19
UD
131202011-06-21 Andreas Jaeger <aj@suse.de>
13121
13122 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13123 NULL after inclusion of kernel headers.
13124
75d39ff2
UD
131252011-06-21 Ulrich Drepper <drepper@gmail.com>
13126
51f9aa6a
UD
13127 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13128 calls to internal_setent.
13129
c0244a9d
UD
13130 [BZ #12885]
13131 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13132 addresses using gethostbyname4_r ignore IPv4 addresses.
13133
c5e3c2ae
UD
13134 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13135 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13136
75d39ff2
UD
13137 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13138
42675c6f
DM
131392011-06-20 David S. Miller <davem@davemloft.net>
13140
13141 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13142 inclusions.
13143 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13144
13145 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13146 (elf_irel): Use it.
13147 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13148 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13149 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13150 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13151 * sysdeps/x86_64/dl-irel.h: Likewise.
13152
13153 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13154 * elf/dl-sym.c: Likewise.
13155
57912a71
UD
131562011-06-15 Ulrich Drepper <drepper@gmail.com>
13157
13158 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13159 need to dereference resplen2.
13160
ee22793d
AS
131612011-06-14 Andreas Schwab <schwab@redhat.com>
13162
13163 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13164
a9e836b0
UD
131652011-06-15 Ulrich Drepper <drepper@gmail.com>
13166
77fb9117
UD
13167 * Makeconfig: Define vardbdir and inst_vardbdir.
13168 * nss/Makefile: Add rules to install db-Makefile.
13169
40c1b22c
UD
13170 * nss/nss_db/db-XXX.c: Cleanup.
13171
9f2da732
UD
13172 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13173 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13174 GLIBC_PRIVATE.
13175 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13176 * nss/makedb.c: Implement -g option to specify that value strings
13177 are generated and should not be added to table iterated over for
13178 get*ent calls.
13179 * nss/nss_db/db-initgroups.c: New file.
13180
82e9a1f7
UD
13181 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13182 interface.
13183
c41af17e
UD
13184 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13185 (internal_getgrouplist): Adjust to name change.
13186 Update use_initgroups_entry if this is not the first call.
13187 * nss/databases.def: Add initgroups entry.
13188
a9e836b0
UD
13189 * nss/makedb.c (compute_tables): Check result of multiple hash table
13190 sizes to minimize maximum chain length.
13191
2666d441
UD
131922011-06-14 Ulrich Drepper <drepper@gmail.com>
13193
13194 * Versions.def: Add entry for libnss_db.
13195 * shlib-versions: Likewise.
13196 * nss/Makefile: Add rules to build libnss_db.
13197 * nss/Versions: Add libnss_db information. Organize libnss_files
13198 entries better.
13199 * nss/db-Makefile: Add gshadow support. Change rules for the new
13200 makedb progra. Some minor improvements to generate smaller files.
13201 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13202 here from...
13203 * nss/makedb.c: ...here.
13204 Improve database format to be smaller and require less memory at
13205 runtime.
13206 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13207 db anymore.
13208 * nss/nss_db/db-netgrp.c: Likewise.
13209 * nss/nss_db/db-open.c: Likewise.
13210 * nss/nss_files/flies-XXX.x: Adjust comments.
13211 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13212 * nss/nss_files/files-grp.c: Likewise.
13213 * nss/nss_files/files-hosts.c: Likewise.
13214 * nss/nss_files/files-network.c: Likewise.
13215 * nss/nss_files/files-proto.c: Likewise.
13216 * nss/nss_files/files-pwd.c: Likewise.
13217 * nss/nss_files/files-rpc.c: Likewise.
13218 * nss/nss_files/files-service.c: Likewise.
13219 * nss/nss_files/files-sgrp.c: Likewise.
13220 * nss/nss_files/files-spwd.c: Likewise.
13221 * nss/nss_db/db-alias.c: Removed.
13222 * nss/nss_db/dummy-db.h: Removed.
13223
9ee76b5a
UD
132242011-06-02 Ulrich Drepper <drepper@gmail.com>
13225
13226 * nss/makedb.c: Rewritten to not use database library.
13227 * nss/Makefile: Update to build new makedb program.
13228
c71ca1f8
AJ
132292011-06-14 Andreas Jaeger <aj@suse.de>
13230
13231 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13232 memset declaration.
13233
3154bfb8
UD
132342011-06-10 Andreas Schwab <schwab@redhat.com>
13235
13236 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13237 tmpbuf.
13238
b350afab
RM
132392011-06-10 Roland McGrath <roland@hack.frob.com>
13240
decd4e50
RM
13241 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13242 * elf/Makefile ($(objpfx)ld.so): Likewise.
13243
5615eaf2
RM
13244 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13245 Don't list ld.so twice in dependencies.
13246
13247 * posix/bug-regex31.c: Include <stdlib.h>.
13248
13249 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13250
13251 * nis/nss_compat/compat-spwd.c
13252 (getspent_next_nss_netgr): Remove unused variable.
13253 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13254
13255 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13256 nonmembers" output to use the right array.
13257
13258 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13259
13260 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13261
13262 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13263 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13264 * catgets/gencat.c (read_input_file): Likewise.
13265 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13266
13267 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13268 variable definition inside #if's controlling its use.
13269
13270 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13271
13272 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13273
13274 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13275
13276 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13277 unreachable code.
13278
13279 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13280
b68e08db
RM
13281 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13282 * configure: Regenerated.
13283
b350afab
RM
13284 * Makerules: Revert last change.
13285 * elf/Makefile: Likewise.
13286
28368601
RM
132872011-06-09 Roland McGrath <roland@hack.frob.com>
13288
13289 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13290 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13291 (reloc-link): Likewise.
13292
11988f8f
UD
132932011-06-09 Ulrich Drepper <drepper@gmail.com>
13294
13295 * elf/Makefile: Add rules to build pldd.
13296 * elf/pldd.c: New file.
13297 * elf/pldd-xx.c: New file.
13298
e80fab37
UD
132992011-06-07 Ulrich Drepper <drepper@gmail.com>
13300
13301 * version.h: Update for 2.15 development version.
13302
9b849836
DM
133032011-06-07 David S. Miller <davem@davemloft.net>
13304
13305 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13306 ifuncs.
13307 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13308 elf_machine_lazy_rel): Likewise.
13309 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13310 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13311 elf_machine_lazy_rel): Likewise.
13312 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13313 dl_hwcap via passed in argument.
13314 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13315 Likewise.
13316
5a31b283
AK
133172011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13318
13319 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13320
069e52f8
RM
133212011-06-06 Roland McGrath <roland@hack.frob.com>
13322
13323 [BZ #12849]
13324 * manual/fdl-1.1.texi: New file, verbatim from:
13325 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13326 * manual/lgpl-2.1.texi: New file, verbatim from:
13327 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13328 * manual/Makefile (licenses): New variable, list those new file names.
13329 (texis): Use it.
13330 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13331
13332 * manual/fdl.texi: File removed.
13333 * manual/lesser.texi: File removed.
13334 * manual/libc.texinfo (Copying, Documentation License):
13335 Use new @include file names, put @appendix directive before @include.
13336
f16846a5
JJ
133372011-06-04 Jakub Jelinek <jakub@redhat.com>
13338
13339 [BZ #12841]
13340 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13341 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13342 (mq_open): Add __NTH.
13343
3d29045b
L
133442011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13345
13346 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13347 Assume Intel Core i3/i5/i7 processor if AVX is available.
13348
8c297311
UD
133492011-05-31 Ulrich Drepper <drepper@gmail.com>
13350
13351 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13352 typo.
13353
c8fc0c91
UD
133542011-05-31 Andreas Schwab <schwab@redhat.com>
13355
13356 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13357 memory. Use alloca_account. Fix memory leak when retrying.
13358
5b27a807
UD
133592011-05-31 Ulrich Drepper <drepper@gmail.com>
13360
356f8bc6
UD
13361 * version.h (RELEASE): Bump for 2.14 release.
13362 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13363
5b27a807
UD
13364 * config.make.in (RANLIB): Remove entry.
13365
01f16ab0
UD
133662011-05-30 Ulrich Drepper <drepper@gmail.com>
13367
41fce8bd
UD
13368 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13369 (libc.pot): Work around missing support for .ksh extension in xgettext.
13370
4769ae77
UD
13371 [BZ #12684]
13372 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13373 if both request failed.
13374 (send_dg): In case of server errors clear resplen or *resplen2.
13375
6b1e7d19
UD
13376 [BZ #12454]
13377 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13378 when there are multiple maps.
13379 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13380 (_dl_fini): Remove test here.
13381
01f16ab0
UD
13382 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13383
b1ebd700
UD
133842011-05-29 Ulrich Drepper <drepper@gmail.com>
13385
7ae22829
UD
13386 [BZ #12350]
13387 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13388 bit from old_res_options.
13389 (gaih_inet): Likewise.
13390
553149f6 13391 [BZ #11099]
18a84741 13392 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13393 as signed.
13394
652ffab1
UD
13395 * resolv/res_init.c (res_setoptions): Make the code more compact.
13396
16985fd0
UD
13397 [BZ #11558]
13398 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13399 set RES_USEVC.
13400
0464f746
UD
13401 [BZ #11634]
13402 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13403
7d17596c
UD
13404 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13405
cf6bbbd7
UD
13406 [BZ #11781]
13407 * malloc/malloc.h: Declare malloc hook variables as volatile.
13408
13f1ab36
UD
13409 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13410 in last patch.
13411
b1ebd700
UD
13412 [BZ #11799]
13413 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13414 raise in the comment.
80e2212d
UD
13415 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13416 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13417 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13418
ce67228d
UD
134192011-05-28 Ulrich Drepper <drepper@gmail.com>
13420
8887a920
UD
13421 [BZ #12811]
13422 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13423 grow the buffers more if it already has to be sufficient.
13424 (build_wcs_upper_buffer): Likewise.
13425 * posix/regexec.c (check_matching): Likewise.
13426 (clean_state_log_if_needed): Likewise.
13427 (extend_buffers): Don't enlarge buffers beyond size of the input
13428 buffer.
13429 Patches mostly by Emil Wojak <emil@wojak.eu>.
13430 * posix/bug-regex32.c: New file.
13431 * posix/Makefile (tests): Add bug-regex32.
13432
4f031072
UD
13433 * locale/findlocale.c (_nl_find_locale): Return right away if
13434 _nl_explode_name failed.
13435 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13436
d0478f0c
UD
13437 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13438
de81b246
UD
13439 * debug/xtrace.sh: Unify messages.
13440 * malloc/memusage.sh: Likewise.
13441
c738465a
UD
13442 [BZ #12813]
13443 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13444 time symbol from vDSO. Substitute with vsyscall if not available.
13445 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13446 __vdso_time.
13447
f1f929d7
UD
13448 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13449 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13450 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13451 Add sendmmsg and internal_sendmmsg.
13452 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13453 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13454 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13455
ce67228d
UD
13456 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13457 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13458 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13459
e57420c6
UD
134602011-05-27 Ulrich Drepper <drepper@gmail.com>
13461
a8509ca5
UD
13462 [BZ #12813]
13463 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13464 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13465 available.
13466 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13467 __vdso_getcpu.
13468
e57420c6
UD
13469 [BZ #12814]
13470 * iconvdata/Makefile (tests): Add bug-iconv9.
13471 * iconvdata/bug-iconv9.c: New file.
13472
4d07db15
AS
134732011-05-27 Andreas Schwab <schwab@redhat.com>
13474
13475 [BZ #12814]
13476 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13477
ea486f69
JJ
134782011-05-25 Jakub Jelinek <jakub@redhat.com>
13479
13480 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13481 (struct user_regs_struct): Change intcs field back to cs.
13482
6f038433
UD
134832011-05-25 Ulrich Drepper <drepper@gmail.com>
13484
13485 * po/ja.po: Update from translation team.
13486
67f86a25
UD
134872011-05-23 Ulrich Drepper <drepper@gmail.com>
13488
13489 [BZ #12795]
13490 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13491 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13492
def7fbd6
AS
134932011-05-20 Andreas Schwab <schwab@redhat.com>
13494
13495 * stdlib/longlong.h: Update from GCC.
13496
f50ef8f1
AS
134972011-05-23 Andreas Schwab <schwab@redhat.com>
13498
13499 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13500 parameter name.
13501 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13502 Add parameter name.
13503 (__sysconf): Pass it down.
13504
de7ce8f1
UD
135052011-05-22 Ulrich Drepper <drepper@gmail.com>
13506
f2962a71
UD
13507 [BZ #12671]
13508 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13509 some situations.
13510 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13511 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13512 add in in __libc_use_alloca calls. Adjust callers.
13513 (glob): Use malloc in some situations.
13514
de7ce8f1
UD
13515 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13516 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13517 pltexit.
13518
aec84f53
UD
135192011-05-21 Ulrich Drepper <drepper@gmail.com>
13520
05bb4a68
UD
13521 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13522 and CLOCK_BOOTTIME_ALARM.
13523
7ea72f99
UD
13524 [BZ #12782]
13525 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13526 is returned.
13527
7e4afad5
UD
13528 * string/_strerror.c (__strerror_r): Print negative errors as signed
13529 numbers.
13530
8e211fec
UD
13531 [BZ #12777]
13532 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13533 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13534 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13535
f7d82dc9
UD
13536 * configure.in: Fix typo in redirection and correct removal of test
13537 files in two cases.
13538
cc9e536d
UD
13539 [BZ #12788]
13540 * locale/setlocale.c (new_composite_name): Fix test to check for
13541 identical name of all categories.
13542
aec84f53
UD
13543 [BZ #12792]
13544 * libio/filedoalloc.c (local_isatty): New function.
13545 (_IO_file_doallocate): Use local_isatty.
13546 * stdio-common/perror.c (perror): In case a new stream is used
13547 forward the stream error.
13548 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13549 error flag.
13550
78e64fdc
RT
135512011-05-20 Ulrich Drepper <drepper@gmail.com>
13552
34a9094f
UD
13553 [BZ #11869]
13554 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13555 alloca.
13556 * include/alloca.h (extend_alloca_account): Define.
13557
78e64fdc
RT
13558 [BZ #11857]
13559 * posix/regex.h: Fix comments with documentation of user-accessible
13560 fields after compilation and describe correct free'ing of pattern
13561 after re_compile_pattern.
13562 Patch by Reuben Thomas <rrt@sc3d.org>.
13563
457bddfc
RA
135642011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13565
13566 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13567 and -mno-altivec to prevent the compiler from using Altivec and/or
13568 VSX instructions when the corresponding registers are not available.
13569
a4527b51
AS
135702011-05-19 Andreas Schwab <schwab@redhat.com>
13571
13572 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13573
ed690b2f
UD
135742011-05-19 Ulrich Drepper <drepper@gmail.com>
13575
13576 * libio/freopen.c (freopen): Use __dup2, not dup2.
13577 * libio/freopen64.c (freopen64): Likewise.
13578
8db73634
L
135792011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13580
13581 [BZ #12775]
13582 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13583 * math/Makefile (tests): Add test-powl.
13584 (CFLAGS-test-powl.c): Define.
13585 * math/test-powl.c: New file.
13586
0a197a9d
L
135872011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13588
13589 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13590
ee30c380
UD
135912011-05-17 Ulrich Drepper <drepper@gmail.com>
13592
13593 [BZ #11837]
13594 * iconvdata/gb18030.c: Update to GB18020-2005.
13595
6ce75379
UD
135962011-05-16 Ulrich Drepper <drepper@gmail.com>
13597
a4b89fd8
AR
13598 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13599 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13600 Patch by Aharon Robbins <arnold@skeeve.com>.
13601
ea389b12
UD
13602 [BZ #11892]
13603 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13604 on the stack.
13605
68a3f91f
UD
13606 [BZ #11895]
13607 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13608 through underflows.
13609
15cc7dd1
UD
13610 [BZ #12766]
13611 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13612 point to strings before performing equality test for error_one_per_line
13613 mode.
13614
f3799213
UD
13615 [BZ #11697]
13616 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13617
d79a9c94
UD
13618 [BZ #11820]
13619 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13620 (struct user_fpregs_struct): Avoid __uint*_t types.
13621
56e5eb46
UD
13622 [BZ #6420]
13623 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13624 symbol info. Use it instead of calling _dl_addr locally.
13625 (lock_and_info): New function.
13626 (tr_freehook): Call lock_and_info and pass symbol info as additional
13627 parameter to tr_where.
13628 (tr_mallochook): Likewise.
13629 (tr_reallochook): Likewise.
13630 (tr_memalignhook): Likewise.
13631
6ce75379
UD
13632 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13633 used and couldn't be at all thread-safe.
13634
f8a3b5bf
UD
136352011-05-15 Ulrich Drepper <drepper@gmail.com>
13636
94b7cc37
UD
13637 * libio/freopen.c (freopen): Don't close old file descriptor
13638 before the new one is opened. Instead dup the new file descriptor
13639 to the old one after the new stream is created.
13640 * libio/freopen64.c (freopen64): Likewise.
13641 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13642 * libio/fileops.c (_IO_new_file_close_it): Handle new
13643 _IO_FLAGS2_NOCLOSE flag.
13644 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13645 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13646 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13647 _IO_FLAGS2_NOCLOSE flag.
13648 * include/unistd.h: Add hidden_proto for dup3.
13649 Define __have_dup3.
13650 * io/dup3.c: Define hidden symbol.
13651 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13652
bd25564e
UD
13653 [BZ #7101]
13654 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13655 when an incomplete long option is used.
13656 * posix/tst-getopt_long1.c: New file.
13657 * posix/Makefile (tests): Add tst-getopt_long1.
13658
c84cfef4
UD
13659 [BZ #10138]
13660 * scripts/config.guess: Update from autoconf-2.68.
13661 * scripts/config.sub: Likewise.
13662
3b85df27
UD
13663 [BZ #10157]
13664 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13665 tests into ...
13666 (has_cpuclock): ...this. New function.
13667 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13668 macro here based on has_cpuclock code.
13669
15a856b1
UD
13670 [BZ #10149]
13671 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13672 First byte (not low byte) is now always NUL.
13673 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13674
05f399e6
UD
13675 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13676 Use non-cancelable interfaces.
13677
10a52685 13678 [BZ #9809]
94ecc67d
UD
13679 * locale/iso-639.def: Add entry for Sorani.
13680
f8a3b5bf
UD
13681 [BZ #11901]
13682 * include/stdlib.h: Move include protection to the right place.
13683 Define abort_msg_s. Declare __abort_msg with it.
13684 * stdlib/abort.c (__abort_msg): Adjust type.
13685 * assert/assert.c (__assert_fail_base): New function. Majority
13686 of code from __assert_fail. Allocate memory for __abort_msg with
13687 mmap.
13688 (__assert_fail): Now call __assert_fail_base.
13689 * assert/assert-perr.c: Remove bulk of implementation. Use
13690 __assert_fail_base.
13691 * include/assert.hL Declare __assert_fail_base.
13692 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13693 mmap.
13694 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13695
1af4e298
UD
136962011-05-14 Ulrich Drepper <drepper@gmail.com>
13697
f8a3b5bf 13698 [BZ #11952]
d26dfc60
MG
13699 [BZ #12453]
13700 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13701 until all modules are registered in the DTV.
13702 * elf/Makefile: Add rules to build and run tst-tls19.
13703 * elf/tst-tls19.c: New file.
13704 * elf/tst-tls19mod1.c: New file.
13705 * elf/tst-tls19mod2.c: New file.
13706 * elf/tst-tls19mod3.c: New file.
13707 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13708
2fc54d6f
UD
13709 [BZ #12083]
13710 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13711 correctly.
13712
98d76b46
UD
13713 [BZ #12601]
13714 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13715 two-byte sequence errors.
13716 * iconvdata/Makefile (tests): Add bug-iconv8.
13717 * iconvdata/bug-iconv8.c: New file.
13718
da3c19ef
UD
13719 [BZ #12626]
13720 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13721 buf2 definition.
13722
ca408c15
UD
13723 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13724
d6f67f7d
UD
13725 [BZ #12432]
13726 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13727 (dummy_getcfa): New function.
13728 (init): Get _Unwind_GetCFA address, use dummy if not found.
13729 (backtrace_helper): In recursion check, also check whether CFA changes.
13730 (__backtrace): Completely initialize arg.
13731
1af4e298 13732 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
13733 storing incomplete byte sequence in state object. Avoid testing for
13734 guaranteed too small input if we know there is enough data available.
1af4e298 13735
da62f81b
AS
137362011-05-11 Andreas Schwab <schwab@redhat.com>
13737
13738 * Makeconfig (+link-pie): Indent.
13739 * Rules (binaries-pie): Define if $(have-fpie) and
13740 $(build-shared).
13741 (binaries-shared): Also filter out $(binaries-pie).
13742 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13743 * nscd/Makefile (others-pie): Add nscd.
13744 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13745 ($(objpfx)nscd): Remove command override.
13746 * login/Makefile (others-pie): Add pt_chown.
13747 ($(objpfx)pt_chown): Remove command override.
13748 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13749 remove command overrides.
13750
fcabc0f8
UD
137512011-05-13 Ulrich Drepper <drepper@gmail.com>
13752
20030ae6
UD
13753 * libio/tst_putwc.c: Fix error messages.
13754
fcabc0f8
UD
13755 [BZ #12724]
13756 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13757 currently writing and seek to current position when not.
13758 * libio/Makefile (tests): Add bug-fclose1.
13759 * libio/bug-fclose1.c: New file.
13760
320a5dc0
PB
137612011-05-12 Ulrich Drepper <drepper@gmail.com>
13762
13763 [BZ #12511]
13764 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13765 don't set DF_1_NODELETE here.
13766 (do_lookup_x): When entering new entry test for copy relocation
13767 and if necessary set DF_1_NODELETE flag.
13768 * elf/tst-unique4.cc: New file.
13769 * elf/tst-unique4.h: New file.
13770 * elf/tst-unique4lib.cc: New file.
13771 * elf/Makefile: Add rules to build and run tst-unique4.
13772 Patch by Piotr Bury <pbury@goahead.com>.
13773
22836f52
UD
137742011-05-11 Ulrich Drepper <drepper@gmail.com>
13775
f574184a
UD
13776 [BZ #12052]
13777 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13778
e1fb097f
UD
13779 [BZ #12625]
13780 * misc/mntent_r.c (addmntent): Flush the stream after the output
13781
22836f52
UD
13782 [BZ #12393]
13783 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13784 (is_trusted_path_normalize): Skip initial colon. Append slash
13785 to empty buffer. Duplicate is_trusted_path code but allow
13786 constructed patch to be prefix.
13787 (is_dst): Allow $ORIGIN followed by /.
13788 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13789 Correct testing of result of is_trusted_path_normalize
13790 (decompose_rpath): Fix warning.
13791
7b3b0b2a
UD
137922011-05-10 Ulrich Drepper <drepper@gmail.com>
13793
13794 [BZ #11257]
13795 * grp/initgroups.c (internal_getgrouplist): When we found the service
13796 list through the initgroups entry in nsswitch.conf do not always
13797 continue on a successful lookup. Don't always use the
eac80ce2 13798 __nss_group_database value if it is set.
7b3b0b2a
UD
13799 * nss/nsswitch.conf (initgroups): Change action for successful db
13800 lookup to continue for compatibility.
13801
2a81eaa5
UD
138022011-05-09 Ulrich Drepper <drepper@gmail.com>
13803
be97a69e
UD
13804 [BZ #11532]
13805 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13806 and CP774 modules.
13807 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13808 and CP774 modules.
13809 * iconvdata/tst-tables.sh: Likewise.
13810 * iconvdata/cp770.c: New file.
13811 * iconvdata/cp771.c: New file.
13812 * iconvdata/cp772.c: New file.
13813 * iconvdata/cp773.c: New file.
13814 * iconvdata/cp774.c: New file.
13815 * iconvdata/testdata/CP770: New file.
13816 * iconvdata/testdata/CP770..UTF8: New file.
13817 * iconvdata/testdata/CP771: New file.
13818 * iconvdata/testdata/CP771..UTF8: New file.
13819 * iconvdata/testdata/CP772: New file.
13820 * iconvdata/testdata/CP772..UTF8: New file.
13821 * iconvdata/testdata/CP773: New file.
13822 * iconvdata/testdata/CP773..UTF8: New file.
13823 * iconvdata/testdata/CP774: New file.
13824 * iconvdata/testdata/CP774..UTF8: New file.
13825
13826 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13827 END CHARMAP line.
13828 * iconvdata/gen-8bit-gap.sh: Likewise.
13829 * iconvdata/gen-8bit.sh: Likewise.
13830
c1e9e399
UD
13831 * locale/iso-639.def: Add ary entry.
13832
24c55fb3 13833 [BZ #11258]
96b4b1b0
UD
13834 * locale/C-translit.h.in: Add U20A1 transliteration.
13835
bdc2f971
KB
13836 [BZ #12178]
13837 * locale/iso-639.def: Add wae entry.
13838 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13839
2952b117
UD
13840 [BZ #12545]
13841 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13842 for n.
13843
2a81eaa5
UD
13844 [BZ #12711]
13845 * locale/C-translit.h.in: Add entry for U20B9.
13846 Patch by pravin.d.s@gmail.com.
13847
28377d1b
UD
138482011-05-08 Ulrich Drepper <drepper@gmail.com>
13849
7fb90fb8
UD
13850 [BZ #12713]
13851 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13852 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
13853 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13854 in rtld. Use *stat64.
7fb90fb8 13855 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 13856 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 13857 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
13858 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13859 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13860 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13861 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13862 __fstatat64 macros.
7fb90fb8
UD
13863 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13864 * dirent/rewinddir.c: Add libc_hidden_def.
13865 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 13866 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 13867
28377d1b
UD
13868 * include/dirent.h (__alloc_dir): Add flags parameter.
13869 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13870 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13871 __alloc_dir.
13872 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13873 from fdopendir if O_CLOEXEC is already set.
13874
66bdbaa4
AM
138752011-03-15 Alan Modra <amodra@gmail.com>
13876
13877 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13878 l_tls_firstbyte_offset non-zero. Save padding offset in
13879 l_tls_firstbyte_offset for later use.
13880 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13881 freeing static tls block.
13882
95721191
JN
138832011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13884
13885 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13886 where #ifdef was intended. The intent is to prevent ARG_MAX from
13887 being defined by the kernel headers.
13888
f87dfb1f
UD
138892011-05-07 Ulrich Drepper <drepper@gmail.com>
13890
13891 [BZ #12734]
13892 * resolv/resolv.h: Define RES_NOTLDQUERY.
13893 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13894 no-tld-query and set RES_NOTLDQUERY.
13895 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13896 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13897 modern BIND to search name as TLD unless forbidden.
13898
47c3cd7a
UD
138992011-05-07 Petr Baudis <pasky@suse.cz>
13900 Ulrich Drepper <drepper@gmail.com>
13901
13902 [BZ #12393]
13903 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13904 (is_trusted_path): ...to here.
c1e9ea35 13905 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 13906 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 13907 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 13908
8a35c912
PP
139092011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13910
13911 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13912 __BEGIN/__END_DECLS.
13913
acd41f47
UD
139142011-05-06 Ulrich Drepper <drepper@gmail.com>
13915
13916 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13917 NSS_STATUS_NOTFOUND if no record was found.
13918
597df647
AS
139192011-05-05 Andreas Schwab <schwab@redhat.com>
13920
13921 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13922 (headers-not-in-tirpc): Remove rpc/netdb.h
13923 * resolv/netdb.h: Revert last change.
13924
b9af1301
PP
139252011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13926
13927 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13928 circular dependency between libgcc.a and libc.a.
13929
4e34d5f5
AS
139302011-05-05 Andreas Schwab <schwab@redhat.com>
13931
13932 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13933 * nis/Makefile: Don't install rpcsvc/*.
13934 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13935 instead of <rpc/types.h>.
13936 (MAXHOSTNAMELEN): Define.
13937
00ee369c
AS
139382011-05-03 Andreas Schwab <schwab@redhat.com>
13939
13940 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13941
0b592a30
MB
139422011-04-28 Maciej Babinski <mbabinski@google.com>
13943
13944 [BZ #12714]
13945 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13946 gethostbyname4_r when IPv6 results are possible.
13947
6e04cbbe
UD
139482011-05-02 Ulrich Drepper <drepper@gmail.com>
13949
13950 [BZ #12723]
13951 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13952 _PC_PIPE_BUF handling.
13953
e4ecafe0
BH
139542011-04-30 Bruno Haible <bruno@clisp.org>
13955
13956 [BZ #12717]
13957 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
13958 * resolv/netdb.h (getnameinfo): Change type of flags parameter
13959 to 'int'.
13960 * inet/getnameinfo.c (getnameinfo): Likewise.
13961
125ee683
UD
139622011-04-29 Ulrich Drepper <drepper@gmail.com>
13963
13964 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13965 to groups setting in database lookup.
13966 * nss/nsswitch.conf: Add initgroups entry.
13967
b722481a
EB
139682011-04-22 Ulrich Drepper <drepper@gmail.com>
13969
13970 [BZ #12685]
13971 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13972 mode string.
13973 Patch by Eric Blake <eblake@redhat.com>.
13974
4df46dbd
L
139752011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13976
13977 * sunrpc/Makefile (need-export-routines): Add svc_run.
13978 (routines): Remove svc_run.
13979 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13980 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13981 * sunrpc/svc_run.c (svc_run): Likewise.
13982 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13983
e84142d2
UD
139842011-04-21 Ulrich Drepper <drepper@gmail.com>
13985
13986 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13987 problem in reallocation in last patch.
13988
877175d8
UD
139892011-04-20 Ulrich Drepper <drepper@gmail.com>
13990
13991 * sunrpc/Makefile: Move inclusion of Rules.
13992
ab8eed78
UD
139932011-04-19 Ulrich Drepper <drepper@gmail.com>
13994
13995 * nss/nss_files/files-initgroups.c: New file.
13996 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13997 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13998 _nss_files_initgroups_dyn.
13999
e3d8f584
RS
140002011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14001
14002 * elf/elf.h (R_ARM_IRELATIVE): Define.
14003
af190f45
UD
140042011-04-19 Ulrich Drepper <drepper@gmail.com>
14005
14006 * po/ru.po: Update from translation team.
14007
53cf59ef
UD
140082011-04-17 Ulrich Drepper <drepper@gmail.com>
14009
14010 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14011 dependencies.
14012
4c559bcd
MF
140132011-02-06 Mike Frysinger <vapier@gentoo.org>
14014
14015 [BZ #12653]
14016 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14017 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14018 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14019 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14020 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14021
4420675c
AS
140222011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14023
14024 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14025 differing bytes.
14026 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14027 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14028 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14029
75ea32ab
UD
140302011-04-17 Ulrich Drepper <drepper@gmail.com>
14031
14032 [BZ #12420]
14033 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14034 storing it.
14035 * stdlib/bug-getcontext.c: New file.
14036 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14037
27390476
AK
140382011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14039
14040 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14041 instructions into .machine "z9-109".
14042 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14043 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14044
10442705
AK
140452011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14046
14047 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14048 between environment variables and auxiliary vector.
14049
7b57bfe5
UD
140502011-04-16 Ulrich Drepper <drepper@gmail.com>
14051
14052 * Makefile: Add rules to build linkobj/libc.so.
14053 * include/libc-symbols.h: Define libc_hidden_nolink.
14054 * include/rpc/auth.h: Mark functions which are to be hidden.
14055 * include/rpc/auth_des.h: Likewise.
14056 * include/rpc/auth_unix.h: Likewise.
14057 * include/rpc/clnt.h: Likewise.
14058 * include/rpc/des_crypt.h: Likewise.
14059 * include/rpc/key_prot.h: Likewise.
14060 * include/rpc/pmap_clnt.h: Likewise.
14061 * include/rpc/pmap_prot.h: Likewise.
14062 * include/rpc/pmap_rmt.h: Likewise.
14063 * include/rpc/rpc_msg.h: Likewise.
14064 * include/rpc/svc.h: Likewise.
14065 * include/rpc/svc_auth.h: Likewise.
14066 * include/rpc/xdr.h: Likewise.
14067 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14068 * nss/Makefile: Likewise.
14069 * sunrpc/Makefile: Don't install headers. Build library with normal
14070 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14071 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14072 for the compat linking library. Remove use of INTDEF/INTUSE.
14073 * sunrpc/auth_none.c: Likewise.
14074 * sunrpc/auth_unix.c: Likewise.
14075 * sunrpc/authdes_prot.c: Likewise.
14076 * sunrpc/authuxprot.c: Likewise.
14077 * sunrpc/clnt_gen.c: Likewise.
14078 * sunrpc/clnt_perr.c: Likewise.
14079 * sunrpc/clnt_raw.c: Likewise.
14080 * sunrpc/clnt_simp.c: Likewise.
14081 * sunrpc/clnt_tcp.c: Likewise.
14082 * sunrpc/clnt_udp.c: Likewise.
14083 * sunrpc/clnt_unix.c: Likewise.
14084 * sunrpc/des_crypt.c: Likewise.
14085 * sunrpc/des_soft.c: Likewise.
14086 * sunrpc/get_myaddr.c: Likewise.
14087 * sunrpc/key_call.c: Likewise.
14088 * sunrpc/key_prot.c: Likewise.
14089 * sunrpc/netname.c: Likewise.
14090 * sunrpc/pm_getmaps.c: Likewise.
14091 * sunrpc/pm_getport.c: Likewise.
14092 * sunrpc/pmap_clnt.c: Likewise.
14093 * sunrpc/pmap_prot.c: Likewise.
14094 * sunrpc/pmap_prot2.c: Likewise.
14095 * sunrpc/pmap_rmt.c: Likewise.
14096 * sunrpc/publickey.c: Likewise.
14097 * sunrpc/rpc_cmsg.c: Likewise.
14098 * sunrpc/rpc_common.c: Likewise.
14099 * sunrpc/rpc_dtable.c: Likewise.
14100 * sunrpc/rpc_prot.c: Likewise.
14101 * sunrpc/rpc_thread.c: Likewise.
14102 * sunrpc/rtime.c: Likewise.
14103 * sunrpc/svc.c: Likewise.
14104 * sunrpc/svc_auth.c: Likewise.
14105 * sunrpc/svc_authux.c: Likewise.
14106 * sunrpc/svc_raw.c: Likewise.
14107 * sunrpc/svc_run.c: Likewise.
14108 * sunrpc/svc_simple.c: Likewise.
14109 * sunrpc/svc_tcp.c: Likewise.
14110 * sunrpc/svc_udp.c: Likewise.
14111 * sunrpc/svc_unix.c: Likewise.
14112 * sunrpc/svcauth_des.c: Likewise.
14113 * sunrpc/xcrypt.c: Likewise.
14114 * sunrpc/xdr.c: Likewise.
14115 * sunrpc/xdr_array.c: Likewise.
14116 * sunrpc/xdr_float.c: Likewise.
14117 * sunrpc/xdr_intXX_t.c: Likewise.
14118 * sunrpc/xdr_mem.c: Likewise.
14119 * sunrpc/xdr_rec.c: Likewise.
14120 * sunrpc/xdr_ref.c: Likewise.
14121 * sunrpc/xdr_sizeof.c: Likewise.
14122 * sunrpc/xdr_stdio.c: Likewise.
14123
e6c61494
UD
141242011-04-10 Ulrich Drepper <drepper@gmail.com>
14125
14126 [BZ #12650]
14127 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14128 * sysdeps/ia64/dl-tls.h: Likewise.
14129 * sysdeps/powerpc/dl-tls.h: Likewise.
14130 * sysdeps/s390/dl-tls.h: Likewise.
14131 * sysdeps/sh/dl-tls.h: Likewise.
14132 * sysdeps/sparc/dl-tls.h: Likewise.
14133 * sysdeps/x86_64/dl-tls.h: Likewise.
14134 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14135
34fe483e
AS
141362011-03-14 Andreas Schwab <schwab@redhat.com>
14137
14138 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14139 rpath element also skip the following colon.
14140 (expand_dynamic_string_token): Add is_path parameter and pass
14141 down to DL_DST_REQUIRED and _dl_dst_substitute.
14142 (decompose_rpath): Call expand_dynamic_string_token with
14143 non-zero is_path. Ignore empty rpaths.
14144 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14145 with zero is_path.
14146
f12a32e6
AS
141472011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14148
14149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14150 Make cancelable.
14151
38a7d692
UD
141522011-04-09 Ulrich Drepper <drepper@gmail.com>
14153
14154 [BZ #12655]
14155 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14156 Patch by Filipe David Manana <fdmanana@apache.org>.
14157
e451d22b
AS
141582011-04-07 Andreas Schwab <schwab@redhat.com>
14159
14160 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14161 Maintain aligned stack.
14162 (CHECK_RSP): Remove unused macro.
14163
dedc7c7b
UD
141642011-04-03 Ulrich Drepper <drepper@gmail.com>
14165
14166 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14167 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14168
94521213
UD
141692011-04-02 Ulrich Drepper <drepper@gmail.com>
14170
14171 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14172
8cb700c0 14173 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14174
0354e355
L
141752011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14176
14177 [BZ #12518]
14178 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14179 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14180 * sysdeps/x86_64/memmove.c: New file.
14181 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14182 (memcpy): Renamed to ...
14183 (__new_memcpy): This.
14184 (memcpy): Provide GLIBC_2_14 memcpy.
14185 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14186 (memcpy): Provide GLIBC_2_2_5 memcpy.
14187
8593482f
UD
141882011-04-01 Ulrich Drepper <drepper@gmail.com>
14189
14190 [BZ #12631]
14191 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14192
81a5726b
AS
141932011-03-30 Andreas Schwab <schwab@redhat.com>
14194
14195 * misc/syncfs.c: New file.
14196 * misc/Makefile (routines): Add syncfs.
14197 * posix/unistd.h: Declare syncfs.
14198 * sysdeps/unix/syscalls.list: Add syncfs.
14199
00e5419f
AS
142002011-04-01 Andreas Schwab <schwab@redhat.com>
14201
14202 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14203 open_by_handle_at.
14204 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14205 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14206 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14207 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14208 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14209 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14210 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14211
748876bf
UD
142122011-04-01 Ulrich Drepper <drepper@gmail.com>
14213
658e451d
UD
14214 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14215 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14216 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14217 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14218 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14219 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14220 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14221
748876bf
UD
14222 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14223 sync_file_range.c with -fexceptions.
14224 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14225 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14226 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14227 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14228 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14229 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14230 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14231 sync_file_range as cancellation point
14232 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14233 now a wrapper around __call_sync_file_range with cancellation handling.
14234 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14235 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14236 function name to __call_sync_file_range.
14237 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14238 Add call_sync_file_range.
748876bf 14239
6e63d5e1
AS
142402011-04-01 Andreas Schwab <schwab@redhat.com>
14241
14242 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14243 bits/timex.h.
6e63d5e1 14244
46998f74
UD
142452011-04-01 Ulrich Drepper <drepper@gmail.com>
14246
4c1423ed
UD
14247 * iconv/iconv.h: Fix typo in comment.
14248 * io/fcntl.h: Likewise.
14249 * libio/stdio.h: Likewise.
14250 * posix/spawn.h: Likewise.
14251 * posix/unistd.h: Likewise.
14252 * stdlib/stdlib.h: Likewise.
14253 * time/time.h: Likewise.
14254 * wcsmbs/wchar.h: Likewise.
14255
158648c0
UD
14256 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14257 open_by_handle): Add.
14258 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14259 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14260 Augment a few comments.
14261 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14262 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14263 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14264 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14265 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14266 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14267 open_by_handle.
14268
46998f74
UD
14269 * io/fcntl.h (AT_EMPTY_PATH): Define.
14270
83fe108b
UD
142712011-03-30 Ulrich Drepper <drepper@gmail.com>
14272
14273 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14274 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14275 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14276 to...
14277 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14278 * Versions.def: Add GLIBC_2.14.
14279 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14280 Export.
83fe108b 14281
bb242059
UD
142822011-03-22 Ulrich Drepper <drepper@gmail.com>
14283
14284 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14285 round counter.
14286 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14287
c97a1282
L
142882011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14289
14290 [BZ #12597]
14291 * string/test-strncmp.c (do_page_test): New function.
14292 (check2): Likewise.
14293 (test_main): Call check2.
14294 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14295
2a115601
UD
142962011-03-20 Ulrich Drepper <drepper@gmail.com>
14297
14298 [BZ #12587]
14299 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14300 Handle cache information in CPU leaf 4.
14301 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14302
8126d904
UD
143032011-03-18 Ulrich Drepper <drepper@gmail.com>
14304
042c49c6 14305 [BZ #12583]
8126d904
UD
14306 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14307 character representation.
14308 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14309
ccfe366e
RA
143102011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14311
14312 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14313 END(__isnan) to END(__isnanf) to match function entry point/label
14314 EALIGN(__isnanf,...).
14315
c6e13027
JJ
143162011-03-10 Jakub Jelinek <jakub@redhat.com>
14317
14318 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14319
33f85a3f
UD
143202011-03-10 Ulrich Drepper <drepper@gmail.com>
14321
028478fa
UD
14322 [BZ #12510]
14323 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14324 copy from the symbol referenced in the relocation to initialize the
14325 used variable.
14326 Patch by Piotr Bury <pbury@goahead.com>.
14327 * elf/Makefile: Add rules to build and tst-unique3.
14328 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14329 * elf/tst-unique3.cc: New file.
14330 * elf/tst-unique3.h: New file.
14331 * elf/tst-unique3lib.cc: New file.
14332 * elf/tst-unique3lib2.cc: New file.
14333
33f85a3f
UD
14334 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14335
03592fc7
MF
143362011-03-10 Mike Frysinger <vapier@gentoo.org>
14337
14338 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14339 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14340 to _start.
03592fc7 14341
6a5ee102
UD
143422011-03-06 Ulrich Drepper <drepper@gmail.com>
14343
14344 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14345 to-be-loaded object along a path to loader is ld.so.
14346
7e4ba49c
HJ
143472011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14348 Ulrich Drepper <drepper@gmail.com>
14349
14350 * sysdeps/x86_64/memset.S: After aligning destination, code
14351 branches to different locations depending on the value of
14352 misalignment, when multiarch is enabled. Fix this.
14353
143542011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14355
14356 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14357 Set _x86_64_preferred_memory_instruction for AMD processsors.
14358 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14359 Set bit_Prefer_SSE_for_memop for AMD processors.
14360
13a804de
UD
143612011-03-04 Ulrich Drepper <drepper@gmail.com>
14362
14363 * libio/fmemopen.c (fmemopen): Optimize a bit.
14364
9d25c392
AS
143652011-03-03 Andreas Schwab <schwab@redhat.com>
14366
14367 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14368
a5543c6a
RM
143692011-03-03 Roland McGrath <roland@redhat.com>
14370
14371 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14372
012d35f7
DM
143732011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14374
7e4ba49c 14375 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14376 __bzero_ultra1 instead of __memset_ultra1.
14377
4bff6e01
AS
143782011-02-23 Andreas Schwab <schwab@redhat.com>
14379 Ulrich Drepper <drepper@gmail.com>
14380
14381 [BZ #12509]
14382 * include/link.h (struct link_map): Add l_orig_initfini.
14383 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14384 returning unsuccessfully.
14385 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14386 close of a file loaded at startup, restore the original l_initfini
14387 list.
14388 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14389 list, store the pointer.
14390 * elf/Makefile ($(objpfx)noload-mem): New rule.
14391 (noload-ENV): Define.
14392 (tests): Add $(objpfx)noload-mem.
14393 * elf/noload.c: Include <memcheck.h>.
14394 (main): Call mtrace. Close all opened handles.
14395
f2092faf
AS
143962011-02-17 Andreas Schwab <schwab@redhat.com>
14397
14398 [BZ #12454]
14399 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14400 dependencies are missing.
14401
6c8a2e88
ST
144022011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14403
f2092faf 14404 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14405 Hurd needs munmap.
14406 * sysdeps/mach/hurd/ifreq.h: New file.
14407
84a42118
PB
144082011-01-27 Petr Baudis <pasky@suse.cz>
14409 Ulrich Drepper <drepper@gmail.com>
14410
071f805e 14411 [BZ 12445]#
84a42118
PB
14412 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14413 to extend_alloca().
14414 * stdio-common/bug23.c: New file.
14415 * stdio-common/Makefile (tests): Add bug23.
14416
e23fe25b
AS
144172010-09-28 Andreas Schwab <schwab@redhat.com>
14418 Ulrich Drepper <drepper@gmail.com>
14419
14420 [BZ #12489]
14421 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14422 before performing relro protection. At old place add assertion
14423 to make sure nothing changed.
14424
d3f02e10
NS
144252011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14426 Glauber de Oliveira Costa <glommer@gmail.com>
14427
14428 * elf/elf.h: Add new ARM TLS relocs.
14429
d55fd7a5
RA
144302011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14431
14432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14433 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14434 cast from r3.
14435 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14436 'tests' variable.
14437 * sysdeps/wordsize-64/tst-writev.c: New file.
14438
2206397e
RA
144392011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14440
14441 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14442 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14443 insns in _dl_start to prevent a TOC reference before relocs are
14444 resolved.
14445
e9433893
UD
144462011-02-15 Ulrich Drepper <drepper@gmail.com>
14447
14448 [BZ #12469]
14449 * Makeconfig: Remove RANLIB definition.
14450 * Makerules: Don't use RANLIB.
14451 * aclocal.m4: Remove ranlib test.
14452 * configure.in: No need to check for ranlib.
14453 * elf/rtld-Rules: Don't use RANLIB.
14454
f75286c6
ST
144552011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14456
8e31c82d
ST
14457 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14458 protection macro.
14459 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14460 inclusion protection macro.
14461
f75286c6
ST
14462 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14463 SIGRTMIN and SIGRTMAX and print information in that case only when
14464 SIGRTMIN is defined.
14465
c1d0e639
JJ
144662011-02-11 Jakub Jelinek <jakub@redhat.com>
14467
14468 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14469 arginfo fn returning -1.
14470
14471 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14472 and thousands string is zero terminated.
14473
edf9294e
AS
144742011-02-03 Andreas Schwab <schwab@redhat.com>
14475
14476 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14477 sysdeps/unix/sysv/linux/bits/socket.h.
14478
2b7e92df
ST
144792011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14480
edf9294e
AS
14481 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14482 (__CPU_COUNT): Remove old macros.
14483 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14484 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14485 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
14486 (__sched_cpualloc, __sched_cpufree): Add declarations.
14487
a4c7ea7b
UD
144882011-02-05 Ulrich Drepper <drepper@gmail.com>
14489
14490 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14491 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14492 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14493 (readdhstai): Return value of addhstaiX call.
14494 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14495 (addgrbyX): Return value returned by cache_addgr.
14496 (readdgrbyname): Return value returned by addgrbyX.
14497 (readdgrbygid): Likewise.
14498 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14499 (addpwbyX): Return value returned by cache_addpw.
14500 (readdpwbyname): Return value returned by addhstbyX.
14501 (readdpwbyuid): Likewise.
14502 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14503 (addservbyX): Return value returned by cache_addserv.
14504 (readdservbyname): Return value returned by addservbyX:
14505 (readdservbyport): Likewise.
14506 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14507 (addhstbyX): Return value returned by cache_addhst.
14508 (readdhstbyname): Return value returned by addhstbyX.
14509 (readdhstbyaddr): Likewise.
14510 (readdhstbynamev6): Likewise.
14511 (readdhstbyaddrv6): Likewise.
14512 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14513 (readdinitgroups): Return value returned by addinitgroupsX.
14514 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14515 (prune_cache): Keep track of timeout value of re-added entries.
14516 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14517 * nscd/nscd.h: Adjust prototypes of readd* functions.
14518
a0bf67cc
RM
145192011-02-04 Roland McGrath <roland@redhat.com>
14520
14521 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14522 (nis_stats): Likewise.
14523 * nis/nis_modify.c (nis_modify): Likewise.
14524 * nis/nis_remove.c (nis_remove): Likewise.
14525 * nis/nis_add.c (nis_add): Likewise.
14526
14527 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14528
14529 * posix/fnmatch_loop.c: Add some consts.
14530
14531 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14532
435b95eb
L
145332011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14534
14535 [BZ #12460]
14536 * config.make.in (config-cflags-novzeroupper): Define.
14537 * configure.in: Substitute libc_cv_cc_novzeroupper.
14538 * elf/Makefile (AVX-CFLAGS): Define.
14539 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14540 (CFLAGS-tst-auditmod4a.c): Likewise.
14541 (CFLAGS-tst-auditmod4b.c): Likewise.
14542 (CFLAGS-tst-auditmod6b.c): Likewise.
14543 (CFLAGS-tst-auditmod6c.c): Likewise.
14544 (CFLAGS-tst-auditmod7b.c): Likewise.
14545 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14546
8517b15e
UD
145472011-02-02 Ulrich Drepper <drepper@gmail.com>
14548
14549 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14550 function to the callback.
14551 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14552
10a656fe
AS
145532011-02-02 Andreas Schwab <schwab@redhat.com>
14554
14555 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14556 of errno.
14557
968dad0a
UD
145582011-01-19 Ulrich Drepper <drepper@gmail.com>
14559
9f94d2ea 14560 [BZ #11724]
968dad0a
UD
14561 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14562 of constructors.
14563 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14564 of destructors.
14565 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14566
14567 [BZ #11724]
14568 * elf/Makefile: Add rules to build and run new test.
14569 * elf/tst-initorder.c: New file.
14570 * elf/tst-initorder.exp: New file.
14571 * elf/tst-initordera1.c: New file.
14572 * elf/tst-initordera2.c: New file.
14573 * elf/tst-initordera3.c: New file.
14574 * elf/tst-initordera4.c: New file.
14575 * elf/tst-initorderb1.c: New file.
14576 * elf/tst-initorderb2.c: New file.
14577 * elf/tst-order-a1.c: New file.
14578 * elf/tst-order-a2.c: New file.
14579 * elf/tst-order-a3.c: New file.
14580 * elf/tst-order-a4.c: New file.
14581 * elf/tst-order-b1.c: New file.
14582 * elf/tst-order-b2.c: New file.
14583 * elf/tst-order-main.c: New file.
14584 New test case by George Gensure <werkt0@gmail.com>.
14585
86e92359
UD
145862010-10-01 Andreas Schwab <schwab@redhat.com>
14587
14588 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14589 decoding ACE if AI_CANONIDN.
14590
5d5732b0
UD
145912011-01-18 Ulrich Drepper <drepper@gmail.com>
14592
14593 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14594
a77e8cbc
UD
145952011-01-17 Ulrich Drepper <drepper@gmail.com>
14596
6392473f
UD
14597 * version.h (RELEASE): Bump for 2.13 release.
14598 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14599
620a0529
UD
14600 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14601
18ba70a5
UD
14602 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14603 MADV_NOHUGEPAGE.
32465c3e
UD
14604 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14605 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14606 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14607 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14608 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14609 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14610
c0dafcf1
UD
14611 * posix/getconf.c: Update copyright year.
14612 * catgets/gencat.c: Likewise.
14613 * csu/version.c: Likewise.
14614 * debug/catchsegv.sh: Likewise.
14615 * debug/xtrace.sh: Likewise.
14616 * elf/ldconfig.c: Likewise.
14617 * elf/ldd.bash.in: Likewise.
14618 * elf/sprof.c (print_version): Likewise.
14619 * iconv/iconv_prog.c: Likewise.
14620 * iconv/iconvconfig.c: Likewise.
14621 * locale/programs/locale.c: Likewise.
14622 * locale/programs/localedef.c: Likewise.
14623 * malloc/memusage.sh: Likewise.
14624 * malloc/mtrace.pl: Likewise.
14625 * nscd/nscd.c (print_version): Likewise.
14626 * nss/getent.c: Likewise.
14627
a77e8cbc
UD
14628 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14629 PF_CAIF, and PF_ALG.
14630 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14631
77e8bddf
AS
146322011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14633
1f20b93a
AS
14634 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14635 (modules-names): Use them.
14636 (ifunc-test-modules, ifunc-pie-tests): Define.
14637 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14638 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14639 (test-extras): Likewise.
14640 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14641 $(compile-command.c).
14642 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14643 (all-built-dso): Define.
14644 (check-textrel.out, check-execstack.out): Depend on it.
14645
77e8bddf
AS
14646 * configure.in: Don't override --enable-multi-arch.
14647
bc425b33
UD
146482011-01-15 Ulrich Drepper <drepper@gmail.com>
14649
14650 [BZ #6812]
14651 * nscd/hstcache.c (tryagain): Define.
14652 (cache_addhst): Return tryagain not notfound for temporary errors.
14653 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14654 failed.
14655
794c3ad3
UD
146562011-01-14 Ulrich Drepper <drepper@gmail.com>
14657
70181fdd
UD
14658 [BZ #10563]
14659 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14660 to make the syscall.
14661 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14662
794c3ad3
UD
14663 [BZ #12378]
14664 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14665 and fall back to matching as normal character if the string ends before
14666 the matching ']' is found. This is what POSIX requires.
14667 * posix/testfnm.c: Adjust test result.
14668 * posix/globtest.sh: Adjust test result. Add new test.
14669 * posix/tst-fnmatch.input: Likewise.
14670 * posix/tst-fnmatch2.c: Add new test.
14671
68dc9497
AS
146722010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14673
14674 * elf/Makefile (check-execstack): Revert last change. Depend on
14675 check-execstack.h.
14676 (check-execstack.h): New target.
14677 (generated): Add check-execstack.h.
14678 * elf/check-execstack.c: Include "check-execstack.h".
14679 (main): Revert last change.
14680 (handle_file): Return zero if GNU_STACK is absent and
14681 DEFAULT_STACK_PERMS doesn't include PF_X.
14682
451f001b
UD
146832011-01-13 Ulrich Drepper <drepper@gmail.com>
14684
cfa28e56
UD
14685 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14686 in child fails because the descriptor is already closed.
8cf8ce17
UD
14687 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14688 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14689 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 14690
1086d70d
UD
14691 [BZ #12397]
14692 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14693 syscall.
14694
451f001b
UD
14695 [BZ #10484]
14696 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14697 temporary buffer used to handle multi lookups locally.
a85b5cb4 14698 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 14699
08769175
UD
147002011-01-12 Ulrich Drepper <drepper@gmail.com>
14701
14702 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14703 loader is ld.so.
14704
5e49c52e
UD
147052011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14706
14707 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14708 alignment for SSE2.
14709
60522a5f
UD
147102011-01-12 Ulrich Drepper <drepper@gmail.com>
14711
14712 [BZ #12394]
14713 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14714 characters. When rounding increased number of integer digits recompute
14715 number of groups.
14716 * stdio-common/tst-grouping.c: New file.
14717 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14718
f257bbd7
UD
147192011-01-09 Ulrich Drepper <drepper@gmail.com>
14720
14721 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14722 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14723
14724 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14725 void.
14726 * bits/select.h: Likewise.
14727
fa9c15cb
UD
147282011-01-08 Ulrich Drepper <drepper@gmail.com>
14729
14730 * po/ja.po: Update from translation team.
14731
16c2895f
DM
147322011-01-04 David S. Miller <davem@sunset.davemloft.net>
14733
14734 [BZ #11155]
14735 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14736 implementation just like for lxstat, fxstatat, et al.
14737
2543fef2
JM
147382010-12-27 Jim Meyering <meyering@redhat.com>
14739
14740 [BZ #12348]
14741 * posix/regexec.c (build_trtable): Return failure indication upon
14742 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14743
98727dbe
UD
147442010-12-25 Ulrich Drepper <drepper@gmail.com>
14745
5bd6dc5c
UD
14746 [BZ #12201]
14747 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14748 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14749 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14750 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14751
97983464
UD
14752 [BZ #12207]
14753 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14754
98727dbe
UD
14755 [BZ #12204]
14756 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14757 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14758
4a531bb0
L
147592010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14760
14761 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14762 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14763 script has SORT_BY_INIT_PRIORITY.
14764 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14765 NO_CTORS_DTORS_SECTIONS is defined.
14766 * elf/soinit.c: Likewise.
14767 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14768 NO_CTORS_DTORS_SECTIONS is defined.
14769 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14770 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14771 * sysdeps/sh/init-first.c: Likewise.
14772 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14773
07eb4b71
UD
147742010-12-24 Ulrich Drepper <drepper@gmail.com>
14775
14776 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14777 always use the slow path.
14778
30950a5f
RA
147792010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14780
14781 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14782 similar rule which adds the sysdep directories to the header search in
14783 order to pick up the correct platform stackinfo.h.
14784 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14785 perform test if it is, otherwise return successfully without testing.
14786 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14787 DEFAULT_STACK_PERMS define in stackinfo.h.
14788 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14789 defined in stackinfo.h.
14790 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14791 DEFAULT_STACK_PERMS defined in stackinfo.h.
14792 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14793 * sysdeps/ia64/stackinfo.h: Likewise.
14794 * sysdeps/s390/stackinfo.h: Likewise.
14795 * sysdeps/sh/stackinfo.h: Likewise.
14796 * sysdeps/sparc/stackinfo.h: Likewise.
14797 * sysdeps/x86_64/stackinfo.h: Likewise.
14798 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14799 PF_X for powerpc64. Retain PF_X for powerpc32.
14800
db753e2c
UD
148012010-12-19 Ulrich Drepper <drepper@gmail.com>
14802
14b697f7
UD
14803 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14804 accurately.
db753e2c
UD
14805 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14806 GETDENTS_64BIT_ALIGNED.
14807
28300719
UD
148082010-12-14 Ulrich Drepper <dreper@gmail.com>
14809
14b697f7 14810 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 14811
4f197237
AS
148122010-12-10 Andreas Schwab <schwab@redhat.com>
14813
dbb0472f
AS
14814 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14815 _GNU_SOURCE.
14816
4f197237
AS
14817 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14818 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14819 Remove __restrict.
14820 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14821 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14822
fb88ac72
UD
148232010-12-09 Ulrich Drepper <drepper@gmail.com>
14824
14825 [BZ #11655]
14826 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14827 are initialized.
14828
42acbb92
JJ
148292010-12-09 Jakub Jelinek <jakub@redhat.com>
14830
14831 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14832
c038d98d
UD
148332010-12-03 Ulrich Drepper <drepper@gmail.com>
14834
14835 * po/it.po: Update from translation team.
14836
3a4a2499
L
148372010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14838
14839 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14840 unused codes.
14841
1e24cf6e
UD
148422010-11-30 Ulrich Drepper <drepper@gmail.com>
14843
14844 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14845
a7690819
AS
148462010-11-24 Andreas Schwab <schwab@redhat.com>
14847
14848 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14849 specially.
14850 (gaih_getanswer_slice): Likewise.
14851
3bf8d1b1
JJ
148522010-10-20 Jakub Jelinek <jakub@redhat.com>
14853
14854 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14855
6db52fbb
PB
148562010-05-31 Petr Baudis <pasky@suse.cz>
14857
14858 [BZ #11149]
14859 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14860 silently even in the chroot mode.
14861
eaca7569
UD
148622010-11-22 Ulrich Drepper <drepper@gmail.com>
14863
14864 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14865 last patch a bit. Pretty printing
14866
3056dcdb
UD
148672010-05-31 Petr Baudis <pasky@suse.cz>
14868
14869 [BZ #10085]
14870 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14871 initialization of skip_initgroups_dyn.
14872
cf7c9078
UD
148732010-11-19 Ulrich Drepper <drepper@gmail.com>
14874
14875 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14876 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14877
a1fb5e3e
UD
148782010-11-16 Ulrich Drepper <drepper@gmail.com>
14879
14880 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14881
3540d66b
AS
148822010-11-11 Andreas Schwab <schwab@redhat.com>
14883
14884 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14885 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14886 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14887 ($(objpfx)tst-fnmatch-mem): New rule.
14888 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14889 * posix/tst-fnmatch.c (main): Call mtrace.
14890
13b69574
L
148912010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14892
14893 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14894 Support Intel processor model 6 and model 0x2c.
14895
da93d214
LM
148962010-11-10 Luis Machado <luisgpm@br.ibm.com>
14897
14898 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14899 signed comparison.
14900
8ca52c6e
L
149012010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14902
14903 [BZ #12205]
14904 * string/test-strncasecmp.c (check_result): New function.
14905 (do_one_test): Use it.
14906 (check1): New function.
14907 (test_main): Use it.
14908 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14909 Support strcasecmp and strncasecmp.
14910
69da074d
UD
149112010-11-08 Ulrich Drepper <drepper@gmail.com>
14912
14913 [BZ #12194]
14914 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14915 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14916
ff02d528
L
149172010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14918
14919 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14920 IFUNC support.
14921 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14922 memset-x86-64.
14923 * sysdeps/x86_64/multiarch/bzero.S: New file.
14924 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14925 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14926 * sysdeps/x86_64/multiarch/memset.S: New file.
14927 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14928 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14929 Set bit_Prefer_SSE_for_memop for Intel processors.
14930 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14931 Define.
14932 (index_Prefer_SSE_for_memop): Define.
14933 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14934
344d0b54
LM
149352010-11-04 Luis Machado <luisgpm@br.ibm.com>
14936
14937 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14938 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14939
c0dde15b
UD
149402010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14941
14942 [BZ #12191]
14943 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14944 (__x86_64_raw_data_cache_size_half): Likewise.
14945 (__x86_64_raw_shared_cache_size): Likewise.
14946 (__x86_64_raw_shared_cache_size_half): Likewise.
14947
14948 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14949 (__x86_64_raw_data_cache_size_half): Likewise.
14950 (__x86_64_raw_shared_cache_size): Likewise.
14951 (__x86_64_raw_shared_cache_size_half): Likewise.
14952 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14953 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14954 and __x86_64_raw_shared_cache_size_half. Round
14955 __x86_64_data_cache_size_half, __x86_64_data_cache_size
14956 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
14957 to multiple of 256 bytes.
14958
0e516e0e
MS
149592010-11-03 Ulrich Drepper <drepper@gmail.com>
14960
14961 [BZ #12167]
14962 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14963 of inacessible symlinks. Verify result of symlink before returning it.
14964 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14965 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14966
0e012e87
ER
149672010-10-28 Erich Ritz <erichritz@gmail.com>
14968
14969 * math/math.h (isinf): Fix typo in comment.
14970
de0ff7bc
UD
149712010-11-01 Ulrich Drepper <drepper@gmail.com>
14972
14973 * po/da.po: Update from translation team.
14974
fa41c84d
UD
149752010-10-26 Ulrich Drepper <drepper@gmail.com>
14976
14977 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14978 is added to the list.
14979
f0967738
AK
149802010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14981 Ulrich Drepper <drepper@gmail.com>
14982
14983 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14984 the global list here. Move code to...
14985 (_dl_add_to_namespace_list): ...here. New function.
14986 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14987 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14988 * elf/dl-load.c (lose): Don't remove the element from the list.
14989 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14990 (_dl_map_object): Likewise.
14991
149922010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
14993
14994 [BZ #12159]
14995 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14996 into all bytes of SSE register.
14997 Patch by Richard Li <richardpku@gmail.com>.
14998
f0967738 149992010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15000
15001 [BZ #12140]
15002 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15003 perturbing.
15004
d0b9e94f
MB
150052010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15006
15007 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15008 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15009 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15010 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15012 submachine.
15013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15014
8e9f92e9
AS
150152010-10-22 Andreas Schwab <schwab@redhat.com>
15016
15017 * include/dlfcn.h (__RTLD_SECURE): Define.
15018 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15019 mode & __RTLD_SECURE instead.
15020 (open_path): Rename preloaded parameter to secure.
15021 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15022 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15023 * elf/dl-deps.c (openaux): Likewise.
15024 * elf/rtld.c (struct map_args): Remove is_preloaded.
15025 (map_doit): Don't use it.
15026 (dl_main): Likewise.
15027 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15028 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15029
bc96fbda
AS
150302010-09-09 Andreas Schwab <schwab@redhat.com>
15031
15032 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15033 (sysd-rules-targets): Remove duplicates.
15034 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15035 rtld-%.$o dependency.
15036
22cd1c9b
AS
150372010-10-18 Andreas Schwab <schwab@redhat.com>
15038
15039 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15040 _dl_map_object do it.
15041
18edac48
UD
150422010-10-19 Ulrich Drepper <drepper@gmail.com>
15043
15044 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15045 fast fma builtins, define the macros in the C99 standard.
15046 (FP_FAST_FMAF): Likewise.
15047 (FP_FAST_FMAL): Likewise.
15048 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15049
15050 * bits/mathdef.h: Update copyright year.
15051 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15052
d2050124
MM
150532010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15054
15055 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15056 builtins, define the macros in the C99 standard.
15057 (FP_FAST_FMAF): Likewise.
15058 (FP_FAST_FMAL): Likewise.
15059 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15060 multiply/add.
15061 (FP_FAST_FMAF): Likewise.
15062
475facd1
JJ
150632010-10-15 Jakub Jelinek <jakub@redhat.com>
15064
15065 [BZ #3268]
15066 * math/libm-test.inc (fma_test): Some new testcases.
15067 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15068 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15069 y and infinite z. Do multiplication by C already in long double.
15070 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15071 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15072 y and infinite z. Do bitwise or of inexact bit into u.d.
15073 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15074 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15075 * sysdeps/i386/fpu/s_fma.S: Removed.
15076 * sysdeps/i386/fpu/s_fmal.S: Removed.
15077
7c08a05c
JJ
150782010-10-16 Jakub Jelinek <jakub@redhat.com>
15079
15080 [BZ #3268]
15081 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15082 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15083 computation is not scheduled after fetestexcept. Fix value
15084 of minimum denormal long double.
15085
f3f7372d
JJ
150862010-10-14 Jakub Jelinek <jakub@redhat.com>
15087
15088 [BZ #3268]
15089 * math/libm-test.inc (fma_test): Add some more tests.
15090 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15091 correctly.
15092
14d43591
AS
150932010-10-15 Andreas Schwab <schwab@redhat.com>
15094
15095 * scripts/data/localplt-s390-linux-gnu.data: New file.
15096 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15097
5e908464
JJ
150982010-10-13 Jakub Jelinek <jakub@redhat.com>
15099
15100 [BZ #3268]
15101 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15102 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15103 instead of dbl-64.
15104 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15105 inlines.
15106 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15107 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15108 if one of x and y is very large and the other is subnormal.
15109 * sysdeps/s390/fpu/s_fmaf.c: New file.
15110 * sysdeps/s390/fpu/s_fma.c: New file.
15111 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15112 * sysdeps/powerpc/fpu/s_fma.S: New file.
15113 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15114 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15115 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15116
151172010-10-12 Jakub Jelinek <jakub@redhat.com>
15118
15119 [BZ #3268]
15120 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15121 fma tests.
15122 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15123 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15124 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15125 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15126 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15127 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15128 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15129
b833d51f
UD
151302010-10-12 Ulrich Drepper <drepper@redhat.com>
15131
15132 [BZ #12078]
15133 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15134 * posix/bug-regex31.input: Add test case.
15135
1751705d
UD
151362010-10-11 Ulrich Drepper <drepper@gmail.com>
15137
e9b9cbf5
UD
15138 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15139 * posix/bug-regex31.input: New file.
15140
15141 [BZ #12078]
15142 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15143 (parse_sub_exp): Fix last change, use postorder.
15144
ef06edbe
UD
15145 * posix/bug-regex31.c: New file.
15146 * posix/Makefile: Add rules to build and run bug-regex31.
15147
a129c80d
UD
15148 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15149
15150 [BZ #12078]
15151 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15152
b76b818e
UD
15153 [BZ #12108]
15154 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15155 to have entries in sys_siglist.
15156
1751705d
UD
15157 [BZ #12093]
15158 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15159 be NULL.
15160
9ff8d36f
JJ
151612010-10-07 Jakub Jelinek <jakub@redhat.com>
15162
15163 [BZ #3268]
15164 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15165 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15166 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15167 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15168 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15169 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15170 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15171 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15172 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15173 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15174 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15175 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15176 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15177 * math/ftestexcept.c (fetestexcept): Likewise.
15178 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15179 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15180 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15181 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15182 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15183 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15184 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15185
af325969
UD
151862010-10-11 Ulrich Drepper <drepper@gmail.com>
15187
c579b202 15188 [BZ #12107]
af325969
UD
15189 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15190 newline.
15191
67a67b95
UD
151922010-10-06 Ulrich Drepper <drepper@gmail.com>
15193
15194 * string/bug-strstr1.c: New file.
15195 * string/Makefile: Add rules to build and run bug-strstr1.
15196
5fb308bc
EB
151972010-10-05 Eric Blake <eblake@redhat.com>
15198
15199 [BZ #12092]
15200 * string/str-two-way.h (two_way_long_needle): Always clear memory
15201 when skipping input due to the shift table.
15202
45db99c7
UD
152032010-10-03 Ulrich Drepper <drepper@gmail.com>
15204
3b111893
UD
15205 [BZ #12005]
15206 * malloc/mcheck.c: Handle large requests.
15207
45db99c7
UD
15208 [BZ #12077]
15209 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15210 for strncmp and strncasecmp.
15211 * string/stratcliff.c: Add tests for strcmp and strncmp.
15212 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15213
cf7a1eb8
NI
152142010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15215
15216 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15217 __set_fpscr.
15218
6484ba5e
AJ
152192010-09-30 Andreas Jaeger <aj@suse.de>
15220
15221 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15222 (CGROUP_SUPER_MAGIC): Define.
15223 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15224 Handle btrfs and cgroup file systems.
15225 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15226 Likewise.
15227
91c42559
LM
152282010-09-27 Luis Machado <luisgpm@br.ibm.com>
15229
15230 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15231 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15232
87a97932
AK
152332010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15234
15235 [BZ #12067]
15236 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15237 trying to locate the ELF header.
15238
c21cc9bc
AS
152392010-09-27 Andreas Schwab <schwab@redhat.com>
15240
15241 [BZ #11611]
15242 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15243 Mask out sign-bit copies when constructing f_fsid.
15244
315970f6
PB
152452010-09-24 Petr Baudis <pasky@suse.cz>
15246
15247 * debug/stack_chk_fail_local.c: Add missing licence exception.
15248 * debug/warning-nop.c: Likewise.
15249
1ac7a2c7
JM
152502010-09-15 Joseph Myers <joseph@codesourcery.com>
15251
15252 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15253 implementing getdents64 using getdents syscall, set d_type if
15254 __ASSUME_GETDENTS32_D_TYPE.
15255
56801c50
AS
152562010-09-16 Andreas Schwab <schwab@redhat.com>
15257
15258 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15259 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15260
dda51327
UD
152612010-09-21 Ulrich Drepper <drepper@redhat.com>
15262
15263 [BZ #12037]
15264 * posix/unistd.h: Undo change of feature selection for ftruncate from
15265 2010-01-11.
15266
8ffcee4a
UD
152672010-09-20 Ulrich Drepper <drepper@redhat.com>
15268
a545ecd9 15269 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15270 detection.
15271
e24f0a8b
AS
152722010-09-20 Andreas Schwab <schwab@redhat.com>
15273
15274 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15275 fanotify_mark.
15276 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15277
7291c56f
AS
152782010-09-14 Andreas Schwab <schwab@redhat.com>
15279
15280 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15281 variables after CHECK_SP call.
15282 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15283
bc5fb037
AS
152842010-09-13 Andreas Schwab <schwab@redhat.com>
15285 Ulrich Drepper <drepper@redhat.com>
15286
15287 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15288 re-relocationg ld.so.
15289 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15290 _dl_init_paths call.
15291 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15292 here anymore.
15293
e66e7419
UD
152942010-09-14 Ulrich Drepper <drepper@redhat.com>
15295
15296 * resolv/res_init.c (__res_vinit): Count the default server we added.
15297
c044aa75
CLT
152982010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15299 Ulrich Drepper <drepper@redhat.com>
15300
15301 [BZ #11968]
15302 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15303 (____longjmp_chk): Use %ebx for saving value across system call.
15304 Add unwind info.
15305
32cf4069
AS
153062010-09-06 Andreas Schwab <schwab@redhat.com>
15307
15308 * manual/Makefile: Don't mix pattern rules with normal rules.
15309
817328ee
AS
153102010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15311
15312 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15313 operation.
15314 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15315 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15316 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15317 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15318 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15319 Likewise.
15320
29fddf61
UD
153212010-09-04 Ulrich Drepper <drepper@redhat.com>
15322
15323 [BZ #11979]
15324 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15325 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15326
0959ffc9
UD
153272010-09-02 Ulrich Drepper <drepper@redhat.com>
15328
15329 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15330 * sysdeps/x86_64/addmul_1.S: Likewise.
15331 * sysdeps/x86_64/lshift.S: Likewise.
15332 * sysdeps/x86_64/mul_1.S: Likewise.
15333 * sysdeps/x86_64/rshift.S: Likewise.
15334 * sysdeps/x86_64/sub_n.S: Likewise.
15335 * sysdeps/x86_64/submul_1.S: Likewise.
15336
ece29840
ST
153372010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15338
0959ffc9
UD
15339 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15340 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15341 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15342 * bits/sched.h [__need_schedparam]
ece29840 15343 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15344 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15345 (__defined_schedparam): Define to 1.
ece29840
ST
15346 (__sched_param): New structure, identical to sched_param.
15347 (__need_schedparam): Undefine.
15348
e53a31fe
MF
153492010-08-31 Mike Frysinger <vapier@gentoo.org>
15350
fdc0c10d
MF
15351 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15352 (epoll_create1): Declare.
15353
e53a31fe
MF
15354 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15355
a726d796
AS
153562010-08-31 Andreas Schwab <schwab@redhat.com>
15357
15358 [BZ #7066]
15359 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15360 shifting retval into place.
15361
2f3e3dc7
UD
153622010-09-01 Ulrich Drepper <drepper@redhat.com>
15363
f2933da9
UD
15364 * nis/rpcsvc/nis.h: Update copyright notice.
15365 * nis/rpcsvc/nis.x: Likewise.
15366 * nis/rpcsvc/nis_callback.h: Likewise.
15367 * nis/rpcsvc/nis_callback.x: Likewise.
15368 * nis/rpcsvc/nis_object.x: Likewise.
15369 * nis/rpcsvc/nis_tags.h: Likewise.
15370 * nis/rpcsvc/yp.h: Likewise.
15371 * nis/rpcsvc/yp.x: Likewise.
15372 * nis/rpcsvc/ypupd.h: Likewise.
15373 * nis/yp_xdr.c: Likewise.
15374 * nis/ypupdate_xdr.c: Likewise.
15375
2f3e3dc7
UD
15376 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15377 mainly the body of pmap_getport. Add parameters to specify timeouts.
15378 (pmap_getport): Use __libc_rpc_getport.
15379 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15380 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15381 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15382
f3dcc2f9
AS
153832010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15384
15385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15386 fanotify_mark.
15387
6d34eb5b
RM
153882010-08-27 Roland McGrath <roland@redhat.com>
15389
15390 * sysdeps/i386/i686/multiarch/Makefile
15391 (CFLAGS-varshift.c): New variable.
15392
9ea3de11
UD
153932010-08-27 Ulrich Drepper <drepper@redhat.com>
15394
c96d23fc
UD
15395 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15396 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15397
9ea3de11
UD
15398 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15399
15400 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15401
623aac7f
L
154022010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15403
15404 * sysdeps/x86_64/strlen.S: Unroll the loop.
15405 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15406 strlen-sse2 strlen-sse2-bsf.
15407 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15408 __strlen_no_bsf if bit_Slow_BSF is set.
15409 (__strlen_sse42): Removed.
15410 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15411 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15412
8b2b7715
RM
154132010-08-25 Roland McGrath <roland@redhat.com>
15414
15415 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15416 * sysdeps/x86_64/multiarch/varshift.c: New file.
15417 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15418 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15419 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15420 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15421
e73015f2
L
154222010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15423
15424 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15425 strlen-sse2 strlen-sse2-bsf.
15426 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15427 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15428 (__strlen_sse2): Removed.
15429 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15430 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15431 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15432 bit_Slow_BSF for Atom.
15433 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15434 (index_Slow_BSF): Define.
15435 (HAS_SLOW_BSF): Define.
15436
df24a73e
UD
154372010-08-25 Ulrich Drepper <drepper@redhat.com>
15438
15439 [BZ #10851]
15440 * resolv/res_init.c (__res_vinit): When no server address at all
15441 is given default to loopback.
15442
f2ac4868
RM
154432010-08-24 Roland McGrath <roland@redhat.com>
15444
09055553
RM
15445 * configure.in: Remove config-name.h generation.
15446 * configure: Regenerated.
15447 * config-name.in: File removed.
15448 * scripts/config-uname.sh: New file.
15449 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15450 ($(objdir)config-name.h): New target.
15451
f2ac4868
RM
15452 * sunrpc/rpc_parse.h: Avoid nested comment.
15453
73f27d5e
RH
154542010-08-24 Richard Henderson <rth@redhat.com>
15455 Ulrich Drepper <drepper@redhat.com>
15456 H.J. Lu <hongjiu.lu@intel.com>
15457
15458 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15459 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15460 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15461 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15462 _mm_alignr_epi8 with _mm_loadu_si128.
15463 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15464 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15465 (__m128i_shift_right): Removed.
15466 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15467 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15468 * sysdeps/x86_64/multiarch/varshift.h: New file.
15469 * sysdeps/x86_64/multiarch/varshift.S: New file.
15470
84b9230c
MF
154712010-08-21 Mike Frysinger <vapier@gentoo.org>
15472
15473 * configure.in: Move assembler checks to before sysdep dir checking.
15474
9bbd0ddc
PB
154752010-08-20 Petr Baudis <pasky@suse.cz>
15476
15477 * LICENSES: Sync the sunrpc license.
15478
9da4bb31
UD
154792010-08-19 Ulrich Drepper <drepper@redhat.com>
15480
a7ab6ec8
UD
15481 * sunrpc/auth_des.c: Update copyright notice once again.
15482 * sunrpc/auth_none.c: Likewise.
15483 * sunrpc/auth_unix.c: Likewise.
15484 * sunrpc/authdes_prot.c: Likewise.
15485 * sunrpc/authuxprot.c: Likewise.
15486 * sunrpc/bindrsvprt.c: Likewise.
15487 * sunrpc/clnt_gen.c: Likewise.
15488 * sunrpc/clnt_perr.c: Likewise.
15489 * sunrpc/clnt_raw.c: Likewise.
15490 * sunrpc/clnt_simp.c: Likewise.
15491 * sunrpc/clnt_tcp.c: Likewise.
15492 * sunrpc/clnt_udp.c: Likewise.
15493 * sunrpc/clnt_unix.c: Likewise.
15494 * sunrpc/des_crypt.c: Likewise.
15495 * sunrpc/des_soft.c: Likewise.
15496 * sunrpc/get_myaddr.c: Likewise.
15497 * sunrpc/getrpcport.c: Likewise.
15498 * sunrpc/key_call.c: Likewise.
15499 * sunrpc/key_prot.c: Likewise.
15500 * sunrpc/openchild.c: Likewise.
15501 * sunrpc/pm_getmaps.c: Likewise.
15502 * sunrpc/pm_getport.c: Likewise.
15503 * sunrpc/pmap_clnt.c: Likewise.
15504 * sunrpc/pmap_prot.c: Likewise.
15505 * sunrpc/pmap_prot2.c: Likewise.
15506 * sunrpc/pmap_rmt.c: Likewise.
15507 * sunrpc/rpc/auth.h: Likewise.
15508 * sunrpc/rpc/auth_unix.h: Likewise.
15509 * sunrpc/rpc/clnt.h: Likewise.
15510 * sunrpc/rpc/des_crypt.h: Likewise.
15511 * sunrpc/rpc/key_prot.h: Likewise.
15512 * sunrpc/rpc/netdb.h: Likewise.
15513 * sunrpc/rpc/pmap_clnt.h: Likewise.
15514 * sunrpc/rpc/pmap_prot.h: Likewise.
15515 * sunrpc/rpc/pmap_rmt.h: Likewise.
15516 * sunrpc/rpc/rpc.h: Likewise.
15517 * sunrpc/rpc/rpc_des.h: Likewise.
15518 * sunrpc/rpc/rpc_msg.h: Likewise.
15519 * sunrpc/rpc/svc.h: Likewise.
15520 * sunrpc/rpc/svc_auth.h: Likewise.
15521 * sunrpc/rpc/types.h: Likewise.
15522 * sunrpc/rpc/xdr.h: Likewise.
15523 * sunrpc/rpc_clntout.c: Likewise.
15524 * sunrpc/rpc_cmsg.c: Likewise.
15525 * sunrpc/rpc_common.c: Likewise.
15526 * sunrpc/rpc_cout.c: Likewise.
15527 * sunrpc/rpc_dtable.c: Likewise.
15528 * sunrpc/rpc_hout.c: Likewise.
15529 * sunrpc/rpc_main.c: Likewise.
15530 * sunrpc/rpc_parse.c: Likewise.
15531 * sunrpc/rpc_parse.h: Likewise.
15532 * sunrpc/rpc_prot.c: Likewise.
15533 * sunrpc/rpc_sample.c: Likewise.
15534 * sunrpc/rpc_scan.c: Likewise.
15535 * sunrpc/rpc_scan.h: Likewise.
15536 * sunrpc/rpc_svcout.c: Likewise.
15537 * sunrpc/rpc_tblout.c: Likewise.
15538 * sunrpc/rpc_util.c: Likewise.
15539 * sunrpc/rpc_util.h: Likewise.
15540 * sunrpc/rpcinfo.c: Likewise.
15541 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15542 * sunrpc/rpcsvc/key_prot.x: Likewise.
15543 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15544 * sunrpc/rpcsvc/mount.x: Likewise.
15545 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15546 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15547 * sunrpc/rpcsvc/rex.x: Likewise.
15548 * sunrpc/rpcsvc/rstat.x: Likewise.
15549 * sunrpc/rpcsvc/rusers.x: Likewise.
15550 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15551 * sunrpc/rpcsvc/spray.x: Likewise.
15552 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15553 * sunrpc/rtime.c: Likewise.
15554 * sunrpc/svc.c: Likewise.
15555 * sunrpc/svc_auth.c: Likewise.
15556 * sunrpc/svc_authux.c: Likewise.
15557 * sunrpc/svc_raw.c: Likewise.
15558 * sunrpc/svc_run.c: Likewise.
15559 * sunrpc/svc_simple.c: Likewise.
15560 * sunrpc/svc_tcp.c: Likewise.
15561 * sunrpc/svc_udp.c: Likewise.
15562 * sunrpc/svc_unix.c: Likewise.
15563 * sunrpc/svcauth_des.c: Likewise.
15564 * sunrpc/xcrypt.c: Likewise.
15565 * sunrpc/xdr.c: Likewise.
15566 * sunrpc/xdr_array.c: Likewise.
15567 * sunrpc/xdr_float.c: Likewise.
15568 * sunrpc/xdr_mem.c: Likewise.
15569 * sunrpc/xdr_rec.c: Likewise.
15570 * sunrpc/xdr_ref.c: Likewise.
15571 * sunrpc/xdr_sizeof.c: Likewise.
15572 * sunrpc/xdr_stdio.c: Likewise.
15573
9da4bb31
UD
15574 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15575 handling.
15576
bdaa77bc
AS
155772010-08-19 Andreas Schwab <schwab@redhat.com>
15578
15579 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15580
fe2f79db
LM
155812010-08-19 Luis Machado <luisgpm@br.ibm.com>
15582
15583 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15584 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15585 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15586 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15587 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15588 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15589 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15590 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15591 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15592 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15593 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15594 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15595 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15596 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15597
b9b42ee0
AB
155982010-07-26 Anton Blanchard <anton@samba.org>
15599
15600 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15601 * malloc/arena.c (heap_trim): Likewise.
15602
1c06ba31
UD
156032010-08-16 Ulrich Drepper <drepper@redhat.com>
15604
15605 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15606 here. Not...
15607 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15608 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15609
f8392f40
L
156102010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15611
15612 * sysdeps/i386/elf/Makefile: New file.
15613
3162f12e
AS
156142010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15615
15616 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15617 from fanotify_init.
15618 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15619 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15620
28c90b2c
UD
156212010-08-15 Ulrich Drepper <drepper@redhat.com>
15622
15623 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15624 of strncasecmp_l.
1feccb6c 15625 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 15626
ca6bb004
UD
156272010-08-14 Ulrich Drepper <drepper@redhat.com>
15628
e9f82e0d
UD
15629 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15630 strncase_l-nonascii.
15631 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15632 Add strncase_l-ssse3.
15633 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15634 * sysdeps/x86_64/strcmp.S: Likewise.
15635 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15636 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15637 * sysdeps/x86_64/strncase.S: New file.
15638 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15639 * sysdeps/x86_64/strncase_l.S: New file.
15640 * string/Makefile (strop-tests): Add strncasecmp.
15641 * string/test-strncasecmp.c: New file.
15642
15643 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15644 warning.
15645
ca6bb004
UD
15646 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15647 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15648
052fa7b3
AS
156492010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15650
15651 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15652
962dba78
UD
156532010-08-12 Ulrich Drepper <drepper@redhat.com>
15654
15655 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15656 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15657 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15658
bebff237
AM
156592010-05-01 Alan Modra <amodra@gmail.com>
15660
15661 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15662 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15663 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15664 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15665 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15666 tidying. Don't tail-call __sigjmp_save for static lib.
15667 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15668 save location.
15669 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15670 (CALL_MCOUNT): Add eh info, and nop after bl.
15671 (TAIL_CALL_SYSCALL_ERROR): New macro.
15672 (PSEUDO_RET): Use it.
15673 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15674 Correct save location of integer regs and cr.
15675 (_dl_profile_resolve): Correct cr save location. Delete nops
15676 after bl when SHARED. Reduce cfi size a little by better
15677 placement of cfi directives.
15678 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15679 make a stack frame. Instead use parm save area as a temp.
15680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15681 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15683 Don't make a stack frame for parent, use parm save area.
15684 Increase child stack frame to 112 bytes. Don't save unused reg,
15685 and adjust reg usage. Set up cfi on error recovery and
15686 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15688 (__makecontext): Add dummy nop after jump to exit.
15689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15690 Use correct parm save area and cr save, reduce stack frame.
15691 Correct cfi for possible PSEUDO_RET frame setup.
15692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15693 Branch to local label emitted by PSEUDO_RET rather than
15694 __syscall_error.
15695
02637374
AS
156962010-08-12 Andreas Schwab <schwab@redhat.com>
15697
15698 [BZ #11904]
15699 * locale/programs/locale.c (print_assignment): New function.
15700 (show_locale_vars): Use it.
15701
c3e2f19b
UD
157022010-08-11 Ulrich Drepper <drepper@redhat.com>
15703
3cdaa6ad
UD
15704 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15705 field.
15706 (struct statfs64): Likewise.
15707 (_STATFS_F_FLAGS): Define.
15708 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15709 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15710 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15711 (ST_VALID): Define locally.
15712 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15713 __statvfs_getflags, use the provided value.
15714 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15715 __ASSUME_STATFS_F_FLAGS.
15716
754f7da3
UD
15717 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15718
10b3bedc
UD
15719 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15720 Add sys/fanotify.h.
15721 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15722 fanotify_mask for GLIBC_2.13.
15723 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15724 fanotify_init and fanotify_mark.
15725 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15726 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15727
c08fb0d7
UD
15728 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15729 Add prlimit.
15730 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15731 prlimit64 for GLIBC_2.13.
15732 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15733 prlimit64.
15734 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15735 syscall.
15736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15737 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15738 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15739 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15740 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15741 add prlimit alias.
15742 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15743
15bac72b
UD
15744 [BZ #11903]
15745 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15746 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15747
c3e2f19b
UD
15748 * nss/Makefile: Add rules to build and run tst-nss-test1.
15749 * shlib-versions: Add entry for libnss_test1.
15750 * nss/nss_test1.c: New file.
15751 * nss/tst-nss-test1.c: New file.
15752
15753 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15754 (__nss_configure_lookup): Set appropriate entry in
15755 __nss_configure_lookup to true.
15756 * nss/nsswitch.h: Define enum with indeces of databases in
15757 databases and __nss_database_custom arrays. Declare
15758 __nss_database_custom.
15759 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15760 to avoid using nscd when custom rules are installed.
15761 * nss/getXXbyYY_r.c: Likewise.
15762 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15763
15764 * nss/nss_files/files-parse.c: Whitespace fixes.
15765
f15ce4d8
UD
157662010-08-09 Ulrich Drepper <drepper@redhat.com>
15767
15768 [BZ #11883]
15769 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15770 * posix/fnmatch_loop.c: Likewise.
15771
d22e4cc9
AK
157722010-07-17 Andi Kleen <ak@linux.intel.com>
15773
15774 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15775 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15776 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15777 * Versions.def [GLIBC_2.13]: Add.
15778
805bc17d
UD
157792010-08-06 Ulrich Drepper <drepper@redhat.com>
15780
15781 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15782 Also fail if tpwd after pwuid call is NULL.
15783
5a42321d
ST
157842010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15785
15786 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15787 when converting to ms.
15788
fd3ebeda
ST
157892010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15790
15791 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15792 EOPNOTSUPP errors with ENOTTY.
15793 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15794 EOPNOTSUPP errors with ENOTTY.
15795
73507d3a
UD
157962010-07-31 Ulrich Drepper <drepper@redhat.com>
15797
15798 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15799 Add strcasecmp_l-ssse3.
15800 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15801 strcasecmp.
15802 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15803 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15804 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15805
fe36dd02
UD
158062010-07-30 Ulrich Drepper <drepper@redhat.com>
15807
66f6765a
UD
15808 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15809
42e08a54
UD
15810 * string/Makefile (strop-tests): Add strcasecmp.
15811 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15812 strcasecmp_l-nonascii.
15813 (gen-as-const-headers): Add locale-defines.sym.
15814 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15815 * sysdeps/x86_64/strcasecmp.S: New file.
15816 * sysdeps/x86_64/strcasecmp_l.S: New file.
15817 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15818 * sysdeps/x86_64/locale-defines.sym: New file.
15819 * string/test-strcasecmp.c: New file.
15820
fe36dd02
UD
15821 * string/test-strcasestr.c: Test both ends of the range of characters.
15822 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15823
48cbc0d6
RM
158242010-07-29 Roland McGrath <roland@redhat.com>
15825
76e6d6bc 15826 [BZ #11856]
48cbc0d6
RM
15827 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15828
880113d9
UD
158292010-07-27 Ulrich Drepper <drepper@redhat.com>
15830
15831 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15832 for ld.so.
15833
deb9cabb
AS
158342010-07-27 Andreas Schwab <schwab@redhat.com>
15835
15836 * manual/memory.texi (Malloc Tunable Parameters): Document
15837 M_PERTURB.
15838
1c7570ff
RM
158392010-07-26 Roland McGrath <roland@redhat.com>
15840
15841 [BZ #11840]
15842 * configure.in (-fgnu89-inline check): Set and substitute
15843 gnu89_inline, not libc_cv_gnu89_inline.
15844 * configure: Regenerated.
15845 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15846
24fb0f88
UD
158472010-07-26 Ulrich Drepper <drepper@redhat.com>
15848
15849 * string/test-strnlen.c: New file.
15850 * string/Makefile (strop-tests): Add strnlen.
15851 * string/tester.c (test_strnlen): Add a few more test cases.
15852 * string/tst-strlen.c: Better error reporting.
15853
15854 * sysdeps/x86_64/strnlen.S: New file.
15855
8e96b93a
UD
158562010-07-24 Ulrich Drepper <drepper@redhat.com>
15857
15858 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15859 lower-latency instructions.
15860
dbc676d4
UD
158612010-07-23 Ulrich Drepper <drepper@redhat.com>
15862
15863 * string/test-strcasestr.c: New file.
15864 * string/test-strstr.c: New file.
15865 * string/Makefile (strop-tests): Add strstr and strcasestr.
15866 * string/str-two-way.h: Don't undefine MAX.
15867 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15868
f6a31e0e
AS
158692010-07-21 Andreas Schwab <schwab@redhat.com>
15870
15871 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15872 strcasestr-nonascii.
15873 (CFLAGS-strcasestr-nonascii.c): Define.
15874 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15875 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15876 Remove unused attribute.
15877
5dbc3b6c
RM
158782010-07-20 Roland McGrath <roland@redhat.com>
15879
15880 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15881 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15882 ld.so.cache was broken. With it, there is no way to disable dsocaps
15883 like LD_HWCAP_MASK can disable hwcaps.
15884
23d101d8
EPM
158852010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15886
15887 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15888
cc9f2e47
UD
158892010-07-16 Ulrich Drepper <drepper@redhat.com>
15890
15891 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15892 call in strcasestr.
15893 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15894 __strcasestr_sse42_nonascii.
15895 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15896 strcasestr-nonascii.c.
15897 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15898
77c1b069
LM
158992010-06-15 Luis Machado <luisgpm@br.ibm.com>
15900
15901 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15902 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15903 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15904 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15905
440566c3
UD
159062010-07-09 Ulrich Drepper <drepper@redhat.com>
15907
15908 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15909 fcntl.
15910
5be9d05d
AS
159112010-07-06 Andreas Schwab <schwab@redhat.com>
15912
c30b7ee2 15913 [BZ #11577]
5be9d05d
AS
15914 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15915 dl_signal_cerror.
15916
8a492a67
UD
159172010-07-06 Ulrich Drepper <drepper@redhat.com>
15918
15919 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15920 _PC_PIPE_BUF using F_GETPIPE_SZ.
15921
713df3d5
RM
159222010-07-05 Roland McGrath <roland@redhat.com>
15923
15924 * manual/arith.texi (Rounding Functions): Fix rint description
15925 implicit in round description.
15926
702e8f14
UD
159272010-07-02 Ulrich Drepper <drepper@redhat.com>
15928
15929 * elf/Makefile: Fix linking for a few tests to make recent linker
15930 happy.
15931
52ed8be9
AS
159322010-06-30 Andreas Schwab <schwab@redhat.com>
15933
15934 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15935 $(common-objpfx)libc_nonshared.a.
15936
f47c9a11
LM
159372010-06-21 Luis Machado <luisgpm@br.ibm.com>
15938
15939 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15940 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15941 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15942 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15943 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15944 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15945 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15946 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
15957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
15959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
15961 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
15962 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15963 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15964 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15965 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15966 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15967 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15968 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15969 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15970 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15971 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15972 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15987
6fb8cbcb
L
159882010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15989
15990 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15991 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15992 * string/memmove.c (memmove): Renamed to ...
15993 (MEMMOVE): ...this. Default to memmove.
15994 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15995 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15996 (END_CHK): Define.
15997 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15998 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15999 mempcpy-ssse3-back memmove-ssse3-back.
16000 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16001 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16002 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16003 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16004 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16005 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16006 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16007 * sysdeps/x86_64/multiarch/memmove.c: New file.
16008 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16009 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16010 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16011 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16012 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16013 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16014 Define.
16015 (index_Fast_Copy_Backward): Define.
16016 (HAS_ARCH_FEATURE): Define.
16017 (HAS_FAST_REP_STRING): Define.
16018 (HAS_FAST_COPY_BACKWARD): Define.
16019
4e733bac 160202010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16021
16022 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16023 Restore proper fallback handling.
16024
63c4ed22
UD
160252010-06-19 Ulrich Drepper <drepper@redhat.com>
16026
ac2b484c
UD
16027 [BZ #11701]
16028 * posix/group_member.c (__group_member): Correct checking loop.
16029
63c4ed22
UD
16030 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16031 OOM in getpwuid_r correctly. Return error number when the caller
16032 should return, otherwise -1.
16033 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16034 call returning > 0 value.
16035 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16036
765ade4b
AS
160372010-06-07 Andreas Schwab <schwab@redhat.com>
16038
16039 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16040 libc_nonshared.a from targets in modules-names.
16041
80da2e09
KS
160422010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16043
16044 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16045 requires it.
16046
158db122
LM
160472010-06-10 Luis Machado <luisgpm@br.ibm.com>
16048
16049 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16050 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16051 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16052 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16053
caa78cf8
AS
160542010-06-02 Andreas Schwab <schwab@redhat.com>
16055
16056 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16057
b2ef2c01
UD
160582010-06-14 Ulrich Drepper <drepper@redhat.com>
16059
16060 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16061 and F_GETPIPE_SZ.
16062 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16063 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16064 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16065 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16066 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16067 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16068
fbd643b6
RM
160692010-06-14 Roland McGrath <roland@redhat.com>
16070
16071 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16072
f32f2869
JJ
160732010-06-07 Jakub Jelinek <jakub@redhat.com>
16074
16075 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16076 __REDIRECT followed by __THROW.
16077 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16078 * posix/getopt.h (getopt): Likewise.
16079
2a50c078
EPM
160802010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16081
16082 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16083 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16084 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16085 in AT_FLAGS.
16086 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16087 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16088
eb5ad2eb
LM
160892010-05-28 Luis Machado <luisgpm@br.ibm.com>
16090
16091 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16092
3c88fe1e
L
160932010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16094
16095 [BZ #11640]
16096 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16097 Properly check family and model.
16098
d2f73151
TY
160992010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16100
16101 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16102
ebd2e13d
LM
161032010-05-24 Luis Machado <luisgpm@br.ibm.com>
16104
16105 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16106
b32b8b45
UD
161072010-05-21 Ulrich Drepper <drepper@redhat.com>
16108
16109 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16110 symbol reference.
16111
9acbe24d
AS
161122010-05-19 Andreas Schwab <schwab@redhat.com>
16113
16114 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16115 symbol reference.
16116
f0ccf6ea
AS
161172010-05-21 Andreas Schwab <schwab@redhat.com>
16118
3d04ff3a
AS
16119 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16120 and internal_recvmmsg.
16121 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16122 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16123 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16124 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16125
f0ccf6ea
AS
16126 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16127 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16128 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16129
5b08ac57
AS
161302010-05-20 Andreas Schwab <schwab@redhat.com>
16131
16132 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16133
4828935d
LM
161342010-05-17 Luis Machado <luisgpm@br.ibm.com>
16135
16136 POWER7 optimizations.
16137 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16138 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16139
373d545e
UD
161402010-05-19 Ulrich Drepper <drepper@redhat.com>
16141
16142 * version.h: Update for 2.13 development version.
16143
21a2b1ae
AS
161442010-05-12 Andrew Stubbs <ams@codesourcery.com>
16145
16146 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16147 exceptions. Return 0.
16148
3f7dcb2b
RM
161492010-05-07 Roland McGrath <roland@redhat.com>
16150
16151 * elf/ldconfig.c (main): Add a const.
16152
5f24d53a 161532010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16154
a160f8d8
UD
16155 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16156 (args_options): Add no-idn option.
16157 (ahosts_keys_int): Add idn_flags to ai_flags.
16158 (parse_option): Handle 'i' option to clear idn_flags.
16159
5f24d53a
UD
16160 * malloc/malloc.c (_int_free): Possible race in the most recently
16161 added check. Only act on the data if no current modification
16162 happened.
265bb1ce
UD
16163
16164See ChangeLog.17 for earlier changes.