]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use x86_64 bits/ipctypes.h for both i386 and x86-64
[thirdparty/glibc.git] / ChangeLog
CommitLineData
42bbb1c3
L
12012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2
3 [BZ #14117]
b8dfdd92
L
4 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
5 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6
578cd270
L
7 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
9
de662f5f
L
10 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
13
25653439
L
14 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16 to ...
17 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18
6bad24a0
L
19 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
20 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22
42bbb1c3
L
23 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
24 for x86-64.
25 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26
2d10d547
JM
272012-05-31 Joseph Myers <joseph@codesourcery.com>
28
29 * math/math.h (M_El): Use two more decimal places.
30 (M_LOG2El): Likewise.
31 (M_LOG10El): Likewise.
32 (M_LN2l): Likewise.
33 (M_LN10l): Likewise.
34 (M_PIl): Likewise.
35 (M_PI_2l): Likewise.
36 (M_PI_4l): Likewise.
37 (M_1_PIl): Likewise.
38 (M_2_PIl): Likewise.
39 (M_2_SQRTPIl): Likewise.
40 (M_SQRT2l): Likewise.
41 (M_SQRT1_2l): Likewise.
42
f230c29b
DM
432012-05-31 David S. Miller <davem@davemloft.net>
44
45 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
46 values between float registers.
47 * sysdeps/sparc/sparc64/memset.S: Likewise.
48 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49
fed806c3
MF
502012-05-31 Mike Frysinger <vapier@gentoo.org>
51
52 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
53 -D_FORTIFY_SOURCE=1.
54 (CPPFLAGS-tst-longjmp_chk.c): Define.
55 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
56 (CPPFLAGS-tst-longjmp_chk2.c): Define.
57 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
58 CFLAGS-tst-wchar-h.c.
59
30917259
MP
602012-05-31 Marek Polacek <polacek@redhat.com>
61
62 [BZ #14132]
63 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
64 __endmntent_internal): Remove declaration.
65 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
66 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
67 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
68
1c58d5dc
DM
692012-05-30 David S. Miller <davem@davemloft.net>
70
71 * sysdeps/sparc/sparc32/soft-fp/q_util.c
72 (___Q_simulate_exceptions): Use real FP ops rather than writing
73 into the %fsr.
74 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
75 Likewise.
76
7dc00e0d
L
772012-05-30 H.J. Lu <hongjiu.lu@intel.com>
78
79 [BZ #14117]
0bd53985
L
80 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
81 * sysdeps/x86/bits/xtitypes.h: This.
82
3a257e66
L
83 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
84 * sysdeps/x86/bits/wordsize.h: This.
85
62f62904
L
86 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
87 * sysdeps/x86/bits/huge_vall.h: This.
88
404fe9d9
L
89 * sysdeps/i386/bits/select.h: Removed.
90 * sysdeps/x86_64/bits/select.h: Renamed to ...
91 * sysdeps/x86/bits/select.h: This.
92
d48d0446
L
93 * sysdeps/i386/bits/setjmp.h: Removed.
94 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
95 * sysdeps/x86/bits/setjmp.h: This.
96
7dc00e0d
L
97 * sysdeps/i386/bits/mathdef.h: Removed.
98 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
99 * sysdeps/x86/bits/mathdef.h: This.
100
03277f8f
AS
1012012-05-30 Andreas Schwab <schwab@linux-m68k.org>
102
103 [BZ #14132]
104 * include/sys/socket.h (__connect_internal)
105 (__libc_sa_len_internal): Remove declaration.
106 (__connect, __libc_sa_len): Declare hidden_proto.
107 (SA_LEN): Remove use of INTUSE.
108 * socket/connect.c: Add libc_hidden_def.
109 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
110 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
111 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
112 alias.
113 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
114 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
115 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
116 of adding _internal alias.
117
13764867
L
1182012-05-30 H.J. Lu <hongjiu.lu@intel.com>
119
120 [BZ #14117]
6bd97696
L
121 * sysdeps/i386/bits/link.h: Removed.
122 * sysdeps/i386/bits/linkmap.h: Likewise.
123 * sysdeps/x86_64/bits/link.h: Renamed to ...
124 * sysdeps/x86/bits/link.h: This.
125 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
126 * sysdeps/x86/bits/linkmap.h: This.
127
f726f0bb
L
128 * sysdeps/i386/bits/endian.h: Removed.
129 * sysdeps/x86_64/bits/endian.h: Renamed to ...
130 * sysdeps/x86/bits/endian.h: This.
131
13764867
L
132 * sysdeps/i386/bits/byteswap.h: Removed.
133 * sysdeps/i386/bits/byteswap-16.h: Likewise.
134 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
135 * sysdeps/x86/bits/byteswap.h: This.
136 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
137 * sysdeps/x86/bits/byteswap-16.h: This.
138 * sysdeps/i386/Implies: Add x86.
139 * sysdeps/x86_64/Implies: Likewise.
140
ae251b0b
DM
1412012-05-30 David S. Miller <davem@davemloft.net>
142
143 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
144 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
145 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
146 (FP_TRAPPING_EXCEPTIONS): Define.
147 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
148 (FP_TRAPPING_EXCEPTIONS): Define.
149 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
150 subnormals only when inexact has been signalled or underflow
151 exceptions are enabled.
152 (_FP_PACK_CANONICAL): Likewise.
153
d5c90867
L
1542012-05-30 H.J. Lu <hongjiu.lu@intel.com>
155
156 [BZ #14183]
157 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
158 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
159
63f1549e
RH
1602012-05-30 Richard Henderson <rth@twiddle.net>
161
8d8f2279
RH
162 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
163 with #ifndef NOT_IN_libc.
164
63f1549e
RH
165 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
166 marked to avoid plt entry.
167
0ab0291b
L
1682012-05-30 H.J. Lu <hongjiu.lu@intel.com>
169
170 [BZ #14112]
171 * Makeconfig (default-abi): New macro.
172 (abi-includes): Likewise.
173 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
174 $(abi-$(default-abi)-lib-soname) for soname if defined.
175 ($(common-objpfx)gnu/lib-names.stmp): Generate from
176 abi-variants.
177 * Makefile (installed-stubs): Likewise.
178 * include/stubs-biarch.h: Removed.
179 * scripts/lib-names.awk: Only handle one library at a time.
180 * scripts/soversions.awk: Remove WORDSIZE support.
181 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
182 entries.
183 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
184 Removed.
185 (syscall-list-default-condition): Likewise.
186 (syscall-list-default-condition): Likewise.
187 (syscall-list-includes): Likewise.
188 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
189 syscall-list-* with abi-*. Handle undefined abi-variants.
190 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
191 * sysdeps/unix/sysv/linux/i386/Implies: New file.
192 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
193 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
194 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
195 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
196 Removed.
197 (syscall-list-32-options): Likewise.
198 (syscall-list-32-condition): Likewise.
199 (syscall-list-64-options): Likewise.
200 (syscall-list-64-condition): Likewise.
201 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
202 macro.
203 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
204 Renamed to ...
205 (abi-*): This.
206 (abi-64-ld-soname): New macro.
207 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
208 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
209 Renamed to ...
210 (abi-*): This.
211 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
212 * sysdeps/x86_64/x32/shlib-versions: Likewise.
213
4da0431d
JM
2142012-05-30 Joseph Myers <joseph@codesourcery.com>
215
3a85279c
JM
216 * sysdeps/unix/sysv/linux/kernel-features.h
217 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
218 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
219 include <kernel-features.h>.
220 [!__NR_ftruncate64]: Remove conditional code.
221 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
222 [__NR_ftruncate64]: Make code unconditional.
223 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
224 * sysdeps/unix/sysv/linux/truncate64.c: Do not
225 include <kernel-features.h>.
226 [!__NR_ftruncate64]: Remove conditional code.
227 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
228 [__NR_ftruncate64]: Make code unconditional.
229 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
231 include <kernel-features.h>.
232 [!__NR_ftruncate64]: Remove conditional code.
233 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
234 [__NR_ftruncate64]: Make code unconditional.
235 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
237 include <kernel-features.h>.
238 [!__NR_ftruncate64]: Remove conditional code.
239 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
240 [__NR_ftruncate64]: Make code unconditional.
241 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
242
4da0431d
JM
243 * configure.in (libc_cv_fpie): Weaken to a compile test using
244 LIBC_TRY_CC_OPTION.
245 * configure: Regenerated.
246
11ef492c
AK
2472012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
248
249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
253 Refreshed.
254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
260 Refreshed.
261
d66ef399
DM
2622012-05-27 David S. Miller <davem@davemloft.net>
263
264 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
265 (___Q_zero): New.
266 (__Q_simulate_exceptions): Return void. Change to simulate
267 exceptions by writing into the %fsr.
268 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
269 (__Qp_handle_exceptions): Likewise.
270 (numbers): Delete.
271 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
272 __Qp_handle_exceptions.
273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
274 __Qp_handle_exceptions.
275 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
276 as unused and give dummy FP_RND_NEAREST initializer.
277 (FP_INHIBIT_RESULTS): Define.
278 (___Q_simulate_exceptions): Update declaration.
279 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
280 formatting.
281 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
282 as unused and give dummy FP_RND_NEAREST initializer.
283 (__Qp_handle_exceptions): Update declaration.
284 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
285 formatting.
286
04fb54b5
TS
2872012-05-27 Thomas Schwinge <thomas@codesourcery.com>
288
289 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
290 the temporary FPU control word.
291 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
292 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
293 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
294 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
295 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
296 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
297 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
298 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
299 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
300 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
301 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
302
3f99608f
KK
3032012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
304
305 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
306 fields.
307
65a4de4e
CLT
3082012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
309
310 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
311 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
312 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
313 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
314 Likewise.
315 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
316 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
317 Likewise.
318
15749d40
UD
3192012-05-27 Ulrich Drepper <drepper@gmail.com>
320
321 * po/h.po: Update from translation team.
322
25dbcb27
AS
3232012-05-26 Andreas Schwab <schwab@linux-m68k.org>
324
3d3f8e55
AS
325 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
326
25dbcb27
AS
327 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
328 handling of denormals.
329 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
330 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
331 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
332 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
333 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
334 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
335 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
336 Likewise.
337
7ad47a80 3382012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
339
340 [BZ #14152]
341 * math/libm-test.inc (fma_test): Don't always expect underflow
342 exception.
343
9c6ea9fa
SP
3442012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
345
346 [BZ #12416]
347 * elf/tst-execstack.c: Include stackinfo.h.
348 (do_test): Adjust test case to ensure that pthread_getattr_np
349 behaviour remains the same after marking stack executable.
350
a8239222
JM
3512012-05-25 Joseph Myers <joseph@codesourcery.com>
352
353 * sysdeps/unix/sysv/linux/kernel-features.h
354 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
355 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
356 kernel-features.h.
357 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
358 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
359 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
360 kernel-features.h.
361 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
362 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
363
918b5606
L
3642012-05-25 H.J. Lu <hongjiu.lu@intel.com>
365
366 * configure.in: Define the default includes to being none.
367 * configure: Regenerated.
368
3a097cc7
RM
3692012-05-25 Roland McGrath <roland@hack.frob.com>
370
8422c9a5
RM
371 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
372 * sysdeps/x86_64/setjmp.S: Likewise.
373 * sysdeps/i386/bsd-setjmp.S: Likewise.
374 * sysdeps/i386/bsd-_setjmp.S: Likewise.
375 * sysdeps/i386/setjmp.S: Likewise.
376 * sysdeps/i386/__longjmp.S: Likewise.
377 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
378 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
379
3a097cc7
RM
380 * include/stap-probe.h: New file.
381 * configure.in: Handle --enable-systemtap.
382 * configure: Regenerated.
383 * config.h.in (USE_STAP_PROBE): New #undef.
384 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
385 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
386 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
387
21708942
JM
3882012-05-25 Joseph Myers <joseph@codesourcery.com>
389
390 [BZ #13717]
391 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
392 to 2.4.0 where earlier.
393 * sysdeps/unix/sysv/linux/configure: Regenerated.
394 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
395 <kernel-features.h>.
396 [__ASSUME_32BITUIDS]: Make code unconditional.
397 [!__ASSUME_32BITUIDS]: Remove conditional code.
398 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
399 <kernel-features.h>.
400 [__ASSUME_32BITUIDS]: Make code unconditional.
401 [!__ASSUME_32BITUIDS]: Remove conditional code.
402 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
403 [__ASSUME_32BITUIDS]: Make code unconditional.
404 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
405 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
406 <kernel-features.h>.
407 [__ASSUME_32BITUIDS]: Make code unconditional.
408 [!__ASSUME_32BITUIDS]: Remove conditional code.
409 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
410 <kernel-features.h>.
411 [__ASSUME_32BITUIDS]: Make code unconditional.
412 [!__ASSUME_32BITUIDS]: Remove conditional code.
413 * sysdeps/unix/sysv/linux/i386/getgid.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/getgroups.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/getresgid.c: Do not include
422 <kernel-features.h>.
423 [__ASSUME_32BITUIDS]: Make code unconditional.
424 [!__ASSUME_32BITUIDS]: Remove conditional code.
425 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
426 <kernel-features.h>.
427 [__ASSUME_32BITUIDS]: Make code unconditional.
428 [!__ASSUME_32BITUIDS]: Remove conditional code.
429 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
430 <kernel-features.h>.
431 [__ASSUME_32BITUIDS]: Make code unconditional.
432 [!__ASSUME_32BITUIDS]: Remove conditional code.
433 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
434 <kernel-features.h>.
435 [__ASSUME_32BITUIDS]: Make code unconditional.
436 [!__ASSUME_32BITUIDS]: Remove conditional code.
437 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
438 <kernel-features.h>.
439 [__ASSUME_32BITUIDS]: Make code unconditional.
440 [!__ASSUME_32BITUIDS]: Remove conditional code.
441 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
442 <kernel-features.h>.
443 [__ASSUME_32BITUIDS]: Make code unconditional.
444 [!__ASSUME_32BITUIDS]: Remove conditional code.
445 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
446 <kernel-features.h>.
447 [__NR_setresgid] (__setresgid): Do not declare.
448 [__ASSUME_32BITUIDS]: Make code unconditional.
449 [!__ASSUME_32BITUIDS]: Remove conditional code.
450 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
451 <kernel-features.h>.
452 [__NR_setresuid] (__setresuid): Do not declare.
453 [__ASSUME_32BITUIDS]: Make code unconditional.
454 [!__ASSUME_32BITUIDS]: Remove conditional code.
455 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
456 <kernel-features.h>.
457 [__ASSUME_32BITUIDS]: Make code unconditional.
458 [!__ASSUME_32BITUIDS]: Remove conditional code.
459 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
460 <kernel-features.h>.
461 [__ASSUME_32BITUIDS]: Make code unconditional.
462 [!__ASSUME_32BITUIDS]: Remove conditional code.
463 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
464 <kernel-features.h>.
465 [__ASSUME_32BITUIDS]: Make code unconditional.
466 [!__ASSUME_32BITUIDS]: Remove conditional code.
467 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
468 <kernel-features.h>.
469 [__ASSUME_32BITUIDS]: Make code unconditional.
470 [!__ASSUME_32BITUIDS]: Remove conditional code.
471 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
472 <kernel-features.h>.
473 [__ASSUME_32BITUIDS]: Make code unconditional.
474 [!__ASSUME_32BITUIDS]: Remove conditional code.
475 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
476 <kernel-features.h>.
477 [__ASSUME_32BITUIDS]: Make code unconditional.
478 [!__ASSUME_32BITUIDS]: Remove conditional code.
479 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
480 <kernel-features.h>.
481 [__ASSUME_32BITUIDS]: Make code unconditional.
482 [!__ASSUME_32BITUIDS]: Remove conditional code.
483 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
484 <kernel-features.h>.
485 [__ASSUME_32BITUIDS]: Make code unconditional.
486 [!__ASSUME_32BITUIDS]: Remove conditional code.
487 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
488 <kernel-features.h>.
489 [__ASSUME_32BITUIDS]: Make code unconditional.
490 [!__ASSUME_32BITUIDS]: Remove conditional code.
491 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
492 <kernel-features.h>.
493 [__ASSUME_32BITUIDS]: Make code unconditional.
494 [!__ASSUME_32BITUIDS]: Remove conditional code.
495 * sysdeps/unix/sysv/linux/kernel-features.h
496 (__ASSUME_SETRESUID_SYSCALL): Remove.
497 (__ASSUME_SETRESGID_SYSCALL): Likewise.
498 (__ASSUME_32BITUIDS): Likewise.
499 (__ASSUME_LDT_WORKS): Likewise.
500 (__ASSUME_O_DIRECTORY): Likewise.
501 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
502 architecture but not kernel version.
503 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
504 (__ASSUME_MMAP2_SYSCALL): Likewise.
505 (__ASSUME_STAT64_SYSCALL): Likewise.
506 (__ASSUME_IPC64): Likewise.
507 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
508 <kernel-features.h>.
509 [__ASSUME_32BITUIDS]: Make code unconditional.
510 [!__ASSUME_32BITUIDS]: Remove conditional code.
511 * sysdeps/unix/sysv/linux/opendir.c: Do not include
512 <kernel-features.h>.
513 [__ASSUME_O_DIRECTORY]: Make code unconditional.
514 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
515 132096]: Remove conditional code.
516 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
517 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
518 <kernel-features.h>.
519 [__ASSUME_32BITUIDS]: Make code unconditional.
520 [!__ASSUME_32BITUIDS]: Remove conditional code.
521 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
522 <kernel-features.h>.
523 [__ASSUME_32BITUIDS]: Make code unconditional.
524 [!__ASSUME_32BITUIDS]: Remove conditional code.
525 * sysdeps/unix/sysv/linux/setegid.c: Do not include
526 <kernel-features.h>.
527 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
528 unconditional.
529 (__setresgid): Do not declare.
530 [__ASSUME_32BITUIDS]: Make code unconditional.
531 [!__ASSUME_32BITUIDS]: Remove conditional code.
532 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
533 <kernel-features.h>.
534 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
535 unconditional.
536 (__setresuid): Do not declare.
537 [__ASSUME_32BITUIDS]: Make code unconditional.
538 [!__ASSUME_32BITUIDS]: Remove conditional code.
539 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
540 <kernel-features.h>.
541 [__ASSUME_32BITUIDS]: Make code unconditional.
542 [!__ASSUME_32BITUIDS]: Remove conditional code.
543 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
544 <kernel-features.h>.
545 [__ASSUME_32BITUIDS]: Make code unconditional.
546 [!__ASSUME_32BITUIDS]: Remove conditional code.
547
a386f1cc
RH
5482012-05-25 Richard Henderson <rth@twiddle.net>
549
550 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
551 dl_hwcap to ifunc resolver.
552 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
553 elf_ifunc_invoke.
554 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
555 dl_hwcap to ifunc resolver.
556 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
557
b6550497
JM
5582012-05-24 Joseph Myers <joseph@codesourcery.com>
559
560 [BZ #14153]
561 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
562 for |x| <= 2**-26, not 2**-57.
563 * math/libm-test.inc (acos_test): Do not allow spurious underflow
564 exception.
565
b0bc23a1
JL
5662012-05-24 Jeff Law <law@redhat.com>
567
568 * stdio-common/Makefile (tests): Add bug25.
569 * stdio-common/bug25.c: New test.
570
347c92e9
L
5712012-05-24 H.J. Lu <hongjiu.lu@intel.com>
572
573 [BZ #13576]
574 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
575 multiple of MALLOC_ALIGNMENT in size.
576 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
577
6bcc8b3f
JM
5782012-05-24 Joseph Myers <joseph@codesourcery.com>
579
580 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
581 Require >= 256.
582 (FILENAME_MAX): Use macro-int-constant.
583 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
584 (_IOFBF): Use macro-int-constant.
585 (_IOLBF): Likewise.
586 (_IONBF): Likewise.
587 (SEEK_CUR): Likewise.
588 (SEEK_END): Likewise.
589 (SEEK_SET): Likewise.
590 (TMP_MAX): Likewise.
591 (EOF): Use macro-int-constant. Require < 0.
592 (NULL): Use macro-constant. Require == 0.
593 (stdin): Require type to be FILE *.
594 (stdout): Likewise.
595 (stderr): Likewise.
596 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
597 macro-int-constant.
598 (EXIT_SUCCESS): Likewise.
599 (NULL): Use macro-constant. Require == 0.
600 (RAND_MAX): Use macro-int-constant.
601 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
602 [C99-based standards] (strtof): Require function.
603 [C99-based standards] (strtold): Likewise.
604 [C99-based standards] (strtoll): Likewise.
605 [C99-based standards] (strtoull): Likewise.
606 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
607 [ISO || ISO99 || ISO11] (limits.h): Likewise.
608 [ISO || ISO99 || ISO11] (math.h): Likewise.
609 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
610 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
611 [ISO || ISO99 || ISO11] (*_t): Do not allow.
612
d18ea0c5
AS
6132012-05-24 Andreas Schwab <schwab@linux-m68k.org>
614
615 [BZ #14132]
56d25bb8
AS
616 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
617 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
618 * intl/dgettext.c (DCGETTEXT): Likewise.
619 * intl/gettext.c (DCGETTEXT): Likewise.
620 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
621 * posix/regex_internal.h (gettext): Likewise.
622 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
623 Remove declaration.
624 * include/argz.h (__argz_count_internal)
625 (__argz_stringify_internal): Remove declaration.
626 (__argz_count, __argz_stringify): Declare hidden proto.
627 * intl/dcgettext.c: Remove use of INTDEF.
628 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
629 * string/argz-stringify.c: Likewise.
630 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
631 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
632 Declare hidden proto.
d18ea0c5
AS
633 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
634 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
635 Declare hidden proto.
636 * include/stdio.h (__asprintf_internal): Don't declare.
637 (__asprintf): Don't define as macro. Declare hidden proto.
638 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
639 (__fsetlocking): Declare hidden proto.
640 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
641 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
642 hidden proto.
643 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
644 (_IO_setlinebuf): Remove use of INTUSE.
645 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
646 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
647 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
648 Remove declaration.
649 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
650 (_IO_do_flush): Remove use of INTUSE.
651 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
652 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
653 (_IO_adjust_column, _IO_least_wmarker)
654 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
655 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
656 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
657 (_IO_default_doallocate, _IO_wdefault_doallocate)
658 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
659 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
660 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
661 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
662 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
663 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
664 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
665 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
666 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
667 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
668 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
669 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
670 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
671 proto.
672 (_IO_flush_all_internal, _IO_adjust_column_internal)
673 (_IO_default_uflow_internal, _IO_default_finish_internal)
674 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
675 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
676 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
677 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
678 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
679 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
680 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
681 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
682 (_IO_file_close_internal, _IO_file_close_it_internal)
683 (_IO_file_underflow_internal, _IO_file_overflow_internal)
684 (_IO_file_init_internal, _IO_file_attach_internal)
685 (_IO_file_fopen_internal, _IO_file_read_internal)
686 (_IO_file_sync_internal, _IO_file_seek_internal)
687 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
688 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
689 (_IO_str_underflow_internal, _IO_str_overflow_internal)
690 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
691 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
692 (_IO_list_all_internal, _IO_link_in_internal)
693 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
694 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
695 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
696 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
697 (_IO_do_write_internal, _IO_padn_internal)
698 (_IO_getline_info_internal, _IO_getline_internal)
699 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
700 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
701 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
702 (_IO_vfscanf_internal, _IO_vfprintf_internal)
703 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
704 (_IO_init_internal, _IO_un_link_internal): Don't declare.
705 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
706 with libc_hidden_ver, remove use of INTUSE.
707 * libio/genops.c: Likewise.
708 * libio/freopen.c: Likewise.
709 * libio/freopen64.c: Likewise.
710 * libio/iofclose.c: Likewise.
711 * libio/iofdopen.c: Likewise.
712 * libio/iofflush.c: Likewise.
713 * libio/iofflush_u.c: Likewise.
714 * libio/iofgets.c: Likewise.
715 * libio/iofgets_u.c: Likewise.
716 * libio/iofopen.c: Likewise.
717 * libio/iofopncook.c: Likewise.
718 * libio/iofread.c: Likewise.
719 * libio/iofread_u.c: Likewise.
720 * libio/ioftell.c: Likewise.
721 * libio/iofwrite.c: Likewise.
722 * libio/iogetline.c: Likewise.
723 * libio/iogets.c: Likewise.
724 * libio/iogetwline.c: Likewise.
725 * libio/iopadn.c: Likewise.
726 * libio/iopopen.c: Likewise.
727 * libio/ioseekoff.c: Likewise.
728 * libio/ioseekpos.c: Likewise.
729 * libio/iosetbuffer.c: Likewise.
730 * libio/iosetvbuf.c: Likewise.
731 * libio/ioungetc.c: Likewise.
732 * libio/ioungetwc.c: Likewise.
733 * libio/iovdprintf.c: Likewise.
734 * libio/iovsprintf.c: Likewise.
735 * libio/iovsscanf.c: Likewise.
736 * libio/memstream.c: Likewise.
737 * libio/obprintf.c: Likewise.
738 * libio/oldfileops.c: Likewise.
739 * libio/oldiofclose.c: Likewise.
740 * libio/oldiofdopen.c: Likewise.
741 * libio/oldiofopen.c: Likewise.
742 * libio/oldiopopen.c: Likewise.
743 * libio/oldstdfiles.c: Likewise.
744 * libio/putc.c: Likewise.
745 * libio/setbuf.c: Likewise.
746 * libio/setlinebuf.c: Likewise.
747 * libio/stdfiles.c: Likewise.
748 * libio/strops.c: Likewise.
749 * libio/vasprintf.c: Likewise.
750 * libio/vscanf.c: Likewise.
751 * libio/vsnprintf.c: Likewise.
752 * libio/vswprintf.c: Likewise.
753 * libio/wfiledoalloc.c: Likewise.
754 * libio/wfileops.c: Likewise.
755 * libio/wgenops.c: Likewise.
756 * libio/wmemstream.c: Likewise.
757 * libio/wstrops.c: Likewise.
758 * libio/__fpurge.c: Likewise.
759 * libio/__fsetlocking.c: Likewise.
760 * assert/assert.c: Likewise.
761 * debug/fgets_chk.c: Likewise.
762 * debug/fgets_u_chk.c: Likewise.
763 * debug/fread_chk.c: Likewise.
764 * debug/fread_u_chk.c: Likewise.
765 * debug/gets_chk.c: Likewise.
766 * debug/obprintf_chk.c: Likewise.
767 * debug/vasprintf_chk.c: Likewise.
768 * debug/vdprintf_chk.c: Likewise.
769 * debug/vsnprintf_chk.c: Likewise.
770 * debug/vsprintf_chk.c: Likewise.
771 * malloc/mtrace.c: Likewise.
772 * misc/error.c: Likewise.
773 * misc/syslog.c: Likewise.
774 * stdio-common/asprintf.c: Likewise.
775 * stdio-common/fxprintf.c: Likewise.
776 * stdio-common/getw.c: Likewise.
777 * stdio-common/isoc99_fscanf.c: Likewise.
778 * stdio-common/isoc99_scanf.c: Likewise.
779 * stdio-common/isoc99_vfscanf.c: Likewise.
780 * stdio-common/isoc99_vscanf.c: Likewise.
781 * stdio-common/isoc99_vsscanf.c: Likewise.
782 * stdio-common/printf-prs.c: Likewise.
783 * stdio-common/printf_fp.c: Likewise.
784 * stdio-common/printf_fphex.c: Likewise.
785 * stdio-common/printf_size.c: Likewise.
786 * stdio-common/putw.c: Likewise.
787 * stdio-common/scanf.c: Likewise.
788 * stdio-common/sprintf.c: Likewise.
789 * stdio-common/tmpfile.c: Likewise.
790 * stdio-common/vfprintf.c: Likewise.
791 * stdio-common/vfscanf.c: Likewise.
792 * stdlib/strfmon_l.c: Likewise.
793 * sunrpc/openchild.c: Likewise.
794 * sunrpc/xdr_stdio.c: Likewise.
795 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
796 * sysdeps/mach/hurd/tmpfile.c: Likewise.
797
d6c33fda
RM
7982012-05-24 Roland McGrath <roland@hack.frob.com>
799
c1487492
RM
800 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
801
802 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
803 in the third column, to generate for the shared library an IFUNC
804 that uses _dl_vdso_vsym.
805 * Makerules (COMPILE.c, compile-stdin.c): New variables.
806 * Makeconfig (object-suffixes-noshared): New variable.
807
808 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
809 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
810 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
811 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
812
d6c33fda
RM
813 [BZ #14132]
814 * include/sys/time.h (__gettimeofday): Remove macro.
815 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
816 * time/gettimeofday.c (__gettimeofday): Remove #undef.
817 Remove INTDEF.
818 (__gettimeofday): Add libc_hidden_def.
819 (gettimeofday): Add libc_hidden_weak.
820 * sysdeps/mach/gettimeofday.c: Likewise.
821 * sysdeps/posix/gettimeofday.c: Likewise.
822 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
823 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
824 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
825 (__gettimeofday_internal): Remove strong_alias.
826 (__gettimeofday): Add libc_hidden_def.
827 (gettimeofday): Add libc_hidden_weak.
828 * sysdeps/unix/syscalls.list (gettimeofday):
829 Remove __gettimeofday_internal alias.
830
b5a2bbe6
L
8312012-05-24 Daniel Jacobowitz <drow@false.org>
832 H.J. Lu <hongjiu.lu@intel.com>
833
834 [BZ #12495]
835 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
836 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
837 (largebin_index_32_big): New.
838 (largebin_index): Use it for 16-byte alignment.
839 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
840 correction with front_misalign.
841
cfba4fda
L
8422012-05-24 H.J. Lu <hongjiu.lu@intel.com>
843
7f907421
L
844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
846 Likewise.
847 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
848 Likewise.
849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
850 Likewise.
851 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
852 Likewise.
853 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
854 Likewise.
855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
856 Likewise.
857 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
858 Likewise.
859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
860 Likewise.
861 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
862 Likewise.
863 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
864 Likewise.
865 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
866 Likewise.
867 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
868 Likewise.
869
cfba4fda
L
870 * scripts/data/c++-types-x32-linux-gnu.data: New file.
871 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
872
80bad0cc
JM
8732012-05-24 Joseph Myers <joseph@codesourcery.com>
874
7a25eb06
JM
875 [BZ #10846]
876 [BZ #14036]
877 * math/libm-test.inc (exp_test): Add test from bug 14036.
878 (pow_test): Add test from bug 10846.
879
795405f9
JM
880 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
881 and other flags.
882 (special_function): Do not include flags in test name.
883 (parse_args): Likewise.
884 * sysdeps/i386/fpu/libm-test-ulps: Update.
885 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
886 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
887 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
889
80bad0cc
JM
890 * math/gen-libm-test.pl (%beautify): Add entries for underflow
891 exceptions.
892 * math/libm-test.inc ("Philosophy"): Update comment about
893 exception testing.
894 (UNDERFLOW_EXCEPTION): New macro.
895 (UNDERFLOW_EXCEPTION_OK): Likewise.
896 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
897 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
898 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
899 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
900 (INVALID_EXCEPTION_OK): Update value.
901 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
902 (OVERFLOW_EXCEPTION_OK): Likewise.
903 (IGNORE_ZERO_INF_SIGN): Likewise.
904 (test_exceptions): Handle underflow exceptions.
905 (acos_test): Update for underflow exception expectations.
906 (cexp_test): Likewise.
907 (clog_test): Likewise.
908 (clog10_test): Likewise.
909 (csqrt_test): Likewise.
910 (ctan_test): Likewise.
911 (ctanh_test): Likewise.
912 (exp_test): Likewise.
913 (exp10_test): Likewise.
914 (exp2_test): Likewise.
915 (expm1_test): Likewise.
916 (fma_test): Likewise.
917 (j0_test): Likewise.
918 (jn_test): Likewise.
919 (nexttoward_test): Likewise.
920 (pow_test): Likewise.
921 (scalbn_test): Likewise.
922 (scalbln_test): Likewise.
923 (tan_test): Likewise.
924 (y1_test): Likewise.
925 * sysdeps/i386/fpu/libm-test-ulps: Update.
926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
927
9e0e3d0b
DM
9282012-05-23 David S. Miller <davem@davemloft.net>
929
930 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
931 (__libc_sigaction): Remove unused local variables.
932
ccd0a08f
L
9332012-05-23 H.J. Lu <hongjiu.lu@intel.com>
934
935 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
936
62bdf9a6
PE
9372012-05-23 Paul Eggert <eggert@cs.ucla.edu>
938
f8591f80
PE
939 mktime: avoid signed integer overflow
940 * time/mktime.c (__mktime_internal): Do not mishandle the case
941 where diff == INT_MIN.
942
94c7d826
PE
943 mktime: simplify computation of average
944 * time/mktime.c (ranged_convert): Use new time_t_avg function
945 instead of rolling our own (probably-slower) code.
946
ce73d683
PE
947 mktime: do not assume signed right shift propagates sign bit
948 * time/mktime.c (isdst_differ): New static function.
949 (__mktime_internal): No need to normalize tm_isdst now.
950 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
951 tm_isdst values.
952
72a22e59
PE
953 mktime: merge another wrapv change from gnulib
954 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
955 from some compilers.
956
68605433
PE
957 mktime: remove incorrect attempt at unusual arithmetics
958 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
959 The code didn't really work on such machines anyway.
960 (TYPE_MINIMUM): Assume two's complement.
961 (twos_complement_arithmetic): Verify that long_int and time_t
962 are two's complement (or unsigned, in the latter case).
963
03cf7fe3
PE
964 mktime: check signed shifts on long_int and time_t, too
965 * time/mktime.c (SHR): Check that shifts work as desired
966 on the types long_int and time_t too, as SHR is used on
967 such types.
968
f04dfbc2
PE
969 mktime: do not assume 'long' is wide enough
970 * time/mktime.c (verify): Move decl up.
971 (long_int): New type.
972 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
973 to remove assumption in the code that 'long' is wide enough to
974 store year values. This assumption is not true on x32 and on
975 some non-glibc platforms.
976
62bdf9a6
PE
977 mktime: merge wrapv change from gnulib
978 * time/mktime.c (WRAPV): New macro.
979 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
980 (guess_time_tm, __mktime_internal): Do not assume that signed
981 integer overflow wraps around; modern compilers generate code
982 where this assumption is no longer valid.
983
5e292e4f
L
9842012-05-23 H.J. Lu <hongjiu.lu@intel.com>
985
986 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
987 Replace "jmp L(pseudo_end)" with "ret".
988 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
989 Likewise.
990
8caf8c87
AJ
9912012-05-23 Andreas Jaeger <aj@suse.de>
992
993 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
994 * sysdeps/unix/sysv/linux/poll.c: Remove file.
995
1a09dc56
AJ
9962012-05-23 Andreas Jaeger <aj@suse.de>
997 Maximilian Attems <max@stro.at>
998
999 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1000 New macros.
1001
1c87aba0
L
10022012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1003
1004 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1005 code so that pseudo_end is just ret and the stack pointer is
1006 correct also for static library in error case.
1007
40e45bd5
JM
10082012-05-23 Joseph Myers <joseph@codesourcery.com>
1009
c2670533
JM
1010 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1011 move to syscalls.list.
1012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1016
40e45bd5
JM
1017 * manual/install.texi (Running make install): Do not mention Linux
1018 kernel version for which pt_chown is not needed.
1019 (Linux): Do not mention problems with nscd with 2.0 kernels.
1020 * INSTALL: Regenerated.
1021
be08eda5
AJ
10222012-05-23 Andreas Jaeger <aj@suse.de>
1023
1024 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1025 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1026 macro.
1027 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1028 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1029 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1030 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1031 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1032 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1033 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1034 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1035 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1036 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1037 * sysdeps/unix/sysv/linux/bits/in.h
1038 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1039
a6a056bb
RM
10402012-05-22 Roland McGrath <roland@hack.frob.com>
1041
1042 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1043 (PREPARE_VERSION): Just use assert instead, it will be elided
1044 under [NDEBUG] anyway.
1045
c9009328
L
10462012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1047
1048 * sysdeps/unix/sysv/linux/Makefile: Include
1049 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1050 (sysdep_routines): Remove sysctl.
c9009328
L
1051 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1052 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1053 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1054 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1055 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1056
73338355
AJ
10572012-05-22 Andreas Jaeger <aj@suse.de>
1058
1059 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1060 that pseudo_end is just ret and the stack pointer is correct also
1061 for static library in error case.
1062
d44638b0
PP
10632012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1064
1065 [BZ #14122]
1066 * nss/nsswitch.c (defconfig_entries): New variable.
1067 (__nss_database_lookup): Don't leak defconfig entries.
1068 (nss_parse_service_list): Don't leak on error paths.
1069 (free_database_entries): New function.
1070 (free_defconfig): New function.
1071 (free_mem): Move common code to free_database_entries.
1072
31a39bd8
L
10732012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1074
da0331a8
L
1075 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1076 Add arch_prctl.
1077 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1078
31a39bd8
L
1079 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1080 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1081 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1082 New macro.
1083 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1084 (INTERNAL_SYSCALL_TYPES): Likewise.
1085 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1086 (LOAD_REGS_TYPES_[1-6]): Likewise.
1087 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1088 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1089
45470df3
AZ
10902012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1091
1092 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1093 copysignl for GLIBC_2_0.
1094 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1095 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1096 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1097 logbl for GLIBC_2_0.
1098 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1099 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1100
98a61bcb
L
11012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1102
a4f6e481
L
1103 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1104 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1105
f63d5db6
L
1106 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1107 Use "neg %eax".
1108
98a61bcb
L
1109 * time/mktime.c: Update copyright years.
1110
95770f14
PE
11112012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1112
6226efbd
PE
1113 mktime: merge comment-quoting-style change from gnulib
1114 * time/mktime.c: Quote 'like this' in comments.
1115 The GNU coding standards suggest that we no longer quote `like this',
1116 as "`" and "'" are typically rendered asymmetrically nowadays.
1117 The typical gnulib style is to quote 'like this' when quoting
1118 code, and "like this" when quoting English.
1119
b99e4f78
PE
1120 * time/mktime.c (compile-command): Add "-I.".
1121
643e01e6
PE
1122 mktime: merge mktime-internal.h change from gnulib
1123 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1124
2554247d
PE
1125 mktime: merge time_r change from gnulib
1126 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1127
826dd0ab
PE
1128 mktime: merge DEBUG change from gnulib
1129 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1130 case system <time.h> has a #define.
1131
bd83aabe
PE
1132 mktime: merge <sys/types.h> change from gnulib
1133 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1134 since <time.t> is now guaranteed to define time_t.
1135
95770f14
PE
1136 mktime: merge HAVE_CONFIG_H change from gnulib
1137 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1138
5e1a27a9
L
11392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1140
0e44a77e
L
1141 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1142 Use "neg %eax".
1143
5e1a27a9
L
1144 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1145 __rlim_t cast.
1146 (struct rusage): Use anonymous union to pad each field to
1147 __syscall_slong_t.
1148
46259bec
DM
11492012-05-21 David S. Miller <davem@davemloft.net>
1150
1151 * Makefules (o-iterator): Remove .s cases.
1152 (compile-command.s): Delete.
1153 (COMPILE.s): Delete.
1154 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1155
59f0c22e
JM
11562012-05-21 Joseph Myers <joseph@codesourcery.com>
1157
1158 * configure.in (libc_cv_predef_stack_protector): Only consider
1159 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1160 * configure: Regenerated.
1161
20c07380
L
11622012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1163
bbb3154b
L
1164 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1165 New macro. Use R*LP on int and pointer.
1166 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1167 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1168 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1169 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1170
20c07380
L
1171 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1172 [__WORDSIZE_TIME64_COMPAT32] instead of
1173 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1174 (struct utmp): Likewise.
1175 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1176 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1177 Renamed to ...
1178 (__WORDSIZE_TIME64_COMPAT32): This.
1179 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1180 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1181 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1182 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1183 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1184 (__WORDSIZE_TIME64_COMPAT32): New macro.
1185
d8d1017e
AJ
11862012-05-21 Andreas Jaeger <aj@suse.de>
1187
1188 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1189 only if [SHARED]. Add prototype for __wcschr_ia32.
1190
6c7fb145
RM
11912012-05-21 Roland McGrath <roland@hack.frob.com>
1192
1193 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1194 of %rbp unmolested in the jmp_buf while mangling the low bits.
1195 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1196 unmolested high bits of %rbp while demangling the low bits.
1197 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1198
66274218
AJ
11992012-05-21 Andreas Jaeger <aj@suse.de>
1200
07c58f8f
AJ
1201 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1202 * sunrpc/svc_simple.c: Use it for registerrpc.
1203 * sunrpc/xcrypt.c: Use it for passwd2des.
1204
66274218
AJ
1205 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1206
61f65140
L
12072012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1208
1209 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1210 Don't define if [__SYSCALL_WORDSIZE != 32].
1211 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1212 New macro.
1213
5fefb436
AJ
12142012-05-21 Bruno Haible <bruno@clisp.org>
1215 Andreas Jaeger <aj@suse.de>
1216
1217 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1218 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1219 inptr and inend for must_buffer_ch.
1220 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1221 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1222 * stdio-common/Makefile (tests): Remove bug15.
1223 (bug15-ENV): Remove macro.
1224 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1225 anymore.
1226
d8e272ab
AJ
12272012-05-19 Andreas Jaeger <aj@suse.de>
1228 Roland McGrath <roland@hack.frob.com>
1229
1230 * manual/contrib.texi: Completely rewritten. It contains now an
1231 alphabetical list of contributors and their contributions.
1232
4a56a162
RH
12332012-05-21 Richard Henderson <rth@twiddle.net>
1234
1235 * misc/getauxval.c (__getauxval): Use unsigned long int.
1236 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1237 (getauxval): Use unsigned long int.
1238
d024d23c
L
12392012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1240
1241 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1242
cbc00a03
RM
12432012-05-21 Roland McGrath <roland@hack.frob.com>
1244
1245 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1246 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1247 __alignof__ (long double).
1248
478143fa
AZ
12492012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1250
1251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1252
c7683a6d
RH
12532012-05-20 Richard Henderson <rth@twiddle.net>
1254
1255 * misc/getauxval.c: New file.
1256 * misc/sys/auxv.h: New file.
1257 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1258 (routines): Add getauxval.
1259 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1260 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1261 * elf/dl-sysdep.c (_dl_auxv): Remove.
1262 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1263 * elf/dl-support.c (_dl_auxv): New variable.
1264 (_dl_aux_init): Initialize it.
1265 * manual/startup.texi (Auxiliary Vector): New node.
1266 * sysdeps/generic/bits/hwcap.h: New file.
1267 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1268 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1269 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1270 * sysdeps/sparc/sysdep.h: ... here. Include it.
1271 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1272 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1274 Update.
c7683a6d
RH
1275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1278 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1279 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1283
a6f1845d
AZ
12842012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1285
1286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1287
cbcbe830
DM
12882012-05-19 David S. Miller <davem@davemloft.net>
1289
1290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1291
e0b16cc2
JM
12922012-05-19 Joseph Myers <joseph@codesourcery.com>
1293
1294 [BZ #14123]
1295 * math/s_ccosh.c: Include <float.h>
1296 (__ccosh): Avoid internal overflow calculating sinh and cosh
1297 values before multiplying by sin and cos values.
1298 * math/s_ccoshf.c: Likewise.
1299 * math/s_ccoshl.c: Likewise.
1300 * math/s_csin.c: Likewise.
1301 * math/s_csinf.c: Likewise.
1302 * math/s_csinl.c: Likewise.
1303 * math/s_csinh.c: Likewise.
1304 * math/s_csinhf.c: Likewise.
1305 * math/s_csinhl.c: Likewise.
1306 * math/libm-test.inc (ccos_test): Add more tests.
1307 (ccosh_test): Likewise.
1308 (csin_test): Likewise.
1309 (csinh_test): Likewise.
1310 * sysdeps/i386/fpu/libm-test-ulps: Update.
1311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1312
6ad13e08
L
13132012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1314
f66f0ce8
L
1315 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1316 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1317
6ad13e08
L
1318 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1319
b1d072a7
JM
13202012-05-19 Joseph Myers <joseph@codesourcery.com>
1321
1322 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1323 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1324 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1325 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1326 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1327 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1328 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1329 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1330 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1331 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1332 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1333 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1334 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1335 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1336 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1337 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1338 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1339 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1340 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1341 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1342 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1343 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1344 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1345 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1346 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1347 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1348 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1349 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1350 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1351 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1352 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1353
9eae47cb
AJ
13542012-05-18 Andreas Jaeger <aj@suse.de>
1355
1356 * csu/.gitignore: Delete.
1357
bb07f69f
L
13582012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1359
1360 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1361 (timex): Use __syscall_slong_t.
1362
e6bdb741
AJ
13632012-05-18 Andreas Jaeger <aj@suse.de>
1364 Carlos O'Donell <carlos_odonell@mentor.com>
1365
1366 * manual/install.texi (Configuring and compiling): Update
1367 description about files modified in the source directory.
d6c33fda 1368 * INSTALL: Regenerated.
e6bdb741 1369
1b74487e
L
13702012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1371
1372 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1373 value. Use "or" to set return value to -1.
1374 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1375 negate return value.
1376
a88b64b9
TMQMF
13772012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1378
1379 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1380 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1381 failure if the compiler has Graphite support disabled.
1382 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1383 Likewise.
1384 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1385 CFLAGS-memmove.c): Likewise.
1386 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1387 Likewise.
1388
3707636e
L
13892012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1390
610b8622
L
1391 * sysdeps/x86_64/x32/_itoa.h: New file.
1392
7cd195df
L
1393 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1394 getdents system call only if kernel and user dirents have the
1395 same d_ino and d_off.
1396
94b07d20
L
1397 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1398 LLONG_MAX != LONG_MAX.
1399 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1400 (_fitoa_word): Likewise.
1401
18298070
L
1402 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1403 years.
1404 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1405 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1406 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1407
553c7ea4
L
1408 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1409 include <bits/wordsize.h>. Check __x86_64__ instead of
1410 __WORDSIZE.
1411 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1412 if __x86_64__ is defined. Use anonymous union on fpstate.
1413
3707636e
L
1414 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1415 anonymous union.
1416
b53ef01a
AS
14172012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1418
37fb1dc0
AS
1419 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1420 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1421 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1422 Refer to _rtld_local_ro instead of _rtld_global_ro.
1423 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1424 Likewise.
1425 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1426 Likewise.
1427 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1428 Likewise.
1429 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1430 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1431 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1432
b53ef01a
AS
1433 * sysdeps/powerpc/powerpc32/dl-machine.c
1434 (__elf_machine_runtime_setup) [PROF]: Don't reference
1435 _dl_prof_resolve.
1436
7a185db2
AJ
14372012-05-18 Andreas Jaeger <aj@suse.de>
1438
1439 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1440 function only available for GCCs before 3.4 since GCC 3.4
1441 introduced a builtin.
1442 (lrint): Likewise.
1443 (llrintf): Likewise.
1444 (llrint): Likewise.
1445 (fmaxf): Likewise.
1446 (fmax): Likewise.
1447 (fminf): Likewise.
1448 (fmin): Likewise.
1449 (rint): Likewise.
1450 (rintf): Likewise.
1451 (nearbyint): Likewise.
1452 (nearbyintf): Likewise.
1453 (ceil): Likewise.
1454 (ceilf): Likewise.
1455 (floor): Likewise.
1456 (floorf): Likewise.
1457
3e5aef87
L
14582012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1459
428bd707
L
1460 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1461 on both fields and cast pointer to __syscall_ulong_t.
1462
3e5aef87
L
1463 * bits/types.h (__fsword_t): New type.
1464 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1465 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1466 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1467 (__FSWORD_T_TYPE): Likewise.
1468 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1469 (__FSWORD_T_TYPE): Likewise.
1470 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1471 (__FSWORD_T_TYPE): Likewise.
1472 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1473 (__FSWORD_T_TYPE): Likewise.
1474 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1475 __SWORD_TYPE with __fsword_t.
1476 (statfs64): Likewise.
1477
1ba7c3dc
DM
14782012-05-17 David S. Miller <davem@davemloft.net>
1479
1480 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1481
59910343
AJ
14822012-05-17 Andreas Jaeger <aj@suse.de>
1483
1484 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1485 warning.
1486
2e4c1e9e
L
14872012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1488
1489 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1490
de7f5ce7
AJ
14912012-05-17 Andreas Jaeger <aj@suse.de>
1492
1493 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1494 when it is used.
1495
286abc3d
CM
14962012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1497
1498 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1499
477cc68e
L
15002012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1501
1502 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1503 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1504
1a0994f5
CD
15052012-05-17 Andreas Jaeger <aj@suse.de>
1506 Carlos O'Donell <carlos_odonell@mentor.com>
1507
1508 [BZ #14059]
1509 * sysdeps/x86_64/multiarch/init-arch.h
1510 (bit_YMM_Usable): Rename to...
1511 (bit_AVX_Usable): ... this.
1512 (bit_FMA4_Usable): New macro.
1513 (bit_XMM_state): New macro.
1514 (bit_YMM_state): New macro.
1515 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1516 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1517 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1518 (CPUID_OSXSAVE): New macro.
1519 (CPUID_AVX): New macro.
1520 (CPUID_FMA4): New macro.
1521 (index_YMM_Usable): Rename to...
1522 (index_AVX_Usable): ... this.
1523 (HAS_AVX): Use HAS_ARCH_FEATURE.
1524 (HAS_FMA4): Likewise.
1525 (HAS_YMM_USABLE): Remove.
1526 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1527 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1528 are present.
1529 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1530 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1531 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1532 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1533 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1534
0af797de
CM
15352012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1536
1537 * math/libm-test.c: Support platforms without multiple rounding modes.
1538 * math/bug-nextafter.c: Support platforms without FP exceptions.
1539 * math/bug-nexttoward.c: Likewise.
1540 * math/test-fenv.c: Likewise.
1541 * math/test-misc.c: Likewise.
1542 * stdlib/bug-getcontext.c: Likewise.
1543
e39745ff
AJ
15442012-05-17 Andreas Jaeger <aj@suse.de>
1545
1546 * manual/examples/search.c (critter_cmp): Change signature to
1547 avoid warnings.
1548 * manual/string.texi (Collation Functions): Likewise.
1549
48970aba
L
15502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1551
1552 * bits/types.h: Fold copyright years.
1553 * bits/typesizes.h: Likewise.
1554 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1555 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1556 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1557 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1558 * time/time.h: Likewise.
1559
bedee953
PP
15602012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1561
1562 [BZ #208]
1563 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1564 in instead of returning them. Return void.
1565 (__libc_mallinfo): Accumulate over all arenas.
1566 (__malloc_stats): Adjust for change in int_mallinfo interface.
1567
61653dfb
RM
15682012-05-16 Roland McGrath <roland@hack.frob.com>
1569
30b99d79
RM
1570 [BZ #10375]
1571 * configure.in (NM): Add AC_CHECK_TOOL for it.
1572 (libc_extra_cflags): New substituted variable.
1573 Check for -fstack-protector being used implicitly.
1574 * configure: Regenerated.
1575 * config.make.in (config-extra-cflags): New variable,
1576 gets @libc_extra_cflags@.
1577 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1578
61653dfb
RM
1579 [BZ #10375]
1580 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1581 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1582 * configure: Regenerated.
1583 * config.make.in (CPPUNDEFS): New substituted variable.
1584 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1585 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1586 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1587
661768bb
L
15882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1589
1590 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1591 (mq_attr): Use __syscall_slong_t.
1592
d4261567
L
15932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1594
1595 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1596 Check __x86_64__ instead of __WORDSIZE.
1597 (_STAT_VER_LINUX): Likewise.
1598 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1599 __syscall_ulong_t and __syscall_slong_t.
1600 (stat64): Likewise.
1601
cf3ff365
L
16022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1603
1604 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1605
76cf3e4d
L
16062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1607
1608 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1609
a637753a
L
16102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1611
1612 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1613 __syscall_ulong_t.
1614
d5e05119
L
1615 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1616 include <bits/wordsize.h>. Check __x86_64__ instead of
1617 __WORDSIZE.
1618 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1619 defined.
1620 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1621
f62ee380
L
1622 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1623 include <bits/wordsize.h>. Check __x86_64__ instead of
1624 __WORDSIZE.
1625 (user_regs_struct): Use "__extension__ unsigned long long"
1626 instead of "unsigned long" if __x86_64__ is defined.
1627 (user): Likewise. Pad after pointer field if __ILP32__ is
1628 defined.
1629
4e124ced
JM
16302012-05-16 Joseph Myers <joseph@codesourcery.com>
1631
6a3951a0
JM
1632 * configure.in (makeinfo): Require version 4.5 or later. Allow
1633 versions 5 to 9.
1634 * configure: Regenerated.
1635 * manual/install.texi (texinfo): Increase version requirement to
1636 4.5 or later.
1637 * INSTALL: Regenerated.
1638
4e124ced
JM
1639 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1640
953ca31a
L
16412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1642
1643 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1644
617aca05
L
1645 * sysdeps/x86_64/x32/ffs.c: New file.
1646
5762f7ae
L
1647 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1648 __syscall_ulong_t.
1649 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1650 defined. Use __syscall_ulong_t.
1651 (shminfo): Use __syscall_ulong_t.
1652 (shm_info): Likewise.
1653
a26b6856
L
1654 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1655 __syscall_ulong_t.
1656
cb2b9ef7
L
1657 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1658 <bits/wordsize.h>.
1659 (msgqnum_t): Use __syscall_ulong_t.
1660 (msglen_t): Likewise.
1661 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1662 __syscall_ulong_t.
1663
34683bb0
L
1664 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1665 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1666
84a68786
L
1667 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1668
48baa5f1
L
1669 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1670 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1671
180be88b
L
1672 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1673 __syscall_slong_t.
1674
5e90c8ad
L
1675 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1676 include <bits/wordsize.h>. Check __x86_64__ instead of
1677 __WORDSIZE.
1678
23dfb58b
L
1679 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1680 "unsigned long long int" if __x86_64__ is defined.
1681 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1682
ce5d54b0
L
1683 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1684 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1685 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1686
13dc9eac
L
1687 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1688 <stdint.h>.
1689 (GET_PC): Cast to uintptr_t first.
1690 (GET_FRAME): Likewise.
1691 (GET_STACK): Likewise.
1692
a7895d15
L
1693 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1694 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1695 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1696 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1697 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1698 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1699 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1700 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1701 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1702 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1703 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1704 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1705 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1706 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1707 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1708 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1709 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1710 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1711 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1712 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1713 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1714 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1715 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1716 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1717 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1718 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1719 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1720 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1721 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1722
656416c9
AS
17232012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1724
5bd66283
AS
1725 * Makerules (+depfiles): Also collect depfiles from .oS in
1726 $(extra-objs).
1727 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1728 .oS, $(libnldbl-routines)).
1729
656416c9
AS
1730 * Makerules (native-compile-mkdep-flags): Define.
1731 * sunrpc/Makefile (extra-objs): Add $(addprefix
1732 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1733 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1734 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1735 calling $(make-target-directory).
1736
a46f2169
L
17372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1738
1739 * bits/types.h (__snseconds_t): Removed.
1740 * time/time.h (struct timespec): Replace __snseconds_t with
1741 __syscall_slong_t.
1742 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1743 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1744 Likewise.
1745 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1746 (__SNSECONDS_T_TYPE): Likewise.
1747 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1748 (__SNSECONDS_T_TYPE): Likewise.
1749 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1750 (__SNSECONDS_T_TYPE): Likewise.
1751
6af6528b
L
17522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1753
1754 * sysdeps/mach/hurd/bits/typesizes.h
1755 (__SYSCALL_SLONG_TYPE): New macro.
1756 (__SYSCALL_ULONG_TYPE): Likewise.
1757
de986b56
L
17582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1759
1760 * bits/types.h (__syscall_slong_t): New type.
1761 (__syscall_ulong_t): Likewise.
1762
1763 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1764 (__SYSCALL_ULONG_TYPE): Likewise.
1765 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1766 (__SYSCALL_SLONG_TYPE): Likewise.
1767 (__SYSCALL_ULONG_TYPE): Likewise.
1768 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1769 (__SYSCALL_SLONG_TYPE): Likewise.
1770 (__SYSCALL_ULONG_TYPE): Likewise.
1771 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1772 (__SYSCALL_SLONG_TYPE): Likewise.
1773 (__SYSCALL_ULONG_TYPE): Likewise.
1774
85736dc7
L
17752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1776
1777 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1778 Add sigaltstack-offsets.sym.
1779 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1780 <sigaltstack-offsets.h>.
1781 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1782 longjmp_msg pointer.
1783 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1784 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1785 signal stack.
1786 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1787
cc03b296
JM
17882012-05-15 Joseph Myers <joseph@codesourcery.com>
1789
a9538892
JM
1790 * elf/stackguard-macros.h: Remove file.
1791 * sysdeps/generic/stackguard-macros.h: New file.
1792 * sysdeps/i386/stackguard-macros.h: Likewise.
1793 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1794 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1795 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1796 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1797 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1798 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1799 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1800 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1801 <elf/stackguard-macros.h>.
1802
cc03b296
JM
1803 [BZ #14109]
1804 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1805 __aligned__ in attribute.
1806 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1807 (gregset_t): Likewise.
1808
93171016
L
18092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1810
1811 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1812 * sysdeps/x86_64/64/Implies-after: Here. New file.
1813 * sysdeps/x86_64/x32/Implies-after: New file.
1814
d86813a0
L
18152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1816
1817 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1818 and access return value for _dl_profile_fixup. Use R10_LP to
1819 load frame size.
1820
2953ec75
L
18212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1822
1823 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1824
3b550e9e
L
18252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1826
1827 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1828 * sysdeps/x86_64/x32/sysdep.h: New file.
1829
eda41706
L
18302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1831
1832 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1833 * sysdeps/x86_64/setjmp.S: Likewise.
1834
9ea01d93
AZ
18352012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1836
1837 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1838 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1839 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1840 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1841 remove unused global constant.
1842
02a91938
CM
18432012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1844
1845 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1846 include of <not-cancel.h>.
1847
6540185f
RM
18482012-05-15 Roland McGrath <roland@hack.frob.com>
1849
1850 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1851
509072a0
AJ
18522012-05-15 Jeff Law <law@redhat.com>
1853 Andreas Jaeger <aj@suse.de>
1854
1855 [BZ #13594]
1856 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1857 out from...
1858 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1859 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1860 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1861 code changing __hst_map_handle.map.
1862
ba75122d
RM
18632012-05-15 Roland McGrath <roland@hack.frob.com>
1864
1865 * configure.in (sysnames): Look for Implies-before and Implies-after
1866 files.
1867 * configure: Regenerated.
1868
890d8bd8
L
18692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1870
1871 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1872 8-byte data alignment with LP_SIZE alignment.
1873
f6ee6623
L
18742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1875
1876 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1877 into R10_LP.
1878
ea2626f6
L
18792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1880
1881 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1882
085f715e
L
18832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1884
1885 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1886 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1887 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1888 Likewise.
1889 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1890
be8498fc
L
18912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1892
1893 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1894 (stackinfo_sub_sp): Likewise.
1895
70bc83b9
L
18962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1897
1898 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1899 RAX_LP.
1900
9bc0b730
L
19012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1902
1903 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1904 into R*_LP.
1905
6d2850e7
L
19062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1907
1908 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1909 sizes into R*_LP.
1910
3cb84561
L
19112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1912
1913 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1914
54e2ed81
L
19152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1916
1917 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1918 into R11_LP and load __x86_64_shared_cache_size_half into
1919 R8_LP.
1920
8a17f349
L
19212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1922
1923 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1924 R8_LP.
1925
777b1eea
AZ
19262012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1927
1928 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1929 logb for POWER7.
1930 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1931 logbf for POWER7.
1932 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1933 logbl for POWER7.
1934 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1935 powerpc32/power7/fpu/s_logb.c via #include.
1936 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1937 powerpc32/power7/fpu/s_logbf.c via #include.
1938 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
1939 powerpc32/power7/fpu/s_logbl.c via #include.
1940
d20d4ac2
JM
19412012-05-15 Joseph Myers <joseph@codesourcery.com>
1942
1943 * README.libm: Remove file.
1944
6cdef1ab
L
19452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1946
1947 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1948 count for x32. Use R*_LP and omit operand-size suffix.
1949
0b254d8f
L
19502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1951
1952 * shlib-versions: Move x86_64-.*-linux.* entries to ...
1953 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1954 * sysdeps/x86_64/x32/shlib-versions: New file.
1955
ceb809dc
RM
19562012-05-14 Roland McGrath <roland@hack.frob.com>
1957
1958 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1959 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1960 Use _dl_fatal_printf instead.
1961
37f1abd4
JM
19622012-05-14 Joseph Myers <joseph@codesourcery.com>
1963
1964 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1965 set if not set by the user. Do not allow for being unset.
1966 * sysdeps/unix/sysv/linux/configure: Regenerated.
1967
11de3a33
L
19682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1969
1970 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1971 the `q' suffix from lea and replace .quad with ASM_ADDR.
1972
e02f153a
L
19732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1974
1975 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1976 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1977 instead of $17.
1978 (PTR_DEMANGLE): Likewise.
1979
520ae0fd
L
19802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1981
1982 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1983 (LP_OP): Likewise.
1984 (ASM_ADDR): Likewise.
1985 (RAX_LP): Likewise.
1986 (RBP_LP): Likewise.
1987 (RBX_LP): Likewise.
1988 (RCX_LP): Likewise.
1989 (RDI_LP): Likewise.
1990 (RSI_LP): Likewise.
1991 (RSP_LP): Likewise.
1992 (R8_LP): Likewise.
1993 (R9_LP): Likewise.
1994 (R10_LP): Likewise.
1995 (R10_LP): Likewise.
1996 (R11_LP): Likewise.
1997 (R12_LP): Likewise.
1998 (R13_LP): Likewise.
1999 (R14_LP): Likewise.
2000 (R15_LP): Likewise.
2001
b985be81
L
20022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2003
2004 * sysdeps/x86_64/x32/dl-machine.h: New file.
2005
6a4888ff
AJ
20062012-05-14 Andreas Jaeger <aj@suse.de>
2007
2008 * manual/Makefile (subdir): Remove export of subdir.
2009 (all): Remove target.
2010 (.PHONY): Remove all from list.
2011 (mkinstalldirs): Remove.
2012 (.PHONY): Remove installdirs from list.
2013 ($(inst_infodir)/libc.info): Use make-target-directory.
2014 (installdirs): Remove.
2015 (subdir_%): Remove.
2016 (glibc-targets): Remove.
2017 (lib): Remove.
2018 (stubs): Remove.
2019 ($(objpfx)stubs ../po/manual.pot): Remove.
2020 ($(objpfx)stamp%): Remove.
2021 (make-target-directory): Remove.
2022 (subdir_install): Remove.
2023 (routines): Remove.
2024 (aux): Remove.
2025 (sources): Remove.
2026 (objects): Remove.
2027 (headers): Remove.
2028
2029 [BZ #13750]
2030 * manual/.gitignore: Remove, it's not needed anymore.
2031 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2032 all files in it.
2033 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2034 directory.
2035 (texis): Renamed to $(objpfx)texis.
2036 (texis-path): New, contains path to generated files.
2037 (chapters.%): Use texis-path for complete path, add extra argument
2038 libc-texinfo.sh.
2039 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2040 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2041 (summary,texi, stamp-summary): Use complete path of
2042 files. Generate files in build dir.
2043 (dir-add.texi): Build in build dir.
2044 (libm-err.texi,stamp-libm-err): Likewise.
2045 (version.texi, stamp-version): Likewise.
2046 (.%c.texi): Likewise.
2047 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2048 (mostlyclean): Remove target.
2049 (realclean): Remove target.
2050 (generated): Add new variable with contents from mostlyclean and
2051 realclean, remove entries duplicated in common-mostlyclean, add
2052 stamp-libm-err and stamp-version.
2053 (generated-dirs): Add libc directory.
2054 ($(inst_infodir)/libc.info): Install files from build dir.
2055
2056 * manual/install.texi (Configuring and compiling): Adjust since
2057 the info files are not part of the tar ball anymore.
2058
7ac77294
AJ
20592012-05-14 Andreas Jaeger <aj@suse.de>
2060
2061 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2062 variable.
2063
ffb7875d
JM
20642012-05-14 Joseph Myers <joseph@codesourcery.com>
2065
2066 [BZ #13717]
2067 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2068 to 2.2.0 where earlier.
2069 * sysdeps/unix/sysv/linux/configure: Regenerated.
2070 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2071 Remove conditional code.
2072 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2073 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2074 Remove conditional code.
2075 [!__NR_lchown]: Likewise.
2076 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2077 [__NR_lchown]: Likewise.
2078 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2079 comment referencing __ASSUME_LCHOWN_SYSCALL.
2080 * sysdeps/unix/sysv/linux/i386/sigaction.c
2081 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2082 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2083 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2084 Remove conditional code.
2085 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2086 (__protocol_available): Remove #if 0 code.
2087 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2088 conditional code.
2089 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2090 * sysdeps/unix/sysv/linux/kernel-features.h
2091 (__ASSUME_GETCWD_SYSCALL): Don't define.
2092 (__ASSUME_REALTIME_SIGNALS): Likewise.
2093 (__ASSUME_PREAD_SYSCALL): Likewise.
2094 (__ASSUME_PWRITE_SYSCALL): Likewise.
2095 (__ASSUME_POLL_SYSCALL): Likewise.
2096 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2097 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2098 non-SPARC.
2099 (__ASSUME_SIOCGIFNAME): Don't define.
2100 (__ASSUME_MSG_NOSIGNAL): Likewise.
2101 (__ASSUME_SENDFILE): Define unconditionally.
2102 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2103 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2104 conditional code.
2105 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2106 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2107 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2108 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2109 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2110 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2111 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2113 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2114 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2116 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2117 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2119 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2120 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2122 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2123 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2125 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2126 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2128 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2129 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2131 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2132 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2134 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2135 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2136 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2137 Remove conditional code.
2138 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2139 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2140 Remove conditional code.
2141 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2142 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2143 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2144 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2145 Remove conditional code.
2146 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2147 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2148 Remove conditional code.
2149 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2150 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2151 Remove conditional code.
2152 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2153 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2154 Remove conditional code.
2155 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2156 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2157 Remove conditional code.
2158 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2159 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2160 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2161 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2162 * sysdeps/unix/sysv/linux/sigaction.c
2163 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2164 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2165 * sysdeps/unix/sysv/linux/sigpending.c
2166 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2167 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2168 * sysdeps/unix/sysv/linux/sigprocmask.c
2169 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2170 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2171 * sysdeps/unix/sysv/linux/sigsuspend.c
2172 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2173 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2174 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2175 (__libc_missing_rt_sigs): Remove.
2176 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2177 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2178 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2179 Remove conditional code.
2180 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2181 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2182 return 1.
2183 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2184 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2185 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2186 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2187
1bfb7291
AJ
21882012-05-14 Andreas Jaeger <aj@suse.de>
2189
caae5a81
AJ
2190 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2191 it's not used in glibc.
2192 (__coshm1): Likewise.
2193 (__acosh1p): Likewise.
2194 (__sgn): Likewise.
2195
1bfb7291
AJ
2196 * manual/string.texi (Copying and Concatenation): Add missing
2197 variable in concat example.
2198 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2199
c044d724
L
22002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2201
144c5467 2202 [BZ #14103]
c044d724
L
2203 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2204 __builtin_clzl with __builtin_clzll.
2205
2523c62b
L
22062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2207
2208 [BZ #14104]
2209 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2210 libc_freeres_ptr.
2211
d7bb4c42
LD
22122012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2213
2214 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2215 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2216 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2217 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2218
9dc4e1fb
MF
22192012-05-14 Mike Frysinger <vapier@gentoo.org>
2220
2221 * NEWS: Update ia64 info.
2222
c7df0112
AS
22232012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2224
2225 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2226 used as bcopy.
2227
dc70356c
TS
22282012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2229
2230 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2231 * sysdeps/unix/syscalls.list (dup3): Likewise.
2232 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2233 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2234
9fb1a21f
L
22352012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2236
2237 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2238 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2239
4822a2a5
L
22402012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2241
2242 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2243 thread pointer.
2244 (TLS_IE): Use mov/add instead of movq/addq to load thread
2245 pointer.
2246 (TLS_GD_PREFIX): New.
2247 (TLS_GD): Use it.
2248
842b81d6
DM
22492012-05-11 David S. Miller <davem@davemloft.net>
2250
2251 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2252 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2253 (_FPU_SETCW): Likewise.
2254
1cf463cd
L
22552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2256
2257 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2258 is 32-byte aligned.
2259
60cc4a18
AS
22602012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2261
2262 [BZ #11837]
2263 * iconvdata/gb18030.c: Update tables.
2264 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2265 characters specially.
2266 (BODY for TO_LOOP): Add encoding of missing ranges.
2267
febb44a4
TS
22682012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2269
2270 [BZ #13673]
2271 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2272 * sysdeps/mach/hurd/dup3.c: Likewise.
2273 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2274 * sysdeps/powerpc/memmove.c:: Likewise.
2275
0a10fb9e
L
22762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2277
2278 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2279 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2280
df8a552f
L
22812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2282
2283 * elf/elf.h (R_X86_64_RELATIVE64): New.
2284 (R_X86_64_NUM): Updated.
2285 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2286 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2287 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2288 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2289 tst-quad1pie tst-quad2pie
2290 (modules-names): Add tst-quadmod1 tst-quadmod2.
2291 ($(objpfx)tst-quad1): New dependency.
2292 ($(objpfx)tst-quad2): Likewise.
2293 ($(objpfx)tst-quad1pie): Likewise.
2294 ($(objpfx)tst-quad2pie): Likewise.
2295 * sysdeps/x86_64/tst-quad1.c: New file.
2296 * sysdeps/x86_64/tst-quad1pie.c: New file.
2297 * sysdeps/x86_64/tst-quad2.c: Likewise.
2298 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2299 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2300 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2301 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2302 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2303
f34d6f84
ST
23042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2305
f42d41d1
ST
2306 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2307 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2308 * streams/stropts.h (t_scalar_t): Define type.
2309
3c3571fc
ST
2310 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2311 (_PATH_PRESERVE): Set to "/var/lib".
2312 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2313
61f06bd3
ST
2314 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2315 instead of int.
2316
918d4d71
ST
2317 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2318 if __dir_mkfile succeeded.
2319
f34d6f84
ST
2320 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2321 checking for _hurd_dtablesize. Unlock it right after having
2322 finished _hurd_dtable allocation.
2323
10589b4a
TS
23242012-05-10 Thomas Schwinge <thomas@schwinge.name>
2325
674cdbc7
TS
2326 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2327 * sysdeps/mach/hurd/configure: Regenerated.
2328 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2329 special-casing to...
2330 * sysdeps/gnu/configure.in: ... this new file.
2331 * sysdeps/unix/sysv/linux/configure: Regenerated.
2332 * sysdeps/gnu/configure: New generated file.
2333
8e41b99f
TS
2334 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2335 for Linux: use nsec instead of usec, as well as:
2336 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2337 members of type struct timespec.
2338 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2339 New macros.
2340 (struct stat64): Likewise.
2341 (_STATBUF_ST_NSEC): New macro.
2342 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2343
10589b4a
TS
2344 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2345 __strtoul_internal rather than strtoul.
2346
63643c85
PT
23472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2348
2349 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2350 and reject them.
2351
3faebe6a
ST
23522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2353
2354 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2355 which preserves existing values.
2356 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2357
c6474b07
PT
23582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2359
2360 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2361 TIMEOUT values. Return EINVAL for NFDS values either negative or
2362 greater than FD_SETSIZE.
2363
1043890b
ST
23642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2365
2366 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2367 allocated, call __vm_protect to finish enabling the existing space, and
2368 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2369 allocate the remainder.
2370
37ed8b9b
PT
23712012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2372
2373 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2374 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2375
db653660
ST
23762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2377
37ed8b9b
PT
2378 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2379 sysdeps/mach/hurd/readlink.c.
b29d4053 2380
db653660
ST
2381 * posix/tst-sysconf.c (posix_options): Only use
2382 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2383 _POSIX_SYNCHRONIZED_IO when they are defined
2384 * sysdeps/mach/hurd/bits/posix_opt.h:
2385 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2386 (_XOPEN_REALTIME): Undefine macro.
2387 (_XOPEN_REALTIME_THREADS): Undefine macro.
2388 (_XOPEN_SHM): Undefine macro.
2389 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2390 macro to -1.
2391 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2392 macro to -1.
2393 (_POSIX_ASYNC_IO): Undefine macro.
2394 (_POSIX_PRIORITIZED_IO): Undefine macro.
2395 (_POSIX_SPIN_LOCKS): Define macro to -1.
2396
ee16e894
ST
2397 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2398 SA_NODEFER, SA_RESETHAND.
2399 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2400 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2401 F_DUPFD_CLOEXEC.
2402
6103ae3b
TS
24032012-05-10 Thomas Schwinge <thomas@schwinge.name>
2404
2405 * elf/Makefile (pldd-modules): Define unconditionally.
2406
80b4e5f3
TS
24072012-05-10 Thomas Schwinge <thomas@schwinge.name>
2408
2409 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2410
edadcbd6
ST
24112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2412
2413 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2414 Return ENOENT when name is empty.
2415 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2416
80694780
TS
24172012-05-10 Thomas Schwinge <thomas@schwinge.name>
2418
1792c087
TS
2419 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2420
80694780
TS
2421 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2422
6b645f0d
ST
24232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2424
80694780
TS
2425 Fix mlock in all cases except non-readable pages.
2426 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2427 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2428
6b645f0d
ST
2429 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2430 (__mkdir): When path is `/', just fail with EEXIST.
2431 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2432
e468f8a3
TS
24332012-05-10 Thomas Schwinge <thomas@schwinge.name>
2434
2435 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2436 <sys/uio.h> (for writev).
2437 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2438 and <sys/param.h> (for MIN).
2439
a4186cff
PT
24402012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2441
2442 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2443 REQUESTED_TIME. Properly set the remaining time and return EINTR
2444 if interrupted.
2445
510bbf14
TS
24462012-05-10 Thomas Schwinge <thomas@schwinge.name>
2447
2448 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2449 Depend on against $(link-rpcuserlibs).
2450
5d5722e8
ST
24512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2452
a4186cff
PT
2453 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2454 (__libc_stack_end): Do not use attribute_relro.
2455 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2456 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 2457 to libthread-provided value.
a4186cff
PT
2458 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2459 attribute_relro.
5d5722e8 2460
37233df9
TS
24612012-05-10 Thomas Schwinge <thomas@schwinge.name>
2462
be971a2b
TS
2463 [BZ #3748]
2464 * bits/libc-lock.h (__libc_once_get): New macro.
2465 * sysdeps/mach/bits/libc-lock.h: Likewise.
2466 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2467 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2468 instead of using implementation details.
2469
37233df9
TS
2470 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2471 * libio/freopen.c: Likewise.
2472 * libio/freopen64.c: Likewise.
2473 * misc/syslog.c: Likewise.
2474 * nscd/connections.c: Likewise.
2475 * nscd/netgroupcache.c: Likewise.
2476 * sysdeps/posix/getcwd.c: Likewise.
2477
38de94a5
RM
24782012-05-10 Roland McGrath <roland@hack.frob.com>
2479
2480 * math/w_ilogbf.c: Add #include <limits.h>.
2481
67530489
ST
24822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2483
a4186cff 2484 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
2485 path instead of returning without unlocking.
2486
67530489
ST
2487 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2488 immediate-write ioctls.
2489 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2490
5aa3a74a
TS
24912012-05-10 Thomas Schwinge <thomas@schwinge.name>
2492
18bad2ae
TS
2493 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2494 __builtin_frame_address instead of making assumptions about the
2495 location of the return address relative to DATA. Force early load of
2496 the return address.
2497 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2498 __builtin_frame_address.
2499
5aa3a74a
TS
2500 dup3 for GNU Hurd.
2501 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2502 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2503 implement dup3 and do some further code clean-ups.
2504 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2505 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2506
ecd0de9a
ST
25072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2508
cd9fa985
ST
2509 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2510
a4186cff
PT
2511 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2512 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2513 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2514 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2515 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2516 d->port.lock.
802ca5a5 2517
a4186cff
PT
2518 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2519 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2520 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 2521
bcf55240
TS
25222012-05-10 Thomas Schwinge <thomas@schwinge.name>
2523
6960eb42
TS
2524 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2525 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2526 definitions.
2527
eb43375f
TS
2528 accept4 for GNU Hurd.
2529 * include/sys/socket.h (__libc_accept4): New prototype.
2530 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2531 to implement __libc_accept4.
2532 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2533 __libc_accept4.
2534 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2535
bcf55240
TS
2536 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2537 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2538 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2539 signal-defines.sym.
2540
6178c55b
ST
25412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2542
a4186cff 2543 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 2544
6f080c2f
TS
25452012-05-10 Thomas Schwinge <thomas@schwinge.name>
2546
2547 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2548 assertion on O_CLOEXEC flag.
2549 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2550 * hurd/intern-fd.c: Likewise.
2551 * hurd/port2fd.c: Likewise.
2552
bcfe3a54
ST
25532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2554
2555 [BZ #3906]
2556 * bits/in.h (IPV6_PKTINFO): Define new macro.
2557 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2558
89c9aa49
AZ
25592012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2560
2561 [BZ #13954]
2562 [BZ #13955]
2563 [BZ #13956]
2564 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2565 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2566 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2567 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2568 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2569 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2570 * math/libm-test.inc (logb_test) : Additional logb tests.
2571
021db4be
AJ
25722012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2573 Andreas Jaeger <aj@suse.de>
2574
2575 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2576 * configure: Regenerated.
2577 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2578 * config.make.in (link-obsolete-rpc): New substituted variable.
2579 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2580 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2581 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2582 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2583 so that libc.a contains the symbols.
2584 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2585 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2586 * sunrpc/auth_none.c: Likewise.
2587 * sunrpc/auth_unix.c: Likewise.
2588 * sunrpc/authdes_prot.c: Likewise.
2589 * sunrpc/authuxprot.c: Likewise.
2590 * sunrpc/clnt_gen.c: Likewise.
2591 * sunrpc/clnt_perr.c: Likewise.
2592 * sunrpc/clnt_raw.c: Likewise.
2593 * sunrpc/clnt_simp.c: Likewise.
2594 * sunrpc/clnt_tcp.c: Likewise.
2595 * sunrpc/clnt_udp.c: Likewise.
2596 * sunrpc/clnt_unix.c: Likewise.
2597 * sunrpc/des_crypt.c: Likewise.
2598 * sunrpc/des_soft.c: Likewise.
2599 * sunrpc/get_myaddr.c: Likewise.
2600 * sunrpc/key_call.c: Likewise.
2601 * sunrpc/key_prot.c: Likewise.
2602 * sunrpc/netname.c: Likewise.
2603 * sunrpc/pm_getmaps.c: Likewise.
2604 * sunrpc/pm_getport.c: Likewise.
2605 * sunrpc/pmap_clnt.c: Likewise.
2606 * sunrpc/pmap_prot.c: Likewise.
2607 * sunrpc/pmap_prot2.c: Likewise.
2608 * sunrpc/pmap_rmt.c: Likewise.
2609 * sunrpc/publickey.c: Likewise.
2610 * sunrpc/rpc_cmsg.c: Likewise.
2611 * sunrpc/rpc_common.c: Likewise.
2612 * sunrpc/rpc_dtable.c: Likewise.
2613 * sunrpc/rpc_prot.c: Likewise.
2614 * sunrpc/rpc_thread.c: Likewise.
2615 * sunrpc/rtime.c: Likewise.
2616 * sunrpc/svc.c: Likewise.
2617 * sunrpc/svc_auth.c: Likewise.
2618 * sunrpc/svc_raw.c: Likewise.
2619 * sunrpc/svc_run.c: Likewise.
2620 * sunrpc/svc_tcp.c: Likewise.
2621 * sunrpc/svc_udp.c: Likewise.
2622 * sunrpc/svc_unix.c: Likewise.
2623 * sunrpc/svcauth_des.c: Likewise.
2624 * sunrpc/xcrypt.c: Likewise.
2625 * sunrpc/xdr.c: Likewise.
2626 * sunrpc/xdr_array.c: Likewise.
2627 * sunrpc/xdr_float.c: Likewise.
2628 * sunrpc/xdr_intXX_t.c: Likewise.
2629 * sunrpc/xdr_mem.c: Likewise.
2630 * sunrpc/xdr_rec.c: Likewise.
2631 * sunrpc/xdr_ref.c: Likewise.
2632 * sunrpc/xdr_sizeof.c: Likewise.
2633 * sunrpc/xdr_stdio.c: Likewise.
2634
b5c086a2
RM
26352012-05-10 Roland McGrath <roland@hack.frob.com>
2636
2637 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2638 change. Update copyright years.
2639
6d74dd09
JM
26402012-05-10 Joseph Myers <joseph@codesourcery.com>
2641
2642 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2643
28e72501
MK
26442012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2645 Joseph Myers <joseph@codesourcery.com>
2646 Paul Pluzhnikov <ppluzhnikov@google.com>
2647
2648 [BZ #14012]
2649 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2650 requiring rpcgen.
2651 [cross-compiling] (extra-libs): Likewise.
2652 [cross-compiling] (extra-libs-others): Likewise.
2653 [cross-compiling] (librpcsvc-routines): Likewise.
2654 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2655 [cross-compiling] (omit-deps): Likewise.
2656 (sunrpc-CPPFLAGS): New variable.
2657 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2658 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2659 (cross-rpcgen-objs): New variable.
2660 (extra-objs): Append $(cross-rpcgen-objs).
2661 ($(cross-rpcgen-objs)): New rule.
2662 ($(objpfx)cross-rpcgen): Likewise.
2663 (rpcgen-cmd): Define to use $(built-program-file). Expand
2664 comment.
2665 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2666 ($(objpfx)x%.stmp): Likewise.
2667 * sunrpc/proto.h [IS_IN_build] (_): Define.
2668 [IS_IN_build] (_libc_intl_domainname): Likewise.
2669
c8c59454
L
26702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2671
2672 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2673 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2674 and R_X86_64_TPOFF64.
2675
6f27cd16
JM
26762012-05-10 Joseph Myers <joseph@codesourcery.com>
2677
2678 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2679 sysdeps/unix/sysv/syscalls.list.
2680 (stime): Likewise.
2681 (utime): Likewise.
2682 * sysdeps/unix/sysv/syscalls.list: Remove file.
2683
02467e1c
PE
26842012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2685
2686 [BZ #3440]
2687 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2688 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2689 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2690 (__LC_IDENTIFICATION): Make these macros useful in #if
2691 expressions, as required by C99.
2692
da392631
AS
26932012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2694
2695 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2696 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2697 after this.
2698
8115f29b
L
26992012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2700
2701 * stdlib/longlong.h: Updated from GCC.
2702
bdd74070
AJ
27032012-05-09 Andreas Jaeger <aj@suse.de>
2704
edfe0dbe
AJ
2705 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2706 default is first entry.
2707 (run_mode): Set type.
2708 (main): Remove informal message about syslog.
2709 (options): Fix typo.
2710
bcfe3a54
ST
2711 [BZ #14053]
2712 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 2713 to asm.
bcfe3a54
ST
2714 (lrint): Likewise.
2715 (llrintf): Likewise.
2716 (llrint): Likewise.
2717 (rint): Likewise.
2718 (rintf): Likewise.
2719 (nearbyint): Likewise.
2720 (nearbyintf): Likewise.
bdd74070 2721
91d8d69e
AJ
27222012-05-09 Andreas Jaeger <aj@suse.de>
2723 Pedro Alves <palves@redhat.com>
2724
2725 * nscd/nscd.c (run_mode): Use enum.
2726 (main): Cleanup coding style issue.
2727
bb90b80b
AJ
27282012-05-09 Alexandre Oliva <aoliva@redhat.com>
2729 Andreas Jaeger <aj@suse.de>
2730
bcfe3a54
ST
2731 * nscd/nscd.c (go_background): Replaced with...
2732 (run_mode): ... this.
bb90b80b 2733 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
2734 (options): Add -F --foreground.
2735 (main): Implement it.
2736 (parse_opt): Parse it.
bb90b80b 2737
1a4b75a1
AJ
27382012-05-09 Andreas Jaeger <aj@suse.de>
2739
2740 [BZ #14083]
2741 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2742 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2743 -Wconversion warning.
2744 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2745 Likewise.
2746
b1cc2472
JM
27472012-05-09 Joseph Myers <joseph@codesourcery.com>
2748
2749 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2750 == 0.
2751 (LC_ALL): Use macro-int-constant.
2752 (LC_COLLATE): Likewise.
2753 (LC_CTYPE): Likewise.
2754 (LC_MESSAGES): Likewise.
2755 (LC_MONETARY): Likewise.
2756 (LC_NUMERIC): Likewise.
2757 (LC_TIME): Likewise.
2758 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2759 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2760 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2761 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2762 Specify type.
2763 [C99-based standards] (float_t): Expect type.
2764 [C99-based standards] (double_t): Expect type.
2765 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2766 type.
2767 [C99-based standards] (HUGE_VALL): Likewise.
2768 [C99-based standards] (INFINITY): Likewise.
2769 [C99-based standards] (NAN): Likewise.
2770 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2771 [C99-based standards] (FP_NAN): Likewise.
2772 [C99-based standards] (FP_NORMAL): Likewise.
2773 [C99-based standards] (FP_SUBNORMAL): Likewise.
2774 [C99-based standards] (FP_ZERO): Likewise.
2775 [C99-based standards] (FP_FAST_FMA): Use
2776 optional-macro-int-constant. Specify type. Require == 1.
2777 [C99-based standards] (FP_FAST_FMAF): Likewise.
2778 [C99-based standards] (FP_FAST_FMAL): Likewise.
2779 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2780 [C99-based standards] (FP_ILOGBNAN): Likewise.
2781 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2782 Specify type.
2783 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2784 [C99-based standards] (math_errhandling): Specify type.
2785 [ISO99 || ISO11] (signgam): Do not allow.
2786 [non-C99-based standards] (copysignf): Do not allow.
2787 [non-C99-based standards] (exp2f): Likewise.
2788 [non-C99-based standards] (log2f): Likewise.
2789 [non-C99-based standards] (modff): Allow.
2790 [non-C99-based standards] (erff): Do not allow.
2791 [non-C99-based standards] (erfcf): Likewise.
2792 [non-C99-based standards] (gammaf): Likewise.
2793 [non-C99-based standards] (hypotf): Likewise.
2794 [non-C99-based standards] (j0f): Likewise.
2795 [non-C99-based standards] (j1f): Likewise.
2796 [non-C99-based standards] (jnf): Likewise.
2797 [non-C99-based standards] (lgammaf): Likewise.
2798 [non-C99-based standards] (tgammaf): Likewise.
2799 [non-C99-based standards] (y0f): Likewise.
2800 [non-C99-based standards] (y1f): Likewise.
2801 [non-C99-based standards] (ynf): Likewise.
2802 [non-C99-based standards] (isnanf): Likewise.
2803 [non-C99-based standards] (acoshf): Likewise.
2804 [non-C99-based standards] (asinhf): Likewise.
2805 [non-C99-based standards] (atanhf): Likewise.
2806 [non-C99-based standards] (cbrtf): Likewise.
2807 [non-C99-based standards] (expm1f): Likewise.
2808 [non-C99-based standards] (ilogbf): Likewise.
2809 [non-C99-based standards] (log1pf): Likewise.
2810 [non-C99-based standards] (logbf): Likewise.
2811 [non-C99-based standards] (nextafterf): Likewise.
2812 [non-C99-based standards] (remainderf): Likewise.
2813 [non-C99-based standards] (rintf): Likewise.
2814 [non-C99-based standards] (scalbf): Likewise.
2815 [non-C99-based standards] (copysignl): Likewise.
2816 [non-C99-based standards] (exp2l): Likewise.
2817 [non-C99-based standards] (log2l): Likewise.
2818 [non-C99-based standards] (modfl): Allow.
2819 [non-C99-based standards] (erfl): Do not allow.
2820 [non-C99-based standards] (erfcl): Likewise.
2821 [non-C99-based standards] (gammal): Likewise.
2822 [non-C99-based standards] (hypotl): Likewise.
2823 [non-C99-based standards] (j0l): Likewise.
2824 [non-C99-based standards] (j1l): Likewise.
2825 [non-C99-based standards] (jnl): Likewise.
2826 [non-C99-based standards] (lgammal): Likewise.
2827 [non-C99-based standards] (tgammal): Likewise.
2828 [non-C99-based standards] (y0l): Likewise.
2829 [non-C99-based standards] (y1l): Likewise.
2830 [non-C99-based standards] (ynl): Likewise.
2831 [non-C99-based standards] (isnanl): Likewise.
2832 [non-C99-based standards] (acoshl): Likewise.
2833 [non-C99-based standards] (asinhl): Likewise.
2834 [non-C99-based standards] (atanhl): Likewise.
2835 [non-C99-based standards] (cbrtl): Likewise.
2836 [non-C99-based standards] (expm1l): Likewise.
2837 [non-C99-based standards] (ilogbl): Likewise.
2838 [non-C99-based standards] (log1pl): Likewise.
2839 [non-C99-based standards] (logbl): Likewise.
2840 [non-C99-based standards] (nextafterl): Likewise.
2841 [non-C99-based standards] (remainderl): Likewise.
2842 [non-C99-based standards] (rintl): Likewise.
2843 [non-C99-based standards] (scalbl): Likewise.
2844 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2845 [non-C99-based standards] (FP_*): Do not allow.
2846 [C99-based standards] (FP_*): Change to
2847 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2848 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2849 allow.
2850 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2851 (SIG_ERR): Likewise.
2852 [X/Open-based standards] (SIG_HOLD): Likewise.
2853 (SIG_IGN): Likewise.
2854 (SIGABRT): Use macro-int-constant. Specify type. Require
2855 positive value.
2856 (SIGFPE): Likewise.
2857 (SIGILL): Likewise.
2858 (SIGINT): Likewise.
2859 (SIGSEGV): Likewise.
2860 (SIGTER): Likewise.
2861 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2862 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2863 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2864 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2865 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2866 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2867 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2868 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2869 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2870 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2871 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2872 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2873 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2874 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2875 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2876 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2877 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2878 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2879 [X/Open-based standards] (SIGTRAP): Likewise.
2880 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2881 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2882 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2883 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2884 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2885 allow.
2886
b9f1922d
IW
28872012-05-08 Ian Wienand <ianw@vmware.com>
2888
2889 [BZ #14080]
2890 * time/tzset.c (__tzset_parse_tz): Update default rules for
2891 daylight time changes in the Energy Policy Act of 2005.
2892
1db86e88
AJ
28932012-05-09 Andreas Jaeger <aj@suse.de>
2894
2895 [BZ #13983]
2896 * elf/ldconfig.c (parse_conf): Change string to make clear that
2897 ldconfig only issued a warning if ld.so.conf does not exist.
2898
dee4a4e3
DM
28992012-05-08 David S. Miller <davem@davemloft.net>
2900
ee0db190
DM
2901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2902 movxtod instead of popping the value on the stack.
2903
dee4a4e3
DM
2904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2905
6a43ec98
CD
29062012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2907
2908 * config.h.in: Add HAVE_ARM_PCS_VFP.
2909
05c2c961
RMG
29102012-05-08 Roland Mc Grath <roland@hack.frob.com>
2911
bcfe3a54
ST
2912 [BZ #13979]
2913 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2914 checking but the checks are disabled for any reason.
05c2c961 2915
4b30f61a
L
29162012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2917
2918 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2919 and ELF64_R_TYPE with ELFW(R_TYPE).
2920
eee2bc67
JM
29212012-05-08 Joseph Myers <joseph@codesourcery.com>
2922
7ea5391a
JM
2923 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2924 (ulimit): Likewise.
2925
eee2bc67
JM
2926 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2927 (settimeofday): Likewise.
2928
abb66a67
MF
29292012-05-08 Mike Frysinger <vapier@gentoo.org>
2930
2931 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2932 a struct th_u2 inside the union, and move tu_block/tu_code into
2933 a new th_u3 union of tu_block/tu_code inside of that. Move
2934 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
2935 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
2936 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2937 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
2938 (th_stuff): Change to th_u1.tu_stuff.
2939 (th_data): Define.
2940 (th_msg): Change to th_u1.th_u2.tu_data.
2941
7f18b530
DM
29422012-05-07 David S. Miller <davem@davemloft.net>
2943
05760585
DM
2944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2945
7f18b530
DM
2946 [BZ #14074]
2947 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2948 (SETUP_PIC_REG): Use it.
2949 (SETUP_PIC_REG_LEAF): Use it.
2950
495fd99f
JM
29512012-05-07 Joseph Myers <joseph@codesourcery.com>
2952
2953 [BZ #13885]
2954 [BZ #13923]
2955 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2956 USE_AS_EXPM1L.
2957 (EXPL_FINITE): Likewise.
2958 (FLDLOG): Likewise.
2959 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2960 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2961 e_expl.S.
2962 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2963 USE_AS_EXPM1L.
2964 (EXPL_FINITE): Likewise.
2965 (FLDLOG): Likewise.
2966 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2967 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2968 e_expl.S.
2969 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2970 test of -max_value argument for long double.
2971 * sysdeps/i386/fpu/libm-test-ulps: Update.
2972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2973
6693d694
DM
29742012-05-06 David S. Miller <davem@davemloft.net>
2975
2976 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2977 quad soft-float symbols whose references which are compiler
2978 generated.
2979 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2980
6c23e11c
JM
29812012-05-06 Joseph Myers <joseph@codesourcery.com>
2982
d8b82cad
JM
2983 [BZ #13884]
2984 [BZ #13914]
2985 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2986 USE_AS_EXP10L.
2987 (EXPL_FINITE): Likewise.
2988 (FLDLOG): Likewise.
2989 (c0): Likewise.
2990 (c1): Likewise.
2991 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2992 Adjust comments for base varying.
2993 (__expl_finite): Change alias to EXPL_FINITE.
2994 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
2995 e_expl.S.
2996 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
2997 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2998 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2999 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3000 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3001 USE_AS_EXP10L.
3002 (EXPL_FINITE): Likewise.
3003 (FLDLOG): Likewise.
3004 (c0): Likewise.
3005 (c1): Likewise.
3006 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3007 Adjust comments for base varying.
3008 (__expl_finite): Change alias to EXPL_FINITE.
3009 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3010 tests for bugs.
3011 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3012
6c23e11c
JM
3013 [BZ #14064]
3014 * math/libm-test.inc (check_float_internal): Correct ulp
3015 calculation for subnormal expected results.
3016
29ba805c
AJ
30172012-05-06 Andreas Jaeger <aj@suse.de>
3018
3019 * Makeconfig (+math-flags): New, set to -frounding-math.
3020 (+cflags): Add +math-flags so that all of glibc gets compiled with
3021 it.
3022
3023 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3024
7b17aeda
JM
30252012-05-05 Joseph Myers <joseph@codesourcery.com>
3026
5779f134
JM
3027 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3028 Disable one test.
3029
41498f4d
JM
3030 [BZ #13787]
3031 [BZ #13922]
3032 [BZ #14036]
3033 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3034 (__ieee754_expl): Allow for and saturate large arguments.
3035 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3036 (u_threshold): Likewise.
3037 (__exp): Call __ieee754_exp before checking for overflow and
3038 underflow.
3039 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3040 (u_threshold): Likewise.
3041 (__expf): Call __ieee754_expf before checking for overflow and
3042 underflow.
3043 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3044 (u_threshold): Likewise.
3045 (__expl): Call __ieee754_expl before checking for overflow and
3046 underflow.
3047 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3048 (__ieee754_expl): Allow for and saturate large arguments.
3049 * math/libm-test.inc (exp_test): Add another test. Do not allow
3050 missing overflow exception on overflow.
3051 (expm1_test): Do not allow missing overflow exception on overflow.
3052
6698b8bf
JM
3053 * sysdeps/i386/fpu/e_expl.c: Move to ...
3054 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3055 rather than using inline asm.
3056 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3057 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3058 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3059
7b17aeda
JM
3060 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3061 (nice): Likewise.
3062 (poll): Likewise.
3063 (signal): Likewise.
3064 (time): Likewise.
3065 (times): Likewise.
3066
f7c85819
JM
30672012-05-04 Joseph Myers <joseph@codesourcery.com>
3068
3069 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3070 sysdeps/unix/common/syscalls.list.
3071 (fchmod): Likewise.
3072 (fchown): Likewise.
3073 (ftruncate): Likewise.
3074 (getrusage): Likewise.
3075 (gettimeofday): Likewise.
3076 (setpgid): Likewise.
3077 (setregid): Likewise.
3078 (setreuid): Likewise.
3079 (sigaction): Likewise.
3080 (truncate): Likewise.
3081 (vhangup): Likewise.
3082 * sysdeps/unix/common/syscalls.list: Remove file.
3083 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3084 * sysdeps/unix/sysv/linux/Implies: Likewise.
3085
336270d0
L
30862012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3087
3088 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3090 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3091 Moved to ...
3092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3093 Here.
3094 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3095 to ...
3096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3097 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3098 to ...
3099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3100 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3101 to ...
3102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3103 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3104 to ...
3105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3106 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3107 to ...
3108 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3109 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3110 to ...
3111 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3112 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3113 to ...
3114 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3115 Here.
3116 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3117 to ...
3118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3119 Here.
3120 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3121 to ...
3122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3123 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3124 Moved to ...
3125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3126 Here.
3127 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3128 to ...
3129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3130
d128e450
JM
31312012-05-04 Joseph Myers <joseph@codesourcery.com>
3132
fa8ee516
JM
3133 * sysdeps/unix/common/bits/dirent.h: Remove file.
3134 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3135
d128e450
JM
3136 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3137 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3138 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3139 * sysdeps/unix/bsd/isatty.c: Likewise.
3140 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3141 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3142 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3143
ff8faaf0 31442012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3145
62881be4 3146 [BZ #13563]
31dc8730
AZ
3147 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3148 long double comparison inaccuracies.
3149 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3151
6fef930c
AS
31522012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3153
3154 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3155 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3156
8f203e6c
JM
31572012-05-04 Joseph Myers <joseph@codesourcery.com>
3158
3159 [BZ #14049]
3160 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3161 nonzero digits before rounding a hex value.
3162 * stdlib/tst-strtod.c (tests): Add another test.
3163
5197d9c2
AK
31642012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3165
3166 * sysdeps/s390/fpu/libm-test-ulps: Update.
3167
f0c1dedf
AJ
31682012-05-03 Andreas Jaeger <aj@suse.de>
3169
3170 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3171 does not get optimized out.
3172 (malloc_opt_barrier): New.
3173
a65ef2ae 31742012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3175 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3176
2b942cb7 3177 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3178 intermediate file deletion.
2b942cb7 3179 (generated): Add .symlist files.
a65ef2ae 3180
54b71e02
JM
31812012-05-03 Joseph Myers <joseph@codesourcery.com>
3182
3183 [BZ #13775]
3184 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3185 Redirect under this condition.
3186 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3187 [__USE_GNU] (__dprintf_chk): Not under this condition.
3188 [__USE_GNU] (__vdprintf_chk): Likewise.
3189 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3190 under this condition.
3191 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3192 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3193 [__USE_XOPEN2K8] (vdprintf): Likewise.
3194 [__USE_GNU] (__dprintf_chk): Not under this condition.
3195 [__USE_GNU] (__vdprintf_chk): Likewise.
3196 [__USE_GNU] (dprintf): Likewise.
3197 [__USE_GNU] (vdprintf): Likewise.
3198
d3dfcc41
RM
31992012-05-03 Roland McGrath <roland@hack.frob.com>
3200
3201 * elf/Makefile (common-generated): Set this instead of generated for
3202 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3203 $(all-built-dso)-derived lists.
3204
7ac30cc5
AJ
32052012-05-03 Andreas Jaeger <aj@suse.de>
3206
0c51e550
AJ
3207 * sysdeps/i386/fpu/libm-test-ulps: Update.
3208
7ac30cc5
AJ
3209 * FAQ: Removed.
3210 * FAQ.in: Likewise.
3211 * scripts/gen-FAQ.pl: Likewise.
3212 * manual/install.texi (Installation): Point to online location of
3213 FAQ.
3214 * Makefile (files-for-dist): Remove FAQ.
3215 (FAQ): Remove.
3216
d4c2917f
AM
32172012-05-02 Allan McRae <allan@archlinux.org>
3218
3219 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3220 (LDFLAGS-reldepmod5.so): Likewise.
3221 (LDFLAGS-reldep6mod1.so): Likewise.
3222 (LDFLAGS-reldep6mod4.so): Likewise.
3223 (LDFLAGS-reldep8mod3.so): Likewise.
3224 (LDFLAGS-unload4mod1.so): Likewise.
3225 (LDFLAGS-unload4mod2.so): Likewise.
3226 (LDFLAGS-tst-initorder): Likewise.
3227 (LDFLAGS-tst-initordera2.so): Likewise.
3228 (LDFLAGS-tst-initordera3.so): Likewise.
3229 (LDFLAGS-tst-initordera4.so): Likewise.
3230 (LDFLAGS-tst-initorderb2.so): Likewise.
3231 (LDFLAGS-noload): Likewise.
3232 (LDFLAGS-next): Likewise.
3233 (LDFLAGS-order2mod1.so): Likewise.
3234 (LDFLAGS-order2mod2.so): Likewise.
3235 (LDFLAGS-tst-initorder2): Likewise.
3236 (LDFLAGS-tst-initorder2a.so): Likewise.
3237 (LDFLAGS-tst-initorder2b.so): Likewise.
3238 (LDFLAGS-tst-initorder2c.so): Likewise.
3239 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3240
d77f993f
DM
32412012-05-02 David S. Miller <davem@davemloft.net>
3242
3243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3244
171a70b4
PP
32452012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3246
3247 [BZ #14055]
3248 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3249
0be196ad
AJ
32502012-05-02 Andreas Jaeger <aj@suse.de>
3251
3252 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3253 since we manipulate rounding mode.
3254 (CPPFLAGS-test-idouble.c): Likewise.
3255 (CPPFLAGS-test-ifloat.c): Likewise.
3256 (CFLAGS-test-ldouble.c): Likewise.
3257 (CFLAGS-test-double.c): Likewise.
3258 (CFLAGS-test-float.c): Likewise.
3259 (CFLAGS-test-misc.c): Likewise.
3260 (CFLAGS-test-test-fenv.c): Likewise.
3261
4f9d04aa
AZ
32622012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3263
2b942cb7
RM
3264 [BZ #2550]
3265 [BZ #2570]
3266 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3267 comparisons to determine direction to adjust input.
4f9d04aa 3268
82a79e7d
RM
32692012-05-01 Roland McGrath <roland@hack.frob.com>
3270
f5a01ca9
RM
3271 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3272 output to the target.
3273
90fe4186
RM
3274 * scripts/localplt.awk: New file.
3275 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3276 (check-localplt-CFLAGS): Variable removed.
3277 ($(all-built-dso:=.jmprel)): New static pattern rule.
3278 (generated): Add those targets.
3279 (localplt-built-dso): New variable.
3280 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3281
3282 * elf/check-localplt.c: File removed.
3283
82397ed6
RM
3284 * scripts/check-execstack.awk: New file.
3285 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3286 (check-execstack-CFLAGS): Variable removed.
3287 ($(objpfx)check-execstack.h): Target removed.
3288 ($(objpfx)execstack-default): New target.
3289 (generated): Add that instead of check-execstack.h.
3290 ($(all-built-dso:=.phdr)): New static pattern rule.
3291 (generated): Add those targets.
3292 * elf/check-execstack.c: File removed.
3293
82a79e7d
RM
3294 * scripts/check-textrel.awk: New file.
3295 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3296 (check-textrel-CFLAGS): Variable removed.
3297 (all-built-dso): Use := to define.o
3298 ($(all-built-dso:=.dyn)): New static pattern rule.
3299 (generated): Add those targets.
3300 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3301 * config.make.in (READELF): New substituted variable.
3302 * elf/check-textrel.c: File removed.
3303
62fde54f 33042012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3305
615605c9
JM
3306 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3307 allow.
3308 * conform/data/ctype.h-data [C99-based standards] (isblank):
3309 Expect function.
3310 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3311 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3312 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3313 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3314 Specify type. Require positive value.
3315 (EILSEQ): Likewise.
3316 (ERANGE): Likewise.
3317 [ISO || POSIX] (EILSEQ): Do not expect.
3318 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3319 Specify type. Require positive value.
3320 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3321 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3322 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3323 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3324 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3325 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3326 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3327 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3328 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3329 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3330 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3331 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3332 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3333 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3334 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3335 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3336 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3337 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3338 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3339 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3340 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3341 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3342 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3343 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3344 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3345 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3346 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3347 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3348 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3349 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3350 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3351 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3352 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3353 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3354 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3355 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3356 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3357 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3358 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3359 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3360 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3361 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3362 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3363 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3364 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3365 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3366 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3367 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3368 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3369 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3370 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3371 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3372 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3373 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3374 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3375 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3376 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3377 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3378 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3379 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3380 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3381 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3382 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3383 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3384 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3385 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3386 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3387 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3388 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3389 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3390 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3391 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3392 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3393 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3394 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3395 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3396 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3397 Require >= 2.
3398 (FLT_ROUNDS): Expect as macro, not constant.
3399 (FLT_MANT_DIG): Use macro-int-constant.
3400 (DBL_MANT_DIG): Likewise.
3401 (LDBL_MANT_DIG): Likewise.
3402 (FLT_DIG): Likewise.
3403 (DBL_DIG): Likewise.
3404 (LDBL_DIG): Likewise.
3405 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3406 (DBL_MIN_EXP): Likewise.
3407 (LDBL_MIN_EXP): Likewise.
3408 (FLT_MAX_EXP): Use macro-int-constant.
3409 (DBL_MAX_EXP): Likewise.
3410 (LDBL_MAX_EXP): Likewise.
3411 (FLT_MAX_10_EXP): Likewise.
3412 (DBL_MAX_10_EXP): Likewise.
3413 (LDBL_MAX_10_EXP): Likewise.
3414 (FLT_MAX): Use macro-constant.
3415 (DBL_MAX): Likewise.
3416 (LDBL_MAX): Likewise.
3417 (FLT_EPSILON): Use macro-constant. Give upper bound.
3418 (DBL_EPSILON): Likewise.
3419 (LDBL_EPSILON): Likewise.
3420 (FLT_MIN): Likewise.
3421 (DBL_MIN): Likewise.
3422 (LDBL_MIN): Likewise.
3423 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3424 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3425 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3426 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3427 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3428 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3429 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3430 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3431 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3432 [ISO11] (FLT_TRUE_MIN): Likewise.
3433 [ISO11] (LDBL_TRUE_MIN): Likewise.
3434 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3435 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3436 (SCHAR_MIN): Use macro-int-constant. Specify type.
3437 (SCHAR_MAX): Likewise.
3438 (UCHAR_MAX): Likewise.
3439 (CHAR_MIN): Likewise.
3440 (CHAR_MAX): Likewise.
3441 (MB_LEN_MAX): Use macro-int-constant.
3442 (SHRT_MIN): Use macro-int-constant. Specify type.
3443 (SHRT_MAX): Likewise.
3444 (USHRT_MAX): Likewise.
3445 (INT_MAX): Likewise.
3446 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3447 bound negative.
3448 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3449 bound with "U".
3450 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3451 bound with "L".
3452 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3453 bound negative. Suffix upper bound with "L".
3454 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3455 bound with "UL".
3456 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3457 Specify type.
3458 [C99-based standards] (LLONG_MAX): Likewise.
3459 [C99-based standards] (ULLONG_MAX): Likewise.
3460 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3461 == 0.
3462 [ISO11] (max_align_t): Require type.
3463 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3464
c9140a62
JM
3465 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3466 from $CFLAGS, without defining away __attribute__ calls.
3467 (checknamespace): Use $CFLAGS_namespace.
3468
9af0bf29
JM
3469 * conform/conformtest.pl (@keywords): Only include C99 keywords
3470 for standards based on C99 or C11.
3471
343222a2
JM
3472 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3473 Disable tests.
3474 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3475 UNIX98]: Likewise.
3476
661f8cf0
JM
3477 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3478 usability of symbols in #if.
3479
ee74b9cb
JM
3480 * conform/conformtest.pl: If macro or constant types start
3481 "promoted:", expect the symbol to be of the following type
3482 promoted by the integer promotions.
62fde54f 3483
aafc49b3
JM
3484 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3485 in one place. Also handle "macro-constant".
3486
fefdf574
JM
3487 * conform/conformtest.pl: Only accept expected macro values with
3488 "==". Parse all "macro" lines in one place.
3489 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3490
f2d922fe
JM
3491 * conform/conformtest.pl: Handle braced types on "constant" lines
3492 instead of handling "typed-constant".
3493 * conform/data/signal.h-data: Use "constant" instead of
3494 "typed-constant".
3495
d22956c9
JM
3496 * conform/conformtest.pl: Handle "optional-" at start of lines in
3497 one place rather than duplicating several cases. Handle each
3498 format of "macro" line with initial "optional-".
3499
028e2e38
JM
3500 * conform/conformtest.pl: Only accept expected constant or
3501 optional-constant values with "==". Parse all "constant" lines in
3502 one place. Parse all "optional-constant" lines in one place.
3503 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3504 * conform/data/fmtmsg.h-data: Likewise.
3505 * conform/data/netinet/in.h-data: Likewise.
3506 * conform/data/tar.h-data: Likewise.
3507 * conform/data/limits.h-data: Use "==" form on "constant" and
3508 "optional-constant" lines.
3509
1b8f2850
JM
3510 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3511 Use -std=c99 for XOPEN2K.
3512 (@knownproblems): Remove.
3513 (newtoken): Don't check %isknown.
3514
a05a144b
JM
3515 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3516 Do not expect macro.
3517 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3518 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3519 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3520 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3521 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3522 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3523 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3524 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3525 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3526 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3527 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3528 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3529 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3530 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3531 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3532 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3533 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3534 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3535 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3536 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3537 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3538 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3539 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3540 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3541 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3542 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3543 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3544 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3545 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3546 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3547 [XPG3] (acosh): Likewise.
3548 [XPG3] (asinh): Likewise.
3549 [XPG3] (atanh): Likewise.
3550 [XPG3] (cbrt): Likewise.
3551 [XPG3] (expm1): Likewise.
3552 [XPG3] (ilogb): Likewise.
3553 [XPG3] (log1p): Likewise.
3554 [XPG3] (logb): Likewise.
3555 [XPG3] (nextafter): Likewise.
3556 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3557 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3558 [XPG3] (remainder): Likewise.
3559 [XPG3] (rint): Likewise.
3560 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3561 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3562 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3563 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3564 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3565 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3566 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3567 [UNIX98 || XOPEN2K] (scalb): Expect.
3568 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3569 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3570 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3571 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3572 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3573 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3574 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3575 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3576 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3577 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3578 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3579 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3580 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3581 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3582 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3583 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3584 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3585 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3586 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3587 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3588 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3589 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3590 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3591 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3592 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3593 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3594 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3595 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3596 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3597 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3598 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3599 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3600 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3601 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3602 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3603 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3604 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3605 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3606 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3607 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3608 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3609 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3610 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3611 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3612 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3613 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3614 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3615 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3616 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3617 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3618 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3619 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3620 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3621 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3622 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3623 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3624 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3625 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3626 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3627 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3628 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3629 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3630 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3631 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3632 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3633 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3634 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3635 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3636 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3637 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3638 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3639 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3640 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3641 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3642 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3643 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3644 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3645 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3646 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3647 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3648 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3649 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3650 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3651 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3652 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3653 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3654 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3655 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3656 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3657 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3658 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3659 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3660 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3661 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3662 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3663 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3664 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3665 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3666 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3667 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3668 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3669 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3670 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3671 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3672 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3673 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3674 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3675 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3676 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3677 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3678 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3679 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3680 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3681 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3682 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3683 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3684 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3685 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3686 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3687 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3688 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3689 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3690 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3691 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3692 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3693 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3694 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3695 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3696 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3697 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3698 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3699 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3700 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3701 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3702 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3703 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3704 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3705
73c5ebe3
JM
3706 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3707 _XOPEN_SOURCE_EXTENDED for XPG4.
3708
39c33b6c
JM
3709 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3710
62fde54f
JM
3711 * Makeconfig (localtime): Remove variable.
3712 (inst_localtime-file): Likewise.
3713
0741d64c
AS
37142012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3715
3716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3717 Update.
3718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3719 Update.
3720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3721 Update.
3722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3723 Update.
3724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3725 Update.
3726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3727 Update.
3728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3729 Update.
3730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3731 Update.
3732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3733 Update.
3734
7cb029ee
JM
37352012-05-01 Joseph Myers <joseph@codesourcery.com>
3736
3737 [BZ #2550]
3738 [BZ #2570]
3739 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3740 comparisons to determine direction to adjust input.
3741 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3742 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3743 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3744 Likewise.
3745 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3746 Likewise.
3747 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3748 Likewise.
3749 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3750 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3751 Likewise.
3752 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3753 Likewise.
3754 * math/libm-test.inc (nexttoward_test): Add more tests.
3755
412bd966
AS
37562012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3757
3758 [BZ #14040]
3759 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3760 in version GLIBC_2.1, not GLIBC_2.0.
3761 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3762 Likewise.
3763
9568c0c2
JM
37642012-04-30 Joseph Myers <joseph@codesourcery.com>
3765
adfbc8ac
JM
3766 [BZ #13942]
3767 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3768 (1 - x) * (1 + x).
3769 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3770 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3771 * math/libm-test.inc (acos_test): Add more tests.
3772 (asin_test): Likewise.
3773 * sysdeps/i386/fpu/libm-test-ulps: Update.
3774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3775
5ba3cc69
JM
3776 [BZ #14034]
3777 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3778 of square root.
3779 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3780 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3781 * math/libm-test.inc (acos_test_tonearest): New function.
3782 (acos_test_towardzero): Likewise.
3783 (acos_test_downward): Likewise.
3784 (acos_test_upward): Likewise.
3785 (asin_test_tonearest): Likewise.
3786 (asin_test_towardzero): Likewise.
3787 (asin_test_downward): Likewise.
3788 (asin_test_upward): Likewise.
3789 (main): Call the new functions.
3790 * sysdeps/i386/fpu/libm-test-ulps: Update.
3791 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3792
9568c0c2
JM
3793 [BZ #13884]
3794 [BZ #13924]
3795 * math/e_exp10.c: Include <float.h>.
3796 (__ieee754_exp10): Handle underflow here rather than multiplying
3797 large negative argument by M_LN10.
3798 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3799 of __ieee754_expf.
3800 * math/e_exp10l.c: Include <float.h>.
3801 (__ieee754_exp10l): Handle underflow here rather than multiplying
3802 large negative argument by M_LN10l.
3803 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3804 spurious overflow exception on underflow.
3805
5ac3ea17
MP
38062012-04-29 Marek Polacek <polacek@redhat.com>
3807
3808 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3809 (__fortify_function): New macro.
3810 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3811 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3812 __extern_always_inline.
3813 * libio/bits/stdio2.h: Likewise.
3814 * libio/bits/stdio.h: Likewise.
3815 * string/string.h: Likewise.
3816 * string/bits/string3.h: Likewise.
3817 * include/stdio.h: Likewise.
3818 * stdlib/bits/stdlib.h: Likewise.
3819 * stdlib/stdlib.h: Likewise.
3820 * rt/bits/mqueue2.h: Likewise.
3821 * rt/mqueue.h: Likewise.
3822 * posix/bits/unistd.h: Likewise.
3823 * posix/unistd.h: Likewise.
3824 * io/bits/poll2.h: Likewise.
3825 * io/bits/fcntl2.h: Likewise.
3826 * io/fcntl.h: Likewise.
3827 * io/sys/poll.h: Likewise.
3828 * misc/bits/syslog.h: Likewise.
3829 * misc/bits/syslog-ldbl.h: Likewise.
3830 * misc/sys/syslog.h: Likewise.
3831 * socket/bits/socket2.h: Likewise.
3832 * socket/sys/socket.h: Likewise.
3833 * debug/tst-chk1.c: Likewise.
3834 * wcsmbs/bits/wchar2.h: Likewise.
3835 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3836 * wcsmbs/wchar.h: Likewise.
3837
ecf0ebfb
AJ
38382012-04-29 Andreas Jaeger <aj@suse.de>
3839
3840 * Makerules (tests): Remove enable-check-abi protection.
3841 (check-abi-warn): Remove.
3842 (check-abi-%): Remove check-abi-warn usage.
3843
3844 * configure.in: Remove check-abi configure option.
3845 * configure: Regenerated.
3846 * config.make.in (enable-check-abi): Remove.
3847
6d5c57fa
AS
38482012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3849
24c5d07e 3850 [BZ #14033]
ded5180a
AS
3851 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3852 double functions to double *_finite functions.
3853
7e0d315d
AS
3854 [BZ #13941]
3855 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3856 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3857 LDBL_MIN_EXP.
3858 * stdio-common/Makefile (tests): Add tst-sprintf3.
3859 * stdio-common/tst-sprintf3.c: New file.
3860
6d5c57fa
AS
3861 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3862 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3863
0749ff8b
JM
38642012-04-28 Joseph Myers <joseph@codesourcery.com>
3865
3866 * conform/conformtest.pl: Remove duplicate typed-constant
3867 handling.
3868
8dbd5d7b
DM
38692012-04-28 David S. Miller <davem@davemloft.net>
3870
3871 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3872 (check-abi-%): Remove AWK script prerequisite and explicit
3873 abilist directory.
3874 (check-abi): Rewrite to just diff the symlist with the abilist.
3875 (config-tls, config-abi-config): Delete, no longer used.
3876 (update-abi-%): Remove AWK script and explicit abilist directory.
3877 (update-abi): Rewrite to simply compare and conditionally copy the
3878 symlist and the sysdep abilist file. Remove update-abi-config
3879 checks.
3880 * abilist/ld.abilist: Remove.
3881 * abilist/libBrokenLocale.abilist: Remove.
3882 * abilist/libanl.abilist: Remove.
3883 * abilist/libcrypt.abilist: Remove.
3884 * abilist/libdl.abilist: Remove.
3885 * abilist/librt.abilist: Remove.
3886 * abilist/libthread_db.abilist: Remove.
3887 * abilist/libutil.abilist: Remove.
3888 * scripts/extract-abilist.awk: Remove.
3889 * scripts/merge-abilist.awk: Remove.
3890 * sysdeps/generic/libcidn.abilist: New file.
3891 * sysdeps/generic/libnss_compat.abilist: New file.
3892 * sysdeps/generic/libnss_db.abilist: New file.
3893 * sysdeps/generic/libnss_dns.abilist: New file.
3894 * sysdeps/generic/libnss_files.abilist: New file.
3895 * sysdeps/generic/libnss_hesiod.abilist: New file.
3896 * sysdeps/generic/libnss_nis.abilist: New file.
3897 * sysdeps/generic/libnss_nisplus.abilist: New file.
3898 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3899 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3900 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3901 file.
3902 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3903 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3904 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3905 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3906 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3907 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3908 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3909 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3910 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3911 file.
3912 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3913 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3914 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3915 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3916 file.
3917 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3918 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3919 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3920 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3921 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3922 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3923 file.
3924 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3925 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3926 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3927 file.
3928 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3929 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3930 New file.
3931 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3932 New file.
3933 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3934 New file.
3935 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3936 New file.
3937 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
3938 New file.
3939 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
3940 New file.
3941 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
3942 New file.
3943 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3944 New file.
3945 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3946 New file.
3947 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3948 New file.
3949 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3950 New file.
3951 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3952 New file.
3953 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3954 New file.
3955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3956 file.
3957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3958 New file.
3959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3960 New file.
3961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3962 file.
3963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3964 New file.
3965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3966 New file.
3967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3968 file.
3969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3970 New file.
3971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3972 New file.
3973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3974 New file.
3975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3976 New file.
3977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3978 New file.
3979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3980 New file.
3981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3983 file.
3984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3985 New file.
3986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3987 file.
3988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3989 file.
3990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3991 file.
3992 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
3993 file.
3994 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
3995 file.
3996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3997 New file.
3998 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
3999 file.
4000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4001 file.
4002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4003 New file.
4004 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4005 file.
4006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4008 file.
4009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4010 New file.
4011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4012 file.
4013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4014 file.
4015 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4016 file.
4017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4018 file.
4019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4020 file.
4021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4022 New file.
4023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4024 file.
4025 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4026 file.
4027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4028 New file.
4029 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4030 file.
4031 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4032 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4033 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4034 file.
4035 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4036 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4037 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4038 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4039 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4040 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4041 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4042 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4043 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4044 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4047 file.
4048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4049 New file.
4050 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4051 file.
4052 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4053 file.
4054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4055 file.
4056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4057 file.
4058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4059 file.
4060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4061 New file.
4062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4063 New file.
4064 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4065 file.
4066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4067 New file.
4068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4069 file.
4070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4072 file.
4073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4074 New file.
4075 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4076 file.
4077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4078 file.
4079 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4080 file.
4081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4082 file.
4083 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4084 file.
4085 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4086 New file.
4087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4088 New file.
4089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4090 file.
4091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4092 New file.
4093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4094 file.
4095
41d73a1b
JM
40962012-04-28 Joseph Myers <joseph@codesourcery.com>
4097
4098 * conform/conformtest.pl: Fix typo in handling typed-constant from
4099 allow-header.
4100
28aeeda4
JM
41012012-04-27 Joseph Myers <joseph@codesourcery.com>
4102
adae8f5e
JM
4103 * README: Cut down references to pre-2.6 Linux kernels and
4104 Linuxthreads. Update lists of configurations in libc and ports
4105 and sort alphabetically. Say "or newer" with Linux kernel version
4106 requirements.
4107
28aeeda4
JM
4108 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4109
a462cb63
RA
41102012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4111
4112 [BZ #887]
4113 * math/libm-test.inc (logb_test_downward): New test to expose
4114 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4115 rounding mode.
4116
6ad3493e
JM
41172012-04-27 Joseph Myers <joseph@codesourcery.com>
4118
4119 [BZ #14027]
4120 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4121 to be done.
4122 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4123 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4124
2ce4f015
JM
41252012-04-26 Joseph Myers <joseph@codesourcery.com>
4126
5aeb141a
JM
4127 * sysdeps/unix/i386/brk.S: Remove file.
4128 * sysdeps/unix/i386/dl-brk.S: Likewise.
4129 * sysdeps/unix/i386/pipe.S: Likewise.
4130 * sysdeps/unix/i386/sigreturn.S: Likewise.
4131 * sysdeps/unix/i386/syscall.S: Likewise.
4132 * sysdeps/unix/i386/vfork.S: Likewise.
4133 * sysdeps/unix/i386/wait.S: Likewise.
4134
7143acae
JM
4135 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4136 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4137
2ce4f015
JM
4138 * configure.in (arm*-none*): Do not allow without
4139 --enable-hacker-mode.
4140 (netbsd*): Remove case setting base_os.
4141 (386bsd*): Likewise.
4142 (freebsd*): Likewise.
4143 (bsdi*): Likewise.
4144 (osf*): Likewise.
4145 (sunos*): Likewise.
4146 (ultrix*): Likewise.
4147 (newsos*): Likewise.
4148 (dynix*): Likewise.
4149 (*bsd*): Likewise.
4150 (sysv*): Likewise.
4151 (isc*): Likewise.
4152 (esix*): Likewise.
4153 (sco*): Likewise.
4154 (minix*): Likewise.
4155 (irix4*): Likewise.
4156 (irix6*): Likewise.
4157 (solaris[2-9]*): Likewise.
4158 (none): Likewise.
4159 * configure: Regenerated.
4160
0ac229c8
AZ
41612012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4162
4163 [BZ #11521]
4164 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4165 overflow or cancellation in calculating denominator.
4166 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4167 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4168 down expression to avoid unexpected rounding in newer GCCs.
4169 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4170
33f244f4
DM
41712012-04-26 David S. Miller <davem@davemloft.net>
4172
4173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4174 long-double compat symbols.
4175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4188
cfa1f3e8
DM
41892012-04-25 David S. Miller <davem@davemloft.net>
4190
4191 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4192 HWCAP_* values only after the memory barriers have been defined.
4193 (atomic_full_barrier): Define.
4194 (atomic_read_barrier): Define.
4195 (atomic_write_barrier): Define.
4196
6e236b92
SP
41972012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4198
4199 * shlib-versions: Add libgcc_s version information.
4200 * sysdeps/generic/libgcc_s.h: Remove.
4201 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4202 libgcc_s.h.
4203 * sysdeps/gnu/unwind-resume.c: Likewise.
4204 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4205
aab39a09
DM
42062012-04-25 David S. Miller <davem@davemloft.net>
4207
4208 * sysdeps/unix/sparc/brk.S: Delete.
4209 * sysdeps/unix/sparc/dl-brk.S: Delete.
4210 * sysdeps/unix/sparc/pipe.S: Delete.
4211 * sysdeps/unix/sparc/sysdep.S: Delete.
4212 * sysdeps/unix/sparc/sysdep.h: Delete.
4213 * sysdeps/unix/sparc/vfork.S: Delete.
4214 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4215 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4216 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4217 ret_ERRVAL, r0, r1, MOVE): Define.
4218 (JUMPTARGET): Remove.
4219 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4220 sysdeps/unix/sparc/sysdep.h
4221 (ENTRY, END): Remove.
4222 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4223
a3cc4f48
JM
42242012-04-25 Joseph Myers <joseph@codesourcery.com>
4225
2ed8cda2
JM
4226 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4227 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4228 -DIS_IN_build.
4229
35d76d59
JM
4230 * timezone/README: Update upstream location and email address for
4231 tzcode and tzdata.
4232 * timezone/zdump.c: Update from tzcode 2012b.
4233 * timezone/zic.c: Likewise.
4234
a3cc4f48
JM
4235 * configure.in (libc_cv_as_needed): Remove test.
4236 * configure: Regenerated.
4237 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4238 conditional definition.
4239 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4240 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4241 * config.make.in (have-as-needed): Remove variable.
4242
ceab42c3
SP
42432012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4244 Paul Pluzhnikov <ppluzhnikov@google.com>
4245
4246 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4247 strings correctly.
4248
3ce2865f
CLT
42492012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4250
4251 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4252 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4253 * sysdeps/sh/strlen.S: Likewise.
4254
f37e0d68
JM
42552012-04-24 Joseph Myers <joseph@codesourcery.com>
4256
ae186e9a
JM
4257 * sysdeps/unix/fork.S: Remove file.
4258 * sysdeps/unix/i386/fork.S: Likewise.
4259 * sysdeps/unix/sparc/fork.S: Likewise.
4260
b96914af
JM
4261 * sysdeps/unix/system.c: Remove file.
4262 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4263
f37e0d68
JM
4264 * sysdeps/unix/getegid.S: Remove file.
4265 * sysdeps/unix/geteuid.S: Likewise.
4266
87ef29ca
RM
42672012-04-24 Roland McGrath <roland@hack.frob.com>
4268
83bcd236
RM
4269 * scripts/check-localplt.awk: New file.
4270 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4271 of diff.
4272 * scripts/data/localplt-generic.data: Add a comment.
4273
87ef29ca
RM
4274 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4275 NODE when __dir_mkfile failed.
4276 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4277 Reported by Ludovic Courtès <ludo@gnu.org>.
4278
e5a6e567
AJ
42792012-04-24 Andreas Jaeger <aj@suse.de>
4280
4281 * Makerules (common-clean): Also remove gen-as-const-headers
4282 files.
4283
c1820385
JM
42842012-04-24 Joseph Myers <joseph@codesourcery.com>
4285
4286 * Makerules (native-compile): Do not change working directory for
4287 build. Use $(OUTPUT_OPTION) in command.
4288 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4289
94e02fc4
AZ
42902012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4291
4292 [BZ #13886]
4293 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4294 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4295 * math/libm-test.inc (floor_test): Add more tests.
4296 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4297
3a533ca3
JM
42982012-04-24 Joseph Myers <joseph@codesourcery.com>
4299
940ab4b3
JM
4300 * sysdeps/unix/getdents.c: Remove file.
4301 * sysdeps/unix/sysv/getdents.c: Likewise.
4302 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4303
90e037bd
JM
4304 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4305 sysdeps/unix/mman/syscalls.list.
4306 (mmap): Likewise.
4307 (mprotect): Likewise.
4308 (msync): Likewise.
4309 (munmap): Likewise.
4310 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4311 * sysdeps/unix/mman/syscalls.list: Remove.
4312 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4313
3a533ca3
JM
4314 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4315 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4316 * configure: Regenerated.
4317 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4318 $(libgcc_s_suffix).
4319 * config.make.in (libgcc_s_suffix): Remove variable.
4320
1ad743de
JM
43212012-04-23 Joseph Myers <joseph@codesourcery.com>
4322
4ad451e2
JM
4323 * sysdeps/unix/sysv/gethostname.c: Move to ...
4324 * sysdeps/posix/gethostname.c: ... here.
4325
5e37ce39
JM
4326 * sysdeps/unix/execve.S: Remove file.
4327
1ad743de
JM
4328 * sysdeps/unix/_exit.S: Remove file.
4329
4e681b5b
AJ
43302012-04-23 Andreas Jaeger <aj@suse.de>
4331
4332 [BZ #13739]
4333 * manual/Makefile: Remove make dist support, there's no
4334 need for a stand-alone documentation tar ball.
4335 (TEXI2DVI): Define always, it's not in Makeconfig.
4336 (dist): Removed.
4337 (tar-it): Removed.
4338 (edition): Removed.
4339 (glibc-doc-$(edition).tar): Removed
4340 (%.Z): Removed.
4341 (%.gz): Removed.
4342 (%.uu): Removed.
4343 (ETAGS): Remove, it's in Makeconfig.
4344 (move-if-change): Remove, it's in Makeconfig.
4345
c0baea34
PE
43462013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4347
4348 [BZ #13970]
4349 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4350 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4351 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4352 (strtod_l, strtof_l, strtold_l): Remove __wur.
4353 It is not necessarily an error to ignore strtol's return value.
4354 One can reliably look at the stored endptr to decide whether
4355 the number had valid syntax.
4356
7c0616fa
AJ
43572012-04-21 Andreas Jaeger <aj@suse.de>
4358
803cb6b7 4359 [BZ #13739]
7c0616fa
AJ
4360 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4361
b0fe253f
JM
43622012-04-21 Joseph Myers <joseph@codesourcery.com>
4363
4364 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4365 * sysdeps/unix/sysv/Versions: Remove file.
4366
8280f22d
MT
43672012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4368
4369 [BZ #13927]
4370 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4371
75ce411f 43722012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4373
4374 [BZ #7064]
4375 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4376 version from __vm86.
4377
097d59fa
JM
43782012-04-20 Joseph Myers <joseph@codesourcery.com>
4379
a90f3bcb
JM
4380 * sysdeps/unix/common/lxstat.c: Remove file.
4381 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4382
edc7ea78
JM
4383 * sysdeps/unix/sysv/Makefile: Remove file.
4384
cb78c221
JM
4385 * sysdeps/unix/sysv/direct.h: Remove file.
4386
efa6a45f
JM
4387 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4388 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4389 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4390 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4391 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4392 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4393 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4394
9c9f2d0c
JM
4395 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4396
4541c83b
JM
4397 * sysdeps/unix/xmknod.c: Remove file.
4398 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4399
f5d153a0
JM
4400 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4401
aa746595
JM
4402 * sysdeps/unix/sysv/i386/time.S: Remove file.
4403
cce5905e
JM
4404 * sysdeps/unix/fxstat.c: Remove file.
4405 * sysdeps/unix/xstat.c: Likewise.
4406 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4407
37fa3841
JM
4408 * sysdeps/unix/sysv/sigaction.c: Remove file.
4409
ff1962a3
JM
4410 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4411 (sysdep_headers): Remove variable.
4412 [termio.h not in sysdep_headers] (generated): Likewise.
4413 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4414 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4415 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4416 * sysdeps/unix/sysv/tcflow.c: Likewise.
4417 * sysdeps/unix/sysv/tcflush.c: Likewise.
4418 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4419 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4420 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4421 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4422 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4423
e7740d31
JM
4424 * sysdeps/unix/siglist.c: Remove file.
4425
ee06f18b
JM
4426 * sysdeps/unix/getppid.S: Remove file.
4427
097d59fa
JM
4428 * sysdeps/unix/mkdir.c: Remove file.
4429 * sysdeps/unix/rmdir.c: Likewise.
4430
ff3d51ec
AS
44312012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4432
4433 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4434 ERR_MAX value.
4435 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4436 errlist-compat value.
4437
50f81fd7
DM
44382012-04-18 David S. Miller <davem@davemloft.net>
4439
4440 * sysdeps/generic/memcopy.h (reg_char): Delete.
4441 * debug/strcat_chk.c: Use char, not reg_char.
4442 * debug/strcpy_chk.c: Likewise.
4443 * debug/strncat_chk.c: Likewise.
4444 * debug/strncpy_chk.c: Likewise.
4445 * string/memchr.c: Likewise.
4446 * string/memrchr.c: Likewise.
4447 * string/rawmemchr.c: Likewise.
4448 * string/strcat.c: Likewise.
4449 * string/strchr.c: Likewise.
4450 * string/strchrnul.c: Likewise.
4451 * string/strcmp.c: Likewise.
4452 * string/strcpy.c: Likewise.
4453 * string/strncat.c: Likewise.
4454 * string/strncmp.c: Likewise.
4455 * string/strncpy.c: Likewise.
4456
8ff41c46
WS
44572012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4458
4459 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4460 __builtin_memcopy is called when src and dest ranges are known to not
4461 overlap.
4462
6b652f46
WS
44632012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4464
4465 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4466 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4467 fwd_align_merge macro call.
4468 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4469 bwd_align_merge macro call.
4470 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4471
b282631e
WS
44722012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4473
4474 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4475 bwd_align_merge macros.
4476 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4477 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4478 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4479
95aa737c
DM
44802012-04-18 David S. Miller <davem@davemloft.net>
4481
4482 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4483
7a99a614
AJ
44842012-04-18 Andreas Jaeger <aj@suse.de>
4485
4486 [BZ# 6794]
4487 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4488 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4489 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4490
4491 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4492 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4493 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4494
4495 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4496 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4497 Adjust for changed ldbl-128 files.
4498
4499 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4500 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4501 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4502
e5270c23
DM
45032012-04-17 David S. Miller <davem@davemloft.net>
4504
4505 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4506
fb5e92c9
AS
45072012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4508
4509 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4510 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4511 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4512 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4513 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4514 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4515
76da7265
AZ
45162012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4517
4518 [BZ #6794]
4519 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4520 * math/libm-test.inc: Add ilogb errno and exception tests.
4521 * math/w_ilogb.c: New file: ilogb wrapper.
4522 * math/w_ilogbf.c: New file: ilogbf wrapper.
4523 * math/w_ilogbl.c: New file: ilogbl wrapper.
4524 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4525 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4526 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4527 exception being thrown with 0.0 as argument.
4528 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4529 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4530 exception being thrown with 0.0 as argument.
4531 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4532 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4533 exception being thrown with 0.0 as argument.
4534 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4535 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4536 exception being thrown with 0.0 as argument.
4537 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4538 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 4539 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
4540 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4541 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4542 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4543 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4544 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4545 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4546
0396e69d
PB
45472012-04-17 Petr Baudis <pasky@ucw.cz>
4548
4549 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4550 with altivec.
4551
750b5926
MP
45522012-04-16 Marek Polacek <polacek@redhat.com>
4553
4554 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4555
751728a1
MP
45562012-04-16 Marek Polacek <polacek@redhat.com>
4557
4558 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4559 operands of fdivp instruction.
4560
34a27407
L
45612012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4562
4563 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4564 * elf/tst-auditmod3b.c: Likewise.
4565 * elf/tst-auditmod4b.c: Likewise.
4566 * elf/tst-auditmod5b.c: Likewise.
4567 * elf/tst-auditmod6b.c: Likewise.
4568 * elf/tst-auditmod6c.c: Likewise.
4569 * elf/tst-auditmod7b.c: Likewise.
4570 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4571 * sysdeps/x86_64/preconfigure.in: Likewise.
4572 * sysdeps/x86_64/preconfigure: Regenerated.
4573
7e73e17d
L
45742012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4575
4576 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4577 __ILP32__.
4578
c7a6ab72
AB
45792012-04-13 Antoine Balestrat <merkil33@gmail.com>
4580
4581 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4582 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4583
a9e8e0e0
CL
45842012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4585
4586 [BZ #13973]
4587 * locale/iso-639.def: Fix gl language name. Spotted by
4588 Yaron Shahrabani.
4589
ec98af7d
RM
45902012-04-12 Roland McGrath <roland@hack.frob.com>
4591
4592 [BZ #2074]
4593 * libio/libio.h (__io_write_fn): Update comment.
4594
247c3ede
PB
45952012-04-12 Petr Baudis <pasky@ucw.cz>
4596
4597 [BZ #2074]
4598 * stdio.texi (Hook Functions): The user provided writer function
4599 is not allowed to return -1.
4600
55939d6d
DM
46012012-04-11 David S. Miller <davem@davemloft.net>
4602
4603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4604
90020f5a
MF
46052012-04-11 Mike Frysinger <vapier@gentoo.org>
4606
4607 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4608 Add a leading slash to rtkaio.
4609
288f9098
JM
46102012-04-11 Jim Meyering <meyering@redhat.com>
4611
90020f5a
MF
4612 [BZ #11959]
4613 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4614 It is not necessarily an error to ignore fwrite's return
4615 value. One can reliably use ferror to test for errors after
4616 the fact.
288f9098 4617
4be2b570
L
46182012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4619
4620 * bits/types.h (__snseconds_t): New type.
4621 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4622
4623 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4624 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4625 (__SNSECONDS_T_TYPE): Likewise.
4626 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4627 (__SNSECONDS_T_TYPE): Likewise.
4628 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4629 (__SNSECONDS_T_TYPE): Likewise.
4630
288f9098 46312012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
4632
4633 [BZ #2636]
4634 * manual/time.texi (Processor Time): Return type of times is
4635 elapsed real time since an arbitrary point in the past.
4636 (CPU Time): Move CLK_TCK from here...
4637 (Processor Time): ...to here. Correct description.
4638 * manual/conf.texi (Constants for Sysconf): Correct description of
4639 _SC_CLK_TCK.
4640
d7dd4413
DM
46412012-04-10 David S. Miller <davem@davemloft.net>
4642
4643 [BZ #13967]
4644 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4645 where the is a gap between DT_REL(A) and DT_JMPREL.
4646
b46068fc
L
46472012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4648
4649 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4650 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4651 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4652
73d65cc3
SP
46532012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4654
4655 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4656 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4657 (dl_main): Handle --inhibit-cache.
4658 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4659 _dl_inhibit_cache.
4660 * elf/dl-load.c (_dl_map_object): Use it.
4661 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4662
bcc8d661
JM
46632012-04-09 Joseph Myers <joseph@codesourcery.com>
4664
8f9a2fae
JM
4665 [BZ #13872]
4666 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4667 (__ieee754_powl): Saturate large exponents rather than testing for
4668 overflow of y*log2(x).
4669 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4670 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4671 exceptions.
4672
bcc8d661
JM
4673 [BZ #11521]
4674 * math/s_ctan.c: Include <float.h>.
4675 (__ctan): Avoid internal overflow or cancellation in calculating
4676 denominator.
4677 * math/s_ctanf.c: Likewise.
4678 * math/s_ctanl.c: Likewise.
4679 * math/s_ctanh.c: Likewise.
4680 * math/s_ctanhf.c: Likewise.
4681 * math/s_ctanhl.c: Likewise.
4682 * math/libm-test.inc (ctan_test): Add more tests.
4683 (ctanh_test): Likewise.
4684 * sysdeps/i386/fpu/libm-test-ulps: Update.
4685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4686
823fbbb4
AJ
46872012-04-09 Andreas Jaeger <aj@suse.de>
4688
03879793
AJ
4689 [BZ #6894]
4690 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4691 is an optional BSD extension.
4692
823fbbb4
AJ
4693 [BZ #10254]
4694 * manual/stdio.texi (Opening Streams): Document additional fopen
4695 parameters.
4696
8de131cb
RM
46972012-04-09 Roland McGrath <roland@hack.frob.com>
4698
4699 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4700 %eax without telling the compiler.
4701
c0ed9d7d
CD
47022012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4703
4704 [BZ # 13963]
4705 * manual/install.texi: Use sourceware.org.
4706
c483f6b4
JM
47072012-04-09 Joseph Myers <joseph@codesourcery.com>
4708
d7dd9453
JM
4709 [BZ #13873]
4710 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4711 (__ieee754_pow): Generate overflow and underflow using huge*huge
4712 and tiny*tiny rather than just returning constant infinity or zero
4713 for large exponents.
4714 * math/libm-test.inc (pow_test): Require overflow exceptions for
4715 applicable cases of large exponents.
4716
c483f6b4
JM
4717 [BZ #706]
4718 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4719 (__ieee754_pow): Use iterative multiplication algorithm only for
4720 integer exponents with absolute value below 1024. Check for odd
4721 integer exponents when using algorithm for real exponents.
4722 * math/libm-test.inc (pow_test): Add more tests.
4723 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4724
d2de7579
JM
47252012-04-08 Joseph Myers <joseph@codesourcery.com>
4726
4727 [BZ #13705]
4728 * math/libm-test.inc (exp_test): Do not allow overflow exception
4729 on underflow test.
4730
f77f1232
AJ
47312012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4732
4733 [BZ #13705]
4734 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4735 instead of __kernel_standard_f.
4736
3884932b
MF
47372012-04-08 Mike Frysinger <vapier@gentoo.org>
4738
4739 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4740 * sysdeps/x86_64/memset_chk.S: Likewise.
4741
54472e9c
AJ
47422012-04-08 Andreas Jaeger <aj@suse.de>
4743
6ab0fbfc
AJ
4744 [BZ #10153]
4745 * manual/startup.texi (Environment Access): Describe return value
4746 for putenv and setenv.
4747
61efba8c
AJ
4748 [BZ #6895]
4749 * manual/filesys.texi (Directory Entries): Add description for
4750 DT_LNK.
4751
95c3f29a
AJ
4752 [BZ #6890]
4753 * manual/filesys.texi (Directory Entries): Clarify that it's file
4754 system not operating system in the description of DT_UNKNOWN.
4755
54472e9c
AJ
4756 [BZ #6578]
4757 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4758
624254b1
SC
47592012-04-08 Stephen Compall <s11@member.fsf.org>
4760
4761 [BZ #6649]
4762 * manual/llio.texi (Opening and Closing Files): Add cross
4763 reference to explain mode argument.
4764
1e4920e0
MF
47652012-04-07 Mike Frysinger <vapier@gentoo.org>
4766
4767 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4768 * sysdeps/x86_64/memset_chk.S: Likewise.
4769
5ed848f3
DM
47702012-04-07 David S. Miller <davem@davemloft.net>
4771
4772 * elf/elf.h (R_SPARC_WDISP10): Define.
4773 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4774 R_SPARC_SIZE32.
4775 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4776 R_SPARC_SIZE64 and R_SPARC_H34.
4777
96154cd8
CD
47782012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4779
4780 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4781 conditions and remove no longer applicable assertion.
4782
9904dc47
L
47832012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4784
4785 * bits/byteswap.h: Include <features.h>.
4786 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4787 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4788
f8887d0a
L
47892012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4790
4791 * bits/byteswap.h (__bswap_16): Removed.
4792 Include <bits/byteswap-16.h> to get __bswap_16.
4793 * sysdeps/i386/bits/byteswap.h: Likewise.
4794 * sysdeps/s390/bits/byteswap.h: Likewise.
4795 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4796 * bits/byteswap-16.h: New file.
4797 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4798 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4799 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4800 * string/Makefile (headers): Add bits/byteswap-16.h.
4801
62470f60
PP
48022012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4803
4804 [BZ #13895]
4805 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4806 extra indirection.
4807 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4808 * nss/tst-nss-static.c: New.
4809
4dad7bab
RM
48102012-04-06 Robert Millan <rmh@gnu.org>
4811
4812 [BZ #6486]
4813 * manual/llio.texi (File Position Primitive): lseek
4814 refers to WHENCE when it really means OFFSET.
4815
e9142a17
AJ
48162012-04-06 Andreas Jaeger <aj@suse.de>
4817
2c040eff
AJ
4818 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4819 strncmp declarations.
4820
e9142a17
AJ
4821 * abilist/libc.abilist: Add __poll and __ppoll.
4822
ff9f1c5f
DM
48232012-04-05 David S. Miller <davem@davemloft.net>
4824
dcd2ae90
DM
4825 * scripts/check-local-headers.sh: Accept a host triplet in the
4826 path matched by the exclude regexp.
4827
993eb054
DM
4828 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4829 definition.
4830 * sysdeps/powerpc/powerpc32/dl-machine.h
4831 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4832 * sysdeps/s390/s390-32/dl-machine.h
4833 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4834 * sysdeps/sparc/sparc32/dl-machine.h
4835 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4836 * sysdeps/sparc/sparc64/dl-machine.h
4837 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4838
ff9f1c5f
DM
4839 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4840 lazy binding.
48e2e132 4841 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
4842 undefined symbol errors.
4843
48e2e132 4844 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
4845 DT_NEEDED entries.
4846
e80d6f94
MM
48472012-04-05 Michael Matz <matz@suse.de>
4848
4849 [BZ #13592]
4850 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4851
349fa79f
AJ
48522012-04-05 Andreas Jaeger <aj@suse.de>
4853
4854 [BZ #13908]
4855 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4856 comment.
4857
f402708f
KK
48582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4859
4860 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4861 which ROUND is no valid rounding mode.
4862
2ecccfc9
KK
48632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4864
4865 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4866 read again.
4867 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4868
8a53f50f
KK
48692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4870
4871 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4872 an exception using FPU order intentionally.
4873
48742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4875
4876 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4877 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4878 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4879 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4880
d653abb7
SJ
48812012-04-05 Simon Josefsson <simon@josefsson.org>
4882
4883 [BZ #12340]
4884 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4885 EINVAL when BUFLEN is too smal.
4886
c3b1bf7d
TS
48872012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4888
4889 [BZ #13553]
4890 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4891 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4892
b1aa60f3
AJ
48932012-04-03 Andreas Jaeger <aj@suse.de>
4894
c3b1bf7d 4895 [BZ #13938]
67f60a26
AJ
4896 * manual/setjmp.texi (System V contexts): Fix sentence.
4897
b1aa60f3
AJ
4898 [BZ #13926]
4899 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4900 New macro for this case.
4901 [!__GNUC__] (__bswap_64): New inline function for this case.
4902 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4903 * bits/byteswap.h: Likewise.
4904 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4905 ull, guard with __GLIBC_HAVE_LONG_LONG.
4906
4907 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4908 __GLIBC_HAVE_LONG_LONG.
4909
4910 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4911 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4912
39c59c35
TMQMF
49132012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4914
4915 [BZ #13691]
4916 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4917 inptr and inend, rather than using last_ch.
4918
135ffda8
DM
49192012-04-02 David S. Miller <davem@davemloft.net>
4920
4921 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4922 * stdio-common/printf-parse.h (read_int): Change return type to
4923 'int', return -1 on INT_MAX overflow.
4924 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4925 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4926 overflows INT_MAX. Check for overflow of in-format-string precision
4927 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4928 SIZE_MAX not INT_MAX for integer overflow test.
4929 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4930 skip the construct in the format string but do not record anything.
4931 * stdio-common/bug22.c: Adjust to test both width/prevision
4932 INT_MAX overflow as well as total length INT_MAX overflow. Check
4933 explicitly for proper errno values.
4934
228c019e
TS
49352012-04-02 Thomas Schwinge <thomas@codesourcery.com>
4936
302cadd3
TS
4937 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
4938 CHAR_MAX.
4939 * string/test-strcmp.c [! WIDE]: Likewise.
4940 * time/tst-mktime2.c: Likewise for INT_MAX.
4941 * string/test-string.h: #include <sys/param.h> for MIN.
4942
228c019e
TS
4943 * csu/init-first.c (__libc_init_first): Call __ctype_init.
4944 * sysdeps/i386/init-first.c (init): Likewise.
4945 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4946 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4947 * sysdeps/sh/init-first.c (init): Likewise.
4948
cfa633f5
UD
49492012-04-01 Ulrich Drepper <drepper@gmail.com>
4950
4951 * po/ru.po: Update from translation team.
d1635ef8 4952 * po/vi.po: Likewise.
cfa633f5 4953
6cd0a5ea
SP
49542012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4955
4956 * resolv/nss_dns/dns-host.c: Merge copyright years.
4957
4b43400f
LD
49582012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4959
4960 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4961 Optimize memcpy with prefetch if
4962 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4963 src, dst pointers have unequal 16 byte alignments.
4964
48c41d04
SP
49652012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4966
4967 [BZ #13928]
4968 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4969 from a CNAME entry and return the minimum ttl for the query.
4970 (gaih_getanswer_slice): Likewise.
4971
b8dc394d
JL
49722012-03-30 Jeff Law <law@redhat.com>
4973
4974 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4975 due to long keys.
4976 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4977 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4978
2f5a5ed0
JL
4979 * resolv/nss_dns/dns-host.c: Update copyright year.
4980
1d39e359
UD
49812012-03-30 Ulrich Drepper <drepper@gmail.com>
4982
c030f70c 4983 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 4984 requests to save a system call. Fix check that all bytes are sent.
c030f70c 4985
1d39e359
UD
4986 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4987 comments for sendmmsg.
4988
49892012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
4990
4991 [BZ #13691]
4992 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
4993 with only 1 character between 0x0041 and 0x01b0.
4994 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
4995 * wcsmbs/tst-mbsnrtowcs.c: New file.
4996
20fde227
DM
49972012-03-29 David S. Miller <davem@davemloft.net>
4998
4999 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5000 small copies by hand.
5001
984a4237
JL
50022012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5003
5004 [BZ #13761]
5005 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5006 _nss_compat_initgroups_dyn): Fall back to malloc/free
5007 for large group memberships.
5008
18c9d62b
DM
50092012-03-28 David S. Miller <davem@davemloft.net>
5010
88d85d4f
DM
5011 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5012 that branches into memcpy.
5013 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5014 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5015 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5016 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5017 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5018 bits.
5019 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5020 implementation too.
5021 * sysdeps/sparc/mempcpy.S: New file.
5022
e5aa83e1
DM
5023 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5024 the IFUNC routine in the libc case.
5025 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5026
88570753
DM
5027 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5028 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5029 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5030 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5031 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5032 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5033 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5034 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5035
249d7567
DM
5036 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5037 loop to 256 bytes instead of 64 bytes and fix test signedness.
5038
18c9d62b
DM
5039 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5040 * sysdeps/sparc/sparc32/Makefile: rather than here...
5041 * sysdeps/sparc/sparc64/Makefile: and here.
5042
05f3d1f6
UD
50432012-03-28 Ulrich Drepper <drepper@gmail.com>
5044
5045 * malloc/mallocbug.c: Avoid warnings about unused variables.
5046
86ae07a8
JL
50472012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5048
5049 [BZ #13760]
5050 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5051 in the right place. Discard and retry query if response is
5052 larger than input buffer size.
5053
41bf21a1
JM
50542012-03-28 Joseph Myers <joseph@codesourcery.com>
5055
d6270972
JM
5056 [BZ #369]
5057 [BZ #2678]
5058 [BZ #3866]
5059 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5060 x for large integer exponent.
5061 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5062 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5063 sign of result as needed afterwards.
5064 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5065 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5066 result for underflowing pow the same as for overflow.
5067 (__kernel_standard_l): Handle powl overflow and underflow here
5068 rather than calling __kernel_standard.
5069 * math/libm-test.inc (pow_test): Add more tests.
5070
414fca03 5071 [BZ #3868]
41bf21a1
JM
5072 [BZ #13879]
5073 [BZ #13910]
5074 [BZ #13911]
5075 [BZ #13912]
5076 [BZ #13913]
5077 [BZ #13915]
5078 [BZ #13916]
5079 [BZ #13917]
5080 [BZ #13918]
5081 [BZ #13919]
5082 [BZ #13920]
5083 [BZ #13921]
5084 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5085 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5086 (__kernel_standard_l): New function.
5087 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5088 __kernel_standard.
5089 * math/w_acosl.c (__acosl): Likewise.
5090 * math/w_asinl.c (__asinl): Likewise.
5091 * math/w_atan2l.c (__atan2l): Likewise.
5092 * math/w_atanhl.c (__atanhl): Likewise.
5093 * math/w_coshl.c (__coshl): Likewise.
5094 * math/w_exp10l.c (__exp10l): Likewise.
5095 * math/w_exp2l.c (__exp2l): Likewise.
5096 * math/w_fmodl.c (__fmodl): Likewise.
5097 * math/w_hypotl.c (__hypotl): Likewise.
5098 * math/w_j0l.c (__j0l, __y0l): Likewise.
5099 * math/w_j1l.c (__j1l, __y1l): Likewise.
5100 * math/w_jnl.c (__jnl, __ynl): Likewise.
5101 * math/w_lgammal.c (__lgammal): Likewise.
5102 * math/w_log10l.c (__log10l): Likewise.
5103 * math/w_log2l.c (__log2l): Likewise.
5104 * math/w_logl.c (__logl): Likewise.
5105 * math/w_powl.c (__powl): Likewise.
5106 * math/w_remainderl.c (__remainderl): Likewise.
5107 * math/w_scalbl.c (sysv_scalbl): Likewise.
5108 * math/w_sinhl.c (__sinhl): Likewise.
5109 * math/w_sqrtl.c (__sqrtl): Likewise.
5110 * math/w_tgammal.c (__tgammal): Likewise.
5111 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5112 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5113 * math/libm-test.inc (acos_test): Add more tests.
5114 (acosh_test): Likewise.
5115 (asin_test): Likewise.
5116 (atanh_test): Likewise.
5117 (exp_test): Likewise.
5118 (exp10_test): Likewise.
5119 (exp2_test): Likewise.
5120 (expm1_test): Likewise.
5121 (lgamma_test): Likewise.
5122 (log_test): Likewise.
5123 (log10_test): Likewise.
5124 (log1p_test): Likewise.
5125 (log2_test): Likewise.
5126 (pow_test): Do not allow some spurious overflow exceptions.
5127 (sqrt_test): Add more tests.
5128 (tgamma_test): Likewise.
5129 (y0_test): Likewise.
5130 (y1_test): Likewise.
5131 (yn_test): Likewise.
5132
dd62fda6
AB
51332012-03-27 Anton Blanchard <anton@samba.org>
5134
5135 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5136 MAP_HUGETLB.
5137 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5138 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5139 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5140
1e3cdfda
AJ
51412012-03-27 David S. Miller <davem@davemloft.net>
5142
b855ab85
DM
5143 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5144
1e3cdfda
AJ
5145 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5146 have-as-vis3 check.
5147
51482012-03-27 Andreas Jaeger <aj@suse.de>
5149
5150 * sysdeps/x86_64/elf/configure.in: Moved to ...
5151 * sysdeps/x86_64/configure.in: ... here.
5152 * sysdeps/x86_64/elf/start.S: Moved to ...
5153 * sysdeps/x86_64/start.S: ... here.
5154 * sysdeps/x86_64/elf/configure: Delete.
5155
5156 * sysdeps/x86_64/configure.in: Merge contents from
5157 sysdeps/i386/configure.in (without i686 check).
5158
5159 * sysdeps/i386/elf/Versions: Merge into ...
5160 * sysdeps/i386/Versions: ... this.
5161 * sysdeps/i386/elf/Versions: Delete file.
5162 * sysdeps/i386/elf/start.S: Moved to ...
5163 * sysdeps/i386/start.S: ...here.
5164 * sysdeps/i386/elf/configure.in: Merge into...
5165 * sysdeps/i386/configure.in: ...here.
5166 * sysdeps/i386/elf/configure.in: Delete file.
5167 * sysdeps/i386/elf/configure: Delete file.
5168
5169 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5170 * debug/backtracesyms.c: ... here.
5171 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5172 * debug/backtracesymsfd.c: ... here.
5173 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5174 * sysdeps/generic/ifunc-sel.h: ... here.
5175
5176 * sysdeps/unix/i386/start.c: Delete file.
5177 * sysdeps/unix/sparc/start.c: Delete file.
5178 * sysdeps/unix/start.c: Delete file.
5179
5180 * sysdeps/sh/elf/configure.in: Moved to ...
5181 * sysdeps/sh/configure.in: ... here.
5182 * sysdeps/sh/elf/start.S: Moved to ...
5183 * sysdeps/sh/start.S: ... here.
5184 * sysdeps/sh/elf/configure: Delete file.
5185
5186 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5187 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5188 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5189 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5190 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5191 * sysdeps/powerpc/powerpc64/start.S: here.
5192 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5193 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5194 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5195 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5196 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5197
5198 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5199 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5200 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5201 * sysdeps/powerpc/powerpc32/start.S: ... here.
5202 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5203 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5204 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5205
5206 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5207 * sysdeps/powerpc/ifunc-sel.h: ... here.
5208 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5209 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5210
5211 * sysdeps/sparc/elf/configure.in: Moved to ...
5212 * sysdeps/sparc/configure.in: ... here.
5213 * sysdeps/sparc/elf/configure: Delete file.
5214 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5215 * sysdeps/sparc/sparc32/start.S: ... here.
5216 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5217 * sysdeps/sparc/sparc64/start.S: ... here.
5218 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5219 * sysdeps/sparc/sparc32/Makefile: ... this.
5220 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5221 * sysdeps/sparc/sparc64/Makefile: ... this.
5222
5223 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5224 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5225 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5226 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5227 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5228 * sysdeps/s390/s390-32/setjmp.S: ... here.
5229 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5230 * sysdeps/s390/s390-32/configure.in: ... here.
5231 * sysdeps/s390/s390-32/elf/configure: Delete file.
5232 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5233 * sysdeps/s390/s390-32/start.S: ... here.
5234
5235 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5236 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5237 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5238 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5239 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5240 * sysdeps/s390/s390-64/setjmp.S: ... here.
5241 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5242 * sysdeps/s390/s390-64/configure.in: ... here
5243 * sysdeps/s390/s390-64/elf/configure: Delete file.
5244 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5245 * sysdeps/s390/s390-64/start.S: ... here.
5246 * sysdeps/s390/s390-64/elf/configure: Delete.
5247
5248 * configure.in: Remove support for elf directories in sysdeps.
5249
5250 * configure: Regenerated.
5251 * sysdeps/i386/configure: Regenerated.
5252 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5253 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5254 * sysdeps/s390/s390-32/configure: Regenerated.
5255 * sysdeps/s390/s390-64/configure: Regenerated.
5256 * sysdeps/sh/configure: Regenerated.
5257 * sysdeps/sparc/configure: Regenerated.
5258 * sysdeps/x86_64/configure: Regenerated.
5259
a3f61311
AS
52602012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5261
c876e002
AS
5262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5263
a3f61311
AS
5264 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5265 denormal result into account.
5266
ac4c54f0
RM
52672012-03-25 Roland McGrath <roland@hack.frob.com>
5268
5269 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5270 Reported by Allan McRae <allan@archlinux.org>.
5271
6a9b9c02
JL
52722012-03-23 Jeff Law <law@redhat.com>
5273
5274 * nss/getnssent.c (__nss_getent): Fix typo.
5275
4c42a0c1
DM
52762012-03-23 David S. Miller <davem@davemloft.net>
5277
5278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5279
1532c7ac
L
52802012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5281
5282 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5283 to pad to uint64_t for each field.
5284 (dl_tls_index): Replace unsigned long with uint64_t.
5285
3ff42526
PP
52862012-03-23 Daniel Jacobowitz <dmj@google.com>
5287 Paul Pluzhnikov <ppluzhnikov@google.com>
5288
5289 [BZ #6528]
5290 * grp/Makefile (otherlibs): Don't set it.
5291 * inet/Makefile (otherlibs): Likewise.
5292 * login/Makefile (otherlibs): Likewise.
5293 * nscd/Makefile (otherlibs): Likewise.
5294 * posix/Makefile (otherlibs): Likewise.
5295 * pwd/Makefile (otherlibs): Likewise.
5296 * rt/Makefile (otherlibs): Likewise.
5297 * sunrpc/Makefile (otherlibs): Likewise.
5298 * nss/Makefile (otherlibs): Likewise.
5299 Add libnss_files to routines and static-only-routines.
5300 ($(objpfx)getent): Remove rule.
5301 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5302 static-only-routines.
5303
7c69cd14
JM
53042012-03-22 Joseph Myers <joseph@codesourcery.com>
5305
5306 [BZ #13892]
5307 * math/s_cexp.c: Include <float.h>.
5308 (__cexp): Handle exp result overflowing not necessarily
5309 overflowing both real and imaginary parts of result.
5310 * math/s_cexpf.c: Likewise.
5311 * math/s_cexpl.c: Likewise.
5312 * math/libm-test.inc (cexp_test): Add more tests.
5313 * sysdeps/i386/fpu/libm-test-ulps: Update.
5314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5315
81b035fe
L
53162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5317
5318 * include/link.h (ELFW): New macro.
5319 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5320 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5321
1da7940c
L
53222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5323
5324 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5325 with uint64_t.
5326
b749dbb9
L
53272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5328
5329 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5330 declaration.
5331 (struct La_x32_retval): Likewise.
5332
2ff87f3f
L
53332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5334
5335 * sysdeps/x86_64/preconfigure.in: New file.
5336 * sysdeps/x86_64/preconfigure: New generated file.
5337
c0df8e69
JM
53382012-03-22 Joseph Myers <joseph@codesourcery.com>
5339
48e44791
JM
5340 [BZ #13824]
5341 * math/e_exp2l.c: Include <float.h>.
5342 (__ieee754_exp2l): Handle overflow and underflow cases
5343 separately. Only pass fractional part of argument to
5344 __ieee754_expl.
5345 * math/libm-test.inc (exp2_test): Add more tests.
5346
c0df8e69
JM
5347 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5348 negating x to take absolute value.
5349 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5350 Likewise.
5351 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5352 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5353 Likewise.
5354 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5355 computing low part if x was negated.
5356 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5357
c8e43ba7
L
53582012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5359
5360 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5361 la_x32_gnu_pltexit.
5362 (pltexit): Cast int_retval to ptrdiff_t.
5363 * elf/tst-auditmod3b.c: Likewise.
5364 * elf/tst-auditmod4b.c: Likewise.
5365 * elf/tst-auditmod5b.c: Likewise.
5366 * elf/tst-auditmod6b.c: Likewise.
5367 * elf/tst-auditmod6c.c: Likewise.
5368 * elf/tst-auditmod7b.c: Likewise.
5369
5370 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5371 and x32_gnu_pltexit.
5372
5373 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5374 __ELF_NATIVE_CLASS.
5375 (La_x32_regs): New macro.
5376 (La_x32_retval): Likewise.
5377 (la_x32_gnu_pltenter): New function prototype.
5378 (la_x32_gnu_pltexit): Likewise.
5379
7998fa78
AS
53802012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5381
dcb33988
AS
5382 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5383 exponent.
5384
233fc563
AS
5385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5386
7998fa78
AS
5387 * configure.in (libc_cv_cc_nofma): Check for option to disable
5388 generation of FMA instructions.
5389 * configure: Regenerate.
5390 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5391 * sysdeps/ieee754/dbl-64/Makefile: New file.
5392 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5393 Remove brandred-fma4.
5394 (CFLAGS-brandred-fma4.c): Remove.
5395 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5396 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5397 define.
5398 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5399 define.
5400
8e95c99a
L
54012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5402
5403 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5404 LLONG_MAX != LONG_MAX.
5405 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5406 (_fitoa_word): Likewise.
5407 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5408 LLONG_MAX != LONG_MAX.
5409 * stdio-common/_itowa.h: Include <_itoa.h>.
5410 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5411 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5412 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5413 only if not defined.
5414 (_ITOA_WORD_TYPE): Likewise.
5415 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5416 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5417
6f4db457
DM
54182012-03-21 David S. Miller <davem@davemloft.net>
5419
5420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5421
7785fe5a
L
54222012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5423
5424 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5425 of x86_64 when setting libc_cv_slibdir, libdir and
5426 libc_cv_localedir.
5427 * sysdeps/unix/sysv/linux/configure: Regenerated.
5428
4535cd55
JM
54292012-03-21 Joseph Myers <joseph@codesourcery.com>
5430
5431 * manual/lang.texi (Old Varargs): Remove section.
5432 (How Variadic): Update menu.
5433 (va_start): Do not mention varargs.h.
5434
17228132
TS
54352012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5436 Joseph Myers <joseph@codesourcery.com>
5437
5438 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5439 link test.
5440 * configure: Regenerated.
5441
8149f976
TS
54422012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5443
05f3d1f6
UD
5444 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5445 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5446 conformtest.pl
8149f976 5447
1a4ac776
JM
54482012-03-21 Joseph Myers <joseph@codesourcery.com>
5449
be22ce65
JM
5450 * NOTES: Remove.
5451 * Makefile (files-for-dist): Remove NOTES.
5452 (NOTES): Remove rule.
5453 * README: Don't refer to NOTES.
5454 * manual/creature.texi: Don't include macros.texi.
5455 * manual/intro.texi (creature.texi): Remove comment referring to
5456 NOTES.
5457
40b601fb
JM
5458 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5459 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5460 * configure: Regenerated.
5461 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5462 LIBC_TRY_CC_OPTION.
5463 (libc_cv_as_i686): Likewise.
5464 (libc_cv_cc_avx): Likewise.
5465 (libc_cv_cc_sse2avx): Likewise.
5466 (libc_cv_cc_fma4): Likewise.
5467 (libc_cv_cc_novzeroupper): Likewise.
5468 * sysdeps/i386/configure: Regenerated.
5469
1a4ac776
JM
5470 [BZ #13883]
5471 * sysdeps/i386/fpu/s_cexp.S: Remove.
5472 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5473 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5474 * math/libm-test.inc (cexp_test): Add more tests.
5475 * sysdeps/i386/fpu/libm-test-ulps: Update.
5476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5477
a458e7fe
AM
54782012-03-21 Allan McRae <allan@archlinux.org>
5479
5480 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5481
0cb7efc5
JM
54822012-03-21 Joseph Myers <joseph@codesourcery.com>
5483
5484 [BZ #13871]
5485 * math/w_exp2.c: Do not include <float.h>.
5486 (o_threshold, u_threshold): Remove.
5487 (__exp2): Calculate result before checking finiteness and calling
5488 __kernel_standard.
5489 * math/w_exp2f.c: Likewise.
5490 * math/w_exp2l.c: Likewise.
5491 * math/libm-test.inc (exp2_test): Require overflow exception for
5492 1e6 input.
2460d3aa
JM
5493
5494 [BZ #3866]
5495 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5496 range of signed 64-bit integers before using fistpll. Remove
5497 checks for whether integers fit in mantissa bits.
5498 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5499 the range of signed 32-bit integers before using fistpl. Remove
5500 checks for whether integers fit in mantissa bits.
5501 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5502 (__ieee754_powl): Test for y outside the range of signed 64-bit
5503 integers before using fistpll. Reduce 64-bit values to 63-bit
5504 ones as needed.
5505 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5506 divide-by-zero is raised for zero to large negative powers.
5507 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5508 (__ieee754_powl): Test for y outside the range of signed 64-bit
5509 integers before using fistpll. Reduce 64-bit values to 63-bit
5510 ones as needed.
5511 * math/libm-test.inc (pow_test): Add more tests.
5512
eb96ffb0
L
55132012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5514
5515 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5516 <stdio-common/_itoa.h>.
5517 * debug/segfault.c: Likewise.
5518 * elf/dl-cache.c: Likewise.
5519 * elf/dl-minimal.c: Likewise.
5520 * elf/dl-misc.c: Likewise.
5521 * elf/dl-sysdep.c: Likewise.
5522 * elf/dl-version.c: Likewise.
5523 * elf/rtld.c: Likewise.
5524 * hurd/hurdsock.c: Likewise.
5525 * hurd/lookup-retry.c: Likewise.
5526 * malloc/malloc.c: Likewise.
5527 * malloc/mtrace.c: Likewise.
5528 * nscd/nscd_getgr_r.c: Likewise.
5529 * nscd/nscd_getpw_r.c: Likewise.
5530 * nscd/nscd_getserv_r.c: Likewise.
5531 * posix/getopt_init.c: Likewise.
5532 * posix/wordexp.c: Likewise.
5533 * stdio-common/_itoa.c: Likewise.
5534 * stdio-common/printf_fphex.c: Likewise.
5535 * stdio-common/vfprintf.c: Likewise.
5536 * string/_strerror.c: Likewise.
5537 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5538 * sysdeps/i386/i686/hp-timing.h: Likewise.
5539 * sysdeps/mach/_strerror.c: Likewise.
5540 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5541 * sysdeps/mach/hurd/sethostid.c: Likewise.
5542 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5543 * sysdeps/mach/xpg-strerror.c: Likewise.
5544 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5545 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5546 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5547 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5548 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5549 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5550 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5551 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5552 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5553 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5554 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5555 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5556 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5557 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5558 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5559 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5560 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5561 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5562 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5563 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5564 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5565
5566 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5567
5568 * stdio-common/_itoa.h: Moved to ...
5569 * sysdeps/generic/_itoa.h: Here.
5570
5571 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5572
5573 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5574 instead of "_itoa.h" and "_itowa.h".
5575 * stdio-common/vfprintf.: Likewise.
5576
d1af992d
L
55772012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5578
5579 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5580 <bits/wordsize.h>.
5581 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5582 (__signbit): Likwise.
5583 (llrintf): Likwise.
5584 (llrint): Likwise.
5585
114883e0
L
55862012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5587
5588 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5589 __WORDSIZE != 64.
5590
c135cc1b
JM
55912012-03-20 Joseph Myers <joseph@codesourcery.com>
5592
5593 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5594 OVERFLOW_EXCEPTION_OK.
5595 * math/libm-test.inc ("Philosophy"): Update comment about
5596 exception testing.
5597 (OVERFLOW_EXCEPTION): Define.
5598 (OVERFLOW_EXCEPTION_OK): Likewise.
5599 (INVALID_EXCEPTION_OK): Renumber.
5600 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5601 (IGNORE_ZERO_INF_SIGN): Likewise.
5602 (test_exceptions): Handle FE_OVERFLOW.
5603 (exp10_test): Expect overflow exceptions.
5604 (exp2_test): Likewise.
5605 (expm1_test): Likewise.
5606 (nextafter_test): Likewise.
5607 (pow_test): Likewise.
5608 (scalbn_test): Likewise.
5609 (scalbln_test): Likewise.
5610
95443d88
L
56112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5612
5613 * sysdeps/x86_64/bits/atomic.h
5614 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5615 64bit integer.
5616 (atomic_exchange_acq): Likewise.
5617 (__arch_exchange_and_add_body): Likewise.
5618 (__arch_add_body): Likewise.
5619 (atomic_add_negative): Likewise.
5620 (atomic_add_zero): Likewise.
5621
490df6c4
L
56222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5623
c2722551 5624 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
5625 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5626
5e52b189
L
56272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5628
5629 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5630 Check __x86_64__ instead of __WORDSIZE.
5631
a9879d4c
L
56322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5633
5634 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5635
5df98260
DM
56362012-03-19 David S. Miller <davem@davemloft.net>
5637
e1497744
DM
5638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5639
5df98260
DM
5640 * sysdeps/sparc/fpu/fenv_private.h: New file.
5641 * sysdeps/sparc/fpu/math_private.h: Use it.
5642 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5643 Remove.
5644 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5645 (libc_feholdexcept_setroundl): Remove.
5646 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5647 Remove.
5648 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5649 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5650
b4c35121
L
56512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5652
5653 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5654 int64_t instead of long int.
5655 (INSERT_WORDS64): Likwise.
5656
56965fd7
L
56572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5658
5659 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5660 _Unwind_GetCFA return to _Unwind_Ptr first.
5661
83d1aec8
JM
56622012-03-19 Joseph Myers <joseph@codesourcery.com>
5663
1897ad44
JM
5664 [BZ #13629]
5665 * math/s_clog.c: Include <float.h>.
5666 (__clog): Scale large or subnormal inputs.
5667 * math/s_clogf.c: Likewise.
5668 * math/s_clogl.c: Likewise.
5669 * math/s_clog10.c: Include <float.h>.
5670 (M_LOG10_2): Define.
5671 (__clog10): Scale large or subnormal inputs.
5672 * math/s_clog10f.c: Likewise.
5673 * math/s_clog10l.c: Likewise.
5674 * math/libm-test.inc (clog_test): Add more tests.
5675 (clog10_test): Likewise.
5676 * sysdeps/i386/fpu/libm-test-ulps: Update.
5677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5678
7726d6a9
JM
5679 [BZ #11451]
5680 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5681 x and y.
5682 * math/libm-test.inc (atan2_test): Add another test.
5683
83d1aec8
JM
5684 * Makerules (common-objdir-compile): Remove.
5685 * sysdeps/unix/Makefile (config-generated): Do not add
5686 $(unix-generated) to variable.
5687 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5688 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5689 Remove rule.
5690 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5691 Likewise.
5692 [generic bits/local_lim.h] (before-compile): Do not append to
5693 variable.
5694 [generic bits/local_lim.h] (common-generated): Likewise.
5695 [generic sys/param.h] (before-compile): Do not append to variable.
5696 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5697 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5698 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5699 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5700 include.
5701 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5702 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5703 [generic sys/param.h] ($(addprefix
5704 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5705 [generic sys/param.h] (common-generated): Do not append to
5706 variable.
5707 [generic sys/param.h] (sysdep_headers): Likewise.
5708 [generic bits/errno.h] (before-compile): Do not append to
5709 variable.
5710 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5711 rule.
5712 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5713 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5714 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5715 [generic bits/errno.h] (common-generated): Do not append to
5716 variable.
5717 [generic bits/ioctls.h] (before-compile): Do not append to
5718 variable.
5719 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5720 rule.
5721 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5722 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5723 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5724 rule.
5725 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5726 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5727 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5728 [generic bits/ioctls.h] (common-generated): Do not append to
5729 variable.
5730 [generic sys/syscall.h] (syscall.h): Remove variable.
5731 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5732 rule.
5733 [generic sys/syscall.h] (before-compile): Do not append to
5734 variable.
5735 [generic sys/syscall.h] (common-generated): Likewise.
5736 * sysdeps/unix/errnos-tmpl.c: Remove file.
5737 * sysdeps/unix/errnos.awk: Likewise.
5738 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5739 * sysdeps/unix/ioctls.awk: Likewise.
5740 * sysdeps/unix/mk-local_lim.c: Likewise.
5741 * sysdeps/unix/snarf-ioctls: Likewise.
5742
4851a949
RH
57432012-03-19 Richard Henderson <rth@twiddle.net>
5744
bd37f2ee
RH
5745 * sysdeps/i386/fpu/fenv_private.h: New file.
5746 * sysdeps/i386/fpu/math_private.h: Use it.
5747 (math_opt_barrier, math_force_eval): Remove.
5748 (libc_feholdexcept_setround_53bit): Remove.
5749 (libc_feupdateenv_53bit): Remove.
5750 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5751 (math_opt_barrier, math_force_eval): Remove.
5752 (libc_feholdexcept): Remove.
5753 (libc_feholdexcept_setround): Remove.
5754 (libc_fetestexcept, libc_fesetenv): Remove.
5755 (libc_feupdateenv_test): Remove.
5756 (libc_feupdateenv, libc_feholdsetround): Remove.
5757 (libc_feresetround): Remove.
5758
d0adc922
RH
5759 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5760 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5761
0fe0f1f8
RH
5762 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5763 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5764 (libc_feupdateenv_testl): New.
5765 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5766 (libc_feupdateenv_testf): New.
5767 (libc_feupdateenv): Use libc_feupdateenv_test.
5768 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5769 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5770
eb92c487
RH
5771 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5772 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5773 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5774 (libc_feresetround_noex): New.
5775 (libc_feresetround_noexf): New.
5776 (libc_feresetround_noexl): New.
5777 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5778 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5779 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5780 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5781 SET_RESTORE_ROUND.
5782 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5783 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5784 (__cos): Likewise.
5785 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5786 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5787 SET_RESTORE_ROUND_NOEX.
5788 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5789 SET_RESTORE_ROUND_NOEXF.
5790 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5791 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5792 (libc_feholdsetroundf): New.
5793 (libc_feresetround, libc_feresetroundf): New.
5794
7d2e8012
RH
5795 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5796 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5797 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5798
b4dabbb4
RH
5799 * sysdeps/generic/math_private.h: Include <fenv.h>.
5800 (default_libc_feholdexcept): New.
5801 (default_libc_feholdexcept_setround): New.
5802 (default_libc_fesetenv, default_libc_feupdateenv): New.
5803 (libc_feholdexcept): Only define if undefined.
5804 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5805 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5806 (libc_feholdexcept_setroundl): Likewise.
5807 (libc_feholdexcept_setround_53bit): Likewise.
5808 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5809 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5810 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5811 (libc_feupdateenv_53bit): Likewise.
5812 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5813 (libc_feholdexcept): Convert from macro to inline function.
5814 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5815 (libc_fesetenv, libc_feupdateenv): Likewise.
5816
4851a949
RH
5817 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5818 not previously defined.
5819 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5820 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5821 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5822 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5823 * sysdeps/ieee754/flt-32/math_private.h: New file.
5824 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5825 math_private.h below SET_FLOAT_WORD.
5826 (__isnan, __isinf_ns, __finite): Remove.
5827 (__isnanf, __isinf_nsf, __finitef): Remove.
5828
e79d442e
AS
58292012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5830
5831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5832
90b80344
DM
58332012-03-17 David S. Miller <davem@davemloft.net>
5834
5835 [BZ #6471]
5836 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5837 for 2.16.
5838
edc21804
DM
58392012-03-16 David S. Miller <davem@davemloft.net>
5840
77e927af
DM
5841 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5842 warnings.
5843
374976dd
DM
5844 [BZ #6471]
5845 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5846 properly.
5847 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5848 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5849 sysdep_routines when subdir is sysvipc.
5850 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5851 __getshmlba helper.
5852
edc21804
DM
5853 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5854
473c3ef3
L
58552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5856
5857 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5858 [__LP64__].
5859
eb0f39b6
L
58602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5861
5862 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5863 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5864 (__lround): Renamed to ...
5865 (__llround): This. Replace long int with long long int.
5866 Define lround functions as aliases of llround functions.
5867 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5868
6b6cd74b
L
58692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5870
5871 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5872 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5873 adresses to uintptr_t. Replace "long int" and "unsigned long
5874 int" with "greg_t" on va_arg.
5875
f1a77b01
L
58762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5877
5878 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5879 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5880
5881 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5882 Move e_machine check before EI_CLASS check. Handle x32
5883 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5884 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5885 SKIP_EM_IA_64 and include
5886 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5887
5888 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5889 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5890 (add_system_dir): New macro.
5891
5892 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5893 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5894
11b90b9f
JM
58952012-03-16 Joseph Myers <joseph@codesourcery.com>
5896
c36e1d23
JM
5897 [BZ #2551]
5898 [BZ #2552]
5899 [BZ #2553]
5900 [BZ #2554]
5901 [BZ #2562]
5902 [BZ #2563]
5903 [BZ #2565]
5904 [BZ #2566]
5905 [BZ #2576]
5906 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5907 (y0): Likewise.
5908 * math/w_j0f.c (j0f): Likewise.
5909 (y0f): Likewise.
5910 * math/w_j0l.c (__j0l): Likewise.
5911 (__y0l): Likewise.
5912 * math/w_j1.c (j1): Likewise.
5913 (y1): Likewise.
5914 * math/w_j1f.c (j1f): Likewise.
5915 (y1f): Likewise.
5916 * math/w_j1l.c (__j1l): Likewise.
5917 (__y1l): Likewise.
5918 * math/w_jn.c (jn): Likewise.
5919 (yn): Likewise.
5920 * math/w_jnf.c (jnf): Likewise.
5921 (ynf): Likewise.
5922 * math/w_jnl.c (__jnl): Likewise.
5923 (__ynl): Likewise.
5924 * math/libm-test.inc (j0_test): Add more tests.
5925 (j1_test): Likewise.
5926 (jn_test): Likewise. Add trailing semicolon to existing test.
5927 (y0_test): Likewise.
5928 (y1_test): Likewise.
5929 * sysdeps/i386/fpu/libm-test-ulps: Update.
5930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5931
11b90b9f
JM
5932 [BZ #13851]
5933 [BZ #13854]
5934 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5935 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5936 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5937 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
5938 (__tanl): Set errno for infinite argument.
5939 * sysdeps/i386/fpu/mptan.c: Remove.
5940 * sysdeps/i386/fpu/s_tan.S: Likewise.
5941 * sysdeps/i386/fpu/s_tanl.S: Likewise.
5942 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
5943 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5944 * math/libm-test.inc (tan_test): Add more tests and enable more
5945 tests for double and long double.
5946 * sysdeps/i386/fpu/libm-test-ulps: Update.
5947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5948
6a1bd2a1
JK
59492012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5950
5951 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5952 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5953
10a803e0
RM
59542012-03-16 Roland McGrath <roland@hack.frob.com>
5955
5956 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5957 * configure.in: Use it for both main tree and add-ons.
5958 * configure: Regenerated.
5959
f196c7f7
L
59602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5961
5962 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5963
8848d99d
JM
59642012-03-16 Joseph Myers <joseph@codesourcery.com>
5965
96cbe7f4
JM
5966 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5967 in comment.
5968
8848d99d
JM
5969 [BZ #13851]
5970 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5971 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5972 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5973 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5974 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5975 infinite argument.
5976 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5977 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5978 != 0 for prec == 2.
5979 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5980 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5981 * sysdeps/i386/fpu/s_cosl.S: Likewise.
5982 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5983 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5984 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5985 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5986 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5987 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5988 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5989 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5990 * math/libm-test.inc (cos_test): Add more tests and enable more
5991 tests for long double.
5992 (sin_test): Likewise.
5993 (sincos_test): Likewise.
5994 * sysdeps/i386/fpu/libm-test-ulps: Update.
5995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5996
dd7f4703
DM
59972012-03-16 David S. Miller <davem@davemloft.net>
5998
5999 * sysdeps/sparc/fpu/math_private.h: New file.
6000
006f1daa
DM
60012012-03-15 David S. Miller <davem@davemloft.net>
6002
c0c83bc8
DM
6003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6004 file.
e6a62e18 6005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6007 file.
e6a62e18
DM
6008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6010 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6011 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6012 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6013 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6014 sysdep routines.
6015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6016
88cb87d9
DM
6017 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6018 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6019
006f1daa 6020 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6022 sparc-ifunc.h
006f1daa 6023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6025 Likewise.
6026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6027 Likewise.
006f1daa
DM
6028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6032 Likewise.
006f1daa
DM
6033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6038 Likewise.
6039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6040 Likewise.
006f1daa
DM
6041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6045 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6046 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6047 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6048 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6049 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6050 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6053 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6054 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6055 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6056 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6057 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6058 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6059 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6060 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6061 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6062 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6063 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6064 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6065
11e0098e
AS
60662012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6067
6068 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6069 scaling.
6070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6071
e85b09d0
AJ
60722012-03-15 Andreas Jaeger <aj@suse.de>
6073
6074 [BZ #13852]
6075 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6076 ieee754/flt-32 implementation for sin, cos and sincos.
6077 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6078 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6079 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6080 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6081 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6082 ieee754/flt-32 implementation for tan.
6083
6084 * math/libm-test.inc (cos_test): Enable some large input tests for
6085 float as well
6086 (sin_test): Likewise.
6087 (sincos_test): Likewise.
6088 (tan_test): Add tests for large input.
6089
6090 * sysdeps/i386/fpu/libm-test-ulps: Update.
6091
81c64153
AJ
60922012-03-15 Andreas Jaeger <aj@suse.de>
6093
6094 [BZ #13658]
6095 * math/libm-test.inc (cos_test): Add more test cases.
6096 (sin_test): Likewise.
6097 (sincos_test): Likewise.
6098
7bbfa5c6
AJ
60992012-03-15 Andreas Jaeger <aj@suse.de>
6100
6101 [BZ #13837]
6102 * math/libm-test.inc (cos_test): Add a test case for large input
6103 value.
6104 (sin_test): Likewise.
6105 (sincos_test): Likewise.
6106
61072012-03-15 Andreas Jaeger <aj@suse.de>,
6108 Joseph Myers <joseph@codesourcery.com>
6109
6110 [BZ #13658]
0671f479 6111 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6112 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6113 * sysdeps/i386/fpu/branred.c: Likewise.
6114 * sysdeps/i386/fpu/dosincos.c: Likewise.
6115 * sysdeps/i386/fpu/mpa.c: Likewise.
6116 * sysdeps/i386/fpu/s_cos.S: Likewise.
6117 * sysdeps/i386/fpu/s_sin.S: Likewise.
6118 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6119 * sysdeps/i386/fpu/sincos32.c: Likewise.
6120
6121 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6122 Define.
6123 (libc_feupdateenv_53bit): Define.
6124 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6125 Define.
6126 (libc_feupdateenv_53bit): Define.
6127
6128 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6129 53 bit (without extend i386 double precision).
6130
6131 * math/libm-test.inc (sincos_test): Add tests for large input.
6132 (sin): Likewise.
6133 (cos): Likewise.
6134
6135 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6136
9cad04ea
AS
61372012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6138
6139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6140
f7062b9a
DM
61412012-03-15 David S. Miller <davem@davemloft.net>
6142
6143 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6144 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6145 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6146 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6156 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6157 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6159 file.
f7062b9a 6160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6162 file.
f7062b9a 6163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6165 file.
f7062b9a 6166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6168 file.
f7062b9a
DM
6169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6170 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6171 fmin/fmax sysdep routines.
6172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6173
7bd951ff
DM
61742012-03-14 David S. Miller <davem@davemloft.net>
6175
559398ab
DM
6176 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6177 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6178 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6179 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6180 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6181 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6182 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6183 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6184 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6185 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6186 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6187 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6188 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6189 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6190 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6191 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6192 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6193 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6194 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6195 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6196 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6197 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6198 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6199 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6200 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6201 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6202 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6203 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6204 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6205 routines.
6206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6207 file.
559398ab 6208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6210 file.
559398ab 6211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6213 file.
559398ab 6214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6216 file.
559398ab 6217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6219 file.
559398ab 6220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6222 file.
6223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6224 file.
6225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6226 file.
6227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6228 file.
6229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6230 New file.
6231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6232 file.
6233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6234 file.
559398ab 6235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6237 file.
559398ab 6238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6240 file.
559398ab 6241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6243 file.
559398ab 6244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6246 VIS3 routines.
559398ab
DM
6247
6248 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6249 New file.
6250
5a1c1e32
DM
6251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6252
eae47a36
DM
6253 * sysdeps/sparc/configure.in: New file.
6254 * sysdeps/sparc/configure: Generate.
6255 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6256 * configure: Regenerate.
6257 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6258 * config.make.in (have-as-vis3): New.
6259 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6260 available use -Av9d instead of -Av9a.
6261 * sysdeps/sparc/sparc64/Makefile: Likewise.
6262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6264 New file.
6265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6266 file.
6267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6268 New file.
6269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6270 file.
eae47a36
DM
6271 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6272 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6273 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6274 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6275 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6276
c0c83bc8
DM
6277 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6278 fzeros/fnegs to load 0x80000000 into a float register instead of
6279 using the stack.
7bd951ff
DM
6280 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6281
bd951ccb
JM
62822012-03-14 Joseph Myers <joseph@codesourcery.com>
6283
6284 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6285 bits/syscall.h.
6286 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6287 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6288 ($(inst_includedir)/bits/syscall.h): Remove rule.
6289 ($(objpfx)bits/syscall.d): Include instead of
6290 $(objpfx)syscall-list.d.
6291 (generated): Change syscall-list.h and syscall-list.d to
6292 bits/syscall.h and bits/syscall.d.
6293
bb4e6db2
RM
62942012-03-14 Roland McGrath <roland@hack.frob.com>
6295
6296 [BZ #13846]
6297 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6298
aa4a2ae1
JM
62992012-03-14 Joseph Myers <joseph@codesourcery.com>
6300
e456826d
JM
6301 [BZ #13841]
6302 * math/s_csqrt.c: Include <float.h>.
6303 (__csqrt): Scale large or subnormal inputs.
6304 * math/s_csqrtf.c: Likewise.
6305 * math/s_csqrtl.c: Likewise.
6306 * math/libm-test.inc (csqrt_test): Add more tests.
6307 * sysdeps/i386/fpu/libm-test-ulps: Update.
6308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6309
aa4a2ae1
JM
6310 [BZ #13840]
6311 * math/libm-test.inc (hypot_test): Add more tests.
6312
7c10fd35
DM
63132012-03-13 David S. Miller <davem@davemloft.net>
6314
6315 [BZ #13840]
6316 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6317 double-precision for the calculation instead of scaling.
6318
f453b98b
JM
63192012-03-13 Joseph Myers <joseph@codesourcery.com>
6320
6321 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6322 manipulate bits before adding and subtracting TWO52[sx].
6323 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6324 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6325 Likewise.
6326 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6327
09a3453f
DM
63282012-03-13 David S. Miller <davem@davemloft.net>
6329
8e59da90
DM
6330 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6331 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6332 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6333 rtld-global-offsets.h
6334 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6335
2a8ab7f2
DM
6336 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6337 large parameters.
6338
10f62770
DM
6339 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6340
5f0bdb18
DM
6341 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6342 'err' in the ifdef scope in which it is actually used.
6343
09a3453f
DM
6344 * nss/nss_db/db-init.c: Include string.h
6345
b4b2eb5e
DM
63462012-03-12 David S. Miller <davem@davemloft.net>
6347
98bb2f1c
DM
6348 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6349 masking out of the most significant byte of random value used.
6350 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6351 Fix coding style in previous change.
6352
b4b2eb5e
DM
6353 * sysdeps/unix/sysv/linux/kernel-features.h
6354 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6355 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6356 expression.
6357 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6358 later.
6359
6e226b09
DM
63602012-03-11 David S. Miller <davem@davemloft.net>
6361
a1bcbd40
DM
6362 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6363 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6364 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6365 for 'resultvar' otherwise things get truncated on 64-bit.
6366
cb9d6174
DM
6367 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6368 Fix masking out of the most significant byte of random value used.
6369
6e226b09
DM
6370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6371
058c132d
AS
63722012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6373
6374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6375
2d2cd515
DM
63762012-03-09 David S. Miller <davem@davemloft.net>
6377
6378 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6379 variables with appropriate CPP guards.
6380 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6381 frame pointer, not the stack pointer. Correct layout comments. Fix test
6382 on resulting framesize and the management of the outregs buffer for pltexit.
6383 Preserve floating point return values across _dl_call_pltexit call.
6384 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6385 framesize and the management of the outregs buffer for pltexit.
6386 Preserve floating point return values across _dl_call_pltexit
6387 call.
6388 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6389 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6390 (print_exit): Fix format string for return register value.
6391
9a07f9d0
JM
63922012-03-10 Joseph Myers <joseph@codesourcery.com>
6393
6394 * sunrpc/Makefile (others): Add rpcgen.
6395 ($(objpfx)rpcgen): Remove special build rule and dependency on
6396 libc.
6397 * sunrpc/rpcgen.c: New file.
6398
547b5e30
PE
63992012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6400
c524201a
PE
6401 [BZ #13673]
6402 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6403 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6404 * sysdeps/i386/crti.S: Likewise.
6405 * sysdeps/i386/crtn.S: Likewise.
6406 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6407 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6408 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6409 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6410 * sysdeps/sh/crti.S: Likewise.
6411 * sysdeps/sh/crtn.S: Likewise.
6412 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6413
7b6235f2
PE
6414 [BZ #13673]
6415 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6416 with URL.
6417 * locale/programs/locfile-kw.gperf: Likewise.
6418 * locale/programs/charmap-kw.h: Regenerated.
6419 * locale/programs/locfile-kw.h: Likewise.
6420
547b5e30
PE
6421 [BZ #13673]
6422 * intl/plural.y: Replace FSF snail mail address with URL.
6423 * intl/plural.c: Regenerated.
6424
5f0a5dae
RH
64252012-03-09 Richard Henderson <rth@twiddle.net>
6426
6427 * include/math_private.h: Remove file.
6428 * math/math_private.h: Move file ...
6429 * sysdeps/generic/math_private.h: ... here.
6430
b8c03620
RH
6431 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6432 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6433 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6434
4e234f5d 6435 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6436 and <math_private.h>.
6437 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6438 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6439 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6440 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6441 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6442 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6443 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6444 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6445 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6446 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6447 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6448 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6449 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6450 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6451 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6452 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6453 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6454 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6455 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6456 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6457 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6458 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6459 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6460 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6461 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6462 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6463 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6464 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6465 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6466 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6467 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6468 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6469 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6470 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6471 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6472 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6473 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6474 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6475 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6476 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6477 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6478 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6479 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6480 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6481 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6482 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6483 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6484 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6485 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6486 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6487 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6488 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6489 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6490 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6491 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6492 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6493 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6494 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6495 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6496 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6497 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6498 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6499 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6500 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6501 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6502 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6503 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6504 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6505 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6506 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6507 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6508 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6509 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6510 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6511 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6512 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6513 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6514 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6515 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6516 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6517 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6518 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6519 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6520 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6521 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6522 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6523 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6524 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6525 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6526 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6527 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6528 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6529 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6530 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6531 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6532 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6533 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6534 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6535 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6536 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6537 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6538 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6539 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6540 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6541 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6542 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6543 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6544 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6545 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6546 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6547 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6548 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6549 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6550 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6551 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6552 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6553 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6554 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6555 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6556 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6557 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6558 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6559 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6560 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6561 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6562 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6563 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6564 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6565 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6566 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6567 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6568 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6569 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6570 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6571 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6572 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6573 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6574 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6575 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6576 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6577 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6578 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6579 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6580 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6581 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6582 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6583 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6584 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6585 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6586 * sysdeps/ieee754/k_standard.c: Likewise.
6587 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6588 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6589 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6590 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6591 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6592 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6593 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6594 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6595 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6596 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6597 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6598 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6599 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6600 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6601 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6602 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6603 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6604 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6605 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6606 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6607 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6608 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6609 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6610 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6611 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6612 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6613 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6614 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6615 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6616 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6617 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6618 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6619 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6620 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6621 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6622 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6623 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6624 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6625 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6626 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6627 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6628 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6629 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6630 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6631 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6632 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6633 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6634 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6635 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6636 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6637 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6638 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6639 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6640 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6641 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6642 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6643 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6644 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6645 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6646 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6647 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6648 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6649 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6650 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6651 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6652 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6653 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6654 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6655 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6656 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6657 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6658 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6659 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6660 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6661 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6662 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6663 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6664 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6665 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6666 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6667 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6668 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6669 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6670 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6671 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6672 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6673 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6674 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6675 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6676 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6677 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6678 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6679 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6680 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6681 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6682 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6683 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6684 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6685 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6686 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6687 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6688 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6689 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6690 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6691 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6692 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6693 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6694 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6695 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6696 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6697 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6698 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6699 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6700 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6701 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6702 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6703 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6704 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6705 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6706 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6707 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6708 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6709 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6710 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6711 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6712 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6713 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6714 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6715 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6716 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6717 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6718 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6719 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6720 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6721 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6722 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6723 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6724 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6725 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6726 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6727 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6728 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6729 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6730 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6731 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6732 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6733 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6734 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6735 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6736 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6737 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6738 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6739 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6740 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6741 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6742 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6743 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6744 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6745 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6746 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6747 * sysdeps/ieee754/s_lib_version.c: Likewise.
6748 * sysdeps/ieee754/s_matherr.c: Likewise.
6749 * sysdeps/ieee754/s_signgam.c: Likewise.
6750 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6751 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6752 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6753 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6754 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6755 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6756 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6757 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6758 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6759 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6760 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6761 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6762 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6763 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6764 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6765 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6766 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6767 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6768 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6769 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6770 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 6771
1991fa03
JM
67722012-03-09 Joseph Myers <joseph@codesourcery.com>
6773
6774 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6775 * sunrpc/rpc_main.c: Likewise.
6776 * sunrpc/rpc_svcout.c: Likewise.
6777
60d6f5a6
DM
67782012-03-09 David S. Miller <davem@davemloft.net>
6779
6780 * include/math_private.h: New file.
6781
4962050e
JM
67822012-03-09 Joseph Myers <joseph@codesourcery.com>
6783
02a6f887
JM
6784 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6785 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6786 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6787 from <bits/socket_type.h>.
6788 (enum __socket_type): Don't define here.
6789 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6790 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6791 bits/socket_type.h.
6792
c6e013c1
JM
6793 [BZ #13566]
6794 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6795 checking __USE_GNU.
6796
4962050e
JM
6797 * Makerules ($(inst_includedir)/%.h): New rule.
6798 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6799 (install-others): Remove variable setting.
6800 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6801
38842f45
RH
68022012-03-08 Richard Henderson <rth@twiddle.net>
6803
67bb6da6
RH
6804 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6805 from macro to inline function; merge with the
6806 !__LIBC_INTERNAL_MATH_INLINES version.
6807 (__ieee754_sqrtf): Likewise.
6808
15194b4b
RH
6809 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6810 to inline function.
6811 (__rintf, __floor, __floorf): Likewise.
6812
64e21ede
RH
6813 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6814 macro to inline function.
6815 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6816
38842f45
RH
6817 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6818 not <math/math_private.h>.
6819
c64bf5fe
DM
68202012-03-08 David S. Miller <davem@davemloft.net>
6821
6822 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6823 copyright year.
6824 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6825
82d86f28
TS
68262012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6827
6828 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6829 normalization.
6830 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6831 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6832
aea5d727
UD
68332012-03-08 Ulrich Drepper <drepper@gmail.com>
6834
6835 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6836 be defined individually, they must be defined as a block. Define
6837 S for printing a string instead of hidint the different by using a
6838 macro for adding the 'l'.
6839 * stdio-common/tst-fphex-wide.c: Adjust.
6840
70bca0a3
MP
68412012-03-07 Marek Polacek <polacek@redhat.com>
6842
6843 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6844
65b81130
MP
68452012-03-08 Marek Polacek <polacek@redhat.com>
6846
6847 [BZ #13806]
6848 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6849 * stdio-common/tst-fphex.c: Define a few macros to make the
6850 test reusable. Use them.
6851 * stdio-common/tst-fphex-wide.c: New file.
6852
07037eeb
JM
68532012-03-08 Joseph Myers <joseph@codesourcery.com>
6854
a7a93d50
JM
6855 [BZ #6911]
6856 * manual/macros.texi (gnusystems): New macro.
6857 (nongnusystems): Likewise.
6858 (gnulinuxhurdsystems): Likewise.
6859 (gnuhurdsystems): Likewise..
6860 (gnulinuxsystems): Likewise.
6861 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6862 variants of the GNU system, not "GNU system".
6863 * manual/conf.texi: Likewise.
6864 * manual/errno.texi: Likewise. Update example of errno macro
6865 expansion.
6866 * manual/filesys.texi: Likewise.
6867 (getumask): Document as specific to GNU/Hurd.
6868 * manual/install.texi: Likewise. Reword some references to
6869 GNU/Linux.
6870 * manual/intro.texi: Likewise.
6871 * manual/io.texi: Likewise.
6872 (File Name Portability): Detail which constraints are inapplicable
6873 to all GNU systems and which are only inapplicable to GNU/Hurd.
6874 * manual/job.texi: Likewise.
6875 * manual/llio.texi: Likewise.
6876 (O_NOCTTY): Document as present on GNU/Linux.
6877 * manual/maint.texi: Likewise.
6878 * manual/memory.texi: Likewise.
6879 * manual/pattern.texi: Likewise.
6880 * manual/pipe.texi: Likewise.
6881 * manual/process.texi: Likewise.
6882 * manual/resource.texi: Likewise.
6883 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6884 child on GNU/Hurd.
6885 * manual/setjmp.texi: Likewise.
6886 * manual/signal.texi: Likewise.
6887 * manual/startup.texi: Likewise.
6888 * manual/stdio.texi: Likewise.
6889 * manual/terminal.texi: Likewise.
6890 (ONLCR): Document as POSIX.
6891 (OXTABS): Document availability on GNU/Linux as XTABS.
6892 (ONOEOT): Document availability separately from other bits.
6893 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6894 * manual/time.texi: Likewise.
6895 * manual/users.texi: Likewise.
6896 * INSTALL: Regenerated.
6897 * sysdeps/gnu/errlist.c: Regenerated.
6898
07037eeb
JM
6899 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6900 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6901 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6902 puts.
6903 * configure: Regenerated.
6904
d1d3431a
JM
69052012-03-07 Joseph Myers <joseph@codesourcery.com>
6906
af6a1e37
JM
6907 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6908 default includes instead of AC_HEADER_CHECK.
6909 * sysdeps/i386/configure: Regenerated.
6910
d1d3431a
JM
6911 [BZ #10716]
6912 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6913 * math/s_cacoshf.c (__cacoshf): Likewise.
6914 * math/s_cacoshl.c (__cacoshl): Likewise.
6915 * math/s_casinh.c (__casinh): Set signs of result from argument.
6916 * math/s_casinhf.c (__casinhf): Likewise.
6917 * math/s_casinhl.c (__casinhl): Likewise.
6918 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6919 (casinh_test): Add more tests.
6920 * sysdeps/i386/fpu/libm-test-ulps: Update.
6921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6922
482ff4da
UD
69232012-03-07 Ulrich Drepper <drepper@gmail.com>
6924
872fda05
UD
6925 * po/zh_TW.po: Update from translation team.
6926
a4300c7a
UD
6927 * login/Makefile (distribute): Remove variable.
6928 * catgets/Makefile: Likewise.
6929 * mach/Makefile: Likewise.
6930 * malloc/Makefile: Likewise.
6931 * misc/Makefile: Likewise.
6932 * iconv/Makefile: Likewise.
6933 * nscd/Makefile: Likewise.
6934 * hurd/Makefile: Likewise.
6935 * manual/Makefile: Likewise.
6936 * locale/Makefile: Likewise.
6937 * intl/Makefile: Likewise.
6938 * conform/Makefile: Likewise.
6939 * nss/Makefile: Likewise.
6940 * time/Makefile: Likewise.
6941 * soft-fp/Makefile: Likewise.
6942 * dirent/Makefile: Likewise.
6943 * gmon/Makefile: Likewise.
6944 * po/Makefile: Likewise.
6945 * rt/Makefile: Likewise.
6946 * socket/Makefile: Likewise.
6947 * math/Makefile: Likewise.
6948 * signal/Makefile: Likewise.
6949 * debug/Makefile: Likewise.
6950 * elf/Makefile: Likewise.
6951 * timezone/Makefile: Likewise.
6952 * stdlib/Makefile: Likewise.
6953 * iconvdata/Makefile: Likewise.
6954 * sunrpc/Makefile: Likewise.
6955 * io/Makefile: Likewise.
6956 * argp/Makefile: Likewise.
6957 * inet/Makefile: Likewise.
6958 * hesiod/Makefile: Likewise.
6959 * grp/Makefile: Likewise.
6960 * csu/Makefile: Likewise.
6961 * wctype/Makefile: Likewise.
6962 * crypt/Makefile: Likewise.
6963 * libio/Makefile: Likewise.
6964 * string/Makefile: Likewise.
6965 * nis/Makefile: Likewise.
6966 * resolv/Makefile: Likewise.
6967 * stdio-common/Makefile: Likewise.
6968 * wcsmbs/Makefile: Likewise.
6969 * dlfcn/Makefile: Likewise.
6970 * posix/Makefile: Likewise.
6971
3b7c4e74 6972 [BZ #6959]
482ff4da
UD
6973 * timezone/Makefile: Don't install timezone files, just the programs
6974 and scripts.
6975
f72ed77d
UD
69762012-03-06 Ulrich Drepper <drepper@gmail.com>
6977
a000466f
UD
6978 * nss/databases.def: Add missing gshadow entry.
6979
f72ed77d
UD
6980 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6981
a53b7a4e
MP
69822012-03-06 Marek Polacek <polacek@redhat.com>
6983
6984 [BZ #13726]
6985 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6986 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6987 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6988 * stdio-common/tst-long-dbl-fphex.c: New file.
6989
e9258400
DM
69902012-03-06 David S. Miller <davem@davemloft.net>
6991
6992 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6993 (set_obp_int): New function.
6994 (get_obp_int): New function.
6995 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
6996 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
6997 Avoid unused variable warnings on 'val' and use builtin_expect.
6998 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
6999 __builtin_expect.
e9258400
DM
7000 (INLINE_CLONE_SYSCALL): Likewise.
7001
3bd2c723
DM
70022012-03-05 David S. Miller <davem@davemloft.net>
7003
7004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7005
bbb78d03
AS
70062012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7007
884c5db4
AS
7008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7009
bbb78d03
AS
7010 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7011 only for |x| >= 40.
7012 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7013
1c9f702a 70142012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7015
7016 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7017 Replace gettimeofday with __vdso_gettimeofday.
7018
7be16f82
RM
7019 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7020 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7021 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7022
7023 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7024 time with __vdso_time.
7025
ed58a00f
JM
70262012-03-05 Joseph Myers <joseph@codesourcery.com>
7027
7028 * manual/lang.texi (size_t): Note types to which size_t may be
7029 equivalent with the GNU C Library, but do not describe when
7030 differences between them are significant.
7031
30ee4ced
AJ
70322012-03-05 Andreas Jaeger <aj@suse.de>
7033
7034 * sysdeps/i386/fpu/libm-test-ulps: Update.
7035
b7cd39e8
JM
70362012-03-05 Joseph Myers <joseph@codesourcery.com>
7037
7038 [BZ #3976]
7039 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7040 (__ieee754_pow): Save and restore rounding mode and use
7041 round-to-nearest for main computations.
7042 * math/libm-test.inc (pow_test_tonearest): New function.
7043 (pow_test_towardzero): Likewise.
7044 (pow_test_downward): Likewise.
7045 (pow_test_upward): Likewise.
7046 (main): Call the new functions.
7047 * sysdeps/i386/fpu/libm-test-ulps: Update.
7048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7049
7050 [BZ #3976]
7051 * math/libm-test.inc (cosh_test_tonearest): New function.
7052 (cosh_test_towardzero): Likewise.
7053 (cosh_test_downward): Likewise.
7054 (cosh_test_upward): Likewise.
7055 (sinh_test_tonearest): Likewise.
7056 (sinh_test_towardzero): Likewise.
7057 (sinh_test_downward): Likewise.
7058 (sinh_test_upward): Likewise.
7059 (main): Call the new functions.
7060 * sysdeps/i386/fpu/libm-test-ulps: Update.
7061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7062
6c6a98c9
TV
70632012-03-05 Tom de Vries <tom@codesourcery.com>
7064
7065 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7066 default stack guard is set in last bytes.
7067 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7068
21bb2d2e 70692012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7070
21bb2d2e 7071 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7072
21bb2d2e
AJ
7073 [BZ #13656]
7074 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7075 possibly allocate from heap instead of stack.
7076 * stdio-common/bug-vfprintf-nargs.c: New file.
7077 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7078
c6922934
AS
70792012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7080
7081 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7082
bc957d53
MP
70832012-03-03 Marek Polacek <polacek@redhat.com>
7084
7085 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7086 * math/math_private.h: Likewise.
7087 * stdlib/tst-strtod.c: Likewise.
7088 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7089 * sysdeps/x86_64/bits/atomic.h: Likewise.
7090
6358490d
DM
70912012-03-02 David S. Miller <davem@davemloft.net>
7092
7093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7097 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7098 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7099 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7100 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7101
01ae168d
RM
71022012-03-02 Roland McGrath <roland@hack.frob.com>
7103
d9a17c07
RM
7104 [BZ #13792]
7105 * manual/examples/README: New file, says the example source files
7106 can be used under GPL>=2.
7107 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7108 line containing just "*/".
7109 * manual/examples/add.c: Add copyright header (GPL>=2).
7110 * manual/examples/argp-ex1.c: Likewise.
7111 * manual/examples/argp-ex2.c: Likewise.
7112 * manual/examples/argp-ex3.c: Likewise.
7113 * manual/examples/argp-ex4.c: Likewise.
7114 * manual/examples/atexit.c: Likewise.
7115 * manual/examples/db.c: Likewise.
7116 * manual/examples/dir.c: Likewise.
7117 * manual/examples/dir2.c: Likewise.
7118 * manual/examples/execinfo.c: Likewise.
7119 * manual/examples/filecli.c: Likewise.
7120 * manual/examples/filesrv.c: Likewise.
7121 * manual/examples/fmtmsgexpl.c: Likewise.
7122 * manual/examples/genpass.c: Likewise.
7123 * manual/examples/inetcli.c: Likewise.
7124 * manual/examples/inetsrv.c: Likewise.
7125 * manual/examples/isockad.c: Likewise.
7126 * manual/examples/longopt.c: Likewise.
7127 * manual/examples/memopen.c: Likewise.
7128 * manual/examples/memstrm.c: Likewise.
7129 * manual/examples/mkfsock.c: Likewise.
7130 * manual/examples/mkisock.c: Likewise.
7131 * manual/examples/mygetpass.c: Likewise.
7132 * manual/examples/pipe.c: Likewise.
7133 * manual/examples/popen.c: Likewise.
7134 * manual/examples/rprintf.c: Likewise.
7135 * manual/examples/search.c: Likewise.
7136 * manual/examples/select.c: Likewise.
7137 * manual/examples/setjmp.c: Likewise.
7138 * manual/examples/sigh1.c: Likewise.
7139 * manual/examples/sigusr.c: Likewise.
7140 * manual/examples/stpcpy.c: Likewise.
7141 * manual/examples/strdupa.c: Likewise.
7142 * manual/examples/strftim.c: Likewise.
7143 * manual/examples/strncat.c: Likewise.
7144 * manual/examples/subopt.c: Likewise.
7145 * manual/examples/swapcontext.c: Likewise.
7146 * manual/examples/termios.c: Likewise.
7147 * manual/examples/testopt.c: Likewise.
7148 * manual/examples/testpass.c: Likewise.
7149 * manual/examples/timeval_subtract.c: Likewise.
7150
01ae168d
RM
7151 [BZ #13792]
7152 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7153 function to ...
7154 * manual/timeval_subtract.c.texi: ... here, new file.
7155
49efa33d
DM
71562012-03-02 David S. Miller <davem@davemloft.net>
7157
7158 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7159
28afd92d
JM
71602012-03-02 Joseph Myers <joseph@codesourcery.com>
7161
804360ed
JM
7162 [BZ #3976]
7163 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7164 (__sin): Save and restore rounding mode and use round-to-nearest
7165 for all computations.
7166 (__cos): Save and restore rounding mode and use round-to-nearest
7167 for all computations.
7168 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7169 <fenv.h>.
7170 (tan): Save and restore rounding mode and use round-to-nearest for
7171 all computations.
7172 * math/libm-test.inc (cos_test_tonearest): New function.
7173 (cos_test_towardzero): Likewise.
7174 (cos_test_downward): Likewise.
7175 (cos_test_upward): Likewise.
7176 (sin_test_tonearest): Likewise.
7177 (sin_test_towardzero): Likewise.
7178 (sin_test_downward): Likewise.
7179 (sin_test_upward): Likewise.
7180 (tan_test_tonearest): Likewise.
7181 (tan_test_towardzero): Likewise.
7182 (tan_test_downward): Likewise.
7183 (tan_test_upward): Likewise.
7184 (main): Call the new functions.
7185 * sysdeps/i386/fpu/libm-test-ulps: Update.
7186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7187
a6d06d7b
JM
7188 [BZ #10135]
7189 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7190 small n, then large n, before computing and testing k+n.
7191 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7192 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7193 Likewise.
7194 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7195 Likewise.
7196 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7197 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7198 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7199 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7200 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7201 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7202 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7203 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7204 * math/libm-test.inc (scalbn_test): Add more tests.
7205 (scalbln_test): Likewise.
7206
07e12bb3
JM
7207 * manual/filesys.texi (mode_t): Describe constraints on size and
7208 signedness, not exact equivalence to a particular type.
7209 (ino_t): Likewise.
7210 (ino64_t): Likewise.
7211 (dev_t): Likewise.
7212 (nlink_t): Likewise.
7213 (blkcnt_t): Likewise.
7214 (blkcnt64_t): Likewise.
7215 * manual/llio.texi (off_t): Likewise.
7216
28afd92d
JM
7217 [BZ #3976]
7218 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7219 (__ieee754_exp): Save and restore rounding mode and use
7220 round-to-nearest for all computations.
7221 * math/libm-test.inc (exp_test_tonearest): New function.
7222 (exp_test_towardzero): Likewise.
7223 (exp_test_downward): Likewise.
7224 (exp_test_upward): Likewise.
7225 (main): Call the new functions.
7226 * sysdeps/i386/fpu/libm-test-ulps: Update.
7227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7228
b1eeb65d
CD
72292012-03-01 Chris Demetriou <cgd@google.com>
7230
7231 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7232 have predictable order.
7233
53362a4b
DM
72342012-03-01 David S. Miller <davem@davemloft.net>
7235
3c969083
DM
7236 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7237
759707de
DM
7238 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7239 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7240 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7241 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7242
dfdb8ff2
DM
7243 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7244 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7245 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7247 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7248 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7249 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7250 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7251 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7252
ead89f96
DM
7253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7254
7f66bd07
DM
7255 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7256 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7257 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7258
53362a4b
DM
7259 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7260 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7261 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7262 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7263 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7264 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7265 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7266 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7267 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7268 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7269 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7270 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7271 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7272 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7273 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7274 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7275 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7276 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7277 * sysdeps/sparc/elf/configure: Regenerated.
7278
7b1902cb
JM
72792012-03-01 Joseph Myers <joseph@codesourcery.com>
7280
bec039bc
JM
7281 * configure.in (AS, LD): Require binutils 2.20 or later.
7282 * configure: Regenerated.
7283 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7284 as required minimum version.
7285 * INSTALL: Regenerated.
7286
7b1902cb
JM
7287 [BZ #2541]
7288 [BZ #4108]
7289 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7290 before squaring exponent.
7291 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7292 bottom long double and 27 bits of top long double before squaring
7293 exponent.
7294 * math/libm-test.inc (erfc_test): Add more tests.
7295 * sysdeps/i386/fpu/libm-test-ulps: Update.
7296 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7298
f775c276
KT
72992012-03-01 Kai Tietz <ktietz@redhat.com>
7300
7301 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7302 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7303 containing bit-fields.
7304 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7305 * soft-fp/single.h (_FP_UNION_S): Likewise.
7306 * soft-fp/double.h (_FP_UNION_D): Likewise.
7307
5b8a4d4a
JM
73082012-02-29 Joseph Myers <joseph@codesourcery.com>
7309
0bab47b6
JM
7310 [BZ #13786]
7311 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7312 not include ../strcmp.S.
7313 [USE_AS_STRNCASECMP_L]: Likewise.
7314 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7315 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7316 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7317 (__strncasecmp_l_ia32): Define as alias to
7318 __strncasecmp_l_nonascii.
7319
0fcad3e2
JM
7320 [BZ #5794]
7321 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7322 * sysdeps/i386/fpu/libm-test-ulps: Update.
7323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7324
5b8a4d4a
JM
7325 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7327
8fdceb2e
JL
73282012-02-29 Jeff Law <law@redhat.com>
7329
7330 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7331 out of bounds read.
7332
1f393a11
MP
73332012-02-29 Marek Polacek <polacek@redhat.com>
7334
7335 [BZ #13706]
7336 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7337 * elf/Makefile: Add rules to run tst-unused-dep.out.
7338
8847f037
DM
73392012-02-28 David S. Miller <davem@davemloft.net>
7340
7341 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7342 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7343 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7344 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7345 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7346 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7347
169d7f11
JM
73482012-02-29 Joseph Myers <joseph@codesourcery.com>
7349
7350 * math/libm-test.inc (llround_test): Move one test from
7351 lround_test. Use TEST_f_L in moved test.
7352 (lround_test): Move misplaced test to llround_test. Add testcase
7353 from bug 2561.
7354
39adf059
UD
73552012-02-28 Ulrich Drepper <drepper@gmail.com>
7356
7357 * sysdeps/x86_64/fpu/e_expf.S: New file.
7358 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7359
71b5d1c5
SB
73602012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7361
7362 [BZ #13637]
7363 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7364 of remain_len that may cause incomplete multi-byte character and
7365 false match.
7366 * posix/bug-regex33.c: New file.
7367 * posix/Makefile (tests): Add bug-regex33.
7368
1f77f049
JM
73692012-02-28 Joseph Myers <joseph@codesourcery.com>
7370
7371 * manual/macros.texi: New file.
7372 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7373 * manual/libc.texinfo: Include macros.texi.
7374 * manual/creatute.texi: Likewise.
7375 * manual/install.texi: Likewise.
7376 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7377 @glibcadj{} in references to the GNU C Library.
7378 * manual/charset.texi: Likewise.
7379 * manual/conf.texi: Likewise.
7380 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7381 when not using those macros.
7382 * manual/creature.texi: Likewise.
7383 * manual/crypt.texi: Likewise.
7384 * manual/errno.texi: Likewise.
7385 * manual/filesys.texi: Likewise.
7386 * manual/header.texi: Likewise.
7387 * manual/install.texi: Likewise.
7388 * manual/intro.texi: Likewise.
7389 * manual/io.texi: Likewise.
7390 * manual/job.texi: Likewise.
7391 * manual/lang.texi: Likewise.
7392 * manual/libc.texiinfo: Likewise.
7393 * manual/llio.texi: Likewise.
7394 * manual/locale.texi: Likewise.
7395 * manual/maint.texi: Likewise.
7396 * manual/math.texi: Likewise.
7397 * manual/memory.texi: Likewise.
7398 * manual/message.texi: Likewise.
7399 * manual/nss.texi: Likewise.
7400 * manual/pattern.texi: Likewise.
7401 * manual/process.texi: Likewise.
7402 * manual/resource.texi: Likewise.
7403 * manual/search.texi: Likewise.
7404 * manual/setjmp.texi: Likewise.
7405 * manual/signal.texi: Likewise.
7406 * manual/socket.texi: Likewise.
7407 * manual/startup.texi: Likewise.
7408 * manual/stdio.texi: Likewise.
7409 * manual/string.texi: Likewise.
7410 * manual/sysinfo.texi: Likewise.
7411 * manual/syslog.texi: Likewise.
7412 * manual/terminal.texi: Likewise.
7413 * manual/time.texi: Likewise.
7414 * manual/users.texi: Likewise.
7415 * INSTALL: Regenerated.
7416 * NOTES: Regenerated.
d40c5d54 7417 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7418
450bf206
AS
74192012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7420
7421 * include/dirent.h: Include <dirstream.h> before
7422 <dirent/dirent.h>.
7423
741a235b
DM
74242012-02-28 David S. Miller <davem@davemloft.net>
7425
7426 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7427 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7428 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7429 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7430
d6b5aa58
DM
74312012-02-27 David S. Miller <davem@davemloft.net>
7432
1aff59a3
DM
7433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7435 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7436 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7437
d6b5aa58
DM
7438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7439 frame pointer instead of stack pointer relative arg slot.
7440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7441 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7442 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7443
433f48bf
CD
74442012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7445
7446 [BZ #3992]
7447 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7448
d674b76d
DM
74492012-02-27 David S. Miller <davem@davemloft.net>
7450
7451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7455 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7456 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7457 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7458 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7459
0e7727f7
JM
74602012-02-27 Joseph Myers <joseph@codesourcery.com>
7461
7462 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7463 later. Allow versions 5-9.
43be4ca2 7464 * configure: Regenerated.
0e7727f7
JM
7465 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7466 required minimum version and 4.6 as recommended version. Do not
7467 mention bugs in GCC 2.7 and 2.8.
43be4ca2 7468 * INSTALL: Regenerated.
0e7727f7 7469
a78bc654
DM
74702012-02-27 David S. Miller <davem@davemloft.net>
7471
428d5830
DM
7472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7476 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7477 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7478 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7479 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7480
a78bc654
DM
7481 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7482 manipulate bits before adding and subtracting TWO112[sx].
7483 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7484
4579f81c
RM
74852012-02-27 Roland McGrath <roland@hack.frob.com>
7486
36c8acb4
RM
7487 [BZ #13775]
7488 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7489 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7490 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7491 being in POSIX, because they are in 1003.1-2008.
7492
84ad622b
RM
7493 * rt/tst-aio.c: Include <fcntl.h>.
7494 * rt/tst-aio7.c: Likewise.
7495 * rt/tst-aio64.c: Likewise.
7496
4579f81c
RM
7497 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7498
abd923db
JM
74992012-02-27 Joseph Myers <joseph@codesourcery.com>
7500
7501 * manual/install.texi (--with-headers): Describe headers as
7502 interface headers, not private headers.
7503 (Specific advice for GNU/Linux systems): Describe use of headers
7504 from "make headers_install", not private headers from older
7505 kernels.
43be4ca2 7506 * INSTALL: Regenerated.
abd923db
JM
7507 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7508 Change to 2.6.19.
7509 * sysdeps/unix/sysv/linux/configure: Regenerated.
7510
6664049b
JM
7511 * manual/llio.texi (fclean): Remove documentation.
7512
bb8b6697
JM
7513 * manual/Makefile (libc-texi-generated): New variable. Include
7514 version.texi.
7515 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7516 $(libc-texi-generated), not duplicated list of files.
7517 (version.texi, stamp-version): New rules.
7518 (realclean): Remove $(libc-texi-generated), not individual files
7519 from that list. Do not remove dir-add.texinfo.
7520 * manual/libc.texinfo: Comment out uses of edition numbers and
7521 references to printed manual. Remove last-updated dates.
7522 (EDITION): Comment out.
7523 (ISBN): Likewise.
7524 (VERSION, UPDATED): Remove.
7525 (version.texi): Include.
7526
12e5c3b9
AS
75272012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7528
7529 * sysdeps/posix/spawni.c: Include <signal.h>.
7530 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7531 * sysdeps/pthread/aio_fsync.c: Likewise.
7532
4efeffc1 75332012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 7534
ba63ba08
UD
7535 * conform/Makefile (tests): Run only when not cross-compiling and
7536 when fast-check is not defined.
7537
d94a4670
UD
7538 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7539 * conform/data/limits.h-data: Fixes for POSIX2008.
7540 * conform/run-conformtest.sh: Run all tests.
7541 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7542 headers.
7543 * include/bits/dlfcn.h: Likewise.
7544 * include/langinfo.h: Likewise.
7545 * include/monetary.h: Likewise.
7546 * include/sys/poll.h: Likewise.
7547
7548 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7549 for __USE_GNU.
7550 * posix/spawn.h: Define __need_sigset_t.
7551 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7552 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7553 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7554 to get sigevent_t only.
7555 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7556 only for __USE_GNU.
7557 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7558 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7559 process_vm_writev only for __USE_GNU.
7560 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
7561
7562 * conform/Makefile: For now ignore errors from run-conformtest.
7563 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7564 POSIX to avoid namespace pollution. Don't prepend headers.
7565 * conform/data/aio.h-data: Fixes for POSIX testing.
7566 * conform/data/fcntl.h-data: Likewise.
7567 * conform/data/glob.h-data: Likewise.
7568 * conform/data/grp.h-data: Likewise.
7569 * conform/data/pthread.h-data: Likewise.
7570 * conform/data/pwd.h-data: Likewise.
7571 * conform/data/signal.h-data: Likewise.
7572 * conform/data/spawn.h-data: Likewise.
7573 * conform/data/stdio.h-data: Likewise.
7574 * conform/data/stdlib.h-data: Likewise.
7575 * conform/data/stropts.h-data: Likewise.
7576 * conform/data/sys/mman.h-data: Likewise.
7577 * conform/data/sys/stat.h-data: Likewise.
7578 * conform/data/sys/types.h-data: Likewise.
7579 * conform/data/sys/wait.h-data: Likewise.
7580 * conform/data/time.h-data: Likewise.
7581 * conform/data/unistd.h-data: Likewise.
7582 * conform/data/utime.h-data: Likewise.
7583
7584 * io/sys/stat.h: fchmod was always in POSIX.
7585 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7586 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7587 * rt/aio.h: Define __need_timespec before including <time.h>.
7588 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7589 struct. Add forward declaration of pthread_attr_t and use it in
7590 sigevent.
7591 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7592 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7593 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7594 always remove CLK_TCK definition.
7595
c20105c3
AS
75962012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7597
7598 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7599
7a270350
UD
76002012-02-25 Ulrich Drepper <drepper@gmail.com>
7601
31341567
UD
7602 * conform/run-conformtest.sh: New file.
7603 * conform/Makefile: Run run-conformtest for tests.
7604 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7605 support.
7606
7607 * conform/data/uchar.h-data: New file.
7608 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7609 * conform/data/arpa/inet.h-data: Likewise.
7610 * conform/data/assert.h-data: Likewise.
7611 * conform/data/complex.h-data: Likewise.
7612 * conform/data/cpio.h-data: Likewise.
7613 * conform/data/ctype.h-data: Likewise.
7614 * conform/data/dirent.h-data: Likewise.
7615 * conform/data/dlfcn.h-data: Likewise.
7616 * conform/data/errno.h-data: Likewise.
7617 * conform/data/fcntl.h-data: Likewise.
7618 * conform/data/float.h-data: Likewise.
7619 * conform/data/fmtmsg.h-data: Likewise.
7620 * conform/data/fnmatch.h-data: Likewise.
7621 * conform/data/ftw.h-data: Likewise.
7622 * conform/data/glob.h-data: Likewise.
7623 * conform/data/grp.h-data: Likewise.
7624 * conform/data/iconv.h-data: Likewise.
7625 * conform/data/inttypes.h-data: Likewise.
7626 * conform/data/langinfo.h-data: Likewise.
7627 * conform/data/libgen.h-data: Likewise.
7628 * conform/data/limits.h-data: Likewise.
7629 * conform/data/locale.h-data: Likewise.
7630 * conform/data/math.h-data: Likewise.
7631 * conform/data/monetary.h-data: Likewise.
7632 * conform/data/mqueue.h-data: Likewise.
7633 * conform/data/ndbm.h-data: Likewise.
7634 * conform/data/net/if.h-data: Likewise.
7635 * conform/data/netdb.h-data: Likewise.
7636 * conform/data/netinet/in.h-data: Likewise.
7637 * conform/data/nl_types.h-data: Likewise.
7638 * conform/data/poll.h-data: Likewise.
7639 * conform/data/pthread.h-data: Likewise.
7640 * conform/data/pwd.h-data: Likewise.
7641 * conform/data/regex.h-data: Likewise.
7642 * conform/data/sched.h-data: Likewise.
7643 * conform/data/search.h-data: Likewise.
7644 * conform/data/semaphore.h-data: Likewise.
7645 * conform/data/setjmp.h-data: Likewise.
7646 * conform/data/signal.h-data: Likewise.
7647 * conform/data/spawn.h-data: Likewise.
7648 * conform/data/stdarg.h-data: Likewise.
7649 * conform/data/stdio.h-data: Likewise.
7650 * conform/data/stdlib.h-data: Likewise.
7651 * conform/data/string.h-data: Likewise.
7652 * conform/data/strings.h-data: Likewise.
7653 * conform/data/stropts.h-data: Likewise.
7654 * conform/data/sys/ipc.h-data: Likewise.
7655 * conform/data/sys/mman.h-data: Likewise.
7656 * conform/data/sys/msg.h-data: Likewise.
7657 * conform/data/sys/resource.h-data: Likewise.
7658 * conform/data/sys/select.h-data: Likewise.
7659 * conform/data/sys/sem.h-data: Likewise.
7660 * conform/data/sys/shm.h-data: Likewise.
7661 * conform/data/sys/socket.h-data: Likewise.
7662 * conform/data/sys/stat.h-data: Likewise.
7663 * conform/data/sys/statvfs.h-data: Likewise.
7664 * conform/data/sys/time.h-data: Likewise.
7665 * conform/data/sys/timeb.h-data: Likewise.
7666 * conform/data/sys/times.h-data: Likewise.
7667 * conform/data/sys/types.h-data: Likewise.
7668 * conform/data/sys/uio.h-data: Likewise.
7669 * conform/data/sys/un.h-data: Likewise.
7670 * conform/data/sys/utsname.h-data: Likewise.
7671 * conform/data/sys/wait.h-data: Likewise.
7672 * conform/data/syslog.h-data: Likewise.
7673 * conform/data/tar.h-data: Likewise.
7674 * conform/data/termios.h-data: Likewise.
7675 * conform/data/utime.h-data: Likewise.
7676 * conform/data/utmpx.h-data: Likewise.
7677 * conform/data/varargs.h-data: Likewise.
7678 * conform/data/wchar.h-data: Likewise.
7679 * conform/data/wctype.h-data: Likewise.
7680 * conform/data/wordexp.h-data: Likewise.
7681
7682 * include/stropts.h: New file.
7683 * include/uchar.h: New file.
7684 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7685 * include/assert.h: Likewise.
7686 * include/ctype.h: Likewise.
7687 * include/dirent.h: Likewise.
7688 * include/dlfcn.h: Likewise.
7689 * include/fcntl.h: Likewise.
7690 * include/fnmatch.h: Likewise.
7691 * include/glob.h: Likewise.
7692 * include/grp.h: Likewise.
7693 * include/libio.h: Likewise.
7694 * include/locale.h: Likewise.
7695 * include/math.h: Likewise.
7696 * include/net/if.h: Likewise.
7697 * include/netdb.h: Likewise.
7698 * include/netinet/in.h: Likewise.
7699 * include/pthread.h: Likewise.
7700 * include/pwd.h: Likewise.
7701 * include/regex.h: Likewise.
7702 * include/sched.h: Likewise.
7703 * include/search.h: Likewise.
7704 * include/setjmp.h: Likewise.
7705 * include/signal.h: Likewise.
7706 * include/stdio.h: Likewise.
7707 * include/stdlib.h: Likewise.
7708 * include/string.h: Likewise.
7709 * include/sys/cdefs.h: Likewise.
7710 * include/sys/mman.h: Likewise.
7711 * include/sys/msg.h: Likewise.
7712 * include/sys/resource.h: Likewise.
7713 * include/sys/select.h: Likewise.
7714 * include/sys/socket.h: Likewise.
7715 * include/sys/stat.h: Likewise.
7716 * include/sys/statvfs.h: Likewise.
7717 * include/sys/time.h: Likewise.
7718 * include/sys/times.h: Likewise.
7719 * include/sys/uio.h: Likewise.
7720 * include/sys/utsname.h: Likewise.
7721 * include/sys/wait.h: Likewise.
7722 * include/termios.h: Likewise.
7723 * include/time.h: Likewise.
7724 * include/ulimit.h: Likewise.
7725 * include/unistd.h: Likewise.
7726 * include/utime.h: Likewise.
7727 * include/wchar.h: Likewise.
7728 * include/wctype.h: Likewise.
7729 * include/wordexp.h: Likewise.
7730
7731 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7732
7a270350
UD
7733 * time/time.h: TIME_UTC must be a macro.
7734 Make timespec_get available for ISO C11 only as well.
7735
7724defc
UD
77362012-02-24 Ulrich Drepper <drepper@gmail.com>
7737
7738 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7739 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7740
6b1d1d46
JM
77412012-02-24 Joseph Myers <joseph@codesourcery.com>
7742
7743 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 7744
0f8bbd69
JM
77452012-02-24 Joseph Myers <joseph@codesourcery.com>
7746
7747 * manual/texinfo.tex: Update to version 2012-01-19.16.
7748
66ab80bc
JM
77492012-02-24 Joseph Myers <joseph@codesourcery.com>
7750
7751 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7752
74981cc5
RM
77532012-02-24 Roland McGrath <roland@hack.frob.com>
7754
ee968201
RM
7755 [BZ #13738]
7756 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7757 * manual/fdl-1.3.texi: New file.
7758 * manual/fdl-1.1.texi: File removed.
7759
74981cc5
RM
7760 [BZ #13738]
7761 * manual/libc.texinfo (FDL_VERSION): New @set.
7762 Use it for mention of FDL in cover text.
7763 (Documentation License): Use it in @include file name.
7764
7bb764bc
JM
77652012-02-22 Joseph Myers <joseph@codesourcery.com>
7766 Roland McGrath <roland@hack.frob.com>
7767
7768 [BZ #5461]
7769 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7770 not LONG_LONG_MAX and LONG_LONG_MIN.
7771 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7772 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7773 name.
7774 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7775
6cbeae47
JM
77762012-02-22 Joseph Myers <joseph@codesourcery.com>
7777
7778 [BZ #2547]
7779 [BZ #11365]
7780 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7781 manipulate bits before adding and subtracting TWO23[sx].
7782 * math/libm-test.inc (nearbyint_test): Add more tests.
7783
fe45ce09
JM
77842012-02-22 Joseph Myers <joseph@codesourcery.com>
7785
7786 [BZ #2548]
7787 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7788 bits before adding and subtracting TWO23[sx].
7789 * math/libm-test.inc (rint_test): Add more tests.
7790 (rint_test_tonearest): Likewise.
7791 (rint_test_towardzero): Likewise.
7792 (rint_test_downward): Likewise.
7793 (rint_test_upward: Likewise.
7794
ff3b3d82
JM
77952012-02-22 Joseph Myers <joseph@codesourcery.com>
7796
7797 [BZ #10110]
7798 * include/stdc-predef.h: New file. Extracted from features.h.
7799 * include/features.h: Include stdc-predef.h.
7800 * Makefile (headers): Add stdc-predef.h.
7801 * CONFORMANCE (Compiler limitations): Update.
7802
ef0aab35
JM
78032012-02-22 Joseph Myers <joseph@codesourcery.com>
7804
7805 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7806
58639409
DM
78072012-02-21 David S. Miller <davem@davemloft.net>
7808
7809 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7810 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7811
c0e70b25
DM
78122012-02-20 David S. Miller <davem@davemloft.net>
7813
7814 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7815 using a normal save/restore sequence, rather than allocating a
7816 dummy stack frame just to store a frame pointer and restore.
7817 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7818
fb06851d
JM
78192012-02-21 Joseph Myers <joseph@codesourcery.com>
7820
7821 * manual/install.texi: Fix stray word in line-wrapped comment.
7822
7a8b71c3
DM
78232012-02-20 David S. Miller <davem@davemloft.net>
7824
d510c123
DM
7825 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7826 both binutils and gcc support GOTDATA.
7827
0722d7c2
DM
7828 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7829 "rd %pc" in the PIC register setup sequences.
7830
3d2b3019
DM
7831 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7832 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7833 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7834 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7835 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7836 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7837 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7838 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7839 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7840 (SYSCALL_ERROR_HANDLER): Likewise.
7841 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7842 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7843 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7844 (SYSCALL_ERROR_HANDLER): Likewise.
7845
c80098a9
DM
7846 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7847 (HAVE_GCC_GOTDATA): New.
7848 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7849 relocation support in both binutils and gcc.
7850 * sysdeps/sparc/elf/configure: Regenerate.
7851
3a2545a0
DM
7852 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7853 * sysdeps/sparc/sparc32/elf/configure: Delete.
7854 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7855 * sysdeps/sparc/sparc64/elf/configure: Delete.
7856 * sysdeps/sparc/elf/configure.in: New file.
7857 * sysdeps/sparc/elf/configure: Generate.
7858
7a8b71c3
DM
7859 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7860 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7861 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7862 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7863 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7864
f1e86fca
JM
78652012-02-21 Joseph Myers <joseph@codesourcery.com>
7866
7867 * manual/install.texi: Do not mention specific glibc version
7868 numbers.
7869 * manual/libc.texinfo (VERSION, UPDATED): Update.
7870 (@copying): Use @copyright{} and range of years.
7871
0e7dfaef
JM
78722012-02-21 Joseph Myers <joseph@codesourcery.com>
7873
7874 [BZ #13695]
7875 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7876 [crti.S not in sysdirs] (generated): Do not append.
7877 [crti.S not in sysdirs] (omit-deps): Likewise.
7878 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7879 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7880 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7881 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7882 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7883 Likewise.
7884 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7885 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7886 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7887 * csu/defs.awk: Remove file.
7888 * sysdeps/generic/initfini.c: Likewise.
7889 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7890 variable.
7891 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7892 Likewise.
7893
599af3ca
JM
78942012-02-20 Joseph Myers <joseph@codesourcery.com>
7895
7896 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7897 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7898 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7899 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7900 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7901 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7902 <bits/epoll.h>.
7903 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7904 (__EPOLL_PACKED): Define to empty if not defined by
7905 <bits/epoll.h>.
7906 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7907 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7908 bits/epoll.h.
7909
0e499750
JM
79102012-02-20 Joseph Myers <joseph@codesourcery.com>
7911
7912 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7913 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7914 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7915 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7916 <bits/timerfd.h>.
7917 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7918 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7919 bits/timerfd.h.
7920
5ad91f6e
JM
79212012-02-20 Joseph Myers <joseph@codesourcery.com>
7922
7923 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7924 in C locale.
7925 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7926 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7927 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7929
06b99b02
AJ
79302012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7931
7932 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7933 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7934
7638c0fd
AS
79352012-02-19 Andreas Schwab <schwab@linux-m68k.org>
7936
7937 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
7938 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
7939 defined.
7940 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
7941 Likewise.
7942 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7943 entry for 2.16.
7944
92221550
AJ
79452012-02-19 Aurelien Jarno <aurelien@aurel32.net>
7946
7947 * math/w_acos.c: Use non-signaling floating-point comparisons.
7948 * math/w_acosf.c: Likewise.
7949 * math/w_acosh.c: Likewise.
7950 * math/w_acoshf.c: Likewise.
7951 * math/w_acoshl.c: Likewise.
7952 * math/w_acosl.c: Likewise.
7953 * math/w_asin.c: Likewise.
7954 * math/w_asinf.c: Likewise.
7955 * math/w_asinl.c: Likewise.
7956 * math/w_atanh.c: Likewise.
7957 * math/w_atanhf.c: Likewise.
7958 * math/w_atanhl.c: Likewise.
7959 * math/w_exp2.c: Likewise.
7960 * math/w_exp2f.c: Likewise.
7961 * math/w_exp2l.c: Likewise.
7962 * math/w_j0.c: Likewise.
7963 * math/w_j0f.c: Likewise.
7964 * math/w_j0l.c: Likewise.
7965 * math/w_j1.c: Likewise.
7966 * math/w_j1f.c: Likewise.
7967 * math/w_j1l.c: Likewise.
7968 * math/w_jn.c: Likewise.
7969 * math/w_jnf.c: Likewise.
7970 * math/w_log.c: Likewise.
7971 * math/w_log10.c: Likewise.
7972 * math/w_log10f.c: Likewise.
7973 * math/w_log10l.c: Likewise.
7974 * math/w_log2.c: Likewise.
7975 * math/w_log2f.c: Likewise.
7976 * math/w_log2l.c: Likewise.
7977 * math/w_logf.c: Likewise.
7978 * math/w_logl.c: Likewise.
7979 * math/w_sqrt.c: Likewise.
7980 * math/w_sqrtf.c: Likewise.
7981 * math/w_sqrtl.c: Likewise.
7982 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7983 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7984 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7985 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7986 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7987
ebaf36eb
JM
79882012-02-19 Joseph Myers <joseph@codesourcery.com>
7989
7990 [BZ #9739]
7991 * manual/string.texi (strnlen): Use correct parameter name in
7992 equivalent expression.
7993
71c254a6
JM
79942012-02-19 Joseph Myers <joseph@codesourcery.com>
7995
7996 [BZ #11174]
7997 * manual/users.texi (seteuid): Consistently use neweuid for
7998 argument name.
7999
16d2c631
JM
80002012-02-19 Joseph Myers <joseph@codesourcery.com>
8001
8002 [BZ #13704]
8003 * manual/nss.texi (Services in the NSS configuration): Correct
8004 list of services in example configuration file.
8005
cd837b09
NB
80062012-02-19 Nick Bowler <nbowler@draconx.ca>
8007
8008 [BZ #11322]
8009 * manual/arith.texi: Remove statements about negative zero
8010 behaving identically to zero.
8011
02c4bbad
JM
80122012-02-18 Joseph Myers <joseph@codesourcery.com>
8013
8014 [BZ #5993]
8015 * manual/install.texi: Do not document upgrading from libc5.
8016
366842e7
JM
80172012-02-18 Joseph Myers <joseph@codesourcery.com>
8018
8019 [BZ #4596]
8020 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8021
dd54084d
DM
80222012-02-18 David S. Miller <davem@davemloft.net>
8023
8024 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8025 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8026 %o7 across the call.
8027 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8028 instead.
8029 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8030 SETUP_PIC_REG_LEAF.
8031 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8032 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8033 * sysdeps/sparc/crtn.S: Likewise.
8034
2bcc53a3
UD
80352012-02-17 Ulrich Drepper <drepper@gmail.com>
8036
8037 * aout/Makefile: Remove.
8038
09c093b5
RK
80392012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8040
8041 [BZ #13058]
8042 * manual/examples/argp-ex1.c (main): Format definition in GNU
8043 style.
8044 * manual/examples/argp-ex2.c (main): Likewise.
8045 * manual/examples/argp-ex3.c (main): Likewise.
8046 * manual/examples/argp-ex4.c (main): Likewise.
8047 * manual/examples/longopt.c (main): Use new-style prototype
8048 definition.
8049 * manual/examples/strncat.c (main): Specify return type and use
8050 (void) for arguments.
8051 * manual/examples/subopt.c (main): Use char **argv argument.
8052
2ee633a2
JM
80532012-02-17 Joseph Myers <joseph@codesourcery.com>
8054
8055 [BZ #5077]
8056 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8057 rounding modes.
8058
0520adde
FB
80592012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8060
8061 [BZ #6907]
8062 * manual/string.texi (strchr): Change when strchrnul is
8063 recommended.
8064
3f4081cd
DGM
80652012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8066
8067 [BZ #174]
8068 * manual/locale.texi (setlocale): Document LOCPATH.
8069
d1b10e78
JM
80702012-02-17 Joseph Myers <joseph@codesourcery.com>
8071
8072 [BZ #10210]
8073 * manual/process.texi (execle): Move @dots{} before last argument.
8074
79c6869c
PB
80752012-02-17 Paul Bolle <pebolle@tiscali.nl>
8076
8077 [BZ #12047]
8078 * manual/charset.texi (Generic Charset Conversion): Fix typo
8079 (LC_TYPE -> LC_CTYPE).
8080
cc6e48bc
NB
80812012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8082
8083 [BZ #5805]
8084 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8085 (scalbnf): Likewise.
8086 (scalbnl): Likewise.
8087 (scalbln): Likewise.
8088 (scalblnf): Likewise.
8089 (scalblnl): Likewise.
8090 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8091 (vwarnx): Likewise.
8092 (verr): Likewise.
8093 (verrx): Likewise.
8094 * manual/filesys.texi (telldir): Use braces around return type.
8095 * manual/llio.texi (mmap): Add space after comma.
8096 (mmap64): Likewise.
8097 * manual/math.texi (jn): Use @var{} on parameter names.
8098 (jnf): Likewise.
8099 (jnl): Likewise.
8100 (yn): Likewise.
8101 (ynf): Likewise.
8102 (ynl): Likewise.
8103 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8104 line.
8105 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8106 "...".
8107 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8108 (sched_get_priority_max): Likewise.
8109 * manual/signal.texi (sigvec): Add space after comma.
8110 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8111 names.
8112 (if_indextoname): Likewise.
8113 (if_freenameindex): Likewise.
8114 (sendto): Use ',' instead of '.' in prototype.
8115 * manual/startup.texi (syscall): Use @dots{} instead of literal
8116 "...".
8117 * manual/stdio.texi (__fpending): Separate initial words of
8118 paragraph from @deftypefun line.
8119 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8120 "...".
8121 (vsyslog): Use @var{} on parameter names.
8122 * manual/terminal.texi (stty): Use @var{} on parameter names.
8123 * manual/users.texi (getutmp): Use @var{} on parameter names.
8124 (getutmpx): Likewise.
8125
5b23062f
JM
81262012-02-17 Joseph Myers <joseph@codesourcery.com>
8127
8128 [BZ #6884]
8129 * manual/stdio.texi (fopen): Fix typos in description of
8130 ",ccs=STRING".
8131
8dee4833
AJ
81322012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8133
8134 [BZ #4026]
8135 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8136 get clock_id definition.
8137
9078ce93
TS
81382012-02-17 Thomas Schwinge <thomas@schwinge.name>
8139
8140 [BZ #4822]
8141 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8142 (madvise): Cast every argument to void on its own.
8143
3835c55f
JM
81442012-02-17 Joseph Myers <joseph@codesourcery.com>
8145
8146 [BZ #9902]
8147 * manual/startup.texi (Exit Status): Fix typo.
8148
35c47e37
JM
81492012-02-17 Joseph Myers <joseph@codesourcery.com>
8150
8151 [BZ #10140]
8152 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8153 * manual/examples/argp-ex2.c: Likewise.
8154 * manual/examples/argp-ex3.c: Likewise.
8155
e3b69ca7
RH
81562012-02-16 Richard Henderson <rth@redhat.com>
8157
8158 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8159 * sysdeps/s390/s390-32/initfini.c: Remove.
8160 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8161 * sysdeps/s390/s390-64/initfini.c: Remove.
8162
df83af67
KK
81632012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8164
8165 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8166 compiler output for sysdeps/generic/initfini.c.
8167 * sysdeps/sh/elf/initfini.c: Remove file.
8168
f63f3380
DM
81692012-02-16 David S. Miller <davem@davemloft.net>
8170
fb59b3a4
DM
8171 [BZ #11494]
8172 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8173
f63f3380
DM
8174 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8175 * sysdeps/sparc/crti.S: New file.
8176 * sysdeps/sparc/crtn.S: New file.
8177 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8178 * sysdeps/sparc/sparc64/Makefile: Likewise.
8179
df6a4a4a
MF
81802012-02-15 Mike Frysinger <vapier@gentoo.org>
8181
6dd8f3dc 8182 [BZ #3335]
df6a4a4a
MF
8183 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8184
1cac7236
RM
81852012-02-15 Roland McGrath <roland@hack.frob.com>
8186
d2c736f8
RM
8187 [BZ #4822]
8188 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8189
1cac7236
RM
8190 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8191 (write, read, close): Likewise.
8192 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8193
8e475601
JM
81942012-02-15 Joseph Myers <joseph@codesourcery.com>
8195
8196 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8197 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8198 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8199 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8200 <bits/signalfd.h>.
8201 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8202 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8203 bits/signalfd.h.
8204
ed656b40
MP
82052012-02-14 Marek Polacek <polacek@redhat.com>
8206
8207 * sysdeps/x86_64/crti.S: New file.
8208 * sysdeps/x86_64/crtn.S: New file.
8209 * sysdeps/x86_64/elf/initfini.c: Remove file.
8210
2a979d3a
JM
82112012-02-13 Joseph Myers <joseph@codesourcery.com>
8212
8213 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8214 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8215 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8216 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8217 <bits/inotify.h>.
8218 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8219 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8220 bits/inotify.h.
8221
2a418ac3
JM
82222012-02-13 Joseph Myers <joseph@codesourcery.com>
8223
8224 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8225 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8226 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8227 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8228 <bits/eventfd.h>.
8229 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8230 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8231 bits/eventfd.h.
8232
fb779be7
TS
82332012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8234
e19e83c5
RM
8235 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8236 __feraiseexcept instead of feraiseexcept.
7c35ffed 8237
fb779be7
TS
8238 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8239 nanosleep invocations.
8240 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8241 strings, and add error checking for a nanosleep invocations.
8242
59ba27a6
PE
82432012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8244
8245 Replace FSF snail mail address with URLs, as per GNU coding standards.
8246 Most of the snail mail addresses were wrong anyway, and omitting
8247 them makes the source code easier to maintain. Almost all of the
8248 changes are to license notices and to locale LC_IDENTIFICATION
8249 addresses, except for this one:
8250 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8251 not its snail mail address.
8252
57b957eb
RH
82532012-02-09 Richard Henderson <rth@twiddle.net>
8254
af850b1c
RH
8255 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8256 of kernel-features.h.
8257
57b957eb
RH
8258 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8259
6b73181a
MP
82602012-02-08 Marek Polacek <polacek@redhat.com>
8261
8262 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8263 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8264 * sysdeps/gnu/_G_config.h: Likewise.
8265 * sysdeps/generic/_G_config.h: Likewise.
8266
26ecc33a
AS
82672012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8268
6c6dbc63
AS
8269 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8270 tests.
8271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8272
e216c012
AS
8273 * sysdeps/powerpc/powerpc32/crti.S: New file.
8274 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8275 * sysdeps/powerpc/powerpc64/crti.S: New file.
8276 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8277
26ecc33a
AS
8278 * Makeconfig (have-initfini): Don't set.
8279 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8280 * configure.in (nopic_initfini): Don't substitute.
8281 * config.h.in (HAVE_INITFINI): Don't #undef.
8282 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8283 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8284
3add8e13
JM
82852012-02-08 Joseph Myers <joseph@codesourcery.com>
8286
8287 Support crti.S and crtn.S provided directly by architectures.
8288 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8289 [crti.S in sysdirs] (omit-deps): Likewise.
8290 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8291 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8292 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8293 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8294 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8295 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8296 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8297 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8298 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8299 compiler output for sysdeps/generic/initfini.c.
8300 * sysdeps/i386/elf/Makefile: Remove file.
8301 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8302
a22f12b4
MP
83032012-02-07 Marek Polacek <polacek@redhat.com>
8304
8305 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8306 * sysdeps/gnu/_G_config.h: Likewise.
8307 * sysdeps/mach/hurd/_G_config.h: Likewise.
8308
148cf100
MP
83092012-02-07 Marek Polacek <polacek@redhat.com>
8310
8311 * math/Makefile (tests): Add tst-CMPLX2.
8312 * math/tst-CMPLX2.c: New file.
8313
cfdc0dd7
AS
83142012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8315
84ba42c4
AS
8316 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8317
cfdc0dd7
AS
8318 * math/libm-test.inc (jn_test): Add missing L suffix.
8319
622c86f4
MP
83202012-02-06 Marek Polacek <polacek@redhat.com>
8321
8322 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8323 * sysdeps/i386/fpu/e_powf.S: Likewise.
8324 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8325 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8326 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8327 * sysdeps/i386/fpu/e_pow.S: Likewise.
8328 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8329 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8330 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8331 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8332 * sysdeps/i386/fpu/e_log2.S: Likewise.
8333 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8334 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8335 * sysdeps/i386/fpu/e_powl.S: Likewise.
8336 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8337 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8338 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8339 * sysdeps/i386/fpu/e_logl.S: Likewise.
8340 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8341 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8342 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8343 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8344 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8345 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8346 * sysdeps/i386/fpu/e_log.S: Likewise.
8347 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8348 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8349 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8350 * sysdeps/i386/fpu/e_logf.S: Likewise.
8351 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8352 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8353 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8354 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8355 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8356 * sysdeps/i386/fpu/e_log10.S: Likewise.
8357 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8358 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8359 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8360 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8361 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8362 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8363 * sysdeps/i386/asm-syntax.h: Likewise.
8364 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8365 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8366 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8367 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8368 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8369 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8370 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8371 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8372 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8373 * sysdeps/powerpc/sysdep.h: Likewise.
8374 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8375 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8376
d4a54ac6
JM
83772012-02-06 Joseph Myers <joseph@codesourcery.com>
8378
8379 [BZ #411]
8380 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8381
314054ea
JM
83822012-02-06 Joseph Myers <joseph@codesourcery.com>
8383
8384 * sysdeps/i386/sysdep.h: Include <features.h>.
8385 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8386 version.
8387
d8e0ca50
JM
83882012-02-05 Joseph Myers <joseph@codesourcery.com>
8389
8390 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8391 Define.
8392 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8393 LOAD_PIC_REG_STR.
8394
b1da7dd9
JM
83952012-02-03 Joseph Myers <joseph@codesourcery.com>
8396
8397 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8398 (SETUP_PIC_REG): Use GET_PC_THUNK.
8399 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8400 macro.
8401
9a1d9254
JM
84022012-02-03 Joseph Myers <joseph@codesourcery.com>
8403
8404 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8405 for non-PIC compilation.
8406 (SETUP_PIC_REG): Add .p2align directive.
8407 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8408 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8409 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8410 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8411 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8412 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8413 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8414 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8415 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8416 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8417 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8418 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8419 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8420 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8421 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8422 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8423 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8424 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8425 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8426 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8427 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8428 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8429 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8430 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8431 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8432 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8433 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8434 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8435 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8436 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8437 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8438 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8439 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8440 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8441 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8442 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8443 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8444 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8445 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8446 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8447 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8448
65dc3b75
JM
84492012-02-03 Joseph Myers <joseph@codesourcery.com>
8450
8451 * math/tst-CMPLX.c: Include <stdio.h>.
8452
d55bf177
JM
84532012-01-31 Joseph Myers <joseph@codesourcery.com>
8454
8455 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8456 float.
8457 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8458 * sysdeps/sparc/bits/mathdef.h: Likewise.
8459
69db4f8f
MP
84602012-01-31 Marek Polacek <polacek@redhat.com>
8461
8462 * libio/libio.h: Don't define _PARAMS.
8463 * locale/programs/config.h: Don't define PARAMS.
8464 * stdlib/strtol_l.c: Likewise.
8465 (__strtol_l): Remove PARAMS from the prototype.
8466
41b81892
UD
84672012-01-31 Ulrich Drepper <drepper@gmail.com>
8468
3b49edc0
UD
8469 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8470 names. Just use the correct names. Remove unnecessary wrapper
8471 functions.
8472 * malloc/arena.c: Likewise.
8473 * malloc/hooks.c: Likewise.
8474
41b81892
UD
8475 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8476 ARENA_TEST says not to. Simplify test for creation of a new arena.
8477 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8478
27a25b6e
UD
84792012-01-30 Ulrich Drepper <drepper@gmail.com>
8480
8481 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8482 into tail calls.
8483 (update_get_addr): New function.
8484 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8485 GET_ADDR_MODULE parameter.
8486
c8a89e7d
JM
84872012-01-30 Joseph Myers <joseph@codesourcery.com>
8488
8489 * crypt/cert.c: Remove __STDC__ conditionals.
8490 * crypt/crypt-entry.c: Likewise.
8491 * crypt/crypt_util.c: Likewise.
8492 * libio/filedoalloc.c: Likewise.
8493 * libio/fileops.c: Likewise.
8494 * libio/genops.c: Likewise.
8495 * libio/iofclose.c: Likewise.
8496 * libio/iofdopen.c: Likewise.
8497 * libio/iofopen.c: Likewise.
8498 * libio/iofopen64.c: Likewise.
8499 * libio/iogetdelim.c: Likewise.
8500 * libio/iopopen.c: Likewise.
8501 * libio/obprintf.c: Likewise.
8502 * libio/oldfileops.c: Likewise.
8503 * libio/oldiofclose.c: Likewise.
8504 * libio/oldiofdopen.c: Likewise.
8505 * libio/oldiofopen.c: Likewise.
8506 * libio/oldiopopen.c: Likewise.
8507 * libio/wfiledoalloc.c: Likewise.
8508 * libio/wgenops.c: Likewise.
8509 * locale/programs/xmalloc.c: Likewise.
8510 * misc/syslog.c: Likewise.
8511 * stdio-common/xbug.c: Likewise.
8512 * string/memchr.c: Likewise.
8513 * string/memcmp.c: Likewise.
8514 * string/memrchr.c: Likewise.
8515 * string/rawmemchr.c: Likewise.
8516 * sysdeps/posix/getcwd.c: Likewise.
8517 * time/strftime_l.c: Likewise.
8518
3b100462
JM
85192012-01-30 Joseph Myers <joseph@codesourcery.com>
8520
8521 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
8522 * config.make.in (config-cflags-sse2avx): Define.
8523 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8524 Fix typo.
8525
607998af
CM
85262012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8527
8528 * scripts/config.guess: Update from upstream config git repository.
8529 * scripts/config.sub: Likewise.
8530
3601428f
CM
85312012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8532
3ac8b282
CM
8533 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8534 (EM_NUM): Update.
8535 (R_TILEPRO_*, R_TILEGX_*): New macros.
8536
e034841e
CM
8537 * scripts/firstversions.awk: Fix bug in version range handling.
8538
540d7568
CM
8539 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8540
3601428f
CM
8541 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8542
463de862
CM
8543 * include/sys/epoll.h: New file.
8544 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8545 libc_hidden_def.
8546
73139a76
UD
85472012-01-28 Ulrich Drepper <drepper@gmail.com>
8548
96bc5b45
UD
8549 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8550 Avoid unnecessary __WORDSIZE == 64 test.
8551 (fmaxf): Use VEX format if possible.
8552 (fmax): Likewise.
8553 (fminf): Likewise.
8554 (fmin): Likewise.
8555
56f6f6a2
UD
8556 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8557 * math/math_private.h: Remove libc_fegetround* and
8558 libc_fesetround*.
8559 * sysdeps/i386/configure.in: Check for -msse2avx.
8560 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8561 also if SSE2AVX is defined.
8562 Remove libc_fegetround* and libc_fesetround*.
8563 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8564 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8565 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8566 of HAS_YMM_USABLE.
8567 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8568 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8569 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8570 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8571 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8572
73139a76
UD
8573 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8574
d73f93a4
AZ
85752012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8576
8577 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8578 size is not set.
8579 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8580
6ee65ed6
UD
85812012-01-27 Ulrich Drepper <drepper@gmail.com>
8582
8583 [BZ #13618]
8584 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8585 relocation.
8586 * Makeconfig (libm): Define.
8587 * elf/Makefile: Add rules to build and run tst-relsort1.
8588 * elf/tst-relsort1.c: New file.
8589 * elf/tst-relsort1mod1.c: New file.
8590 * elf/tst-relsort1mod2.c: New file.
8591
8db21882
JM
85922012-01-27 Joseph Myers <joseph@codesourcery.com>
8593
8594 * math/s_ldexp.c: Remove __STDC__ conditionals.
8595 * math/s_ldexpf.c: Likewise.
8596 * math/s_ldexpl.c: Likewise.
8597 * math/s_nextafter.c: Likewise.
8598 * math/s_nexttowardf.c: Likewise.
8599 * math/s_significand.c: Likewise.
8600 * math/s_significandf.c: Likewise.
8601 * math/s_significandl.c: Likewise.
8602 * math/w_jnl.c: Likewise.
8603 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8604 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8605 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8606 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8607 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8608 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8609 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8610 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8611 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8612 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8613 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8614 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8615 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8616 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8617 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8618 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8619 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8620 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8621 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8622 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8623 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8624 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8625 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8626 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8627 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8628 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8629 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8630 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8631 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8632 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8633 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8634 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8635 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8636 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8637 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8638 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8639 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8640 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8641 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8642 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8643 * sysdeps/ieee754/k_standard.c: Likewise.
8644 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8645 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8646 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8647 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8648 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8649 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8650 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8651 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8652 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8653 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8654 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8655 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8656 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8657 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8658 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8659 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8660 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8661 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8662 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8663 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8664 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8665 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8666 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8667 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8668 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8669 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8670 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8671 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8672 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8673 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8674 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8675 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8676 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8677 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8678 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8679 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8680 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8681 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8682 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8683 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8684 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8685 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8686 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8687 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8688 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8689 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8690 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8691 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8692 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8693 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8694 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8695 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8696 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8697 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8698 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8699 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8700 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8701 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8702 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8703 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8704 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8705 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8706 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8707 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8708 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8709 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8710 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8711 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8712 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8713 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8714 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8715 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8716 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8717 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8718 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8719 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8720 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8721 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8722 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8723 * sysdeps/ieee754/s_matherr.c: Likewise.
8724 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8725 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8726 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8727 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8728
965a54a4
JM
87292012-01-26 Joseph Myers <joseph@codesourcery.com>
8730
8731 * crypt/md5.h: Remove __STDC__ conditionals.
8732 * libio/libioP.h: Likewise.
8733 * locale/programs/config.h: Likewise.
8734 * sysdeps/generic/sysdep.h: Likewise.
8735 * sysdeps/i386/asm-syntax.h: Likewise.
8736 * sysdeps/s390/asm-syntax.h: Likewise.
8737 * sysdeps/unix/sysdep.h: Likewise.
8738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8740
7071ad79
JM
87412012-01-26 Joseph Myers <joseph@codesourcery.com>
8742
8743 * libio/libio.h: Remove __STDC__ conditionals.
8744 * malloc/obstack.h: Likewise.
8745 * math/complex.h: Likewise.
8746 * math/math.h: Likewise.
8747 * sysdeps/generic/_G_config.h: Likewise.
8748 * sysdeps/gnu/_G_config.h: Likewise.
8749 * sysdeps/mach/hurd/_G_config.h: Likewise.
8750 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8751 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8752 * sysdeps/sparc/bits/mathdef.h: Likewise.
8753
afc5ed09
UD
87542012-01-26 Ulrich Drepper <drepper@gmail.com>
8755
8756 [BZ #13583]
8757 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 8758 Clean up HAS_* macros.
afc5ed09 8759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
8760 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8761 possible.
8762 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8763 HAS_AVX.
8764 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8765 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8766 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8767 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8768 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 8769
bdb6de1d
JM
87702012-01-25 Joseph Myers <joseph@codesourcery.com>
8771
8772 * elf/tst-unique3.cc (gets): Remove declaration.
8773 * elf/tst-unique3lib.cc (gets): Likewise.
8774 * elf/tst-unique3lib2.cc (gets): Likewise.
8775 * elf/tst-unique4.cc (gets): Likewise.
8776
b15549e6
UD
87772012-01-24 Ulrich Drepper <drepper@gmail.com>
8778
8779 * include/stdio.h: Add C++ protection. Add gets declarations and
8780 definitions.
8781 * debug/tst-chk1.c: Don't declare gets here.
8782 * stdio-common/tst-gets.c: Likewise.
8783
a037381f
JM
87842012-01-24 Joseph Myers <joseph@codesourcery.com>
8785
8786 * posix/glob: Remove directory.
8787
f1d4aa75
JM
87882012-01-24 Joseph Myers <joseph@codesourcery.com>
8789
8790 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8791
81c0c964
PT
87922012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8793
8794 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8795 of the non-standard EPFNOSUPPORT.
8796
0ea698ae
ST
87972011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8798
8799 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8800 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8801 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8802
d220b117
UD
88032012-01-21 Ulrich Drepper <drepper@gmail.com>
8804
8805 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8806
3e1aa84e
UD
88072012-01-20 Ulrich Drepper <drepper@gmail.com>
8808
8809 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8810 transient errors.
8811 * nscd/grpcache.c (cache_addgr): Likewise.
8812 * nscd/hstcache.c (cache_addhst): Likewise.
8813 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8814 * nscd/pwdcache.c (cache_addpw): Likewise.
8815 * nscd/servicescache.c (cache_addserv): Likewise.
8816
400aa020
UD
88172012-01-16 Ulrich Drepper <drepper@gmail.com>
8818
d77e7869
UD
8819 * malloc/malloc.c: Various cleanups.
8820 * malloc/hooks.c: Likewise.
8821
400aa020
UD
8822 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8823 * stdlib/bug-fmtmsg1.c: New file.
8824
8825 * stdlib/fmtmsg.c (init): Add missing unlock.
8826 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8827
e0a309cf
MP
88282012-01-12 Marek Polacek <polacek@redhat.com>
8829
8830 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8831 and _GNU_SOURCE.
8832
929d11c7
WS
88332012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8834
8835 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8836 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8837 macro to ensure uniqueness of label name.
8838 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8839 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8840
41d0e869
UD
88412012-01-11 Ulrich Drepper <drepper@gmail.com>
8842
0cc5ed3b
UD
8843 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8844
41d0e869
UD
8845 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8846 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8847 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8848 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8849
a47a831a
UD
88502012-01-10 Ulrich Drepper <drepper@gmail.com>
8851
daa891c0
UD
8852 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8853
8854 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8855 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8856 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8857
e58ef0f2
UD
8858 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8859
a47a831a 8860 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
8861 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8862 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 8863 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
8864
8865 * math/bits/math-finite.h: Add ldexp support.
8866
a0bfc9c7
MP
88672012-01-10 Marek Polacek <polacek@redhat.com>
8868
8869 * locale/programs/localedef.h (show_archive_content): Add noreturn
8870 attribute.
8871
d6e97a1d
UD
88722012-01-09 Ulrich Drepper <drepper@gmail.com>
8873
8874 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8875
d5835c26
UD
88762012-01-08 Ulrich Drepper <drepper@gmail.com>
8877
e5f484c6
UD
8878 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8879
d5835c26
UD
8880 * io/Makefile (headers): Add bits/poll2.h.
8881
d1f741e9
WS
88822011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8883
8884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8885 typo #include statement.
8886
ec09c1c4
UD
88872012-01-08 Ulrich Drepper <drepper@gmail.com>
8888
8889 * include/sys/cdefs.h: Define __attribute_alloc_size.
8890 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8891 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8892 * elf/pldd.c: Likewise.
8893 * iconv/iconv_charmap.c: Likewise.
8894 * iconv/iconvconfig.c: Likewise.
8895 * iconv/strtab.c: Likewise.
8896 * locale/programs/locale.c: Likewise.
8897 * locale/programs/localedef.h: Likewise.
8898 * locale/programs/simple-hash.c: Likewise.
8899 * nscd/nscd.h: Likewise.
8900 * nss/makedb.c: Likewise.
8901 * sysdeps/generic/ldconfig.h: Likewise.
8902 * locale/programs/localedef.c: Remove xmalloc prototype.
8903 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8904
20b38e03
PP
89052012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8906
8907 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8908 appropriate.
8909
a0da5fe1
UD
89102012-01-08 Ulrich Drepper <drepper@gmail.com>
8911
1d5a644a 8912 * math/Makefile (tests): Add tst-CMPLX.
669704fd 8913 * math/tst-CMPLX.c: New file.
1d5a644a 8914
8784a6db
UD
8915 * math/complex.h (CMPLXL): Fix typo.
8916
d9a216c0
UD
8917 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8918 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8919 GLIBC_2.16.
8920 * debug/tst-chk1.c: Add poll and ppoll tests.
8921 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8922 * include/sys/poll.h: Add hidden proto for ppoll.
8923 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8924 * sysdeps/mach/hurd/ppoll.c: Likewise.
8925 * io/ppoll.c: Likewise.
8926 * debug/poll_chk.c: New file.
8927 * debug/ppoll_chk.c: New file.
8928 * include/bits/poll2.h: New file.
8929 * io/bits/poll2.h: New file.
8930
ac097f5c
UD
8931 [BZ #1350]
8932 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8933
2119dcfa
UD
8934 * configure.in: static is always set to yes. Remove.
8935 * config.make.in: Don't set build-static.
8936 * Makeconfig: Remove use of build-static.
8937 * dlfcn/Makefile: Likewise.
8938 * elf/Makefile: Likewise.
8939 * math/Makefile: Likewise.
8940 * misc/Makefile: Likewise.
8941 * nptl/Makefile: Likewise.
8942 * sysdeps/mach/hurd/Makefile: Likewise.
8943
121766a9
UD
8944 * configure.in: PWD_P is not used anymore.
8945 * config.make.in: Remove PWD_P entry.
8946
51a1d39c 8947 * configure.in: Remove last remnants of RANLIB.
8720d066 8948 No need to check for signed size_t anymore.
215f4bdc
UD
8949 Don't set libc_commonpagesize and libc_relro_required here for Alpha
8950 and IA-64.
3857022a 8951 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
8952 * aclocal.m4: Likewise.
8953
d3ed7225
UD
8954 * wcsmbs/mbrtoc16.c: Implement using towc function.
8955 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8956 * wcsmbs/wcsmbsload.c: Likewise.
8957 * iconv/gconv_simple.c: Likewise.
8958 * iconv/gconv_int.h: Likewise.
8959 * iconv/gconv_builtin.h: Likewise.
8960 * iconv/iconv_prog.c: Remove CHAR16 handling.
8961
8962 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8963
8964 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8965
a0da5fe1
UD
8966 * configure.in: Remove --with-elf and --enable-bounded options.
8967 Dont set base_machine for ia64. More non-ELF conditions removed.
8968 Remove testing and setting of leading underscore information.
8969 * config.make.in (build-bounded): Set to no.
8970 * config.h.in: Remove NO_UNDERSCORES entry.
8971 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8972 them.
8973 * csu/start.c: Remove !NO_UNDERSCORE code.
8974 * locale/localeinfo.h: Likewise.
8975 * sysdeps/generic/machine-gmon.h: Likewise.
8976 * sysdeps/generic/sysdep.h: Likewise.
8977 * sysdeps/i386/sysdep.h: Likewise.
8978 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8979 * sysdeps/mach/sysdep.h: Likewise.
8980 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8981 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8982 * sysdeps/sh/sysdep.h: Likewise.
8983 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8984 * sysdeps/unix/i386/sysdep.S: Likewise.
8985 * sysdeps/unix/sparc/start.c: Likewise.
8986 * sysdeps/unix/sparc/sysdep.S: Likewise.
8987 * sysdeps/unix/sparc/sysdep.h: Likewise.
8988 * sysdeps/unix/start.c: Likewise.
8989 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8990 * sysdeps/x86_64/sysdep.h: Likewise.
8991
df78418a
UD
89922012-01-07 Ulrich Drepper <drepper@gmail.com>
8993
a784e502
UD
8994 [BZ #13553]
8995 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
8996 for non-gcc.
8997 * argp/argp-fmtstream.h: Use const instead __const.
8998 * argp/argp.h: Likewise.
8999 * assert/assert.h: Likewise.
9000 * bits/fenv.h: Likewise.
9001 * bits/sched.h: Likewise.
9002 * bits/sigset.h: Likewise.
9003 * bits/sigthread.h: Likewise.
9004 * catgets/nl_types.h: Likewise.
9005 * conform/data/pthread.h-data: Likewise.
9006 * crypt/crypt-private.h: Likewise.
9007 * crypt/crypt.h: Likewise.
9008 * crypt/crypt_util.c: Likewise.
9009 * ctype/ctype.h: Likewise.
9010 * debug/execinfo.h: Likewise.
9011 * debug/mbsnrtowcs_chk.c: Likewise.
9012 * debug/mbsrtowcs_chk.c: Likewise.
9013 * debug/wcsnrtombs_chk.c: Likewise.
9014 * debug/wcsrtombs_chk.c: Likewise.
9015 * debug/wcstombs_chk.c: Likewise.
9016 * dirent/dirent.h: Likewise.
9017 * dlfcn/dlfcn.h: Likewise.
9018 * elf/neededtest4.c: Likewise.
9019 * grp/grp.h: Likewise.
9020 * gshadow/gshadow.h: Likewise.
9021 * iconv/gconv.h: Likewise.
9022 * iconv/gconv_int.h: Likewise.
9023 * iconv/gconv_simple.c: Likewise.
9024 * iconv/iconv.h: Likewise.
9025 * iconv/loop.c: Likewise.
9026 * iconv/skeleton.c: Likewise.
9027 * include/aio.h: Likewise.
9028 * include/aliases.h: Likewise.
9029 * include/argz.h: Likewise.
9030 * include/arpa/inet.h: Likewise.
9031 * include/assert.h: Likewise.
9032 * include/dirent.h: Likewise.
9033 * include/dlfcn.h: Likewise.
9034 * include/execinfo.h: Likewise.
9035 * include/fcntl.h: Likewise.
9036 * include/fenv.h: Likewise.
9037 * include/glob.h: Likewise.
9038 * include/grp.h: Likewise.
9039 * include/libintl.h: Likewise.
9040 * include/mntent.h: Likewise.
9041 * include/netdb.h: Likewise.
9042 * include/pwd.h: Likewise.
9043 * include/rpc/netdb.h: Likewise.
9044 * include/sched.h: Likewise.
9045 * include/search.h: Likewise.
9046 * include/shadow.h: Likewise.
9047 * include/signal.h: Likewise.
9048 * include/stdio.h: Likewise.
9049 * include/stdlib.h: Likewise.
9050 * include/string.h: Likewise.
9051 * include/sys/socket.h: Likewise.
9052 * include/sys/stat.h: Likewise.
9053 * include/sys/statfs.h: Likewise.
9054 * include/sys/statvfs.h: Likewise.
9055 * include/sys/syslog.h: Likewise.
9056 * include/sys/time.h: Likewise.
9057 * include/sys/uio.h: Likewise.
9058 * include/time.h: Likewise.
9059 * include/unistd.h: Likewise.
9060 * include/utmp.h: Likewise.
9061 * include/wchar.h: Likewise.
9062 * include/wctype.h: Likewise.
9063 * inet/aliases.h: Likewise.
9064 * inet/arpa/inet.h: Likewise.
9065 * inet/netinet/ether.h: Likewise.
9066 * inet/netinet/in.h: Likewise.
9067 * intl/libintl.h: Likewise.
9068 * io/bits/fcntl2.h: Likewise.
9069 * io/fcntl.h: Likewise.
9070 * io/ftw.h: Likewise.
9071 * io/sys/poll.h: Likewise.
9072 * io/sys/stat.h: Likewise.
9073 * io/sys/statfs.h: Likewise.
9074 * io/sys/statvfs.h: Likewise.
9075 * io/utime.h: Likewise.
9076 * libio/bits/stdio.h: Likewise.
9077 * libio/bits/stdio2.h: Likewise.
9078 * libio/libio.h: Likewise.
9079 * libio/libioP.h: Likewise.
9080 * libio/stdio.h: Likewise.
9081 * locale/lc-ctype.c: Likewise.
9082 * locale/locale.h: Likewise.
9083 * login/utmp.h: Likewise.
9084 * malloc/arena.c: Likewise.
9085 * malloc/malloc.c: Likewise.
9086 * malloc/malloc.h: Likewise.
9087 * malloc/mcheck.c: Likewise.
9088 * malloc/mtrace.c: Likewise.
9089 * math/bits/mathcalls.h: Likewise.
9090 * math/fenv.h: Likewise.
9091 * math/math_private.h: Likewise.
9092 * misc/bits/error.h: Likewise.
9093 * misc/bits/syslog.h: Likewise.
9094 * misc/err.h: Likewise.
9095 * misc/error.h: Likewise.
9096 * misc/fstab.h: Likewise.
9097 * misc/mntent.h: Likewise.
9098 * misc/regexp.h: Likewise.
9099 * misc/search.h: Likewise.
9100 * misc/sgtty.h: Likewise.
9101 * misc/sys/mman.h: Likewise.
9102 * misc/sys/syslog.h: Likewise.
9103 * misc/sys/uio.h: Likewise.
9104 * misc/sys/xattr.h: Likewise.
9105 * misc/ttyent.h: Likewise.
9106 * nis/rpcsvc/ypclnt.h: Likewise.
9107 * nss/nss.h: Likewise.
9108 * posix/bits/unistd.h: Likewise.
9109 * posix/fnmatch.h: Likewise.
9110 * posix/glob.h: Likewise.
9111 * posix/sched.h: Likewise.
9112 * posix/spawn.h: Likewise.
9113 * posix/sys/wait.h: Likewise.
9114 * posix/unistd.h: Likewise.
9115 * posix/wordexp.h: Likewise.
9116 * pwd/pwd.h: Likewise.
9117 * resolv/netdb.h: Likewise.
9118 * resource/sys/resource.h: Likewise.
9119 * rt/aio.h: Likewise.
9120 * rt/bits/mqueue2.h: Likewise.
9121 * rt/mqueue.h: Likewise.
9122 * shadow/shadow.h: Likewise.
9123 * signal/signal.h: Likewise.
9124 * socket/send.c: Likewise.
9125 * socket/sendto.c: Likewise.
9126 * socket/sys/socket.h: Likewise.
9127 * stdio-common/printf.h: Likewise.
9128 * stdlib/bits/stdlib.h: Likewise.
9129 * stdlib/fmtmsg.h: Likewise.
9130 * stdlib/monetary.h: Likewise.
9131 * stdlib/stdlib.h: Likewise.
9132 * stdlib/ucontext.h: Likewise.
9133 * streams/stropts.h: Likewise.
9134 * string/argz.h: Likewise.
9135 * string/bits/string2.h: Likewise.
9136 * string/string.h: Likewise.
9137 * string/strings.h: Likewise.
9138 * sunrpc/rpc/auth.h: Likewise.
9139 * sunrpc/rpc/auth_des.h: Likewise.
9140 * sunrpc/rpc/clnt.h: Likewise.
9141 * sunrpc/rpc/netdb.h: Likewise.
9142 * sunrpc/rpc/pmap_clnt.h: Likewise.
9143 * sunrpc/rpc/xdr.h: Likewise.
9144 * sysdeps/generic/inttypes.h: Likewise.
9145 * sysdeps/generic/net/if.h: Likewise.
9146 * sysdeps/generic/sys/swap.h: Likewise.
9147 * sysdeps/gnu/net/if.h: Likewise.
9148 * sysdeps/gnu/utmpx.h: Likewise.
9149 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9150 * sysdeps/i386/i486/bits/string.h: Likewise.
9151 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9152 * sysdeps/s390/bits/string.h: Likewise.
9153 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9154 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9155 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9156 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9157 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9158 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9159 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9160 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9161 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9162 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9163 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9164 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9165 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9166 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9167 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9168 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9169 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9170 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9171 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9172 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9173 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9174 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9175 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9176 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9177 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9178 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9179 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9180 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9181 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9182 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9183 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9184 * sysvipc/sys/ipc.h: Likewise.
9185 * sysvipc/sys/msg.h: Likewise.
9186 * sysvipc/sys/sem.h: Likewise.
9187 * sysvipc/sys/shm.h: Likewise.
9188 * termios/termios.h: Likewise.
9189 * time/sys/time.h: Likewise.
9190 * time/time.h: Likewise.
9191 * wcsmbs/bits/wchar2.h: Likewise.
9192 * wcsmbs/uchar.h: Likewise.
9193 * wcsmbs/wchar.h: Likewise.
9194 * wctype/wctype.h: Likewise.
9195
0269750c
UD
9196 [BZ #13551]
9197 * Makeconfig: Remove all but ELF support including AIX support.
9198 * Makerules: Likewise.
9199 * config.h.in: Likewise.
9200 * config.make.in: Likewise.
9201 * configure: Likewise.
9202 * configure.in: Likewise.
9203 * csu/Makefile: Likewise.
9204 * csu/version.c: Likewise.
9205 * debug/Makefile: Likewise.
9206 * dlfcn/Makefile: Likewise.
9207 * elf/Makefile: Likewise.
9208 * extra-lib.mk: Likewise.
9209 * iconv/Makefile: Likewise.
9210 * include/libc-symbols.h: Likewise.
9211 * include/shlib-compat.h: Likewise.
9212 * resolv/Makefile: Likewise.
9213 * resolv/res_libc.c: Likewise.
9214 * rt/Makefile: Likewise.
9215 * sysdeps/i386/asm-syntax.h: Likewise.
9216 * sysdeps/i386/sysdep.h: Likewise.
9217 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9218 * sysdeps/mach/sysdep.h: Likewise.
9219 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9220 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9221 * sysdeps/s390/asm-syntax.h: Likewise.
9222 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9223 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9224 * sysdeps/sh/sysdep.h: Likewise.
9225 * sysdeps/unix/sparc/sysdep.h: Likewise.
9226 * sysdeps/wordsize-32/divdi3.c: Likewise.
9227 * sysdeps/x86_64/sysdep.h: Likewise.
9228
00bbd29b
UD
9229 * argp/Versions: Remove _argp_unlock_xxx.
9230
9231 [BZ #13559]
9232 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9233 * abilist/libBrokenLocale.abilist: Likewise.
9234 * abilist/libanl.abilist: Likewise.
9235 * abilist/libc.abilist: Likewise.
9236 * abilist/libcrypt.abilist: Likewise.
9237 * abilist/libdl.abilist: Likewise.
9238 * abilist/libm.abilist: Likewise.
9239 * abilist/libnsl.abilist: Likewise.
9240 * abilist/libpthread.abilist: Likewise.
9241 * abilist/libresolv.abilist: Likewise.
9242 * abilist/librt.abilist: Likewise.
9243 * abilist/libthread_db.abilist: Likewise.
9244 * abilist/libutil.abilist: Likewise.
9245 * abilist/libnss_db.abilist: New file.
9246
9247 * scripts/abilist.awk: Add support for indirect functions.
9248
a2693a0e
UD
9249 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9250
3f05895f
UD
9251 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9252
ecb6fb48
UD
9253 * shlib-versions: Remove entries for ports architectures.
9254
664f8cb9
UD
9255 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9256 files in ports.
9257 * elf/stackguard-macros.h: Remove support for IA-64.
9258 * elf/tst-auditmod1.c: Likewise.
9259 * sysdeps/generic/ldsodefs.h: Likewise.
9260
7ae81d88
UD
9261 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9262 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9263 configure files.
9264
bdeba135
UD
9265 [BZ #13552]
9266 * configure.in: Remove --enable-omitfp support.
9267 * FAQ.in: Adjust.
9268 * config.make.in: Likewise.
9269 * Makeconfig: Likewise.
9270 * manual/install.texi: Likewise.
9271
d75a0a62
UD
9272 In case anyone cares, the IA-64 architecture could move to ports.
9273 * sysdeps/ia64/*: Removed.
9274 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9275 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9276
dcc9756b
UD
9277 [BZ #13555]
9278 * configure.in: Remove entries for unsupported architectures.
9279
d3761ebc 9280 [BZ #13533]
9954432e
UD
9281 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9282 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9283 routines.
9284 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9285 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9286 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9287 fall back to using wcrtomb.
9288 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9289 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9290 renaming.
9291 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9292 * wcsmbs/tst-c16c32-1.c: New file.
9293
9294 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9295 local variable.
9296
c3a87236
UD
9297 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9298
28926a1b
UD
9299 * elf/tst-unique3.cc: Add explicit declaration of gets.
9300 * elf/tst-unique3lib.cc: Likewise.
9301 * elf/tst-unique3lib2.cc: Likewise.
9302 * elf/tst-unique4.cc: Likewise.
9303
df78418a
UD
9304 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9305
8ecd6b2a
JM
93062012-01-06 Joseph Myers <joseph@codesourcery.com>
9307
9308 [BZ #13566]
9309 * assert/assert.h (static_assert): Don't define for C++.
9310 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9311 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9312
9f115170
UD
93132012-01-03 Ulrich Drepper <drepper@gmail.com>
9314
5e0d0300
UD
9315 * iconv/loop.c (single loop): Fix assertion in storing of
9316 remaining bytes.
9317
9f115170
UD
9318 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9319
81fb02b0
UD
93202012-01-01 Ulrich Drepper <drepper@gmail.com>
9321
9322 * posix/getconf.c: Update copyright year.
9323 * nss/getent.c: Likewise.
a316c1f6 9324 * nss/makedb.c: Likewise.
81fb02b0
UD
9325 * iconv/iconvconfig.c: Likewise.
9326 * iconv/iconv_prog.c: Likewise.
9327 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9328 * elf/pldd.c: Likewise.
9329 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9330 * catgets/gencat.c: Likewise.
9331 * csu/version.c: Likewise.
9332 * elf/ldd.bash.in: Likewise.
9333 * elf/sprof.c (print_version): Likewise.
9334 * locale/programs/locale.c: Likewise.
9335 * locale/programs/localedef.c: Likewise.
a316c1f6 9336 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9337 * nscd/nscd.c (print_version): Likewise.
9338 * debug/xtrace.sh: Likewise.
9339 * malloc/memusage.sh: Likewise.
9340 * malloc/mtrace.pl: Likewise.
9341 * debug/catchsegv.sh: Likewise.
9342
2ba92745
JJ
93432011-12-30 Jakub Jelinek <jakub@redhat.com>
9344
9345 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9346 pure attribute.
9347
dadebdae
UD
93482011-12-24 Ulrich Drepper <drepper@gmail.com>
9349
d3761ebc 9350 [BZ #13533]
db6af3eb
UD
9351 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9352 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9353 transformations.
9354 * iconv/gconv_int.h: Likewise.
9355 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9356 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9357 from libc for GLIBC_2.16.
9358 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9359 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9360 * wcsmbs/uchar.h: Really define mbstate_t.
9361 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9362 * wcsmbs/c16rtomb.c: New file.
9363 * wcsmbs/mbrtoc16.c: New file.
9364 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9365 for C/POSIX locale.
9366 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9367 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9368
dadebdae
UD
9369 * wcsmbs/wchar.h: Add missing __restrict.
9370
67371b56
UD
93712011-12-23 Ulrich Drepper <drepper@gmail.com>
9372
74033a25
UD
9373 [BZ #13532]
9374 * time/Makefile (routines): Add timespec_get.
9375 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9376 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9377 timespec for ISO C11.
9378 * time/timespec_get.c: New file.
9379 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9380 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9381
380d7e87
UD
9382 [BZ #13531]
9383 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9384 * stdlib/stdlib.h: Declare aligned_alloc.
9385 * Versions.def: Add GLIBC_2.16 for libc.
9386 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9387
4e9e7a35
UD
9388 [BZ 13527]
9389 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9390 ISO C11.
9391
380d7e87 9392 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9393 code.
9394
03a71829
UD
9395 [BZ #13528]
9396 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9397
839e283e
UD
9398 [BZ #13529]
9399 * assert/assert.h (static_assert): Define.
9400
ce5294e2 9401 * version.h: Update for 2.16 development version.
90fa7312 9402
8d44e150 9403 [BZ #13526]
d7809905
UD
9404 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9405 _ISOC11_SOURCE.
9406
c0da14cd
UD
9407 * version.h (RELEASE): Bump for 2.15 release.
9408 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9409
530a3249
MP
9410 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9411 Patch by Marek Polacek <mpolacek@redhat.com>.
9412
67371b56
UD
9413 * bits/byteswap.h: Protect long long constants with __extension__.
9414 * sysdeps/i386/bits/byteswap.h: Likewise.
9415 * sysdeps/ia64/bits/byteswap.h: Likewise.
9416 * sysdeps/s390/bits/byteswap.h: Likewise.
9417 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9418
15db4de1
LD
94192011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9420
9421 [BZ #13540]
bbe315ea
LD
9422 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9423 destination buffer.
15db4de1
LD
9424 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9425
2b2596b1
MP
94262011-12-23 Marek Polacek <polacek@redhat.com>
9427
9428 * elf/dl-addr.c (determine_info): Add inline keyword.
9429 * elf/tst-auditmod4b.c (check_avx): Likewise.
9430 * elf/tst-auditmod6b.c (check_avx): Likewise.
9431 * elf/tst-auditmod6c.c (check_avx): Likewise.
9432 * elf/tst-auditmod7b.c (check_avx): Likewise.
9433
70c6c246
UD
94342011-12-23 Ulrich Drepper <drepper@gmail.com>
9435
9436 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9437 !__SSE_MATH__.
9438
c044cf14
LD
94392011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9440
15db4de1 9441 [BZ #13540]
c044cf14
LD
9442 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9443 processing for last bytes.
9444
6b13d9d9
BH
94452011-08-06 Bruno Haible <bruno@clisp.org>
9446
d455f537
BH
9447 [BZ #13061]
9448 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9449 U+0385, not to U+1FEE.
9450
6b13d9d9
BH
9451 [BZ #13062]
9452 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9453 entry for U+00A5 U+0301.
9454
db910efd
UD
94552011-12-22 Ulrich Drepper <drepper@gmail.com>
9456
27deeafc
UD
9457 [BZ #13166]
9458 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9459 buffer for the output is too small.
9460
aed9d171
UD
9461 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9462 optimization.
9463
db910efd
UD
9464 [BZ #13185]
9465 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9466 SSE flags if possible.
9467
2bd779ae
LD
94682011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9469
e7f9dac3 9470 [BZ #13540]
2bd779ae
LD
9471 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9472 processing for last bytes.
9473
154bfc16
JM
94742011-12-22 Joseph Myers <joseph@codesourcery.com>
9475
9476 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9477 (syscall-list-default-options, syscall-list-default-condition)
9478 (syscall-list-includes): Define.
9479 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9480 list of ABIs and options and #if conditions for each ABI. Do not
9481 handle common syscalls between ABIs specially.
9482 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9483 Remove.
9484 (syscall-list-variants, syscall-list-32bit-options)
9485 (syscall-list-32bit-condition, syscall-list-64bit-options)
9486 (syscall-list-64bit-condition): Define.
9487 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9488 (syscall-list-variants, syscall-list-32bit-options)
9489 (syscall-list-32bit-condition, syscall-list-64bit-options)
9490 (syscall-list-64bit-condition): Define.
9491 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9492 Remove.
9493 (syscall-list-variants, syscall-list-32bit-options)
9494 (syscall-list-32bit-condition, syscall-list-64bit-options)
9495 (syscall-list-64bit-condition): Define.
9496 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9497 Remove.
9498 (syscall-list-variants, syscall-list-32bit-options)
9499 (syscall-list-32bit-condition, syscall-list-64bit-options)
9500 (syscall-list-64bit-condition): Define.
9501
21eaf3a5
UD
95022011-12-22 Ulrich Drepper <drepper@gmail.com>
9503
16c6f992
UD
9504 * locale/iso-639.def: Add brx entry.
9505
41043168
UD
9506 [BZ #13328]
9507 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9508 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9509
21eaf3a5
UD
9510 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9511 __feraiseexcept_renamed.
9512
e3a851a2
UD
95132011-12-21 Ulrich Drepper <drepper@gmail.com>
9514
4920765e
UD
9515 [BZ #13538]
9516 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9517 EPOLLET with unsigned values.
9518 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9519 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9520
e3a851a2
UD
9521 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9522 to large cancellation.
9523 * math/s_cacoshf.c: Likewise.
9524 * math/s_cacoshl.c: Likewise.
9525
b27e24b8
RK
95262011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9527
9528 [BZ #13305]
aebefeee 9529 [BZ #12786]
b27e24b8
RK
9530 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9531 * math/s_cacoshf.c: Likewise.
9532 * math/s_cacoshl.c: Likewise.
9533
ee190f67
UD
95342011-12-21 Ulrich Drepper <drepper@gmail.com>
9535
9536 [BZ #13439]
9537 * iconv/gconv.h: Define __GCONV_SWAP.
9538 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9539 * iconvdata/utf-16.c: Likewise.
9540 * iconvdata/utf-32.c: Likewise.
9541
707f25df
AS
95422011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9543
9544 [BZ #13524]
9545 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9546 numerator after shifting it by one limb.
9547
d2daaa1e
RÁE
95482011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9549
9550 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9551 under [__USE_EXTERN_INLINES].
9552
a4647e72
UD
95532011-12-17 Ulrich Drepper <drepper@gmail.com>
9554
9555 [BZ #13446]
9556 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9557
f0b264f1
AZ
95582011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9559
9560 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9561 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9562 optimized code.
9563 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9564 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9565 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9566 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9567 for strncasecmp/strncasecmp_l compilation.
9568 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9569 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9570
8ef4f244
MP
95712011-12-08 Marek Polacek <mpolacek@redhat.com>
9572
9573 [BZ #13484]
9574 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9575 of __asm__.
9576
97ac2654
UD
95772011-12-17 Ulrich Drepper <drepper@gmail.com>
9578
9579 [BZ #13506]
9580 * time/tzfile.c (__tzfile_read): Check values from file header.
9581
91d2a845
WS
95822011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9583
9584 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9585 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9586 * powerpc/powerpc32/dl-start.S: Likewise.
9587 * powerpc/powerpc32/elf/start.S: Likewise.
9588 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9589 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9590 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9591 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9592 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9593 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9594 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9595 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9596 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9597 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9598 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9599 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9600 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9601 * powerpc/powerpc32/memset.S: Likewise.
9602 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9603 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9604 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9605 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9606 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9607 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9608 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9609 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9610 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9611 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9612 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9613 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9614 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9615
a1267ba1
AZ
96162011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9617
9618 * math/libm-test.inc: Added more nearbyint tests.
9619 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9620 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9621 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9622 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9623
ad8ac1bd
RL
96242011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9625
9626 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9627 FD_CLOEXEC.
9628
1d3e4b61
UD
96292011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9630
9631 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9632 Add wcscpy-ssse3 wcscpy-c.
9633 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9634 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9635 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9636 * sysdeps/x86_64/wcschr.S: New file.
9637 * sysdeps/x86_64/wcsrchr.S: New file.
9638 * string/test-strcmp.c: Remove checking of wcscmp function for
9639 wrong alignments.
9640 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9641 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9642 wcsrchr-sse2 wcsrchr-c.
9643 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9644 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9645 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9646 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9647 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9648 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9649 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9650 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9651 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9652 * wcsmbc/wcschr.c (WCSCHR): New macro.
9653
5b330a2d
UD
96542011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9655
9656 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9657 * wcsmbs/test-wcsrchr.c: New file.
9658 * string/test-strrchr.c: Add wcsrchr support.
9659 (WIDE): New macro.
9660 * wcsmbs/test-wcscpy.c: New file.
9661 * string/test-strcpy.c: Add wcscpy support.
9662 (WIDE): New macro.
26428b7c 9663
f039c043
UD
96642011-12-10 Ulrich Drepper <drepper@gmail.com>
9665
9666 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9667 the inner loop.
9668
850fb039
AS
96692011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9670
9671 [BZ #13472]
9672 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9673
4efbd5cb
UD
96742011-12-04 Ulrich Drepper <drepper@gmail.com>
9675
52ff5dd0 9676 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 9677 Minor optimizations.
52ff5dd0 9678
4efbd5cb
UD
9679 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9680 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9681 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9682
8a426e12
UD
96832011-12-03 Ulrich Drepper <drepper@gmail.com>
9684
aff2453d
UD
9685 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9686 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9687 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9688 for gcc to avoid warnings.
9689 * inet/Makefile (tests): Add tst-checks.
9690 * inet/tst-checks.c: New file.
9691
9692 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9693 warning.
9694
9695 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9696 __wmemcmp_sse2.
9697
9698 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9699 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9700
8a426e12
UD
9701 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9702
9bea3473
UD
97032011-12-02 Ulrich Drepper <drepper@gmail.com>
9704
3a965496
UD
9705 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9706 problem.
9707
9bea3473
UD
9708 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9709
f101631b
UD
97102011-11-29 Joseph Myers <joseph@codesourcery.com>
9711
9712 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9713 conditional on GCC version.
9714 (__arch_compare_and_exchange_val_8_acq)
9715 (__arch_compare_and_exchange_val_16_acq)
9716 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9717 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9718 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9719
a98275aa
UD
97202011-12-02 Joseph Myers <joseph@codesourcery.com>
9721
9722 * sysdeps/sh/backtrace.c: New file.
9723
d4cc29a2
AS
97242011-12-02 Andreas Schwab <schwab@redhat.com>
9725
9726 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9727 parenthesis.
9728
6257af2d
AS
97292011-12-01 Andreas Schwab <schwab@redhat.com>
9730
9731 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9732 falling back to utime.
9733
b5f44c1a
AS
97342011-11-30 Andreas Schwab <schwab@redhat.com>
9735
9736 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9737 expectations for float.
9738
f3a6cc0a
AS
97392011-11-29 Andreas Schwab <schwab@redhat.com>
9740
9741 * locale/weight.h (findidx): Add parameter len.
9742 * locale/weightwc.h (findidx): Likewise.
9743 * posix/fnmatch_loop.c (FCT): Adjust caller.
9744 * posix/regcomp.c (build_equiv_class): Likewise.
9745 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9746 * posix/regexec.c (check_node_accept_bytes): Likewise.
9747 * string/strcoll_l.c (STRCOLL): Likewise.
9748 * string/strxfrm_l.c (STRXFRM): Likewise.
9749
9d65ea3a
UD
97502011-11-17 Ulrich Drepper <drepper@gmail.com>
9751
9752 * Makefile.in: Remove CVSOPT handling.
9753 * configure.in: Remove use of AC_REVISION.
9754 * iconvdata/Makefile (distribute): No need to filter out CVS.
9755 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9756 handling.
9757
5583a086
AS
97582011-11-16 Andreas Schwab <schwab@redhat.com>
9759
9760 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9761 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9762 [USE_AS_STRNCASECMP_L]: Likewise.
9763 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9764 NO_TLS_DIRECT_SEG_REFS.
9765 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9766 Fix argument offsets for non-PIC.
9767 [USE_AS_STRNCASECMP_L]: Likewise.
9768 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9769 NO_TLS_DIRECT_SEG_REFS.
9770
d62a8200
UD
97712011-11-15 Ulrich Drepper <drepper@gmail.com>
9772
9d65ea3a 9773 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
9774 O_CLOEXEC.
9775 * locale/loadlocale.c (_nl_load_locale): Likewise.
9776
09f93bd3
AS
97772011-11-15 Andreas Schwab <schwab@redhat.com>
9778
446514f9
AS
9779 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9780 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9781 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9782 (SYSCALL_GETTIME): Set errno on error.
9783
09f93bd3
AS
9784 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9785 count references to noai6ai_cached.
9786
312be3f9
UD
97872011-11-15 Ulrich Drepper <drepper@gmail.com>
9788
9789 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9790
9791 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9792 FD_CLOEXEC for /proc/self/maps.
9793
9794 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9795 FD_CLOEXEC for /proc/meminfo.
9796
9797 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9798 gai.conf.
9799
9800 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9801 FD_CLOEXEC for given file.
9802
9803 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9804
9805 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9806 FD_CLOEXEC for /etc/hosts.
9807 (_gethtent): Likewise.
9808
9809 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9810
9811 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9812 cancellation and set FD_CLOEXEC for /etc/netgroup.
9813
9814 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9815 reading /etc/publickey.
9816
9817 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9818 allow cancellation when reading /etc/group.
9819
9820 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9821 cancellation.
9822 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9823
9824 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9825 when using data file.
9826
9827 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9828
9829 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9830 (write_nis_obj): Use "c" and "e" in fopen.
9831
9832 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9833
9834 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9835
9836 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9837
9838 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9839
9840 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9841 locale.alias.
9842
9843 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9844
9845 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9846
9847 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9848
9849 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9850 file parsing and set FD_CLOEXEC.
9851
82af0fa8
UD
98522011-11-14 Ulrich Drepper <drepper@gmail.com>
9853
9854 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9855
a5fb313c
AS
98562011-11-14 Andreas Schwab <schwab@redhat.com>
9857
9858 * malloc/arena.c (arena_get2): Don't call reused_arena when
9859 _int_new_arena failed.
9860
6abf3465
UD
98612011-11-14 Ulrich Drepper <drepper@gmail.com>
9862
9863 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9864 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9865 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9866 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9867 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9868 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9869 to compile strcasecmp and strncasecmp.
9870 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9871 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9872
9873 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9874
76e3966e
UD
98752011-11-13 Ulrich Drepper <drepper@gmail.com>
9876
9877 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9878 locale-defines.sym to gen-as-const-headers.
9879 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9880 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9881 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9882 to compile strcasecmp and strncasecmp.
9883 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9884 strcasecmp_l and strncasecmp_l.
9885 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9886 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9887 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9888 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9889 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9890 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9891 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9892 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9893 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9894 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9895 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9896
ab26144e
UD
98972011-11-12 Ulrich Drepper <drepper@gmail.com>
9898
7edb22ef
UD
9899 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9900 result of SYSDEP_GETTIME_CPU to retval.
9901 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9902 parameter list to macro. Remove trailing semicolon. Adjust users.
9903
9694fc44
UD
9904 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9905 variable.
9906
8ad89ef8
UD
9907 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9908 mantissa words.
9909 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9910
0c822ef9
UD
9911 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9912 from unused variable.
9913
874e0564
UD
9914 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9915 DWARF definitions.
9916 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9917 for assembling.
9918
3a2edc79
UD
9919 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9920 over namespaces.
9921
f3c2577f
UD
9922 * sunrpc/rpc_prot.c (rejected): Fix case value.
9923
294ce126
UD
9924 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9925 unsigned long long int to avoid warnings in shift.
9926
5e2b63c6
UD
9927 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9928 of use of trans.
9929 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9930 variable tmp.
9931
e7f4b08e
UD
9932 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9933 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9934 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9935
ab26144e
UD
9936 * nis/nis_table.c (nis_list): Use variable of correct type for
9937 result of __follow_path call.
9938
8a6d5255
AZ
99392011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9940
9941 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
9942 of math functions ceil, trunc, floor, round, and sqrt, when
9943 avaliable on the platform.
9944 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9945 name clash.
9946 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9947 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9948 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9949
aaddc98c
MP
99502011-10-30 Marek Polacek <mpolacek@redhat.com>
9951
9952 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9953 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9954
95b7042b
RM
99552011-11-11 Roland McGrath <roland@hack.frob.com>
9956
9957 * include/unistd.h: Fix __readlink return type.
9958 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9959
57769839
UD
99602011-11-11 Ulrich Drepper <drepper@gmail.com>
9961
9962 * stdlib/ucontext.h: Undo last change for makecontext.
9963
edc5984d
AS
99642011-11-11 Andreas Schwab <schwab@redhat.com>
9965
98591e58
AS
9966 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9967
edc5984d
AS
9968 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9969 * setjmp/setjmp.h: Mark functions as non-leaf.
9970 * setjmp/bits/setjmp2.h: Likewise.
9971 * stdlib/ucontext.h: Likewise.
9972
77cdc054
AS
99732011-11-10 Andreas Schwab <schwab@redhat.com>
9974
9975 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9976 (reused_arena): Don't check arena limit.
9977 (arena_get2): Atomically check arena limit.
9978
fe72eebd
UD
99792011-11-08 Ulrich Drepper <drepper@gmail.com>
9980
5f078c32
UD
9981 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9982 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9983
fe72eebd
UD
9984 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9985 instructions.
9986
ae1bc2fa
AS
99872011-11-07 Andreas Schwab <schwab@redhat.com>
9988
7583a88d
AS
9989 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9990 handler when locking.
9991
ae1bc2fa
AS
9992 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9993 Fix size of allocated buffer.
9994
10fb0bfa
AS
99952011-11-04 Andreas Schwab <schwab@redhat.com>
9996
998832a4
AS
9997 [BZ #10103]
9998 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
9999 declarations for long double functions.
10000 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10001
10fb0bfa
AS
10002 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10003
3d7ba52b
AS
100042011-11-03 Andreas Schwab <schwab@redhat.com>
10005
a9ae54a1
AS
10006 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10007 installed.
10008
3d7ba52b
AS
10009 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10010 is disabled.
10011
bc8db248
ST
100122011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10013
10014 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10015
45b96dd6
AS
100162011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10017
647776f6
AS
10018 * include/alloca.h (stackinfo_alloca_round): Define.
10019 (extend_alloca): Use it.
10020 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10021 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10022 here.
10023
d91a8b93
AS
10024 * scripts/check-local-headers.sh: Ignore libaudit.h.
10025
45b96dd6
AS
10026 * nscd/Makefile (extra-objs): Make recursively expanded.
10027
432d41ce
UD
100282011-11-01 Ulrich Drepper <drepper@gmail.com>
10029
34372fc6
UD
10030 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10031 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10032
fadb59f8
UD
10033 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10034 * posix/tst-rfc3484-2.c: Likewise.
10035 * posix/tst-rfc3484-3.c: Likewise.
10036
78239589
UD
10037 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10038 process_vm_writev.
10039 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10040 process_vm_writev.
10041 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10042 process_vm_writev from libc using GLIBC_2.15 version.
10043
432d41ce
UD
10044 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10045
02f9c6cf
PP
100462011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10047
10048 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10049 stack usage.
10050
3a2c0242
UD
100512011-10-31 Ulrich Drepper <drepper@gmail.com>
10052
f4ec4833
UD
10053 [BZ #13367]
10054 * nss/getent.c (initgroups_keys): Show error message in case no group
10055 names are given.
10056
3a2c0242
UD
10057 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10058 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10059 __bump_nl_timestamp.
10060 * nscd/connections (nscd_init): When host database is served open
10061 netlink socket and request notification about configuration changes.
10062 (main_loop_poll): Track netlink file descriptor and bump timestamp
10063 in case data becomes available.
10064 (main_loop_epoll): Likewise.
10065 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10066 (database_pers_head): Add extra_data fileds.
10067 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10068 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10069 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10070 Adjust caller.
10071 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10072 in6ai data, call __free_in6ai.
10073 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10074 Add -DHAVE_NETLINK.
10075 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10076 interface information. Reuse previous data if netlink timestamp
10077 is not changed.
10078 (__bump_nl_timestamp): New function.
10079 (__free_in6ai): New function.
10080
636064eb
UD
100812011-10-30 Ulrich Drepper <drepper@gmail.com>
10082
10083 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10084 close_not_cancel_no_status here.
10085 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10086
9beb2334
UD
100872011-10-29 Ulrich Drepper <drepper@gmail.com>
10088
6ef76f3b
UD
10089 [BZ #13276]
10090 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10091 return value.
10092
0ffc4f3e 10093 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10094 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10095 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10096
cb95113e
UD
100972011-07-03 Andreas Jaeger <aj@suse.de>
10098
10099 [BZ #10709]
10100 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10101 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10102 * math/libm-test.inc (sin_test): Add test case.
10103
a1b560ff
UD
101042011-10-29 Ulrich Drepper <drepper@gmail.com>
10105
c9aaface
UD
10106 [BZ #13337]
10107 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10108 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10109
d272e7f1
UD
10110 * elf/chroot_canon.c (chroot_canon): Cleanups.
10111
1bc33071
UD
10112 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10113
1760874d
TJ
10114 [BZ #13335]
10115 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10116 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10117
51d91b18
UD
10118 * string/test-strchr.c: Make usable for strchrnul testing.
10119 * string/test-strchrnul.c: New file.
10120 * string/Makefile (strop-tests): Add strchrnul.
10121
a1b560ff 10122 * po/it.po: Update from translation team.
b611fb81 10123 * po/es.po: Likewise.
a1b560ff 10124
a5b81e1f
UD
101252011-10-28 Ulrich Drepper <drepper@gmail.com>
10126
fd52bc6d
UD
10127 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10128 the three constants needed as parameters. Drop the others.
10129 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10130 __m128i_strloadu_tolower.
52e4b9eb
UD
10131 Create and initialize variable zero and use it in all the places
10132 where _mm_setzero_si128 was used.
fd52bc6d 10133
a5b81e1f
UD
10134 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10135 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10136 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10137 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10138 anymore.
10139 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10140 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10141 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10142 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10143 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10144 __mpranred, __mptan.
10145 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10146 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10147 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10148 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10149 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10150 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10151 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10152 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10153 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10154
b4343346
AS
101552011-10-28 Andreas Schwab <schwab@redhat.com>
10156
0c92d8a8
AS
10157 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10158 redefine if SHARED.
10159 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10160
b4343346
AS
10161 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10162 wide char related routines to wcsmbs subdir.
10163
3871f58f
AS
101642011-10-27 Andreas Schwab <schwab@redhat.com>
10165
10166 [BZ #13344]
10167 * misc/sys/cdefs.h (__THROWNL): Define.
10168 * posix/unistd.h: Use __THREADNL instead of __THREAD
10169 for memory synchronization functions.
10170
94d44d9f
RM
101712011-10-26 Roland McGrath <roland@hack.frob.com>
10172
21b64b15 10173 [BZ #13349]
94d44d9f
RM
10174 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10175 doesn't exist.
10176 * manual/stdio.texi (Obstack Streams): Node removed.
10177
f6ce9294
AS
101782011-10-26 Andreas Schwab <schwab@redhat.com>
10179
80479147
AS
10180 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10181 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10182 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10183
f6ce9294
AS
10184 * math/math_private.h (math_force_eval): Allow non-addressable
10185 arguments.
10186 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10187
618280a1
UD
101882011-10-25 Ulrich Drepper <drepper@gmail.com>
10189
e0016b11
UD
10190 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10191 file is not needed.
10192
10193 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10194 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10195 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10196 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10197 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10198 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10199 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10200 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10201 Add AVX variants.
10202 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10203 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10204 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10205 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10206 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10207 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10208 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10209 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10210 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10211 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10212 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10213 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10214 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10215 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10216 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10217 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10218 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10219 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10220 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10221
10222 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10223 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10224
618280a1
UD
10225 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10226 place. Use VEX encoding when compiling for AVX.
10227
37822576
AS
102282011-10-25 Andreas Schwab <schwab@redhat.com>
10229
1f1e1947
AS
10230 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10231 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10232
37822576
AS
10233 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10234
31ea014d
UD
102352011-10-25 Ulrich Drepper <drepper@gmail.com>
10236
d7826aa1 10237 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10238 useless if() expression.
d7826aa1
UD
10239 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10240 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10241 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10242 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10243 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10244 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10245 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10246 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10247 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10248 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10249 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10250 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10251 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10252 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10253 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10254 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10255 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10256 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10257 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10258
31ea014d
UD
10259 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10260
16437fec
AS
102612011-10-25 Andreas Schwab <schwab@redhat.com>
10262
10263 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10264 condition.
10265 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10266
31d3cc00
UD
102672011-10-25 Ulrich Drepper <drepper@gmail.com>
10268
10269 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10270 .text section. Avoid duplicate constants.
10271 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10272 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10273 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10274 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10275 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10276 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10277 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10278 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10279 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10280 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10281 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10282 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10283 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10284 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10285 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10286 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10287 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10288 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10289 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10290 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10291 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10292 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10293 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10294 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10295 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10296 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10297 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10298 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10299 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10300 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10301 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10302 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10303 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10304 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10305 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10306 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10307 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10308 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10309 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10310 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10311 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10312 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10313 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10314 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10315 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10316
58985aa9
UD
103172011-10-24 Ulrich Drepper <drepper@gmail.com>
10318
202c9deb
UD
10319 * sysdeps/x86_64/dla.h: Move to ...
10320 * sysdeps/x86_64/fpu/dla.h: ...here.
10321 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10322 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10323
af968f62
UD
10324 * config.make.in: Add have-mfma4 entry.
10325 * configure.in: Substitute libc_cv_cc_fma4.
10326 * math/Makefile (dbl-only-routines): Add sincostab.
10327 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10328 Use __sincostab not sincos.
10329 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10330 name is a macro.
10331 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10332 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10333 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10334 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10335 using __copysign.
10336 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10337 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10338 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10339 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10340 and __inv.
10341 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10342 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10343 __copysign.
10344 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10345 define aliases when function name is a macro.
10346 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10347 sysdeps/ieee754/dbl-64/sincos.tbl.
10348 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10349 fma4-enabled routines.
10350 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10351 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10352 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10353 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10354 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10355 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10356 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10357 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10358 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10359 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10360 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10361 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10362 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10363 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10364 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10365 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10366 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10367 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10368 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10369 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10370 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10371 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10372 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10373 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10374 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10375 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10376 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10377 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10378 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10379 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10380
58985aa9
UD
10381 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10382 rename.
10383 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10384 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10385 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10386 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10387 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10388 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10389 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10390 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10391
a201fbcf
AS
103922011-10-24 Andreas Schwab <schwab@redhat.com>
10393
10394 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10395
fc2ee42a
LD
103962011-10-23 Ulrich Drepper <drepper@gmail.com>
10397
bb3129bd
UD
10398 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10399
0275fff8
UD
10400 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10401 prediction.
10402 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10403
2fa2ae85
UD
10404 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10405 Remove unused variable magic_bits.
10406 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10407
fc2ee42a
LD
10408 * string/strnlen.c: Define and use STRNLEN macro.
10409 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10410 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10411 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10412 * wcsmbs/wcslen.c: Define and use WCSLEN.
10413 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10414 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10415 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10416 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10417 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10418 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10419 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10420
ce7dd29f
LD
104212011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10422
10423 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10424 strnlen-sse2-no-bsf.
10425 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10426 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10427 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10428 Add strnlen support.
10429 (USE_AS_STRNLEN): New macro.
10430 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10431 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10432 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10433 * sysdeps/x86_64/wcslen.S: New file.
10434
979c70a3
MZ
104352011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10436
10437 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10438 XMM-moves are used for copying on small sizes.
10439
2d09f82f
LD
104402011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10441
10442 * wcsmbs/Makefile (strop-tests): Add wcschr.
10443 * wcsmbs/test-wcschr.c: New file.
10444 * string/test-strchr.c: Update.
10445 Add wcschr support.
10446 (WIDE): New macro.
10447
619fccca
LD
104482011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10449
2d09f82f 10450 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
10451 * wcsmbs/test-wcslen.c: New file.
10452 * string/test-strlen.c: Update.
10453 Add wcslen support.
10454 (WIDE): New macro.
10455
09f699ea
UD
104562011-10-23 Ulrich Drepper <drepper@gmail.com>
10457
10458 * po/it.po: Update from translation team.
10459
95584d3b
LD
104602011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10461
10462 * sysdeps/x86_64/wcscmp.S: Update.
10463 Fix wrong comparison semantics.
10464 wcscmp shall use signed comparison not unsigned.
10465 Don't use substraction to avoid overflow bug.
10466 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10467 * wcsmbc/wcscmp.c: Likewise.
10468 * string/test-strcmp.c: Likewise.
10469 Add new tests to check cases with negative values.
10470
c8b3296b
UD
104712011-10-23 Ulrich Drepper <drepper@gmail.com>
10472
10473 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10474 * sysdeps/x86_64/dla.h: ...here. New file.
10475 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10476 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10477 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10478 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10479 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10480 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10481 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10482 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10483 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10484
246ad57a
AS
104852011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10486
10487 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10488 __ynl_finite aliases.
10489
a1a87169
UD
104902011-10-22 Ulrich Drepper <drepper@gmail.com>
10491
0d355eb7
UD
10492 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10493
a1a87169
UD
10494 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10495 define DLA_FMA.
10496 [DLA_FMA] (EMULV): Use DLA_FMA.
10497 [DLA_FMA] (MUL12): Use EMULV.
10498 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10499 that are not needed.
10500 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10501 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10502 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10503 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10504 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10505 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10506 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10507
ee2aafe0
AS
105082011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10509
10510 * math/s_nan.c: Undef __nan.
10511 * math/s_nanf.c: Undef __nanf.
10512 * math/s_nanl.c: Undef __nanl.
10513 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10514 "math_private.h".
10515
bc62c2fb
UD
105162011-10-22 Ulrich Drepper <drepper@gmail.com>
10517
77425c63
UD
10518 * math/s_catan.c: Add branch predictions.
10519 * math/s_catanf.c: Likewise.
10520 * math/s_catanh.c: Likewise.
10521 * math/s_catanhf.c: Likewise.
10522 * math/s_catanhl.c: Likewise.
10523 * math/s_catanl.c: Likewise.
10524 * math/s_cexp.c: Likewise.
10525 * math/s_cexpf.c: Likewise.
10526 * math/s_cexpl.c: Likewise.
10527 * math/s_clog.c: Likewise.
10528 * math/s_clog10.c: Likewise.
10529 * math/s_clog10f.c: Likewise.
10530 * math/s_clog10l.c: Likewise.
10531 * math/s_clogf.c: Likewise.
10532 * math/s_clogl.c: Likewise.
10533 * math/s_csqrt.c: Likewise.
10534 * math/s_csqrtf.c: Likewise.
10535 * math/s_csqrtl.c: Likewise.
10536 * math/s_ctanf.c: Likewise.
10537 * math/s_ctanh.c: Likewise.
10538 * math/s_ctanhf.c: Likewise.
10539 * math/s_ctanhl.c: Likewise.
10540 * math/s_ctanl.c: Likewise.
10541
bc62c2fb
UD
10542 * math/math_private.h: Define __nan, __nanf, __nanl.
10543 * math/s_cacosh.c: Include <math_private.h>.
10544 * math/s_cacoshl.c: Likewise.
10545 * math/s_casinh.c: Likewise.
10546 * math/s_casinhf.c: Likewise.
10547 * math/s_casinhl.c: Likewise.
10548 * math/s_ccos.c: Rely entire on ccosh.
10549 * math/s_ccosf.c: Rely entire on ccoshf.
10550 * math/s_ccosl.c: Rely entirely on ccoshl.
10551 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10552 Remove tests for FE_INVALID.
10553 * math/s_ccoshf.c: Likewise.
10554 * math/s_ccoshl.c: Likewise.
10555 * math/s_csin.c: Likewise.
10556 * math/s_csinf.c: Likewise.
10557 * math/s_csinh.c Likewise.
10558 * math/s_csinhf.c: Likewise.
10559 * math/s_csinhl.c: Likewise.
10560 * math/s_csinl.c: Likewise.
10561 * math/s_ctan.c: Likewise.
10562 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10563 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10564 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10565
8ec250a4
UD
105662011-10-21 Ulrich Drepper <drepper@gmail.com>
10567
c196fed8
UD
10568 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10569 compilation problems.
10570
8ec250a4
UD
10571 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10572 __builtin_expect.
10573
8d4f46c6
UD
105742011-10-20 Ulrich Drepper <drepper@gmail.com>
10575
ed72b654
UD
10576 * sysdeps/i386/configure.in: Test for -mfma4 option.
10577 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10578 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10579 COMMON_CPUID_INDEX_80000001.
10580 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10581 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10582 use it if FMA3 is not supported.
10583 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10584
8d4f46c6
UD
10585 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10586 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10587
d45c60c2
AS
105882011-10-20 Andreas Schwab <schwab@redhat.com>
10589
10590 [BZ #12892]
10591 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10592 it would create a cycle with a link time dependency.
10593
d9a4d2ab
UD
105942011-10-19 Ulrich Drepper <drepper@gmail.com>
10595
855d1560
UD
10596 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10597 instruction.
10598 * string/Makefile (strop-tests): Add rawmemchr.
10599 * string/test-rawmemchr.c: New file.
10600
d9a4d2ab
UD
10601 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10602 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10603 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10604 when compiling str{,n}casecmp and when AVX is available. Hook up
10605 new optimized code in initializers.
10606
8f3b1ffe
AS
106072011-10-19 Andreas Schwab <schwab@redhat.com>
10608
10609 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10610 __feraiseexcept instead of feraiseexcept.
10611
d38f1dba
UD
106122011-10-18 Ulrich Drepper <drepper@gmail.com>
10613
d9a8d0ab
UD
10614 * math/math_private.h: Define defaults for libc_fetestexcept and
10615 libc_feupdateenv.
10616 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10617 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10618 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10619 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10620 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10621 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10622 libc_fetestexcept and libc_feupdateenv.
10623
4855e3dd
UD
10624 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10625 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10626 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10627 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10628 libc_feholdexcept_setround.
10629
581d30e3
UD
10630 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10631 Add s_nearbyint-c and s_nearbyintf-c.
10632 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10633 nearbyintf inlines.
10634 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10635 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10636 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10637 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10638
d38f1dba
UD
10639 * math/math_private.h: Define defaults for libc_fegetround,
10640 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10641 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10642 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10643 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10644 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10645 standard functions.
10646 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10647 Remove comments and hacks for old compiler versions.
10648 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10649 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10650 libc_feholdexceptl.
10651
caa6c9d8
AS
106522011-10-18 Andreas Schwab <schwab@redhat.com>
10653
10654 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
10655 (__feraiseexcept_renamed): Add __NTH.
10656 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
10657 namespace violations.
10658
97c066e6
UD
106592011-10-17 Ulrich Drepper <drepper@gmail.com>
10660
99ce7b04
UD
10661 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10662
1004d182
UD
10663 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10664
228a984d
UD
10665 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10666 recently added interfaces.
10667 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10668
c8553a6a
UD
10669 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10670 about macro parameter expansion.
10671
ed22dcf6
UD
10672 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10673 __NO_MATH_INLINES is defined. Cleanups.
10674
10675 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10676 and __floorf is target has SSE4.1.
10677 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10678 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10679 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10680 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10681
b171c137
UD
10682 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10683 name.
10684 (floorf): Likewise.
10685
97c066e6
UD
10686 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10687
629f62ef
AS
106882011-10-17 Andreas Schwab <schwab@redhat.com>
10689
49a43d80
AS
10690 * misc/sys/cdefs.h: Fix last change.
10691
629f62ef
AS
10692 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10693 database lookup.
10694
e453f6cd
UD
106952011-10-16 Ulrich Drepper <drepper@gmail.com>
10696
aa78043a
UD
10697 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10698
ad0f5cad
UD
10699 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10700 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10701 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10702 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10703 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10704 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10705 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10706 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10707 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10708 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10709 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10710 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10711 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10712 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10713 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10714 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10715 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10716 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10717 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10718 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10719 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10720 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10721
10722 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10723 ceil, ceilf, floor, floorf.
10724
10725 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10726 Perform IRELATIVE relocations last.
10727
e453f6cd
UD
10728 * elf/do-rel.h: Add another parameter nrelative, replacing the
10729 local variable with the same name. Change name of the function
10730 to end in Rel or Rela (uppercase).
10731 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10732 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10733 elf_dynamic_do_##reloc function.
10734
fd5bdc09
UD
107352011-10-15 Ulrich Drepper <drepper@gmail.com>
10736
79b195b5
UD
10737 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10738 is sufficient, at least on modern CPUs.
10739
d4a28569
UD
10740 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10741
b61099b5
UD
10742 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10743 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10744
bcf01e6d
UD
10745 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10746 __expl_finite.
10747 * math/bits/math-finite.h: Add entries for exp.
10748 * math/e_expl.c: Add __*_finite alias.
10749 * sysdeps/i386/fpu/e_exp.S: Likewise.
10750 * sysdeps/i386/fpu/e_expf.S: Likewise.
10751 * sysdeps/i386/fpu/e_expl.c: Likewise.
10752 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10753 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10754 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10755 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10756 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10757 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10758 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10759
ba1a0d59
UD
10760 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10761 is sufficient, at least on modern CPUs.
10762
fd5bdc09
UD
10763 * ctype/ctype-info.c (__ctype_init): Define.
10764 * include/ctype.h (__ctype_init): Declare.
10765 (__ctype_b_loc): The variable is always initialized.
10766 (__ctype_toupper_loc): Likewise.
10767 (__ctype_tolower_loc): Likewise.
10768 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10769 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10770
7872cfb0
AS
107712011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10772
b468825a
AS
10773 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10774
7872cfb0
AS
10775 * configure.in: Also look in $cxxmachine/include for C++ system
10776 headers.
10777
be13f7bf
LD
107782011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10779
10780 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10781 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10782 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10783 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10784 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10785 (USE_AS_WMEMCMP): New macro.
10786 Fixing indents.
10787 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10788 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10789 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10790 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10791 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10792 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10793 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10794 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10795 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10796 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10797 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10798 (USE_AS_WMEMCMP): New macro.
10799 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10800 * sysdeps/string/test-memcmp.c: Update.
10801 Fix simple_wmemcmp.
10802 Add new tests.
10803 * wcsmbs/wmemcmp.c: Update.
10804 (WMEMCMP): New macro.
10805 Fix overflow bug.
10806
556a2007
AJ
108072011-10-12 Andreas Jaeger <aj@suse.de>
10808
10809 [BZ #13268]
10810 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10811
538faaa7
UD
108122011-10-15 Ulrich Drepper <drepper@gmail.com>
10813
ab6737ff
UD
10814 * libio/iofwide.c (do_length): Avoid warning.
10815
538faaa7
UD
10816 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10817
396a21b1
UD
108182011-10-14 Ulrich Drepper <drepper@gmail.com>
10819
cdf2901f
UD
10820 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10821
38ad40ce
UD
10822 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10823 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10824 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10825 * sysdeps/i386/i686/fpu/e_log.S: New file.
10826 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10827 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10828
396a21b1
UD
10829 * ctype/ctype.h: Add support for inlined isXXX functions when
10830 compiling C++ code.
10831
6b1f68c9
AS
108322011-10-14 Andreas Schwab <schwab@redhat.com>
10833
349290c0
AS
10834 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10835
6b1f68c9
AS
10836 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10837
f2282d42
RM
108382011-10-13 Roland McGrath <roland@hack.frob.com>
10839
10840 [BZ #13291]
10841 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10842
5298ffa8
AS
108432011-10-13 Andreas Schwab <schwab@redhat.com>
10844
714fad23
AS
10845 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10846 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10847 feraiseexcept.
10848
81dcc7fb
AS
10849 * sysdeps/x86_64/memrchr.S: Check for zero size.
10850
5298ffa8
AS
10851 * string/stratcliff.c: Add memrchr tests.
10852
951fbcec
LD
108532011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10854
10855 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10856 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10857 rawmemchr-sse2 rawmemchr-sse2-bsf.
10858 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10859 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10860 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10861 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10862 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10863 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10864 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10865 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10866 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10867 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10868 * string/memrchr.c (MEMRCHR): New macro.
10869
0ac5ae23
UD
108702011-10-12 Ulrich Drepper <drepper@gmail.com>
10871
10872 Add integration with gcc's -ffinite-math-only and optimize wrapper
10873 functions in libm.
10874 * Versions.def: Define GLIBC_2.15 version for libm.
10875 * math/Makefile (headers): Add bits/math-finite.h.
10876 * math/bits/math-finite.h: New file.
10877 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10878 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10879 * math/e_acoshl.c: Add __*_finite alias.
10880 * math/e_acosl.c: Likewise.
10881 * math/e_asinl.c: Likewise.
10882 * math/e_atan2l.c: Likewise.
10883 * math/e_atanhl.c: Likewise.
10884 * math/e_coshl.c: Likewise.
10885 * math/e_exp10.c: Likewise.
10886 * math/e_exp10f.c: Likewise.
10887 * math/e_exp10l.c: Likewise.
10888 * math/e_exp2l.c: Likewise.
10889 * math/e_fmodl.c: Likewise.
10890 * math/e_gammal_r.c: Likewise.
10891 * math/e_hypotl.c: Likewise.
10892 * math/e_j0l.c: Likewise.
10893 * math/e_j1l.c: Likewise.
10894 * math/e_jnl.c: Likewise.
10895 * math/e_lgammal_r.c: Likewise.
10896 * math/e_log10l.c: Likewise.
10897 * math/e_log2l.c: Likewise.
10898 * math/e_logl.c: Likewise.
10899 * math/e_powl.c: Likewise.
10900 * math/e_sinhl.c: Likewise.
10901 * math/e_sqrtl.c: Likewise.
10902 * math/e_scalb.c: Completely rewritten and optimized.
10903 * math/e_scalbf.c: Likewise.
10904 * math/e_scalbl.c: Likewise.
10905 * math/w_acos.c: Likewise.
10906 * math/w_acosf.c: Likewise.
10907 * math/w_acosl.c: Likewise.
10908 * math/w_acosh.c: Likewise.
10909 * math/w_acoshf.c: Likewise.
10910 * math/w_acoshl.c: Likewise.
10911 * math/w_asin.c: Likewise.
10912 * math/w_asinf.c: Likewise.
10913 * math/w_asinl.c: Likewise.
10914 * math/w_atan2.c: Likewise.
10915 * math/w_atan2f.c: Likewise.
10916 * math/w_atan2l.c: Likewise.
10917 * math/w_atanh.c: Likewise.
10918 * math/w_atanhf.c: Likewise.
10919 * math/w_atanhl.c: Likewise.
10920 * math/w_exp10.c: Likewise.
10921 * math/w_exp10f.c: Likewise.
10922 * math/w_exp10l.c: Likewise.
10923 * math/w_fmod.c: Likewise.
10924 * math/w_fmodf.c: Likewise.
10925 * math/w_fmodl.c: Likewise.
10926 * math/w_j0.c: Likewise.
10927 * math/w_j0f.c: Likewise.
10928 * math/w_j0l.c: Likewise.
10929 * math/w_j1.c: Likewise.
10930 * math/w_j1f.c: Likewise.
10931 * math/w_j1l.c: Likewise.
10932 * math/w_jn.c: Likewise.
10933 * math/w_jnf.c: Likewise.
10934 * math/w_log.c: Likewise.
10935 * math/w_logf.c: Likewise.
10936 * math/w_logl.c: Likewise.
10937 * math/w_log10.c: Likewise.
10938 * math/w_log10f.c: Likewise.
10939 * math/w_log10l.c: Likewise.
10940 * math/w_log2.c: Likewise.
10941 * math/w_log2f.c: Likewise.
10942 * math/w_log2l.c: Likewise.
10943 * math/w_pow.c: Likewise.
10944 * math/w_powf.c: Likewise.
10945 * math/w_powl.c: Likewise.
10946 * math/w_remainder.c: Likewise.
10947 * math/w_remainderf.c: Likewise.
10948 * math/w_remainderl.c: Likewise.
10949 * math/w_scalb.c: Likewise.
10950 * math/w_scalbf.c: Likewise.
10951 * math/w_scalbl.c: Likewise.
10952 * math/w_sqrt.c: Likewise.
10953 * math/w_sqrtf.c: Likewise.
10954 * math/w_sqrtl.c: Likewise.
10955 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10956 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10957 used.
10958 * math/math_private.h: Declare __kernel_standard_f.
10959 * math/w_cosh.c: Remove cruft and optimize a bit.
10960 * math/w_coshf.c: Likewise.
10961 * math/w_coshl.c: Likewise.
10962 * math/w_exp2.c: Likewise.
10963 * math/w_exp2f.c: Likewise.
10964 * math/w_exp2l.c: Likewise.
10965 * math/w_hypot.c: Likewise.
10966 * math/w_hypotf.c: Likewise.
10967 * math/w_hypotl.c: Likewise.
10968 * math/w_lgamma.c: Likewise.
10969 * math/w_lgamma_r.c: Likewise.
10970 * math/w_lgammaf.c: Likewise.
10971 * math/w_lgammaf_r.c: Likewise.
10972 * math/w_lgammal.c: Likewise.
10973 * math/w_lgammal_r.c: Likewise.
10974 * math/w_sinh.c: Likewise.
10975 * math/w_sinhf.c: Likewise.
10976 * math/w_sinhl.c: Likewise.
10977 * math/w_tgamma.c: Likewise.
10978 * math/w_tgammaf.c: Likewise.
10979 * math/w_tgammal.c: Likewise.
10980 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10981 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10982 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10983 Minor optimizations. Pretty printing. Remove cruft.
10984 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10985 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10986 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10987 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10988 * sysdeps/i386/fpu/e_acosl.c: Likewise.
10989 * sysdeps/i386/fpu/e_asin.S: Likewise.
10990 * sysdeps/i386/fpu/e_asinf.S: Likewise.
10991 * sysdeps/i386/fpu/e_atan2.S: Likewise.
10992 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
10993 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
10994 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10995 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10996 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10997 * sysdeps/i386/fpu/e_exp10.S: Likewise.
10998 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
10999 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11000 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11001 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11002 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11003 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11004 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11005 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11006 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11007 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11008 * sysdeps/i386/fpu/e_log.S: Likewise.
11009 * sysdeps/i386/fpu/e_log10.S: Likewise.
11010 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11011 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11012 * sysdeps/i386/fpu/e_log2.S: Likewise.
11013 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11014 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11015 * sysdeps/i386/fpu/e_logf.S: Likewise.
11016 * sysdeps/i386/fpu/e_logl.S: Likewise.
11017 * sysdeps/i386/fpu/e_pow.S: Likewise.
11018 * sysdeps/i386/fpu/e_powf.S: Likewise.
11019 * sysdeps/i386/fpu/e_powl.S: Likewise.
11020 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11021 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11022 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11023 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11024 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11025 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11026 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11027 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11028 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11029 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11030 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11031 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11032 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11033 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11034 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11035 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11036 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11037 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11038 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11039 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11040 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11041 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11042 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11043 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11044 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11045 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11046 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11047 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11048 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11049 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11050 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11051 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11052 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11053 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11054 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11055 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11056 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11057 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11058 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11059 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11060 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11061 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11062 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11063 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11064 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11065 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11066 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11067 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11068 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11069 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11070 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11071 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11072 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11073 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11074 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11075 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11076 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11077 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11078 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11079 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11080 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11081 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11082 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11083 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11084 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11085 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11086 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11087 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11088 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11089 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11090 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11091 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11092 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11093 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11094 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11095 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11096 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11097 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11098 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11099 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11100 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11101 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11102 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11103 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11104 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11105 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11106 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11107 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11108 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11109 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11110 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11111 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11112 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11113 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11114 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11115 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11116 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11117 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11118 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11119 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11120 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11121 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11122 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11123 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11124 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11125 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11126 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11127 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11128 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11129 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11130 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11131 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11132 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11133 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11134 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11135 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11136 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11137 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11138 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11139 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11140 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11141 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11142 (__isnanf): Likewise.
11143 (__isinf_ns): Likewise.
11144 (__isinf_nsf): Likewise.
11145 (__finite): Likewise.
11146 (__finitef): Likewise.
11147 (__ieee754_sqrt): Define as macro.
11148 (__ieee754_sqrtf): Define as macro.
11149 (__ieee754_sqrtl): Define as macro.
11150 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11151 inlined copy.
11152 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11153 __FINITE_MATH_ONLY__ consistent.
11154 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11155
12cc2fcd
AS
111562011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11157
a843a204
AS
11158 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11159 of rawmemchr.
11160
12cc2fcd
AS
11161 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11162
c853acd5
UD
111632011-10-09 Ulrich Drepper <drepper@gmail.com>
11164
11165 * po/ja.po: Update from translation team.
11166
c658d255
RM
111672011-10-08 Roland McGrath <roland@hack.frob.com>
11168
110946e4
RM
11169 * locale/programs/locarchive.c (prepare_address_space): New function.
11170 (create_archive, enlarge_archive, open_archive): Use it.
11171
50604220
RM
11172 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11173 inside [SHARED], where it is used.
11174
c658d255
RM
11175 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11176
11177 * nss/getent.c (netgroup_keys): Remove unused variable.
11178 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11179
6a621eb7
UD
111802011-10-08 Ulrich Drepper <drepper@gmail.com>
11181
7edb55ce
UD
11182 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11183 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11184 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11185 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11186 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11187 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11188 * math/Makefile (libm-calls): Add s_isinf_ns.
11189 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11190 * math/multc3.c: Likewise.
11191 * math/s_casin.c: Likewise.
11192 * math/s_casinf.c: Likewise.
11193 * math/s_casinl.c: Likewise.
11194 * math/s_ccos.c: Likewise.
11195 * math/s_ccosf.c: Likewise.
11196 * math/s_ccosl.c: Likewise.
11197 * math/s_ctan.c: Likewise.
11198 * math/s_ctanf.c: Likewise.
11199 * math/s_ctanh.c: Likewise.
11200 * math/s_ctanhf.c: Likewise.
11201 * math/s_ctanhl.c: Likewise.
11202 * math/s_ctanl.c: Likewise.
11203 * math/w_fmod.c: Likewise.
11204 * math/w_fmodf.c: Likewise.
11205 * math/w_fmodl.c: Likewise.
11206 * math/w_remainder.c: Likewise.
11207 * math/w_remainderf.c: Likewise.
11208 * math/w_remainderl.c: Likewise.
11209 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11210 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11211 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11212 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11213 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11214 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11215 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11216 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11217
187da0ae
UD
11218 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11219 of the number.
11220 * stdio-common/printf_fphex.c: Likewise.
11221 * stdio-common/printf_size.c: Likewise.
11222
9277c064
UD
11223 * math/e_exp10.c: Include math_private.h using <...> not "...".
11224 * math/e_exp10f.c: Likewise.
11225 * math/e_exp10l.c: Likewise.
11226 * math/e_exp2l.c: Likewise.
11227 * math/e_j0l.c: Likewise.
11228 * math/e_j1l.c: Likewise.
11229 * math/e_jnl.c: Likewise.
11230 * math/e_lgammal_r.c: Likewise.
11231 * math/e_rem_pio2l.c: Likewise.
11232 * math/e_scalb.c: Likewise.
11233 * math/e_scalbf.c: Likewise.
11234 * math/e_scalbl.c: Likewise.
11235 * math/k_cosl.c: Likewise.
11236 * math/k_sinl.c: Likewise.
11237 * math/k_tanl.c: Likewise.
11238 * math/s_cacoshf.c: Likewise.
11239 * math/s_catan.c: Likewise.
11240 * math/s_catanf.c: Likewise.
11241 * math/s_catanh.c: Likewise.
11242 * math/s_catanhf.c: Likewise.
11243 * math/s_catanhl.c: Likewise.
11244 * math/s_catanl.c: Likewise.
11245 * math/s_ccosh.c: Likewise.
11246 * math/s_ccoshf.c: Likewise.
11247 * math/s_ccoshl.c: Likewise.
11248 * math/s_cexp.c: Likewise.
11249 * math/s_cexpf.c: Likewise.
11250 * math/s_cexpl.c: Likewise.
11251 * math/s_clog.c: Likewise.
11252 * math/s_clog10.c: Likewise.
11253 * math/s_clog10f.c: Likewise.
11254 * math/s_clog10l.c: Likewise.
11255 * math/s_clogf.c: Likewise.
11256 * math/s_clogl.c: Likewise.
11257 * math/s_csin.c: Likewise.
11258 * math/s_csinf.c: Likewise.
11259 * math/s_csinh.c: Likewise.
11260 * math/s_csinhf.c: Likewise.
11261 * math/s_csinhl.c: Likewise.
11262 * math/s_csinl.c: Likewise.
11263 * math/s_csqrt.c: Likewise.
11264 * math/s_csqrtf.c: Likewise.
11265 * math/s_csqrtl.c: Likewise.
11266 * math/s_ctan.c: Likewise.
11267 * math/s_ctanf.c: Likewise.
11268 * math/s_ctanh.c: Likewise.
11269 * math/s_ctanhf.c: Likewise.
11270 * math/s_ctanhl.c: Likewise.
11271 * math/s_ctanl.c: Likewise.
11272 * math/s_ldexp.c: Likewise.
11273 * math/s_ldexpf.c: Likewise.
11274 * math/s_ldexpl.c: Likewise.
11275 * math/s_significand.c: Likewise.
11276 * math/s_significandf.c: Likewise.
11277 * math/s_significandl.c: Likewise.
11278 * math/w_acos.c: Likewise.
11279 * math/w_acosf.c: Likewise.
11280 * math/w_acosh.c: Likewise.
11281 * math/w_acoshf.c: Likewise.
11282 * math/w_acoshl.c: Likewise.
11283 * math/w_acosl.c: Likewise.
11284 * math/w_asin.c: Likewise.
11285 * math/w_asinf.c: Likewise.
11286 * math/w_asinl.c: Likewise.
11287 * math/w_atan2.c: Likewise.
11288 * math/w_atan2f.c: Likewise.
11289 * math/w_atan2l.c: Likewise.
11290 * math/w_atanh.c: Likewise.
11291 * math/w_atanhf.c: Likewise.
11292 * math/w_atanhl.c: Likewise.
11293 * math/w_cosh.c: Likewise.
11294 * math/w_coshf.c: Likewise.
11295 * math/w_coshl.c: Likewise.
11296 * math/w_dremf.c: Likewise.
11297 * math/w_exp10.c: Likewise.
11298 * math/w_exp10f.c: Likewise.
11299 * math/w_exp10l.c: Likewise.
11300 * math/w_exp2.c: Likewise.
11301 * math/w_exp2f.c: Likewise.
11302 * math/w_fmod.c: Likewise.
11303 * math/w_fmodf.c: Likewise.
11304 * math/w_fmodl.c: Likewise.
11305 * math/w_hypot.c: Likewise.
11306 * math/w_hypotf.c: Likewise.
11307 * math/w_hypotl.c: Likewise.
11308 * math/w_j0.c: Likewise.
11309 * math/w_j0f.c: Likewise.
11310 * math/w_j0l.c: Likewise.
11311 * math/w_j1.c: Likewise.
11312 * math/w_j1f.c: Likewise.
11313 * math/w_j1l.c: Likewise.
11314 * math/w_jn.c: Likewise.
11315 * math/w_jnf.c: Likewise.
11316 * math/w_jnl.c: Likewise.
11317 * math/w_lgamma.c: Likewise.
11318 * math/w_lgamma_r.c: Likewise.
11319 * math/w_lgammaf.c: Likewise.
11320 * math/w_lgammaf_r.c: Likewise.
11321 * math/w_lgammal.c: Likewise.
11322 * math/w_lgammal_r.c: Likewise.
11323 * math/w_log.c: Likewise.
11324 * math/w_log10.c: Likewise.
11325 * math/w_log10f.c: Likewise.
11326 * math/w_log10l.c: Likewise.
11327 * math/w_log2.c: Likewise.
11328 * math/w_log2f.c: Likewise.
11329 * math/w_log2l.c: Likewise.
11330 * math/w_logf.c: Likewise.
11331 * math/w_logl.c: Likewise.
11332 * math/w_pow.c: Likewise.
11333 * math/w_powf.c: Likewise.
11334 * math/w_powl.c: Likewise.
11335 * math/w_remainder.c: Likewise.
11336 * math/w_remainderf.c: Likewise.
11337 * math/w_remainderl.c: Likewise.
11338 * math/w_scalb.c: Likewise.
11339 * math/w_scalbf.c: Likewise.
11340 * math/w_scalbl.c: Likewise.
11341 * math/w_sinh.c: Likewise.
11342 * math/w_sinhf.c: Likewise.
11343 * math/w_sinhl.c: Likewise.
11344 * math/w_sqrt.c: Likewise.
11345 * math/w_sqrtf.c: Likewise.
11346 * math/w_sqrtl.c: Likewise.
11347 * math/w_tgamma.c: Likewise.
11348 * math/w_tgammaf.c: Likewise.
11349 * math/w_tgammal.c: Likewise.
11350
6a621eb7
UD
11351 * po/ja.po: Update from translation team.
11352
bf582445
AJ
113532011-09-29 Andreas Jaeger <aj@suse.de>
11354
f9efbf3a
AJ
11355 [BZ #13179]
11356 * sunrpc/netname.c (netname2host): Fix logic.
11357
bf582445
AJ
11358 [BZ #6779]
11359 [BZ #6783]
11360 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11361 correctly.
11362 * math/w_remainder.c (__remainder): Likewise.
11363 * math/w_remainderf.c (__remainderf): Likewise.
11364 * math/libm-test.inc (remainder_test): Add test cases.
11365
48693bea
AK
113662011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11367
11368 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11369 sdiv_qrnnd.
11370
42622229
LD
113712011-10-07 Ulrich Drepper <drepper@gmail.com>
11372
11373 * string/test-memcmp.c: Avoid unncessary #defines.
11374 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11375
093ecf92
LD
113762011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11377
11378 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11379 Use new sse2 version for core i3 - i7 as it's faster
11380 than sse42 version.
11381 (bit_Prefer_PMINUB_for_stringop): New.
11382 * sysdeps/x86_64/rawmemchr.S: Update.
11383 Replace with faster SSE2 version.
11384 * sysdeps/x86_64/memrchr.S: New file.
11385 * sysdeps/x86_64/memchr.S: Update.
11386 Replace with faster SSE2 version.
11387
fde56e5c
MP
113882011-09-12 Marek Polacek <mpolacek@redhat.com>
11389
11390 * elf/dl-load.c (lose): Add cast to avoid warning.
11391
21fd49a9
UD
113922011-10-07 Ulrich Drepper <drepper@gmail.com>
11393
5a06e643
UD
11394 * po/ca.po: Update from translation team.
11395
684ae515
UD
11396 * inet/getnetgrent_r.c: Hook up nscd.
11397 * nscd/Makefile (routines): Add nscd_netgroup.
11398 (nscd-modules): Add netgroupcache.
11399 (CFLAGS-netgroupcache.c): Define.
11400 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11401 (cache_search): Add const to second parameter.
11402 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11403 INNETGR.
11404 (dbs): Add netgrdb entry.
11405 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11406 (verify_persistent_db): Handle netgrdb.
11407 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11408 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11409 GETFDNETGR.
11410 (netgroup_response_header): Define.
11411 (innetgroup_response_header): Define.
11412 (datahead): Add netgroup_response_header and innetgroup_response_header
11413 elements.
11414 * nscd/nscd.conf: Add entries for netgroup cache.
11415 * nscd/nscd.h (dbtype): Add netgrdb.
11416 (_PATH_NSCD_NETGROUP_DB): Define.
11417 (netgroup_iov_disabled): Declare.
11418 (xmalloc, xcalloc, xrealloc): Move declarations here.
11419 (cache_search): Adjust prototype.
11420 Add netgroup-related prototypes.
11421 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11422 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11423 (__nscd_innetgr): Declare.
11424 * nscd/selinux.c (perms): Use access_vector_t as element type and
11425 add netgroup-related initializers.
11426 * nscd/netgroupcache.c: New file.
11427 * nscd/nscd_netgroup.c: New file.
11428 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11429 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11430 For four parameters use innetgr.
11431 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11432 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11433 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11434 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11435
21fd49a9
UD
11436 * nscd/connections.c (register_traced_file): Don't register file
11437 for disabled databases.
11438
054c0457
UD
114392011-10-06 Ulrich Drepper <drepper@gmail.com>
11440
32b63198
UD
11441 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11442
054c0457
UD
11443 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11444 from tree and freeing node.
11445
64031225
JO
114462011-09-25 Jiri Olsa <jolsa@redhat.com>
11447
11448 * nss/nsswitch.c (__nss_database_lookup): Handle
11449 nss_parse_service_list out of memory case.
11450
0490345c
JO
114512011-09-15 Jiri Olsa <jolsa@redhat.com>
11452
11453 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11454 out of memory case.
11455
3a62d00d
AS
114562011-10-04 Andreas Schwab <schwab@redhat.com>
11457
11458 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11459 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11460 pass it down.
11461 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11462 elf_machine_rela, elf_machine_lazy_rel.
11463 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11464 (ELF_DYNAMIC_DO_REL): Likewise.
11465 (ELF_DYNAMIC_DO_RELA): Likewise.
11466 (ELF_DYNAMIC_RELOCATE): Likewise.
11467 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11468 to ELF_DYNAMIC_DO_REL.
11469 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11470 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11471 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11472 elf_machine_rela.
11473 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11474 skip_ifunc, don't call ifunc function if non-zero.
11475 (elf_machine_rela): Likewise.
11476 (elf_machine_lazy_rel): Likewise.
11477 (elf_machine_lazy_rela): Likewise.
11478 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11479 (elf_machine_lazy_rel): Likewise.
11480 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11481 Likewise.
11482 (elf_machine_lazy_rel): Likewise.
11483 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11484 Likewise.
11485 (elf_machine_lazy_rel): Likewise.
11486 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11487 (elf_machine_lazy_rel): Likewise.
11488 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11489 (elf_machine_lazy_rel): Likewise.
11490 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11491 (elf_machine_lazy_rel): Likewise.
11492 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11493 (elf_machine_lazy_rel): Likewise.
11494 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11495 (elf_machine_lazy_rel): Likewise.
11496 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11497 (elf_machine_lazy_rel): Likewise.
11498
68577918
UD
114992011-09-28 Ulrich Drepper <drepper@gmail.com>
11500
11501 * nss/nss_files/files-init.c (_nss_files_init): Use static
11502 initialization for all the *_traced_file variables.
11503
68822d74
AS
115042011-09-28 Andreas Schwab <schwab@redhat.com>
11505
11506 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11507
2056100b
RM
115082011-09-27 Roland McGrath <roland@hack.frob.com>
11509
11510 [BZ #13226]
11511 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11512
32c76b63
AS
115132011-09-27 Andreas Schwab <schwab@redhat.com>
11514
11515 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11516 Reread the line before reparsing it.
11517
bf972c9d
AS
115182011-09-26 Andreas Schwab <schwab@redhat.com>
11519
11520 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11521
e057a1b5
JM
115222011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11523 Maxim Kuvyrkov <maxim@codesourcery.com>
11524 Joseph Myers <joseph@codesourcery.com>
11525
11526 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11527 if needed for __stack_chk_guard.
11528
bc7e1c36
RM
115292011-09-19 Roland McGrath <roland@hack.frob.com>
11530
ecb1482f
RM
11531 * sysdeps/posix/spawni.c (script_execute): Always define it.
11532 It will be optimized away if unused.
11533 (maybe_script_execute): New function.
11534 (__spawni): Call it.
11535
bc7e1c36
RM
11536 * Makerules: Don't include tls.make.
11537 (config-tls): Always set to thread.
11538 * tls.make.c: File removed.
11539
1c3b002b
MF
115402011-09-19 Mike Frysinger <vapier@gentoo.org>
11541
11542 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11543 * config.make.in (CPPFLAGS-config): New substituted variable.
11544
2840865d
UD
115452011-09-15 Ulrich Drepper <drepper@gmail.com>
11546
88738eb6
UD
11547 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11548
cbf645a6 11549 [BZ #13192]
2840865d
UD
11550 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11551 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11552
b402e91a
RM
115532011-09-15 Roland McGrath <roland@hack.frob.com>
11554
11555 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11556 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11557 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11558 (CALL_FAIL): Likewise.
11559 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11560 (CALL_FAIL): Macro removed.
11561 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11562
4c1a1f71
UD
115632011-09-15 Ulrich Drepper <drepper@gmail.com>
11564
11565 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11566 for __FINITE_MATH_ONLY__ == 1.
11567
edc121be
AS
115682011-09-15 Andreas Schwab <schwab@redhat.com>
11569
11570 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11571 __ieee754_sqrt instead of sqrt.
11572 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11573 __ieee754_sqrtf instead of sqrtf.
11574 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11575 __floorf instead of floorf.
11576 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11577 __floorf, __truncf instead of floorf, truncf.
11578
cd205654
UD
115792011-09-14 Ulrich Drepper <drepper@gmail.com>
11580
ee4d0315
UD
11581 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11582
cd205654
UD
11583 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11584 __extern_always_inline.
11585 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11586 32-bit.
11587
48b67d71
AS
115882011-09-14 Andreas Schwab <schwab@redhat.com>
11589
11590 * elf/rtld.c (dl_main): Also relocate in dependency order when
11591 doing symbol dependency testing.
11592
1ae12c75
AS
115932011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11594
11595 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11596 Always define `refsym'.
11597
995a80df
AS
115982011-09-13 Andreas Schwab <schwab@redhat.com>
11599
e529793b
AS
11600 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11601 (__FD_ELT): Renamed from __FDELT.
11602 * misc/bits/select2.h (__FD_ELT): Likewise.
11603 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11604 __FD_MASK instead of __FDELT, __FDMASK.
11605 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11606 Likewise.
11607 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11608 Likewise.
11609
52d4fef8
AS
11610 * elf/Makefile (gen-ldd): Fix pattern.
11611
995a80df
AS
11612 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11613 (init_tls): Likewise.
11614
8682f8b0
UD
116152011-09-12 Ulrich Drepper <drepper@gmail.com>
11616
11617 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11618
de82006d
AS
116192011-09-12 Andreas Schwab <schwab@redhat.com>
11620
a7c8e6a1
AS
11621 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11622 `struct cmsghdr *' instead of `void *'.
11623 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11624 Likewise.
11625
0f31fe77
AS
116262011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11627
11628 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11629 if non-absolute.
11630 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11631 ldd_rewrite_script.
0f31fe77 11632
32b4c839
UD
116332011-09-11 Ulrich Drepper <drepper@gmail.com>
11634
83cd1420
UD
11635 * configure.in: Remove --with-tls option.
11636 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11637 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11638 out in case it is missing.
11639 * sysdeps/ia64/elf/configure.in: Likewise.
11640 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11641 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11642 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11643 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11644 * sysdeps/sh/elf/configure.in: Likewise.
11645 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11646 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11647 * sysdeps/x86_64/elf/configure.in: Likewise.
11648 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11649 * sysdeps/mach/hurd/tls.h: Likewise.
11650
633f745d
UD
11651 [BZ #13067]
11652 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11653
f318beb8
UD
11654 [BZ #13090]
11655 * configure.in: Fix use of AC_INIT.
11656
32b4c839
UD
11657 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11658
3ce1f295
UD
116592011-09-10 Ulrich Drepper <drepper@gmail.com>
11660
bb016596
UD
11661 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11662 __set_errno.
8e58439c
UD
11663 * malloc/hooks.c: Likewise.
11664
aebae053 11665 [BZ #11929]
02d46fc4
UD
11666 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11667 variables statically.
11668 (narenas): Initialize.
11669 (list_lock): Initialize.
bb016596
UD
11670 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11671 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
11672 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11673 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11674 Add initializers to main_arena and mp_.
11675 (malloc_state): Remove pagesize member. Change all users to use
11676 GLRO(dl_pagesize).
11677
11678 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11679 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11680 is always initialized.
11681
22a89187
UD
11682 * malloc/malloc.c: Removed unused configurations and dead code.
11683 * malloc/arena.c: Likewise.
11684 * malloc/hooks.c: Likewise.
02d46fc4 11685 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 11686
d063d164
UD
11687 * include/tls.h: Removed. USE___THREAD must always be defined.
11688 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11689 * elf/dl-libc.c: Likewise.
11690 * elf/dl-tsd.c: Likewise.
11691 * include/errno.h: Likewise.
11692 * include/netdb.h: Likewise.
11693 * include/resolv.h: Likewise.
11694 * inet/herrno-loc.c: Likewise.
11695 * inet/herrno.c: Likewise.
11696 * malloc/arena.c: Likewise.
11697 * malloc/hooks.c: Likewise.
11698 * malloc/malloc.c: Likewise.
11699 * resolv/res-state.c: Likewise.
11700 * resolv/res_libc.c: Likewise.
11701 * sysdeps/i386/dl-machine.h: Likewise.
11702 * sysdeps/ia64/dl-machine.h: Likewise.
11703 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11704 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11705 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11706 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11707 * sysdeps/sh/dl-machine.h: Likewise.
11708 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11709 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11710 * sysdeps/unix/i386/sysdep.S: Likewise.
11711 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11712 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11713 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11714 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11715 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11716 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11717 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11718 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11719 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11720 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11721 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11722 * sysdeps/x86_64/dl-machine.h: Likewise.
11723 * tls.make.c: Likewise.
11724
3ce1f295
UD
11725 * configure.in: Remove --with-__thread option. Make tests for
11726 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11727 tls_model attribute fail if no support is available. Remove
11728 USE_IN_LIBIO.
11729 * Makeconfig: Adjust for dropped configure option. All features are
11730 now mandatory.
11731 * Makerules: Likewise.
11732 * Versions.def: Likewise.
11733 * argp/argp-fmtstream.c: Likewise.
11734 * argp/argp-fmtstream.h: Likewise.
11735 * argp/argp-help.c: Likewise.
11736 * assert/assert.c: Likewise.
11737 * config.h.in: Likewise.
11738 * config.make.in: Likewise.
11739 * configure: Likewise.
11740 * configure.in: Likewise.
11741 * csu/Versions: Likewise.
11742 * csu/init.c: Likewise.
11743 * elf/tst-audit2.c: Likewise.
11744 * elf/tst-tls10.c: Likewise.
11745 * elf/tst-tls10.h: Likewise.
11746 * elf/tst-tls11.c: Likewise.
11747 * elf/tst-tls12.c: Likewise.
11748 * elf/tst-tls14.c: Likewise.
11749 * elf/tst-tlsmod11.c: Likewise.
11750 * elf/tst-tlsmod12.c: Likewise.
11751 * elf/tst-tlsmod13.c: Likewise.
11752 * elf/tst-tlsmod13a.c: Likewise.
11753 * elf/tst-tlsmod14a.c: Likewise.
11754 * elf/tst-tlsmod15b.c: Likewise.
11755 * elf/tst-tlsmod16a.c: Likewise.
11756 * elf/tst-tlsmod16b.c: Likewise.
11757 * elf/tst-tlsmod7.c: Likewise.
11758 * elf/tst-tlsmod8.c: Likewise.
11759 * elf/tst-tlsmod9.c: Likewise.
11760 * gmon/gmon.c: Likewise.
11761 * grp/fgetgrent_r.c: Likewise.
11762 * grp/putgrent.c: Likewise.
11763 * hurd/fopenport.c: Likewise.
11764 * include/libc-symbols.h: Likewise.
11765 * include/tls.h: Likewise.
11766 * intl/gettextP.h: Likewise.
11767 * intl/loadinfo.h: Likewise.
11768 * locale/global-locale.c: Likewise.
11769 * locale/localeinfo.h: Likewise.
11770 * mach/devstream.c: Likewise.
11771 * malloc/arena.c: Likewise.
11772 * malloc/set-freeres.c: Likewise.
11773 * misc/err.c: Likewise.
11774 * misc/getttyent.c: Likewise.
11775 * misc/mntent_r.c: Likewise.
11776 * posix/getopt.c: Likewise.
11777 * posix/wordexp.c: Likewise.
11778 * pwd/fgetpwent_r.c: Likewise.
11779 * resolv/Versions: Likewise.
11780 * resolv/res_hconf.c: Likewise.
11781 * shadow/fgetspent_r.c: Likewise.
11782 * shadow/putspent.c: Likewise.
11783 * stdio-common/printf_fphex.c: Likewise.
11784 * stdio-common/tmpfile.c: Likewise.
11785 * stdlib/abort.c: Likewise.
11786 * stdlib/fmtmsg.c: Likewise.
11787 * sunrpc/auth_unix.c: Likewise.
11788 * sunrpc/clnt_perr.c: Likewise.
11789 * sunrpc/clnt_tcp.c: Likewise.
11790 * sunrpc/clnt_udp.c: Likewise.
11791 * sunrpc/clnt_unix.c: Likewise.
11792 * sunrpc/openchild.c: Likewise.
11793 * sunrpc/svc_simple.c: Likewise.
11794 * sunrpc/svc_tcp.c: Likewise.
11795 * sunrpc/svc_udp.c: Likewise.
11796 * sunrpc/svc_unix.c: Likewise.
11797 * sunrpc/xdr.c: Likewise.
11798 * sunrpc/xdr_array.c: Likewise.
11799 * sunrpc/xdr_rec.c: Likewise.
11800 * sunrpc/xdr_ref.c: Likewise.
11801 * sunrpc/xdr_stdio.c: Likewise.
11802
1248c1c4
PB
118032011-09-09 Ulrich Drepper <drepper@gmail.com>
11804
11805 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11806
118072011-07-03 Andreas Jaeger <aj@suse.de>
11808
11809 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11810 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11811 regenerate with gen-libm-tests.pl.
11812
118132010-05-12 Petr Baudis <pasky@suse.cz>
11814
11815 [BZ #11589]
11816 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11817 around j0() zero points by switching to j1().
11818 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11819 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11820 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11821 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11822
f22e1074
UD
118232011-09-09 Ulrich Drepper <drepper@gmail.com>
11824
f19009c1
UD
11825 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11826 instead of 0.
11827 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11828 instead of 0. .
11829 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11830 Patch in part by Pavel Roskin <proski@gnu.org>.
11831
3f8cc204
UD
11832 [BZ #13138]
11833 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11834 realloc.
11835 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11836 Free memory block if necessary.
11837
f22e1074
UD
11838 [BZ #12847]
11839 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11840 be NULL. Don't lock in this case.
11841
0a2349f9
RM
118422011-09-09 Roland McGrath <roland@hack.frob.com>
11843
11844 * elf/elf.h (ELFOSABI_GNU): New macro.
11845 (ELFOSABI_LINUX): Define to that.
11846
f3cdd467
DZ
118472011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11848
11849 * string/strncat.c (strncat): Undef the symbol in case it has been
11850 defined in bits/string.h.
11851
74718d13
UD
118522011-09-09 Ulrich Drepper <drepper@gmail.com>
11853
633e9e0f
UD
11854 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11855
0a2349f9 11856 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
11857 link map.
11858
f9924780
AJ
118592011-08-17 Andreas Jaeger <aj@suse.de>
11860
11861 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11862
7f5517aa
PP
118632011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11864 Ian Lance Taylor <iant@google.com>
11865
11866 * math/libm-test.inc (lround_test): New testcase.
11867 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11868
762011fe
UD
118692011-09-08 Ulrich Drepper <drepper@gmail.com>
11870
92963737
UD
11871 * Makefile: Remove support for automatic cvs check-ins.
11872 * Makerules: Likewise.
11873 * config.make.in: Likewise.
11874 * configure.in: Likewise.
11875 * intl/Makefile: Likewise.
11876 * locale/Makefile: Likewise.
11877 * po/Makefile: Likewise.
11878 * posix/Makefile: Likewise.
11879 * sysdeps/gnu/Makefile: Likewise.
11880 * sysdeps/mach/hurd/Makefile: Likewise.
11881 * sysdeps/sparc/sparc32/Makefile: Likewise.
11882
b0727fd8
JS
11883 [BZ #13118]
11884 * posix/Makefile (bug-regex32-ENV): Define.
11885 Patch by John Stanley <jpsinthemix@verizon.net>.
11886
a0f33f99
UD
11887 * misc/Makefile (headers): Add bits/select2.h.
11888 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11889 * misc/bits/select2.h: New file.
11890 * include/bits/select2.h: New file.
11891 * debug/Makefile (routines): Add fdelt_chk.
11892 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11893 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11894 FD_ISSET.
11895 * debug/fdelt_chk.c: New file.
11896
762011fe
UD
11897 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11898 * wcsmbs/test-wmemcmp.c: Likewise.
11899 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 11900 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
11901
119022011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11903
11904 * string/Makefile (strop-tests): Add memcmp.
11905 * string/test-wmemcmp.c: New file.
11906 * string/test-memcmp.c: Add wmemcmp support.
11907
7f513ec8
RM
119082011-09-08 Roland McGrath <roland@hack.frob.com>
11909
0442afb4
RM
11910 [BZ #13153]
11911 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11912 2011-07-19 change.
11913
7f513ec8
RM
11914 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11915 garbage value in a __mach_port_mod_refs call in the cases of the
11916 task-self and thread-self ports.
11917
a12b2239
ST
119182011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11919
11920 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11921
610f9ab4
AS
119222011-09-08 Andreas Schwab <schwab@redhat.com>
11923
7f513ec8 11924 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 11925
48882a1a
LD
119262011-09-07 Ulrich Drepper <drepper@gmail.com>
11927
b49865be
UD
11928 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11929
fdc86bc9
UD
11930 * elf/dl-libc.c (dlerror_run): Pass back error code from
11931 dl_catch_error.
11932
c966526a
UD
11933 [BZ #13123]
11934 * elf/dl-load.c (lose): Free l_origin if it is valid.
11935
48882a1a
LD
11936 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11937 names.
11938 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11939 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11940 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11941 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11942 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11943 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11944
77a2a8b4
AZ
119452011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11946
11947 * sysdeps/powerpc/fpu/e_hypot.c: New file.
11948 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11949 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11950 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11951 * sysdeps/powerpc/fpu/k_cosf.c: New file.
11952 * sysdeps/powerpc/fpu/k_sinf.c: New file.
11953 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11954 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11955 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11956 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11957
24f579d8
AM
119582011-08-15 Alan Modra <amodra@gmail.com>
11959
11960 [BZ #13092]
11961 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11962 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11963 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11964 ppc_mcount to static-only-routines.
11965 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11966 __mcount_internal.
11967 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11968 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11969
3d4837df
UD
119702011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11971
11972 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11973 for finite and infinity parameters.
11974
22700377
WS
119752011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11976
11977 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11978 and add nop instructions for throughput optimization.
11979 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11980
5025581e
WS
119812011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
11982
11983 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11984 aligned copy for power7 with vector-scalar instructions.
11985 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11986
08a300c9
L
119872011-07-24 H.J. Lu <hongjiu.lu@intel.com>
11988
11989 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11990 AVX check.
11991
59178ef9
AS
119922011-09-07 Andreas Schwab <schwab@redhat.com>
11993
11994 [BZ #13144]
11995 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
11996 last change.
11997
e38ba7ab
UD
119982011-09-07 Ulrich Drepper <drepper@gmail.com>
11999
12000 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12001 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12002 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12003 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12004 clock_gettime.
12005
d53a73ac
UD
120062011-09-06 Ulrich Drepper <drepper@gmail.com>
12007
fc8bffcc
UD
12008 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12009 Forgot to demangle the pointer.
12010
ceaa0c5d
UD
12011 * sysdeps/i386/sysdep.h: Define atom_text_section.
12012 * sysdeps/x86_64/sysdep.h: Likewise.
12013 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12014 section with atom_text_section.
12015 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12016 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12017 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12018 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12019 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12020
a77d3c17
UD
12021 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12022 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12023 already be defined. Change to take two parameters and don't assign
12024 result to variable. Adjust all users.
12025 Define INTERNAL_GETTIME if not already defined.
12026 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12027 call.
12028 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12029 HAVE_CLOCK_GETTIME_VSYSCALL.
12030 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12031
d53a73ac
UD
12032 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12033 gettimeofday vsyscall, just use time.
12034
a8f84144
AS
120352011-09-06 Andreas Schwab <schwab@redhat.com>
12036
12037 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12038 <errno.h>.
12039
ef606249
UD
120402011-09-06 Ulrich Drepper <drepper@gmail.com>
12041
12042 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12043 syscall on x86-64.
12044 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12045 syscall.
12046 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12047 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12048 syscall if possible.
12049
6585cb60
UD
120502011-09-05 Ulrich Drepper <drepper@gmail.com>
12051
12052 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12053 e_ident. Don't pass to find_mapsXX.
12054 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12055
a5f524e4
LD
120562011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12057
12058 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12059 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12060 * sysdeps/x86_64/multiarch/strchr.S: Update.
12061 Check bit_slow_BSF bit.
12062 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12063 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12064 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12065
554881ef
UD
120662011-09-05 Ulrich Drepper <drepper@gmail.com>
12067
d96de963
UD
12068 [BZ #13134]
12069 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12070 before glibc 2.15.
12071 (tryshell): Define.
12072 (__spawni): Change last parameter to be flag. Test
12073 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12074 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12075 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12076 * posix/spawni.c: Likewise.
12077 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12078 * posix/spawnp.c: Likewise. Change normal version to use
12079 SPAWN_XFLAGS_USE_PATH.
12080 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12081 SPAWN_XFLAGS_TRY_SHELL.
12082
d48e5868
UD
12083 [BZ #13150]
12084 * posix/glob.h: Remove gcc 1.x support.
12085
554881ef
UD
12086 [BZ #13068]
12087 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12088
693fb948
LD
120892011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12090
12091 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12092 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12093 strrchr-sse2-bsf
12094 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12095 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12096 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12097 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12098 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12099 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12100
1b48c537
UD
121012011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12102
49d42c37
UD
12103 * sysdeps/x86_64/wcscmp.S: New file.
12104
1b48c537
UD
12105 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12106 wcscmp-c wcscmp-sse2
12107 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12108 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12109 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12110 * wcsmbs/wcscmp.c: Allow renaming.
12111
15c95c5d
DM
121122011-09-05 David S. Miller <davem@davemloft.net>
12113
12114 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12115 stack slot, rather than the struct return pointer slot.
12116 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12117 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12119 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12120
2f0ad8f3
UD
121212011-09-05 Ulrich Drepper <drepper@gmail.com>
12122
d88ae418
UD
12123 * po/ja.po: Update from translation team.
12124
2f0ad8f3
UD
12125 [BZ #13144]
12126 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12127 kernel in 64-bit binaries.
12128
5f4318d1
DM
121292011-09-01 David S. Miller <davem@davemloft.net>
12130
12131 * elf/elf.h (HWCAP_SPARC_*): Move to..
12132 * sysdeps/sparc/sysdep.h: this new file and add new values.
12133 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12134 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12135 _DL_HWCAP_COUNT to 24.
12136 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12137 entries.
12138 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12139 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12140 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12141 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12142 instead of magic constants.
12143 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12144
3ba57516
DM
121452011-08-31 David S. Miller <davem@davemloft.net>
12146
12147 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12148 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12149 Reimplement to do errno handling inline.
12150 (SYSCALL_ERROR_HANDLER): New macro.
12151 (__SYSCALL_STRING): Do not do errno handling in asm.
12152 (__CLONE_SYSCALL_STRING): Delete.
12153 (__INTERNAL_SYSCALL_STRING): Delete.
12154 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12155 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12156 (PSEUDO): Reimplement to do errno handling inline.
12157 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12158 (SYSCALL_ERROR_HANDLER): New macro.
12159 (__SYSCALL_STRING): Do not do errno handling in asm.
12160 (__CLONE_SYSCALL_STRING): Delete.
12161 (__INTERNAL_SYSCALL_STRING): Delete.
12162 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12163 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12164 i386.
12165 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12166 (inline_syscall*): Add 'err' argument.
12167 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12168 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12169 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12170 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12171
12172 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12173 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12174
2bc17433
AS
121752011-08-30 Andreas Schwab <schwab@redhat.com>
12176
12177 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12178
fbeb5f4d
JO
121792011-08-29 Jiri Olsa <jolsa@redhat.com>
12180
12181 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12182 directive.
12183
ad69cc26
DM
121842011-08-24 David S. Miller <davem@davemloft.net>
12185
12186 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12187
39dd69df
AS
121882011-08-24 Andreas Schwab <schwab@redhat.com>
12189
12190 * elf/Makefile: Add rules to build and run unload8 test.
12191 * elf/unload8.c: New file.
12192 * elf/unload8mod1.c: New file.
12193 * elf/unload8mod1x.c: New file.
12194 * elf/unload8mod2.c: New file.
12195 * elf/unload8mod3.c: New file.
12196
12197 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12198 it wasn't used.
12199
2c0b250a
DM
122002011-08-23 David S. Miller <davem@davemloft.net>
12201
12202 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12203 subtract stack bias.
12204 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12205 %sp not %fp in calculations.
12206 (_JMPBUF_UNWINDS_ADJ): Likewise.
12207
22044b48
DM
12208 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12209 (aio_suspend): Call it to force an exception region around the
12210 AIO_MISC_WAIT() invocation.
12211
2cae4995
AS
122122011-08-23 Andreas Schwab <schwab@redhat.com>
12213
12214 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12215 backslash.
12216
873a772e
AJ
122172011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12218
12219 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12220 protection macro.
12221 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12222 and <dl-machine.h>.
12223 (Elf64_FuncDesc): Remove.
12224
25ad0df1
DM
122252011-08-22 David S. Miller <davem@davemloft.net>
12226
12227 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12228 sigaltstack check, add missing cfi directives.
12229 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12230 missing cfi directives, and sigaltstack handling.
12231
e888bcbe
AS
122322011-08-16 Andreas Schwab <schwab@redhat.com>
12233
12234 [BZ #11724]
12235 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12236 object is seen twice.
12237 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12238
12239 * elf/Makefile (distribute): Add tst-initorder2.c.
12240 (tests): Add tst-initorder2.
12241 (modules-names): Add tst-initorder2a tst-initorder2b
12242 tst-initorder2c tst-initorder2d. Add rules to build them.
12243 ($(objpfx)tst-initorder2.out): New rule.
12244 * elf/tst-initorder2.c: New file.
12245 * elf/tst-initorder2.exp: New file.
12246
87162f46
AS
122472011-08-22 Andreas Schwab <schwab@redhat.com>
12248
70538b7f
AS
12249 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12250
f55ffe58
AS
12251 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12252 dependencies back to end of function.
12253
87162f46
AS
12254 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12255 $(elfobjdir)/ld.so.
12256
91b392a4
UD
122572011-08-21 Ulrich Drepper <drepper@gmail.com>
12258
12259 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12260 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12261 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12262 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12263 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12264 of __vdso_gettimeofday.
12265 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12266 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12267 attribute_hidden.
12268 (_libc_vdso_platform_setup): Remove initialization of
12269 __vdso_gettimeofday and __vdso_time.
12270
5c43483f
UD
122712011-08-20 Ulrich Drepper <drepper@gmail.com>
12272
775a77e7
UD
12273 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12274 and fgetc_unlocked.
12275 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12276 getc_unlocked.
89f447ed 12277
49c74ba9
UD
12278 * elf/dl-open.c (add_to_global): Report additions to the global scope
12279 for LD_DEBUG=scopes.
12280 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12281 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12282
5c43483f
UD
12283 [BZ #13114]
12284 * stdio-common/Makefile (tests): Add bug24.
12285 * stdio-common/bug24.c: New file.
12286
a101b025
AJ
122872011-08-19 Andreas Jaeger <aj@suse.de>
12288
12289 [BZ #13114]
12290 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12291 non-existant file when using close-on-exec mode.
12292
c88f1766
UD
122932011-08-20 Ulrich Drepper <drepper@gmail.com>
12294
0276a718
UD
12295 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12296 the very first instruction.
12297
c88f1766
UD
12298 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12299 the CFI state in the end.
12300 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12301 inclusion of dl-trampoline.h.
12302 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12303
51ccffa0
AS
123042011-08-19 Andreas Schwab <schwab@redhat.com>
12305
94d7165f
AS
12306 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12307 expectations for long double.
12308
51ccffa0
AS
12309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12310 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12311
fd708658 123122011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12313
12314 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12315 artificual limit depends upon the system page size.
12316
44f0a71e
UD
123172011-08-17 Ulrich Drepper <drepper@gmail.com>
12318
12319 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12320 * resolv/Makefile: Define CFLAGS-libresolv.
12321
8de79a24
AS
123222011-08-17 Andreas Schwab <schwab@redhat.com>
12323
12324 * nss/makedb.c (compute_tables): Make variables used in nested
12325 function static.
12326
27724598
UD
123272011-08-17 Ulrich Drepper <drepper@gmail.com>
12328
c5305d88
UD
12329 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12330 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12331 if buffer was too small.
12332
27724598
UD
12333 * elf/pldd.c (main): Attach to all threads in the process.
12334 Rewrite /proc handling to use *at functions.
12335
076fe015
UD
123362011-08-16 Ulrich Drepper <drepper@gmail.com>
12337
174baab3
UD
12338 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12339 specifies first scope to show.
12340 (dl_open_worker): Update callers. Move printing scope of new
12341 object to before the relocation.
44f0a71e 12342 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12343 * sysdeps/generic/ldsodefs.h: Update declaration.
12344
076fe015
UD
12345 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12346 string for the scope number.
12347
a60df2c3
UD
123482011-08-14 Ulrich Drepper <drepper@gmail.com>
12349
12350 * nscd/servicescache.c (cache_addserv): Make sure written is always
12351 initialized.
12352
5e4287d1
RM
123532011-08-14 Roland McGrath <roland@hack.frob.com>
12354
85ae0589
RM
12355 * sysdeps/i386/i486/bits/atomic.h
12356 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12357 statement expression, so as to suppress "set but not used" warning.
12358 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12359
69f63097
RM
12360 * string/strncat.c (STRNCAT): Use prototype definition.
12361
675456ef
RM
12362 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12363 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12364 -Iprograms here.
12365 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12366 (localedef-modules): Add localedef.
12367 (locale-modules): Add locale.
12368
5e4287d1
RM
12369 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12370 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12371 to avoid a warning.
12372
9c96ff23
DM
123732011-08-14 David S. Miller <davem@davemloft.net>
12374
12375 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12376 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12377
f9ddf089
UD
123782011-08-13 Ulrich Drepper <drepper@gmail.com>
12379
44f0a71e 12380 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12381 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12382 * elf/rtld.c (dl_main): Set l_name of vDSO.
12383 Call _dl_show_scope when DL_DEBUG_SCOPES.
12384 (process_dl_debug): Recognize scopes flag and also set it for all.
12385 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12386 Declare _dl_show_scope.
12387
1dc27704
UD
12388 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12389 (do_dlopen): Pass caller_dlopen to dl_open.
12390 (__libc_dlopen_mode): Initialize caller_dlopen.
12391
f9ddf089
UD
12392 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12393 of libc. Make tolower call locale-independent. Optimize a bit by
12394 using isdigit instead of isalnum.
12395 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12396
9ac533d3
UD
123972011-08-12 Ulrich Drepper <drepper@gmail.com>
12398
12399 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12400 was a dependency or dynamically loaded.
12401
89edf2e9
UD
124022011-08-11 Ulrich Drepper <drepper@gmail.com>
12403
8e999d29
UD
12404 * intl/l10nflist.c: Allow architecture-specific pop function.
12405 * sysdeps/x86_64/l10nflist.c: New file.
12406
89edf2e9
UD
12407 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12408 classification.
12409
14d96785
AS
124102011-08-10 Andreas Schwab <schwab@redhat.com>
12411
12412 * include/dirent.h: Add libc_hidden_proto for scandirat and
12413 scandirat64. Don't declare __scandirat64.
12414 * dirent/scandirat.c: Add libc_hidden_def.
12415 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12416 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12417
6761ac04
DM
124182011-08-10 David S. Miller <davem@davemloft.net>
12419
12420 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12421 enum.
12422 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12423 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12424 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12425
c55fbd1e
UD
124262011-08-09 Ulrich Drepper <drepper@gmail.com>
12427
12428 * Versions.def [libc]: Add GLIBC_2.15.
12429 * dirent/Makefile (routines): Add scandirat and scandirat64.
12430 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12431 GLIBC_2.15.
12432 * dirent/dirent.h: Declare scandirat and scandirat64.
12433 * dirent/scandirat.c: New file.
12434 * dirent/scandirat64.c: New file.
12435 * sysdeps/wordsize-64/scandirat.c: New file.
12436 * sysdeps/wordsize-64/scandirat64.c: New file.
12437 * dirent/opendir.c: Define opendirat.
12438 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12439 using scandirat.
12440 * dirent/scandir64.c: Adjust for scandir.c change.
12441 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12442 __scandirat64, and __scandir_cancel_handler.
12443 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12444 additional parameter and use openat instead of open (outside of ld.so).
12445 Add new __opendir as wrapper around __opendirat.
12446 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12447 here without requiring old scandirat implementation.
12448
879165f2
UD
124492011-08-08 Ulrich Drepper <drepper@gmail.com>
12450
12451 * dirent/scandir.c (cancel_handler): Renamed to
12452 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12453 defined. Adjust users.
12454 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12455 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12456
cb7e923b
UD
124572011-08-04 Ulrich Drepper <drepper@gmail.com>
12458
16292edd
UD
12459 * string/test-string.h (IMPL): Use __STRING to expand name and then
12460 stringify it.
12461
cb7e923b
UD
12462 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12463 of cleanups.
12464
cff82933
LD
124652011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12466
12467 * string/Makefile: Update.
12468 (strop-tests): Append strncat.
12469 * string/test-wcscmp.c: New file.
12470 New comprehensive test for wcscmp.
12471 * string/test-strcmp.c: Update.
12472 (WIDE): New define.
12473
9be9bfcc
AS
124742011-07-22 Andreas Schwab <schwab@redhat.com>
12475
12476 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12477 line.
12478
2e96f1c7
AS
124792011-07-26 Andreas Schwab <schwab@redhat.com>
12480
12481 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12482 encoding to ACE if AI_IDN.
12483
85188888
JJ
124842011-08-01 Jakub Jelinek <jakub@redhat.com>
12485
12486 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12487 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12488
5fa16e9b
LD
124892011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12490
12491 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12492 Fix overflow bug in strncat.
12493 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12494
12495 * string/test-strncat.c: Update.
12496 Add new tests for checking overflow bugs.
12497
124982011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12499
12500 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12501 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12502 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12503 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12504 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12505 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12506 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12507 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12508 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12509
12510 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12511 (USE_AS_STRCAT): Define.
12512 Add strcat and strncat support.
12513 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12514
8c1a459f
AS
125152011-07-25 Andreas Schwab <schwab@redhat.com>
12516
12517 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12518 __n bigger than INT_MAX+1.
12519 (__strncmp_g): Likewise.
12520
bba33c28
UD
125212011-07-23 Ulrich Drepper <drepper@gmail.com>
12522
798be72d
UD
12523 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12524 * libio/stido.h: Likewise.
12525
8accd4dc
UD
12526 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12527 (AF_NFC): Define.
12528 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12529 (AF_NFC): Define.
12530
cbff0d96
UD
12531 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12532 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12533 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12534 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12535 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12536
9191c04a
UD
12537 [BZ #13021]
12538 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12539 installed.
12540
bba33c28
UD
12541 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12542 typo.
12543 (_dl_x86_64_save_sse): Likewise.
12544
90f139dd
UD
125452011-07-22 Ulrich Drepper <drepper@gmail.com>
12546
1aae088a
UD
12547 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12548 OSXSAVE.
12549 (_dl_x86_64_save_sse): Likewise.
12550
8e2045f5
UD
12551 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12552
90f139dd
UD
12553 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12554
1d002f25
AS
125552011-07-21 Andreas Schwab <schwab@redhat.com>
12556
12557 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12558 change.
12559 (_dl_x86_64_save_sse): Use correct AVX check.
12560
21137f89
UD
125612011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12562
12563 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12564 bug in strncpy/strncat.
12565 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12566
a65c0b7a
UD
125672011-07-21 Ulrich Drepper <drepper@gmail.com>
12568
12569 * string/tester.c (test_strcat): Add tests for different alignments
12570 of source and destination.
12571 (test_strncat): Likewise.
12572
6986b98a
UD
125732011-07-20 Ulrich Drepper <drepper@gmail.com>
12574
90bb2039
UD
12575 [BZ #12852]
12576 * posix/glob.c (glob): Check passed in values before using them in
12577 expressions to avoid some overflows.
12578 (glob_in_dir): Likewise.
12579
5644ef54
UD
12580 [BZ #13007]
12581 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12582 check for AVX enablement so that we don't crash with old kernels and
12583 new hardware.
12584 * elf/tst-audit4.c: Add same checks here.
12585 * elf/tst-audit6.c: Likewise.
12586
12587 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 12588
bfc9dc9b
AS
125892011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12590
12591 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12592
702e64bb
UD
125932011-07-20 Ulrich Drepper <drepper@gmail.com>
12594
12595 * po/cs.po: Update from translation team.
12596 * po/bg.po: Likewise.
12597
295e904f
MP
125982011-07-12 Marek Polacek <mpolacek@redhat.com>
12599
12600 * misc/sys/cdefs.h: Add support for const attribute.
12601 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12602 to gnu_dev_{major,minor,makedev} functions.
12603
3ff94596
MP
126042011-07-20 Marek Polacek <mpolacek@redhat.com>
12605
12606 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12607
28b59fca
AS
126082011-07-20 Andreas Schwab <schwab@redhat.com>
12609
12610 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12611 strlen results.
12612
19df733e
AK
126132011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12614
12615 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12616 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12617 register in order to avoid conflicts with the soft frame pointer
12618 being held in r11 when necessary.
12619 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12620 (INTERNAL_VSYSCALL_NCS): Likewise.
12621
c8835729
MP
126222011-07-14 Marek Polacek <mpolacek@redhat.com>
12623
12624 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12625 * elf/dl-fini.c (_dl_fini): Adjust caller.
12626 * elf/dl-close.c (_dl_close_worker): Likewise.
12627 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12628
b902330c
MP
126292011-07-15 Marek Polacek <mpolacek@redhat.com>
12630
8991e135
MP
12631 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12632 "aux_cache->nlibs < 0".
12633
b902330c
MP
12634 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12635 in the reload-count case.
12636
99710781
LD
126372011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12638
12639 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12640 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12641 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12642 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12643 * sysdeps/x86_64/multiarch/strcat.S: New file.
12644 * sysdeps/x86_64/multiarch/strncat.S: New file.
12645 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12646 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12647 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12648 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12649 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12650 (USE_AS_STRCAT): Define.
12651 Add strcat and strncat support.
12652 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12653 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12654 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12655 * string/strncat.c: Update.
12656 (USE_AS_STRNCAT): Define.
12657 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12658 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12659 and i7.
12660 * sysdeps/x86_64/multiarch/init-arch.h
12661 (bit_Prefer_PMINUB_for_stringop): New.
12662 (index_Prefer_PMINUB_for_stringop): Likewise.
12663 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12664 bit_Prefer_PMINUB_for_stringop.
12665
7dc6bd90
UD
126662011-07-19 Ulrich Drepper <drepper@gmail.com>
12667
12668 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12669 buffer64.
12670 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12671 of casting of buffer.
12672 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12673 buffer32 and buffer64.
12674 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12675 writes instead of casting of buffer.
12676 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12677 buffer32.
12678 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12679 casting of buffer.
12680
e0e72284
AS
126812011-07-19 Andreas Schwab <schwab@redhat.com>
12682
12683 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12684
feb1eb0b
UD
126852011-07-19 Ulrich Drepper <drepper@gmail.com>
12686
12687 * nscd/nscd.c (termination_handler): Don't do anything for a database
12688 if it has not yet been initialized.
12689
298711ff
UD
126902011-07-18 Ulrich Drepper <drepper@gmail.com>
12691
12692 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12693
126942011-07-15 Marek Polacek <mpolacek@redhat.com>
12695
12696 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12697
f9d68389
UD
126982011-07-18 Ulrich Drepper <drepper@gmail.com>
12699
12700 * po/nl.po: Update from translation team.
12701 * po/sv.po: Likewise.
12702
db290cf5
RM
127032011-07-16 Roland McGrath <roland@hack.frob.com>
12704
12705 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12706 now disallowed by GCC.
5c550700 12707
fd5e21c7
RM
12708 * configure.in (use-default-link): Default to yes if a test -shared
12709 link meets our qualifications.
12710 * configure: Regenerated.
12711
5c550700
RM
12712 * config.make.in (output-format): New variable.
12713 * configure.in: Check for ld --print-output-format support.
12714 * configure: Regenerated.
12715 * Makerules ($(common-objpfx)format.lds)
12716 [$(output-format) != unknown]: Just use $(output-format),
12717 instead of the linker-script munging.
12718
9fa2c032
RM
127192011-07-14 Roland McGrath <roland@hack.frob.com>
12720
a6928d51
RM
12721 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12722 of $(common-objpfx)shlib.lds.
12723 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12724
661607b3
RM
12725 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12726 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12727
9fa2c032
RM
12728 * configure.in (-z relro check): Adjust test code to add a large
12729 writable data section after it.
12730 * configure: Regenerated.
12731
defe9061
RM
127322011-07-11 Roland McGrath <roland@hack.frob.com>
12733
12734 * configure.in (-z relro check): Fix test code to make the variable
12735 truly const.
12736 * configure: Regenerated.
12737
319b9ad4
UD
127382011-07-11 Ulrich Drepper <drepper@gmail.com>
12739
12740 * nscd/nscd.h (struct traced_file): Define.
12741 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12742 elements. Add traced_files.
12743 (inotify_fd): Declare.
12744 (register_traced_file): Declare.
12745 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12746 (inotify_fd): Export.
12747 (resolv_conf_descr): Remove.
12748 (nscd_init): Move inotify descriptor creation to main.
12749 Don't register files for notification here.
12750 (register_traced_file): New function.
12751 (invalidate_cache): Don't use reset_res to determine whether to call
12752 res_init, go through the list of registered files.
12753 (main_loop_poll): The inotify descriptors are now stored in the
12754 structures for the traced files.
12755 (main_loop_epoll): Likewise
12756 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12757 to __nss_disable_nscd.
12758 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12759 for a database anymore. Check the records for all the registered
12760 files instead.
12761 * nss/Makefile (libnss_files-routines): Add files-init.
12762 (libnss_db-routines): Add db-init.
12763 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12764 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12765 * nss/nss_db/db-init.c: New file.
12766 * nss/nss_files/files-init.c: New file.
12767 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12768 __nss_lookup_function.
12769 (__nss_lookup_function): Call nss_load_library.
12770 (nss_load_all_libraries): New function.
12771 (__nss_disable_nscd): Take parameter with callback function for files
12772 to register. Set is_nscd. Load all the DSOs for the NSS modules
12773 used for the cached services.
12774 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12775 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12776 options for features to all the files in nscd.
12777
12778 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12779
23bee3e8
RM
127802011-07-10 Roland McGrath <roland@hack.frob.com>
12781
12782 * csu/elf-init.c (__libc_csu_init): Comment typo.
12783
46a5b7f0
UD
127842011-07-09 Ulrich Drepper <drepper@gmail.com>
12785
12786 * po/pl.po: Update from translation team.
12787 * po/ja.po: Likewise.
12788 * po/ru.po: Likewise.
12789 * po/ko.po: Likewise.
12790 * po/fr.po: Likewise.
12791
d30cf5bb
RM
127922011-07-09 Roland McGrath <roland@hack.frob.com>
12793
113ddea4
RM
12794 * configure.in (.ctors/.dtors header and trailer check):
12795 Use an empirical test on a built program.
12796 * configure: Regenerated.
12797
574920b4
RM
12798 * configure.in (-z relro check): Use an empirical test on a built DSO.
12799 Detect, but do not require, on ia64.
12800 * configure: Regenerated.
12801
d30cf5bb
RM
12802 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12803 Update tests that use readelf to use $READELF instead.
12804 * configure: Regenerated.
12805
8538fdb3
UD
128062011-07-08 Ulrich Drepper <drepper@gmail.com>
12807
12808 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12809 if the result is not used.
12810
04d08991
AJ
128112011-07-05 Andreas Jaeger <aj@suse.de>
12812
12813 [BZ#9696]
12814 * stdlib/tst-strtod.c: Add testcase.
12815
de283087
AD
128162011-07-07 Ulrich Drepper <drepper@gmail.com>
12817
4e5f31c8 12818 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 12819 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
12820 The latter has a higher limit. Take additional parameter to pass to
12821 the new function.
12822 (__pathconf): Pass file to __statfs_link_max.
12823 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12824 __statfs_link_max.
12825 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12826 __statfs_link_max.
12827
de283087
AD
12828 [BZ #12868]
12829 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12830 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12831 Handle Lustre.
12832 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12833 (__statfs_filesize_max): Likewise.
12834 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12835
c75fa153
AJ
128362011-07-05 Andreas Jaeger <aj@suse.de>
12837
12838 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12839
1a544854
UD
128402011-07-06 Marek Polacek <mpolacek@redhat.com>
12841
12842 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12843 `status' variable.
12844 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12845 Likewise.
12846
6f0eec67
UD
128472011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12848
12849 * Makefile (strop-tests): Add strncat.
12850 * string/test-strncat.c: New file.
12851
aae30307
UD
128522011-06-30 Marek Polacek <mpolacek@redhat.com>
12853
12854 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12855
c0cfb5eb
UD
128562011-06-21 Andreas Jaeger <aj@suse.de>
12857
12858 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12859 Copy rule from iconvdata/Makefile.
12860
01636b21
UD
128612011-07-06 Ulrich Drepper <drepper@gmail.com>
12862
12863 [BZ #12922]
12864 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12865 but no long options are defined, just return 'W'.
12866
9895c8bc
UD
128672011-06-22 Marek Polacek <mpolacek@redhat.com>
12868
12869 [BZ #9696]
12870 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12871
5d4cf042
UD
128722011-07-06 Ulrich Drepper <drepper@gmail.com>
12873
12874 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12875 netgroups to read.
960e5535 12876 (innetgr): Likewise.
5d4cf042 12877
751eb97e
RM
128782011-07-05 Roland McGrath <roland@hack.frob.com>
12879
12880 * config.make.in (install_root): Default to $(DESTDIR).
12881
f15f1e45
UD
128822011-07-05 Ulrich Drepper <drepper@gmail.com>
12883
12884 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12885
4e34ac6a
RM
128862011-07-02 Roland McGrath <roland@hack.frob.com>
12887
5e9b6af4
RM
12888 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12889
84f9ea0f
RM
12890 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12891 containing directory rather than embedding absolute directory names.
12892
ea5ee9f7
RM
12893 * scripts/check-local-headers.sh: Rewritten using awk.
12894 Match by word, not by line. Print error messages for matches.
12895 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12896
1b74661a
RM
12897 * Makerules [shlib-lds-flags empty]:
12898 ($(common-objpfx)libc_pic.opts): New target.
12899 ($(common-objpfx)libc_pic.os.clean): New target.
12900 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12901
12902 * config.make.in (OBJCOPY): New variable.
12903 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12904 * configure: Regenerated.
12905
f781ef40
RM
12906 * config.make.in (use-default-link): New variable.
12907 * configure.in (use_default_link): Grok --with-default-link to set it.
12908 * configure: Regenerated.
12909 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12910 (shlib-lds, shlib-lds-flags): Define to empty.
12911
2d4fa81e
RM
12912 * Makerules (shlib-lds): New variable.
12913 (shlib-lds-flags): New variable.
12914 (build-shlib, build-moduile, build-module-asneeded): Use it.
12915 ($(common-objpfx)libc.so): Use $(shlib-lds).
12916 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12917 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12918
31fffa6b
RM
12919 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12920 DT_FLAGS/DT_FLAGS_1 with zero flags.
12921
4e34ac6a
RM
12922 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12923 linker script munging.
12924
fcfc776b
UD
129252011-07-02 Ulrich Drepper <drepper@gmail.com>
12926
12927 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12928 as 128-bit value.
12929 * crypt/sha512.c (sha512_process_block): Perform total addition using
12930 128-bit if possible.
12931 (__sha512_finish_ctx): Likewise.
12932 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12933 as 64-bit value.
12934 * crypt/sha256.c (SWAP64): Define.
12935 (sha256_process_block): Perform total addition using 64-bit if
12936 possible.
12937 (__sha256_finish_ctx): Likewise.
12938
99231d9a
UD
129392011-07-01 Ulrich Drepper <drepper@gmail.com>
12940
12941 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
12942 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12943 * nscd/hstcache.c (cache_addhst): Likewise.
12944 * nscd/grpcache.c (cache_addgr): Likewise.
12945 * nscd/aicache.c (addhstaiX): Likewise
12946 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12947
445b4a53
TK
129482011-07-01 Thorsten Kukuk <kukuk@suse.de>
12949
12950 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12951 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12952 * nscd/hstcache.c (cache_addhst): Likewise.
12953 * nscd/grpcache.c (cache_addgr): Likewise.
12954 * nscd/aicache.c (addhstaiX): Likewise
12955
6d4d8e8e
AS
129562011-07-01 Andreas Schwab <schwab@redhat.com>
12957
12958 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12959 domain only when needed.
12960
89f654c5
AS
129612011-06-30 Andreas Schwab <schwab@redhat.com>
12962
12963 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12964 is always restored.
12965
cf3b23ff
UD
129662011-06-29 Ulrich Drepper <drepper@gmail.com>
12967
12968 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12969 are re-adding the entry.
12970 * nscd/servicescache.c (cache_addserv): Likewise.
12971
751626f9
AJ
129722011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12973
12974 * sysdeps/generic/dl-irel.h: fix protection against multiple
12975 inclusions.
12976 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12977
9113ea1f
UD
129782011-06-28 Ulrich Drepper <drepper@gmail.com>
12979
5c0b8d90
UD
12980 [BZ #12935]
12981 * malloc/memusage.sh: Fix quoting in message.
12982 * debug/xtrace.sh: Likewise.
12983
9113ea1f
UD
12984 * configure.in: Remove support for --experimental-malloc option, make
12985 it the default.
12986 * config.make.in: Likewise.
12987 * malloc/Makefile: Likewise.
12988
a4172181
AS
129892011-06-27 Andreas Schwab <schwab@redhat.com>
12990
12991 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12992 two-byte characters.
12993
78a7eee7
RM
129942011-06-27 Roland McGrath <roland@hack.frob.com>
12995
62bede13
RM
12996 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
12997 AC_CACHE_CHECK invocation.
12998 * configure: Regenerated.
12999
78a7eee7
RM
13000 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13001
5ce33a62
UD
130022011-06-27 Ulrich Drepper <drepper@gmail.com>
13003
034807a9
UD
13004 [BZ #12350]
13005 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13006 bit from old_res_options.
13007
4902da17
UD
13008 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13009
5ce33a62
UD
13010 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13011 value type for setfct.
13012
c2344f56
L
130132011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13014
13015 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13016 __gettimeofday instead of gettimeofday.
13017
68468076
UD
130182011-06-26 Ulrich Drepper <drepper@gmail.com>
13019
13020 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13021
acb0d739
L
130222011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13023
13024 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13025
13026 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13027 info.
13028
8912479f
L
130292011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13030
13031 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13032 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13033 strcpy-sse2-unaligned strncpy-sse2-unaligned
13034 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13035 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13036 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13037 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13038 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13039 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13040 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13041 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13042 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13043 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13044 (STRCPY): Support SSE2 and SSSE3 versions.
13045
d5495a11
UD
130462011-06-24 Ulrich Drepper <drepper@gmail.com>
13047
13048 [BZ #12874]
13049 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13050 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13051 kernels which artificially limit size of requests.
13052
0b1cbaae
L
130532011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13054
13055 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13056 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13057 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13058 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13059 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13060 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13061 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13062 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13063 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13064 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13065 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13066 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13067 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13068 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13069 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13070 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13071 Enable unaligned load optimization for Intel Core i3, i5 and i7
13072 processors.
13073 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13074 Define.
13075 (index_Fast_Unaligned_Load): Define.
13076 (HAS_FAST_UNALIGNED_LOAD): Define.
13077
07f494a0
MP
130782011-06-23 Marek Polacek <mpolacek@redhat.com>
13079
13080 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13081
fa3fc0fe
UD
130822011-06-22 Ulrich Drepper <drepper@gmail.com>
13083
13084 [BZ #12907]
13085 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13086 until it is clear that the information is realy needed.
13087 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13088
e12df166
AS
130892011-06-22 Andreas Schwab <schwab@redhat.com>
13090
13091 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13092
852eb34d
UD
130932011-06-22 Ulrich Drepper <drepper@gmail.com>
13094
84e2a551
UD
13095 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13096 /sys/devices/system/cpu/online if it is usable.
13097
852eb34d
UD
13098 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13099 reading the information from the /proc filesystem to once a second.
13100
6e502e19
UD
131012011-06-21 Andreas Jaeger <aj@suse.de>
13102
13103 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13104 NULL after inclusion of kernel headers.
13105
75d39ff2
UD
131062011-06-21 Ulrich Drepper <drepper@gmail.com>
13107
51f9aa6a
UD
13108 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13109 calls to internal_setent.
13110
c0244a9d
UD
13111 [BZ #12885]
13112 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13113 addresses using gethostbyname4_r ignore IPv4 addresses.
13114
c5e3c2ae
UD
13115 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13116 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13117
75d39ff2
UD
13118 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13119
42675c6f
DM
131202011-06-20 David S. Miller <davem@davemloft.net>
13121
13122 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13123 inclusions.
13124 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13125
13126 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13127 (elf_irel): Use it.
13128 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13129 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13130 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13131 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13132 * sysdeps/x86_64/dl-irel.h: Likewise.
13133
13134 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13135 * elf/dl-sym.c: Likewise.
13136
57912a71
UD
131372011-06-15 Ulrich Drepper <drepper@gmail.com>
13138
13139 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13140 need to dereference resplen2.
13141
ee22793d
AS
131422011-06-14 Andreas Schwab <schwab@redhat.com>
13143
13144 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13145
a9e836b0
UD
131462011-06-15 Ulrich Drepper <drepper@gmail.com>
13147
77fb9117
UD
13148 * Makeconfig: Define vardbdir and inst_vardbdir.
13149 * nss/Makefile: Add rules to install db-Makefile.
13150
40c1b22c
UD
13151 * nss/nss_db/db-XXX.c: Cleanup.
13152
9f2da732
UD
13153 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13154 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13155 GLIBC_PRIVATE.
13156 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13157 * nss/makedb.c: Implement -g option to specify that value strings
13158 are generated and should not be added to table iterated over for
13159 get*ent calls.
13160 * nss/nss_db/db-initgroups.c: New file.
13161
82e9a1f7
UD
13162 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13163 interface.
13164
c41af17e
UD
13165 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13166 (internal_getgrouplist): Adjust to name change.
13167 Update use_initgroups_entry if this is not the first call.
13168 * nss/databases.def: Add initgroups entry.
13169
a9e836b0
UD
13170 * nss/makedb.c (compute_tables): Check result of multiple hash table
13171 sizes to minimize maximum chain length.
13172
2666d441
UD
131732011-06-14 Ulrich Drepper <drepper@gmail.com>
13174
13175 * Versions.def: Add entry for libnss_db.
13176 * shlib-versions: Likewise.
13177 * nss/Makefile: Add rules to build libnss_db.
13178 * nss/Versions: Add libnss_db information. Organize libnss_files
13179 entries better.
13180 * nss/db-Makefile: Add gshadow support. Change rules for the new
13181 makedb progra. Some minor improvements to generate smaller files.
13182 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13183 here from...
13184 * nss/makedb.c: ...here.
13185 Improve database format to be smaller and require less memory at
13186 runtime.
13187 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13188 db anymore.
13189 * nss/nss_db/db-netgrp.c: Likewise.
13190 * nss/nss_db/db-open.c: Likewise.
13191 * nss/nss_files/flies-XXX.x: Adjust comments.
13192 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13193 * nss/nss_files/files-grp.c: Likewise.
13194 * nss/nss_files/files-hosts.c: Likewise.
13195 * nss/nss_files/files-network.c: Likewise.
13196 * nss/nss_files/files-proto.c: Likewise.
13197 * nss/nss_files/files-pwd.c: Likewise.
13198 * nss/nss_files/files-rpc.c: Likewise.
13199 * nss/nss_files/files-service.c: Likewise.
13200 * nss/nss_files/files-sgrp.c: Likewise.
13201 * nss/nss_files/files-spwd.c: Likewise.
13202 * nss/nss_db/db-alias.c: Removed.
13203 * nss/nss_db/dummy-db.h: Removed.
13204
9ee76b5a
UD
132052011-06-02 Ulrich Drepper <drepper@gmail.com>
13206
13207 * nss/makedb.c: Rewritten to not use database library.
13208 * nss/Makefile: Update to build new makedb program.
13209
c71ca1f8
AJ
132102011-06-14 Andreas Jaeger <aj@suse.de>
13211
13212 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13213 memset declaration.
13214
3154bfb8
UD
132152011-06-10 Andreas Schwab <schwab@redhat.com>
13216
13217 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13218 tmpbuf.
13219
b350afab
RM
132202011-06-10 Roland McGrath <roland@hack.frob.com>
13221
decd4e50
RM
13222 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13223 * elf/Makefile ($(objpfx)ld.so): Likewise.
13224
5615eaf2
RM
13225 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13226 Don't list ld.so twice in dependencies.
13227
13228 * posix/bug-regex31.c: Include <stdlib.h>.
13229
13230 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13231
13232 * nis/nss_compat/compat-spwd.c
13233 (getspent_next_nss_netgr): Remove unused variable.
13234 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13235
13236 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13237 nonmembers" output to use the right array.
13238
13239 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13240
13241 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13242
13243 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13244 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13245 * catgets/gencat.c (read_input_file): Likewise.
13246 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13247
13248 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13249 variable definition inside #if's controlling its use.
13250
13251 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13252
13253 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13254
13255 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13256
13257 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13258 unreachable code.
13259
13260 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13261
b68e08db
RM
13262 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13263 * configure: Regenerated.
13264
b350afab
RM
13265 * Makerules: Revert last change.
13266 * elf/Makefile: Likewise.
13267
28368601
RM
132682011-06-09 Roland McGrath <roland@hack.frob.com>
13269
13270 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13271 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13272 (reloc-link): Likewise.
13273
11988f8f
UD
132742011-06-09 Ulrich Drepper <drepper@gmail.com>
13275
13276 * elf/Makefile: Add rules to build pldd.
13277 * elf/pldd.c: New file.
13278 * elf/pldd-xx.c: New file.
13279
e80fab37
UD
132802011-06-07 Ulrich Drepper <drepper@gmail.com>
13281
13282 * version.h: Update for 2.15 development version.
13283
9b849836
DM
132842011-06-07 David S. Miller <davem@davemloft.net>
13285
13286 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13287 ifuncs.
13288 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13289 elf_machine_lazy_rel): Likewise.
13290 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13291 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13292 elf_machine_lazy_rel): Likewise.
13293 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13294 dl_hwcap via passed in argument.
13295 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13296 Likewise.
13297
5a31b283
AK
132982011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13299
13300 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13301
069e52f8
RM
133022011-06-06 Roland McGrath <roland@hack.frob.com>
13303
13304 [BZ #12849]
13305 * manual/fdl-1.1.texi: New file, verbatim from:
13306 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13307 * manual/lgpl-2.1.texi: New file, verbatim from:
13308 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13309 * manual/Makefile (licenses): New variable, list those new file names.
13310 (texis): Use it.
13311 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13312
13313 * manual/fdl.texi: File removed.
13314 * manual/lesser.texi: File removed.
13315 * manual/libc.texinfo (Copying, Documentation License):
13316 Use new @include file names, put @appendix directive before @include.
13317
f16846a5
JJ
133182011-06-04 Jakub Jelinek <jakub@redhat.com>
13319
13320 [BZ #12841]
13321 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13322 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13323 (mq_open): Add __NTH.
13324
3d29045b
L
133252011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13326
13327 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13328 Assume Intel Core i3/i5/i7 processor if AVX is available.
13329
8c297311
UD
133302011-05-31 Ulrich Drepper <drepper@gmail.com>
13331
13332 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13333 typo.
13334
c8fc0c91
UD
133352011-05-31 Andreas Schwab <schwab@redhat.com>
13336
13337 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13338 memory. Use alloca_account. Fix memory leak when retrying.
13339
5b27a807
UD
133402011-05-31 Ulrich Drepper <drepper@gmail.com>
13341
356f8bc6
UD
13342 * version.h (RELEASE): Bump for 2.14 release.
13343 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13344
5b27a807
UD
13345 * config.make.in (RANLIB): Remove entry.
13346
01f16ab0
UD
133472011-05-30 Ulrich Drepper <drepper@gmail.com>
13348
41fce8bd
UD
13349 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13350 (libc.pot): Work around missing support for .ksh extension in xgettext.
13351
4769ae77
UD
13352 [BZ #12684]
13353 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13354 if both request failed.
13355 (send_dg): In case of server errors clear resplen or *resplen2.
13356
6b1e7d19
UD
13357 [BZ #12454]
13358 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13359 when there are multiple maps.
13360 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13361 (_dl_fini): Remove test here.
13362
01f16ab0
UD
13363 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13364
b1ebd700
UD
133652011-05-29 Ulrich Drepper <drepper@gmail.com>
13366
7ae22829
UD
13367 [BZ #12350]
13368 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13369 bit from old_res_options.
13370 (gaih_inet): Likewise.
13371
553149f6 13372 [BZ #11099]
18a84741 13373 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13374 as signed.
13375
652ffab1
UD
13376 * resolv/res_init.c (res_setoptions): Make the code more compact.
13377
16985fd0
UD
13378 [BZ #11558]
13379 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13380 set RES_USEVC.
13381
0464f746
UD
13382 [BZ #11634]
13383 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13384
7d17596c
UD
13385 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13386
cf6bbbd7
UD
13387 [BZ #11781]
13388 * malloc/malloc.h: Declare malloc hook variables as volatile.
13389
13f1ab36
UD
13390 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13391 in last patch.
13392
b1ebd700
UD
13393 [BZ #11799]
13394 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13395 raise in the comment.
80e2212d
UD
13396 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13397 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13398 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13399
ce67228d
UD
134002011-05-28 Ulrich Drepper <drepper@gmail.com>
13401
8887a920
UD
13402 [BZ #12811]
13403 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13404 grow the buffers more if it already has to be sufficient.
13405 (build_wcs_upper_buffer): Likewise.
13406 * posix/regexec.c (check_matching): Likewise.
13407 (clean_state_log_if_needed): Likewise.
13408 (extend_buffers): Don't enlarge buffers beyond size of the input
13409 buffer.
13410 Patches mostly by Emil Wojak <emil@wojak.eu>.
13411 * posix/bug-regex32.c: New file.
13412 * posix/Makefile (tests): Add bug-regex32.
13413
4f031072
UD
13414 * locale/findlocale.c (_nl_find_locale): Return right away if
13415 _nl_explode_name failed.
13416 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13417
d0478f0c
UD
13418 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13419
de81b246
UD
13420 * debug/xtrace.sh: Unify messages.
13421 * malloc/memusage.sh: Likewise.
13422
c738465a
UD
13423 [BZ #12813]
13424 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13425 time symbol from vDSO. Substitute with vsyscall if not available.
13426 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13427 __vdso_time.
13428
f1f929d7
UD
13429 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13430 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13431 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13432 Add sendmmsg and internal_sendmmsg.
13433 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13434 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13435 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13436
ce67228d
UD
13437 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13438 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13439 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13440
e57420c6
UD
134412011-05-27 Ulrich Drepper <drepper@gmail.com>
13442
a8509ca5
UD
13443 [BZ #12813]
13444 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13445 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13446 available.
13447 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13448 __vdso_getcpu.
13449
e57420c6
UD
13450 [BZ #12814]
13451 * iconvdata/Makefile (tests): Add bug-iconv9.
13452 * iconvdata/bug-iconv9.c: New file.
13453
4d07db15
AS
134542011-05-27 Andreas Schwab <schwab@redhat.com>
13455
13456 [BZ #12814]
13457 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13458
ea486f69
JJ
134592011-05-25 Jakub Jelinek <jakub@redhat.com>
13460
13461 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13462 (struct user_regs_struct): Change intcs field back to cs.
13463
6f038433
UD
134642011-05-25 Ulrich Drepper <drepper@gmail.com>
13465
13466 * po/ja.po: Update from translation team.
13467
67f86a25
UD
134682011-05-23 Ulrich Drepper <drepper@gmail.com>
13469
13470 [BZ #12795]
13471 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13472 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13473
def7fbd6
AS
134742011-05-20 Andreas Schwab <schwab@redhat.com>
13475
13476 * stdlib/longlong.h: Update from GCC.
13477
f50ef8f1
AS
134782011-05-23 Andreas Schwab <schwab@redhat.com>
13479
13480 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13481 parameter name.
13482 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13483 Add parameter name.
13484 (__sysconf): Pass it down.
13485
de7ce8f1
UD
134862011-05-22 Ulrich Drepper <drepper@gmail.com>
13487
f2962a71
UD
13488 [BZ #12671]
13489 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13490 some situations.
13491 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13492 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13493 add in in __libc_use_alloca calls. Adjust callers.
13494 (glob): Use malloc in some situations.
13495
de7ce8f1
UD
13496 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13497 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13498 pltexit.
13499
aec84f53
UD
135002011-05-21 Ulrich Drepper <drepper@gmail.com>
13501
05bb4a68
UD
13502 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13503 and CLOCK_BOOTTIME_ALARM.
13504
7ea72f99
UD
13505 [BZ #12782]
13506 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13507 is returned.
13508
7e4afad5
UD
13509 * string/_strerror.c (__strerror_r): Print negative errors as signed
13510 numbers.
13511
8e211fec
UD
13512 [BZ #12777]
13513 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13514 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13515 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13516
f7d82dc9
UD
13517 * configure.in: Fix typo in redirection and correct removal of test
13518 files in two cases.
13519
cc9e536d
UD
13520 [BZ #12788]
13521 * locale/setlocale.c (new_composite_name): Fix test to check for
13522 identical name of all categories.
13523
aec84f53
UD
13524 [BZ #12792]
13525 * libio/filedoalloc.c (local_isatty): New function.
13526 (_IO_file_doallocate): Use local_isatty.
13527 * stdio-common/perror.c (perror): In case a new stream is used
13528 forward the stream error.
13529 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13530 error flag.
13531
78e64fdc
RT
135322011-05-20 Ulrich Drepper <drepper@gmail.com>
13533
34a9094f
UD
13534 [BZ #11869]
13535 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13536 alloca.
13537 * include/alloca.h (extend_alloca_account): Define.
13538
78e64fdc
RT
13539 [BZ #11857]
13540 * posix/regex.h: Fix comments with documentation of user-accessible
13541 fields after compilation and describe correct free'ing of pattern
13542 after re_compile_pattern.
13543 Patch by Reuben Thomas <rrt@sc3d.org>.
13544
457bddfc
RA
135452011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13546
13547 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13548 and -mno-altivec to prevent the compiler from using Altivec and/or
13549 VSX instructions when the corresponding registers are not available.
13550
a4527b51
AS
135512011-05-19 Andreas Schwab <schwab@redhat.com>
13552
13553 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13554
ed690b2f
UD
135552011-05-19 Ulrich Drepper <drepper@gmail.com>
13556
13557 * libio/freopen.c (freopen): Use __dup2, not dup2.
13558 * libio/freopen64.c (freopen64): Likewise.
13559
8db73634
L
135602011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13561
13562 [BZ #12775]
13563 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13564 * math/Makefile (tests): Add test-powl.
13565 (CFLAGS-test-powl.c): Define.
13566 * math/test-powl.c: New file.
13567
0a197a9d
L
135682011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13569
13570 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13571
ee30c380
UD
135722011-05-17 Ulrich Drepper <drepper@gmail.com>
13573
13574 [BZ #11837]
13575 * iconvdata/gb18030.c: Update to GB18020-2005.
13576
6ce75379
UD
135772011-05-16 Ulrich Drepper <drepper@gmail.com>
13578
a4b89fd8
AR
13579 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13580 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13581 Patch by Aharon Robbins <arnold@skeeve.com>.
13582
ea389b12
UD
13583 [BZ #11892]
13584 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13585 on the stack.
13586
68a3f91f
UD
13587 [BZ #11895]
13588 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13589 through underflows.
13590
15cc7dd1
UD
13591 [BZ #12766]
13592 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13593 point to strings before performing equality test for error_one_per_line
13594 mode.
13595
f3799213
UD
13596 [BZ #11697]
13597 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13598
d79a9c94
UD
13599 [BZ #11820]
13600 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13601 (struct user_fpregs_struct): Avoid __uint*_t types.
13602
56e5eb46
UD
13603 [BZ #6420]
13604 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13605 symbol info. Use it instead of calling _dl_addr locally.
13606 (lock_and_info): New function.
13607 (tr_freehook): Call lock_and_info and pass symbol info as additional
13608 parameter to tr_where.
13609 (tr_mallochook): Likewise.
13610 (tr_reallochook): Likewise.
13611 (tr_memalignhook): Likewise.
13612
6ce75379
UD
13613 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13614 used and couldn't be at all thread-safe.
13615
f8a3b5bf
UD
136162011-05-15 Ulrich Drepper <drepper@gmail.com>
13617
94b7cc37
UD
13618 * libio/freopen.c (freopen): Don't close old file descriptor
13619 before the new one is opened. Instead dup the new file descriptor
13620 to the old one after the new stream is created.
13621 * libio/freopen64.c (freopen64): Likewise.
13622 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13623 * libio/fileops.c (_IO_new_file_close_it): Handle new
13624 _IO_FLAGS2_NOCLOSE flag.
13625 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13626 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13627 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13628 _IO_FLAGS2_NOCLOSE flag.
13629 * include/unistd.h: Add hidden_proto for dup3.
13630 Define __have_dup3.
13631 * io/dup3.c: Define hidden symbol.
13632 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13633
bd25564e
UD
13634 [BZ #7101]
13635 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13636 when an incomplete long option is used.
13637 * posix/tst-getopt_long1.c: New file.
13638 * posix/Makefile (tests): Add tst-getopt_long1.
13639
c84cfef4
UD
13640 [BZ #10138]
13641 * scripts/config.guess: Update from autoconf-2.68.
13642 * scripts/config.sub: Likewise.
13643
3b85df27
UD
13644 [BZ #10157]
13645 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13646 tests into ...
13647 (has_cpuclock): ...this. New function.
13648 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13649 macro here based on has_cpuclock code.
13650
15a856b1
UD
13651 [BZ #10149]
13652 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13653 First byte (not low byte) is now always NUL.
13654 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13655
05f399e6
UD
13656 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13657 Use non-cancelable interfaces.
13658
10a52685 13659 [BZ #9809]
94ecc67d
UD
13660 * locale/iso-639.def: Add entry for Sorani.
13661
f8a3b5bf
UD
13662 [BZ #11901]
13663 * include/stdlib.h: Move include protection to the right place.
13664 Define abort_msg_s. Declare __abort_msg with it.
13665 * stdlib/abort.c (__abort_msg): Adjust type.
13666 * assert/assert.c (__assert_fail_base): New function. Majority
13667 of code from __assert_fail. Allocate memory for __abort_msg with
13668 mmap.
13669 (__assert_fail): Now call __assert_fail_base.
13670 * assert/assert-perr.c: Remove bulk of implementation. Use
13671 __assert_fail_base.
13672 * include/assert.hL Declare __assert_fail_base.
13673 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13674 mmap.
13675 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13676
1af4e298
UD
136772011-05-14 Ulrich Drepper <drepper@gmail.com>
13678
f8a3b5bf 13679 [BZ #11952]
d26dfc60
MG
13680 [BZ #12453]
13681 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13682 until all modules are registered in the DTV.
13683 * elf/Makefile: Add rules to build and run tst-tls19.
13684 * elf/tst-tls19.c: New file.
13685 * elf/tst-tls19mod1.c: New file.
13686 * elf/tst-tls19mod2.c: New file.
13687 * elf/tst-tls19mod3.c: New file.
13688 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13689
2fc54d6f
UD
13690 [BZ #12083]
13691 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13692 correctly.
13693
98d76b46
UD
13694 [BZ #12601]
13695 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13696 two-byte sequence errors.
13697 * iconvdata/Makefile (tests): Add bug-iconv8.
13698 * iconvdata/bug-iconv8.c: New file.
13699
da3c19ef
UD
13700 [BZ #12626]
13701 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13702 buf2 definition.
13703
ca408c15
UD
13704 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13705
d6f67f7d
UD
13706 [BZ #12432]
13707 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13708 (dummy_getcfa): New function.
13709 (init): Get _Unwind_GetCFA address, use dummy if not found.
13710 (backtrace_helper): In recursion check, also check whether CFA changes.
13711 (__backtrace): Completely initialize arg.
13712
1af4e298 13713 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
13714 storing incomplete byte sequence in state object. Avoid testing for
13715 guaranteed too small input if we know there is enough data available.
1af4e298 13716
da62f81b
AS
137172011-05-11 Andreas Schwab <schwab@redhat.com>
13718
13719 * Makeconfig (+link-pie): Indent.
13720 * Rules (binaries-pie): Define if $(have-fpie) and
13721 $(build-shared).
13722 (binaries-shared): Also filter out $(binaries-pie).
13723 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13724 * nscd/Makefile (others-pie): Add nscd.
13725 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13726 ($(objpfx)nscd): Remove command override.
13727 * login/Makefile (others-pie): Add pt_chown.
13728 ($(objpfx)pt_chown): Remove command override.
13729 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13730 remove command overrides.
13731
fcabc0f8
UD
137322011-05-13 Ulrich Drepper <drepper@gmail.com>
13733
20030ae6
UD
13734 * libio/tst_putwc.c: Fix error messages.
13735
fcabc0f8
UD
13736 [BZ #12724]
13737 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13738 currently writing and seek to current position when not.
13739 * libio/Makefile (tests): Add bug-fclose1.
13740 * libio/bug-fclose1.c: New file.
13741
320a5dc0
PB
137422011-05-12 Ulrich Drepper <drepper@gmail.com>
13743
13744 [BZ #12511]
13745 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13746 don't set DF_1_NODELETE here.
13747 (do_lookup_x): When entering new entry test for copy relocation
13748 and if necessary set DF_1_NODELETE flag.
13749 * elf/tst-unique4.cc: New file.
13750 * elf/tst-unique4.h: New file.
13751 * elf/tst-unique4lib.cc: New file.
13752 * elf/Makefile: Add rules to build and run tst-unique4.
13753 Patch by Piotr Bury <pbury@goahead.com>.
13754
22836f52
UD
137552011-05-11 Ulrich Drepper <drepper@gmail.com>
13756
f574184a
UD
13757 [BZ #12052]
13758 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13759
e1fb097f
UD
13760 [BZ #12625]
13761 * misc/mntent_r.c (addmntent): Flush the stream after the output
13762
22836f52
UD
13763 [BZ #12393]
13764 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13765 (is_trusted_path_normalize): Skip initial colon. Append slash
13766 to empty buffer. Duplicate is_trusted_path code but allow
13767 constructed patch to be prefix.
13768 (is_dst): Allow $ORIGIN followed by /.
13769 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13770 Correct testing of result of is_trusted_path_normalize
13771 (decompose_rpath): Fix warning.
13772
7b3b0b2a
UD
137732011-05-10 Ulrich Drepper <drepper@gmail.com>
13774
13775 [BZ #11257]
13776 * grp/initgroups.c (internal_getgrouplist): When we found the service
13777 list through the initgroups entry in nsswitch.conf do not always
13778 continue on a successful lookup. Don't always use the
eac80ce2 13779 __nss_group_database value if it is set.
7b3b0b2a
UD
13780 * nss/nsswitch.conf (initgroups): Change action for successful db
13781 lookup to continue for compatibility.
13782
2a81eaa5
UD
137832011-05-09 Ulrich Drepper <drepper@gmail.com>
13784
be97a69e
UD
13785 [BZ #11532]
13786 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13787 and CP774 modules.
13788 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13789 and CP774 modules.
13790 * iconvdata/tst-tables.sh: Likewise.
13791 * iconvdata/cp770.c: New file.
13792 * iconvdata/cp771.c: New file.
13793 * iconvdata/cp772.c: New file.
13794 * iconvdata/cp773.c: New file.
13795 * iconvdata/cp774.c: New file.
13796 * iconvdata/testdata/CP770: New file.
13797 * iconvdata/testdata/CP770..UTF8: New file.
13798 * iconvdata/testdata/CP771: New file.
13799 * iconvdata/testdata/CP771..UTF8: New file.
13800 * iconvdata/testdata/CP772: New file.
13801 * iconvdata/testdata/CP772..UTF8: New file.
13802 * iconvdata/testdata/CP773: New file.
13803 * iconvdata/testdata/CP773..UTF8: New file.
13804 * iconvdata/testdata/CP774: New file.
13805 * iconvdata/testdata/CP774..UTF8: New file.
13806
13807 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13808 END CHARMAP line.
13809 * iconvdata/gen-8bit-gap.sh: Likewise.
13810 * iconvdata/gen-8bit.sh: Likewise.
13811
c1e9e399
UD
13812 * locale/iso-639.def: Add ary entry.
13813
24c55fb3 13814 [BZ #11258]
96b4b1b0
UD
13815 * locale/C-translit.h.in: Add U20A1 transliteration.
13816
bdc2f971
KB
13817 [BZ #12178]
13818 * locale/iso-639.def: Add wae entry.
13819 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13820
2952b117
UD
13821 [BZ #12545]
13822 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13823 for n.
13824
2a81eaa5
UD
13825 [BZ #12711]
13826 * locale/C-translit.h.in: Add entry for U20B9.
13827 Patch by pravin.d.s@gmail.com.
13828
28377d1b
UD
138292011-05-08 Ulrich Drepper <drepper@gmail.com>
13830
7fb90fb8
UD
13831 [BZ #12713]
13832 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13833 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
13834 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13835 in rtld. Use *stat64.
7fb90fb8 13836 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 13837 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 13838 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
13839 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13840 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13841 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13842 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13843 __fstatat64 macros.
7fb90fb8
UD
13844 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13845 * dirent/rewinddir.c: Add libc_hidden_def.
13846 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 13847 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 13848
28377d1b
UD
13849 * include/dirent.h (__alloc_dir): Add flags parameter.
13850 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13851 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13852 __alloc_dir.
13853 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13854 from fdopendir if O_CLOEXEC is already set.
13855
66bdbaa4
AM
138562011-03-15 Alan Modra <amodra@gmail.com>
13857
13858 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13859 l_tls_firstbyte_offset non-zero. Save padding offset in
13860 l_tls_firstbyte_offset for later use.
13861 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13862 freeing static tls block.
13863
95721191
JN
138642011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13865
13866 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13867 where #ifdef was intended. The intent is to prevent ARG_MAX from
13868 being defined by the kernel headers.
13869
f87dfb1f
UD
138702011-05-07 Ulrich Drepper <drepper@gmail.com>
13871
13872 [BZ #12734]
13873 * resolv/resolv.h: Define RES_NOTLDQUERY.
13874 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13875 no-tld-query and set RES_NOTLDQUERY.
13876 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13877 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13878 modern BIND to search name as TLD unless forbidden.
13879
47c3cd7a
UD
138802011-05-07 Petr Baudis <pasky@suse.cz>
13881 Ulrich Drepper <drepper@gmail.com>
13882
13883 [BZ #12393]
13884 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13885 (is_trusted_path): ...to here.
c1e9ea35 13886 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 13887 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 13888 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 13889
8a35c912
PP
138902011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13891
13892 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13893 __BEGIN/__END_DECLS.
13894
acd41f47
UD
138952011-05-06 Ulrich Drepper <drepper@gmail.com>
13896
13897 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13898 NSS_STATUS_NOTFOUND if no record was found.
13899
597df647
AS
139002011-05-05 Andreas Schwab <schwab@redhat.com>
13901
13902 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13903 (headers-not-in-tirpc): Remove rpc/netdb.h
13904 * resolv/netdb.h: Revert last change.
13905
b9af1301
PP
139062011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13907
13908 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13909 circular dependency between libgcc.a and libc.a.
13910
4e34d5f5
AS
139112011-05-05 Andreas Schwab <schwab@redhat.com>
13912
13913 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13914 * nis/Makefile: Don't install rpcsvc/*.
13915 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13916 instead of <rpc/types.h>.
13917 (MAXHOSTNAMELEN): Define.
13918
00ee369c
AS
139192011-05-03 Andreas Schwab <schwab@redhat.com>
13920
13921 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13922
0b592a30
MB
139232011-04-28 Maciej Babinski <mbabinski@google.com>
13924
13925 [BZ #12714]
13926 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13927 gethostbyname4_r when IPv6 results are possible.
13928
6e04cbbe
UD
139292011-05-02 Ulrich Drepper <drepper@gmail.com>
13930
13931 [BZ #12723]
13932 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13933 _PC_PIPE_BUF handling.
13934
e4ecafe0
BH
139352011-04-30 Bruno Haible <bruno@clisp.org>
13936
13937 [BZ #12717]
13938 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
13939 * resolv/netdb.h (getnameinfo): Change type of flags parameter
13940 to 'int'.
13941 * inet/getnameinfo.c (getnameinfo): Likewise.
13942
125ee683
UD
139432011-04-29 Ulrich Drepper <drepper@gmail.com>
13944
13945 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13946 to groups setting in database lookup.
13947 * nss/nsswitch.conf: Add initgroups entry.
13948
b722481a
EB
139492011-04-22 Ulrich Drepper <drepper@gmail.com>
13950
13951 [BZ #12685]
13952 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13953 mode string.
13954 Patch by Eric Blake <eblake@redhat.com>.
13955
4df46dbd
L
139562011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13957
13958 * sunrpc/Makefile (need-export-routines): Add svc_run.
13959 (routines): Remove svc_run.
13960 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13961 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13962 * sunrpc/svc_run.c (svc_run): Likewise.
13963 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13964
e84142d2
UD
139652011-04-21 Ulrich Drepper <drepper@gmail.com>
13966
13967 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13968 problem in reallocation in last patch.
13969
877175d8
UD
139702011-04-20 Ulrich Drepper <drepper@gmail.com>
13971
13972 * sunrpc/Makefile: Move inclusion of Rules.
13973
ab8eed78
UD
139742011-04-19 Ulrich Drepper <drepper@gmail.com>
13975
13976 * nss/nss_files/files-initgroups.c: New file.
13977 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13978 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13979 _nss_files_initgroups_dyn.
13980
e3d8f584
RS
139812011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
13982
13983 * elf/elf.h (R_ARM_IRELATIVE): Define.
13984
af190f45
UD
139852011-04-19 Ulrich Drepper <drepper@gmail.com>
13986
13987 * po/ru.po: Update from translation team.
13988
53cf59ef
UD
139892011-04-17 Ulrich Drepper <drepper@gmail.com>
13990
13991 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
13992 dependencies.
13993
4c559bcd
MF
139942011-02-06 Mike Frysinger <vapier@gentoo.org>
13995
13996 [BZ #12653]
13997 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
13998 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
13999 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14000 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14001 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14002
4420675c
AS
140032011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14004
14005 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14006 differing bytes.
14007 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14008 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14009 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14010
75ea32ab
UD
140112011-04-17 Ulrich Drepper <drepper@gmail.com>
14012
14013 [BZ #12420]
14014 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14015 storing it.
14016 * stdlib/bug-getcontext.c: New file.
14017 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14018
27390476
AK
140192011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14020
14021 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14022 instructions into .machine "z9-109".
14023 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14024 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14025
10442705
AK
140262011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14027
14028 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14029 between environment variables and auxiliary vector.
14030
7b57bfe5
UD
140312011-04-16 Ulrich Drepper <drepper@gmail.com>
14032
14033 * Makefile: Add rules to build linkobj/libc.so.
14034 * include/libc-symbols.h: Define libc_hidden_nolink.
14035 * include/rpc/auth.h: Mark functions which are to be hidden.
14036 * include/rpc/auth_des.h: Likewise.
14037 * include/rpc/auth_unix.h: Likewise.
14038 * include/rpc/clnt.h: Likewise.
14039 * include/rpc/des_crypt.h: Likewise.
14040 * include/rpc/key_prot.h: Likewise.
14041 * include/rpc/pmap_clnt.h: Likewise.
14042 * include/rpc/pmap_prot.h: Likewise.
14043 * include/rpc/pmap_rmt.h: Likewise.
14044 * include/rpc/rpc_msg.h: Likewise.
14045 * include/rpc/svc.h: Likewise.
14046 * include/rpc/svc_auth.h: Likewise.
14047 * include/rpc/xdr.h: Likewise.
14048 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14049 * nss/Makefile: Likewise.
14050 * sunrpc/Makefile: Don't install headers. Build library with normal
14051 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14052 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14053 for the compat linking library. Remove use of INTDEF/INTUSE.
14054 * sunrpc/auth_none.c: Likewise.
14055 * sunrpc/auth_unix.c: Likewise.
14056 * sunrpc/authdes_prot.c: Likewise.
14057 * sunrpc/authuxprot.c: Likewise.
14058 * sunrpc/clnt_gen.c: Likewise.
14059 * sunrpc/clnt_perr.c: Likewise.
14060 * sunrpc/clnt_raw.c: Likewise.
14061 * sunrpc/clnt_simp.c: Likewise.
14062 * sunrpc/clnt_tcp.c: Likewise.
14063 * sunrpc/clnt_udp.c: Likewise.
14064 * sunrpc/clnt_unix.c: Likewise.
14065 * sunrpc/des_crypt.c: Likewise.
14066 * sunrpc/des_soft.c: Likewise.
14067 * sunrpc/get_myaddr.c: Likewise.
14068 * sunrpc/key_call.c: Likewise.
14069 * sunrpc/key_prot.c: Likewise.
14070 * sunrpc/netname.c: Likewise.
14071 * sunrpc/pm_getmaps.c: Likewise.
14072 * sunrpc/pm_getport.c: Likewise.
14073 * sunrpc/pmap_clnt.c: Likewise.
14074 * sunrpc/pmap_prot.c: Likewise.
14075 * sunrpc/pmap_prot2.c: Likewise.
14076 * sunrpc/pmap_rmt.c: Likewise.
14077 * sunrpc/publickey.c: Likewise.
14078 * sunrpc/rpc_cmsg.c: Likewise.
14079 * sunrpc/rpc_common.c: Likewise.
14080 * sunrpc/rpc_dtable.c: Likewise.
14081 * sunrpc/rpc_prot.c: Likewise.
14082 * sunrpc/rpc_thread.c: Likewise.
14083 * sunrpc/rtime.c: Likewise.
14084 * sunrpc/svc.c: Likewise.
14085 * sunrpc/svc_auth.c: Likewise.
14086 * sunrpc/svc_authux.c: Likewise.
14087 * sunrpc/svc_raw.c: Likewise.
14088 * sunrpc/svc_run.c: Likewise.
14089 * sunrpc/svc_simple.c: Likewise.
14090 * sunrpc/svc_tcp.c: Likewise.
14091 * sunrpc/svc_udp.c: Likewise.
14092 * sunrpc/svc_unix.c: Likewise.
14093 * sunrpc/svcauth_des.c: Likewise.
14094 * sunrpc/xcrypt.c: Likewise.
14095 * sunrpc/xdr.c: Likewise.
14096 * sunrpc/xdr_array.c: Likewise.
14097 * sunrpc/xdr_float.c: Likewise.
14098 * sunrpc/xdr_intXX_t.c: Likewise.
14099 * sunrpc/xdr_mem.c: Likewise.
14100 * sunrpc/xdr_rec.c: Likewise.
14101 * sunrpc/xdr_ref.c: Likewise.
14102 * sunrpc/xdr_sizeof.c: Likewise.
14103 * sunrpc/xdr_stdio.c: Likewise.
14104
e6c61494
UD
141052011-04-10 Ulrich Drepper <drepper@gmail.com>
14106
14107 [BZ #12650]
14108 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14109 * sysdeps/ia64/dl-tls.h: Likewise.
14110 * sysdeps/powerpc/dl-tls.h: Likewise.
14111 * sysdeps/s390/dl-tls.h: Likewise.
14112 * sysdeps/sh/dl-tls.h: Likewise.
14113 * sysdeps/sparc/dl-tls.h: Likewise.
14114 * sysdeps/x86_64/dl-tls.h: Likewise.
14115 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14116
34fe483e
AS
141172011-03-14 Andreas Schwab <schwab@redhat.com>
14118
14119 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14120 rpath element also skip the following colon.
14121 (expand_dynamic_string_token): Add is_path parameter and pass
14122 down to DL_DST_REQUIRED and _dl_dst_substitute.
14123 (decompose_rpath): Call expand_dynamic_string_token with
14124 non-zero is_path. Ignore empty rpaths.
14125 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14126 with zero is_path.
14127
f12a32e6
AS
141282011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14129
14130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14131 Make cancelable.
14132
38a7d692
UD
141332011-04-09 Ulrich Drepper <drepper@gmail.com>
14134
14135 [BZ #12655]
14136 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14137 Patch by Filipe David Manana <fdmanana@apache.org>.
14138
e451d22b
AS
141392011-04-07 Andreas Schwab <schwab@redhat.com>
14140
14141 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14142 Maintain aligned stack.
14143 (CHECK_RSP): Remove unused macro.
14144
dedc7c7b
UD
141452011-04-03 Ulrich Drepper <drepper@gmail.com>
14146
14147 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14148 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14149
94521213
UD
141502011-04-02 Ulrich Drepper <drepper@gmail.com>
14151
14152 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14153
8cb700c0 14154 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14155
0354e355
L
141562011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14157
14158 [BZ #12518]
14159 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14160 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14161 * sysdeps/x86_64/memmove.c: New file.
14162 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14163 (memcpy): Renamed to ...
14164 (__new_memcpy): This.
14165 (memcpy): Provide GLIBC_2_14 memcpy.
14166 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14167 (memcpy): Provide GLIBC_2_2_5 memcpy.
14168
8593482f
UD
141692011-04-01 Ulrich Drepper <drepper@gmail.com>
14170
14171 [BZ #12631]
14172 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14173
81a5726b
AS
141742011-03-30 Andreas Schwab <schwab@redhat.com>
14175
14176 * misc/syncfs.c: New file.
14177 * misc/Makefile (routines): Add syncfs.
14178 * posix/unistd.h: Declare syncfs.
14179 * sysdeps/unix/syscalls.list: Add syncfs.
14180
00e5419f
AS
141812011-04-01 Andreas Schwab <schwab@redhat.com>
14182
14183 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14184 open_by_handle_at.
14185 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14186 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14187 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14188 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14189 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14190 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14191 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14192
748876bf
UD
141932011-04-01 Ulrich Drepper <drepper@gmail.com>
14194
658e451d
UD
14195 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14196 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14197 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14198 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14199 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14200 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14201 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14202
748876bf
UD
14203 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14204 sync_file_range.c with -fexceptions.
14205 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14206 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14207 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14208 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14209 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14210 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14211 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14212 sync_file_range as cancellation point
14213 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14214 now a wrapper around __call_sync_file_range with cancellation handling.
14215 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14216 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14217 function name to __call_sync_file_range.
14218 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14219 Add call_sync_file_range.
748876bf 14220
6e63d5e1
AS
142212011-04-01 Andreas Schwab <schwab@redhat.com>
14222
14223 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14224 bits/timex.h.
6e63d5e1 14225
46998f74
UD
142262011-04-01 Ulrich Drepper <drepper@gmail.com>
14227
4c1423ed
UD
14228 * iconv/iconv.h: Fix typo in comment.
14229 * io/fcntl.h: Likewise.
14230 * libio/stdio.h: Likewise.
14231 * posix/spawn.h: Likewise.
14232 * posix/unistd.h: Likewise.
14233 * stdlib/stdlib.h: Likewise.
14234 * time/time.h: Likewise.
14235 * wcsmbs/wchar.h: Likewise.
14236
158648c0
UD
14237 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14238 open_by_handle): Add.
14239 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14240 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14241 Augment a few comments.
14242 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14243 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14244 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14245 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14246 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14247 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14248 open_by_handle.
14249
46998f74
UD
14250 * io/fcntl.h (AT_EMPTY_PATH): Define.
14251
83fe108b
UD
142522011-03-30 Ulrich Drepper <drepper@gmail.com>
14253
14254 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14255 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14256 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14257 to...
14258 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14259 * Versions.def: Add GLIBC_2.14.
14260 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14261 Export.
83fe108b 14262
bb242059
UD
142632011-03-22 Ulrich Drepper <drepper@gmail.com>
14264
14265 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14266 round counter.
14267 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14268
c97a1282
L
142692011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14270
14271 [BZ #12597]
14272 * string/test-strncmp.c (do_page_test): New function.
14273 (check2): Likewise.
14274 (test_main): Call check2.
14275 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14276
2a115601
UD
142772011-03-20 Ulrich Drepper <drepper@gmail.com>
14278
14279 [BZ #12587]
14280 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14281 Handle cache information in CPU leaf 4.
14282 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14283
8126d904
UD
142842011-03-18 Ulrich Drepper <drepper@gmail.com>
14285
042c49c6 14286 [BZ #12583]
8126d904
UD
14287 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14288 character representation.
14289 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14290
ccfe366e
RA
142912011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14292
14293 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14294 END(__isnan) to END(__isnanf) to match function entry point/label
14295 EALIGN(__isnanf,...).
14296
c6e13027
JJ
142972011-03-10 Jakub Jelinek <jakub@redhat.com>
14298
14299 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14300
33f85a3f
UD
143012011-03-10 Ulrich Drepper <drepper@gmail.com>
14302
028478fa
UD
14303 [BZ #12510]
14304 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14305 copy from the symbol referenced in the relocation to initialize the
14306 used variable.
14307 Patch by Piotr Bury <pbury@goahead.com>.
14308 * elf/Makefile: Add rules to build and tst-unique3.
14309 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14310 * elf/tst-unique3.cc: New file.
14311 * elf/tst-unique3.h: New file.
14312 * elf/tst-unique3lib.cc: New file.
14313 * elf/tst-unique3lib2.cc: New file.
14314
33f85a3f
UD
14315 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14316
03592fc7
MF
143172011-03-10 Mike Frysinger <vapier@gentoo.org>
14318
14319 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14320 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14321 to _start.
03592fc7 14322
6a5ee102
UD
143232011-03-06 Ulrich Drepper <drepper@gmail.com>
14324
14325 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14326 to-be-loaded object along a path to loader is ld.so.
14327
7e4ba49c
HJ
143282011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14329 Ulrich Drepper <drepper@gmail.com>
14330
14331 * sysdeps/x86_64/memset.S: After aligning destination, code
14332 branches to different locations depending on the value of
14333 misalignment, when multiarch is enabled. Fix this.
14334
143352011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14336
14337 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14338 Set _x86_64_preferred_memory_instruction for AMD processsors.
14339 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14340 Set bit_Prefer_SSE_for_memop for AMD processors.
14341
13a804de
UD
143422011-03-04 Ulrich Drepper <drepper@gmail.com>
14343
14344 * libio/fmemopen.c (fmemopen): Optimize a bit.
14345
9d25c392
AS
143462011-03-03 Andreas Schwab <schwab@redhat.com>
14347
14348 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14349
a5543c6a
RM
143502011-03-03 Roland McGrath <roland@redhat.com>
14351
14352 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14353
012d35f7
DM
143542011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14355
7e4ba49c 14356 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14357 __bzero_ultra1 instead of __memset_ultra1.
14358
4bff6e01
AS
143592011-02-23 Andreas Schwab <schwab@redhat.com>
14360 Ulrich Drepper <drepper@gmail.com>
14361
14362 [BZ #12509]
14363 * include/link.h (struct link_map): Add l_orig_initfini.
14364 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14365 returning unsuccessfully.
14366 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14367 close of a file loaded at startup, restore the original l_initfini
14368 list.
14369 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14370 list, store the pointer.
14371 * elf/Makefile ($(objpfx)noload-mem): New rule.
14372 (noload-ENV): Define.
14373 (tests): Add $(objpfx)noload-mem.
14374 * elf/noload.c: Include <memcheck.h>.
14375 (main): Call mtrace. Close all opened handles.
14376
f2092faf
AS
143772011-02-17 Andreas Schwab <schwab@redhat.com>
14378
14379 [BZ #12454]
14380 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14381 dependencies are missing.
14382
6c8a2e88
ST
143832011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14384
f2092faf 14385 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14386 Hurd needs munmap.
14387 * sysdeps/mach/hurd/ifreq.h: New file.
14388
84a42118
PB
143892011-01-27 Petr Baudis <pasky@suse.cz>
14390 Ulrich Drepper <drepper@gmail.com>
14391
071f805e 14392 [BZ 12445]#
84a42118
PB
14393 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14394 to extend_alloca().
14395 * stdio-common/bug23.c: New file.
14396 * stdio-common/Makefile (tests): Add bug23.
14397
e23fe25b
AS
143982010-09-28 Andreas Schwab <schwab@redhat.com>
14399 Ulrich Drepper <drepper@gmail.com>
14400
14401 [BZ #12489]
14402 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14403 before performing relro protection. At old place add assertion
14404 to make sure nothing changed.
14405
d3f02e10
NS
144062011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14407 Glauber de Oliveira Costa <glommer@gmail.com>
14408
14409 * elf/elf.h: Add new ARM TLS relocs.
14410
d55fd7a5
RA
144112011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14412
14413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14414 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14415 cast from r3.
14416 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14417 'tests' variable.
14418 * sysdeps/wordsize-64/tst-writev.c: New file.
14419
2206397e
RA
144202011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14421
14422 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14423 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14424 insns in _dl_start to prevent a TOC reference before relocs are
14425 resolved.
14426
e9433893
UD
144272011-02-15 Ulrich Drepper <drepper@gmail.com>
14428
14429 [BZ #12469]
14430 * Makeconfig: Remove RANLIB definition.
14431 * Makerules: Don't use RANLIB.
14432 * aclocal.m4: Remove ranlib test.
14433 * configure.in: No need to check for ranlib.
14434 * elf/rtld-Rules: Don't use RANLIB.
14435
f75286c6
ST
144362011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14437
8e31c82d
ST
14438 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14439 protection macro.
14440 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14441 inclusion protection macro.
14442
f75286c6
ST
14443 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14444 SIGRTMIN and SIGRTMAX and print information in that case only when
14445 SIGRTMIN is defined.
14446
c1d0e639
JJ
144472011-02-11 Jakub Jelinek <jakub@redhat.com>
14448
14449 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14450 arginfo fn returning -1.
14451
14452 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14453 and thousands string is zero terminated.
14454
edf9294e
AS
144552011-02-03 Andreas Schwab <schwab@redhat.com>
14456
14457 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14458 sysdeps/unix/sysv/linux/bits/socket.h.
14459
2b7e92df
ST
144602011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14461
edf9294e
AS
14462 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14463 (__CPU_COUNT): Remove old macros.
14464 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14465 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14466 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
14467 (__sched_cpualloc, __sched_cpufree): Add declarations.
14468
a4c7ea7b
UD
144692011-02-05 Ulrich Drepper <drepper@gmail.com>
14470
14471 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14472 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14473 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14474 (readdhstai): Return value of addhstaiX call.
14475 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14476 (addgrbyX): Return value returned by cache_addgr.
14477 (readdgrbyname): Return value returned by addgrbyX.
14478 (readdgrbygid): Likewise.
14479 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14480 (addpwbyX): Return value returned by cache_addpw.
14481 (readdpwbyname): Return value returned by addhstbyX.
14482 (readdpwbyuid): Likewise.
14483 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14484 (addservbyX): Return value returned by cache_addserv.
14485 (readdservbyname): Return value returned by addservbyX:
14486 (readdservbyport): Likewise.
14487 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14488 (addhstbyX): Return value returned by cache_addhst.
14489 (readdhstbyname): Return value returned by addhstbyX.
14490 (readdhstbyaddr): Likewise.
14491 (readdhstbynamev6): Likewise.
14492 (readdhstbyaddrv6): Likewise.
14493 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14494 (readdinitgroups): Return value returned by addinitgroupsX.
14495 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14496 (prune_cache): Keep track of timeout value of re-added entries.
14497 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14498 * nscd/nscd.h: Adjust prototypes of readd* functions.
14499
a0bf67cc
RM
145002011-02-04 Roland McGrath <roland@redhat.com>
14501
14502 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14503 (nis_stats): Likewise.
14504 * nis/nis_modify.c (nis_modify): Likewise.
14505 * nis/nis_remove.c (nis_remove): Likewise.
14506 * nis/nis_add.c (nis_add): Likewise.
14507
14508 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14509
14510 * posix/fnmatch_loop.c: Add some consts.
14511
14512 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14513
435b95eb
L
145142011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14515
14516 [BZ #12460]
14517 * config.make.in (config-cflags-novzeroupper): Define.
14518 * configure.in: Substitute libc_cv_cc_novzeroupper.
14519 * elf/Makefile (AVX-CFLAGS): Define.
14520 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14521 (CFLAGS-tst-auditmod4a.c): Likewise.
14522 (CFLAGS-tst-auditmod4b.c): Likewise.
14523 (CFLAGS-tst-auditmod6b.c): Likewise.
14524 (CFLAGS-tst-auditmod6c.c): Likewise.
14525 (CFLAGS-tst-auditmod7b.c): Likewise.
14526 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14527
8517b15e
UD
145282011-02-02 Ulrich Drepper <drepper@gmail.com>
14529
14530 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14531 function to the callback.
14532 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14533
10a656fe
AS
145342011-02-02 Andreas Schwab <schwab@redhat.com>
14535
14536 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14537 of errno.
14538
968dad0a
UD
145392011-01-19 Ulrich Drepper <drepper@gmail.com>
14540
9f94d2ea 14541 [BZ #11724]
968dad0a
UD
14542 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14543 of constructors.
14544 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14545 of destructors.
14546 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14547
14548 [BZ #11724]
14549 * elf/Makefile: Add rules to build and run new test.
14550 * elf/tst-initorder.c: New file.
14551 * elf/tst-initorder.exp: New file.
14552 * elf/tst-initordera1.c: New file.
14553 * elf/tst-initordera2.c: New file.
14554 * elf/tst-initordera3.c: New file.
14555 * elf/tst-initordera4.c: New file.
14556 * elf/tst-initorderb1.c: New file.
14557 * elf/tst-initorderb2.c: New file.
14558 * elf/tst-order-a1.c: New file.
14559 * elf/tst-order-a2.c: New file.
14560 * elf/tst-order-a3.c: New file.
14561 * elf/tst-order-a4.c: New file.
14562 * elf/tst-order-b1.c: New file.
14563 * elf/tst-order-b2.c: New file.
14564 * elf/tst-order-main.c: New file.
14565 New test case by George Gensure <werkt0@gmail.com>.
14566
86e92359
UD
145672010-10-01 Andreas Schwab <schwab@redhat.com>
14568
14569 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14570 decoding ACE if AI_CANONIDN.
14571
5d5732b0
UD
145722011-01-18 Ulrich Drepper <drepper@gmail.com>
14573
14574 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14575
a77e8cbc
UD
145762011-01-17 Ulrich Drepper <drepper@gmail.com>
14577
6392473f
UD
14578 * version.h (RELEASE): Bump for 2.13 release.
14579 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14580
620a0529
UD
14581 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14582
18ba70a5
UD
14583 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14584 MADV_NOHUGEPAGE.
32465c3e
UD
14585 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14586 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14587 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14588 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14589 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14590 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14591
c0dafcf1
UD
14592 * posix/getconf.c: Update copyright year.
14593 * catgets/gencat.c: Likewise.
14594 * csu/version.c: Likewise.
14595 * debug/catchsegv.sh: Likewise.
14596 * debug/xtrace.sh: Likewise.
14597 * elf/ldconfig.c: Likewise.
14598 * elf/ldd.bash.in: Likewise.
14599 * elf/sprof.c (print_version): Likewise.
14600 * iconv/iconv_prog.c: Likewise.
14601 * iconv/iconvconfig.c: Likewise.
14602 * locale/programs/locale.c: Likewise.
14603 * locale/programs/localedef.c: Likewise.
14604 * malloc/memusage.sh: Likewise.
14605 * malloc/mtrace.pl: Likewise.
14606 * nscd/nscd.c (print_version): Likewise.
14607 * nss/getent.c: Likewise.
14608
a77e8cbc
UD
14609 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14610 PF_CAIF, and PF_ALG.
14611 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14612
77e8bddf
AS
146132011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14614
1f20b93a
AS
14615 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14616 (modules-names): Use them.
14617 (ifunc-test-modules, ifunc-pie-tests): Define.
14618 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14619 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14620 (test-extras): Likewise.
14621 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14622 $(compile-command.c).
14623 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14624 (all-built-dso): Define.
14625 (check-textrel.out, check-execstack.out): Depend on it.
14626
77e8bddf
AS
14627 * configure.in: Don't override --enable-multi-arch.
14628
bc425b33
UD
146292011-01-15 Ulrich Drepper <drepper@gmail.com>
14630
14631 [BZ #6812]
14632 * nscd/hstcache.c (tryagain): Define.
14633 (cache_addhst): Return tryagain not notfound for temporary errors.
14634 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14635 failed.
14636
794c3ad3
UD
146372011-01-14 Ulrich Drepper <drepper@gmail.com>
14638
70181fdd
UD
14639 [BZ #10563]
14640 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14641 to make the syscall.
14642 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14643
794c3ad3
UD
14644 [BZ #12378]
14645 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14646 and fall back to matching as normal character if the string ends before
14647 the matching ']' is found. This is what POSIX requires.
14648 * posix/testfnm.c: Adjust test result.
14649 * posix/globtest.sh: Adjust test result. Add new test.
14650 * posix/tst-fnmatch.input: Likewise.
14651 * posix/tst-fnmatch2.c: Add new test.
14652
68dc9497
AS
146532010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14654
14655 * elf/Makefile (check-execstack): Revert last change. Depend on
14656 check-execstack.h.
14657 (check-execstack.h): New target.
14658 (generated): Add check-execstack.h.
14659 * elf/check-execstack.c: Include "check-execstack.h".
14660 (main): Revert last change.
14661 (handle_file): Return zero if GNU_STACK is absent and
14662 DEFAULT_STACK_PERMS doesn't include PF_X.
14663
451f001b
UD
146642011-01-13 Ulrich Drepper <drepper@gmail.com>
14665
cfa28e56
UD
14666 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14667 in child fails because the descriptor is already closed.
8cf8ce17
UD
14668 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14669 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14670 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 14671
1086d70d
UD
14672 [BZ #12397]
14673 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14674 syscall.
14675
451f001b
UD
14676 [BZ #10484]
14677 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14678 temporary buffer used to handle multi lookups locally.
a85b5cb4 14679 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 14680
08769175
UD
146812011-01-12 Ulrich Drepper <drepper@gmail.com>
14682
14683 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14684 loader is ld.so.
14685
5e49c52e
UD
146862011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14687
14688 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14689 alignment for SSE2.
14690
60522a5f
UD
146912011-01-12 Ulrich Drepper <drepper@gmail.com>
14692
14693 [BZ #12394]
14694 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14695 characters. When rounding increased number of integer digits recompute
14696 number of groups.
14697 * stdio-common/tst-grouping.c: New file.
14698 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14699
f257bbd7
UD
147002011-01-09 Ulrich Drepper <drepper@gmail.com>
14701
14702 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14703 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14704
14705 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14706 void.
14707 * bits/select.h: Likewise.
14708
fa9c15cb
UD
147092011-01-08 Ulrich Drepper <drepper@gmail.com>
14710
14711 * po/ja.po: Update from translation team.
14712
16c2895f
DM
147132011-01-04 David S. Miller <davem@sunset.davemloft.net>
14714
14715 [BZ #11155]
14716 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14717 implementation just like for lxstat, fxstatat, et al.
14718
2543fef2
JM
147192010-12-27 Jim Meyering <meyering@redhat.com>
14720
14721 [BZ #12348]
14722 * posix/regexec.c (build_trtable): Return failure indication upon
14723 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14724
98727dbe
UD
147252010-12-25 Ulrich Drepper <drepper@gmail.com>
14726
5bd6dc5c
UD
14727 [BZ #12201]
14728 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14729 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14730 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14731 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14732
97983464
UD
14733 [BZ #12207]
14734 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14735
98727dbe
UD
14736 [BZ #12204]
14737 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14738 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14739
4a531bb0
L
147402010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14741
14742 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14743 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14744 script has SORT_BY_INIT_PRIORITY.
14745 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14746 NO_CTORS_DTORS_SECTIONS is defined.
14747 * elf/soinit.c: Likewise.
14748 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14749 NO_CTORS_DTORS_SECTIONS is defined.
14750 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14751 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14752 * sysdeps/sh/init-first.c: Likewise.
14753 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14754
07eb4b71
UD
147552010-12-24 Ulrich Drepper <drepper@gmail.com>
14756
14757 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14758 always use the slow path.
14759
30950a5f
RA
147602010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14761
14762 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14763 similar rule which adds the sysdep directories to the header search in
14764 order to pick up the correct platform stackinfo.h.
14765 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14766 perform test if it is, otherwise return successfully without testing.
14767 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14768 DEFAULT_STACK_PERMS define in stackinfo.h.
14769 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14770 defined in stackinfo.h.
14771 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14772 DEFAULT_STACK_PERMS defined in stackinfo.h.
14773 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14774 * sysdeps/ia64/stackinfo.h: Likewise.
14775 * sysdeps/s390/stackinfo.h: Likewise.
14776 * sysdeps/sh/stackinfo.h: Likewise.
14777 * sysdeps/sparc/stackinfo.h: Likewise.
14778 * sysdeps/x86_64/stackinfo.h: Likewise.
14779 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14780 PF_X for powerpc64. Retain PF_X for powerpc32.
14781
db753e2c
UD
147822010-12-19 Ulrich Drepper <drepper@gmail.com>
14783
14b697f7
UD
14784 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14785 accurately.
db753e2c
UD
14786 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14787 GETDENTS_64BIT_ALIGNED.
14788
28300719
UD
147892010-12-14 Ulrich Drepper <dreper@gmail.com>
14790
14b697f7 14791 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 14792
4f197237
AS
147932010-12-10 Andreas Schwab <schwab@redhat.com>
14794
dbb0472f
AS
14795 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14796 _GNU_SOURCE.
14797
4f197237
AS
14798 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14799 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14800 Remove __restrict.
14801 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14802 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14803
fb88ac72
UD
148042010-12-09 Ulrich Drepper <drepper@gmail.com>
14805
14806 [BZ #11655]
14807 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14808 are initialized.
14809
42acbb92
JJ
148102010-12-09 Jakub Jelinek <jakub@redhat.com>
14811
14812 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14813
c038d98d
UD
148142010-12-03 Ulrich Drepper <drepper@gmail.com>
14815
14816 * po/it.po: Update from translation team.
14817
3a4a2499
L
148182010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14819
14820 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14821 unused codes.
14822
1e24cf6e
UD
148232010-11-30 Ulrich Drepper <drepper@gmail.com>
14824
14825 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14826
a7690819
AS
148272010-11-24 Andreas Schwab <schwab@redhat.com>
14828
14829 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14830 specially.
14831 (gaih_getanswer_slice): Likewise.
14832
3bf8d1b1
JJ
148332010-10-20 Jakub Jelinek <jakub@redhat.com>
14834
14835 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14836
6db52fbb
PB
148372010-05-31 Petr Baudis <pasky@suse.cz>
14838
14839 [BZ #11149]
14840 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14841 silently even in the chroot mode.
14842
eaca7569
UD
148432010-11-22 Ulrich Drepper <drepper@gmail.com>
14844
14845 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14846 last patch a bit. Pretty printing
14847
3056dcdb
UD
148482010-05-31 Petr Baudis <pasky@suse.cz>
14849
14850 [BZ #10085]
14851 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14852 initialization of skip_initgroups_dyn.
14853
cf7c9078
UD
148542010-11-19 Ulrich Drepper <drepper@gmail.com>
14855
14856 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14857 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14858
a1fb5e3e
UD
148592010-11-16 Ulrich Drepper <drepper@gmail.com>
14860
14861 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14862
3540d66b
AS
148632010-11-11 Andreas Schwab <schwab@redhat.com>
14864
14865 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14866 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14867 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14868 ($(objpfx)tst-fnmatch-mem): New rule.
14869 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14870 * posix/tst-fnmatch.c (main): Call mtrace.
14871
13b69574
L
148722010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14873
14874 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14875 Support Intel processor model 6 and model 0x2c.
14876
da93d214
LM
148772010-11-10 Luis Machado <luisgpm@br.ibm.com>
14878
14879 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14880 signed comparison.
14881
8ca52c6e
L
148822010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14883
14884 [BZ #12205]
14885 * string/test-strncasecmp.c (check_result): New function.
14886 (do_one_test): Use it.
14887 (check1): New function.
14888 (test_main): Use it.
14889 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14890 Support strcasecmp and strncasecmp.
14891
69da074d
UD
148922010-11-08 Ulrich Drepper <drepper@gmail.com>
14893
14894 [BZ #12194]
14895 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14896 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14897
ff02d528
L
148982010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14899
14900 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14901 IFUNC support.
14902 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14903 memset-x86-64.
14904 * sysdeps/x86_64/multiarch/bzero.S: New file.
14905 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14906 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14907 * sysdeps/x86_64/multiarch/memset.S: New file.
14908 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14909 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14910 Set bit_Prefer_SSE_for_memop for Intel processors.
14911 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14912 Define.
14913 (index_Prefer_SSE_for_memop): Define.
14914 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14915
344d0b54
LM
149162010-11-04 Luis Machado <luisgpm@br.ibm.com>
14917
14918 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14919 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14920
c0dde15b
UD
149212010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14922
14923 [BZ #12191]
14924 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14925 (__x86_64_raw_data_cache_size_half): Likewise.
14926 (__x86_64_raw_shared_cache_size): Likewise.
14927 (__x86_64_raw_shared_cache_size_half): Likewise.
14928
14929 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14930 (__x86_64_raw_data_cache_size_half): Likewise.
14931 (__x86_64_raw_shared_cache_size): Likewise.
14932 (__x86_64_raw_shared_cache_size_half): Likewise.
14933 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14934 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14935 and __x86_64_raw_shared_cache_size_half. Round
14936 __x86_64_data_cache_size_half, __x86_64_data_cache_size
14937 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
14938 to multiple of 256 bytes.
14939
0e516e0e
MS
149402010-11-03 Ulrich Drepper <drepper@gmail.com>
14941
14942 [BZ #12167]
14943 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14944 of inacessible symlinks. Verify result of symlink before returning it.
14945 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14946 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14947
0e012e87
ER
149482010-10-28 Erich Ritz <erichritz@gmail.com>
14949
14950 * math/math.h (isinf): Fix typo in comment.
14951
de0ff7bc
UD
149522010-11-01 Ulrich Drepper <drepper@gmail.com>
14953
14954 * po/da.po: Update from translation team.
14955
fa41c84d
UD
149562010-10-26 Ulrich Drepper <drepper@gmail.com>
14957
14958 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14959 is added to the list.
14960
f0967738
AK
149612010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14962 Ulrich Drepper <drepper@gmail.com>
14963
14964 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14965 the global list here. Move code to...
14966 (_dl_add_to_namespace_list): ...here. New function.
14967 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14968 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14969 * elf/dl-load.c (lose): Don't remove the element from the list.
14970 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14971 (_dl_map_object): Likewise.
14972
149732010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
14974
14975 [BZ #12159]
14976 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14977 into all bytes of SSE register.
14978 Patch by Richard Li <richardpku@gmail.com>.
14979
f0967738 149802010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
14981
14982 [BZ #12140]
14983 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14984 perturbing.
14985
d0b9e94f
MB
149862010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14987
14988 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14989 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14990 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14991 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
14993 submachine.
14994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14995
8e9f92e9
AS
149962010-10-22 Andreas Schwab <schwab@redhat.com>
14997
14998 * include/dlfcn.h (__RTLD_SECURE): Define.
14999 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15000 mode & __RTLD_SECURE instead.
15001 (open_path): Rename preloaded parameter to secure.
15002 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15003 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15004 * elf/dl-deps.c (openaux): Likewise.
15005 * elf/rtld.c (struct map_args): Remove is_preloaded.
15006 (map_doit): Don't use it.
15007 (dl_main): Likewise.
15008 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15009 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15010
bc96fbda
AS
150112010-09-09 Andreas Schwab <schwab@redhat.com>
15012
15013 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15014 (sysd-rules-targets): Remove duplicates.
15015 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15016 rtld-%.$o dependency.
15017
22cd1c9b
AS
150182010-10-18 Andreas Schwab <schwab@redhat.com>
15019
15020 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15021 _dl_map_object do it.
15022
18edac48
UD
150232010-10-19 Ulrich Drepper <drepper@gmail.com>
15024
15025 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15026 fast fma builtins, define the macros in the C99 standard.
15027 (FP_FAST_FMAF): Likewise.
15028 (FP_FAST_FMAL): Likewise.
15029 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15030
15031 * bits/mathdef.h: Update copyright year.
15032 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15033
d2050124
MM
150342010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15035
15036 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15037 builtins, define the macros in the C99 standard.
15038 (FP_FAST_FMAF): Likewise.
15039 (FP_FAST_FMAL): Likewise.
15040 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15041 multiply/add.
15042 (FP_FAST_FMAF): Likewise.
15043
475facd1
JJ
150442010-10-15 Jakub Jelinek <jakub@redhat.com>
15045
15046 [BZ #3268]
15047 * math/libm-test.inc (fma_test): Some new testcases.
15048 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15049 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15050 y and infinite z. Do multiplication by C already in long double.
15051 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15052 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15053 y and infinite z. Do bitwise or of inexact bit into u.d.
15054 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15055 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15056 * sysdeps/i386/fpu/s_fma.S: Removed.
15057 * sysdeps/i386/fpu/s_fmal.S: Removed.
15058
7c08a05c
JJ
150592010-10-16 Jakub Jelinek <jakub@redhat.com>
15060
15061 [BZ #3268]
15062 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15063 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15064 computation is not scheduled after fetestexcept. Fix value
15065 of minimum denormal long double.
15066
f3f7372d
JJ
150672010-10-14 Jakub Jelinek <jakub@redhat.com>
15068
15069 [BZ #3268]
15070 * math/libm-test.inc (fma_test): Add some more tests.
15071 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15072 correctly.
15073
14d43591
AS
150742010-10-15 Andreas Schwab <schwab@redhat.com>
15075
15076 * scripts/data/localplt-s390-linux-gnu.data: New file.
15077 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15078
5e908464
JJ
150792010-10-13 Jakub Jelinek <jakub@redhat.com>
15080
15081 [BZ #3268]
15082 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15083 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15084 instead of dbl-64.
15085 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15086 inlines.
15087 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15088 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15089 if one of x and y is very large and the other is subnormal.
15090 * sysdeps/s390/fpu/s_fmaf.c: New file.
15091 * sysdeps/s390/fpu/s_fma.c: New file.
15092 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15093 * sysdeps/powerpc/fpu/s_fma.S: New file.
15094 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15095 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15096 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15097
150982010-10-12 Jakub Jelinek <jakub@redhat.com>
15099
15100 [BZ #3268]
15101 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15102 fma tests.
15103 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15104 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15105 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15106 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15107 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15108 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15109 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15110
b833d51f
UD
151112010-10-12 Ulrich Drepper <drepper@redhat.com>
15112
15113 [BZ #12078]
15114 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15115 * posix/bug-regex31.input: Add test case.
15116
1751705d
UD
151172010-10-11 Ulrich Drepper <drepper@gmail.com>
15118
e9b9cbf5
UD
15119 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15120 * posix/bug-regex31.input: New file.
15121
15122 [BZ #12078]
15123 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15124 (parse_sub_exp): Fix last change, use postorder.
15125
ef06edbe
UD
15126 * posix/bug-regex31.c: New file.
15127 * posix/Makefile: Add rules to build and run bug-regex31.
15128
a129c80d
UD
15129 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15130
15131 [BZ #12078]
15132 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15133
b76b818e
UD
15134 [BZ #12108]
15135 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15136 to have entries in sys_siglist.
15137
1751705d
UD
15138 [BZ #12093]
15139 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15140 be NULL.
15141
9ff8d36f
JJ
151422010-10-07 Jakub Jelinek <jakub@redhat.com>
15143
15144 [BZ #3268]
15145 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15146 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15147 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15148 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15149 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15150 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15151 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15152 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15153 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15154 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15155 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15156 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15157 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15158 * math/ftestexcept.c (fetestexcept): Likewise.
15159 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15160 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15161 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15162 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15163 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15164 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15165 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15166
af325969
UD
151672010-10-11 Ulrich Drepper <drepper@gmail.com>
15168
c579b202 15169 [BZ #12107]
af325969
UD
15170 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15171 newline.
15172
67a67b95
UD
151732010-10-06 Ulrich Drepper <drepper@gmail.com>
15174
15175 * string/bug-strstr1.c: New file.
15176 * string/Makefile: Add rules to build and run bug-strstr1.
15177
5fb308bc
EB
151782010-10-05 Eric Blake <eblake@redhat.com>
15179
15180 [BZ #12092]
15181 * string/str-two-way.h (two_way_long_needle): Always clear memory
15182 when skipping input due to the shift table.
15183
45db99c7
UD
151842010-10-03 Ulrich Drepper <drepper@gmail.com>
15185
3b111893
UD
15186 [BZ #12005]
15187 * malloc/mcheck.c: Handle large requests.
15188
45db99c7
UD
15189 [BZ #12077]
15190 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15191 for strncmp and strncasecmp.
15192 * string/stratcliff.c: Add tests for strcmp and strncmp.
15193 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15194
cf7a1eb8
NI
151952010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15196
15197 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15198 __set_fpscr.
15199
6484ba5e
AJ
152002010-09-30 Andreas Jaeger <aj@suse.de>
15201
15202 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15203 (CGROUP_SUPER_MAGIC): Define.
15204 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15205 Handle btrfs and cgroup file systems.
15206 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15207 Likewise.
15208
91c42559
LM
152092010-09-27 Luis Machado <luisgpm@br.ibm.com>
15210
15211 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15212 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15213
87a97932
AK
152142010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15215
15216 [BZ #12067]
15217 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15218 trying to locate the ELF header.
15219
c21cc9bc
AS
152202010-09-27 Andreas Schwab <schwab@redhat.com>
15221
15222 [BZ #11611]
15223 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15224 Mask out sign-bit copies when constructing f_fsid.
15225
315970f6
PB
152262010-09-24 Petr Baudis <pasky@suse.cz>
15227
15228 * debug/stack_chk_fail_local.c: Add missing licence exception.
15229 * debug/warning-nop.c: Likewise.
15230
1ac7a2c7
JM
152312010-09-15 Joseph Myers <joseph@codesourcery.com>
15232
15233 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15234 implementing getdents64 using getdents syscall, set d_type if
15235 __ASSUME_GETDENTS32_D_TYPE.
15236
56801c50
AS
152372010-09-16 Andreas Schwab <schwab@redhat.com>
15238
15239 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15240 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15241
dda51327
UD
152422010-09-21 Ulrich Drepper <drepper@redhat.com>
15243
15244 [BZ #12037]
15245 * posix/unistd.h: Undo change of feature selection for ftruncate from
15246 2010-01-11.
15247
8ffcee4a
UD
152482010-09-20 Ulrich Drepper <drepper@redhat.com>
15249
a545ecd9 15250 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15251 detection.
15252
e24f0a8b
AS
152532010-09-20 Andreas Schwab <schwab@redhat.com>
15254
15255 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15256 fanotify_mark.
15257 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15258
7291c56f
AS
152592010-09-14 Andreas Schwab <schwab@redhat.com>
15260
15261 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15262 variables after CHECK_SP call.
15263 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15264
bc5fb037
AS
152652010-09-13 Andreas Schwab <schwab@redhat.com>
15266 Ulrich Drepper <drepper@redhat.com>
15267
15268 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15269 re-relocationg ld.so.
15270 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15271 _dl_init_paths call.
15272 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15273 here anymore.
15274
e66e7419
UD
152752010-09-14 Ulrich Drepper <drepper@redhat.com>
15276
15277 * resolv/res_init.c (__res_vinit): Count the default server we added.
15278
c044aa75
CLT
152792010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15280 Ulrich Drepper <drepper@redhat.com>
15281
15282 [BZ #11968]
15283 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15284 (____longjmp_chk): Use %ebx for saving value across system call.
15285 Add unwind info.
15286
32cf4069
AS
152872010-09-06 Andreas Schwab <schwab@redhat.com>
15288
15289 * manual/Makefile: Don't mix pattern rules with normal rules.
15290
817328ee
AS
152912010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15292
15293 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15294 operation.
15295 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15296 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15297 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15298 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15299 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15300 Likewise.
15301
29fddf61
UD
153022010-09-04 Ulrich Drepper <drepper@redhat.com>
15303
15304 [BZ #11979]
15305 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15306 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15307
0959ffc9
UD
153082010-09-02 Ulrich Drepper <drepper@redhat.com>
15309
15310 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15311 * sysdeps/x86_64/addmul_1.S: Likewise.
15312 * sysdeps/x86_64/lshift.S: Likewise.
15313 * sysdeps/x86_64/mul_1.S: Likewise.
15314 * sysdeps/x86_64/rshift.S: Likewise.
15315 * sysdeps/x86_64/sub_n.S: Likewise.
15316 * sysdeps/x86_64/submul_1.S: Likewise.
15317
ece29840
ST
153182010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15319
0959ffc9
UD
15320 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15321 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15322 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15323 * bits/sched.h [__need_schedparam]
ece29840 15324 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15325 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15326 (__defined_schedparam): Define to 1.
ece29840
ST
15327 (__sched_param): New structure, identical to sched_param.
15328 (__need_schedparam): Undefine.
15329
e53a31fe
MF
153302010-08-31 Mike Frysinger <vapier@gentoo.org>
15331
fdc0c10d
MF
15332 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15333 (epoll_create1): Declare.
15334
e53a31fe
MF
15335 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15336
a726d796
AS
153372010-08-31 Andreas Schwab <schwab@redhat.com>
15338
15339 [BZ #7066]
15340 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15341 shifting retval into place.
15342
2f3e3dc7
UD
153432010-09-01 Ulrich Drepper <drepper@redhat.com>
15344
f2933da9
UD
15345 * nis/rpcsvc/nis.h: Update copyright notice.
15346 * nis/rpcsvc/nis.x: Likewise.
15347 * nis/rpcsvc/nis_callback.h: Likewise.
15348 * nis/rpcsvc/nis_callback.x: Likewise.
15349 * nis/rpcsvc/nis_object.x: Likewise.
15350 * nis/rpcsvc/nis_tags.h: Likewise.
15351 * nis/rpcsvc/yp.h: Likewise.
15352 * nis/rpcsvc/yp.x: Likewise.
15353 * nis/rpcsvc/ypupd.h: Likewise.
15354 * nis/yp_xdr.c: Likewise.
15355 * nis/ypupdate_xdr.c: Likewise.
15356
2f3e3dc7
UD
15357 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15358 mainly the body of pmap_getport. Add parameters to specify timeouts.
15359 (pmap_getport): Use __libc_rpc_getport.
15360 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15361 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15362 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15363
f3dcc2f9
AS
153642010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15365
15366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15367 fanotify_mark.
15368
6d34eb5b
RM
153692010-08-27 Roland McGrath <roland@redhat.com>
15370
15371 * sysdeps/i386/i686/multiarch/Makefile
15372 (CFLAGS-varshift.c): New variable.
15373
9ea3de11
UD
153742010-08-27 Ulrich Drepper <drepper@redhat.com>
15375
c96d23fc
UD
15376 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15377 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15378
9ea3de11
UD
15379 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15380
15381 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15382
623aac7f
L
153832010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15384
15385 * sysdeps/x86_64/strlen.S: Unroll the loop.
15386 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15387 strlen-sse2 strlen-sse2-bsf.
15388 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15389 __strlen_no_bsf if bit_Slow_BSF is set.
15390 (__strlen_sse42): Removed.
15391 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15392 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15393
8b2b7715
RM
153942010-08-25 Roland McGrath <roland@redhat.com>
15395
15396 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15397 * sysdeps/x86_64/multiarch/varshift.c: New file.
15398 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15399 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15400 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15401 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15402
e73015f2
L
154032010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15404
15405 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15406 strlen-sse2 strlen-sse2-bsf.
15407 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15408 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15409 (__strlen_sse2): Removed.
15410 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15411 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15412 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15413 bit_Slow_BSF for Atom.
15414 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15415 (index_Slow_BSF): Define.
15416 (HAS_SLOW_BSF): Define.
15417
df24a73e
UD
154182010-08-25 Ulrich Drepper <drepper@redhat.com>
15419
15420 [BZ #10851]
15421 * resolv/res_init.c (__res_vinit): When no server address at all
15422 is given default to loopback.
15423
f2ac4868
RM
154242010-08-24 Roland McGrath <roland@redhat.com>
15425
09055553
RM
15426 * configure.in: Remove config-name.h generation.
15427 * configure: Regenerated.
15428 * config-name.in: File removed.
15429 * scripts/config-uname.sh: New file.
15430 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15431 ($(objdir)config-name.h): New target.
15432
f2ac4868
RM
15433 * sunrpc/rpc_parse.h: Avoid nested comment.
15434
73f27d5e
RH
154352010-08-24 Richard Henderson <rth@redhat.com>
15436 Ulrich Drepper <drepper@redhat.com>
15437 H.J. Lu <hongjiu.lu@intel.com>
15438
15439 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15440 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15441 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15442 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15443 _mm_alignr_epi8 with _mm_loadu_si128.
15444 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15445 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15446 (__m128i_shift_right): Removed.
15447 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15448 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15449 * sysdeps/x86_64/multiarch/varshift.h: New file.
15450 * sysdeps/x86_64/multiarch/varshift.S: New file.
15451
84b9230c
MF
154522010-08-21 Mike Frysinger <vapier@gentoo.org>
15453
15454 * configure.in: Move assembler checks to before sysdep dir checking.
15455
9bbd0ddc
PB
154562010-08-20 Petr Baudis <pasky@suse.cz>
15457
15458 * LICENSES: Sync the sunrpc license.
15459
9da4bb31
UD
154602010-08-19 Ulrich Drepper <drepper@redhat.com>
15461
a7ab6ec8
UD
15462 * sunrpc/auth_des.c: Update copyright notice once again.
15463 * sunrpc/auth_none.c: Likewise.
15464 * sunrpc/auth_unix.c: Likewise.
15465 * sunrpc/authdes_prot.c: Likewise.
15466 * sunrpc/authuxprot.c: Likewise.
15467 * sunrpc/bindrsvprt.c: Likewise.
15468 * sunrpc/clnt_gen.c: Likewise.
15469 * sunrpc/clnt_perr.c: Likewise.
15470 * sunrpc/clnt_raw.c: Likewise.
15471 * sunrpc/clnt_simp.c: Likewise.
15472 * sunrpc/clnt_tcp.c: Likewise.
15473 * sunrpc/clnt_udp.c: Likewise.
15474 * sunrpc/clnt_unix.c: Likewise.
15475 * sunrpc/des_crypt.c: Likewise.
15476 * sunrpc/des_soft.c: Likewise.
15477 * sunrpc/get_myaddr.c: Likewise.
15478 * sunrpc/getrpcport.c: Likewise.
15479 * sunrpc/key_call.c: Likewise.
15480 * sunrpc/key_prot.c: Likewise.
15481 * sunrpc/openchild.c: Likewise.
15482 * sunrpc/pm_getmaps.c: Likewise.
15483 * sunrpc/pm_getport.c: Likewise.
15484 * sunrpc/pmap_clnt.c: Likewise.
15485 * sunrpc/pmap_prot.c: Likewise.
15486 * sunrpc/pmap_prot2.c: Likewise.
15487 * sunrpc/pmap_rmt.c: Likewise.
15488 * sunrpc/rpc/auth.h: Likewise.
15489 * sunrpc/rpc/auth_unix.h: Likewise.
15490 * sunrpc/rpc/clnt.h: Likewise.
15491 * sunrpc/rpc/des_crypt.h: Likewise.
15492 * sunrpc/rpc/key_prot.h: Likewise.
15493 * sunrpc/rpc/netdb.h: Likewise.
15494 * sunrpc/rpc/pmap_clnt.h: Likewise.
15495 * sunrpc/rpc/pmap_prot.h: Likewise.
15496 * sunrpc/rpc/pmap_rmt.h: Likewise.
15497 * sunrpc/rpc/rpc.h: Likewise.
15498 * sunrpc/rpc/rpc_des.h: Likewise.
15499 * sunrpc/rpc/rpc_msg.h: Likewise.
15500 * sunrpc/rpc/svc.h: Likewise.
15501 * sunrpc/rpc/svc_auth.h: Likewise.
15502 * sunrpc/rpc/types.h: Likewise.
15503 * sunrpc/rpc/xdr.h: Likewise.
15504 * sunrpc/rpc_clntout.c: Likewise.
15505 * sunrpc/rpc_cmsg.c: Likewise.
15506 * sunrpc/rpc_common.c: Likewise.
15507 * sunrpc/rpc_cout.c: Likewise.
15508 * sunrpc/rpc_dtable.c: Likewise.
15509 * sunrpc/rpc_hout.c: Likewise.
15510 * sunrpc/rpc_main.c: Likewise.
15511 * sunrpc/rpc_parse.c: Likewise.
15512 * sunrpc/rpc_parse.h: Likewise.
15513 * sunrpc/rpc_prot.c: Likewise.
15514 * sunrpc/rpc_sample.c: Likewise.
15515 * sunrpc/rpc_scan.c: Likewise.
15516 * sunrpc/rpc_scan.h: Likewise.
15517 * sunrpc/rpc_svcout.c: Likewise.
15518 * sunrpc/rpc_tblout.c: Likewise.
15519 * sunrpc/rpc_util.c: Likewise.
15520 * sunrpc/rpc_util.h: Likewise.
15521 * sunrpc/rpcinfo.c: Likewise.
15522 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15523 * sunrpc/rpcsvc/key_prot.x: Likewise.
15524 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15525 * sunrpc/rpcsvc/mount.x: Likewise.
15526 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15527 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15528 * sunrpc/rpcsvc/rex.x: Likewise.
15529 * sunrpc/rpcsvc/rstat.x: Likewise.
15530 * sunrpc/rpcsvc/rusers.x: Likewise.
15531 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15532 * sunrpc/rpcsvc/spray.x: Likewise.
15533 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15534 * sunrpc/rtime.c: Likewise.
15535 * sunrpc/svc.c: Likewise.
15536 * sunrpc/svc_auth.c: Likewise.
15537 * sunrpc/svc_authux.c: Likewise.
15538 * sunrpc/svc_raw.c: Likewise.
15539 * sunrpc/svc_run.c: Likewise.
15540 * sunrpc/svc_simple.c: Likewise.
15541 * sunrpc/svc_tcp.c: Likewise.
15542 * sunrpc/svc_udp.c: Likewise.
15543 * sunrpc/svc_unix.c: Likewise.
15544 * sunrpc/svcauth_des.c: Likewise.
15545 * sunrpc/xcrypt.c: Likewise.
15546 * sunrpc/xdr.c: Likewise.
15547 * sunrpc/xdr_array.c: Likewise.
15548 * sunrpc/xdr_float.c: Likewise.
15549 * sunrpc/xdr_mem.c: Likewise.
15550 * sunrpc/xdr_rec.c: Likewise.
15551 * sunrpc/xdr_ref.c: Likewise.
15552 * sunrpc/xdr_sizeof.c: Likewise.
15553 * sunrpc/xdr_stdio.c: Likewise.
15554
9da4bb31
UD
15555 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15556 handling.
15557
bdaa77bc
AS
155582010-08-19 Andreas Schwab <schwab@redhat.com>
15559
15560 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15561
fe2f79db
LM
155622010-08-19 Luis Machado <luisgpm@br.ibm.com>
15563
15564 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15565 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15566 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15567 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15568 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15569 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15570 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15571 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15572 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15573 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15574 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15575 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15576 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15577 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15578
b9b42ee0
AB
155792010-07-26 Anton Blanchard <anton@samba.org>
15580
15581 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15582 * malloc/arena.c (heap_trim): Likewise.
15583
1c06ba31
UD
155842010-08-16 Ulrich Drepper <drepper@redhat.com>
15585
15586 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15587 here. Not...
15588 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15589 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15590
f8392f40
L
155912010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15592
15593 * sysdeps/i386/elf/Makefile: New file.
15594
3162f12e
AS
155952010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15596
15597 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15598 from fanotify_init.
15599 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15600 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15601
28c90b2c
UD
156022010-08-15 Ulrich Drepper <drepper@redhat.com>
15603
15604 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15605 of strncasecmp_l.
1feccb6c 15606 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 15607
ca6bb004
UD
156082010-08-14 Ulrich Drepper <drepper@redhat.com>
15609
e9f82e0d
UD
15610 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15611 strncase_l-nonascii.
15612 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15613 Add strncase_l-ssse3.
15614 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15615 * sysdeps/x86_64/strcmp.S: Likewise.
15616 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15617 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15618 * sysdeps/x86_64/strncase.S: New file.
15619 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15620 * sysdeps/x86_64/strncase_l.S: New file.
15621 * string/Makefile (strop-tests): Add strncasecmp.
15622 * string/test-strncasecmp.c: New file.
15623
15624 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15625 warning.
15626
ca6bb004
UD
15627 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15628 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15629
052fa7b3
AS
156302010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15631
15632 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15633
962dba78
UD
156342010-08-12 Ulrich Drepper <drepper@redhat.com>
15635
15636 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15637 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15638 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15639
bebff237
AM
156402010-05-01 Alan Modra <amodra@gmail.com>
15641
15642 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15643 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15644 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15645 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15646 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15647 tidying. Don't tail-call __sigjmp_save for static lib.
15648 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15649 save location.
15650 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15651 (CALL_MCOUNT): Add eh info, and nop after bl.
15652 (TAIL_CALL_SYSCALL_ERROR): New macro.
15653 (PSEUDO_RET): Use it.
15654 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15655 Correct save location of integer regs and cr.
15656 (_dl_profile_resolve): Correct cr save location. Delete nops
15657 after bl when SHARED. Reduce cfi size a little by better
15658 placement of cfi directives.
15659 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15660 make a stack frame. Instead use parm save area as a temp.
15661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15662 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15664 Don't make a stack frame for parent, use parm save area.
15665 Increase child stack frame to 112 bytes. Don't save unused reg,
15666 and adjust reg usage. Set up cfi on error recovery and
15667 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15669 (__makecontext): Add dummy nop after jump to exit.
15670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15671 Use correct parm save area and cr save, reduce stack frame.
15672 Correct cfi for possible PSEUDO_RET frame setup.
15673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15674 Branch to local label emitted by PSEUDO_RET rather than
15675 __syscall_error.
15676
02637374
AS
156772010-08-12 Andreas Schwab <schwab@redhat.com>
15678
15679 [BZ #11904]
15680 * locale/programs/locale.c (print_assignment): New function.
15681 (show_locale_vars): Use it.
15682
c3e2f19b
UD
156832010-08-11 Ulrich Drepper <drepper@redhat.com>
15684
3cdaa6ad
UD
15685 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15686 field.
15687 (struct statfs64): Likewise.
15688 (_STATFS_F_FLAGS): Define.
15689 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15690 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15691 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15692 (ST_VALID): Define locally.
15693 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15694 __statvfs_getflags, use the provided value.
15695 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15696 __ASSUME_STATFS_F_FLAGS.
15697
754f7da3
UD
15698 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15699
10b3bedc
UD
15700 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15701 Add sys/fanotify.h.
15702 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15703 fanotify_mask for GLIBC_2.13.
15704 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15705 fanotify_init and fanotify_mark.
15706 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15707 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15708
c08fb0d7
UD
15709 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15710 Add prlimit.
15711 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15712 prlimit64 for GLIBC_2.13.
15713 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15714 prlimit64.
15715 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15716 syscall.
15717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15718 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15719 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15720 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15721 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15722 add prlimit alias.
15723 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15724
15bac72b
UD
15725 [BZ #11903]
15726 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15727 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15728
c3e2f19b
UD
15729 * nss/Makefile: Add rules to build and run tst-nss-test1.
15730 * shlib-versions: Add entry for libnss_test1.
15731 * nss/nss_test1.c: New file.
15732 * nss/tst-nss-test1.c: New file.
15733
15734 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15735 (__nss_configure_lookup): Set appropriate entry in
15736 __nss_configure_lookup to true.
15737 * nss/nsswitch.h: Define enum with indeces of databases in
15738 databases and __nss_database_custom arrays. Declare
15739 __nss_database_custom.
15740 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15741 to avoid using nscd when custom rules are installed.
15742 * nss/getXXbyYY_r.c: Likewise.
15743 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15744
15745 * nss/nss_files/files-parse.c: Whitespace fixes.
15746
f15ce4d8
UD
157472010-08-09 Ulrich Drepper <drepper@redhat.com>
15748
15749 [BZ #11883]
15750 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15751 * posix/fnmatch_loop.c: Likewise.
15752
d22e4cc9
AK
157532010-07-17 Andi Kleen <ak@linux.intel.com>
15754
15755 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15756 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15757 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15758 * Versions.def [GLIBC_2.13]: Add.
15759
805bc17d
UD
157602010-08-06 Ulrich Drepper <drepper@redhat.com>
15761
15762 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15763 Also fail if tpwd after pwuid call is NULL.
15764
5a42321d
ST
157652010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15766
15767 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15768 when converting to ms.
15769
fd3ebeda
ST
157702010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15771
15772 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15773 EOPNOTSUPP errors with ENOTTY.
15774 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15775 EOPNOTSUPP errors with ENOTTY.
15776
73507d3a
UD
157772010-07-31 Ulrich Drepper <drepper@redhat.com>
15778
15779 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15780 Add strcasecmp_l-ssse3.
15781 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15782 strcasecmp.
15783 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15784 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15785 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15786
fe36dd02
UD
157872010-07-30 Ulrich Drepper <drepper@redhat.com>
15788
66f6765a
UD
15789 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15790
42e08a54
UD
15791 * string/Makefile (strop-tests): Add strcasecmp.
15792 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15793 strcasecmp_l-nonascii.
15794 (gen-as-const-headers): Add locale-defines.sym.
15795 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15796 * sysdeps/x86_64/strcasecmp.S: New file.
15797 * sysdeps/x86_64/strcasecmp_l.S: New file.
15798 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15799 * sysdeps/x86_64/locale-defines.sym: New file.
15800 * string/test-strcasecmp.c: New file.
15801
fe36dd02
UD
15802 * string/test-strcasestr.c: Test both ends of the range of characters.
15803 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15804
48cbc0d6
RM
158052010-07-29 Roland McGrath <roland@redhat.com>
15806
76e6d6bc 15807 [BZ #11856]
48cbc0d6
RM
15808 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15809
880113d9
UD
158102010-07-27 Ulrich Drepper <drepper@redhat.com>
15811
15812 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15813 for ld.so.
15814
deb9cabb
AS
158152010-07-27 Andreas Schwab <schwab@redhat.com>
15816
15817 * manual/memory.texi (Malloc Tunable Parameters): Document
15818 M_PERTURB.
15819
1c7570ff
RM
158202010-07-26 Roland McGrath <roland@redhat.com>
15821
15822 [BZ #11840]
15823 * configure.in (-fgnu89-inline check): Set and substitute
15824 gnu89_inline, not libc_cv_gnu89_inline.
15825 * configure: Regenerated.
15826 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15827
24fb0f88
UD
158282010-07-26 Ulrich Drepper <drepper@redhat.com>
15829
15830 * string/test-strnlen.c: New file.
15831 * string/Makefile (strop-tests): Add strnlen.
15832 * string/tester.c (test_strnlen): Add a few more test cases.
15833 * string/tst-strlen.c: Better error reporting.
15834
15835 * sysdeps/x86_64/strnlen.S: New file.
15836
8e96b93a
UD
158372010-07-24 Ulrich Drepper <drepper@redhat.com>
15838
15839 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15840 lower-latency instructions.
15841
dbc676d4
UD
158422010-07-23 Ulrich Drepper <drepper@redhat.com>
15843
15844 * string/test-strcasestr.c: New file.
15845 * string/test-strstr.c: New file.
15846 * string/Makefile (strop-tests): Add strstr and strcasestr.
15847 * string/str-two-way.h: Don't undefine MAX.
15848 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15849
f6a31e0e
AS
158502010-07-21 Andreas Schwab <schwab@redhat.com>
15851
15852 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15853 strcasestr-nonascii.
15854 (CFLAGS-strcasestr-nonascii.c): Define.
15855 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15856 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15857 Remove unused attribute.
15858
5dbc3b6c
RM
158592010-07-20 Roland McGrath <roland@redhat.com>
15860
15861 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15862 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15863 ld.so.cache was broken. With it, there is no way to disable dsocaps
15864 like LD_HWCAP_MASK can disable hwcaps.
15865
23d101d8
EPM
158662010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15867
15868 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15869
cc9f2e47
UD
158702010-07-16 Ulrich Drepper <drepper@redhat.com>
15871
15872 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15873 call in strcasestr.
15874 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15875 __strcasestr_sse42_nonascii.
15876 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15877 strcasestr-nonascii.c.
15878 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15879
77c1b069
LM
158802010-06-15 Luis Machado <luisgpm@br.ibm.com>
15881
15882 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15883 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15884 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15885 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15886
440566c3
UD
158872010-07-09 Ulrich Drepper <drepper@redhat.com>
15888
15889 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15890 fcntl.
15891
5be9d05d
AS
158922010-07-06 Andreas Schwab <schwab@redhat.com>
15893
c30b7ee2 15894 [BZ #11577]
5be9d05d
AS
15895 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15896 dl_signal_cerror.
15897
8a492a67
UD
158982010-07-06 Ulrich Drepper <drepper@redhat.com>
15899
15900 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15901 _PC_PIPE_BUF using F_GETPIPE_SZ.
15902
713df3d5
RM
159032010-07-05 Roland McGrath <roland@redhat.com>
15904
15905 * manual/arith.texi (Rounding Functions): Fix rint description
15906 implicit in round description.
15907
702e8f14
UD
159082010-07-02 Ulrich Drepper <drepper@redhat.com>
15909
15910 * elf/Makefile: Fix linking for a few tests to make recent linker
15911 happy.
15912
52ed8be9
AS
159132010-06-30 Andreas Schwab <schwab@redhat.com>
15914
15915 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15916 $(common-objpfx)libc_nonshared.a.
15917
f47c9a11
LM
159182010-06-21 Luis Machado <luisgpm@br.ibm.com>
15919
15920 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15921 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15922 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15923 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15924 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15925 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15926 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15927 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
15938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
15940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
15942 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
15943 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15944 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15945 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15946 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15947 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15948 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15949 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15950 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15951 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15952 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15953 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15968
6fb8cbcb
L
159692010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15970
15971 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15972 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15973 * string/memmove.c (memmove): Renamed to ...
15974 (MEMMOVE): ...this. Default to memmove.
15975 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15976 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15977 (END_CHK): Define.
15978 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15979 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15980 mempcpy-ssse3-back memmove-ssse3-back.
15981 * sysdeps/x86_64/multiarch/bcopy.S: New file .
15982 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15983 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15984 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15985 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15986 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15987 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15988 * sysdeps/x86_64/multiarch/memmove.c: New file.
15989 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15990 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15991 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15992 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
15993 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
15994 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
15995 Define.
15996 (index_Fast_Copy_Backward): Define.
15997 (HAS_ARCH_FEATURE): Define.
15998 (HAS_FAST_REP_STRING): Define.
15999 (HAS_FAST_COPY_BACKWARD): Define.
16000
4e733bac 160012010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16002
16003 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16004 Restore proper fallback handling.
16005
63c4ed22
UD
160062010-06-19 Ulrich Drepper <drepper@redhat.com>
16007
ac2b484c
UD
16008 [BZ #11701]
16009 * posix/group_member.c (__group_member): Correct checking loop.
16010
63c4ed22
UD
16011 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16012 OOM in getpwuid_r correctly. Return error number when the caller
16013 should return, otherwise -1.
16014 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16015 call returning > 0 value.
16016 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16017
765ade4b
AS
160182010-06-07 Andreas Schwab <schwab@redhat.com>
16019
16020 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16021 libc_nonshared.a from targets in modules-names.
16022
80da2e09
KS
160232010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16024
16025 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16026 requires it.
16027
158db122
LM
160282010-06-10 Luis Machado <luisgpm@br.ibm.com>
16029
16030 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16031 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16032 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16033 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16034
caa78cf8
AS
160352010-06-02 Andreas Schwab <schwab@redhat.com>
16036
16037 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16038
b2ef2c01
UD
160392010-06-14 Ulrich Drepper <drepper@redhat.com>
16040
16041 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16042 and F_GETPIPE_SZ.
16043 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16044 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16045 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16046 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16047 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16048 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16049
fbd643b6
RM
160502010-06-14 Roland McGrath <roland@redhat.com>
16051
16052 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16053
f32f2869
JJ
160542010-06-07 Jakub Jelinek <jakub@redhat.com>
16055
16056 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16057 __REDIRECT followed by __THROW.
16058 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16059 * posix/getopt.h (getopt): Likewise.
16060
2a50c078
EPM
160612010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16062
16063 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16064 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16065 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16066 in AT_FLAGS.
16067 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16068 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16069
eb5ad2eb
LM
160702010-05-28 Luis Machado <luisgpm@br.ibm.com>
16071
16072 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16073
3c88fe1e
L
160742010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16075
16076 [BZ #11640]
16077 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16078 Properly check family and model.
16079
d2f73151
TY
160802010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16081
16082 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16083
ebd2e13d
LM
160842010-05-24 Luis Machado <luisgpm@br.ibm.com>
16085
16086 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16087
b32b8b45
UD
160882010-05-21 Ulrich Drepper <drepper@redhat.com>
16089
16090 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16091 symbol reference.
16092
9acbe24d
AS
160932010-05-19 Andreas Schwab <schwab@redhat.com>
16094
16095 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16096 symbol reference.
16097
f0ccf6ea
AS
160982010-05-21 Andreas Schwab <schwab@redhat.com>
16099
3d04ff3a
AS
16100 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16101 and internal_recvmmsg.
16102 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16103 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16104 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16105 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16106
f0ccf6ea
AS
16107 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16108 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16109 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16110
5b08ac57
AS
161112010-05-20 Andreas Schwab <schwab@redhat.com>
16112
16113 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16114
4828935d
LM
161152010-05-17 Luis Machado <luisgpm@br.ibm.com>
16116
16117 POWER7 optimizations.
16118 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16119 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16120
373d545e
UD
161212010-05-19 Ulrich Drepper <drepper@redhat.com>
16122
16123 * version.h: Update for 2.13 development version.
16124
21a2b1ae
AS
161252010-05-12 Andrew Stubbs <ams@codesourcery.com>
16126
16127 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16128 exceptions. Return 0.
16129
3f7dcb2b
RM
161302010-05-07 Roland McGrath <roland@redhat.com>
16131
16132 * elf/ldconfig.c (main): Add a const.
16133
5f24d53a 161342010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16135
a160f8d8
UD
16136 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16137 (args_options): Add no-idn option.
16138 (ahosts_keys_int): Add idn_flags to ai_flags.
16139 (parse_option): Handle 'i' option to clear idn_flags.
16140
5f24d53a
UD
16141 * malloc/malloc.c (_int_free): Possible race in the most recently
16142 added check. Only act on the data if no current modification
16143 happened.
265bb1ce
UD
16144
16145See ChangeLog.17 for earlier changes.