]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add x86-64 support to i386 sys/elf.h and sys/vm86.h
[thirdparty/glibc.git] / ChangeLog
CommitLineData
42bbb1c3
L
12012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2
3 [BZ #14117]
4 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
5 for x86-64.
6 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7
2d10d547
JM
82012-05-31 Joseph Myers <joseph@codesourcery.com>
9
10 * math/math.h (M_El): Use two more decimal places.
11 (M_LOG2El): Likewise.
12 (M_LOG10El): Likewise.
13 (M_LN2l): Likewise.
14 (M_LN10l): Likewise.
15 (M_PIl): Likewise.
16 (M_PI_2l): Likewise.
17 (M_PI_4l): Likewise.
18 (M_1_PIl): Likewise.
19 (M_2_PIl): Likewise.
20 (M_2_SQRTPIl): Likewise.
21 (M_SQRT2l): Likewise.
22 (M_SQRT1_2l): Likewise.
23
f230c29b
DM
242012-05-31 David S. Miller <davem@davemloft.net>
25
26 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27 values between float registers.
28 * sysdeps/sparc/sparc64/memset.S: Likewise.
29 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30
fed806c3
MF
312012-05-31 Mike Frysinger <vapier@gentoo.org>
32
33 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34 -D_FORTIFY_SOURCE=1.
35 (CPPFLAGS-tst-longjmp_chk.c): Define.
36 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
37 (CPPFLAGS-tst-longjmp_chk2.c): Define.
38 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39 CFLAGS-tst-wchar-h.c.
40
30917259
MP
412012-05-31 Marek Polacek <polacek@redhat.com>
42
43 [BZ #14132]
44 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
45 __endmntent_internal): Remove declaration.
46 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
47 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
48 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
49
1c58d5dc
DM
502012-05-30 David S. Miller <davem@davemloft.net>
51
52 * sysdeps/sparc/sparc32/soft-fp/q_util.c
53 (___Q_simulate_exceptions): Use real FP ops rather than writing
54 into the %fsr.
55 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
56 Likewise.
57
7dc00e0d
L
582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
59
60 [BZ #14117]
0bd53985
L
61 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
62 * sysdeps/x86/bits/xtitypes.h: This.
63
3a257e66
L
64 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
65 * sysdeps/x86/bits/wordsize.h: This.
66
62f62904
L
67 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
68 * sysdeps/x86/bits/huge_vall.h: This.
69
404fe9d9
L
70 * sysdeps/i386/bits/select.h: Removed.
71 * sysdeps/x86_64/bits/select.h: Renamed to ...
72 * sysdeps/x86/bits/select.h: This.
73
d48d0446
L
74 * sysdeps/i386/bits/setjmp.h: Removed.
75 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
76 * sysdeps/x86/bits/setjmp.h: This.
77
7dc00e0d
L
78 * sysdeps/i386/bits/mathdef.h: Removed.
79 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
80 * sysdeps/x86/bits/mathdef.h: This.
81
03277f8f
AS
822012-05-30 Andreas Schwab <schwab@linux-m68k.org>
83
84 [BZ #14132]
85 * include/sys/socket.h (__connect_internal)
86 (__libc_sa_len_internal): Remove declaration.
87 (__connect, __libc_sa_len): Declare hidden_proto.
88 (SA_LEN): Remove use of INTUSE.
89 * socket/connect.c: Add libc_hidden_def.
90 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
91 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
92 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
93 alias.
94 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
95 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
96 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
97 of adding _internal alias.
98
13764867
L
992012-05-30 H.J. Lu <hongjiu.lu@intel.com>
100
101 [BZ #14117]
6bd97696
L
102 * sysdeps/i386/bits/link.h: Removed.
103 * sysdeps/i386/bits/linkmap.h: Likewise.
104 * sysdeps/x86_64/bits/link.h: Renamed to ...
105 * sysdeps/x86/bits/link.h: This.
106 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
107 * sysdeps/x86/bits/linkmap.h: This.
108
f726f0bb
L
109 * sysdeps/i386/bits/endian.h: Removed.
110 * sysdeps/x86_64/bits/endian.h: Renamed to ...
111 * sysdeps/x86/bits/endian.h: This.
112
13764867
L
113 * sysdeps/i386/bits/byteswap.h: Removed.
114 * sysdeps/i386/bits/byteswap-16.h: Likewise.
115 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
116 * sysdeps/x86/bits/byteswap.h: This.
117 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
118 * sysdeps/x86/bits/byteswap-16.h: This.
119 * sysdeps/i386/Implies: Add x86.
120 * sysdeps/x86_64/Implies: Likewise.
121
ae251b0b
DM
1222012-05-30 David S. Miller <davem@davemloft.net>
123
124 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
125 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
126 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
127 (FP_TRAPPING_EXCEPTIONS): Define.
128 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
129 (FP_TRAPPING_EXCEPTIONS): Define.
130 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
131 subnormals only when inexact has been signalled or underflow
132 exceptions are enabled.
133 (_FP_PACK_CANONICAL): Likewise.
134
d5c90867
L
1352012-05-30 H.J. Lu <hongjiu.lu@intel.com>
136
137 [BZ #14183]
138 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
139 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
140
63f1549e
RH
1412012-05-30 Richard Henderson <rth@twiddle.net>
142
8d8f2279
RH
143 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
144 with #ifndef NOT_IN_libc.
145
63f1549e
RH
146 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
147 marked to avoid plt entry.
148
0ab0291b
L
1492012-05-30 H.J. Lu <hongjiu.lu@intel.com>
150
151 [BZ #14112]
152 * Makeconfig (default-abi): New macro.
153 (abi-includes): Likewise.
154 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
155 $(abi-$(default-abi)-lib-soname) for soname if defined.
156 ($(common-objpfx)gnu/lib-names.stmp): Generate from
157 abi-variants.
158 * Makefile (installed-stubs): Likewise.
159 * include/stubs-biarch.h: Removed.
160 * scripts/lib-names.awk: Only handle one library at a time.
161 * scripts/soversions.awk: Remove WORDSIZE support.
162 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
163 entries.
164 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
165 Removed.
166 (syscall-list-default-condition): Likewise.
167 (syscall-list-default-condition): Likewise.
168 (syscall-list-includes): Likewise.
169 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
170 syscall-list-* with abi-*. Handle undefined abi-variants.
171 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
172 * sysdeps/unix/sysv/linux/i386/Implies: New file.
173 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
174 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
175 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
176 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
177 Removed.
178 (syscall-list-32-options): Likewise.
179 (syscall-list-32-condition): Likewise.
180 (syscall-list-64-options): Likewise.
181 (syscall-list-64-condition): Likewise.
182 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
183 macro.
184 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
185 Renamed to ...
186 (abi-*): This.
187 (abi-64-ld-soname): New macro.
188 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
189 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
190 Renamed to ...
191 (abi-*): This.
192 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
193 * sysdeps/x86_64/x32/shlib-versions: Likewise.
194
4da0431d
JM
1952012-05-30 Joseph Myers <joseph@codesourcery.com>
196
3a85279c
JM
197 * sysdeps/unix/sysv/linux/kernel-features.h
198 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
199 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
200 include <kernel-features.h>.
201 [!__NR_ftruncate64]: Remove conditional code.
202 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
203 [__NR_ftruncate64]: Make code unconditional.
204 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
205 * sysdeps/unix/sysv/linux/truncate64.c: Do not
206 include <kernel-features.h>.
207 [!__NR_ftruncate64]: Remove conditional code.
208 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
209 [__NR_ftruncate64]: Make code unconditional.
210 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
212 include <kernel-features.h>.
213 [!__NR_ftruncate64]: Remove conditional code.
214 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
215 [__NR_ftruncate64]: Make code unconditional.
216 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
218 include <kernel-features.h>.
219 [!__NR_ftruncate64]: Remove conditional code.
220 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
221 [__NR_ftruncate64]: Make code unconditional.
222 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
223
4da0431d
JM
224 * configure.in (libc_cv_fpie): Weaken to a compile test using
225 LIBC_TRY_CC_OPTION.
226 * configure: Regenerated.
227
11ef492c
AK
2282012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
229
230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
234 Refreshed.
235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
241 Refreshed.
242
d66ef399
DM
2432012-05-27 David S. Miller <davem@davemloft.net>
244
245 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
246 (___Q_zero): New.
247 (__Q_simulate_exceptions): Return void. Change to simulate
248 exceptions by writing into the %fsr.
249 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
250 (__Qp_handle_exceptions): Likewise.
251 (numbers): Delete.
252 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
253 __Qp_handle_exceptions.
254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
255 __Qp_handle_exceptions.
256 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
257 as unused and give dummy FP_RND_NEAREST initializer.
258 (FP_INHIBIT_RESULTS): Define.
259 (___Q_simulate_exceptions): Update declaration.
260 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
261 formatting.
262 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
263 as unused and give dummy FP_RND_NEAREST initializer.
264 (__Qp_handle_exceptions): Update declaration.
265 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
266 formatting.
267
04fb54b5
TS
2682012-05-27 Thomas Schwinge <thomas@codesourcery.com>
269
270 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
271 the temporary FPU control word.
272 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
273 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
274 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
275 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
276 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
277 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
278 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
279 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
280 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
281 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
282 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
283
3f99608f
KK
2842012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
285
286 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
287 fields.
288
65a4de4e
CLT
2892012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
290
291 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
292 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
293 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
294 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
295 Likewise.
296 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
297 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
298 Likewise.
299
15749d40
UD
3002012-05-27 Ulrich Drepper <drepper@gmail.com>
301
302 * po/h.po: Update from translation team.
303
25dbcb27
AS
3042012-05-26 Andreas Schwab <schwab@linux-m68k.org>
305
3d3f8e55
AS
306 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
307
25dbcb27
AS
308 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
309 handling of denormals.
310 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
311 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
312 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
313 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
314 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
315 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
316 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
317 Likewise.
318
7ad47a80 3192012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
320
321 [BZ #14152]
322 * math/libm-test.inc (fma_test): Don't always expect underflow
323 exception.
324
9c6ea9fa
SP
3252012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
326
327 [BZ #12416]
328 * elf/tst-execstack.c: Include stackinfo.h.
329 (do_test): Adjust test case to ensure that pthread_getattr_np
330 behaviour remains the same after marking stack executable.
331
a8239222
JM
3322012-05-25 Joseph Myers <joseph@codesourcery.com>
333
334 * sysdeps/unix/sysv/linux/kernel-features.h
335 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
336 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
337 kernel-features.h.
338 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
339 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
340 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
341 kernel-features.h.
342 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
343 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
344
918b5606
L
3452012-05-25 H.J. Lu <hongjiu.lu@intel.com>
346
347 * configure.in: Define the default includes to being none.
348 * configure: Regenerated.
349
3a097cc7
RM
3502012-05-25 Roland McGrath <roland@hack.frob.com>
351
8422c9a5
RM
352 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
353 * sysdeps/x86_64/setjmp.S: Likewise.
354 * sysdeps/i386/bsd-setjmp.S: Likewise.
355 * sysdeps/i386/bsd-_setjmp.S: Likewise.
356 * sysdeps/i386/setjmp.S: Likewise.
357 * sysdeps/i386/__longjmp.S: Likewise.
358 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
359 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
360
3a097cc7
RM
361 * include/stap-probe.h: New file.
362 * configure.in: Handle --enable-systemtap.
363 * configure: Regenerated.
364 * config.h.in (USE_STAP_PROBE): New #undef.
365 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
366 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
367 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
368
21708942
JM
3692012-05-25 Joseph Myers <joseph@codesourcery.com>
370
371 [BZ #13717]
372 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
373 to 2.4.0 where earlier.
374 * sysdeps/unix/sysv/linux/configure: Regenerated.
375 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
376 <kernel-features.h>.
377 [__ASSUME_32BITUIDS]: Make code unconditional.
378 [!__ASSUME_32BITUIDS]: Remove conditional code.
379 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
380 <kernel-features.h>.
381 [__ASSUME_32BITUIDS]: Make code unconditional.
382 [!__ASSUME_32BITUIDS]: Remove conditional code.
383 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
384 [__ASSUME_32BITUIDS]: Make code unconditional.
385 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
386 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
387 <kernel-features.h>.
388 [__ASSUME_32BITUIDS]: Make code unconditional.
389 [!__ASSUME_32BITUIDS]: Remove conditional code.
390 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
391 <kernel-features.h>.
392 [__ASSUME_32BITUIDS]: Make code unconditional.
393 [!__ASSUME_32BITUIDS]: Remove conditional code.
394 * sysdeps/unix/sysv/linux/i386/getgid.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/getgroups.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/getresgid.c: Do not include
403 <kernel-features.h>.
404 [__ASSUME_32BITUIDS]: Make code unconditional.
405 [!__ASSUME_32BITUIDS]: Remove conditional code.
406 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
407 <kernel-features.h>.
408 [__ASSUME_32BITUIDS]: Make code unconditional.
409 [!__ASSUME_32BITUIDS]: Remove conditional code.
410 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
411 <kernel-features.h>.
412 [__ASSUME_32BITUIDS]: Make code unconditional.
413 [!__ASSUME_32BITUIDS]: Remove conditional code.
414 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
415 <kernel-features.h>.
416 [__ASSUME_32BITUIDS]: Make code unconditional.
417 [!__ASSUME_32BITUIDS]: Remove conditional code.
418 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
419 <kernel-features.h>.
420 [__ASSUME_32BITUIDS]: Make code unconditional.
421 [!__ASSUME_32BITUIDS]: Remove conditional code.
422 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
423 <kernel-features.h>.
424 [__ASSUME_32BITUIDS]: Make code unconditional.
425 [!__ASSUME_32BITUIDS]: Remove conditional code.
426 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
427 <kernel-features.h>.
428 [__NR_setresgid] (__setresgid): Do not declare.
429 [__ASSUME_32BITUIDS]: Make code unconditional.
430 [!__ASSUME_32BITUIDS]: Remove conditional code.
431 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
432 <kernel-features.h>.
433 [__NR_setresuid] (__setresuid): Do not declare.
434 [__ASSUME_32BITUIDS]: Make code unconditional.
435 [!__ASSUME_32BITUIDS]: Remove conditional code.
436 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
437 <kernel-features.h>.
438 [__ASSUME_32BITUIDS]: Make code unconditional.
439 [!__ASSUME_32BITUIDS]: Remove conditional code.
440 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
441 <kernel-features.h>.
442 [__ASSUME_32BITUIDS]: Make code unconditional.
443 [!__ASSUME_32BITUIDS]: Remove conditional code.
444 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
445 <kernel-features.h>.
446 [__ASSUME_32BITUIDS]: Make code unconditional.
447 [!__ASSUME_32BITUIDS]: Remove conditional code.
448 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
449 <kernel-features.h>.
450 [__ASSUME_32BITUIDS]: Make code unconditional.
451 [!__ASSUME_32BITUIDS]: Remove conditional code.
452 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
453 <kernel-features.h>.
454 [__ASSUME_32BITUIDS]: Make code unconditional.
455 [!__ASSUME_32BITUIDS]: Remove conditional code.
456 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
457 <kernel-features.h>.
458 [__ASSUME_32BITUIDS]: Make code unconditional.
459 [!__ASSUME_32BITUIDS]: Remove conditional code.
460 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
461 <kernel-features.h>.
462 [__ASSUME_32BITUIDS]: Make code unconditional.
463 [!__ASSUME_32BITUIDS]: Remove conditional code.
464 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
465 <kernel-features.h>.
466 [__ASSUME_32BITUIDS]: Make code unconditional.
467 [!__ASSUME_32BITUIDS]: Remove conditional code.
468 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
469 <kernel-features.h>.
470 [__ASSUME_32BITUIDS]: Make code unconditional.
471 [!__ASSUME_32BITUIDS]: Remove conditional code.
472 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
473 <kernel-features.h>.
474 [__ASSUME_32BITUIDS]: Make code unconditional.
475 [!__ASSUME_32BITUIDS]: Remove conditional code.
476 * sysdeps/unix/sysv/linux/kernel-features.h
477 (__ASSUME_SETRESUID_SYSCALL): Remove.
478 (__ASSUME_SETRESGID_SYSCALL): Likewise.
479 (__ASSUME_32BITUIDS): Likewise.
480 (__ASSUME_LDT_WORKS): Likewise.
481 (__ASSUME_O_DIRECTORY): Likewise.
482 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
483 architecture but not kernel version.
484 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
485 (__ASSUME_MMAP2_SYSCALL): Likewise.
486 (__ASSUME_STAT64_SYSCALL): Likewise.
487 (__ASSUME_IPC64): Likewise.
488 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
489 <kernel-features.h>.
490 [__ASSUME_32BITUIDS]: Make code unconditional.
491 [!__ASSUME_32BITUIDS]: Remove conditional code.
492 * sysdeps/unix/sysv/linux/opendir.c: Do not include
493 <kernel-features.h>.
494 [__ASSUME_O_DIRECTORY]: Make code unconditional.
495 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
496 132096]: Remove conditional code.
497 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
498 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
499 <kernel-features.h>.
500 [__ASSUME_32BITUIDS]: Make code unconditional.
501 [!__ASSUME_32BITUIDS]: Remove conditional code.
502 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
503 <kernel-features.h>.
504 [__ASSUME_32BITUIDS]: Make code unconditional.
505 [!__ASSUME_32BITUIDS]: Remove conditional code.
506 * sysdeps/unix/sysv/linux/setegid.c: Do not include
507 <kernel-features.h>.
508 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
509 unconditional.
510 (__setresgid): Do not declare.
511 [__ASSUME_32BITUIDS]: Make code unconditional.
512 [!__ASSUME_32BITUIDS]: Remove conditional code.
513 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
514 <kernel-features.h>.
515 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
516 unconditional.
517 (__setresuid): Do not declare.
518 [__ASSUME_32BITUIDS]: Make code unconditional.
519 [!__ASSUME_32BITUIDS]: Remove conditional code.
520 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
521 <kernel-features.h>.
522 [__ASSUME_32BITUIDS]: Make code unconditional.
523 [!__ASSUME_32BITUIDS]: Remove conditional code.
524 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
525 <kernel-features.h>.
526 [__ASSUME_32BITUIDS]: Make code unconditional.
527 [!__ASSUME_32BITUIDS]: Remove conditional code.
528
a386f1cc
RH
5292012-05-25 Richard Henderson <rth@twiddle.net>
530
531 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
532 dl_hwcap to ifunc resolver.
533 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
534 elf_ifunc_invoke.
535 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
536 dl_hwcap to ifunc resolver.
537 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
538
b6550497
JM
5392012-05-24 Joseph Myers <joseph@codesourcery.com>
540
541 [BZ #14153]
542 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
543 for |x| <= 2**-26, not 2**-57.
544 * math/libm-test.inc (acos_test): Do not allow spurious underflow
545 exception.
546
b0bc23a1
JL
5472012-05-24 Jeff Law <law@redhat.com>
548
549 * stdio-common/Makefile (tests): Add bug25.
550 * stdio-common/bug25.c: New test.
551
347c92e9
L
5522012-05-24 H.J. Lu <hongjiu.lu@intel.com>
553
554 [BZ #13576]
555 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
556 multiple of MALLOC_ALIGNMENT in size.
557 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
558
6bcc8b3f
JM
5592012-05-24 Joseph Myers <joseph@codesourcery.com>
560
561 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
562 Require >= 256.
563 (FILENAME_MAX): Use macro-int-constant.
564 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
565 (_IOFBF): Use macro-int-constant.
566 (_IOLBF): Likewise.
567 (_IONBF): Likewise.
568 (SEEK_CUR): Likewise.
569 (SEEK_END): Likewise.
570 (SEEK_SET): Likewise.
571 (TMP_MAX): Likewise.
572 (EOF): Use macro-int-constant. Require < 0.
573 (NULL): Use macro-constant. Require == 0.
574 (stdin): Require type to be FILE *.
575 (stdout): Likewise.
576 (stderr): Likewise.
577 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
578 macro-int-constant.
579 (EXIT_SUCCESS): Likewise.
580 (NULL): Use macro-constant. Require == 0.
581 (RAND_MAX): Use macro-int-constant.
582 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
583 [C99-based standards] (strtof): Require function.
584 [C99-based standards] (strtold): Likewise.
585 [C99-based standards] (strtoll): Likewise.
586 [C99-based standards] (strtoull): Likewise.
587 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
588 [ISO || ISO99 || ISO11] (limits.h): Likewise.
589 [ISO || ISO99 || ISO11] (math.h): Likewise.
590 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
591 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
592 [ISO || ISO99 || ISO11] (*_t): Do not allow.
593
d18ea0c5
AS
5942012-05-24 Andreas Schwab <schwab@linux-m68k.org>
595
596 [BZ #14132]
56d25bb8
AS
597 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
598 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
599 * intl/dgettext.c (DCGETTEXT): Likewise.
600 * intl/gettext.c (DCGETTEXT): Likewise.
601 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
602 * posix/regex_internal.h (gettext): Likewise.
603 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
604 Remove declaration.
605 * include/argz.h (__argz_count_internal)
606 (__argz_stringify_internal): Remove declaration.
607 (__argz_count, __argz_stringify): Declare hidden proto.
608 * intl/dcgettext.c: Remove use of INTDEF.
609 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
610 * string/argz-stringify.c: Likewise.
611 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
612 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
613 Declare hidden proto.
d18ea0c5
AS
614 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
615 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
616 Declare hidden proto.
617 * include/stdio.h (__asprintf_internal): Don't declare.
618 (__asprintf): Don't define as macro. Declare hidden proto.
619 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
620 (__fsetlocking): Declare hidden proto.
621 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
622 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
623 hidden proto.
624 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
625 (_IO_setlinebuf): Remove use of INTUSE.
626 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
627 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
628 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
629 Remove declaration.
630 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
631 (_IO_do_flush): Remove use of INTUSE.
632 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
633 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
634 (_IO_adjust_column, _IO_least_wmarker)
635 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
636 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
637 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
638 (_IO_default_doallocate, _IO_wdefault_doallocate)
639 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
640 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
641 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
642 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
643 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
644 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
645 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
646 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
647 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
648 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
649 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
650 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
651 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
652 proto.
653 (_IO_flush_all_internal, _IO_adjust_column_internal)
654 (_IO_default_uflow_internal, _IO_default_finish_internal)
655 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
656 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
657 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
658 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
659 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
660 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
661 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
662 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
663 (_IO_file_close_internal, _IO_file_close_it_internal)
664 (_IO_file_underflow_internal, _IO_file_overflow_internal)
665 (_IO_file_init_internal, _IO_file_attach_internal)
666 (_IO_file_fopen_internal, _IO_file_read_internal)
667 (_IO_file_sync_internal, _IO_file_seek_internal)
668 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
669 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
670 (_IO_str_underflow_internal, _IO_str_overflow_internal)
671 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
672 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
673 (_IO_list_all_internal, _IO_link_in_internal)
674 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
675 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
676 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
677 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
678 (_IO_do_write_internal, _IO_padn_internal)
679 (_IO_getline_info_internal, _IO_getline_internal)
680 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
681 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
682 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
683 (_IO_vfscanf_internal, _IO_vfprintf_internal)
684 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
685 (_IO_init_internal, _IO_un_link_internal): Don't declare.
686 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
687 with libc_hidden_ver, remove use of INTUSE.
688 * libio/genops.c: Likewise.
689 * libio/freopen.c: Likewise.
690 * libio/freopen64.c: Likewise.
691 * libio/iofclose.c: Likewise.
692 * libio/iofdopen.c: Likewise.
693 * libio/iofflush.c: Likewise.
694 * libio/iofflush_u.c: Likewise.
695 * libio/iofgets.c: Likewise.
696 * libio/iofgets_u.c: Likewise.
697 * libio/iofopen.c: Likewise.
698 * libio/iofopncook.c: Likewise.
699 * libio/iofread.c: Likewise.
700 * libio/iofread_u.c: Likewise.
701 * libio/ioftell.c: Likewise.
702 * libio/iofwrite.c: Likewise.
703 * libio/iogetline.c: Likewise.
704 * libio/iogets.c: Likewise.
705 * libio/iogetwline.c: Likewise.
706 * libio/iopadn.c: Likewise.
707 * libio/iopopen.c: Likewise.
708 * libio/ioseekoff.c: Likewise.
709 * libio/ioseekpos.c: Likewise.
710 * libio/iosetbuffer.c: Likewise.
711 * libio/iosetvbuf.c: Likewise.
712 * libio/ioungetc.c: Likewise.
713 * libio/ioungetwc.c: Likewise.
714 * libio/iovdprintf.c: Likewise.
715 * libio/iovsprintf.c: Likewise.
716 * libio/iovsscanf.c: Likewise.
717 * libio/memstream.c: Likewise.
718 * libio/obprintf.c: Likewise.
719 * libio/oldfileops.c: Likewise.
720 * libio/oldiofclose.c: Likewise.
721 * libio/oldiofdopen.c: Likewise.
722 * libio/oldiofopen.c: Likewise.
723 * libio/oldiopopen.c: Likewise.
724 * libio/oldstdfiles.c: Likewise.
725 * libio/putc.c: Likewise.
726 * libio/setbuf.c: Likewise.
727 * libio/setlinebuf.c: Likewise.
728 * libio/stdfiles.c: Likewise.
729 * libio/strops.c: Likewise.
730 * libio/vasprintf.c: Likewise.
731 * libio/vscanf.c: Likewise.
732 * libio/vsnprintf.c: Likewise.
733 * libio/vswprintf.c: Likewise.
734 * libio/wfiledoalloc.c: Likewise.
735 * libio/wfileops.c: Likewise.
736 * libio/wgenops.c: Likewise.
737 * libio/wmemstream.c: Likewise.
738 * libio/wstrops.c: Likewise.
739 * libio/__fpurge.c: Likewise.
740 * libio/__fsetlocking.c: Likewise.
741 * assert/assert.c: Likewise.
742 * debug/fgets_chk.c: Likewise.
743 * debug/fgets_u_chk.c: Likewise.
744 * debug/fread_chk.c: Likewise.
745 * debug/fread_u_chk.c: Likewise.
746 * debug/gets_chk.c: Likewise.
747 * debug/obprintf_chk.c: Likewise.
748 * debug/vasprintf_chk.c: Likewise.
749 * debug/vdprintf_chk.c: Likewise.
750 * debug/vsnprintf_chk.c: Likewise.
751 * debug/vsprintf_chk.c: Likewise.
752 * malloc/mtrace.c: Likewise.
753 * misc/error.c: Likewise.
754 * misc/syslog.c: Likewise.
755 * stdio-common/asprintf.c: Likewise.
756 * stdio-common/fxprintf.c: Likewise.
757 * stdio-common/getw.c: Likewise.
758 * stdio-common/isoc99_fscanf.c: Likewise.
759 * stdio-common/isoc99_scanf.c: Likewise.
760 * stdio-common/isoc99_vfscanf.c: Likewise.
761 * stdio-common/isoc99_vscanf.c: Likewise.
762 * stdio-common/isoc99_vsscanf.c: Likewise.
763 * stdio-common/printf-prs.c: Likewise.
764 * stdio-common/printf_fp.c: Likewise.
765 * stdio-common/printf_fphex.c: Likewise.
766 * stdio-common/printf_size.c: Likewise.
767 * stdio-common/putw.c: Likewise.
768 * stdio-common/scanf.c: Likewise.
769 * stdio-common/sprintf.c: Likewise.
770 * stdio-common/tmpfile.c: Likewise.
771 * stdio-common/vfprintf.c: Likewise.
772 * stdio-common/vfscanf.c: Likewise.
773 * stdlib/strfmon_l.c: Likewise.
774 * sunrpc/openchild.c: Likewise.
775 * sunrpc/xdr_stdio.c: Likewise.
776 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
777 * sysdeps/mach/hurd/tmpfile.c: Likewise.
778
d6c33fda
RM
7792012-05-24 Roland McGrath <roland@hack.frob.com>
780
c1487492
RM
781 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
782
783 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
784 in the third column, to generate for the shared library an IFUNC
785 that uses _dl_vdso_vsym.
786 * Makerules (COMPILE.c, compile-stdin.c): New variables.
787 * Makeconfig (object-suffixes-noshared): New variable.
788
789 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
790 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
791 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
792 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
793
d6c33fda
RM
794 [BZ #14132]
795 * include/sys/time.h (__gettimeofday): Remove macro.
796 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
797 * time/gettimeofday.c (__gettimeofday): Remove #undef.
798 Remove INTDEF.
799 (__gettimeofday): Add libc_hidden_def.
800 (gettimeofday): Add libc_hidden_weak.
801 * sysdeps/mach/gettimeofday.c: Likewise.
802 * sysdeps/posix/gettimeofday.c: Likewise.
803 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
804 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
805 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
806 (__gettimeofday_internal): Remove strong_alias.
807 (__gettimeofday): Add libc_hidden_def.
808 (gettimeofday): Add libc_hidden_weak.
809 * sysdeps/unix/syscalls.list (gettimeofday):
810 Remove __gettimeofday_internal alias.
811
b5a2bbe6
L
8122012-05-24 Daniel Jacobowitz <drow@false.org>
813 H.J. Lu <hongjiu.lu@intel.com>
814
815 [BZ #12495]
816 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
817 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
818 (largebin_index_32_big): New.
819 (largebin_index): Use it for 16-byte alignment.
820 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
821 correction with front_misalign.
822
cfba4fda
L
8232012-05-24 H.J. Lu <hongjiu.lu@intel.com>
824
7f907421
L
825 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
827 Likewise.
828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
829 Likewise.
830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
831 Likewise.
832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
833 Likewise.
834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
835 Likewise.
836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
837 Likewise.
838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
839 Likewise.
840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
841 Likewise.
842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
843 Likewise.
844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
845 Likewise.
846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
847 Likewise.
848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
849 Likewise.
850
cfba4fda
L
851 * scripts/data/c++-types-x32-linux-gnu.data: New file.
852 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
853
80bad0cc
JM
8542012-05-24 Joseph Myers <joseph@codesourcery.com>
855
7a25eb06
JM
856 [BZ #10846]
857 [BZ #14036]
858 * math/libm-test.inc (exp_test): Add test from bug 14036.
859 (pow_test): Add test from bug 10846.
860
795405f9
JM
861 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
862 and other flags.
863 (special_function): Do not include flags in test name.
864 (parse_args): Likewise.
865 * sysdeps/i386/fpu/libm-test-ulps: Update.
866 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
867 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
868 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
870
80bad0cc
JM
871 * math/gen-libm-test.pl (%beautify): Add entries for underflow
872 exceptions.
873 * math/libm-test.inc ("Philosophy"): Update comment about
874 exception testing.
875 (UNDERFLOW_EXCEPTION): New macro.
876 (UNDERFLOW_EXCEPTION_OK): Likewise.
877 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
878 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
879 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
880 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
881 (INVALID_EXCEPTION_OK): Update value.
882 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
883 (OVERFLOW_EXCEPTION_OK): Likewise.
884 (IGNORE_ZERO_INF_SIGN): Likewise.
885 (test_exceptions): Handle underflow exceptions.
886 (acos_test): Update for underflow exception expectations.
887 (cexp_test): Likewise.
888 (clog_test): Likewise.
889 (clog10_test): Likewise.
890 (csqrt_test): Likewise.
891 (ctan_test): Likewise.
892 (ctanh_test): Likewise.
893 (exp_test): Likewise.
894 (exp10_test): Likewise.
895 (exp2_test): Likewise.
896 (expm1_test): Likewise.
897 (fma_test): Likewise.
898 (j0_test): Likewise.
899 (jn_test): Likewise.
900 (nexttoward_test): Likewise.
901 (pow_test): Likewise.
902 (scalbn_test): Likewise.
903 (scalbln_test): Likewise.
904 (tan_test): Likewise.
905 (y1_test): Likewise.
906 * sysdeps/i386/fpu/libm-test-ulps: Update.
907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
908
9e0e3d0b
DM
9092012-05-23 David S. Miller <davem@davemloft.net>
910
911 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
912 (__libc_sigaction): Remove unused local variables.
913
ccd0a08f
L
9142012-05-23 H.J. Lu <hongjiu.lu@intel.com>
915
916 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
917
62bdf9a6
PE
9182012-05-23 Paul Eggert <eggert@cs.ucla.edu>
919
f8591f80
PE
920 mktime: avoid signed integer overflow
921 * time/mktime.c (__mktime_internal): Do not mishandle the case
922 where diff == INT_MIN.
923
94c7d826
PE
924 mktime: simplify computation of average
925 * time/mktime.c (ranged_convert): Use new time_t_avg function
926 instead of rolling our own (probably-slower) code.
927
ce73d683
PE
928 mktime: do not assume signed right shift propagates sign bit
929 * time/mktime.c (isdst_differ): New static function.
930 (__mktime_internal): No need to normalize tm_isdst now.
931 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
932 tm_isdst values.
933
72a22e59
PE
934 mktime: merge another wrapv change from gnulib
935 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
936 from some compilers.
937
68605433
PE
938 mktime: remove incorrect attempt at unusual arithmetics
939 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
940 The code didn't really work on such machines anyway.
941 (TYPE_MINIMUM): Assume two's complement.
942 (twos_complement_arithmetic): Verify that long_int and time_t
943 are two's complement (or unsigned, in the latter case).
944
03cf7fe3
PE
945 mktime: check signed shifts on long_int and time_t, too
946 * time/mktime.c (SHR): Check that shifts work as desired
947 on the types long_int and time_t too, as SHR is used on
948 such types.
949
f04dfbc2
PE
950 mktime: do not assume 'long' is wide enough
951 * time/mktime.c (verify): Move decl up.
952 (long_int): New type.
953 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
954 to remove assumption in the code that 'long' is wide enough to
955 store year values. This assumption is not true on x32 and on
956 some non-glibc platforms.
957
62bdf9a6
PE
958 mktime: merge wrapv change from gnulib
959 * time/mktime.c (WRAPV): New macro.
960 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
961 (guess_time_tm, __mktime_internal): Do not assume that signed
962 integer overflow wraps around; modern compilers generate code
963 where this assumption is no longer valid.
964
5e292e4f
L
9652012-05-23 H.J. Lu <hongjiu.lu@intel.com>
966
967 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
968 Replace "jmp L(pseudo_end)" with "ret".
969 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
970 Likewise.
971
8caf8c87
AJ
9722012-05-23 Andreas Jaeger <aj@suse.de>
973
974 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
975 * sysdeps/unix/sysv/linux/poll.c: Remove file.
976
1a09dc56
AJ
9772012-05-23 Andreas Jaeger <aj@suse.de>
978 Maximilian Attems <max@stro.at>
979
980 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
981 New macros.
982
1c87aba0
L
9832012-05-23 H.J. Lu <hongjiu.lu@intel.com>
984
985 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
986 code so that pseudo_end is just ret and the stack pointer is
987 correct also for static library in error case.
988
40e45bd5
JM
9892012-05-23 Joseph Myers <joseph@codesourcery.com>
990
c2670533
JM
991 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
992 move to syscalls.list.
993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
997
40e45bd5
JM
998 * manual/install.texi (Running make install): Do not mention Linux
999 kernel version for which pt_chown is not needed.
1000 (Linux): Do not mention problems with nscd with 2.0 kernels.
1001 * INSTALL: Regenerated.
1002
be08eda5
AJ
10032012-05-23 Andreas Jaeger <aj@suse.de>
1004
1005 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1006 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1007 macro.
1008 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1009 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1010 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1011 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1012 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1013 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1014 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1015 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1016 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1017 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1018 * sysdeps/unix/sysv/linux/bits/in.h
1019 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1020
a6a056bb
RM
10212012-05-22 Roland McGrath <roland@hack.frob.com>
1022
1023 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1024 (PREPARE_VERSION): Just use assert instead, it will be elided
1025 under [NDEBUG] anyway.
1026
c9009328
L
10272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1028
1029 * sysdeps/unix/sysv/linux/Makefile: Include
1030 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1031 (sysdep_routines): Remove sysctl.
c9009328
L
1032 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1033 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1034 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1035 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1036 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1037
73338355
AJ
10382012-05-22 Andreas Jaeger <aj@suse.de>
1039
1040 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1041 that pseudo_end is just ret and the stack pointer is correct also
1042 for static library in error case.
1043
d44638b0
PP
10442012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1045
1046 [BZ #14122]
1047 * nss/nsswitch.c (defconfig_entries): New variable.
1048 (__nss_database_lookup): Don't leak defconfig entries.
1049 (nss_parse_service_list): Don't leak on error paths.
1050 (free_database_entries): New function.
1051 (free_defconfig): New function.
1052 (free_mem): Move common code to free_database_entries.
1053
31a39bd8
L
10542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1055
da0331a8
L
1056 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1057 Add arch_prctl.
1058 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1059
31a39bd8
L
1060 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1061 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1062 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1063 New macro.
1064 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1065 (INTERNAL_SYSCALL_TYPES): Likewise.
1066 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1067 (LOAD_REGS_TYPES_[1-6]): Likewise.
1068 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1069 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1070
45470df3
AZ
10712012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1072
1073 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1074 copysignl for GLIBC_2_0.
1075 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1076 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1077 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1078 logbl for GLIBC_2_0.
1079 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1080 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1081
98a61bcb
L
10822012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1083
a4f6e481
L
1084 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1085 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1086
f63d5db6
L
1087 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1088 Use "neg %eax".
1089
98a61bcb
L
1090 * time/mktime.c: Update copyright years.
1091
95770f14
PE
10922012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1093
6226efbd
PE
1094 mktime: merge comment-quoting-style change from gnulib
1095 * time/mktime.c: Quote 'like this' in comments.
1096 The GNU coding standards suggest that we no longer quote `like this',
1097 as "`" and "'" are typically rendered asymmetrically nowadays.
1098 The typical gnulib style is to quote 'like this' when quoting
1099 code, and "like this" when quoting English.
1100
b99e4f78
PE
1101 * time/mktime.c (compile-command): Add "-I.".
1102
643e01e6
PE
1103 mktime: merge mktime-internal.h change from gnulib
1104 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1105
2554247d
PE
1106 mktime: merge time_r change from gnulib
1107 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1108
826dd0ab
PE
1109 mktime: merge DEBUG change from gnulib
1110 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1111 case system <time.h> has a #define.
1112
bd83aabe
PE
1113 mktime: merge <sys/types.h> change from gnulib
1114 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1115 since <time.t> is now guaranteed to define time_t.
1116
95770f14
PE
1117 mktime: merge HAVE_CONFIG_H change from gnulib
1118 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1119
5e1a27a9
L
11202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1121
0e44a77e
L
1122 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1123 Use "neg %eax".
1124
5e1a27a9
L
1125 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1126 __rlim_t cast.
1127 (struct rusage): Use anonymous union to pad each field to
1128 __syscall_slong_t.
1129
46259bec
DM
11302012-05-21 David S. Miller <davem@davemloft.net>
1131
1132 * Makefules (o-iterator): Remove .s cases.
1133 (compile-command.s): Delete.
1134 (COMPILE.s): Delete.
1135 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1136
59f0c22e
JM
11372012-05-21 Joseph Myers <joseph@codesourcery.com>
1138
1139 * configure.in (libc_cv_predef_stack_protector): Only consider
1140 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1141 * configure: Regenerated.
1142
20c07380
L
11432012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1144
bbb3154b
L
1145 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1146 New macro. Use R*LP on int and pointer.
1147 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1148 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1149 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1150 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1151
20c07380
L
1152 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1153 [__WORDSIZE_TIME64_COMPAT32] instead of
1154 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1155 (struct utmp): Likewise.
1156 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1157 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1158 Renamed to ...
1159 (__WORDSIZE_TIME64_COMPAT32): This.
1160 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1161 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1162 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1163 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1164 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1165 (__WORDSIZE_TIME64_COMPAT32): New macro.
1166
d8d1017e
AJ
11672012-05-21 Andreas Jaeger <aj@suse.de>
1168
1169 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1170 only if [SHARED]. Add prototype for __wcschr_ia32.
1171
6c7fb145
RM
11722012-05-21 Roland McGrath <roland@hack.frob.com>
1173
1174 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1175 of %rbp unmolested in the jmp_buf while mangling the low bits.
1176 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1177 unmolested high bits of %rbp while demangling the low bits.
1178 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1179
66274218
AJ
11802012-05-21 Andreas Jaeger <aj@suse.de>
1181
07c58f8f
AJ
1182 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1183 * sunrpc/svc_simple.c: Use it for registerrpc.
1184 * sunrpc/xcrypt.c: Use it for passwd2des.
1185
66274218
AJ
1186 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1187
61f65140
L
11882012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1189
1190 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1191 Don't define if [__SYSCALL_WORDSIZE != 32].
1192 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1193 New macro.
1194
5fefb436
AJ
11952012-05-21 Bruno Haible <bruno@clisp.org>
1196 Andreas Jaeger <aj@suse.de>
1197
1198 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1199 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1200 inptr and inend for must_buffer_ch.
1201 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1202 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1203 * stdio-common/Makefile (tests): Remove bug15.
1204 (bug15-ENV): Remove macro.
1205 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1206 anymore.
1207
d8e272ab
AJ
12082012-05-19 Andreas Jaeger <aj@suse.de>
1209 Roland McGrath <roland@hack.frob.com>
1210
1211 * manual/contrib.texi: Completely rewritten. It contains now an
1212 alphabetical list of contributors and their contributions.
1213
4a56a162
RH
12142012-05-21 Richard Henderson <rth@twiddle.net>
1215
1216 * misc/getauxval.c (__getauxval): Use unsigned long int.
1217 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1218 (getauxval): Use unsigned long int.
1219
d024d23c
L
12202012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1221
1222 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1223
cbc00a03
RM
12242012-05-21 Roland McGrath <roland@hack.frob.com>
1225
1226 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1227 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1228 __alignof__ (long double).
1229
478143fa
AZ
12302012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1231
1232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1233
c7683a6d
RH
12342012-05-20 Richard Henderson <rth@twiddle.net>
1235
1236 * misc/getauxval.c: New file.
1237 * misc/sys/auxv.h: New file.
1238 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1239 (routines): Add getauxval.
1240 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1241 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1242 * elf/dl-sysdep.c (_dl_auxv): Remove.
1243 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1244 * elf/dl-support.c (_dl_auxv): New variable.
1245 (_dl_aux_init): Initialize it.
1246 * manual/startup.texi (Auxiliary Vector): New node.
1247 * sysdeps/generic/bits/hwcap.h: New file.
1248 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1249 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1250 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1251 * sysdeps/sparc/sysdep.h: ... here. Include it.
1252 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1253 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1255 Update.
c7683a6d
RH
1256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1257 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1259 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1261 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1264
a6f1845d
AZ
12652012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1266
1267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1268
cbcbe830
DM
12692012-05-19 David S. Miller <davem@davemloft.net>
1270
1271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1272
e0b16cc2
JM
12732012-05-19 Joseph Myers <joseph@codesourcery.com>
1274
1275 [BZ #14123]
1276 * math/s_ccosh.c: Include <float.h>
1277 (__ccosh): Avoid internal overflow calculating sinh and cosh
1278 values before multiplying by sin and cos values.
1279 * math/s_ccoshf.c: Likewise.
1280 * math/s_ccoshl.c: Likewise.
1281 * math/s_csin.c: Likewise.
1282 * math/s_csinf.c: Likewise.
1283 * math/s_csinl.c: Likewise.
1284 * math/s_csinh.c: Likewise.
1285 * math/s_csinhf.c: Likewise.
1286 * math/s_csinhl.c: Likewise.
1287 * math/libm-test.inc (ccos_test): Add more tests.
1288 (ccosh_test): Likewise.
1289 (csin_test): Likewise.
1290 (csinh_test): Likewise.
1291 * sysdeps/i386/fpu/libm-test-ulps: Update.
1292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1293
6ad13e08
L
12942012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1295
f66f0ce8
L
1296 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1297 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1298
6ad13e08
L
1299 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1300
b1d072a7
JM
13012012-05-19 Joseph Myers <joseph@codesourcery.com>
1302
1303 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1304 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1305 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1306 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1307 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1308 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1309 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1310 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1311 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1312 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1313 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1314 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1315 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1316 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1317 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1318 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1319 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1320 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1321 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1322 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1323 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1324 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1325 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1326 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1327 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1328 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1329 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1330 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1331 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1332 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1333 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1334
9eae47cb
AJ
13352012-05-18 Andreas Jaeger <aj@suse.de>
1336
1337 * csu/.gitignore: Delete.
1338
bb07f69f
L
13392012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1340
1341 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1342 (timex): Use __syscall_slong_t.
1343
e6bdb741
AJ
13442012-05-18 Andreas Jaeger <aj@suse.de>
1345 Carlos O'Donell <carlos_odonell@mentor.com>
1346
1347 * manual/install.texi (Configuring and compiling): Update
1348 description about files modified in the source directory.
d6c33fda 1349 * INSTALL: Regenerated.
e6bdb741 1350
1b74487e
L
13512012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1352
1353 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1354 value. Use "or" to set return value to -1.
1355 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1356 negate return value.
1357
a88b64b9
TMQMF
13582012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1359
1360 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1361 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1362 failure if the compiler has Graphite support disabled.
1363 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1364 Likewise.
1365 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1366 CFLAGS-memmove.c): Likewise.
1367 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1368 Likewise.
1369
3707636e
L
13702012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1371
610b8622
L
1372 * sysdeps/x86_64/x32/_itoa.h: New file.
1373
7cd195df
L
1374 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1375 getdents system call only if kernel and user dirents have the
1376 same d_ino and d_off.
1377
94b07d20
L
1378 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1379 LLONG_MAX != LONG_MAX.
1380 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1381 (_fitoa_word): Likewise.
1382
18298070
L
1383 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1384 years.
1385 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1386 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1387 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1388
553c7ea4
L
1389 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1390 include <bits/wordsize.h>. Check __x86_64__ instead of
1391 __WORDSIZE.
1392 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1393 if __x86_64__ is defined. Use anonymous union on fpstate.
1394
3707636e
L
1395 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1396 anonymous union.
1397
b53ef01a
AS
13982012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1399
37fb1dc0
AS
1400 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1401 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1402 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1403 Refer to _rtld_local_ro instead of _rtld_global_ro.
1404 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1405 Likewise.
1406 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1407 Likewise.
1408 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1409 Likewise.
1410 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1411 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1412 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1413
b53ef01a
AS
1414 * sysdeps/powerpc/powerpc32/dl-machine.c
1415 (__elf_machine_runtime_setup) [PROF]: Don't reference
1416 _dl_prof_resolve.
1417
7a185db2
AJ
14182012-05-18 Andreas Jaeger <aj@suse.de>
1419
1420 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1421 function only available for GCCs before 3.4 since GCC 3.4
1422 introduced a builtin.
1423 (lrint): Likewise.
1424 (llrintf): Likewise.
1425 (llrint): Likewise.
1426 (fmaxf): Likewise.
1427 (fmax): Likewise.
1428 (fminf): Likewise.
1429 (fmin): Likewise.
1430 (rint): Likewise.
1431 (rintf): Likewise.
1432 (nearbyint): Likewise.
1433 (nearbyintf): Likewise.
1434 (ceil): Likewise.
1435 (ceilf): Likewise.
1436 (floor): Likewise.
1437 (floorf): Likewise.
1438
3e5aef87
L
14392012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1440
428bd707
L
1441 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1442 on both fields and cast pointer to __syscall_ulong_t.
1443
3e5aef87
L
1444 * bits/types.h (__fsword_t): New type.
1445 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1446 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1447 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1448 (__FSWORD_T_TYPE): Likewise.
1449 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1450 (__FSWORD_T_TYPE): Likewise.
1451 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1452 (__FSWORD_T_TYPE): Likewise.
1453 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1454 (__FSWORD_T_TYPE): Likewise.
1455 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1456 __SWORD_TYPE with __fsword_t.
1457 (statfs64): Likewise.
1458
1ba7c3dc
DM
14592012-05-17 David S. Miller <davem@davemloft.net>
1460
1461 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1462
59910343
AJ
14632012-05-17 Andreas Jaeger <aj@suse.de>
1464
1465 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1466 warning.
1467
2e4c1e9e
L
14682012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1469
1470 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1471
de7f5ce7
AJ
14722012-05-17 Andreas Jaeger <aj@suse.de>
1473
1474 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1475 when it is used.
1476
286abc3d
CM
14772012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1478
1479 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1480
477cc68e
L
14812012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1482
1483 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1484 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1485
1a0994f5
CD
14862012-05-17 Andreas Jaeger <aj@suse.de>
1487 Carlos O'Donell <carlos_odonell@mentor.com>
1488
1489 [BZ #14059]
1490 * sysdeps/x86_64/multiarch/init-arch.h
1491 (bit_YMM_Usable): Rename to...
1492 (bit_AVX_Usable): ... this.
1493 (bit_FMA4_Usable): New macro.
1494 (bit_XMM_state): New macro.
1495 (bit_YMM_state): New macro.
1496 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1497 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1498 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1499 (CPUID_OSXSAVE): New macro.
1500 (CPUID_AVX): New macro.
1501 (CPUID_FMA4): New macro.
1502 (index_YMM_Usable): Rename to...
1503 (index_AVX_Usable): ... this.
1504 (HAS_AVX): Use HAS_ARCH_FEATURE.
1505 (HAS_FMA4): Likewise.
1506 (HAS_YMM_USABLE): Remove.
1507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1508 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1509 are present.
1510 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1511 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1512 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1513 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1514 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1515
0af797de
CM
15162012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1517
1518 * math/libm-test.c: Support platforms without multiple rounding modes.
1519 * math/bug-nextafter.c: Support platforms without FP exceptions.
1520 * math/bug-nexttoward.c: Likewise.
1521 * math/test-fenv.c: Likewise.
1522 * math/test-misc.c: Likewise.
1523 * stdlib/bug-getcontext.c: Likewise.
1524
e39745ff
AJ
15252012-05-17 Andreas Jaeger <aj@suse.de>
1526
1527 * manual/examples/search.c (critter_cmp): Change signature to
1528 avoid warnings.
1529 * manual/string.texi (Collation Functions): Likewise.
1530
48970aba
L
15312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1532
1533 * bits/types.h: Fold copyright years.
1534 * bits/typesizes.h: Likewise.
1535 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1536 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1537 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1538 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1539 * time/time.h: Likewise.
1540
bedee953
PP
15412012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1542
1543 [BZ #208]
1544 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1545 in instead of returning them. Return void.
1546 (__libc_mallinfo): Accumulate over all arenas.
1547 (__malloc_stats): Adjust for change in int_mallinfo interface.
1548
61653dfb
RM
15492012-05-16 Roland McGrath <roland@hack.frob.com>
1550
30b99d79
RM
1551 [BZ #10375]
1552 * configure.in (NM): Add AC_CHECK_TOOL for it.
1553 (libc_extra_cflags): New substituted variable.
1554 Check for -fstack-protector being used implicitly.
1555 * configure: Regenerated.
1556 * config.make.in (config-extra-cflags): New variable,
1557 gets @libc_extra_cflags@.
1558 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1559
61653dfb
RM
1560 [BZ #10375]
1561 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1562 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1563 * configure: Regenerated.
1564 * config.make.in (CPPUNDEFS): New substituted variable.
1565 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1566 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1567 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1568
661768bb
L
15692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1570
1571 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1572 (mq_attr): Use __syscall_slong_t.
1573
d4261567
L
15742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1575
1576 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1577 Check __x86_64__ instead of __WORDSIZE.
1578 (_STAT_VER_LINUX): Likewise.
1579 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1580 __syscall_ulong_t and __syscall_slong_t.
1581 (stat64): Likewise.
1582
cf3ff365
L
15832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1584
1585 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1586
76cf3e4d
L
15872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1588
1589 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1590
a637753a
L
15912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1592
1593 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1594 __syscall_ulong_t.
1595
d5e05119
L
1596 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1597 include <bits/wordsize.h>. Check __x86_64__ instead of
1598 __WORDSIZE.
1599 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1600 defined.
1601 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1602
f62ee380
L
1603 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1604 include <bits/wordsize.h>. Check __x86_64__ instead of
1605 __WORDSIZE.
1606 (user_regs_struct): Use "__extension__ unsigned long long"
1607 instead of "unsigned long" if __x86_64__ is defined.
1608 (user): Likewise. Pad after pointer field if __ILP32__ is
1609 defined.
1610
4e124ced
JM
16112012-05-16 Joseph Myers <joseph@codesourcery.com>
1612
6a3951a0
JM
1613 * configure.in (makeinfo): Require version 4.5 or later. Allow
1614 versions 5 to 9.
1615 * configure: Regenerated.
1616 * manual/install.texi (texinfo): Increase version requirement to
1617 4.5 or later.
1618 * INSTALL: Regenerated.
1619
4e124ced
JM
1620 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1621
953ca31a
L
16222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1623
1624 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1625
617aca05
L
1626 * sysdeps/x86_64/x32/ffs.c: New file.
1627
5762f7ae
L
1628 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1629 __syscall_ulong_t.
1630 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1631 defined. Use __syscall_ulong_t.
1632 (shminfo): Use __syscall_ulong_t.
1633 (shm_info): Likewise.
1634
a26b6856
L
1635 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1636 __syscall_ulong_t.
1637
cb2b9ef7
L
1638 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1639 <bits/wordsize.h>.
1640 (msgqnum_t): Use __syscall_ulong_t.
1641 (msglen_t): Likewise.
1642 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1643 __syscall_ulong_t.
1644
34683bb0
L
1645 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1646 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1647
84a68786
L
1648 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1649
48baa5f1
L
1650 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1651 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1652
180be88b
L
1653 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1654 __syscall_slong_t.
1655
5e90c8ad
L
1656 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1657 include <bits/wordsize.h>. Check __x86_64__ instead of
1658 __WORDSIZE.
1659
23dfb58b
L
1660 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1661 "unsigned long long int" if __x86_64__ is defined.
1662 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1663
ce5d54b0
L
1664 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1665 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1666 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1667
13dc9eac
L
1668 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1669 <stdint.h>.
1670 (GET_PC): Cast to uintptr_t first.
1671 (GET_FRAME): Likewise.
1672 (GET_STACK): Likewise.
1673
a7895d15
L
1674 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1675 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1676 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1677 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1678 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1679 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1680 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1681 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1682 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1683 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1684 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1685 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1686 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1687 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1688 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1689 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1690 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1691 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1692 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1693 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1694 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1695 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1696 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1697 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1698 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1699 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1700 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1701 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1702 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1703
656416c9
AS
17042012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1705
5bd66283
AS
1706 * Makerules (+depfiles): Also collect depfiles from .oS in
1707 $(extra-objs).
1708 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1709 .oS, $(libnldbl-routines)).
1710
656416c9
AS
1711 * Makerules (native-compile-mkdep-flags): Define.
1712 * sunrpc/Makefile (extra-objs): Add $(addprefix
1713 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1714 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1715 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1716 calling $(make-target-directory).
1717
a46f2169
L
17182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1719
1720 * bits/types.h (__snseconds_t): Removed.
1721 * time/time.h (struct timespec): Replace __snseconds_t with
1722 __syscall_slong_t.
1723 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1724 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1725 Likewise.
1726 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1727 (__SNSECONDS_T_TYPE): Likewise.
1728 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1729 (__SNSECONDS_T_TYPE): Likewise.
1730 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1731 (__SNSECONDS_T_TYPE): Likewise.
1732
6af6528b
L
17332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1734
1735 * sysdeps/mach/hurd/bits/typesizes.h
1736 (__SYSCALL_SLONG_TYPE): New macro.
1737 (__SYSCALL_ULONG_TYPE): Likewise.
1738
de986b56
L
17392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1740
1741 * bits/types.h (__syscall_slong_t): New type.
1742 (__syscall_ulong_t): Likewise.
1743
1744 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1745 (__SYSCALL_ULONG_TYPE): Likewise.
1746 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1747 (__SYSCALL_SLONG_TYPE): Likewise.
1748 (__SYSCALL_ULONG_TYPE): Likewise.
1749 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1750 (__SYSCALL_SLONG_TYPE): Likewise.
1751 (__SYSCALL_ULONG_TYPE): Likewise.
1752 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1753 (__SYSCALL_SLONG_TYPE): Likewise.
1754 (__SYSCALL_ULONG_TYPE): Likewise.
1755
85736dc7
L
17562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1757
1758 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1759 Add sigaltstack-offsets.sym.
1760 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1761 <sigaltstack-offsets.h>.
1762 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1763 longjmp_msg pointer.
1764 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1765 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1766 signal stack.
1767 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1768
cc03b296
JM
17692012-05-15 Joseph Myers <joseph@codesourcery.com>
1770
a9538892
JM
1771 * elf/stackguard-macros.h: Remove file.
1772 * sysdeps/generic/stackguard-macros.h: New file.
1773 * sysdeps/i386/stackguard-macros.h: Likewise.
1774 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1775 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1776 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1777 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1778 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1779 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1780 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1781 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1782 <elf/stackguard-macros.h>.
1783
cc03b296
JM
1784 [BZ #14109]
1785 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1786 __aligned__ in attribute.
1787 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1788 (gregset_t): Likewise.
1789
93171016
L
17902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1791
1792 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1793 * sysdeps/x86_64/64/Implies-after: Here. New file.
1794 * sysdeps/x86_64/x32/Implies-after: New file.
1795
d86813a0
L
17962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1797
1798 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1799 and access return value for _dl_profile_fixup. Use R10_LP to
1800 load frame size.
1801
2953ec75
L
18022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1803
1804 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1805
3b550e9e
L
18062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1807
1808 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1809 * sysdeps/x86_64/x32/sysdep.h: New file.
1810
eda41706
L
18112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1812
1813 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1814 * sysdeps/x86_64/setjmp.S: Likewise.
1815
9ea01d93
AZ
18162012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1817
1818 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1819 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1820 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1821 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1822 remove unused global constant.
1823
02a91938
CM
18242012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1825
1826 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1827 include of <not-cancel.h>.
1828
6540185f
RM
18292012-05-15 Roland McGrath <roland@hack.frob.com>
1830
1831 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1832
509072a0
AJ
18332012-05-15 Jeff Law <law@redhat.com>
1834 Andreas Jaeger <aj@suse.de>
1835
1836 [BZ #13594]
1837 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1838 out from...
1839 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1840 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1841 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1842 code changing __hst_map_handle.map.
1843
ba75122d
RM
18442012-05-15 Roland McGrath <roland@hack.frob.com>
1845
1846 * configure.in (sysnames): Look for Implies-before and Implies-after
1847 files.
1848 * configure: Regenerated.
1849
890d8bd8
L
18502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1851
1852 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1853 8-byte data alignment with LP_SIZE alignment.
1854
f6ee6623
L
18552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1856
1857 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1858 into R10_LP.
1859
ea2626f6
L
18602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1861
1862 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1863
085f715e
L
18642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1865
1866 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1867 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1868 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1869 Likewise.
1870 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1871
be8498fc
L
18722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1873
1874 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1875 (stackinfo_sub_sp): Likewise.
1876
70bc83b9
L
18772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1878
1879 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1880 RAX_LP.
1881
9bc0b730
L
18822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1883
1884 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1885 into R*_LP.
1886
6d2850e7
L
18872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1888
1889 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1890 sizes into R*_LP.
1891
3cb84561
L
18922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1893
1894 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1895
54e2ed81
L
18962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1897
1898 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1899 into R11_LP and load __x86_64_shared_cache_size_half into
1900 R8_LP.
1901
8a17f349
L
19022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1903
1904 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1905 R8_LP.
1906
777b1eea
AZ
19072012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1908
1909 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1910 logb for POWER7.
1911 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1912 logbf for POWER7.
1913 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1914 logbl for POWER7.
1915 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1916 powerpc32/power7/fpu/s_logb.c via #include.
1917 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1918 powerpc32/power7/fpu/s_logbf.c via #include.
1919 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
1920 powerpc32/power7/fpu/s_logbl.c via #include.
1921
d20d4ac2
JM
19222012-05-15 Joseph Myers <joseph@codesourcery.com>
1923
1924 * README.libm: Remove file.
1925
6cdef1ab
L
19262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1927
1928 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1929 count for x32. Use R*_LP and omit operand-size suffix.
1930
0b254d8f
L
19312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1932
1933 * shlib-versions: Move x86_64-.*-linux.* entries to ...
1934 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1935 * sysdeps/x86_64/x32/shlib-versions: New file.
1936
ceb809dc
RM
19372012-05-14 Roland McGrath <roland@hack.frob.com>
1938
1939 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1940 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1941 Use _dl_fatal_printf instead.
1942
37f1abd4
JM
19432012-05-14 Joseph Myers <joseph@codesourcery.com>
1944
1945 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1946 set if not set by the user. Do not allow for being unset.
1947 * sysdeps/unix/sysv/linux/configure: Regenerated.
1948
11de3a33
L
19492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1950
1951 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1952 the `q' suffix from lea and replace .quad with ASM_ADDR.
1953
e02f153a
L
19542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1955
1956 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1957 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1958 instead of $17.
1959 (PTR_DEMANGLE): Likewise.
1960
520ae0fd
L
19612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1962
1963 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1964 (LP_OP): Likewise.
1965 (ASM_ADDR): Likewise.
1966 (RAX_LP): Likewise.
1967 (RBP_LP): Likewise.
1968 (RBX_LP): Likewise.
1969 (RCX_LP): Likewise.
1970 (RDI_LP): Likewise.
1971 (RSI_LP): Likewise.
1972 (RSP_LP): Likewise.
1973 (R8_LP): Likewise.
1974 (R9_LP): Likewise.
1975 (R10_LP): Likewise.
1976 (R10_LP): Likewise.
1977 (R11_LP): Likewise.
1978 (R12_LP): Likewise.
1979 (R13_LP): Likewise.
1980 (R14_LP): Likewise.
1981 (R15_LP): Likewise.
1982
b985be81
L
19832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1984
1985 * sysdeps/x86_64/x32/dl-machine.h: New file.
1986
6a4888ff
AJ
19872012-05-14 Andreas Jaeger <aj@suse.de>
1988
1989 * manual/Makefile (subdir): Remove export of subdir.
1990 (all): Remove target.
1991 (.PHONY): Remove all from list.
1992 (mkinstalldirs): Remove.
1993 (.PHONY): Remove installdirs from list.
1994 ($(inst_infodir)/libc.info): Use make-target-directory.
1995 (installdirs): Remove.
1996 (subdir_%): Remove.
1997 (glibc-targets): Remove.
1998 (lib): Remove.
1999 (stubs): Remove.
2000 ($(objpfx)stubs ../po/manual.pot): Remove.
2001 ($(objpfx)stamp%): Remove.
2002 (make-target-directory): Remove.
2003 (subdir_install): Remove.
2004 (routines): Remove.
2005 (aux): Remove.
2006 (sources): Remove.
2007 (objects): Remove.
2008 (headers): Remove.
2009
2010 [BZ #13750]
2011 * manual/.gitignore: Remove, it's not needed anymore.
2012 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2013 all files in it.
2014 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2015 directory.
2016 (texis): Renamed to $(objpfx)texis.
2017 (texis-path): New, contains path to generated files.
2018 (chapters.%): Use texis-path for complete path, add extra argument
2019 libc-texinfo.sh.
2020 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2021 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2022 (summary,texi, stamp-summary): Use complete path of
2023 files. Generate files in build dir.
2024 (dir-add.texi): Build in build dir.
2025 (libm-err.texi,stamp-libm-err): Likewise.
2026 (version.texi, stamp-version): Likewise.
2027 (.%c.texi): Likewise.
2028 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2029 (mostlyclean): Remove target.
2030 (realclean): Remove target.
2031 (generated): Add new variable with contents from mostlyclean and
2032 realclean, remove entries duplicated in common-mostlyclean, add
2033 stamp-libm-err and stamp-version.
2034 (generated-dirs): Add libc directory.
2035 ($(inst_infodir)/libc.info): Install files from build dir.
2036
2037 * manual/install.texi (Configuring and compiling): Adjust since
2038 the info files are not part of the tar ball anymore.
2039
7ac77294
AJ
20402012-05-14 Andreas Jaeger <aj@suse.de>
2041
2042 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2043 variable.
2044
ffb7875d
JM
20452012-05-14 Joseph Myers <joseph@codesourcery.com>
2046
2047 [BZ #13717]
2048 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2049 to 2.2.0 where earlier.
2050 * sysdeps/unix/sysv/linux/configure: Regenerated.
2051 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2052 Remove conditional code.
2053 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2054 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2055 Remove conditional code.
2056 [!__NR_lchown]: Likewise.
2057 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2058 [__NR_lchown]: Likewise.
2059 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2060 comment referencing __ASSUME_LCHOWN_SYSCALL.
2061 * sysdeps/unix/sysv/linux/i386/sigaction.c
2062 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2063 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2064 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2065 Remove conditional code.
2066 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2067 (__protocol_available): Remove #if 0 code.
2068 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2069 conditional code.
2070 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2071 * sysdeps/unix/sysv/linux/kernel-features.h
2072 (__ASSUME_GETCWD_SYSCALL): Don't define.
2073 (__ASSUME_REALTIME_SIGNALS): Likewise.
2074 (__ASSUME_PREAD_SYSCALL): Likewise.
2075 (__ASSUME_PWRITE_SYSCALL): Likewise.
2076 (__ASSUME_POLL_SYSCALL): Likewise.
2077 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2078 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2079 non-SPARC.
2080 (__ASSUME_SIOCGIFNAME): Don't define.
2081 (__ASSUME_MSG_NOSIGNAL): Likewise.
2082 (__ASSUME_SENDFILE): Define unconditionally.
2083 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2084 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2085 conditional code.
2086 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2087 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2088 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2089 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2090 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2091 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2092 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2094 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2095 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2097 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2098 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2100 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2101 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2103 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2104 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2106 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2107 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2109 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2110 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2112 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2113 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2115 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2116 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2117 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2118 Remove conditional code.
2119 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2120 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2121 Remove conditional code.
2122 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2123 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2124 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2125 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2126 Remove conditional code.
2127 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2128 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2129 Remove conditional code.
2130 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2131 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2132 Remove conditional code.
2133 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2134 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2135 Remove conditional code.
2136 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2137 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2138 Remove conditional code.
2139 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2140 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2141 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2142 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2143 * sysdeps/unix/sysv/linux/sigaction.c
2144 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2145 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2146 * sysdeps/unix/sysv/linux/sigpending.c
2147 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2148 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2149 * sysdeps/unix/sysv/linux/sigprocmask.c
2150 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2151 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2152 * sysdeps/unix/sysv/linux/sigsuspend.c
2153 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2154 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2155 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2156 (__libc_missing_rt_sigs): Remove.
2157 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2158 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2159 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2160 Remove conditional code.
2161 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2162 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2163 return 1.
2164 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2165 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2166 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2167 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2168
1bfb7291
AJ
21692012-05-14 Andreas Jaeger <aj@suse.de>
2170
caae5a81
AJ
2171 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2172 it's not used in glibc.
2173 (__coshm1): Likewise.
2174 (__acosh1p): Likewise.
2175 (__sgn): Likewise.
2176
1bfb7291
AJ
2177 * manual/string.texi (Copying and Concatenation): Add missing
2178 variable in concat example.
2179 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2180
c044d724
L
21812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2182
144c5467 2183 [BZ #14103]
c044d724
L
2184 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2185 __builtin_clzl with __builtin_clzll.
2186
2523c62b
L
21872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2188
2189 [BZ #14104]
2190 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2191 libc_freeres_ptr.
2192
d7bb4c42
LD
21932012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2194
2195 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2196 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2197 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2198 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2199
9dc4e1fb
MF
22002012-05-14 Mike Frysinger <vapier@gentoo.org>
2201
2202 * NEWS: Update ia64 info.
2203
c7df0112
AS
22042012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2205
2206 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2207 used as bcopy.
2208
dc70356c
TS
22092012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2210
2211 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2212 * sysdeps/unix/syscalls.list (dup3): Likewise.
2213 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2214 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2215
9fb1a21f
L
22162012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2217
2218 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2219 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2220
4822a2a5
L
22212012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2222
2223 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2224 thread pointer.
2225 (TLS_IE): Use mov/add instead of movq/addq to load thread
2226 pointer.
2227 (TLS_GD_PREFIX): New.
2228 (TLS_GD): Use it.
2229
842b81d6
DM
22302012-05-11 David S. Miller <davem@davemloft.net>
2231
2232 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2233 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2234 (_FPU_SETCW): Likewise.
2235
1cf463cd
L
22362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2237
2238 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2239 is 32-byte aligned.
2240
60cc4a18
AS
22412012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2242
2243 [BZ #11837]
2244 * iconvdata/gb18030.c: Update tables.
2245 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2246 characters specially.
2247 (BODY for TO_LOOP): Add encoding of missing ranges.
2248
febb44a4
TS
22492012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2250
2251 [BZ #13673]
2252 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2253 * sysdeps/mach/hurd/dup3.c: Likewise.
2254 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2255 * sysdeps/powerpc/memmove.c:: Likewise.
2256
0a10fb9e
L
22572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2258
2259 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2260 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2261
df8a552f
L
22622012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2263
2264 * elf/elf.h (R_X86_64_RELATIVE64): New.
2265 (R_X86_64_NUM): Updated.
2266 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2267 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2268 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2269 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2270 tst-quad1pie tst-quad2pie
2271 (modules-names): Add tst-quadmod1 tst-quadmod2.
2272 ($(objpfx)tst-quad1): New dependency.
2273 ($(objpfx)tst-quad2): Likewise.
2274 ($(objpfx)tst-quad1pie): Likewise.
2275 ($(objpfx)tst-quad2pie): Likewise.
2276 * sysdeps/x86_64/tst-quad1.c: New file.
2277 * sysdeps/x86_64/tst-quad1pie.c: New file.
2278 * sysdeps/x86_64/tst-quad2.c: Likewise.
2279 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2280 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2281 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2282 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2283 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2284
f34d6f84
ST
22852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2286
f42d41d1
ST
2287 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2288 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2289 * streams/stropts.h (t_scalar_t): Define type.
2290
3c3571fc
ST
2291 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2292 (_PATH_PRESERVE): Set to "/var/lib".
2293 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2294
61f06bd3
ST
2295 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2296 instead of int.
2297
918d4d71
ST
2298 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2299 if __dir_mkfile succeeded.
2300
f34d6f84
ST
2301 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2302 checking for _hurd_dtablesize. Unlock it right after having
2303 finished _hurd_dtable allocation.
2304
10589b4a
TS
23052012-05-10 Thomas Schwinge <thomas@schwinge.name>
2306
674cdbc7
TS
2307 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2308 * sysdeps/mach/hurd/configure: Regenerated.
2309 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2310 special-casing to...
2311 * sysdeps/gnu/configure.in: ... this new file.
2312 * sysdeps/unix/sysv/linux/configure: Regenerated.
2313 * sysdeps/gnu/configure: New generated file.
2314
8e41b99f
TS
2315 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2316 for Linux: use nsec instead of usec, as well as:
2317 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2318 members of type struct timespec.
2319 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2320 New macros.
2321 (struct stat64): Likewise.
2322 (_STATBUF_ST_NSEC): New macro.
2323 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2324
10589b4a
TS
2325 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2326 __strtoul_internal rather than strtoul.
2327
63643c85
PT
23282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2329
2330 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2331 and reject them.
2332
3faebe6a
ST
23332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2334
2335 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2336 which preserves existing values.
2337 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2338
c6474b07
PT
23392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2340
2341 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2342 TIMEOUT values. Return EINVAL for NFDS values either negative or
2343 greater than FD_SETSIZE.
2344
1043890b
ST
23452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2346
2347 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2348 allocated, call __vm_protect to finish enabling the existing space, and
2349 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2350 allocate the remainder.
2351
37ed8b9b
PT
23522012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2353
2354 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2355 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2356
db653660
ST
23572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2358
37ed8b9b
PT
2359 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2360 sysdeps/mach/hurd/readlink.c.
b29d4053 2361
db653660
ST
2362 * posix/tst-sysconf.c (posix_options): Only use
2363 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2364 _POSIX_SYNCHRONIZED_IO when they are defined
2365 * sysdeps/mach/hurd/bits/posix_opt.h:
2366 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2367 (_XOPEN_REALTIME): Undefine macro.
2368 (_XOPEN_REALTIME_THREADS): Undefine macro.
2369 (_XOPEN_SHM): Undefine macro.
2370 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2371 macro to -1.
2372 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2373 macro to -1.
2374 (_POSIX_ASYNC_IO): Undefine macro.
2375 (_POSIX_PRIORITIZED_IO): Undefine macro.
2376 (_POSIX_SPIN_LOCKS): Define macro to -1.
2377
ee16e894
ST
2378 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2379 SA_NODEFER, SA_RESETHAND.
2380 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2381 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2382 F_DUPFD_CLOEXEC.
2383
6103ae3b
TS
23842012-05-10 Thomas Schwinge <thomas@schwinge.name>
2385
2386 * elf/Makefile (pldd-modules): Define unconditionally.
2387
80b4e5f3
TS
23882012-05-10 Thomas Schwinge <thomas@schwinge.name>
2389
2390 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2391
edadcbd6
ST
23922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2393
2394 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2395 Return ENOENT when name is empty.
2396 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2397
80694780
TS
23982012-05-10 Thomas Schwinge <thomas@schwinge.name>
2399
1792c087
TS
2400 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2401
80694780
TS
2402 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2403
6b645f0d
ST
24042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2405
80694780
TS
2406 Fix mlock in all cases except non-readable pages.
2407 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2408 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2409
6b645f0d
ST
2410 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2411 (__mkdir): When path is `/', just fail with EEXIST.
2412 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2413
e468f8a3
TS
24142012-05-10 Thomas Schwinge <thomas@schwinge.name>
2415
2416 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2417 <sys/uio.h> (for writev).
2418 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2419 and <sys/param.h> (for MIN).
2420
a4186cff
PT
24212012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2422
2423 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2424 REQUESTED_TIME. Properly set the remaining time and return EINTR
2425 if interrupted.
2426
510bbf14
TS
24272012-05-10 Thomas Schwinge <thomas@schwinge.name>
2428
2429 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2430 Depend on against $(link-rpcuserlibs).
2431
5d5722e8
ST
24322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2433
a4186cff
PT
2434 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2435 (__libc_stack_end): Do not use attribute_relro.
2436 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2437 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 2438 to libthread-provided value.
a4186cff
PT
2439 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2440 attribute_relro.
5d5722e8 2441
37233df9
TS
24422012-05-10 Thomas Schwinge <thomas@schwinge.name>
2443
be971a2b
TS
2444 [BZ #3748]
2445 * bits/libc-lock.h (__libc_once_get): New macro.
2446 * sysdeps/mach/bits/libc-lock.h: Likewise.
2447 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2448 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2449 instead of using implementation details.
2450
37233df9
TS
2451 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2452 * libio/freopen.c: Likewise.
2453 * libio/freopen64.c: Likewise.
2454 * misc/syslog.c: Likewise.
2455 * nscd/connections.c: Likewise.
2456 * nscd/netgroupcache.c: Likewise.
2457 * sysdeps/posix/getcwd.c: Likewise.
2458
38de94a5
RM
24592012-05-10 Roland McGrath <roland@hack.frob.com>
2460
2461 * math/w_ilogbf.c: Add #include <limits.h>.
2462
67530489
ST
24632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2464
a4186cff 2465 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
2466 path instead of returning without unlocking.
2467
67530489
ST
2468 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2469 immediate-write ioctls.
2470 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2471
5aa3a74a
TS
24722012-05-10 Thomas Schwinge <thomas@schwinge.name>
2473
18bad2ae
TS
2474 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2475 __builtin_frame_address instead of making assumptions about the
2476 location of the return address relative to DATA. Force early load of
2477 the return address.
2478 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2479 __builtin_frame_address.
2480
5aa3a74a
TS
2481 dup3 for GNU Hurd.
2482 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2483 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2484 implement dup3 and do some further code clean-ups.
2485 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2486 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2487
ecd0de9a
ST
24882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2489
cd9fa985
ST
2490 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2491
a4186cff
PT
2492 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2493 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2494 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2495 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2496 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2497 d->port.lock.
802ca5a5 2498
a4186cff
PT
2499 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2500 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2501 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 2502
bcf55240
TS
25032012-05-10 Thomas Schwinge <thomas@schwinge.name>
2504
6960eb42
TS
2505 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2506 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2507 definitions.
2508
eb43375f
TS
2509 accept4 for GNU Hurd.
2510 * include/sys/socket.h (__libc_accept4): New prototype.
2511 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2512 to implement __libc_accept4.
2513 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2514 __libc_accept4.
2515 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2516
bcf55240
TS
2517 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2518 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2519 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2520 signal-defines.sym.
2521
6178c55b
ST
25222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2523
a4186cff 2524 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 2525
6f080c2f
TS
25262012-05-10 Thomas Schwinge <thomas@schwinge.name>
2527
2528 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2529 assertion on O_CLOEXEC flag.
2530 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2531 * hurd/intern-fd.c: Likewise.
2532 * hurd/port2fd.c: Likewise.
2533
bcfe3a54
ST
25342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2535
2536 [BZ #3906]
2537 * bits/in.h (IPV6_PKTINFO): Define new macro.
2538 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2539
89c9aa49
AZ
25402012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2541
2542 [BZ #13954]
2543 [BZ #13955]
2544 [BZ #13956]
2545 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2546 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2547 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2548 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2549 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2550 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2551 * math/libm-test.inc (logb_test) : Additional logb tests.
2552
021db4be
AJ
25532012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2554 Andreas Jaeger <aj@suse.de>
2555
2556 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2557 * configure: Regenerated.
2558 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2559 * config.make.in (link-obsolete-rpc): New substituted variable.
2560 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2561 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2562 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2563 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2564 so that libc.a contains the symbols.
2565 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2566 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2567 * sunrpc/auth_none.c: Likewise.
2568 * sunrpc/auth_unix.c: Likewise.
2569 * sunrpc/authdes_prot.c: Likewise.
2570 * sunrpc/authuxprot.c: Likewise.
2571 * sunrpc/clnt_gen.c: Likewise.
2572 * sunrpc/clnt_perr.c: Likewise.
2573 * sunrpc/clnt_raw.c: Likewise.
2574 * sunrpc/clnt_simp.c: Likewise.
2575 * sunrpc/clnt_tcp.c: Likewise.
2576 * sunrpc/clnt_udp.c: Likewise.
2577 * sunrpc/clnt_unix.c: Likewise.
2578 * sunrpc/des_crypt.c: Likewise.
2579 * sunrpc/des_soft.c: Likewise.
2580 * sunrpc/get_myaddr.c: Likewise.
2581 * sunrpc/key_call.c: Likewise.
2582 * sunrpc/key_prot.c: Likewise.
2583 * sunrpc/netname.c: Likewise.
2584 * sunrpc/pm_getmaps.c: Likewise.
2585 * sunrpc/pm_getport.c: Likewise.
2586 * sunrpc/pmap_clnt.c: Likewise.
2587 * sunrpc/pmap_prot.c: Likewise.
2588 * sunrpc/pmap_prot2.c: Likewise.
2589 * sunrpc/pmap_rmt.c: Likewise.
2590 * sunrpc/publickey.c: Likewise.
2591 * sunrpc/rpc_cmsg.c: Likewise.
2592 * sunrpc/rpc_common.c: Likewise.
2593 * sunrpc/rpc_dtable.c: Likewise.
2594 * sunrpc/rpc_prot.c: Likewise.
2595 * sunrpc/rpc_thread.c: Likewise.
2596 * sunrpc/rtime.c: Likewise.
2597 * sunrpc/svc.c: Likewise.
2598 * sunrpc/svc_auth.c: Likewise.
2599 * sunrpc/svc_raw.c: Likewise.
2600 * sunrpc/svc_run.c: Likewise.
2601 * sunrpc/svc_tcp.c: Likewise.
2602 * sunrpc/svc_udp.c: Likewise.
2603 * sunrpc/svc_unix.c: Likewise.
2604 * sunrpc/svcauth_des.c: Likewise.
2605 * sunrpc/xcrypt.c: Likewise.
2606 * sunrpc/xdr.c: Likewise.
2607 * sunrpc/xdr_array.c: Likewise.
2608 * sunrpc/xdr_float.c: Likewise.
2609 * sunrpc/xdr_intXX_t.c: Likewise.
2610 * sunrpc/xdr_mem.c: Likewise.
2611 * sunrpc/xdr_rec.c: Likewise.
2612 * sunrpc/xdr_ref.c: Likewise.
2613 * sunrpc/xdr_sizeof.c: Likewise.
2614 * sunrpc/xdr_stdio.c: Likewise.
2615
b5c086a2
RM
26162012-05-10 Roland McGrath <roland@hack.frob.com>
2617
2618 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2619 change. Update copyright years.
2620
6d74dd09
JM
26212012-05-10 Joseph Myers <joseph@codesourcery.com>
2622
2623 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2624
28e72501
MK
26252012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2626 Joseph Myers <joseph@codesourcery.com>
2627 Paul Pluzhnikov <ppluzhnikov@google.com>
2628
2629 [BZ #14012]
2630 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2631 requiring rpcgen.
2632 [cross-compiling] (extra-libs): Likewise.
2633 [cross-compiling] (extra-libs-others): Likewise.
2634 [cross-compiling] (librpcsvc-routines): Likewise.
2635 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2636 [cross-compiling] (omit-deps): Likewise.
2637 (sunrpc-CPPFLAGS): New variable.
2638 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2639 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2640 (cross-rpcgen-objs): New variable.
2641 (extra-objs): Append $(cross-rpcgen-objs).
2642 ($(cross-rpcgen-objs)): New rule.
2643 ($(objpfx)cross-rpcgen): Likewise.
2644 (rpcgen-cmd): Define to use $(built-program-file). Expand
2645 comment.
2646 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2647 ($(objpfx)x%.stmp): Likewise.
2648 * sunrpc/proto.h [IS_IN_build] (_): Define.
2649 [IS_IN_build] (_libc_intl_domainname): Likewise.
2650
c8c59454
L
26512012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2652
2653 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2654 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2655 and R_X86_64_TPOFF64.
2656
6f27cd16
JM
26572012-05-10 Joseph Myers <joseph@codesourcery.com>
2658
2659 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2660 sysdeps/unix/sysv/syscalls.list.
2661 (stime): Likewise.
2662 (utime): Likewise.
2663 * sysdeps/unix/sysv/syscalls.list: Remove file.
2664
02467e1c
PE
26652012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2666
2667 [BZ #3440]
2668 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2669 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2670 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2671 (__LC_IDENTIFICATION): Make these macros useful in #if
2672 expressions, as required by C99.
2673
da392631
AS
26742012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2675
2676 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2677 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2678 after this.
2679
8115f29b
L
26802012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2681
2682 * stdlib/longlong.h: Updated from GCC.
2683
bdd74070
AJ
26842012-05-09 Andreas Jaeger <aj@suse.de>
2685
edfe0dbe
AJ
2686 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2687 default is first entry.
2688 (run_mode): Set type.
2689 (main): Remove informal message about syslog.
2690 (options): Fix typo.
2691
bcfe3a54
ST
2692 [BZ #14053]
2693 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 2694 to asm.
bcfe3a54
ST
2695 (lrint): Likewise.
2696 (llrintf): Likewise.
2697 (llrint): Likewise.
2698 (rint): Likewise.
2699 (rintf): Likewise.
2700 (nearbyint): Likewise.
2701 (nearbyintf): Likewise.
bdd74070 2702
91d8d69e
AJ
27032012-05-09 Andreas Jaeger <aj@suse.de>
2704 Pedro Alves <palves@redhat.com>
2705
2706 * nscd/nscd.c (run_mode): Use enum.
2707 (main): Cleanup coding style issue.
2708
bb90b80b
AJ
27092012-05-09 Alexandre Oliva <aoliva@redhat.com>
2710 Andreas Jaeger <aj@suse.de>
2711
bcfe3a54
ST
2712 * nscd/nscd.c (go_background): Replaced with...
2713 (run_mode): ... this.
bb90b80b 2714 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
2715 (options): Add -F --foreground.
2716 (main): Implement it.
2717 (parse_opt): Parse it.
bb90b80b 2718
1a4b75a1
AJ
27192012-05-09 Andreas Jaeger <aj@suse.de>
2720
2721 [BZ #14083]
2722 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2723 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2724 -Wconversion warning.
2725 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2726 Likewise.
2727
b1cc2472
JM
27282012-05-09 Joseph Myers <joseph@codesourcery.com>
2729
2730 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2731 == 0.
2732 (LC_ALL): Use macro-int-constant.
2733 (LC_COLLATE): Likewise.
2734 (LC_CTYPE): Likewise.
2735 (LC_MESSAGES): Likewise.
2736 (LC_MONETARY): Likewise.
2737 (LC_NUMERIC): Likewise.
2738 (LC_TIME): Likewise.
2739 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2740 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2741 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2742 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2743 Specify type.
2744 [C99-based standards] (float_t): Expect type.
2745 [C99-based standards] (double_t): Expect type.
2746 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2747 type.
2748 [C99-based standards] (HUGE_VALL): Likewise.
2749 [C99-based standards] (INFINITY): Likewise.
2750 [C99-based standards] (NAN): Likewise.
2751 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2752 [C99-based standards] (FP_NAN): Likewise.
2753 [C99-based standards] (FP_NORMAL): Likewise.
2754 [C99-based standards] (FP_SUBNORMAL): Likewise.
2755 [C99-based standards] (FP_ZERO): Likewise.
2756 [C99-based standards] (FP_FAST_FMA): Use
2757 optional-macro-int-constant. Specify type. Require == 1.
2758 [C99-based standards] (FP_FAST_FMAF): Likewise.
2759 [C99-based standards] (FP_FAST_FMAL): Likewise.
2760 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2761 [C99-based standards] (FP_ILOGBNAN): Likewise.
2762 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2763 Specify type.
2764 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2765 [C99-based standards] (math_errhandling): Specify type.
2766 [ISO99 || ISO11] (signgam): Do not allow.
2767 [non-C99-based standards] (copysignf): Do not allow.
2768 [non-C99-based standards] (exp2f): Likewise.
2769 [non-C99-based standards] (log2f): Likewise.
2770 [non-C99-based standards] (modff): Allow.
2771 [non-C99-based standards] (erff): Do not allow.
2772 [non-C99-based standards] (erfcf): Likewise.
2773 [non-C99-based standards] (gammaf): Likewise.
2774 [non-C99-based standards] (hypotf): Likewise.
2775 [non-C99-based standards] (j0f): Likewise.
2776 [non-C99-based standards] (j1f): Likewise.
2777 [non-C99-based standards] (jnf): Likewise.
2778 [non-C99-based standards] (lgammaf): Likewise.
2779 [non-C99-based standards] (tgammaf): Likewise.
2780 [non-C99-based standards] (y0f): Likewise.
2781 [non-C99-based standards] (y1f): Likewise.
2782 [non-C99-based standards] (ynf): Likewise.
2783 [non-C99-based standards] (isnanf): Likewise.
2784 [non-C99-based standards] (acoshf): Likewise.
2785 [non-C99-based standards] (asinhf): Likewise.
2786 [non-C99-based standards] (atanhf): Likewise.
2787 [non-C99-based standards] (cbrtf): Likewise.
2788 [non-C99-based standards] (expm1f): Likewise.
2789 [non-C99-based standards] (ilogbf): Likewise.
2790 [non-C99-based standards] (log1pf): Likewise.
2791 [non-C99-based standards] (logbf): Likewise.
2792 [non-C99-based standards] (nextafterf): Likewise.
2793 [non-C99-based standards] (remainderf): Likewise.
2794 [non-C99-based standards] (rintf): Likewise.
2795 [non-C99-based standards] (scalbf): Likewise.
2796 [non-C99-based standards] (copysignl): Likewise.
2797 [non-C99-based standards] (exp2l): Likewise.
2798 [non-C99-based standards] (log2l): Likewise.
2799 [non-C99-based standards] (modfl): Allow.
2800 [non-C99-based standards] (erfl): Do not allow.
2801 [non-C99-based standards] (erfcl): Likewise.
2802 [non-C99-based standards] (gammal): Likewise.
2803 [non-C99-based standards] (hypotl): Likewise.
2804 [non-C99-based standards] (j0l): Likewise.
2805 [non-C99-based standards] (j1l): Likewise.
2806 [non-C99-based standards] (jnl): Likewise.
2807 [non-C99-based standards] (lgammal): Likewise.
2808 [non-C99-based standards] (tgammal): Likewise.
2809 [non-C99-based standards] (y0l): Likewise.
2810 [non-C99-based standards] (y1l): Likewise.
2811 [non-C99-based standards] (ynl): Likewise.
2812 [non-C99-based standards] (isnanl): Likewise.
2813 [non-C99-based standards] (acoshl): Likewise.
2814 [non-C99-based standards] (asinhl): Likewise.
2815 [non-C99-based standards] (atanhl): Likewise.
2816 [non-C99-based standards] (cbrtl): Likewise.
2817 [non-C99-based standards] (expm1l): Likewise.
2818 [non-C99-based standards] (ilogbl): Likewise.
2819 [non-C99-based standards] (log1pl): Likewise.
2820 [non-C99-based standards] (logbl): Likewise.
2821 [non-C99-based standards] (nextafterl): Likewise.
2822 [non-C99-based standards] (remainderl): Likewise.
2823 [non-C99-based standards] (rintl): Likewise.
2824 [non-C99-based standards] (scalbl): Likewise.
2825 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2826 [non-C99-based standards] (FP_*): Do not allow.
2827 [C99-based standards] (FP_*): Change to
2828 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2829 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2830 allow.
2831 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2832 (SIG_ERR): Likewise.
2833 [X/Open-based standards] (SIG_HOLD): Likewise.
2834 (SIG_IGN): Likewise.
2835 (SIGABRT): Use macro-int-constant. Specify type. Require
2836 positive value.
2837 (SIGFPE): Likewise.
2838 (SIGILL): Likewise.
2839 (SIGINT): Likewise.
2840 (SIGSEGV): Likewise.
2841 (SIGTER): Likewise.
2842 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2843 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2844 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2845 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2846 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2847 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2848 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2849 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2850 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2851 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2852 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2853 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2854 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2855 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2856 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2857 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2858 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2859 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2860 [X/Open-based standards] (SIGTRAP): Likewise.
2861 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2862 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2863 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2864 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2865 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2866 allow.
2867
b9f1922d
IW
28682012-05-08 Ian Wienand <ianw@vmware.com>
2869
2870 [BZ #14080]
2871 * time/tzset.c (__tzset_parse_tz): Update default rules for
2872 daylight time changes in the Energy Policy Act of 2005.
2873
1db86e88
AJ
28742012-05-09 Andreas Jaeger <aj@suse.de>
2875
2876 [BZ #13983]
2877 * elf/ldconfig.c (parse_conf): Change string to make clear that
2878 ldconfig only issued a warning if ld.so.conf does not exist.
2879
dee4a4e3
DM
28802012-05-08 David S. Miller <davem@davemloft.net>
2881
ee0db190
DM
2882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2883 movxtod instead of popping the value on the stack.
2884
dee4a4e3
DM
2885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2886
6a43ec98
CD
28872012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2888
2889 * config.h.in: Add HAVE_ARM_PCS_VFP.
2890
05c2c961
RMG
28912012-05-08 Roland Mc Grath <roland@hack.frob.com>
2892
bcfe3a54
ST
2893 [BZ #13979]
2894 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2895 checking but the checks are disabled for any reason.
05c2c961 2896
4b30f61a
L
28972012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2898
2899 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2900 and ELF64_R_TYPE with ELFW(R_TYPE).
2901
eee2bc67
JM
29022012-05-08 Joseph Myers <joseph@codesourcery.com>
2903
7ea5391a
JM
2904 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2905 (ulimit): Likewise.
2906
eee2bc67
JM
2907 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2908 (settimeofday): Likewise.
2909
abb66a67
MF
29102012-05-08 Mike Frysinger <vapier@gentoo.org>
2911
2912 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2913 a struct th_u2 inside the union, and move tu_block/tu_code into
2914 a new th_u3 union of tu_block/tu_code inside of that. Move
2915 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
2916 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
2917 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2918 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
2919 (th_stuff): Change to th_u1.tu_stuff.
2920 (th_data): Define.
2921 (th_msg): Change to th_u1.th_u2.tu_data.
2922
7f18b530
DM
29232012-05-07 David S. Miller <davem@davemloft.net>
2924
05760585
DM
2925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2926
7f18b530
DM
2927 [BZ #14074]
2928 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2929 (SETUP_PIC_REG): Use it.
2930 (SETUP_PIC_REG_LEAF): Use it.
2931
495fd99f
JM
29322012-05-07 Joseph Myers <joseph@codesourcery.com>
2933
2934 [BZ #13885]
2935 [BZ #13923]
2936 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2937 USE_AS_EXPM1L.
2938 (EXPL_FINITE): Likewise.
2939 (FLDLOG): Likewise.
2940 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2941 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2942 e_expl.S.
2943 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2944 USE_AS_EXPM1L.
2945 (EXPL_FINITE): Likewise.
2946 (FLDLOG): Likewise.
2947 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2948 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2949 e_expl.S.
2950 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2951 test of -max_value argument for long double.
2952 * sysdeps/i386/fpu/libm-test-ulps: Update.
2953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2954
6693d694
DM
29552012-05-06 David S. Miller <davem@davemloft.net>
2956
2957 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2958 quad soft-float symbols whose references which are compiler
2959 generated.
2960 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2961
6c23e11c
JM
29622012-05-06 Joseph Myers <joseph@codesourcery.com>
2963
d8b82cad
JM
2964 [BZ #13884]
2965 [BZ #13914]
2966 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2967 USE_AS_EXP10L.
2968 (EXPL_FINITE): Likewise.
2969 (FLDLOG): Likewise.
2970 (c0): Likewise.
2971 (c1): Likewise.
2972 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2973 Adjust comments for base varying.
2974 (__expl_finite): Change alias to EXPL_FINITE.
2975 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
2976 e_expl.S.
2977 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
2978 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2979 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2980 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
2981 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2982 USE_AS_EXP10L.
2983 (EXPL_FINITE): Likewise.
2984 (FLDLOG): Likewise.
2985 (c0): Likewise.
2986 (c1): Likewise.
2987 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2988 Adjust comments for base varying.
2989 (__expl_finite): Change alias to EXPL_FINITE.
2990 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
2991 tests for bugs.
2992 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2993
6c23e11c
JM
2994 [BZ #14064]
2995 * math/libm-test.inc (check_float_internal): Correct ulp
2996 calculation for subnormal expected results.
2997
29ba805c
AJ
29982012-05-06 Andreas Jaeger <aj@suse.de>
2999
3000 * Makeconfig (+math-flags): New, set to -frounding-math.
3001 (+cflags): Add +math-flags so that all of glibc gets compiled with
3002 it.
3003
3004 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3005
7b17aeda
JM
30062012-05-05 Joseph Myers <joseph@codesourcery.com>
3007
5779f134
JM
3008 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3009 Disable one test.
3010
41498f4d
JM
3011 [BZ #13787]
3012 [BZ #13922]
3013 [BZ #14036]
3014 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3015 (__ieee754_expl): Allow for and saturate large arguments.
3016 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3017 (u_threshold): Likewise.
3018 (__exp): Call __ieee754_exp before checking for overflow and
3019 underflow.
3020 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3021 (u_threshold): Likewise.
3022 (__expf): Call __ieee754_expf before checking for overflow and
3023 underflow.
3024 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3025 (u_threshold): Likewise.
3026 (__expl): Call __ieee754_expl before checking for overflow and
3027 underflow.
3028 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3029 (__ieee754_expl): Allow for and saturate large arguments.
3030 * math/libm-test.inc (exp_test): Add another test. Do not allow
3031 missing overflow exception on overflow.
3032 (expm1_test): Do not allow missing overflow exception on overflow.
3033
6698b8bf
JM
3034 * sysdeps/i386/fpu/e_expl.c: Move to ...
3035 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3036 rather than using inline asm.
3037 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3038 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3039 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3040
7b17aeda
JM
3041 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3042 (nice): Likewise.
3043 (poll): Likewise.
3044 (signal): Likewise.
3045 (time): Likewise.
3046 (times): Likewise.
3047
f7c85819
JM
30482012-05-04 Joseph Myers <joseph@codesourcery.com>
3049
3050 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3051 sysdeps/unix/common/syscalls.list.
3052 (fchmod): Likewise.
3053 (fchown): Likewise.
3054 (ftruncate): Likewise.
3055 (getrusage): Likewise.
3056 (gettimeofday): Likewise.
3057 (setpgid): Likewise.
3058 (setregid): Likewise.
3059 (setreuid): Likewise.
3060 (sigaction): Likewise.
3061 (truncate): Likewise.
3062 (vhangup): Likewise.
3063 * sysdeps/unix/common/syscalls.list: Remove file.
3064 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3065 * sysdeps/unix/sysv/linux/Implies: Likewise.
3066
336270d0
L
30672012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3068
3069 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3070 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3071 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3072 Moved to ...
3073 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3074 Here.
3075 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3076 to ...
3077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3078 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3079 to ...
3080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3081 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3082 to ...
3083 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3084 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3085 to ...
3086 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3087 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3088 to ...
3089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3090 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3091 to ...
3092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3093 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3094 to ...
3095 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3096 Here.
3097 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3098 to ...
3099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3100 Here.
3101 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3102 to ...
3103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3104 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3105 Moved to ...
3106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3107 Here.
3108 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3109 to ...
3110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3111
d128e450
JM
31122012-05-04 Joseph Myers <joseph@codesourcery.com>
3113
fa8ee516
JM
3114 * sysdeps/unix/common/bits/dirent.h: Remove file.
3115 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3116
d128e450
JM
3117 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3118 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3119 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3120 * sysdeps/unix/bsd/isatty.c: Likewise.
3121 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3122 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3123 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3124
ff8faaf0 31252012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3126
62881be4 3127 [BZ #13563]
31dc8730
AZ
3128 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3129 long double comparison inaccuracies.
3130 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3132
6fef930c
AS
31332012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3134
3135 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3136 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3137
8f203e6c
JM
31382012-05-04 Joseph Myers <joseph@codesourcery.com>
3139
3140 [BZ #14049]
3141 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3142 nonzero digits before rounding a hex value.
3143 * stdlib/tst-strtod.c (tests): Add another test.
3144
5197d9c2
AK
31452012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3146
3147 * sysdeps/s390/fpu/libm-test-ulps: Update.
3148
f0c1dedf
AJ
31492012-05-03 Andreas Jaeger <aj@suse.de>
3150
3151 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3152 does not get optimized out.
3153 (malloc_opt_barrier): New.
3154
a65ef2ae 31552012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3156 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3157
2b942cb7 3158 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3159 intermediate file deletion.
2b942cb7 3160 (generated): Add .symlist files.
a65ef2ae 3161
54b71e02
JM
31622012-05-03 Joseph Myers <joseph@codesourcery.com>
3163
3164 [BZ #13775]
3165 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3166 Redirect under this condition.
3167 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3168 [__USE_GNU] (__dprintf_chk): Not under this condition.
3169 [__USE_GNU] (__vdprintf_chk): Likewise.
3170 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3171 under this condition.
3172 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3173 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3174 [__USE_XOPEN2K8] (vdprintf): Likewise.
3175 [__USE_GNU] (__dprintf_chk): Not under this condition.
3176 [__USE_GNU] (__vdprintf_chk): Likewise.
3177 [__USE_GNU] (dprintf): Likewise.
3178 [__USE_GNU] (vdprintf): Likewise.
3179
d3dfcc41
RM
31802012-05-03 Roland McGrath <roland@hack.frob.com>
3181
3182 * elf/Makefile (common-generated): Set this instead of generated for
3183 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3184 $(all-built-dso)-derived lists.
3185
7ac30cc5
AJ
31862012-05-03 Andreas Jaeger <aj@suse.de>
3187
0c51e550
AJ
3188 * sysdeps/i386/fpu/libm-test-ulps: Update.
3189
7ac30cc5
AJ
3190 * FAQ: Removed.
3191 * FAQ.in: Likewise.
3192 * scripts/gen-FAQ.pl: Likewise.
3193 * manual/install.texi (Installation): Point to online location of
3194 FAQ.
3195 * Makefile (files-for-dist): Remove FAQ.
3196 (FAQ): Remove.
3197
d4c2917f
AM
31982012-05-02 Allan McRae <allan@archlinux.org>
3199
3200 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3201 (LDFLAGS-reldepmod5.so): Likewise.
3202 (LDFLAGS-reldep6mod1.so): Likewise.
3203 (LDFLAGS-reldep6mod4.so): Likewise.
3204 (LDFLAGS-reldep8mod3.so): Likewise.
3205 (LDFLAGS-unload4mod1.so): Likewise.
3206 (LDFLAGS-unload4mod2.so): Likewise.
3207 (LDFLAGS-tst-initorder): Likewise.
3208 (LDFLAGS-tst-initordera2.so): Likewise.
3209 (LDFLAGS-tst-initordera3.so): Likewise.
3210 (LDFLAGS-tst-initordera4.so): Likewise.
3211 (LDFLAGS-tst-initorderb2.so): Likewise.
3212 (LDFLAGS-noload): Likewise.
3213 (LDFLAGS-next): Likewise.
3214 (LDFLAGS-order2mod1.so): Likewise.
3215 (LDFLAGS-order2mod2.so): Likewise.
3216 (LDFLAGS-tst-initorder2): Likewise.
3217 (LDFLAGS-tst-initorder2a.so): Likewise.
3218 (LDFLAGS-tst-initorder2b.so): Likewise.
3219 (LDFLAGS-tst-initorder2c.so): Likewise.
3220 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3221
d77f993f
DM
32222012-05-02 David S. Miller <davem@davemloft.net>
3223
3224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3225
171a70b4
PP
32262012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3227
3228 [BZ #14055]
3229 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3230
0be196ad
AJ
32312012-05-02 Andreas Jaeger <aj@suse.de>
3232
3233 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3234 since we manipulate rounding mode.
3235 (CPPFLAGS-test-idouble.c): Likewise.
3236 (CPPFLAGS-test-ifloat.c): Likewise.
3237 (CFLAGS-test-ldouble.c): Likewise.
3238 (CFLAGS-test-double.c): Likewise.
3239 (CFLAGS-test-float.c): Likewise.
3240 (CFLAGS-test-misc.c): Likewise.
3241 (CFLAGS-test-test-fenv.c): Likewise.
3242
4f9d04aa
AZ
32432012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3244
2b942cb7
RM
3245 [BZ #2550]
3246 [BZ #2570]
3247 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3248 comparisons to determine direction to adjust input.
4f9d04aa 3249
82a79e7d
RM
32502012-05-01 Roland McGrath <roland@hack.frob.com>
3251
f5a01ca9
RM
3252 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3253 output to the target.
3254
90fe4186
RM
3255 * scripts/localplt.awk: New file.
3256 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3257 (check-localplt-CFLAGS): Variable removed.
3258 ($(all-built-dso:=.jmprel)): New static pattern rule.
3259 (generated): Add those targets.
3260 (localplt-built-dso): New variable.
3261 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3262
3263 * elf/check-localplt.c: File removed.
3264
82397ed6
RM
3265 * scripts/check-execstack.awk: New file.
3266 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3267 (check-execstack-CFLAGS): Variable removed.
3268 ($(objpfx)check-execstack.h): Target removed.
3269 ($(objpfx)execstack-default): New target.
3270 (generated): Add that instead of check-execstack.h.
3271 ($(all-built-dso:=.phdr)): New static pattern rule.
3272 (generated): Add those targets.
3273 * elf/check-execstack.c: File removed.
3274
82a79e7d
RM
3275 * scripts/check-textrel.awk: New file.
3276 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3277 (check-textrel-CFLAGS): Variable removed.
3278 (all-built-dso): Use := to define.o
3279 ($(all-built-dso:=.dyn)): New static pattern rule.
3280 (generated): Add those targets.
3281 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3282 * config.make.in (READELF): New substituted variable.
3283 * elf/check-textrel.c: File removed.
3284
62fde54f 32852012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3286
615605c9
JM
3287 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3288 allow.
3289 * conform/data/ctype.h-data [C99-based standards] (isblank):
3290 Expect function.
3291 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3292 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3293 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3294 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3295 Specify type. Require positive value.
3296 (EILSEQ): Likewise.
3297 (ERANGE): Likewise.
3298 [ISO || POSIX] (EILSEQ): Do not expect.
3299 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3300 Specify type. Require positive value.
3301 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3302 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3303 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3304 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3305 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3306 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3307 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3308 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3309 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3310 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3311 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3312 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3313 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3314 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3315 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3316 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3317 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3318 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3319 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3320 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3321 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3322 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3323 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3324 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3325 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3326 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3327 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3328 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3329 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3330 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3331 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3332 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3333 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3334 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3335 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3336 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3337 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3338 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3339 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3340 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3341 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3342 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3343 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3344 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3345 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3346 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3347 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3348 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3349 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3350 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3351 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3352 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3353 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3354 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3355 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3356 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3357 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3358 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3359 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3360 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3361 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3362 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3363 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3364 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3365 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3366 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3367 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3368 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3369 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3370 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3371 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3372 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3373 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3374 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3375 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3376 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3377 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3378 Require >= 2.
3379 (FLT_ROUNDS): Expect as macro, not constant.
3380 (FLT_MANT_DIG): Use macro-int-constant.
3381 (DBL_MANT_DIG): Likewise.
3382 (LDBL_MANT_DIG): Likewise.
3383 (FLT_DIG): Likewise.
3384 (DBL_DIG): Likewise.
3385 (LDBL_DIG): Likewise.
3386 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3387 (DBL_MIN_EXP): Likewise.
3388 (LDBL_MIN_EXP): Likewise.
3389 (FLT_MAX_EXP): Use macro-int-constant.
3390 (DBL_MAX_EXP): Likewise.
3391 (LDBL_MAX_EXP): Likewise.
3392 (FLT_MAX_10_EXP): Likewise.
3393 (DBL_MAX_10_EXP): Likewise.
3394 (LDBL_MAX_10_EXP): Likewise.
3395 (FLT_MAX): Use macro-constant.
3396 (DBL_MAX): Likewise.
3397 (LDBL_MAX): Likewise.
3398 (FLT_EPSILON): Use macro-constant. Give upper bound.
3399 (DBL_EPSILON): Likewise.
3400 (LDBL_EPSILON): Likewise.
3401 (FLT_MIN): Likewise.
3402 (DBL_MIN): Likewise.
3403 (LDBL_MIN): Likewise.
3404 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3405 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3406 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3407 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3408 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3409 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3410 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3411 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3412 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3413 [ISO11] (FLT_TRUE_MIN): Likewise.
3414 [ISO11] (LDBL_TRUE_MIN): Likewise.
3415 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3416 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3417 (SCHAR_MIN): Use macro-int-constant. Specify type.
3418 (SCHAR_MAX): Likewise.
3419 (UCHAR_MAX): Likewise.
3420 (CHAR_MIN): Likewise.
3421 (CHAR_MAX): Likewise.
3422 (MB_LEN_MAX): Use macro-int-constant.
3423 (SHRT_MIN): Use macro-int-constant. Specify type.
3424 (SHRT_MAX): Likewise.
3425 (USHRT_MAX): Likewise.
3426 (INT_MAX): Likewise.
3427 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3428 bound negative.
3429 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3430 bound with "U".
3431 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3432 bound with "L".
3433 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3434 bound negative. Suffix upper bound with "L".
3435 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3436 bound with "UL".
3437 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3438 Specify type.
3439 [C99-based standards] (LLONG_MAX): Likewise.
3440 [C99-based standards] (ULLONG_MAX): Likewise.
3441 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3442 == 0.
3443 [ISO11] (max_align_t): Require type.
3444 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3445
c9140a62
JM
3446 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3447 from $CFLAGS, without defining away __attribute__ calls.
3448 (checknamespace): Use $CFLAGS_namespace.
3449
9af0bf29
JM
3450 * conform/conformtest.pl (@keywords): Only include C99 keywords
3451 for standards based on C99 or C11.
3452
343222a2
JM
3453 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3454 Disable tests.
3455 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3456 UNIX98]: Likewise.
3457
661f8cf0
JM
3458 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3459 usability of symbols in #if.
3460
ee74b9cb
JM
3461 * conform/conformtest.pl: If macro or constant types start
3462 "promoted:", expect the symbol to be of the following type
3463 promoted by the integer promotions.
62fde54f 3464
aafc49b3
JM
3465 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3466 in one place. Also handle "macro-constant".
3467
fefdf574
JM
3468 * conform/conformtest.pl: Only accept expected macro values with
3469 "==". Parse all "macro" lines in one place.
3470 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3471
f2d922fe
JM
3472 * conform/conformtest.pl: Handle braced types on "constant" lines
3473 instead of handling "typed-constant".
3474 * conform/data/signal.h-data: Use "constant" instead of
3475 "typed-constant".
3476
d22956c9
JM
3477 * conform/conformtest.pl: Handle "optional-" at start of lines in
3478 one place rather than duplicating several cases. Handle each
3479 format of "macro" line with initial "optional-".
3480
028e2e38
JM
3481 * conform/conformtest.pl: Only accept expected constant or
3482 optional-constant values with "==". Parse all "constant" lines in
3483 one place. Parse all "optional-constant" lines in one place.
3484 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3485 * conform/data/fmtmsg.h-data: Likewise.
3486 * conform/data/netinet/in.h-data: Likewise.
3487 * conform/data/tar.h-data: Likewise.
3488 * conform/data/limits.h-data: Use "==" form on "constant" and
3489 "optional-constant" lines.
3490
1b8f2850
JM
3491 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3492 Use -std=c99 for XOPEN2K.
3493 (@knownproblems): Remove.
3494 (newtoken): Don't check %isknown.
3495
a05a144b
JM
3496 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3497 Do not expect macro.
3498 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3499 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3500 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3501 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3502 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3503 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3504 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3505 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3506 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3507 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3508 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3509 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3510 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3511 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3512 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3513 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3514 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3515 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3516 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3517 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3518 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3519 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3520 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3521 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3522 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3523 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3524 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3525 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3526 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3527 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3528 [XPG3] (acosh): Likewise.
3529 [XPG3] (asinh): Likewise.
3530 [XPG3] (atanh): Likewise.
3531 [XPG3] (cbrt): Likewise.
3532 [XPG3] (expm1): Likewise.
3533 [XPG3] (ilogb): Likewise.
3534 [XPG3] (log1p): Likewise.
3535 [XPG3] (logb): Likewise.
3536 [XPG3] (nextafter): Likewise.
3537 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3538 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3539 [XPG3] (remainder): Likewise.
3540 [XPG3] (rint): Likewise.
3541 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3542 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3543 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3544 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3545 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3546 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3547 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3548 [UNIX98 || XOPEN2K] (scalb): Expect.
3549 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3550 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3551 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3552 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3553 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3554 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3555 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3556 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3557 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3558 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3559 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3560 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3561 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3562 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3563 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3564 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3565 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3566 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3567 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3568 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3569 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3570 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3571 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3572 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3573 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3574 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3575 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3576 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3577 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3578 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3579 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3580 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3581 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3582 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3583 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3584 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3585 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3586 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3587 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3588 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3589 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3590 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3591 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3592 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3593 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3594 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3595 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3596 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3597 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3598 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3599 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3600 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3601 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3602 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3603 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3604 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3605 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3606 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3607 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3608 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3609 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3610 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3611 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3612 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3613 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3614 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3615 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3616 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3617 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3618 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3619 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3620 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3621 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3622 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3623 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3624 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3625 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3626 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3627 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3628 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3629 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3630 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3631 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3632 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3633 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3634 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3635 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3636 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3637 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3638 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3639 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3640 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3641 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3642 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3643 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3644 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3645 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3646 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3647 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3648 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3649 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3650 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3651 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3652 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3653 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3654 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3655 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3656 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3657 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3658 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3659 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3660 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3661 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3662 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3663 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3664 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3665 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3666 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3667 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3668 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3669 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3670 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3671 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3672 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3673 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3674 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3675 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3676 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3677 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3678 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3679 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3680 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3681 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3682 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3683 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3684 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3685 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3686
73c5ebe3
JM
3687 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3688 _XOPEN_SOURCE_EXTENDED for XPG4.
3689
39c33b6c
JM
3690 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3691
62fde54f
JM
3692 * Makeconfig (localtime): Remove variable.
3693 (inst_localtime-file): Likewise.
3694
0741d64c
AS
36952012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3696
3697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3698 Update.
3699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3700 Update.
3701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3702 Update.
3703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3704 Update.
3705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3706 Update.
3707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3708 Update.
3709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3710 Update.
3711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3712 Update.
3713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3714 Update.
3715
7cb029ee
JM
37162012-05-01 Joseph Myers <joseph@codesourcery.com>
3717
3718 [BZ #2550]
3719 [BZ #2570]
3720 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3721 comparisons to determine direction to adjust input.
3722 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3723 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3724 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3725 Likewise.
3726 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3727 Likewise.
3728 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3729 Likewise.
3730 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3731 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3732 Likewise.
3733 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3734 Likewise.
3735 * math/libm-test.inc (nexttoward_test): Add more tests.
3736
412bd966
AS
37372012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3738
3739 [BZ #14040]
3740 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3741 in version GLIBC_2.1, not GLIBC_2.0.
3742 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3743 Likewise.
3744
9568c0c2
JM
37452012-04-30 Joseph Myers <joseph@codesourcery.com>
3746
adfbc8ac
JM
3747 [BZ #13942]
3748 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3749 (1 - x) * (1 + x).
3750 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3751 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3752 * math/libm-test.inc (acos_test): Add more tests.
3753 (asin_test): Likewise.
3754 * sysdeps/i386/fpu/libm-test-ulps: Update.
3755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3756
5ba3cc69
JM
3757 [BZ #14034]
3758 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3759 of square root.
3760 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3761 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3762 * math/libm-test.inc (acos_test_tonearest): New function.
3763 (acos_test_towardzero): Likewise.
3764 (acos_test_downward): Likewise.
3765 (acos_test_upward): Likewise.
3766 (asin_test_tonearest): Likewise.
3767 (asin_test_towardzero): Likewise.
3768 (asin_test_downward): Likewise.
3769 (asin_test_upward): Likewise.
3770 (main): Call the new functions.
3771 * sysdeps/i386/fpu/libm-test-ulps: Update.
3772 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3773
9568c0c2
JM
3774 [BZ #13884]
3775 [BZ #13924]
3776 * math/e_exp10.c: Include <float.h>.
3777 (__ieee754_exp10): Handle underflow here rather than multiplying
3778 large negative argument by M_LN10.
3779 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3780 of __ieee754_expf.
3781 * math/e_exp10l.c: Include <float.h>.
3782 (__ieee754_exp10l): Handle underflow here rather than multiplying
3783 large negative argument by M_LN10l.
3784 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3785 spurious overflow exception on underflow.
3786
5ac3ea17
MP
37872012-04-29 Marek Polacek <polacek@redhat.com>
3788
3789 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3790 (__fortify_function): New macro.
3791 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3792 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3793 __extern_always_inline.
3794 * libio/bits/stdio2.h: Likewise.
3795 * libio/bits/stdio.h: Likewise.
3796 * string/string.h: Likewise.
3797 * string/bits/string3.h: Likewise.
3798 * include/stdio.h: Likewise.
3799 * stdlib/bits/stdlib.h: Likewise.
3800 * stdlib/stdlib.h: Likewise.
3801 * rt/bits/mqueue2.h: Likewise.
3802 * rt/mqueue.h: Likewise.
3803 * posix/bits/unistd.h: Likewise.
3804 * posix/unistd.h: Likewise.
3805 * io/bits/poll2.h: Likewise.
3806 * io/bits/fcntl2.h: Likewise.
3807 * io/fcntl.h: Likewise.
3808 * io/sys/poll.h: Likewise.
3809 * misc/bits/syslog.h: Likewise.
3810 * misc/bits/syslog-ldbl.h: Likewise.
3811 * misc/sys/syslog.h: Likewise.
3812 * socket/bits/socket2.h: Likewise.
3813 * socket/sys/socket.h: Likewise.
3814 * debug/tst-chk1.c: Likewise.
3815 * wcsmbs/bits/wchar2.h: Likewise.
3816 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3817 * wcsmbs/wchar.h: Likewise.
3818
ecf0ebfb
AJ
38192012-04-29 Andreas Jaeger <aj@suse.de>
3820
3821 * Makerules (tests): Remove enable-check-abi protection.
3822 (check-abi-warn): Remove.
3823 (check-abi-%): Remove check-abi-warn usage.
3824
3825 * configure.in: Remove check-abi configure option.
3826 * configure: Regenerated.
3827 * config.make.in (enable-check-abi): Remove.
3828
6d5c57fa
AS
38292012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3830
24c5d07e 3831 [BZ #14033]
ded5180a
AS
3832 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3833 double functions to double *_finite functions.
3834
7e0d315d
AS
3835 [BZ #13941]
3836 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3837 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3838 LDBL_MIN_EXP.
3839 * stdio-common/Makefile (tests): Add tst-sprintf3.
3840 * stdio-common/tst-sprintf3.c: New file.
3841
6d5c57fa
AS
3842 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3843 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3844
0749ff8b
JM
38452012-04-28 Joseph Myers <joseph@codesourcery.com>
3846
3847 * conform/conformtest.pl: Remove duplicate typed-constant
3848 handling.
3849
8dbd5d7b
DM
38502012-04-28 David S. Miller <davem@davemloft.net>
3851
3852 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3853 (check-abi-%): Remove AWK script prerequisite and explicit
3854 abilist directory.
3855 (check-abi): Rewrite to just diff the symlist with the abilist.
3856 (config-tls, config-abi-config): Delete, no longer used.
3857 (update-abi-%): Remove AWK script and explicit abilist directory.
3858 (update-abi): Rewrite to simply compare and conditionally copy the
3859 symlist and the sysdep abilist file. Remove update-abi-config
3860 checks.
3861 * abilist/ld.abilist: Remove.
3862 * abilist/libBrokenLocale.abilist: Remove.
3863 * abilist/libanl.abilist: Remove.
3864 * abilist/libcrypt.abilist: Remove.
3865 * abilist/libdl.abilist: Remove.
3866 * abilist/librt.abilist: Remove.
3867 * abilist/libthread_db.abilist: Remove.
3868 * abilist/libutil.abilist: Remove.
3869 * scripts/extract-abilist.awk: Remove.
3870 * scripts/merge-abilist.awk: Remove.
3871 * sysdeps/generic/libcidn.abilist: New file.
3872 * sysdeps/generic/libnss_compat.abilist: New file.
3873 * sysdeps/generic/libnss_db.abilist: New file.
3874 * sysdeps/generic/libnss_dns.abilist: New file.
3875 * sysdeps/generic/libnss_files.abilist: New file.
3876 * sysdeps/generic/libnss_hesiod.abilist: New file.
3877 * sysdeps/generic/libnss_nis.abilist: New file.
3878 * sysdeps/generic/libnss_nisplus.abilist: New file.
3879 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3880 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3881 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3882 file.
3883 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3884 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3885 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3886 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3887 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3888 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3889 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3890 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3891 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3892 file.
3893 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3894 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3895 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3896 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3897 file.
3898 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3899 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3900 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3901 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3902 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3903 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3904 file.
3905 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3906 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3907 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3908 file.
3909 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3910 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3911 New file.
3912 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3913 New file.
3914 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3915 New file.
3916 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3917 New file.
3918 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
3919 New file.
3920 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
3921 New file.
3922 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
3923 New file.
3924 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3925 New file.
3926 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3927 New file.
3928 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3929 New file.
3930 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3931 New file.
3932 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3933 New file.
3934 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3935 New file.
3936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3937 file.
3938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3939 New file.
3940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3941 New file.
3942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3943 file.
3944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3945 New file.
3946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3947 New file.
3948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3949 file.
3950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3951 New file.
3952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3953 New file.
3954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3955 New file.
3956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3957 New file.
3958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3959 New file.
3960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3961 New file.
3962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3964 file.
3965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3966 New file.
3967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3968 file.
3969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3970 file.
3971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3972 file.
3973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
3974 file.
3975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
3976 file.
3977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3978 New file.
3979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
3980 file.
3981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
3982 file.
3983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3984 New file.
3985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
3986 file.
3987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
3988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
3989 file.
3990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3991 New file.
3992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
3993 file.
3994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
3995 file.
3996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
3997 file.
3998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
3999 file.
4000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4001 file.
4002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4003 New file.
4004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4005 file.
4006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4007 file.
4008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4009 New file.
4010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4011 file.
4012 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4013 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4014 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4015 file.
4016 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4017 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4018 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4019 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4020 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4021 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4022 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4023 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4024 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4025 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4026 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4028 file.
4029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4030 New file.
4031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4032 file.
4033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4034 file.
4035 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4036 file.
4037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4038 file.
4039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4040 file.
4041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4042 New file.
4043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4044 New file.
4045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4046 file.
4047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4048 New file.
4049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4050 file.
4051 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4053 file.
4054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4055 New file.
4056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4057 file.
4058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4059 file.
4060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4061 file.
4062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4063 file.
4064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4065 file.
4066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4067 New file.
4068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4069 New file.
4070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4071 file.
4072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4073 New file.
4074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4075 file.
4076
41d73a1b
JM
40772012-04-28 Joseph Myers <joseph@codesourcery.com>
4078
4079 * conform/conformtest.pl: Fix typo in handling typed-constant from
4080 allow-header.
4081
28aeeda4
JM
40822012-04-27 Joseph Myers <joseph@codesourcery.com>
4083
adae8f5e
JM
4084 * README: Cut down references to pre-2.6 Linux kernels and
4085 Linuxthreads. Update lists of configurations in libc and ports
4086 and sort alphabetically. Say "or newer" with Linux kernel version
4087 requirements.
4088
28aeeda4
JM
4089 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4090
a462cb63
RA
40912012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4092
4093 [BZ #887]
4094 * math/libm-test.inc (logb_test_downward): New test to expose
4095 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4096 rounding mode.
4097
6ad3493e
JM
40982012-04-27 Joseph Myers <joseph@codesourcery.com>
4099
4100 [BZ #14027]
4101 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4102 to be done.
4103 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4104 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4105
2ce4f015
JM
41062012-04-26 Joseph Myers <joseph@codesourcery.com>
4107
5aeb141a
JM
4108 * sysdeps/unix/i386/brk.S: Remove file.
4109 * sysdeps/unix/i386/dl-brk.S: Likewise.
4110 * sysdeps/unix/i386/pipe.S: Likewise.
4111 * sysdeps/unix/i386/sigreturn.S: Likewise.
4112 * sysdeps/unix/i386/syscall.S: Likewise.
4113 * sysdeps/unix/i386/vfork.S: Likewise.
4114 * sysdeps/unix/i386/wait.S: Likewise.
4115
7143acae
JM
4116 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4117 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4118
2ce4f015
JM
4119 * configure.in (arm*-none*): Do not allow without
4120 --enable-hacker-mode.
4121 (netbsd*): Remove case setting base_os.
4122 (386bsd*): Likewise.
4123 (freebsd*): Likewise.
4124 (bsdi*): Likewise.
4125 (osf*): Likewise.
4126 (sunos*): Likewise.
4127 (ultrix*): Likewise.
4128 (newsos*): Likewise.
4129 (dynix*): Likewise.
4130 (*bsd*): Likewise.
4131 (sysv*): Likewise.
4132 (isc*): Likewise.
4133 (esix*): Likewise.
4134 (sco*): Likewise.
4135 (minix*): Likewise.
4136 (irix4*): Likewise.
4137 (irix6*): Likewise.
4138 (solaris[2-9]*): Likewise.
4139 (none): Likewise.
4140 * configure: Regenerated.
4141
0ac229c8
AZ
41422012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4143
4144 [BZ #11521]
4145 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4146 overflow or cancellation in calculating denominator.
4147 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4148 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4149 down expression to avoid unexpected rounding in newer GCCs.
4150 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4151
33f244f4
DM
41522012-04-26 David S. Miller <davem@davemloft.net>
4153
4154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4155 long-double compat symbols.
4156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4169
cfa1f3e8
DM
41702012-04-25 David S. Miller <davem@davemloft.net>
4171
4172 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4173 HWCAP_* values only after the memory barriers have been defined.
4174 (atomic_full_barrier): Define.
4175 (atomic_read_barrier): Define.
4176 (atomic_write_barrier): Define.
4177
6e236b92
SP
41782012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4179
4180 * shlib-versions: Add libgcc_s version information.
4181 * sysdeps/generic/libgcc_s.h: Remove.
4182 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4183 libgcc_s.h.
4184 * sysdeps/gnu/unwind-resume.c: Likewise.
4185 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4186
aab39a09
DM
41872012-04-25 David S. Miller <davem@davemloft.net>
4188
4189 * sysdeps/unix/sparc/brk.S: Delete.
4190 * sysdeps/unix/sparc/dl-brk.S: Delete.
4191 * sysdeps/unix/sparc/pipe.S: Delete.
4192 * sysdeps/unix/sparc/sysdep.S: Delete.
4193 * sysdeps/unix/sparc/sysdep.h: Delete.
4194 * sysdeps/unix/sparc/vfork.S: Delete.
4195 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4196 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4197 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4198 ret_ERRVAL, r0, r1, MOVE): Define.
4199 (JUMPTARGET): Remove.
4200 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4201 sysdeps/unix/sparc/sysdep.h
4202 (ENTRY, END): Remove.
4203 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4204
a3cc4f48
JM
42052012-04-25 Joseph Myers <joseph@codesourcery.com>
4206
2ed8cda2
JM
4207 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4208 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4209 -DIS_IN_build.
4210
35d76d59
JM
4211 * timezone/README: Update upstream location and email address for
4212 tzcode and tzdata.
4213 * timezone/zdump.c: Update from tzcode 2012b.
4214 * timezone/zic.c: Likewise.
4215
a3cc4f48
JM
4216 * configure.in (libc_cv_as_needed): Remove test.
4217 * configure: Regenerated.
4218 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4219 conditional definition.
4220 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4221 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4222 * config.make.in (have-as-needed): Remove variable.
4223
ceab42c3
SP
42242012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4225 Paul Pluzhnikov <ppluzhnikov@google.com>
4226
4227 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4228 strings correctly.
4229
3ce2865f
CLT
42302012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4231
4232 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4233 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4234 * sysdeps/sh/strlen.S: Likewise.
4235
f37e0d68
JM
42362012-04-24 Joseph Myers <joseph@codesourcery.com>
4237
ae186e9a
JM
4238 * sysdeps/unix/fork.S: Remove file.
4239 * sysdeps/unix/i386/fork.S: Likewise.
4240 * sysdeps/unix/sparc/fork.S: Likewise.
4241
b96914af
JM
4242 * sysdeps/unix/system.c: Remove file.
4243 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4244
f37e0d68
JM
4245 * sysdeps/unix/getegid.S: Remove file.
4246 * sysdeps/unix/geteuid.S: Likewise.
4247
87ef29ca
RM
42482012-04-24 Roland McGrath <roland@hack.frob.com>
4249
83bcd236
RM
4250 * scripts/check-localplt.awk: New file.
4251 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4252 of diff.
4253 * scripts/data/localplt-generic.data: Add a comment.
4254
87ef29ca
RM
4255 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4256 NODE when __dir_mkfile failed.
4257 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4258 Reported by Ludovic Courtès <ludo@gnu.org>.
4259
e5a6e567
AJ
42602012-04-24 Andreas Jaeger <aj@suse.de>
4261
4262 * Makerules (common-clean): Also remove gen-as-const-headers
4263 files.
4264
c1820385
JM
42652012-04-24 Joseph Myers <joseph@codesourcery.com>
4266
4267 * Makerules (native-compile): Do not change working directory for
4268 build. Use $(OUTPUT_OPTION) in command.
4269 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4270
94e02fc4
AZ
42712012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4272
4273 [BZ #13886]
4274 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4275 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4276 * math/libm-test.inc (floor_test): Add more tests.
4277 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4278
3a533ca3
JM
42792012-04-24 Joseph Myers <joseph@codesourcery.com>
4280
940ab4b3
JM
4281 * sysdeps/unix/getdents.c: Remove file.
4282 * sysdeps/unix/sysv/getdents.c: Likewise.
4283 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4284
90e037bd
JM
4285 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4286 sysdeps/unix/mman/syscalls.list.
4287 (mmap): Likewise.
4288 (mprotect): Likewise.
4289 (msync): Likewise.
4290 (munmap): Likewise.
4291 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4292 * sysdeps/unix/mman/syscalls.list: Remove.
4293 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4294
3a533ca3
JM
4295 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4296 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4297 * configure: Regenerated.
4298 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4299 $(libgcc_s_suffix).
4300 * config.make.in (libgcc_s_suffix): Remove variable.
4301
1ad743de
JM
43022012-04-23 Joseph Myers <joseph@codesourcery.com>
4303
4ad451e2
JM
4304 * sysdeps/unix/sysv/gethostname.c: Move to ...
4305 * sysdeps/posix/gethostname.c: ... here.
4306
5e37ce39
JM
4307 * sysdeps/unix/execve.S: Remove file.
4308
1ad743de
JM
4309 * sysdeps/unix/_exit.S: Remove file.
4310
4e681b5b
AJ
43112012-04-23 Andreas Jaeger <aj@suse.de>
4312
4313 [BZ #13739]
4314 * manual/Makefile: Remove make dist support, there's no
4315 need for a stand-alone documentation tar ball.
4316 (TEXI2DVI): Define always, it's not in Makeconfig.
4317 (dist): Removed.
4318 (tar-it): Removed.
4319 (edition): Removed.
4320 (glibc-doc-$(edition).tar): Removed
4321 (%.Z): Removed.
4322 (%.gz): Removed.
4323 (%.uu): Removed.
4324 (ETAGS): Remove, it's in Makeconfig.
4325 (move-if-change): Remove, it's in Makeconfig.
4326
c0baea34
PE
43272013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4328
4329 [BZ #13970]
4330 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4331 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4332 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4333 (strtod_l, strtof_l, strtold_l): Remove __wur.
4334 It is not necessarily an error to ignore strtol's return value.
4335 One can reliably look at the stored endptr to decide whether
4336 the number had valid syntax.
4337
7c0616fa
AJ
43382012-04-21 Andreas Jaeger <aj@suse.de>
4339
803cb6b7 4340 [BZ #13739]
7c0616fa
AJ
4341 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4342
b0fe253f
JM
43432012-04-21 Joseph Myers <joseph@codesourcery.com>
4344
4345 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4346 * sysdeps/unix/sysv/Versions: Remove file.
4347
8280f22d
MT
43482012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4349
4350 [BZ #13927]
4351 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4352
75ce411f 43532012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4354
4355 [BZ #7064]
4356 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4357 version from __vm86.
4358
097d59fa
JM
43592012-04-20 Joseph Myers <joseph@codesourcery.com>
4360
a90f3bcb
JM
4361 * sysdeps/unix/common/lxstat.c: Remove file.
4362 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4363
edc7ea78
JM
4364 * sysdeps/unix/sysv/Makefile: Remove file.
4365
cb78c221
JM
4366 * sysdeps/unix/sysv/direct.h: Remove file.
4367
efa6a45f
JM
4368 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4369 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4370 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4371 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4372 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4373 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4374 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4375
9c9f2d0c
JM
4376 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4377
4541c83b
JM
4378 * sysdeps/unix/xmknod.c: Remove file.
4379 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4380
f5d153a0
JM
4381 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4382
aa746595
JM
4383 * sysdeps/unix/sysv/i386/time.S: Remove file.
4384
cce5905e
JM
4385 * sysdeps/unix/fxstat.c: Remove file.
4386 * sysdeps/unix/xstat.c: Likewise.
4387 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4388
37fa3841
JM
4389 * sysdeps/unix/sysv/sigaction.c: Remove file.
4390
ff1962a3
JM
4391 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4392 (sysdep_headers): Remove variable.
4393 [termio.h not in sysdep_headers] (generated): Likewise.
4394 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4395 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4396 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4397 * sysdeps/unix/sysv/tcflow.c: Likewise.
4398 * sysdeps/unix/sysv/tcflush.c: Likewise.
4399 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4400 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4401 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4402 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4403 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4404
e7740d31
JM
4405 * sysdeps/unix/siglist.c: Remove file.
4406
ee06f18b
JM
4407 * sysdeps/unix/getppid.S: Remove file.
4408
097d59fa
JM
4409 * sysdeps/unix/mkdir.c: Remove file.
4410 * sysdeps/unix/rmdir.c: Likewise.
4411
ff3d51ec
AS
44122012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4413
4414 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4415 ERR_MAX value.
4416 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4417 errlist-compat value.
4418
50f81fd7
DM
44192012-04-18 David S. Miller <davem@davemloft.net>
4420
4421 * sysdeps/generic/memcopy.h (reg_char): Delete.
4422 * debug/strcat_chk.c: Use char, not reg_char.
4423 * debug/strcpy_chk.c: Likewise.
4424 * debug/strncat_chk.c: Likewise.
4425 * debug/strncpy_chk.c: Likewise.
4426 * string/memchr.c: Likewise.
4427 * string/memrchr.c: Likewise.
4428 * string/rawmemchr.c: Likewise.
4429 * string/strcat.c: Likewise.
4430 * string/strchr.c: Likewise.
4431 * string/strchrnul.c: Likewise.
4432 * string/strcmp.c: Likewise.
4433 * string/strcpy.c: Likewise.
4434 * string/strncat.c: Likewise.
4435 * string/strncmp.c: Likewise.
4436 * string/strncpy.c: Likewise.
4437
8ff41c46
WS
44382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4439
4440 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4441 __builtin_memcopy is called when src and dest ranges are known to not
4442 overlap.
4443
6b652f46
WS
44442012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4445
4446 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4447 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4448 fwd_align_merge macro call.
4449 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4450 bwd_align_merge macro call.
4451 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4452
b282631e
WS
44532012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4454
4455 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4456 bwd_align_merge macros.
4457 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4458 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4459 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4460
95aa737c
DM
44612012-04-18 David S. Miller <davem@davemloft.net>
4462
4463 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4464
7a99a614
AJ
44652012-04-18 Andreas Jaeger <aj@suse.de>
4466
4467 [BZ# 6794]
4468 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4469 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4470 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4471
4472 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4473 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4474 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4475
4476 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4477 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4478 Adjust for changed ldbl-128 files.
4479
4480 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4481 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4482 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4483
e5270c23
DM
44842012-04-17 David S. Miller <davem@davemloft.net>
4485
4486 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4487
fb5e92c9
AS
44882012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4489
4490 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4491 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4492 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4493 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4494 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4495 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4496
76da7265
AZ
44972012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4498
4499 [BZ #6794]
4500 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4501 * math/libm-test.inc: Add ilogb errno and exception tests.
4502 * math/w_ilogb.c: New file: ilogb wrapper.
4503 * math/w_ilogbf.c: New file: ilogbf wrapper.
4504 * math/w_ilogbl.c: New file: ilogbl wrapper.
4505 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4506 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4507 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4508 exception being thrown with 0.0 as argument.
4509 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4510 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4511 exception being thrown with 0.0 as argument.
4512 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4513 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4514 exception being thrown with 0.0 as argument.
4515 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4516 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4517 exception being thrown with 0.0 as argument.
4518 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4519 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 4520 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
4521 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4522 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4523 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4524 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4525 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4526 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4527
0396e69d
PB
45282012-04-17 Petr Baudis <pasky@ucw.cz>
4529
4530 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4531 with altivec.
4532
750b5926
MP
45332012-04-16 Marek Polacek <polacek@redhat.com>
4534
4535 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4536
751728a1
MP
45372012-04-16 Marek Polacek <polacek@redhat.com>
4538
4539 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4540 operands of fdivp instruction.
4541
34a27407
L
45422012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4543
4544 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4545 * elf/tst-auditmod3b.c: Likewise.
4546 * elf/tst-auditmod4b.c: Likewise.
4547 * elf/tst-auditmod5b.c: Likewise.
4548 * elf/tst-auditmod6b.c: Likewise.
4549 * elf/tst-auditmod6c.c: Likewise.
4550 * elf/tst-auditmod7b.c: Likewise.
4551 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4552 * sysdeps/x86_64/preconfigure.in: Likewise.
4553 * sysdeps/x86_64/preconfigure: Regenerated.
4554
7e73e17d
L
45552012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4556
4557 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4558 __ILP32__.
4559
c7a6ab72
AB
45602012-04-13 Antoine Balestrat <merkil33@gmail.com>
4561
4562 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4563 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4564
a9e8e0e0
CL
45652012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4566
4567 [BZ #13973]
4568 * locale/iso-639.def: Fix gl language name. Spotted by
4569 Yaron Shahrabani.
4570
ec98af7d
RM
45712012-04-12 Roland McGrath <roland@hack.frob.com>
4572
4573 [BZ #2074]
4574 * libio/libio.h (__io_write_fn): Update comment.
4575
247c3ede
PB
45762012-04-12 Petr Baudis <pasky@ucw.cz>
4577
4578 [BZ #2074]
4579 * stdio.texi (Hook Functions): The user provided writer function
4580 is not allowed to return -1.
4581
55939d6d
DM
45822012-04-11 David S. Miller <davem@davemloft.net>
4583
4584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4585
90020f5a
MF
45862012-04-11 Mike Frysinger <vapier@gentoo.org>
4587
4588 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4589 Add a leading slash to rtkaio.
4590
288f9098
JM
45912012-04-11 Jim Meyering <meyering@redhat.com>
4592
90020f5a
MF
4593 [BZ #11959]
4594 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4595 It is not necessarily an error to ignore fwrite's return
4596 value. One can reliably use ferror to test for errors after
4597 the fact.
288f9098 4598
4be2b570
L
45992012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4600
4601 * bits/types.h (__snseconds_t): New type.
4602 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4603
4604 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4605 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4606 (__SNSECONDS_T_TYPE): Likewise.
4607 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4608 (__SNSECONDS_T_TYPE): Likewise.
4609 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4610 (__SNSECONDS_T_TYPE): Likewise.
4611
288f9098 46122012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
4613
4614 [BZ #2636]
4615 * manual/time.texi (Processor Time): Return type of times is
4616 elapsed real time since an arbitrary point in the past.
4617 (CPU Time): Move CLK_TCK from here...
4618 (Processor Time): ...to here. Correct description.
4619 * manual/conf.texi (Constants for Sysconf): Correct description of
4620 _SC_CLK_TCK.
4621
d7dd4413
DM
46222012-04-10 David S. Miller <davem@davemloft.net>
4623
4624 [BZ #13967]
4625 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4626 where the is a gap between DT_REL(A) and DT_JMPREL.
4627
b46068fc
L
46282012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4629
4630 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4631 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4632 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4633
73d65cc3
SP
46342012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4635
4636 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4637 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4638 (dl_main): Handle --inhibit-cache.
4639 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4640 _dl_inhibit_cache.
4641 * elf/dl-load.c (_dl_map_object): Use it.
4642 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4643
bcc8d661
JM
46442012-04-09 Joseph Myers <joseph@codesourcery.com>
4645
8f9a2fae
JM
4646 [BZ #13872]
4647 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4648 (__ieee754_powl): Saturate large exponents rather than testing for
4649 overflow of y*log2(x).
4650 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4651 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4652 exceptions.
4653
bcc8d661
JM
4654 [BZ #11521]
4655 * math/s_ctan.c: Include <float.h>.
4656 (__ctan): Avoid internal overflow or cancellation in calculating
4657 denominator.
4658 * math/s_ctanf.c: Likewise.
4659 * math/s_ctanl.c: Likewise.
4660 * math/s_ctanh.c: Likewise.
4661 * math/s_ctanhf.c: Likewise.
4662 * math/s_ctanhl.c: Likewise.
4663 * math/libm-test.inc (ctan_test): Add more tests.
4664 (ctanh_test): Likewise.
4665 * sysdeps/i386/fpu/libm-test-ulps: Update.
4666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4667
823fbbb4
AJ
46682012-04-09 Andreas Jaeger <aj@suse.de>
4669
03879793
AJ
4670 [BZ #6894]
4671 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4672 is an optional BSD extension.
4673
823fbbb4
AJ
4674 [BZ #10254]
4675 * manual/stdio.texi (Opening Streams): Document additional fopen
4676 parameters.
4677
8de131cb
RM
46782012-04-09 Roland McGrath <roland@hack.frob.com>
4679
4680 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4681 %eax without telling the compiler.
4682
c0ed9d7d
CD
46832012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4684
4685 [BZ # 13963]
4686 * manual/install.texi: Use sourceware.org.
4687
c483f6b4
JM
46882012-04-09 Joseph Myers <joseph@codesourcery.com>
4689
d7dd9453
JM
4690 [BZ #13873]
4691 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4692 (__ieee754_pow): Generate overflow and underflow using huge*huge
4693 and tiny*tiny rather than just returning constant infinity or zero
4694 for large exponents.
4695 * math/libm-test.inc (pow_test): Require overflow exceptions for
4696 applicable cases of large exponents.
4697
c483f6b4
JM
4698 [BZ #706]
4699 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4700 (__ieee754_pow): Use iterative multiplication algorithm only for
4701 integer exponents with absolute value below 1024. Check for odd
4702 integer exponents when using algorithm for real exponents.
4703 * math/libm-test.inc (pow_test): Add more tests.
4704 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4705
d2de7579
JM
47062012-04-08 Joseph Myers <joseph@codesourcery.com>
4707
4708 [BZ #13705]
4709 * math/libm-test.inc (exp_test): Do not allow overflow exception
4710 on underflow test.
4711
f77f1232
AJ
47122012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4713
4714 [BZ #13705]
4715 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4716 instead of __kernel_standard_f.
4717
3884932b
MF
47182012-04-08 Mike Frysinger <vapier@gentoo.org>
4719
4720 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4721 * sysdeps/x86_64/memset_chk.S: Likewise.
4722
54472e9c
AJ
47232012-04-08 Andreas Jaeger <aj@suse.de>
4724
6ab0fbfc
AJ
4725 [BZ #10153]
4726 * manual/startup.texi (Environment Access): Describe return value
4727 for putenv and setenv.
4728
61efba8c
AJ
4729 [BZ #6895]
4730 * manual/filesys.texi (Directory Entries): Add description for
4731 DT_LNK.
4732
95c3f29a
AJ
4733 [BZ #6890]
4734 * manual/filesys.texi (Directory Entries): Clarify that it's file
4735 system not operating system in the description of DT_UNKNOWN.
4736
54472e9c
AJ
4737 [BZ #6578]
4738 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4739
624254b1
SC
47402012-04-08 Stephen Compall <s11@member.fsf.org>
4741
4742 [BZ #6649]
4743 * manual/llio.texi (Opening and Closing Files): Add cross
4744 reference to explain mode argument.
4745
1e4920e0
MF
47462012-04-07 Mike Frysinger <vapier@gentoo.org>
4747
4748 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4749 * sysdeps/x86_64/memset_chk.S: Likewise.
4750
5ed848f3
DM
47512012-04-07 David S. Miller <davem@davemloft.net>
4752
4753 * elf/elf.h (R_SPARC_WDISP10): Define.
4754 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4755 R_SPARC_SIZE32.
4756 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4757 R_SPARC_SIZE64 and R_SPARC_H34.
4758
96154cd8
CD
47592012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4760
4761 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4762 conditions and remove no longer applicable assertion.
4763
9904dc47
L
47642012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4765
4766 * bits/byteswap.h: Include <features.h>.
4767 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4768 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4769
f8887d0a
L
47702012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4771
4772 * bits/byteswap.h (__bswap_16): Removed.
4773 Include <bits/byteswap-16.h> to get __bswap_16.
4774 * sysdeps/i386/bits/byteswap.h: Likewise.
4775 * sysdeps/s390/bits/byteswap.h: Likewise.
4776 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4777 * bits/byteswap-16.h: New file.
4778 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4779 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4780 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4781 * string/Makefile (headers): Add bits/byteswap-16.h.
4782
62470f60
PP
47832012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4784
4785 [BZ #13895]
4786 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4787 extra indirection.
4788 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4789 * nss/tst-nss-static.c: New.
4790
4dad7bab
RM
47912012-04-06 Robert Millan <rmh@gnu.org>
4792
4793 [BZ #6486]
4794 * manual/llio.texi (File Position Primitive): lseek
4795 refers to WHENCE when it really means OFFSET.
4796
e9142a17
AJ
47972012-04-06 Andreas Jaeger <aj@suse.de>
4798
2c040eff
AJ
4799 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4800 strncmp declarations.
4801
e9142a17
AJ
4802 * abilist/libc.abilist: Add __poll and __ppoll.
4803
ff9f1c5f
DM
48042012-04-05 David S. Miller <davem@davemloft.net>
4805
dcd2ae90
DM
4806 * scripts/check-local-headers.sh: Accept a host triplet in the
4807 path matched by the exclude regexp.
4808
993eb054
DM
4809 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4810 definition.
4811 * sysdeps/powerpc/powerpc32/dl-machine.h
4812 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4813 * sysdeps/s390/s390-32/dl-machine.h
4814 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4815 * sysdeps/sparc/sparc32/dl-machine.h
4816 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4817 * sysdeps/sparc/sparc64/dl-machine.h
4818 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4819
ff9f1c5f
DM
4820 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4821 lazy binding.
48e2e132 4822 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
4823 undefined symbol errors.
4824
48e2e132 4825 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
4826 DT_NEEDED entries.
4827
e80d6f94
MM
48282012-04-05 Michael Matz <matz@suse.de>
4829
4830 [BZ #13592]
4831 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4832
349fa79f
AJ
48332012-04-05 Andreas Jaeger <aj@suse.de>
4834
4835 [BZ #13908]
4836 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4837 comment.
4838
f402708f
KK
48392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4840
4841 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4842 which ROUND is no valid rounding mode.
4843
2ecccfc9
KK
48442012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4845
4846 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4847 read again.
4848 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4849
8a53f50f
KK
48502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4851
4852 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4853 an exception using FPU order intentionally.
4854
48552012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4856
4857 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4858 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4859 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4860 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4861
d653abb7
SJ
48622012-04-05 Simon Josefsson <simon@josefsson.org>
4863
4864 [BZ #12340]
4865 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4866 EINVAL when BUFLEN is too smal.
4867
c3b1bf7d
TS
48682012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4869
4870 [BZ #13553]
4871 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4872 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4873
b1aa60f3
AJ
48742012-04-03 Andreas Jaeger <aj@suse.de>
4875
c3b1bf7d 4876 [BZ #13938]
67f60a26
AJ
4877 * manual/setjmp.texi (System V contexts): Fix sentence.
4878
b1aa60f3
AJ
4879 [BZ #13926]
4880 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4881 New macro for this case.
4882 [!__GNUC__] (__bswap_64): New inline function for this case.
4883 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4884 * bits/byteswap.h: Likewise.
4885 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4886 ull, guard with __GLIBC_HAVE_LONG_LONG.
4887
4888 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4889 __GLIBC_HAVE_LONG_LONG.
4890
4891 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4892 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4893
39c59c35
TMQMF
48942012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4895
4896 [BZ #13691]
4897 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4898 inptr and inend, rather than using last_ch.
4899
135ffda8
DM
49002012-04-02 David S. Miller <davem@davemloft.net>
4901
4902 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4903 * stdio-common/printf-parse.h (read_int): Change return type to
4904 'int', return -1 on INT_MAX overflow.
4905 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4906 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4907 overflows INT_MAX. Check for overflow of in-format-string precision
4908 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4909 SIZE_MAX not INT_MAX for integer overflow test.
4910 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4911 skip the construct in the format string but do not record anything.
4912 * stdio-common/bug22.c: Adjust to test both width/prevision
4913 INT_MAX overflow as well as total length INT_MAX overflow. Check
4914 explicitly for proper errno values.
4915
228c019e
TS
49162012-04-02 Thomas Schwinge <thomas@codesourcery.com>
4917
302cadd3
TS
4918 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
4919 CHAR_MAX.
4920 * string/test-strcmp.c [! WIDE]: Likewise.
4921 * time/tst-mktime2.c: Likewise for INT_MAX.
4922 * string/test-string.h: #include <sys/param.h> for MIN.
4923
228c019e
TS
4924 * csu/init-first.c (__libc_init_first): Call __ctype_init.
4925 * sysdeps/i386/init-first.c (init): Likewise.
4926 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4927 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4928 * sysdeps/sh/init-first.c (init): Likewise.
4929
cfa633f5
UD
49302012-04-01 Ulrich Drepper <drepper@gmail.com>
4931
4932 * po/ru.po: Update from translation team.
d1635ef8 4933 * po/vi.po: Likewise.
cfa633f5 4934
6cd0a5ea
SP
49352012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4936
4937 * resolv/nss_dns/dns-host.c: Merge copyright years.
4938
4b43400f
LD
49392012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4940
4941 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4942 Optimize memcpy with prefetch if
4943 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4944 src, dst pointers have unequal 16 byte alignments.
4945
48c41d04
SP
49462012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4947
4948 [BZ #13928]
4949 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4950 from a CNAME entry and return the minimum ttl for the query.
4951 (gaih_getanswer_slice): Likewise.
4952
b8dc394d
JL
49532012-03-30 Jeff Law <law@redhat.com>
4954
4955 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4956 due to long keys.
4957 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4958 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4959
2f5a5ed0
JL
4960 * resolv/nss_dns/dns-host.c: Update copyright year.
4961
1d39e359
UD
49622012-03-30 Ulrich Drepper <drepper@gmail.com>
4963
c030f70c 4964 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 4965 requests to save a system call. Fix check that all bytes are sent.
c030f70c 4966
1d39e359
UD
4967 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4968 comments for sendmmsg.
4969
49702012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
4971
4972 [BZ #13691]
4973 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
4974 with only 1 character between 0x0041 and 0x01b0.
4975 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
4976 * wcsmbs/tst-mbsnrtowcs.c: New file.
4977
20fde227
DM
49782012-03-29 David S. Miller <davem@davemloft.net>
4979
4980 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
4981 small copies by hand.
4982
984a4237
JL
49832012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4984
4985 [BZ #13761]
4986 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
4987 _nss_compat_initgroups_dyn): Fall back to malloc/free
4988 for large group memberships.
4989
18c9d62b
DM
49902012-03-28 David S. Miller <davem@davemloft.net>
4991
88d85d4f
DM
4992 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
4993 that branches into memcpy.
4994 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4995 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4996 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4997 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4998 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
4999 bits.
5000 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5001 implementation too.
5002 * sysdeps/sparc/mempcpy.S: New file.
5003
e5aa83e1
DM
5004 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5005 the IFUNC routine in the libc case.
5006 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5007
88570753
DM
5008 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5009 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5010 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5011 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5012 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5013 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5014 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5015 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5016
249d7567
DM
5017 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5018 loop to 256 bytes instead of 64 bytes and fix test signedness.
5019
18c9d62b
DM
5020 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5021 * sysdeps/sparc/sparc32/Makefile: rather than here...
5022 * sysdeps/sparc/sparc64/Makefile: and here.
5023
05f3d1f6
UD
50242012-03-28 Ulrich Drepper <drepper@gmail.com>
5025
5026 * malloc/mallocbug.c: Avoid warnings about unused variables.
5027
86ae07a8
JL
50282012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5029
5030 [BZ #13760]
5031 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5032 in the right place. Discard and retry query if response is
5033 larger than input buffer size.
5034
41bf21a1
JM
50352012-03-28 Joseph Myers <joseph@codesourcery.com>
5036
d6270972
JM
5037 [BZ #369]
5038 [BZ #2678]
5039 [BZ #3866]
5040 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5041 x for large integer exponent.
5042 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5043 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5044 sign of result as needed afterwards.
5045 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5046 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5047 result for underflowing pow the same as for overflow.
5048 (__kernel_standard_l): Handle powl overflow and underflow here
5049 rather than calling __kernel_standard.
5050 * math/libm-test.inc (pow_test): Add more tests.
5051
414fca03 5052 [BZ #3868]
41bf21a1
JM
5053 [BZ #13879]
5054 [BZ #13910]
5055 [BZ #13911]
5056 [BZ #13912]
5057 [BZ #13913]
5058 [BZ #13915]
5059 [BZ #13916]
5060 [BZ #13917]
5061 [BZ #13918]
5062 [BZ #13919]
5063 [BZ #13920]
5064 [BZ #13921]
5065 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5066 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5067 (__kernel_standard_l): New function.
5068 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5069 __kernel_standard.
5070 * math/w_acosl.c (__acosl): Likewise.
5071 * math/w_asinl.c (__asinl): Likewise.
5072 * math/w_atan2l.c (__atan2l): Likewise.
5073 * math/w_atanhl.c (__atanhl): Likewise.
5074 * math/w_coshl.c (__coshl): Likewise.
5075 * math/w_exp10l.c (__exp10l): Likewise.
5076 * math/w_exp2l.c (__exp2l): Likewise.
5077 * math/w_fmodl.c (__fmodl): Likewise.
5078 * math/w_hypotl.c (__hypotl): Likewise.
5079 * math/w_j0l.c (__j0l, __y0l): Likewise.
5080 * math/w_j1l.c (__j1l, __y1l): Likewise.
5081 * math/w_jnl.c (__jnl, __ynl): Likewise.
5082 * math/w_lgammal.c (__lgammal): Likewise.
5083 * math/w_log10l.c (__log10l): Likewise.
5084 * math/w_log2l.c (__log2l): Likewise.
5085 * math/w_logl.c (__logl): Likewise.
5086 * math/w_powl.c (__powl): Likewise.
5087 * math/w_remainderl.c (__remainderl): Likewise.
5088 * math/w_scalbl.c (sysv_scalbl): Likewise.
5089 * math/w_sinhl.c (__sinhl): Likewise.
5090 * math/w_sqrtl.c (__sqrtl): Likewise.
5091 * math/w_tgammal.c (__tgammal): Likewise.
5092 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5093 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5094 * math/libm-test.inc (acos_test): Add more tests.
5095 (acosh_test): Likewise.
5096 (asin_test): Likewise.
5097 (atanh_test): Likewise.
5098 (exp_test): Likewise.
5099 (exp10_test): Likewise.
5100 (exp2_test): Likewise.
5101 (expm1_test): Likewise.
5102 (lgamma_test): Likewise.
5103 (log_test): Likewise.
5104 (log10_test): Likewise.
5105 (log1p_test): Likewise.
5106 (log2_test): Likewise.
5107 (pow_test): Do not allow some spurious overflow exceptions.
5108 (sqrt_test): Add more tests.
5109 (tgamma_test): Likewise.
5110 (y0_test): Likewise.
5111 (y1_test): Likewise.
5112 (yn_test): Likewise.
5113
dd62fda6
AB
51142012-03-27 Anton Blanchard <anton@samba.org>
5115
5116 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5117 MAP_HUGETLB.
5118 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5119 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5120 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5121
1e3cdfda
AJ
51222012-03-27 David S. Miller <davem@davemloft.net>
5123
b855ab85
DM
5124 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5125
1e3cdfda
AJ
5126 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5127 have-as-vis3 check.
5128
51292012-03-27 Andreas Jaeger <aj@suse.de>
5130
5131 * sysdeps/x86_64/elf/configure.in: Moved to ...
5132 * sysdeps/x86_64/configure.in: ... here.
5133 * sysdeps/x86_64/elf/start.S: Moved to ...
5134 * sysdeps/x86_64/start.S: ... here.
5135 * sysdeps/x86_64/elf/configure: Delete.
5136
5137 * sysdeps/x86_64/configure.in: Merge contents from
5138 sysdeps/i386/configure.in (without i686 check).
5139
5140 * sysdeps/i386/elf/Versions: Merge into ...
5141 * sysdeps/i386/Versions: ... this.
5142 * sysdeps/i386/elf/Versions: Delete file.
5143 * sysdeps/i386/elf/start.S: Moved to ...
5144 * sysdeps/i386/start.S: ...here.
5145 * sysdeps/i386/elf/configure.in: Merge into...
5146 * sysdeps/i386/configure.in: ...here.
5147 * sysdeps/i386/elf/configure.in: Delete file.
5148 * sysdeps/i386/elf/configure: Delete file.
5149
5150 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5151 * debug/backtracesyms.c: ... here.
5152 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5153 * debug/backtracesymsfd.c: ... here.
5154 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5155 * sysdeps/generic/ifunc-sel.h: ... here.
5156
5157 * sysdeps/unix/i386/start.c: Delete file.
5158 * sysdeps/unix/sparc/start.c: Delete file.
5159 * sysdeps/unix/start.c: Delete file.
5160
5161 * sysdeps/sh/elf/configure.in: Moved to ...
5162 * sysdeps/sh/configure.in: ... here.
5163 * sysdeps/sh/elf/start.S: Moved to ...
5164 * sysdeps/sh/start.S: ... here.
5165 * sysdeps/sh/elf/configure: Delete file.
5166
5167 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5168 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5169 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5170 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5171 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5172 * sysdeps/powerpc/powerpc64/start.S: here.
5173 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5174 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5175 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5176 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5177 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5178
5179 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5180 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5181 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5182 * sysdeps/powerpc/powerpc32/start.S: ... here.
5183 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5184 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5185 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5186
5187 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5188 * sysdeps/powerpc/ifunc-sel.h: ... here.
5189 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5190 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5191
5192 * sysdeps/sparc/elf/configure.in: Moved to ...
5193 * sysdeps/sparc/configure.in: ... here.
5194 * sysdeps/sparc/elf/configure: Delete file.
5195 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5196 * sysdeps/sparc/sparc32/start.S: ... here.
5197 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5198 * sysdeps/sparc/sparc64/start.S: ... here.
5199 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5200 * sysdeps/sparc/sparc32/Makefile: ... this.
5201 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5202 * sysdeps/sparc/sparc64/Makefile: ... this.
5203
5204 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5205 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5206 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5207 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5208 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5209 * sysdeps/s390/s390-32/setjmp.S: ... here.
5210 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5211 * sysdeps/s390/s390-32/configure.in: ... here.
5212 * sysdeps/s390/s390-32/elf/configure: Delete file.
5213 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5214 * sysdeps/s390/s390-32/start.S: ... here.
5215
5216 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5217 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5218 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5219 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5220 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5221 * sysdeps/s390/s390-64/setjmp.S: ... here.
5222 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5223 * sysdeps/s390/s390-64/configure.in: ... here
5224 * sysdeps/s390/s390-64/elf/configure: Delete file.
5225 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5226 * sysdeps/s390/s390-64/start.S: ... here.
5227 * sysdeps/s390/s390-64/elf/configure: Delete.
5228
5229 * configure.in: Remove support for elf directories in sysdeps.
5230
5231 * configure: Regenerated.
5232 * sysdeps/i386/configure: Regenerated.
5233 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5234 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5235 * sysdeps/s390/s390-32/configure: Regenerated.
5236 * sysdeps/s390/s390-64/configure: Regenerated.
5237 * sysdeps/sh/configure: Regenerated.
5238 * sysdeps/sparc/configure: Regenerated.
5239 * sysdeps/x86_64/configure: Regenerated.
5240
a3f61311
AS
52412012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5242
c876e002
AS
5243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5244
a3f61311
AS
5245 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5246 denormal result into account.
5247
ac4c54f0
RM
52482012-03-25 Roland McGrath <roland@hack.frob.com>
5249
5250 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5251 Reported by Allan McRae <allan@archlinux.org>.
5252
6a9b9c02
JL
52532012-03-23 Jeff Law <law@redhat.com>
5254
5255 * nss/getnssent.c (__nss_getent): Fix typo.
5256
4c42a0c1
DM
52572012-03-23 David S. Miller <davem@davemloft.net>
5258
5259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5260
1532c7ac
L
52612012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5262
5263 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5264 to pad to uint64_t for each field.
5265 (dl_tls_index): Replace unsigned long with uint64_t.
5266
3ff42526
PP
52672012-03-23 Daniel Jacobowitz <dmj@google.com>
5268 Paul Pluzhnikov <ppluzhnikov@google.com>
5269
5270 [BZ #6528]
5271 * grp/Makefile (otherlibs): Don't set it.
5272 * inet/Makefile (otherlibs): Likewise.
5273 * login/Makefile (otherlibs): Likewise.
5274 * nscd/Makefile (otherlibs): Likewise.
5275 * posix/Makefile (otherlibs): Likewise.
5276 * pwd/Makefile (otherlibs): Likewise.
5277 * rt/Makefile (otherlibs): Likewise.
5278 * sunrpc/Makefile (otherlibs): Likewise.
5279 * nss/Makefile (otherlibs): Likewise.
5280 Add libnss_files to routines and static-only-routines.
5281 ($(objpfx)getent): Remove rule.
5282 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5283 static-only-routines.
5284
7c69cd14
JM
52852012-03-22 Joseph Myers <joseph@codesourcery.com>
5286
5287 [BZ #13892]
5288 * math/s_cexp.c: Include <float.h>.
5289 (__cexp): Handle exp result overflowing not necessarily
5290 overflowing both real and imaginary parts of result.
5291 * math/s_cexpf.c: Likewise.
5292 * math/s_cexpl.c: Likewise.
5293 * math/libm-test.inc (cexp_test): Add more tests.
5294 * sysdeps/i386/fpu/libm-test-ulps: Update.
5295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5296
81b035fe
L
52972012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5298
5299 * include/link.h (ELFW): New macro.
5300 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5301 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5302
1da7940c
L
53032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5304
5305 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5306 with uint64_t.
5307
b749dbb9
L
53082012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5309
5310 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5311 declaration.
5312 (struct La_x32_retval): Likewise.
5313
2ff87f3f
L
53142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5315
5316 * sysdeps/x86_64/preconfigure.in: New file.
5317 * sysdeps/x86_64/preconfigure: New generated file.
5318
c0df8e69
JM
53192012-03-22 Joseph Myers <joseph@codesourcery.com>
5320
48e44791
JM
5321 [BZ #13824]
5322 * math/e_exp2l.c: Include <float.h>.
5323 (__ieee754_exp2l): Handle overflow and underflow cases
5324 separately. Only pass fractional part of argument to
5325 __ieee754_expl.
5326 * math/libm-test.inc (exp2_test): Add more tests.
5327
c0df8e69
JM
5328 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5329 negating x to take absolute value.
5330 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5331 Likewise.
5332 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5333 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5334 Likewise.
5335 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5336 computing low part if x was negated.
5337 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5338
c8e43ba7
L
53392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5340
5341 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5342 la_x32_gnu_pltexit.
5343 (pltexit): Cast int_retval to ptrdiff_t.
5344 * elf/tst-auditmod3b.c: Likewise.
5345 * elf/tst-auditmod4b.c: Likewise.
5346 * elf/tst-auditmod5b.c: Likewise.
5347 * elf/tst-auditmod6b.c: Likewise.
5348 * elf/tst-auditmod6c.c: Likewise.
5349 * elf/tst-auditmod7b.c: Likewise.
5350
5351 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5352 and x32_gnu_pltexit.
5353
5354 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5355 __ELF_NATIVE_CLASS.
5356 (La_x32_regs): New macro.
5357 (La_x32_retval): Likewise.
5358 (la_x32_gnu_pltenter): New function prototype.
5359 (la_x32_gnu_pltexit): Likewise.
5360
7998fa78
AS
53612012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5362
dcb33988
AS
5363 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5364 exponent.
5365
233fc563
AS
5366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5367
7998fa78
AS
5368 * configure.in (libc_cv_cc_nofma): Check for option to disable
5369 generation of FMA instructions.
5370 * configure: Regenerate.
5371 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5372 * sysdeps/ieee754/dbl-64/Makefile: New file.
5373 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5374 Remove brandred-fma4.
5375 (CFLAGS-brandred-fma4.c): Remove.
5376 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5377 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5378 define.
5379 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5380 define.
5381
8e95c99a
L
53822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5383
5384 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5385 LLONG_MAX != LONG_MAX.
5386 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5387 (_fitoa_word): Likewise.
5388 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5389 LLONG_MAX != LONG_MAX.
5390 * stdio-common/_itowa.h: Include <_itoa.h>.
5391 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5392 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5393 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5394 only if not defined.
5395 (_ITOA_WORD_TYPE): Likewise.
5396 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5397 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5398
6f4db457
DM
53992012-03-21 David S. Miller <davem@davemloft.net>
5400
5401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5402
7785fe5a
L
54032012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5404
5405 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5406 of x86_64 when setting libc_cv_slibdir, libdir and
5407 libc_cv_localedir.
5408 * sysdeps/unix/sysv/linux/configure: Regenerated.
5409
4535cd55
JM
54102012-03-21 Joseph Myers <joseph@codesourcery.com>
5411
5412 * manual/lang.texi (Old Varargs): Remove section.
5413 (How Variadic): Update menu.
5414 (va_start): Do not mention varargs.h.
5415
17228132
TS
54162012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5417 Joseph Myers <joseph@codesourcery.com>
5418
5419 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5420 link test.
5421 * configure: Regenerated.
5422
8149f976
TS
54232012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5424
05f3d1f6
UD
5425 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5426 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5427 conformtest.pl
8149f976 5428
1a4ac776
JM
54292012-03-21 Joseph Myers <joseph@codesourcery.com>
5430
be22ce65
JM
5431 * NOTES: Remove.
5432 * Makefile (files-for-dist): Remove NOTES.
5433 (NOTES): Remove rule.
5434 * README: Don't refer to NOTES.
5435 * manual/creature.texi: Don't include macros.texi.
5436 * manual/intro.texi (creature.texi): Remove comment referring to
5437 NOTES.
5438
40b601fb
JM
5439 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5440 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5441 * configure: Regenerated.
5442 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5443 LIBC_TRY_CC_OPTION.
5444 (libc_cv_as_i686): Likewise.
5445 (libc_cv_cc_avx): Likewise.
5446 (libc_cv_cc_sse2avx): Likewise.
5447 (libc_cv_cc_fma4): Likewise.
5448 (libc_cv_cc_novzeroupper): Likewise.
5449 * sysdeps/i386/configure: Regenerated.
5450
1a4ac776
JM
5451 [BZ #13883]
5452 * sysdeps/i386/fpu/s_cexp.S: Remove.
5453 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5454 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5455 * math/libm-test.inc (cexp_test): Add more tests.
5456 * sysdeps/i386/fpu/libm-test-ulps: Update.
5457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5458
a458e7fe
AM
54592012-03-21 Allan McRae <allan@archlinux.org>
5460
5461 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5462
0cb7efc5
JM
54632012-03-21 Joseph Myers <joseph@codesourcery.com>
5464
5465 [BZ #13871]
5466 * math/w_exp2.c: Do not include <float.h>.
5467 (o_threshold, u_threshold): Remove.
5468 (__exp2): Calculate result before checking finiteness and calling
5469 __kernel_standard.
5470 * math/w_exp2f.c: Likewise.
5471 * math/w_exp2l.c: Likewise.
5472 * math/libm-test.inc (exp2_test): Require overflow exception for
5473 1e6 input.
2460d3aa
JM
5474
5475 [BZ #3866]
5476 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5477 range of signed 64-bit integers before using fistpll. Remove
5478 checks for whether integers fit in mantissa bits.
5479 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5480 the range of signed 32-bit integers before using fistpl. Remove
5481 checks for whether integers fit in mantissa bits.
5482 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5483 (__ieee754_powl): Test for y outside the range of signed 64-bit
5484 integers before using fistpll. Reduce 64-bit values to 63-bit
5485 ones as needed.
5486 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5487 divide-by-zero is raised for zero to large negative powers.
5488 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5489 (__ieee754_powl): Test for y outside the range of signed 64-bit
5490 integers before using fistpll. Reduce 64-bit values to 63-bit
5491 ones as needed.
5492 * math/libm-test.inc (pow_test): Add more tests.
5493
eb96ffb0
L
54942012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5495
5496 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5497 <stdio-common/_itoa.h>.
5498 * debug/segfault.c: Likewise.
5499 * elf/dl-cache.c: Likewise.
5500 * elf/dl-minimal.c: Likewise.
5501 * elf/dl-misc.c: Likewise.
5502 * elf/dl-sysdep.c: Likewise.
5503 * elf/dl-version.c: Likewise.
5504 * elf/rtld.c: Likewise.
5505 * hurd/hurdsock.c: Likewise.
5506 * hurd/lookup-retry.c: Likewise.
5507 * malloc/malloc.c: Likewise.
5508 * malloc/mtrace.c: Likewise.
5509 * nscd/nscd_getgr_r.c: Likewise.
5510 * nscd/nscd_getpw_r.c: Likewise.
5511 * nscd/nscd_getserv_r.c: Likewise.
5512 * posix/getopt_init.c: Likewise.
5513 * posix/wordexp.c: Likewise.
5514 * stdio-common/_itoa.c: Likewise.
5515 * stdio-common/printf_fphex.c: Likewise.
5516 * stdio-common/vfprintf.c: Likewise.
5517 * string/_strerror.c: Likewise.
5518 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5519 * sysdeps/i386/i686/hp-timing.h: Likewise.
5520 * sysdeps/mach/_strerror.c: Likewise.
5521 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5522 * sysdeps/mach/hurd/sethostid.c: Likewise.
5523 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5524 * sysdeps/mach/xpg-strerror.c: Likewise.
5525 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5526 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5527 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5528 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5529 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5530 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5531 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5532 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5533 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5534 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5535 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5536 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5537 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5538 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5539 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5540 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5541 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5542 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5543 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5544 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5545 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5546
5547 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5548
5549 * stdio-common/_itoa.h: Moved to ...
5550 * sysdeps/generic/_itoa.h: Here.
5551
5552 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5553
5554 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5555 instead of "_itoa.h" and "_itowa.h".
5556 * stdio-common/vfprintf.: Likewise.
5557
d1af992d
L
55582012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5559
5560 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5561 <bits/wordsize.h>.
5562 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5563 (__signbit): Likwise.
5564 (llrintf): Likwise.
5565 (llrint): Likwise.
5566
114883e0
L
55672012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5568
5569 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5570 __WORDSIZE != 64.
5571
c135cc1b
JM
55722012-03-20 Joseph Myers <joseph@codesourcery.com>
5573
5574 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5575 OVERFLOW_EXCEPTION_OK.
5576 * math/libm-test.inc ("Philosophy"): Update comment about
5577 exception testing.
5578 (OVERFLOW_EXCEPTION): Define.
5579 (OVERFLOW_EXCEPTION_OK): Likewise.
5580 (INVALID_EXCEPTION_OK): Renumber.
5581 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5582 (IGNORE_ZERO_INF_SIGN): Likewise.
5583 (test_exceptions): Handle FE_OVERFLOW.
5584 (exp10_test): Expect overflow exceptions.
5585 (exp2_test): Likewise.
5586 (expm1_test): Likewise.
5587 (nextafter_test): Likewise.
5588 (pow_test): Likewise.
5589 (scalbn_test): Likewise.
5590 (scalbln_test): Likewise.
5591
95443d88
L
55922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5593
5594 * sysdeps/x86_64/bits/atomic.h
5595 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5596 64bit integer.
5597 (atomic_exchange_acq): Likewise.
5598 (__arch_exchange_and_add_body): Likewise.
5599 (__arch_add_body): Likewise.
5600 (atomic_add_negative): Likewise.
5601 (atomic_add_zero): Likewise.
5602
490df6c4
L
56032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5604
c2722551 5605 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
5606 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5607
5e52b189
L
56082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5609
5610 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5611 Check __x86_64__ instead of __WORDSIZE.
5612
a9879d4c
L
56132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5614
5615 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5616
5df98260
DM
56172012-03-19 David S. Miller <davem@davemloft.net>
5618
e1497744
DM
5619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5620
5df98260
DM
5621 * sysdeps/sparc/fpu/fenv_private.h: New file.
5622 * sysdeps/sparc/fpu/math_private.h: Use it.
5623 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5624 Remove.
5625 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5626 (libc_feholdexcept_setroundl): Remove.
5627 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5628 Remove.
5629 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5630 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5631
b4c35121
L
56322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5633
5634 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5635 int64_t instead of long int.
5636 (INSERT_WORDS64): Likwise.
5637
56965fd7
L
56382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5639
5640 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5641 _Unwind_GetCFA return to _Unwind_Ptr first.
5642
83d1aec8
JM
56432012-03-19 Joseph Myers <joseph@codesourcery.com>
5644
1897ad44
JM
5645 [BZ #13629]
5646 * math/s_clog.c: Include <float.h>.
5647 (__clog): Scale large or subnormal inputs.
5648 * math/s_clogf.c: Likewise.
5649 * math/s_clogl.c: Likewise.
5650 * math/s_clog10.c: Include <float.h>.
5651 (M_LOG10_2): Define.
5652 (__clog10): Scale large or subnormal inputs.
5653 * math/s_clog10f.c: Likewise.
5654 * math/s_clog10l.c: Likewise.
5655 * math/libm-test.inc (clog_test): Add more tests.
5656 (clog10_test): Likewise.
5657 * sysdeps/i386/fpu/libm-test-ulps: Update.
5658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5659
7726d6a9
JM
5660 [BZ #11451]
5661 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5662 x and y.
5663 * math/libm-test.inc (atan2_test): Add another test.
5664
83d1aec8
JM
5665 * Makerules (common-objdir-compile): Remove.
5666 * sysdeps/unix/Makefile (config-generated): Do not add
5667 $(unix-generated) to variable.
5668 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5669 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5670 Remove rule.
5671 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5672 Likewise.
5673 [generic bits/local_lim.h] (before-compile): Do not append to
5674 variable.
5675 [generic bits/local_lim.h] (common-generated): Likewise.
5676 [generic sys/param.h] (before-compile): Do not append to variable.
5677 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5678 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5679 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5680 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5681 include.
5682 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5683 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5684 [generic sys/param.h] ($(addprefix
5685 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5686 [generic sys/param.h] (common-generated): Do not append to
5687 variable.
5688 [generic sys/param.h] (sysdep_headers): Likewise.
5689 [generic bits/errno.h] (before-compile): Do not append to
5690 variable.
5691 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5692 rule.
5693 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5694 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5695 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5696 [generic bits/errno.h] (common-generated): Do not append to
5697 variable.
5698 [generic bits/ioctls.h] (before-compile): Do not append to
5699 variable.
5700 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5701 rule.
5702 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5703 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5704 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5705 rule.
5706 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5707 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5708 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5709 [generic bits/ioctls.h] (common-generated): Do not append to
5710 variable.
5711 [generic sys/syscall.h] (syscall.h): Remove variable.
5712 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5713 rule.
5714 [generic sys/syscall.h] (before-compile): Do not append to
5715 variable.
5716 [generic sys/syscall.h] (common-generated): Likewise.
5717 * sysdeps/unix/errnos-tmpl.c: Remove file.
5718 * sysdeps/unix/errnos.awk: Likewise.
5719 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5720 * sysdeps/unix/ioctls.awk: Likewise.
5721 * sysdeps/unix/mk-local_lim.c: Likewise.
5722 * sysdeps/unix/snarf-ioctls: Likewise.
5723
4851a949
RH
57242012-03-19 Richard Henderson <rth@twiddle.net>
5725
bd37f2ee
RH
5726 * sysdeps/i386/fpu/fenv_private.h: New file.
5727 * sysdeps/i386/fpu/math_private.h: Use it.
5728 (math_opt_barrier, math_force_eval): Remove.
5729 (libc_feholdexcept_setround_53bit): Remove.
5730 (libc_feupdateenv_53bit): Remove.
5731 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5732 (math_opt_barrier, math_force_eval): Remove.
5733 (libc_feholdexcept): Remove.
5734 (libc_feholdexcept_setround): Remove.
5735 (libc_fetestexcept, libc_fesetenv): Remove.
5736 (libc_feupdateenv_test): Remove.
5737 (libc_feupdateenv, libc_feholdsetround): Remove.
5738 (libc_feresetround): Remove.
5739
d0adc922
RH
5740 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5741 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5742
0fe0f1f8
RH
5743 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5744 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5745 (libc_feupdateenv_testl): New.
5746 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5747 (libc_feupdateenv_testf): New.
5748 (libc_feupdateenv): Use libc_feupdateenv_test.
5749 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5750 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5751
eb92c487
RH
5752 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5753 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5754 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5755 (libc_feresetround_noex): New.
5756 (libc_feresetround_noexf): New.
5757 (libc_feresetround_noexl): New.
5758 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5759 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5760 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5761 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5762 SET_RESTORE_ROUND.
5763 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5764 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5765 (__cos): Likewise.
5766 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5767 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5768 SET_RESTORE_ROUND_NOEX.
5769 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5770 SET_RESTORE_ROUND_NOEXF.
5771 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5772 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5773 (libc_feholdsetroundf): New.
5774 (libc_feresetround, libc_feresetroundf): New.
5775
7d2e8012
RH
5776 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5777 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5778 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5779
b4dabbb4
RH
5780 * sysdeps/generic/math_private.h: Include <fenv.h>.
5781 (default_libc_feholdexcept): New.
5782 (default_libc_feholdexcept_setround): New.
5783 (default_libc_fesetenv, default_libc_feupdateenv): New.
5784 (libc_feholdexcept): Only define if undefined.
5785 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5786 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5787 (libc_feholdexcept_setroundl): Likewise.
5788 (libc_feholdexcept_setround_53bit): Likewise.
5789 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5790 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5791 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5792 (libc_feupdateenv_53bit): Likewise.
5793 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5794 (libc_feholdexcept): Convert from macro to inline function.
5795 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5796 (libc_fesetenv, libc_feupdateenv): Likewise.
5797
4851a949
RH
5798 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5799 not previously defined.
5800 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5801 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5802 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5803 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5804 * sysdeps/ieee754/flt-32/math_private.h: New file.
5805 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5806 math_private.h below SET_FLOAT_WORD.
5807 (__isnan, __isinf_ns, __finite): Remove.
5808 (__isnanf, __isinf_nsf, __finitef): Remove.
5809
e79d442e
AS
58102012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5811
5812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5813
90b80344
DM
58142012-03-17 David S. Miller <davem@davemloft.net>
5815
5816 [BZ #6471]
5817 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5818 for 2.16.
5819
edc21804
DM
58202012-03-16 David S. Miller <davem@davemloft.net>
5821
77e927af
DM
5822 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5823 warnings.
5824
374976dd
DM
5825 [BZ #6471]
5826 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5827 properly.
5828 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5829 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5830 sysdep_routines when subdir is sysvipc.
5831 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5832 __getshmlba helper.
5833
edc21804
DM
5834 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5835
473c3ef3
L
58362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5837
5838 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5839 [__LP64__].
5840
eb0f39b6
L
58412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5842
5843 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5844 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5845 (__lround): Renamed to ...
5846 (__llround): This. Replace long int with long long int.
5847 Define lround functions as aliases of llround functions.
5848 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5849
6b6cd74b
L
58502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5851
5852 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5853 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5854 adresses to uintptr_t. Replace "long int" and "unsigned long
5855 int" with "greg_t" on va_arg.
5856
f1a77b01
L
58572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5858
5859 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5860 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5861
5862 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5863 Move e_machine check before EI_CLASS check. Handle x32
5864 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5865 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5866 SKIP_EM_IA_64 and include
5867 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5868
5869 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5870 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5871 (add_system_dir): New macro.
5872
5873 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5874 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5875
11b90b9f
JM
58762012-03-16 Joseph Myers <joseph@codesourcery.com>
5877
c36e1d23
JM
5878 [BZ #2551]
5879 [BZ #2552]
5880 [BZ #2553]
5881 [BZ #2554]
5882 [BZ #2562]
5883 [BZ #2563]
5884 [BZ #2565]
5885 [BZ #2566]
5886 [BZ #2576]
5887 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5888 (y0): Likewise.
5889 * math/w_j0f.c (j0f): Likewise.
5890 (y0f): Likewise.
5891 * math/w_j0l.c (__j0l): Likewise.
5892 (__y0l): Likewise.
5893 * math/w_j1.c (j1): Likewise.
5894 (y1): Likewise.
5895 * math/w_j1f.c (j1f): Likewise.
5896 (y1f): Likewise.
5897 * math/w_j1l.c (__j1l): Likewise.
5898 (__y1l): Likewise.
5899 * math/w_jn.c (jn): Likewise.
5900 (yn): Likewise.
5901 * math/w_jnf.c (jnf): Likewise.
5902 (ynf): Likewise.
5903 * math/w_jnl.c (__jnl): Likewise.
5904 (__ynl): Likewise.
5905 * math/libm-test.inc (j0_test): Add more tests.
5906 (j1_test): Likewise.
5907 (jn_test): Likewise. Add trailing semicolon to existing test.
5908 (y0_test): Likewise.
5909 (y1_test): Likewise.
5910 * sysdeps/i386/fpu/libm-test-ulps: Update.
5911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5912
11b90b9f
JM
5913 [BZ #13851]
5914 [BZ #13854]
5915 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5916 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5917 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5918 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
5919 (__tanl): Set errno for infinite argument.
5920 * sysdeps/i386/fpu/mptan.c: Remove.
5921 * sysdeps/i386/fpu/s_tan.S: Likewise.
5922 * sysdeps/i386/fpu/s_tanl.S: Likewise.
5923 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
5924 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5925 * math/libm-test.inc (tan_test): Add more tests and enable more
5926 tests for double and long double.
5927 * sysdeps/i386/fpu/libm-test-ulps: Update.
5928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5929
6a1bd2a1
JK
59302012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5931
5932 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5933 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5934
10a803e0
RM
59352012-03-16 Roland McGrath <roland@hack.frob.com>
5936
5937 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5938 * configure.in: Use it for both main tree and add-ons.
5939 * configure: Regenerated.
5940
f196c7f7
L
59412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5942
5943 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5944
8848d99d
JM
59452012-03-16 Joseph Myers <joseph@codesourcery.com>
5946
96cbe7f4
JM
5947 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5948 in comment.
5949
8848d99d
JM
5950 [BZ #13851]
5951 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5952 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5953 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5954 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5955 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5956 infinite argument.
5957 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5958 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5959 != 0 for prec == 2.
5960 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5961 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5962 * sysdeps/i386/fpu/s_cosl.S: Likewise.
5963 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5964 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5965 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5966 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5967 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5968 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5969 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5970 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5971 * math/libm-test.inc (cos_test): Add more tests and enable more
5972 tests for long double.
5973 (sin_test): Likewise.
5974 (sincos_test): Likewise.
5975 * sysdeps/i386/fpu/libm-test-ulps: Update.
5976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5977
dd7f4703
DM
59782012-03-16 David S. Miller <davem@davemloft.net>
5979
5980 * sysdeps/sparc/fpu/math_private.h: New file.
5981
006f1daa
DM
59822012-03-15 David S. Miller <davem@davemloft.net>
5983
c0c83bc8
DM
5984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
5985 file.
e6a62e18 5986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
5987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
5988 file.
e6a62e18
DM
5989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
5990 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
5991 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
5992 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
5993 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
5994 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
5995 sysdep routines.
5996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5997
88cb87d9
DM
5998 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
5999 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6000
006f1daa 6001 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6003 sparc-ifunc.h
006f1daa 6004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6006 Likewise.
6007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6008 Likewise.
006f1daa
DM
6009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6013 Likewise.
006f1daa
DM
6014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6019 Likewise.
6020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6021 Likewise.
006f1daa
DM
6022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6026 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6027 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6028 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6029 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6030 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6031 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6034 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6035 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6036 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6037 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6038 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6039 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6040 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6041 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6042 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6043 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6044 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6045 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6046
11e0098e
AS
60472012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6048
6049 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6050 scaling.
6051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6052
e85b09d0
AJ
60532012-03-15 Andreas Jaeger <aj@suse.de>
6054
6055 [BZ #13852]
6056 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6057 ieee754/flt-32 implementation for sin, cos and sincos.
6058 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6059 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6060 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6061 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6062 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6063 ieee754/flt-32 implementation for tan.
6064
6065 * math/libm-test.inc (cos_test): Enable some large input tests for
6066 float as well
6067 (sin_test): Likewise.
6068 (sincos_test): Likewise.
6069 (tan_test): Add tests for large input.
6070
6071 * sysdeps/i386/fpu/libm-test-ulps: Update.
6072
81c64153
AJ
60732012-03-15 Andreas Jaeger <aj@suse.de>
6074
6075 [BZ #13658]
6076 * math/libm-test.inc (cos_test): Add more test cases.
6077 (sin_test): Likewise.
6078 (sincos_test): Likewise.
6079
7bbfa5c6
AJ
60802012-03-15 Andreas Jaeger <aj@suse.de>
6081
6082 [BZ #13837]
6083 * math/libm-test.inc (cos_test): Add a test case for large input
6084 value.
6085 (sin_test): Likewise.
6086 (sincos_test): Likewise.
6087
60882012-03-15 Andreas Jaeger <aj@suse.de>,
6089 Joseph Myers <joseph@codesourcery.com>
6090
6091 [BZ #13658]
0671f479 6092 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6093 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6094 * sysdeps/i386/fpu/branred.c: Likewise.
6095 * sysdeps/i386/fpu/dosincos.c: Likewise.
6096 * sysdeps/i386/fpu/mpa.c: Likewise.
6097 * sysdeps/i386/fpu/s_cos.S: Likewise.
6098 * sysdeps/i386/fpu/s_sin.S: Likewise.
6099 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6100 * sysdeps/i386/fpu/sincos32.c: Likewise.
6101
6102 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6103 Define.
6104 (libc_feupdateenv_53bit): Define.
6105 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6106 Define.
6107 (libc_feupdateenv_53bit): Define.
6108
6109 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6110 53 bit (without extend i386 double precision).
6111
6112 * math/libm-test.inc (sincos_test): Add tests for large input.
6113 (sin): Likewise.
6114 (cos): Likewise.
6115
6116 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6117
9cad04ea
AS
61182012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6119
6120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6121
f7062b9a
DM
61222012-03-15 David S. Miller <davem@davemloft.net>
6123
6124 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6125 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6126 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6127 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6132 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6133 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6134 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6135 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6136 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6137 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6138 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6140 file.
f7062b9a 6141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6143 file.
f7062b9a 6144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6146 file.
f7062b9a 6147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6149 file.
f7062b9a
DM
6150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6151 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6152 fmin/fmax sysdep routines.
6153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6154
7bd951ff
DM
61552012-03-14 David S. Miller <davem@davemloft.net>
6156
559398ab
DM
6157 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6158 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6159 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6160 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6161 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6162 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6163 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6164 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6165 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6166 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6167 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6168 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6169 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6170 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6171 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6172 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6173 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6174 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6175 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6176 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6177 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6178 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6179 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6180 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6181 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6182 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6183 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6184 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6185 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6186 routines.
6187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6188 file.
559398ab 6189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6191 file.
559398ab 6192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6194 file.
559398ab 6195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6197 file.
559398ab 6198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6200 file.
559398ab 6201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6203 file.
6204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6205 file.
6206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6207 file.
6208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6209 file.
6210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6211 New file.
6212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6213 file.
6214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6215 file.
559398ab 6216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6218 file.
559398ab 6219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6221 file.
559398ab 6222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6224 file.
559398ab 6225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6227 VIS3 routines.
559398ab
DM
6228
6229 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6230 New file.
6231
5a1c1e32
DM
6232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6233
eae47a36
DM
6234 * sysdeps/sparc/configure.in: New file.
6235 * sysdeps/sparc/configure: Generate.
6236 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6237 * configure: Regenerate.
6238 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6239 * config.make.in (have-as-vis3): New.
6240 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6241 available use -Av9d instead of -Av9a.
6242 * sysdeps/sparc/sparc64/Makefile: Likewise.
6243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6245 New file.
6246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6247 file.
6248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6249 New file.
6250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6251 file.
eae47a36
DM
6252 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6253 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6254 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6255 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6256 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6257
c0c83bc8
DM
6258 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6259 fzeros/fnegs to load 0x80000000 into a float register instead of
6260 using the stack.
7bd951ff
DM
6261 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6262
bd951ccb
JM
62632012-03-14 Joseph Myers <joseph@codesourcery.com>
6264
6265 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6266 bits/syscall.h.
6267 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6268 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6269 ($(inst_includedir)/bits/syscall.h): Remove rule.
6270 ($(objpfx)bits/syscall.d): Include instead of
6271 $(objpfx)syscall-list.d.
6272 (generated): Change syscall-list.h and syscall-list.d to
6273 bits/syscall.h and bits/syscall.d.
6274
bb4e6db2
RM
62752012-03-14 Roland McGrath <roland@hack.frob.com>
6276
6277 [BZ #13846]
6278 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6279
aa4a2ae1
JM
62802012-03-14 Joseph Myers <joseph@codesourcery.com>
6281
e456826d
JM
6282 [BZ #13841]
6283 * math/s_csqrt.c: Include <float.h>.
6284 (__csqrt): Scale large or subnormal inputs.
6285 * math/s_csqrtf.c: Likewise.
6286 * math/s_csqrtl.c: Likewise.
6287 * math/libm-test.inc (csqrt_test): Add more tests.
6288 * sysdeps/i386/fpu/libm-test-ulps: Update.
6289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6290
aa4a2ae1
JM
6291 [BZ #13840]
6292 * math/libm-test.inc (hypot_test): Add more tests.
6293
7c10fd35
DM
62942012-03-13 David S. Miller <davem@davemloft.net>
6295
6296 [BZ #13840]
6297 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6298 double-precision for the calculation instead of scaling.
6299
f453b98b
JM
63002012-03-13 Joseph Myers <joseph@codesourcery.com>
6301
6302 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6303 manipulate bits before adding and subtracting TWO52[sx].
6304 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6305 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6306 Likewise.
6307 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6308
09a3453f
DM
63092012-03-13 David S. Miller <davem@davemloft.net>
6310
8e59da90
DM
6311 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6312 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6313 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6314 rtld-global-offsets.h
6315 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6316
2a8ab7f2
DM
6317 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6318 large parameters.
6319
10f62770
DM
6320 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6321
5f0bdb18
DM
6322 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6323 'err' in the ifdef scope in which it is actually used.
6324
09a3453f
DM
6325 * nss/nss_db/db-init.c: Include string.h
6326
b4b2eb5e
DM
63272012-03-12 David S. Miller <davem@davemloft.net>
6328
98bb2f1c
DM
6329 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6330 masking out of the most significant byte of random value used.
6331 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6332 Fix coding style in previous change.
6333
b4b2eb5e
DM
6334 * sysdeps/unix/sysv/linux/kernel-features.h
6335 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6336 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6337 expression.
6338 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6339 later.
6340
6e226b09
DM
63412012-03-11 David S. Miller <davem@davemloft.net>
6342
a1bcbd40
DM
6343 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6344 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6345 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6346 for 'resultvar' otherwise things get truncated on 64-bit.
6347
cb9d6174
DM
6348 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6349 Fix masking out of the most significant byte of random value used.
6350
6e226b09
DM
6351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6352
058c132d
AS
63532012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6354
6355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6356
2d2cd515
DM
63572012-03-09 David S. Miller <davem@davemloft.net>
6358
6359 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6360 variables with appropriate CPP guards.
6361 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6362 frame pointer, not the stack pointer. Correct layout comments. Fix test
6363 on resulting framesize and the management of the outregs buffer for pltexit.
6364 Preserve floating point return values across _dl_call_pltexit call.
6365 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6366 framesize and the management of the outregs buffer for pltexit.
6367 Preserve floating point return values across _dl_call_pltexit
6368 call.
6369 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6370 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6371 (print_exit): Fix format string for return register value.
6372
9a07f9d0
JM
63732012-03-10 Joseph Myers <joseph@codesourcery.com>
6374
6375 * sunrpc/Makefile (others): Add rpcgen.
6376 ($(objpfx)rpcgen): Remove special build rule and dependency on
6377 libc.
6378 * sunrpc/rpcgen.c: New file.
6379
547b5e30
PE
63802012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6381
c524201a
PE
6382 [BZ #13673]
6383 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6384 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6385 * sysdeps/i386/crti.S: Likewise.
6386 * sysdeps/i386/crtn.S: Likewise.
6387 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6388 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6389 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6390 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6391 * sysdeps/sh/crti.S: Likewise.
6392 * sysdeps/sh/crtn.S: Likewise.
6393 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6394
7b6235f2
PE
6395 [BZ #13673]
6396 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6397 with URL.
6398 * locale/programs/locfile-kw.gperf: Likewise.
6399 * locale/programs/charmap-kw.h: Regenerated.
6400 * locale/programs/locfile-kw.h: Likewise.
6401
547b5e30
PE
6402 [BZ #13673]
6403 * intl/plural.y: Replace FSF snail mail address with URL.
6404 * intl/plural.c: Regenerated.
6405
5f0a5dae
RH
64062012-03-09 Richard Henderson <rth@twiddle.net>
6407
6408 * include/math_private.h: Remove file.
6409 * math/math_private.h: Move file ...
6410 * sysdeps/generic/math_private.h: ... here.
6411
b8c03620
RH
6412 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6413 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6414 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6415
4e234f5d 6416 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6417 and <math_private.h>.
6418 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6419 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6420 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6421 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6422 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6423 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6424 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6425 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6426 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6427 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6428 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6429 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6430 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6431 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6432 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6433 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6434 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6435 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6436 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6437 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6438 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6439 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6440 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6441 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6442 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6443 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6444 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6445 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6446 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6447 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6448 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6449 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6450 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6451 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6452 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6453 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6454 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6455 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6456 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6457 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6458 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6459 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6460 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6461 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6462 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6463 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6464 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6465 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6466 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6467 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6468 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6469 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6470 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6471 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6472 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6473 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6474 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6475 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6476 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6477 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6478 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6479 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6480 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6481 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6482 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6483 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6484 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6485 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6486 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6487 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6488 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6489 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6490 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6491 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6492 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6493 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6494 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6495 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6496 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6497 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6498 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6499 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6500 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6501 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6502 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6503 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6504 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6505 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6506 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6507 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6508 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6509 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6510 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6511 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6512 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6513 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6514 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6515 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6516 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6517 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6518 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6519 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6520 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6521 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6522 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6523 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6524 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6525 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6526 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6527 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6528 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6529 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6530 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6531 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6532 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6533 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6534 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6535 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6536 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6537 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6538 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6539 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6540 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6541 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6542 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6543 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6544 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6545 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6546 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6547 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6548 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6549 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6550 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6551 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6552 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6553 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6554 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6555 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6556 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6557 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6558 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6559 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6560 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6561 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6562 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6563 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6564 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6565 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6566 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6567 * sysdeps/ieee754/k_standard.c: Likewise.
6568 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6569 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6570 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6571 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6572 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6573 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6574 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6575 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6576 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6577 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6578 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6579 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6580 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6581 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6582 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6583 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6584 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6585 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6586 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6587 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6588 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6589 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6590 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6591 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6592 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6593 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6594 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6595 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6596 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6597 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6598 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6599 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6600 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6601 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6602 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6603 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6604 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6605 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6606 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6607 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6608 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6609 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6610 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6611 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6612 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6613 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6614 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6615 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6616 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6617 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6618 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6619 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6620 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6621 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6622 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6623 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6624 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6625 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6626 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6627 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6628 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6629 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6630 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6631 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6632 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6633 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6634 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6635 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6636 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6637 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6638 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6639 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6640 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6641 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6642 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6643 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6644 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6645 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6646 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6647 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6648 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6649 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6650 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6651 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6652 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6653 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6654 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6655 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6656 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6657 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6658 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6659 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6660 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6661 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6662 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6663 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6664 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6665 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6666 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6667 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6668 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6669 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6670 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6671 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6672 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6673 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6674 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6675 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6676 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6677 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6678 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6679 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6680 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6681 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6682 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6683 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6684 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6685 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6686 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6687 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6688 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6689 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6690 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6691 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6692 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6693 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6694 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6695 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6696 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6697 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6698 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6699 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6700 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6701 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6702 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6703 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6704 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6705 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6706 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6707 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6708 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6709 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6710 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6711 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6712 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6713 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6714 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6715 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6716 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6717 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6718 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6719 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6720 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6721 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6722 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6723 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6724 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6725 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6726 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6727 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6728 * sysdeps/ieee754/s_lib_version.c: Likewise.
6729 * sysdeps/ieee754/s_matherr.c: Likewise.
6730 * sysdeps/ieee754/s_signgam.c: Likewise.
6731 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6732 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6733 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6734 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6735 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6736 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6737 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6738 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6739 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6740 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6741 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6742 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6743 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6744 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6745 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6746 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6747 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6748 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6749 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6750 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6751 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 6752
1991fa03
JM
67532012-03-09 Joseph Myers <joseph@codesourcery.com>
6754
6755 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6756 * sunrpc/rpc_main.c: Likewise.
6757 * sunrpc/rpc_svcout.c: Likewise.
6758
60d6f5a6
DM
67592012-03-09 David S. Miller <davem@davemloft.net>
6760
6761 * include/math_private.h: New file.
6762
4962050e
JM
67632012-03-09 Joseph Myers <joseph@codesourcery.com>
6764
02a6f887
JM
6765 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6766 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6767 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6768 from <bits/socket_type.h>.
6769 (enum __socket_type): Don't define here.
6770 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6771 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6772 bits/socket_type.h.
6773
c6e013c1
JM
6774 [BZ #13566]
6775 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6776 checking __USE_GNU.
6777
4962050e
JM
6778 * Makerules ($(inst_includedir)/%.h): New rule.
6779 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6780 (install-others): Remove variable setting.
6781 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6782
38842f45
RH
67832012-03-08 Richard Henderson <rth@twiddle.net>
6784
67bb6da6
RH
6785 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6786 from macro to inline function; merge with the
6787 !__LIBC_INTERNAL_MATH_INLINES version.
6788 (__ieee754_sqrtf): Likewise.
6789
15194b4b
RH
6790 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6791 to inline function.
6792 (__rintf, __floor, __floorf): Likewise.
6793
64e21ede
RH
6794 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6795 macro to inline function.
6796 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6797
38842f45
RH
6798 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6799 not <math/math_private.h>.
6800
c64bf5fe
DM
68012012-03-08 David S. Miller <davem@davemloft.net>
6802
6803 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6804 copyright year.
6805 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6806
82d86f28
TS
68072012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6808
6809 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6810 normalization.
6811 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6812 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6813
aea5d727
UD
68142012-03-08 Ulrich Drepper <drepper@gmail.com>
6815
6816 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6817 be defined individually, they must be defined as a block. Define
6818 S for printing a string instead of hidint the different by using a
6819 macro for adding the 'l'.
6820 * stdio-common/tst-fphex-wide.c: Adjust.
6821
70bca0a3
MP
68222012-03-07 Marek Polacek <polacek@redhat.com>
6823
6824 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6825
65b81130
MP
68262012-03-08 Marek Polacek <polacek@redhat.com>
6827
6828 [BZ #13806]
6829 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6830 * stdio-common/tst-fphex.c: Define a few macros to make the
6831 test reusable. Use them.
6832 * stdio-common/tst-fphex-wide.c: New file.
6833
07037eeb
JM
68342012-03-08 Joseph Myers <joseph@codesourcery.com>
6835
a7a93d50
JM
6836 [BZ #6911]
6837 * manual/macros.texi (gnusystems): New macro.
6838 (nongnusystems): Likewise.
6839 (gnulinuxhurdsystems): Likewise.
6840 (gnuhurdsystems): Likewise..
6841 (gnulinuxsystems): Likewise.
6842 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6843 variants of the GNU system, not "GNU system".
6844 * manual/conf.texi: Likewise.
6845 * manual/errno.texi: Likewise. Update example of errno macro
6846 expansion.
6847 * manual/filesys.texi: Likewise.
6848 (getumask): Document as specific to GNU/Hurd.
6849 * manual/install.texi: Likewise. Reword some references to
6850 GNU/Linux.
6851 * manual/intro.texi: Likewise.
6852 * manual/io.texi: Likewise.
6853 (File Name Portability): Detail which constraints are inapplicable
6854 to all GNU systems and which are only inapplicable to GNU/Hurd.
6855 * manual/job.texi: Likewise.
6856 * manual/llio.texi: Likewise.
6857 (O_NOCTTY): Document as present on GNU/Linux.
6858 * manual/maint.texi: Likewise.
6859 * manual/memory.texi: Likewise.
6860 * manual/pattern.texi: Likewise.
6861 * manual/pipe.texi: Likewise.
6862 * manual/process.texi: Likewise.
6863 * manual/resource.texi: Likewise.
6864 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6865 child on GNU/Hurd.
6866 * manual/setjmp.texi: Likewise.
6867 * manual/signal.texi: Likewise.
6868 * manual/startup.texi: Likewise.
6869 * manual/stdio.texi: Likewise.
6870 * manual/terminal.texi: Likewise.
6871 (ONLCR): Document as POSIX.
6872 (OXTABS): Document availability on GNU/Linux as XTABS.
6873 (ONOEOT): Document availability separately from other bits.
6874 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6875 * manual/time.texi: Likewise.
6876 * manual/users.texi: Likewise.
6877 * INSTALL: Regenerated.
6878 * sysdeps/gnu/errlist.c: Regenerated.
6879
07037eeb
JM
6880 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6881 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6882 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6883 puts.
6884 * configure: Regenerated.
6885
d1d3431a
JM
68862012-03-07 Joseph Myers <joseph@codesourcery.com>
6887
af6a1e37
JM
6888 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6889 default includes instead of AC_HEADER_CHECK.
6890 * sysdeps/i386/configure: Regenerated.
6891
d1d3431a
JM
6892 [BZ #10716]
6893 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6894 * math/s_cacoshf.c (__cacoshf): Likewise.
6895 * math/s_cacoshl.c (__cacoshl): Likewise.
6896 * math/s_casinh.c (__casinh): Set signs of result from argument.
6897 * math/s_casinhf.c (__casinhf): Likewise.
6898 * math/s_casinhl.c (__casinhl): Likewise.
6899 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6900 (casinh_test): Add more tests.
6901 * sysdeps/i386/fpu/libm-test-ulps: Update.
6902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6903
482ff4da
UD
69042012-03-07 Ulrich Drepper <drepper@gmail.com>
6905
872fda05
UD
6906 * po/zh_TW.po: Update from translation team.
6907
a4300c7a
UD
6908 * login/Makefile (distribute): Remove variable.
6909 * catgets/Makefile: Likewise.
6910 * mach/Makefile: Likewise.
6911 * malloc/Makefile: Likewise.
6912 * misc/Makefile: Likewise.
6913 * iconv/Makefile: Likewise.
6914 * nscd/Makefile: Likewise.
6915 * hurd/Makefile: Likewise.
6916 * manual/Makefile: Likewise.
6917 * locale/Makefile: Likewise.
6918 * intl/Makefile: Likewise.
6919 * conform/Makefile: Likewise.
6920 * nss/Makefile: Likewise.
6921 * time/Makefile: Likewise.
6922 * soft-fp/Makefile: Likewise.
6923 * dirent/Makefile: Likewise.
6924 * gmon/Makefile: Likewise.
6925 * po/Makefile: Likewise.
6926 * rt/Makefile: Likewise.
6927 * socket/Makefile: Likewise.
6928 * math/Makefile: Likewise.
6929 * signal/Makefile: Likewise.
6930 * debug/Makefile: Likewise.
6931 * elf/Makefile: Likewise.
6932 * timezone/Makefile: Likewise.
6933 * stdlib/Makefile: Likewise.
6934 * iconvdata/Makefile: Likewise.
6935 * sunrpc/Makefile: Likewise.
6936 * io/Makefile: Likewise.
6937 * argp/Makefile: Likewise.
6938 * inet/Makefile: Likewise.
6939 * hesiod/Makefile: Likewise.
6940 * grp/Makefile: Likewise.
6941 * csu/Makefile: Likewise.
6942 * wctype/Makefile: Likewise.
6943 * crypt/Makefile: Likewise.
6944 * libio/Makefile: Likewise.
6945 * string/Makefile: Likewise.
6946 * nis/Makefile: Likewise.
6947 * resolv/Makefile: Likewise.
6948 * stdio-common/Makefile: Likewise.
6949 * wcsmbs/Makefile: Likewise.
6950 * dlfcn/Makefile: Likewise.
6951 * posix/Makefile: Likewise.
6952
3b7c4e74 6953 [BZ #6959]
482ff4da
UD
6954 * timezone/Makefile: Don't install timezone files, just the programs
6955 and scripts.
6956
f72ed77d
UD
69572012-03-06 Ulrich Drepper <drepper@gmail.com>
6958
a000466f
UD
6959 * nss/databases.def: Add missing gshadow entry.
6960
f72ed77d
UD
6961 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6962
a53b7a4e
MP
69632012-03-06 Marek Polacek <polacek@redhat.com>
6964
6965 [BZ #13726]
6966 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6967 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6968 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6969 * stdio-common/tst-long-dbl-fphex.c: New file.
6970
e9258400
DM
69712012-03-06 David S. Miller <davem@davemloft.net>
6972
6973 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6974 (set_obp_int): New function.
6975 (get_obp_int): New function.
6976 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
6977 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
6978 Avoid unused variable warnings on 'val' and use builtin_expect.
6979 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
6980 __builtin_expect.
e9258400
DM
6981 (INLINE_CLONE_SYSCALL): Likewise.
6982
3bd2c723
DM
69832012-03-05 David S. Miller <davem@davemloft.net>
6984
6985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6986
bbb78d03
AS
69872012-03-05 Andreas Schwab <schwab@linux-m68k.org>
6988
884c5db4
AS
6989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6990
bbb78d03
AS
6991 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
6992 only for |x| >= 40.
6993 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6994
1c9f702a 69952012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
6996
6997 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
6998 Replace gettimeofday with __vdso_gettimeofday.
6999
7be16f82
RM
7000 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7001 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7002 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7003
7004 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7005 time with __vdso_time.
7006
ed58a00f
JM
70072012-03-05 Joseph Myers <joseph@codesourcery.com>
7008
7009 * manual/lang.texi (size_t): Note types to which size_t may be
7010 equivalent with the GNU C Library, but do not describe when
7011 differences between them are significant.
7012
30ee4ced
AJ
70132012-03-05 Andreas Jaeger <aj@suse.de>
7014
7015 * sysdeps/i386/fpu/libm-test-ulps: Update.
7016
b7cd39e8
JM
70172012-03-05 Joseph Myers <joseph@codesourcery.com>
7018
7019 [BZ #3976]
7020 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7021 (__ieee754_pow): Save and restore rounding mode and use
7022 round-to-nearest for main computations.
7023 * math/libm-test.inc (pow_test_tonearest): New function.
7024 (pow_test_towardzero): Likewise.
7025 (pow_test_downward): Likewise.
7026 (pow_test_upward): Likewise.
7027 (main): Call the new functions.
7028 * sysdeps/i386/fpu/libm-test-ulps: Update.
7029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7030
7031 [BZ #3976]
7032 * math/libm-test.inc (cosh_test_tonearest): New function.
7033 (cosh_test_towardzero): Likewise.
7034 (cosh_test_downward): Likewise.
7035 (cosh_test_upward): Likewise.
7036 (sinh_test_tonearest): Likewise.
7037 (sinh_test_towardzero): Likewise.
7038 (sinh_test_downward): Likewise.
7039 (sinh_test_upward): Likewise.
7040 (main): Call the new functions.
7041 * sysdeps/i386/fpu/libm-test-ulps: Update.
7042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7043
6c6a98c9
TV
70442012-03-05 Tom de Vries <tom@codesourcery.com>
7045
7046 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7047 default stack guard is set in last bytes.
7048 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7049
21bb2d2e 70502012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7051
21bb2d2e 7052 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7053
21bb2d2e
AJ
7054 [BZ #13656]
7055 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7056 possibly allocate from heap instead of stack.
7057 * stdio-common/bug-vfprintf-nargs.c: New file.
7058 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7059
c6922934
AS
70602012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7061
7062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7063
bc957d53
MP
70642012-03-03 Marek Polacek <polacek@redhat.com>
7065
7066 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7067 * math/math_private.h: Likewise.
7068 * stdlib/tst-strtod.c: Likewise.
7069 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7070 * sysdeps/x86_64/bits/atomic.h: Likewise.
7071
6358490d
DM
70722012-03-02 David S. Miller <davem@davemloft.net>
7073
7074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7078 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7079 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7080 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7081 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7082
01ae168d
RM
70832012-03-02 Roland McGrath <roland@hack.frob.com>
7084
d9a17c07
RM
7085 [BZ #13792]
7086 * manual/examples/README: New file, says the example source files
7087 can be used under GPL>=2.
7088 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7089 line containing just "*/".
7090 * manual/examples/add.c: Add copyright header (GPL>=2).
7091 * manual/examples/argp-ex1.c: Likewise.
7092 * manual/examples/argp-ex2.c: Likewise.
7093 * manual/examples/argp-ex3.c: Likewise.
7094 * manual/examples/argp-ex4.c: Likewise.
7095 * manual/examples/atexit.c: Likewise.
7096 * manual/examples/db.c: Likewise.
7097 * manual/examples/dir.c: Likewise.
7098 * manual/examples/dir2.c: Likewise.
7099 * manual/examples/execinfo.c: Likewise.
7100 * manual/examples/filecli.c: Likewise.
7101 * manual/examples/filesrv.c: Likewise.
7102 * manual/examples/fmtmsgexpl.c: Likewise.
7103 * manual/examples/genpass.c: Likewise.
7104 * manual/examples/inetcli.c: Likewise.
7105 * manual/examples/inetsrv.c: Likewise.
7106 * manual/examples/isockad.c: Likewise.
7107 * manual/examples/longopt.c: Likewise.
7108 * manual/examples/memopen.c: Likewise.
7109 * manual/examples/memstrm.c: Likewise.
7110 * manual/examples/mkfsock.c: Likewise.
7111 * manual/examples/mkisock.c: Likewise.
7112 * manual/examples/mygetpass.c: Likewise.
7113 * manual/examples/pipe.c: Likewise.
7114 * manual/examples/popen.c: Likewise.
7115 * manual/examples/rprintf.c: Likewise.
7116 * manual/examples/search.c: Likewise.
7117 * manual/examples/select.c: Likewise.
7118 * manual/examples/setjmp.c: Likewise.
7119 * manual/examples/sigh1.c: Likewise.
7120 * manual/examples/sigusr.c: Likewise.
7121 * manual/examples/stpcpy.c: Likewise.
7122 * manual/examples/strdupa.c: Likewise.
7123 * manual/examples/strftim.c: Likewise.
7124 * manual/examples/strncat.c: Likewise.
7125 * manual/examples/subopt.c: Likewise.
7126 * manual/examples/swapcontext.c: Likewise.
7127 * manual/examples/termios.c: Likewise.
7128 * manual/examples/testopt.c: Likewise.
7129 * manual/examples/testpass.c: Likewise.
7130 * manual/examples/timeval_subtract.c: Likewise.
7131
01ae168d
RM
7132 [BZ #13792]
7133 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7134 function to ...
7135 * manual/timeval_subtract.c.texi: ... here, new file.
7136
49efa33d
DM
71372012-03-02 David S. Miller <davem@davemloft.net>
7138
7139 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7140
28afd92d
JM
71412012-03-02 Joseph Myers <joseph@codesourcery.com>
7142
804360ed
JM
7143 [BZ #3976]
7144 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7145 (__sin): Save and restore rounding mode and use round-to-nearest
7146 for all computations.
7147 (__cos): Save and restore rounding mode and use round-to-nearest
7148 for all computations.
7149 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7150 <fenv.h>.
7151 (tan): Save and restore rounding mode and use round-to-nearest for
7152 all computations.
7153 * math/libm-test.inc (cos_test_tonearest): New function.
7154 (cos_test_towardzero): Likewise.
7155 (cos_test_downward): Likewise.
7156 (cos_test_upward): Likewise.
7157 (sin_test_tonearest): Likewise.
7158 (sin_test_towardzero): Likewise.
7159 (sin_test_downward): Likewise.
7160 (sin_test_upward): Likewise.
7161 (tan_test_tonearest): Likewise.
7162 (tan_test_towardzero): Likewise.
7163 (tan_test_downward): Likewise.
7164 (tan_test_upward): Likewise.
7165 (main): Call the new functions.
7166 * sysdeps/i386/fpu/libm-test-ulps: Update.
7167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7168
a6d06d7b
JM
7169 [BZ #10135]
7170 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7171 small n, then large n, before computing and testing k+n.
7172 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7173 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7174 Likewise.
7175 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7176 Likewise.
7177 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7178 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7179 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7180 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7181 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7182 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7183 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7184 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7185 * math/libm-test.inc (scalbn_test): Add more tests.
7186 (scalbln_test): Likewise.
7187
07e12bb3
JM
7188 * manual/filesys.texi (mode_t): Describe constraints on size and
7189 signedness, not exact equivalence to a particular type.
7190 (ino_t): Likewise.
7191 (ino64_t): Likewise.
7192 (dev_t): Likewise.
7193 (nlink_t): Likewise.
7194 (blkcnt_t): Likewise.
7195 (blkcnt64_t): Likewise.
7196 * manual/llio.texi (off_t): Likewise.
7197
28afd92d
JM
7198 [BZ #3976]
7199 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7200 (__ieee754_exp): Save and restore rounding mode and use
7201 round-to-nearest for all computations.
7202 * math/libm-test.inc (exp_test_tonearest): New function.
7203 (exp_test_towardzero): Likewise.
7204 (exp_test_downward): Likewise.
7205 (exp_test_upward): Likewise.
7206 (main): Call the new functions.
7207 * sysdeps/i386/fpu/libm-test-ulps: Update.
7208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7209
b1eeb65d
CD
72102012-03-01 Chris Demetriou <cgd@google.com>
7211
7212 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7213 have predictable order.
7214
53362a4b
DM
72152012-03-01 David S. Miller <davem@davemloft.net>
7216
3c969083
DM
7217 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7218
759707de
DM
7219 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7220 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7221 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7222 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7223
dfdb8ff2
DM
7224 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7225 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7226 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7228 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7229 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7230 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7231 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7232 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7233
ead89f96
DM
7234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7235
7f66bd07
DM
7236 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7237 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7238 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7239
53362a4b
DM
7240 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7241 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7242 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7243 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7244 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7245 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7246 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7247 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7248 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7249 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7250 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7251 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7252 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7253 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7254 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7255 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7256 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7257 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7258 * sysdeps/sparc/elf/configure: Regenerated.
7259
7b1902cb
JM
72602012-03-01 Joseph Myers <joseph@codesourcery.com>
7261
bec039bc
JM
7262 * configure.in (AS, LD): Require binutils 2.20 or later.
7263 * configure: Regenerated.
7264 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7265 as required minimum version.
7266 * INSTALL: Regenerated.
7267
7b1902cb
JM
7268 [BZ #2541]
7269 [BZ #4108]
7270 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7271 before squaring exponent.
7272 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7273 bottom long double and 27 bits of top long double before squaring
7274 exponent.
7275 * math/libm-test.inc (erfc_test): Add more tests.
7276 * sysdeps/i386/fpu/libm-test-ulps: Update.
7277 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7279
f775c276
KT
72802012-03-01 Kai Tietz <ktietz@redhat.com>
7281
7282 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7283 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7284 containing bit-fields.
7285 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7286 * soft-fp/single.h (_FP_UNION_S): Likewise.
7287 * soft-fp/double.h (_FP_UNION_D): Likewise.
7288
5b8a4d4a
JM
72892012-02-29 Joseph Myers <joseph@codesourcery.com>
7290
0bab47b6
JM
7291 [BZ #13786]
7292 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7293 not include ../strcmp.S.
7294 [USE_AS_STRNCASECMP_L]: Likewise.
7295 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7296 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7297 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7298 (__strncasecmp_l_ia32): Define as alias to
7299 __strncasecmp_l_nonascii.
7300
0fcad3e2
JM
7301 [BZ #5794]
7302 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7303 * sysdeps/i386/fpu/libm-test-ulps: Update.
7304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7305
5b8a4d4a
JM
7306 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7308
8fdceb2e
JL
73092012-02-29 Jeff Law <law@redhat.com>
7310
7311 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7312 out of bounds read.
7313
1f393a11
MP
73142012-02-29 Marek Polacek <polacek@redhat.com>
7315
7316 [BZ #13706]
7317 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7318 * elf/Makefile: Add rules to run tst-unused-dep.out.
7319
8847f037
DM
73202012-02-28 David S. Miller <davem@davemloft.net>
7321
7322 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7323 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7324 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7325 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7326 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7327 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7328
169d7f11
JM
73292012-02-29 Joseph Myers <joseph@codesourcery.com>
7330
7331 * math/libm-test.inc (llround_test): Move one test from
7332 lround_test. Use TEST_f_L in moved test.
7333 (lround_test): Move misplaced test to llround_test. Add testcase
7334 from bug 2561.
7335
39adf059
UD
73362012-02-28 Ulrich Drepper <drepper@gmail.com>
7337
7338 * sysdeps/x86_64/fpu/e_expf.S: New file.
7339 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7340
71b5d1c5
SB
73412012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7342
7343 [BZ #13637]
7344 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7345 of remain_len that may cause incomplete multi-byte character and
7346 false match.
7347 * posix/bug-regex33.c: New file.
7348 * posix/Makefile (tests): Add bug-regex33.
7349
1f77f049
JM
73502012-02-28 Joseph Myers <joseph@codesourcery.com>
7351
7352 * manual/macros.texi: New file.
7353 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7354 * manual/libc.texinfo: Include macros.texi.
7355 * manual/creatute.texi: Likewise.
7356 * manual/install.texi: Likewise.
7357 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7358 @glibcadj{} in references to the GNU C Library.
7359 * manual/charset.texi: Likewise.
7360 * manual/conf.texi: Likewise.
7361 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7362 when not using those macros.
7363 * manual/creature.texi: Likewise.
7364 * manual/crypt.texi: Likewise.
7365 * manual/errno.texi: Likewise.
7366 * manual/filesys.texi: Likewise.
7367 * manual/header.texi: Likewise.
7368 * manual/install.texi: Likewise.
7369 * manual/intro.texi: Likewise.
7370 * manual/io.texi: Likewise.
7371 * manual/job.texi: Likewise.
7372 * manual/lang.texi: Likewise.
7373 * manual/libc.texiinfo: Likewise.
7374 * manual/llio.texi: Likewise.
7375 * manual/locale.texi: Likewise.
7376 * manual/maint.texi: Likewise.
7377 * manual/math.texi: Likewise.
7378 * manual/memory.texi: Likewise.
7379 * manual/message.texi: Likewise.
7380 * manual/nss.texi: Likewise.
7381 * manual/pattern.texi: Likewise.
7382 * manual/process.texi: Likewise.
7383 * manual/resource.texi: Likewise.
7384 * manual/search.texi: Likewise.
7385 * manual/setjmp.texi: Likewise.
7386 * manual/signal.texi: Likewise.
7387 * manual/socket.texi: Likewise.
7388 * manual/startup.texi: Likewise.
7389 * manual/stdio.texi: Likewise.
7390 * manual/string.texi: Likewise.
7391 * manual/sysinfo.texi: Likewise.
7392 * manual/syslog.texi: Likewise.
7393 * manual/terminal.texi: Likewise.
7394 * manual/time.texi: Likewise.
7395 * manual/users.texi: Likewise.
7396 * INSTALL: Regenerated.
7397 * NOTES: Regenerated.
d40c5d54 7398 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7399
450bf206
AS
74002012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7401
7402 * include/dirent.h: Include <dirstream.h> before
7403 <dirent/dirent.h>.
7404
741a235b
DM
74052012-02-28 David S. Miller <davem@davemloft.net>
7406
7407 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7408 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7409 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7410 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7411
d6b5aa58
DM
74122012-02-27 David S. Miller <davem@davemloft.net>
7413
1aff59a3
DM
7414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7416 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7417 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7418
d6b5aa58
DM
7419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7420 frame pointer instead of stack pointer relative arg slot.
7421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7422 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7423 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7424
433f48bf
CD
74252012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7426
7427 [BZ #3992]
7428 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7429
d674b76d
DM
74302012-02-27 David S. Miller <davem@davemloft.net>
7431
7432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7436 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7437 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7438 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7439 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7440
0e7727f7
JM
74412012-02-27 Joseph Myers <joseph@codesourcery.com>
7442
7443 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7444 later. Allow versions 5-9.
43be4ca2 7445 * configure: Regenerated.
0e7727f7
JM
7446 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7447 required minimum version and 4.6 as recommended version. Do not
7448 mention bugs in GCC 2.7 and 2.8.
43be4ca2 7449 * INSTALL: Regenerated.
0e7727f7 7450
a78bc654
DM
74512012-02-27 David S. Miller <davem@davemloft.net>
7452
428d5830
DM
7453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7457 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7458 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7459 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7460 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7461
a78bc654
DM
7462 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7463 manipulate bits before adding and subtracting TWO112[sx].
7464 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7465
4579f81c
RM
74662012-02-27 Roland McGrath <roland@hack.frob.com>
7467
36c8acb4
RM
7468 [BZ #13775]
7469 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7470 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7471 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7472 being in POSIX, because they are in 1003.1-2008.
7473
84ad622b
RM
7474 * rt/tst-aio.c: Include <fcntl.h>.
7475 * rt/tst-aio7.c: Likewise.
7476 * rt/tst-aio64.c: Likewise.
7477
4579f81c
RM
7478 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7479
abd923db
JM
74802012-02-27 Joseph Myers <joseph@codesourcery.com>
7481
7482 * manual/install.texi (--with-headers): Describe headers as
7483 interface headers, not private headers.
7484 (Specific advice for GNU/Linux systems): Describe use of headers
7485 from "make headers_install", not private headers from older
7486 kernels.
43be4ca2 7487 * INSTALL: Regenerated.
abd923db
JM
7488 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7489 Change to 2.6.19.
7490 * sysdeps/unix/sysv/linux/configure: Regenerated.
7491
6664049b
JM
7492 * manual/llio.texi (fclean): Remove documentation.
7493
bb8b6697
JM
7494 * manual/Makefile (libc-texi-generated): New variable. Include
7495 version.texi.
7496 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7497 $(libc-texi-generated), not duplicated list of files.
7498 (version.texi, stamp-version): New rules.
7499 (realclean): Remove $(libc-texi-generated), not individual files
7500 from that list. Do not remove dir-add.texinfo.
7501 * manual/libc.texinfo: Comment out uses of edition numbers and
7502 references to printed manual. Remove last-updated dates.
7503 (EDITION): Comment out.
7504 (ISBN): Likewise.
7505 (VERSION, UPDATED): Remove.
7506 (version.texi): Include.
7507
12e5c3b9
AS
75082012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7509
7510 * sysdeps/posix/spawni.c: Include <signal.h>.
7511 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7512 * sysdeps/pthread/aio_fsync.c: Likewise.
7513
4efeffc1 75142012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 7515
ba63ba08
UD
7516 * conform/Makefile (tests): Run only when not cross-compiling and
7517 when fast-check is not defined.
7518
d94a4670
UD
7519 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7520 * conform/data/limits.h-data: Fixes for POSIX2008.
7521 * conform/run-conformtest.sh: Run all tests.
7522 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7523 headers.
7524 * include/bits/dlfcn.h: Likewise.
7525 * include/langinfo.h: Likewise.
7526 * include/monetary.h: Likewise.
7527 * include/sys/poll.h: Likewise.
7528
7529 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7530 for __USE_GNU.
7531 * posix/spawn.h: Define __need_sigset_t.
7532 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7533 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7534 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7535 to get sigevent_t only.
7536 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7537 only for __USE_GNU.
7538 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7539 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7540 process_vm_writev only for __USE_GNU.
7541 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
7542
7543 * conform/Makefile: For now ignore errors from run-conformtest.
7544 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7545 POSIX to avoid namespace pollution. Don't prepend headers.
7546 * conform/data/aio.h-data: Fixes for POSIX testing.
7547 * conform/data/fcntl.h-data: Likewise.
7548 * conform/data/glob.h-data: Likewise.
7549 * conform/data/grp.h-data: Likewise.
7550 * conform/data/pthread.h-data: Likewise.
7551 * conform/data/pwd.h-data: Likewise.
7552 * conform/data/signal.h-data: Likewise.
7553 * conform/data/spawn.h-data: Likewise.
7554 * conform/data/stdio.h-data: Likewise.
7555 * conform/data/stdlib.h-data: Likewise.
7556 * conform/data/stropts.h-data: Likewise.
7557 * conform/data/sys/mman.h-data: Likewise.
7558 * conform/data/sys/stat.h-data: Likewise.
7559 * conform/data/sys/types.h-data: Likewise.
7560 * conform/data/sys/wait.h-data: Likewise.
7561 * conform/data/time.h-data: Likewise.
7562 * conform/data/unistd.h-data: Likewise.
7563 * conform/data/utime.h-data: Likewise.
7564
7565 * io/sys/stat.h: fchmod was always in POSIX.
7566 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7567 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7568 * rt/aio.h: Define __need_timespec before including <time.h>.
7569 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7570 struct. Add forward declaration of pthread_attr_t and use it in
7571 sigevent.
7572 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7573 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7574 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7575 always remove CLK_TCK definition.
7576
c20105c3
AS
75772012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7578
7579 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7580
7a270350
UD
75812012-02-25 Ulrich Drepper <drepper@gmail.com>
7582
31341567
UD
7583 * conform/run-conformtest.sh: New file.
7584 * conform/Makefile: Run run-conformtest for tests.
7585 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7586 support.
7587
7588 * conform/data/uchar.h-data: New file.
7589 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7590 * conform/data/arpa/inet.h-data: Likewise.
7591 * conform/data/assert.h-data: Likewise.
7592 * conform/data/complex.h-data: Likewise.
7593 * conform/data/cpio.h-data: Likewise.
7594 * conform/data/ctype.h-data: Likewise.
7595 * conform/data/dirent.h-data: Likewise.
7596 * conform/data/dlfcn.h-data: Likewise.
7597 * conform/data/errno.h-data: Likewise.
7598 * conform/data/fcntl.h-data: Likewise.
7599 * conform/data/float.h-data: Likewise.
7600 * conform/data/fmtmsg.h-data: Likewise.
7601 * conform/data/fnmatch.h-data: Likewise.
7602 * conform/data/ftw.h-data: Likewise.
7603 * conform/data/glob.h-data: Likewise.
7604 * conform/data/grp.h-data: Likewise.
7605 * conform/data/iconv.h-data: Likewise.
7606 * conform/data/inttypes.h-data: Likewise.
7607 * conform/data/langinfo.h-data: Likewise.
7608 * conform/data/libgen.h-data: Likewise.
7609 * conform/data/limits.h-data: Likewise.
7610 * conform/data/locale.h-data: Likewise.
7611 * conform/data/math.h-data: Likewise.
7612 * conform/data/monetary.h-data: Likewise.
7613 * conform/data/mqueue.h-data: Likewise.
7614 * conform/data/ndbm.h-data: Likewise.
7615 * conform/data/net/if.h-data: Likewise.
7616 * conform/data/netdb.h-data: Likewise.
7617 * conform/data/netinet/in.h-data: Likewise.
7618 * conform/data/nl_types.h-data: Likewise.
7619 * conform/data/poll.h-data: Likewise.
7620 * conform/data/pthread.h-data: Likewise.
7621 * conform/data/pwd.h-data: Likewise.
7622 * conform/data/regex.h-data: Likewise.
7623 * conform/data/sched.h-data: Likewise.
7624 * conform/data/search.h-data: Likewise.
7625 * conform/data/semaphore.h-data: Likewise.
7626 * conform/data/setjmp.h-data: Likewise.
7627 * conform/data/signal.h-data: Likewise.
7628 * conform/data/spawn.h-data: Likewise.
7629 * conform/data/stdarg.h-data: Likewise.
7630 * conform/data/stdio.h-data: Likewise.
7631 * conform/data/stdlib.h-data: Likewise.
7632 * conform/data/string.h-data: Likewise.
7633 * conform/data/strings.h-data: Likewise.
7634 * conform/data/stropts.h-data: Likewise.
7635 * conform/data/sys/ipc.h-data: Likewise.
7636 * conform/data/sys/mman.h-data: Likewise.
7637 * conform/data/sys/msg.h-data: Likewise.
7638 * conform/data/sys/resource.h-data: Likewise.
7639 * conform/data/sys/select.h-data: Likewise.
7640 * conform/data/sys/sem.h-data: Likewise.
7641 * conform/data/sys/shm.h-data: Likewise.
7642 * conform/data/sys/socket.h-data: Likewise.
7643 * conform/data/sys/stat.h-data: Likewise.
7644 * conform/data/sys/statvfs.h-data: Likewise.
7645 * conform/data/sys/time.h-data: Likewise.
7646 * conform/data/sys/timeb.h-data: Likewise.
7647 * conform/data/sys/times.h-data: Likewise.
7648 * conform/data/sys/types.h-data: Likewise.
7649 * conform/data/sys/uio.h-data: Likewise.
7650 * conform/data/sys/un.h-data: Likewise.
7651 * conform/data/sys/utsname.h-data: Likewise.
7652 * conform/data/sys/wait.h-data: Likewise.
7653 * conform/data/syslog.h-data: Likewise.
7654 * conform/data/tar.h-data: Likewise.
7655 * conform/data/termios.h-data: Likewise.
7656 * conform/data/utime.h-data: Likewise.
7657 * conform/data/utmpx.h-data: Likewise.
7658 * conform/data/varargs.h-data: Likewise.
7659 * conform/data/wchar.h-data: Likewise.
7660 * conform/data/wctype.h-data: Likewise.
7661 * conform/data/wordexp.h-data: Likewise.
7662
7663 * include/stropts.h: New file.
7664 * include/uchar.h: New file.
7665 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7666 * include/assert.h: Likewise.
7667 * include/ctype.h: Likewise.
7668 * include/dirent.h: Likewise.
7669 * include/dlfcn.h: Likewise.
7670 * include/fcntl.h: Likewise.
7671 * include/fnmatch.h: Likewise.
7672 * include/glob.h: Likewise.
7673 * include/grp.h: Likewise.
7674 * include/libio.h: Likewise.
7675 * include/locale.h: Likewise.
7676 * include/math.h: Likewise.
7677 * include/net/if.h: Likewise.
7678 * include/netdb.h: Likewise.
7679 * include/netinet/in.h: Likewise.
7680 * include/pthread.h: Likewise.
7681 * include/pwd.h: Likewise.
7682 * include/regex.h: Likewise.
7683 * include/sched.h: Likewise.
7684 * include/search.h: Likewise.
7685 * include/setjmp.h: Likewise.
7686 * include/signal.h: Likewise.
7687 * include/stdio.h: Likewise.
7688 * include/stdlib.h: Likewise.
7689 * include/string.h: Likewise.
7690 * include/sys/cdefs.h: Likewise.
7691 * include/sys/mman.h: Likewise.
7692 * include/sys/msg.h: Likewise.
7693 * include/sys/resource.h: Likewise.
7694 * include/sys/select.h: Likewise.
7695 * include/sys/socket.h: Likewise.
7696 * include/sys/stat.h: Likewise.
7697 * include/sys/statvfs.h: Likewise.
7698 * include/sys/time.h: Likewise.
7699 * include/sys/times.h: Likewise.
7700 * include/sys/uio.h: Likewise.
7701 * include/sys/utsname.h: Likewise.
7702 * include/sys/wait.h: Likewise.
7703 * include/termios.h: Likewise.
7704 * include/time.h: Likewise.
7705 * include/ulimit.h: Likewise.
7706 * include/unistd.h: Likewise.
7707 * include/utime.h: Likewise.
7708 * include/wchar.h: Likewise.
7709 * include/wctype.h: Likewise.
7710 * include/wordexp.h: Likewise.
7711
7712 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7713
7a270350
UD
7714 * time/time.h: TIME_UTC must be a macro.
7715 Make timespec_get available for ISO C11 only as well.
7716
7724defc
UD
77172012-02-24 Ulrich Drepper <drepper@gmail.com>
7718
7719 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7720 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7721
6b1d1d46
JM
77222012-02-24 Joseph Myers <joseph@codesourcery.com>
7723
7724 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 7725
0f8bbd69
JM
77262012-02-24 Joseph Myers <joseph@codesourcery.com>
7727
7728 * manual/texinfo.tex: Update to version 2012-01-19.16.
7729
66ab80bc
JM
77302012-02-24 Joseph Myers <joseph@codesourcery.com>
7731
7732 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7733
74981cc5
RM
77342012-02-24 Roland McGrath <roland@hack.frob.com>
7735
ee968201
RM
7736 [BZ #13738]
7737 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7738 * manual/fdl-1.3.texi: New file.
7739 * manual/fdl-1.1.texi: File removed.
7740
74981cc5
RM
7741 [BZ #13738]
7742 * manual/libc.texinfo (FDL_VERSION): New @set.
7743 Use it for mention of FDL in cover text.
7744 (Documentation License): Use it in @include file name.
7745
7bb764bc
JM
77462012-02-22 Joseph Myers <joseph@codesourcery.com>
7747 Roland McGrath <roland@hack.frob.com>
7748
7749 [BZ #5461]
7750 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7751 not LONG_LONG_MAX and LONG_LONG_MIN.
7752 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7753 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7754 name.
7755 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7756
6cbeae47
JM
77572012-02-22 Joseph Myers <joseph@codesourcery.com>
7758
7759 [BZ #2547]
7760 [BZ #11365]
7761 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7762 manipulate bits before adding and subtracting TWO23[sx].
7763 * math/libm-test.inc (nearbyint_test): Add more tests.
7764
fe45ce09
JM
77652012-02-22 Joseph Myers <joseph@codesourcery.com>
7766
7767 [BZ #2548]
7768 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7769 bits before adding and subtracting TWO23[sx].
7770 * math/libm-test.inc (rint_test): Add more tests.
7771 (rint_test_tonearest): Likewise.
7772 (rint_test_towardzero): Likewise.
7773 (rint_test_downward): Likewise.
7774 (rint_test_upward: Likewise.
7775
ff3b3d82
JM
77762012-02-22 Joseph Myers <joseph@codesourcery.com>
7777
7778 [BZ #10110]
7779 * include/stdc-predef.h: New file. Extracted from features.h.
7780 * include/features.h: Include stdc-predef.h.
7781 * Makefile (headers): Add stdc-predef.h.
7782 * CONFORMANCE (Compiler limitations): Update.
7783
ef0aab35
JM
77842012-02-22 Joseph Myers <joseph@codesourcery.com>
7785
7786 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7787
58639409
DM
77882012-02-21 David S. Miller <davem@davemloft.net>
7789
7790 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7791 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7792
c0e70b25
DM
77932012-02-20 David S. Miller <davem@davemloft.net>
7794
7795 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7796 using a normal save/restore sequence, rather than allocating a
7797 dummy stack frame just to store a frame pointer and restore.
7798 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7799
fb06851d
JM
78002012-02-21 Joseph Myers <joseph@codesourcery.com>
7801
7802 * manual/install.texi: Fix stray word in line-wrapped comment.
7803
7a8b71c3
DM
78042012-02-20 David S. Miller <davem@davemloft.net>
7805
d510c123
DM
7806 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7807 both binutils and gcc support GOTDATA.
7808
0722d7c2
DM
7809 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7810 "rd %pc" in the PIC register setup sequences.
7811
3d2b3019
DM
7812 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7813 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7814 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7815 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7816 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7817 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7818 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7819 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7820 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7821 (SYSCALL_ERROR_HANDLER): Likewise.
7822 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7823 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7824 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7825 (SYSCALL_ERROR_HANDLER): Likewise.
7826
c80098a9
DM
7827 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7828 (HAVE_GCC_GOTDATA): New.
7829 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7830 relocation support in both binutils and gcc.
7831 * sysdeps/sparc/elf/configure: Regenerate.
7832
3a2545a0
DM
7833 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7834 * sysdeps/sparc/sparc32/elf/configure: Delete.
7835 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7836 * sysdeps/sparc/sparc64/elf/configure: Delete.
7837 * sysdeps/sparc/elf/configure.in: New file.
7838 * sysdeps/sparc/elf/configure: Generate.
7839
7a8b71c3
DM
7840 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7841 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7842 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7843 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7844 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7845
f1e86fca
JM
78462012-02-21 Joseph Myers <joseph@codesourcery.com>
7847
7848 * manual/install.texi: Do not mention specific glibc version
7849 numbers.
7850 * manual/libc.texinfo (VERSION, UPDATED): Update.
7851 (@copying): Use @copyright{} and range of years.
7852
0e7dfaef
JM
78532012-02-21 Joseph Myers <joseph@codesourcery.com>
7854
7855 [BZ #13695]
7856 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7857 [crti.S not in sysdirs] (generated): Do not append.
7858 [crti.S not in sysdirs] (omit-deps): Likewise.
7859 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7860 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7861 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7862 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7863 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7864 Likewise.
7865 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7866 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7867 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7868 * csu/defs.awk: Remove file.
7869 * sysdeps/generic/initfini.c: Likewise.
7870 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7871 variable.
7872 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7873 Likewise.
7874
599af3ca
JM
78752012-02-20 Joseph Myers <joseph@codesourcery.com>
7876
7877 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7878 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7879 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7880 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7881 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7882 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7883 <bits/epoll.h>.
7884 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7885 (__EPOLL_PACKED): Define to empty if not defined by
7886 <bits/epoll.h>.
7887 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7888 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7889 bits/epoll.h.
7890
0e499750
JM
78912012-02-20 Joseph Myers <joseph@codesourcery.com>
7892
7893 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7894 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7895 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7896 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7897 <bits/timerfd.h>.
7898 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7899 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7900 bits/timerfd.h.
7901
5ad91f6e
JM
79022012-02-20 Joseph Myers <joseph@codesourcery.com>
7903
7904 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7905 in C locale.
7906 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7907 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7908 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7910
06b99b02
AJ
79112012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7912
7913 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7914 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7915
7638c0fd
AS
79162012-02-19 Andreas Schwab <schwab@linux-m68k.org>
7917
7918 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
7919 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
7920 defined.
7921 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
7922 Likewise.
7923 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7924 entry for 2.16.
7925
92221550
AJ
79262012-02-19 Aurelien Jarno <aurelien@aurel32.net>
7927
7928 * math/w_acos.c: Use non-signaling floating-point comparisons.
7929 * math/w_acosf.c: Likewise.
7930 * math/w_acosh.c: Likewise.
7931 * math/w_acoshf.c: Likewise.
7932 * math/w_acoshl.c: Likewise.
7933 * math/w_acosl.c: Likewise.
7934 * math/w_asin.c: Likewise.
7935 * math/w_asinf.c: Likewise.
7936 * math/w_asinl.c: Likewise.
7937 * math/w_atanh.c: Likewise.
7938 * math/w_atanhf.c: Likewise.
7939 * math/w_atanhl.c: Likewise.
7940 * math/w_exp2.c: Likewise.
7941 * math/w_exp2f.c: Likewise.
7942 * math/w_exp2l.c: Likewise.
7943 * math/w_j0.c: Likewise.
7944 * math/w_j0f.c: Likewise.
7945 * math/w_j0l.c: Likewise.
7946 * math/w_j1.c: Likewise.
7947 * math/w_j1f.c: Likewise.
7948 * math/w_j1l.c: Likewise.
7949 * math/w_jn.c: Likewise.
7950 * math/w_jnf.c: Likewise.
7951 * math/w_log.c: Likewise.
7952 * math/w_log10.c: Likewise.
7953 * math/w_log10f.c: Likewise.
7954 * math/w_log10l.c: Likewise.
7955 * math/w_log2.c: Likewise.
7956 * math/w_log2f.c: Likewise.
7957 * math/w_log2l.c: Likewise.
7958 * math/w_logf.c: Likewise.
7959 * math/w_logl.c: Likewise.
7960 * math/w_sqrt.c: Likewise.
7961 * math/w_sqrtf.c: Likewise.
7962 * math/w_sqrtl.c: Likewise.
7963 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7964 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7965 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7966 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7967 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7968
ebaf36eb
JM
79692012-02-19 Joseph Myers <joseph@codesourcery.com>
7970
7971 [BZ #9739]
7972 * manual/string.texi (strnlen): Use correct parameter name in
7973 equivalent expression.
7974
71c254a6
JM
79752012-02-19 Joseph Myers <joseph@codesourcery.com>
7976
7977 [BZ #11174]
7978 * manual/users.texi (seteuid): Consistently use neweuid for
7979 argument name.
7980
16d2c631
JM
79812012-02-19 Joseph Myers <joseph@codesourcery.com>
7982
7983 [BZ #13704]
7984 * manual/nss.texi (Services in the NSS configuration): Correct
7985 list of services in example configuration file.
7986
cd837b09
NB
79872012-02-19 Nick Bowler <nbowler@draconx.ca>
7988
7989 [BZ #11322]
7990 * manual/arith.texi: Remove statements about negative zero
7991 behaving identically to zero.
7992
02c4bbad
JM
79932012-02-18 Joseph Myers <joseph@codesourcery.com>
7994
7995 [BZ #5993]
7996 * manual/install.texi: Do not document upgrading from libc5.
7997
366842e7
JM
79982012-02-18 Joseph Myers <joseph@codesourcery.com>
7999
8000 [BZ #4596]
8001 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8002
dd54084d
DM
80032012-02-18 David S. Miller <davem@davemloft.net>
8004
8005 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8006 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8007 %o7 across the call.
8008 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8009 instead.
8010 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8011 SETUP_PIC_REG_LEAF.
8012 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8013 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8014 * sysdeps/sparc/crtn.S: Likewise.
8015
2bcc53a3
UD
80162012-02-17 Ulrich Drepper <drepper@gmail.com>
8017
8018 * aout/Makefile: Remove.
8019
09c093b5
RK
80202012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8021
8022 [BZ #13058]
8023 * manual/examples/argp-ex1.c (main): Format definition in GNU
8024 style.
8025 * manual/examples/argp-ex2.c (main): Likewise.
8026 * manual/examples/argp-ex3.c (main): Likewise.
8027 * manual/examples/argp-ex4.c (main): Likewise.
8028 * manual/examples/longopt.c (main): Use new-style prototype
8029 definition.
8030 * manual/examples/strncat.c (main): Specify return type and use
8031 (void) for arguments.
8032 * manual/examples/subopt.c (main): Use char **argv argument.
8033
2ee633a2
JM
80342012-02-17 Joseph Myers <joseph@codesourcery.com>
8035
8036 [BZ #5077]
8037 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8038 rounding modes.
8039
0520adde
FB
80402012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8041
8042 [BZ #6907]
8043 * manual/string.texi (strchr): Change when strchrnul is
8044 recommended.
8045
3f4081cd
DGM
80462012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8047
8048 [BZ #174]
8049 * manual/locale.texi (setlocale): Document LOCPATH.
8050
d1b10e78
JM
80512012-02-17 Joseph Myers <joseph@codesourcery.com>
8052
8053 [BZ #10210]
8054 * manual/process.texi (execle): Move @dots{} before last argument.
8055
79c6869c
PB
80562012-02-17 Paul Bolle <pebolle@tiscali.nl>
8057
8058 [BZ #12047]
8059 * manual/charset.texi (Generic Charset Conversion): Fix typo
8060 (LC_TYPE -> LC_CTYPE).
8061
cc6e48bc
NB
80622012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8063
8064 [BZ #5805]
8065 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8066 (scalbnf): Likewise.
8067 (scalbnl): Likewise.
8068 (scalbln): Likewise.
8069 (scalblnf): Likewise.
8070 (scalblnl): Likewise.
8071 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8072 (vwarnx): Likewise.
8073 (verr): Likewise.
8074 (verrx): Likewise.
8075 * manual/filesys.texi (telldir): Use braces around return type.
8076 * manual/llio.texi (mmap): Add space after comma.
8077 (mmap64): Likewise.
8078 * manual/math.texi (jn): Use @var{} on parameter names.
8079 (jnf): Likewise.
8080 (jnl): Likewise.
8081 (yn): Likewise.
8082 (ynf): Likewise.
8083 (ynl): Likewise.
8084 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8085 line.
8086 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8087 "...".
8088 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8089 (sched_get_priority_max): Likewise.
8090 * manual/signal.texi (sigvec): Add space after comma.
8091 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8092 names.
8093 (if_indextoname): Likewise.
8094 (if_freenameindex): Likewise.
8095 (sendto): Use ',' instead of '.' in prototype.
8096 * manual/startup.texi (syscall): Use @dots{} instead of literal
8097 "...".
8098 * manual/stdio.texi (__fpending): Separate initial words of
8099 paragraph from @deftypefun line.
8100 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8101 "...".
8102 (vsyslog): Use @var{} on parameter names.
8103 * manual/terminal.texi (stty): Use @var{} on parameter names.
8104 * manual/users.texi (getutmp): Use @var{} on parameter names.
8105 (getutmpx): Likewise.
8106
5b23062f
JM
81072012-02-17 Joseph Myers <joseph@codesourcery.com>
8108
8109 [BZ #6884]
8110 * manual/stdio.texi (fopen): Fix typos in description of
8111 ",ccs=STRING".
8112
8dee4833
AJ
81132012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8114
8115 [BZ #4026]
8116 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8117 get clock_id definition.
8118
9078ce93
TS
81192012-02-17 Thomas Schwinge <thomas@schwinge.name>
8120
8121 [BZ #4822]
8122 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8123 (madvise): Cast every argument to void on its own.
8124
3835c55f
JM
81252012-02-17 Joseph Myers <joseph@codesourcery.com>
8126
8127 [BZ #9902]
8128 * manual/startup.texi (Exit Status): Fix typo.
8129
35c47e37
JM
81302012-02-17 Joseph Myers <joseph@codesourcery.com>
8131
8132 [BZ #10140]
8133 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8134 * manual/examples/argp-ex2.c: Likewise.
8135 * manual/examples/argp-ex3.c: Likewise.
8136
e3b69ca7
RH
81372012-02-16 Richard Henderson <rth@redhat.com>
8138
8139 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8140 * sysdeps/s390/s390-32/initfini.c: Remove.
8141 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8142 * sysdeps/s390/s390-64/initfini.c: Remove.
8143
df83af67
KK
81442012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8145
8146 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8147 compiler output for sysdeps/generic/initfini.c.
8148 * sysdeps/sh/elf/initfini.c: Remove file.
8149
f63f3380
DM
81502012-02-16 David S. Miller <davem@davemloft.net>
8151
fb59b3a4
DM
8152 [BZ #11494]
8153 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8154
f63f3380
DM
8155 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8156 * sysdeps/sparc/crti.S: New file.
8157 * sysdeps/sparc/crtn.S: New file.
8158 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8159 * sysdeps/sparc/sparc64/Makefile: Likewise.
8160
df6a4a4a
MF
81612012-02-15 Mike Frysinger <vapier@gentoo.org>
8162
6dd8f3dc 8163 [BZ #3335]
df6a4a4a
MF
8164 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8165
1cac7236
RM
81662012-02-15 Roland McGrath <roland@hack.frob.com>
8167
d2c736f8
RM
8168 [BZ #4822]
8169 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8170
1cac7236
RM
8171 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8172 (write, read, close): Likewise.
8173 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8174
8e475601
JM
81752012-02-15 Joseph Myers <joseph@codesourcery.com>
8176
8177 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8178 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8179 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8180 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8181 <bits/signalfd.h>.
8182 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8183 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8184 bits/signalfd.h.
8185
ed656b40
MP
81862012-02-14 Marek Polacek <polacek@redhat.com>
8187
8188 * sysdeps/x86_64/crti.S: New file.
8189 * sysdeps/x86_64/crtn.S: New file.
8190 * sysdeps/x86_64/elf/initfini.c: Remove file.
8191
2a979d3a
JM
81922012-02-13 Joseph Myers <joseph@codesourcery.com>
8193
8194 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8195 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8196 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8197 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8198 <bits/inotify.h>.
8199 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8200 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8201 bits/inotify.h.
8202
2a418ac3
JM
82032012-02-13 Joseph Myers <joseph@codesourcery.com>
8204
8205 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8206 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8207 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8208 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8209 <bits/eventfd.h>.
8210 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8211 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8212 bits/eventfd.h.
8213
fb779be7
TS
82142012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8215
e19e83c5
RM
8216 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8217 __feraiseexcept instead of feraiseexcept.
7c35ffed 8218
fb779be7
TS
8219 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8220 nanosleep invocations.
8221 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8222 strings, and add error checking for a nanosleep invocations.
8223
59ba27a6
PE
82242012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8225
8226 Replace FSF snail mail address with URLs, as per GNU coding standards.
8227 Most of the snail mail addresses were wrong anyway, and omitting
8228 them makes the source code easier to maintain. Almost all of the
8229 changes are to license notices and to locale LC_IDENTIFICATION
8230 addresses, except for this one:
8231 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8232 not its snail mail address.
8233
57b957eb
RH
82342012-02-09 Richard Henderson <rth@twiddle.net>
8235
af850b1c
RH
8236 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8237 of kernel-features.h.
8238
57b957eb
RH
8239 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8240
6b73181a
MP
82412012-02-08 Marek Polacek <polacek@redhat.com>
8242
8243 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8244 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8245 * sysdeps/gnu/_G_config.h: Likewise.
8246 * sysdeps/generic/_G_config.h: Likewise.
8247
26ecc33a
AS
82482012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8249
6c6dbc63
AS
8250 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8251 tests.
8252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8253
e216c012
AS
8254 * sysdeps/powerpc/powerpc32/crti.S: New file.
8255 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8256 * sysdeps/powerpc/powerpc64/crti.S: New file.
8257 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8258
26ecc33a
AS
8259 * Makeconfig (have-initfini): Don't set.
8260 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8261 * configure.in (nopic_initfini): Don't substitute.
8262 * config.h.in (HAVE_INITFINI): Don't #undef.
8263 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8264 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8265
3add8e13
JM
82662012-02-08 Joseph Myers <joseph@codesourcery.com>
8267
8268 Support crti.S and crtn.S provided directly by architectures.
8269 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8270 [crti.S in sysdirs] (omit-deps): Likewise.
8271 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8272 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8273 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8274 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8275 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8276 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8277 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8278 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8279 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8280 compiler output for sysdeps/generic/initfini.c.
8281 * sysdeps/i386/elf/Makefile: Remove file.
8282 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8283
a22f12b4
MP
82842012-02-07 Marek Polacek <polacek@redhat.com>
8285
8286 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8287 * sysdeps/gnu/_G_config.h: Likewise.
8288 * sysdeps/mach/hurd/_G_config.h: Likewise.
8289
148cf100
MP
82902012-02-07 Marek Polacek <polacek@redhat.com>
8291
8292 * math/Makefile (tests): Add tst-CMPLX2.
8293 * math/tst-CMPLX2.c: New file.
8294
cfdc0dd7
AS
82952012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8296
84ba42c4
AS
8297 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8298
cfdc0dd7
AS
8299 * math/libm-test.inc (jn_test): Add missing L suffix.
8300
622c86f4
MP
83012012-02-06 Marek Polacek <polacek@redhat.com>
8302
8303 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8304 * sysdeps/i386/fpu/e_powf.S: Likewise.
8305 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8306 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8307 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8308 * sysdeps/i386/fpu/e_pow.S: Likewise.
8309 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8310 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8311 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8312 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8313 * sysdeps/i386/fpu/e_log2.S: Likewise.
8314 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8315 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8316 * sysdeps/i386/fpu/e_powl.S: Likewise.
8317 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8318 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8319 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8320 * sysdeps/i386/fpu/e_logl.S: Likewise.
8321 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8322 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8323 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8324 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8325 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8326 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8327 * sysdeps/i386/fpu/e_log.S: Likewise.
8328 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8329 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8330 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8331 * sysdeps/i386/fpu/e_logf.S: Likewise.
8332 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8333 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8334 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8335 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8336 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8337 * sysdeps/i386/fpu/e_log10.S: Likewise.
8338 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8339 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8340 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8341 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8342 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8343 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8344 * sysdeps/i386/asm-syntax.h: Likewise.
8345 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8346 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8347 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8348 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8349 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8350 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8351 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8352 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8353 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8354 * sysdeps/powerpc/sysdep.h: Likewise.
8355 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8356 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8357
d4a54ac6
JM
83582012-02-06 Joseph Myers <joseph@codesourcery.com>
8359
8360 [BZ #411]
8361 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8362
314054ea
JM
83632012-02-06 Joseph Myers <joseph@codesourcery.com>
8364
8365 * sysdeps/i386/sysdep.h: Include <features.h>.
8366 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8367 version.
8368
d8e0ca50
JM
83692012-02-05 Joseph Myers <joseph@codesourcery.com>
8370
8371 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8372 Define.
8373 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8374 LOAD_PIC_REG_STR.
8375
b1da7dd9
JM
83762012-02-03 Joseph Myers <joseph@codesourcery.com>
8377
8378 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8379 (SETUP_PIC_REG): Use GET_PC_THUNK.
8380 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8381 macro.
8382
9a1d9254
JM
83832012-02-03 Joseph Myers <joseph@codesourcery.com>
8384
8385 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8386 for non-PIC compilation.
8387 (SETUP_PIC_REG): Add .p2align directive.
8388 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8389 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8390 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8391 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8392 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8393 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8394 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8395 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8396 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8397 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8398 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8399 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8400 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8401 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8402 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8403 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8404 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8405 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8406 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8407 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8408 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8409 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8410 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8411 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8412 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8413 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8414 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8415 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8416 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8417 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8418 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8419 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8420 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8421 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8422 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8423 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8424 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8425 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8426 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8427 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8428 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8429
65dc3b75
JM
84302012-02-03 Joseph Myers <joseph@codesourcery.com>
8431
8432 * math/tst-CMPLX.c: Include <stdio.h>.
8433
d55bf177
JM
84342012-01-31 Joseph Myers <joseph@codesourcery.com>
8435
8436 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8437 float.
8438 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8439 * sysdeps/sparc/bits/mathdef.h: Likewise.
8440
69db4f8f
MP
84412012-01-31 Marek Polacek <polacek@redhat.com>
8442
8443 * libio/libio.h: Don't define _PARAMS.
8444 * locale/programs/config.h: Don't define PARAMS.
8445 * stdlib/strtol_l.c: Likewise.
8446 (__strtol_l): Remove PARAMS from the prototype.
8447
41b81892
UD
84482012-01-31 Ulrich Drepper <drepper@gmail.com>
8449
3b49edc0
UD
8450 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8451 names. Just use the correct names. Remove unnecessary wrapper
8452 functions.
8453 * malloc/arena.c: Likewise.
8454 * malloc/hooks.c: Likewise.
8455
41b81892
UD
8456 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8457 ARENA_TEST says not to. Simplify test for creation of a new arena.
8458 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8459
27a25b6e
UD
84602012-01-30 Ulrich Drepper <drepper@gmail.com>
8461
8462 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8463 into tail calls.
8464 (update_get_addr): New function.
8465 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8466 GET_ADDR_MODULE parameter.
8467
c8a89e7d
JM
84682012-01-30 Joseph Myers <joseph@codesourcery.com>
8469
8470 * crypt/cert.c: Remove __STDC__ conditionals.
8471 * crypt/crypt-entry.c: Likewise.
8472 * crypt/crypt_util.c: Likewise.
8473 * libio/filedoalloc.c: Likewise.
8474 * libio/fileops.c: Likewise.
8475 * libio/genops.c: Likewise.
8476 * libio/iofclose.c: Likewise.
8477 * libio/iofdopen.c: Likewise.
8478 * libio/iofopen.c: Likewise.
8479 * libio/iofopen64.c: Likewise.
8480 * libio/iogetdelim.c: Likewise.
8481 * libio/iopopen.c: Likewise.
8482 * libio/obprintf.c: Likewise.
8483 * libio/oldfileops.c: Likewise.
8484 * libio/oldiofclose.c: Likewise.
8485 * libio/oldiofdopen.c: Likewise.
8486 * libio/oldiofopen.c: Likewise.
8487 * libio/oldiopopen.c: Likewise.
8488 * libio/wfiledoalloc.c: Likewise.
8489 * libio/wgenops.c: Likewise.
8490 * locale/programs/xmalloc.c: Likewise.
8491 * misc/syslog.c: Likewise.
8492 * stdio-common/xbug.c: Likewise.
8493 * string/memchr.c: Likewise.
8494 * string/memcmp.c: Likewise.
8495 * string/memrchr.c: Likewise.
8496 * string/rawmemchr.c: Likewise.
8497 * sysdeps/posix/getcwd.c: Likewise.
8498 * time/strftime_l.c: Likewise.
8499
3b100462
JM
85002012-01-30 Joseph Myers <joseph@codesourcery.com>
8501
8502 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
8503 * config.make.in (config-cflags-sse2avx): Define.
8504 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8505 Fix typo.
8506
607998af
CM
85072012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8508
8509 * scripts/config.guess: Update from upstream config git repository.
8510 * scripts/config.sub: Likewise.
8511
3601428f
CM
85122012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8513
3ac8b282
CM
8514 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8515 (EM_NUM): Update.
8516 (R_TILEPRO_*, R_TILEGX_*): New macros.
8517
e034841e
CM
8518 * scripts/firstversions.awk: Fix bug in version range handling.
8519
540d7568
CM
8520 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8521
3601428f
CM
8522 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8523
463de862
CM
8524 * include/sys/epoll.h: New file.
8525 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8526 libc_hidden_def.
8527
73139a76
UD
85282012-01-28 Ulrich Drepper <drepper@gmail.com>
8529
96bc5b45
UD
8530 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8531 Avoid unnecessary __WORDSIZE == 64 test.
8532 (fmaxf): Use VEX format if possible.
8533 (fmax): Likewise.
8534 (fminf): Likewise.
8535 (fmin): Likewise.
8536
56f6f6a2
UD
8537 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8538 * math/math_private.h: Remove libc_fegetround* and
8539 libc_fesetround*.
8540 * sysdeps/i386/configure.in: Check for -msse2avx.
8541 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8542 also if SSE2AVX is defined.
8543 Remove libc_fegetround* and libc_fesetround*.
8544 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8545 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8546 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8547 of HAS_YMM_USABLE.
8548 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8549 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8550 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8551 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8552 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8553
73139a76
UD
8554 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8555
d73f93a4
AZ
85562012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8557
8558 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8559 size is not set.
8560 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8561
6ee65ed6
UD
85622012-01-27 Ulrich Drepper <drepper@gmail.com>
8563
8564 [BZ #13618]
8565 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8566 relocation.
8567 * Makeconfig (libm): Define.
8568 * elf/Makefile: Add rules to build and run tst-relsort1.
8569 * elf/tst-relsort1.c: New file.
8570 * elf/tst-relsort1mod1.c: New file.
8571 * elf/tst-relsort1mod2.c: New file.
8572
8db21882
JM
85732012-01-27 Joseph Myers <joseph@codesourcery.com>
8574
8575 * math/s_ldexp.c: Remove __STDC__ conditionals.
8576 * math/s_ldexpf.c: Likewise.
8577 * math/s_ldexpl.c: Likewise.
8578 * math/s_nextafter.c: Likewise.
8579 * math/s_nexttowardf.c: Likewise.
8580 * math/s_significand.c: Likewise.
8581 * math/s_significandf.c: Likewise.
8582 * math/s_significandl.c: Likewise.
8583 * math/w_jnl.c: Likewise.
8584 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8585 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8586 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8587 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8588 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8589 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8590 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8591 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8592 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8593 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8594 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8595 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8596 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8597 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8598 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8599 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8600 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8601 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8602 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8603 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8604 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8605 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8606 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8607 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8608 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8609 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8610 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8611 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8612 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8613 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8614 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8615 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8616 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8617 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8618 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8619 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8620 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8621 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8622 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8623 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8624 * sysdeps/ieee754/k_standard.c: Likewise.
8625 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8626 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8627 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8628 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8629 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8630 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8631 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8632 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8633 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8634 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8635 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8636 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8637 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8638 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8639 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8640 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8641 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8642 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8643 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8644 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8645 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8646 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8647 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8648 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8649 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8650 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8651 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8652 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8653 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8654 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8655 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8656 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8657 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8658 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8659 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8660 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8661 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8662 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8663 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8664 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8665 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8666 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8667 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8668 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8669 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8670 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8671 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8672 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8673 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8674 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8675 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8676 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8677 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8678 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8679 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8680 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8681 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8682 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8683 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8684 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8685 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8686 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8687 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8688 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8689 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8690 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8691 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8692 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8693 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8694 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8695 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8696 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8697 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8698 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8699 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8700 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8701 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8702 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8703 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8704 * sysdeps/ieee754/s_matherr.c: Likewise.
8705 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8706 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8707 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8708 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8709
965a54a4
JM
87102012-01-26 Joseph Myers <joseph@codesourcery.com>
8711
8712 * crypt/md5.h: Remove __STDC__ conditionals.
8713 * libio/libioP.h: Likewise.
8714 * locale/programs/config.h: Likewise.
8715 * sysdeps/generic/sysdep.h: Likewise.
8716 * sysdeps/i386/asm-syntax.h: Likewise.
8717 * sysdeps/s390/asm-syntax.h: Likewise.
8718 * sysdeps/unix/sysdep.h: Likewise.
8719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8721
7071ad79
JM
87222012-01-26 Joseph Myers <joseph@codesourcery.com>
8723
8724 * libio/libio.h: Remove __STDC__ conditionals.
8725 * malloc/obstack.h: Likewise.
8726 * math/complex.h: Likewise.
8727 * math/math.h: Likewise.
8728 * sysdeps/generic/_G_config.h: Likewise.
8729 * sysdeps/gnu/_G_config.h: Likewise.
8730 * sysdeps/mach/hurd/_G_config.h: Likewise.
8731 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8732 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8733 * sysdeps/sparc/bits/mathdef.h: Likewise.
8734
afc5ed09
UD
87352012-01-26 Ulrich Drepper <drepper@gmail.com>
8736
8737 [BZ #13583]
8738 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 8739 Clean up HAS_* macros.
afc5ed09 8740 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
8741 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8742 possible.
8743 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8744 HAS_AVX.
8745 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8746 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8747 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8748 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8749 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 8750
bdb6de1d
JM
87512012-01-25 Joseph Myers <joseph@codesourcery.com>
8752
8753 * elf/tst-unique3.cc (gets): Remove declaration.
8754 * elf/tst-unique3lib.cc (gets): Likewise.
8755 * elf/tst-unique3lib2.cc (gets): Likewise.
8756 * elf/tst-unique4.cc (gets): Likewise.
8757
b15549e6
UD
87582012-01-24 Ulrich Drepper <drepper@gmail.com>
8759
8760 * include/stdio.h: Add C++ protection. Add gets declarations and
8761 definitions.
8762 * debug/tst-chk1.c: Don't declare gets here.
8763 * stdio-common/tst-gets.c: Likewise.
8764
a037381f
JM
87652012-01-24 Joseph Myers <joseph@codesourcery.com>
8766
8767 * posix/glob: Remove directory.
8768
f1d4aa75
JM
87692012-01-24 Joseph Myers <joseph@codesourcery.com>
8770
8771 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8772
81c0c964
PT
87732012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8774
8775 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8776 of the non-standard EPFNOSUPPORT.
8777
0ea698ae
ST
87782011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8779
8780 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8781 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8782 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8783
d220b117
UD
87842012-01-21 Ulrich Drepper <drepper@gmail.com>
8785
8786 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8787
3e1aa84e
UD
87882012-01-20 Ulrich Drepper <drepper@gmail.com>
8789
8790 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8791 transient errors.
8792 * nscd/grpcache.c (cache_addgr): Likewise.
8793 * nscd/hstcache.c (cache_addhst): Likewise.
8794 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8795 * nscd/pwdcache.c (cache_addpw): Likewise.
8796 * nscd/servicescache.c (cache_addserv): Likewise.
8797
400aa020
UD
87982012-01-16 Ulrich Drepper <drepper@gmail.com>
8799
d77e7869
UD
8800 * malloc/malloc.c: Various cleanups.
8801 * malloc/hooks.c: Likewise.
8802
400aa020
UD
8803 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8804 * stdlib/bug-fmtmsg1.c: New file.
8805
8806 * stdlib/fmtmsg.c (init): Add missing unlock.
8807 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8808
e0a309cf
MP
88092012-01-12 Marek Polacek <polacek@redhat.com>
8810
8811 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8812 and _GNU_SOURCE.
8813
929d11c7
WS
88142012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8815
8816 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8817 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8818 macro to ensure uniqueness of label name.
8819 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8820 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8821
41d0e869
UD
88222012-01-11 Ulrich Drepper <drepper@gmail.com>
8823
0cc5ed3b
UD
8824 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8825
41d0e869
UD
8826 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8827 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8828 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8829 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8830
a47a831a
UD
88312012-01-10 Ulrich Drepper <drepper@gmail.com>
8832
daa891c0
UD
8833 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8834
8835 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8836 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8837 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8838
e58ef0f2
UD
8839 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8840
a47a831a 8841 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
8842 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8843 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 8844 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
8845
8846 * math/bits/math-finite.h: Add ldexp support.
8847
a0bfc9c7
MP
88482012-01-10 Marek Polacek <polacek@redhat.com>
8849
8850 * locale/programs/localedef.h (show_archive_content): Add noreturn
8851 attribute.
8852
d6e97a1d
UD
88532012-01-09 Ulrich Drepper <drepper@gmail.com>
8854
8855 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8856
d5835c26
UD
88572012-01-08 Ulrich Drepper <drepper@gmail.com>
8858
e5f484c6
UD
8859 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8860
d5835c26
UD
8861 * io/Makefile (headers): Add bits/poll2.h.
8862
d1f741e9
WS
88632011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8864
8865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8866 typo #include statement.
8867
ec09c1c4
UD
88682012-01-08 Ulrich Drepper <drepper@gmail.com>
8869
8870 * include/sys/cdefs.h: Define __attribute_alloc_size.
8871 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8872 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8873 * elf/pldd.c: Likewise.
8874 * iconv/iconv_charmap.c: Likewise.
8875 * iconv/iconvconfig.c: Likewise.
8876 * iconv/strtab.c: Likewise.
8877 * locale/programs/locale.c: Likewise.
8878 * locale/programs/localedef.h: Likewise.
8879 * locale/programs/simple-hash.c: Likewise.
8880 * nscd/nscd.h: Likewise.
8881 * nss/makedb.c: Likewise.
8882 * sysdeps/generic/ldconfig.h: Likewise.
8883 * locale/programs/localedef.c: Remove xmalloc prototype.
8884 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8885
20b38e03
PP
88862012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8887
8888 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8889 appropriate.
8890
a0da5fe1
UD
88912012-01-08 Ulrich Drepper <drepper@gmail.com>
8892
1d5a644a 8893 * math/Makefile (tests): Add tst-CMPLX.
669704fd 8894 * math/tst-CMPLX.c: New file.
1d5a644a 8895
8784a6db
UD
8896 * math/complex.h (CMPLXL): Fix typo.
8897
d9a216c0
UD
8898 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8899 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8900 GLIBC_2.16.
8901 * debug/tst-chk1.c: Add poll and ppoll tests.
8902 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8903 * include/sys/poll.h: Add hidden proto for ppoll.
8904 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8905 * sysdeps/mach/hurd/ppoll.c: Likewise.
8906 * io/ppoll.c: Likewise.
8907 * debug/poll_chk.c: New file.
8908 * debug/ppoll_chk.c: New file.
8909 * include/bits/poll2.h: New file.
8910 * io/bits/poll2.h: New file.
8911
ac097f5c
UD
8912 [BZ #1350]
8913 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8914
2119dcfa
UD
8915 * configure.in: static is always set to yes. Remove.
8916 * config.make.in: Don't set build-static.
8917 * Makeconfig: Remove use of build-static.
8918 * dlfcn/Makefile: Likewise.
8919 * elf/Makefile: Likewise.
8920 * math/Makefile: Likewise.
8921 * misc/Makefile: Likewise.
8922 * nptl/Makefile: Likewise.
8923 * sysdeps/mach/hurd/Makefile: Likewise.
8924
121766a9
UD
8925 * configure.in: PWD_P is not used anymore.
8926 * config.make.in: Remove PWD_P entry.
8927
51a1d39c 8928 * configure.in: Remove last remnants of RANLIB.
8720d066 8929 No need to check for signed size_t anymore.
215f4bdc
UD
8930 Don't set libc_commonpagesize and libc_relro_required here for Alpha
8931 and IA-64.
3857022a 8932 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
8933 * aclocal.m4: Likewise.
8934
d3ed7225
UD
8935 * wcsmbs/mbrtoc16.c: Implement using towc function.
8936 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8937 * wcsmbs/wcsmbsload.c: Likewise.
8938 * iconv/gconv_simple.c: Likewise.
8939 * iconv/gconv_int.h: Likewise.
8940 * iconv/gconv_builtin.h: Likewise.
8941 * iconv/iconv_prog.c: Remove CHAR16 handling.
8942
8943 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8944
8945 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8946
a0da5fe1
UD
8947 * configure.in: Remove --with-elf and --enable-bounded options.
8948 Dont set base_machine for ia64. More non-ELF conditions removed.
8949 Remove testing and setting of leading underscore information.
8950 * config.make.in (build-bounded): Set to no.
8951 * config.h.in: Remove NO_UNDERSCORES entry.
8952 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8953 them.
8954 * csu/start.c: Remove !NO_UNDERSCORE code.
8955 * locale/localeinfo.h: Likewise.
8956 * sysdeps/generic/machine-gmon.h: Likewise.
8957 * sysdeps/generic/sysdep.h: Likewise.
8958 * sysdeps/i386/sysdep.h: Likewise.
8959 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8960 * sysdeps/mach/sysdep.h: Likewise.
8961 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8962 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8963 * sysdeps/sh/sysdep.h: Likewise.
8964 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8965 * sysdeps/unix/i386/sysdep.S: Likewise.
8966 * sysdeps/unix/sparc/start.c: Likewise.
8967 * sysdeps/unix/sparc/sysdep.S: Likewise.
8968 * sysdeps/unix/sparc/sysdep.h: Likewise.
8969 * sysdeps/unix/start.c: Likewise.
8970 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8971 * sysdeps/x86_64/sysdep.h: Likewise.
8972
df78418a
UD
89732012-01-07 Ulrich Drepper <drepper@gmail.com>
8974
a784e502
UD
8975 [BZ #13553]
8976 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
8977 for non-gcc.
8978 * argp/argp-fmtstream.h: Use const instead __const.
8979 * argp/argp.h: Likewise.
8980 * assert/assert.h: Likewise.
8981 * bits/fenv.h: Likewise.
8982 * bits/sched.h: Likewise.
8983 * bits/sigset.h: Likewise.
8984 * bits/sigthread.h: Likewise.
8985 * catgets/nl_types.h: Likewise.
8986 * conform/data/pthread.h-data: Likewise.
8987 * crypt/crypt-private.h: Likewise.
8988 * crypt/crypt.h: Likewise.
8989 * crypt/crypt_util.c: Likewise.
8990 * ctype/ctype.h: Likewise.
8991 * debug/execinfo.h: Likewise.
8992 * debug/mbsnrtowcs_chk.c: Likewise.
8993 * debug/mbsrtowcs_chk.c: Likewise.
8994 * debug/wcsnrtombs_chk.c: Likewise.
8995 * debug/wcsrtombs_chk.c: Likewise.
8996 * debug/wcstombs_chk.c: Likewise.
8997 * dirent/dirent.h: Likewise.
8998 * dlfcn/dlfcn.h: Likewise.
8999 * elf/neededtest4.c: Likewise.
9000 * grp/grp.h: Likewise.
9001 * gshadow/gshadow.h: Likewise.
9002 * iconv/gconv.h: Likewise.
9003 * iconv/gconv_int.h: Likewise.
9004 * iconv/gconv_simple.c: Likewise.
9005 * iconv/iconv.h: Likewise.
9006 * iconv/loop.c: Likewise.
9007 * iconv/skeleton.c: Likewise.
9008 * include/aio.h: Likewise.
9009 * include/aliases.h: Likewise.
9010 * include/argz.h: Likewise.
9011 * include/arpa/inet.h: Likewise.
9012 * include/assert.h: Likewise.
9013 * include/dirent.h: Likewise.
9014 * include/dlfcn.h: Likewise.
9015 * include/execinfo.h: Likewise.
9016 * include/fcntl.h: Likewise.
9017 * include/fenv.h: Likewise.
9018 * include/glob.h: Likewise.
9019 * include/grp.h: Likewise.
9020 * include/libintl.h: Likewise.
9021 * include/mntent.h: Likewise.
9022 * include/netdb.h: Likewise.
9023 * include/pwd.h: Likewise.
9024 * include/rpc/netdb.h: Likewise.
9025 * include/sched.h: Likewise.
9026 * include/search.h: Likewise.
9027 * include/shadow.h: Likewise.
9028 * include/signal.h: Likewise.
9029 * include/stdio.h: Likewise.
9030 * include/stdlib.h: Likewise.
9031 * include/string.h: Likewise.
9032 * include/sys/socket.h: Likewise.
9033 * include/sys/stat.h: Likewise.
9034 * include/sys/statfs.h: Likewise.
9035 * include/sys/statvfs.h: Likewise.
9036 * include/sys/syslog.h: Likewise.
9037 * include/sys/time.h: Likewise.
9038 * include/sys/uio.h: Likewise.
9039 * include/time.h: Likewise.
9040 * include/unistd.h: Likewise.
9041 * include/utmp.h: Likewise.
9042 * include/wchar.h: Likewise.
9043 * include/wctype.h: Likewise.
9044 * inet/aliases.h: Likewise.
9045 * inet/arpa/inet.h: Likewise.
9046 * inet/netinet/ether.h: Likewise.
9047 * inet/netinet/in.h: Likewise.
9048 * intl/libintl.h: Likewise.
9049 * io/bits/fcntl2.h: Likewise.
9050 * io/fcntl.h: Likewise.
9051 * io/ftw.h: Likewise.
9052 * io/sys/poll.h: Likewise.
9053 * io/sys/stat.h: Likewise.
9054 * io/sys/statfs.h: Likewise.
9055 * io/sys/statvfs.h: Likewise.
9056 * io/utime.h: Likewise.
9057 * libio/bits/stdio.h: Likewise.
9058 * libio/bits/stdio2.h: Likewise.
9059 * libio/libio.h: Likewise.
9060 * libio/libioP.h: Likewise.
9061 * libio/stdio.h: Likewise.
9062 * locale/lc-ctype.c: Likewise.
9063 * locale/locale.h: Likewise.
9064 * login/utmp.h: Likewise.
9065 * malloc/arena.c: Likewise.
9066 * malloc/malloc.c: Likewise.
9067 * malloc/malloc.h: Likewise.
9068 * malloc/mcheck.c: Likewise.
9069 * malloc/mtrace.c: Likewise.
9070 * math/bits/mathcalls.h: Likewise.
9071 * math/fenv.h: Likewise.
9072 * math/math_private.h: Likewise.
9073 * misc/bits/error.h: Likewise.
9074 * misc/bits/syslog.h: Likewise.
9075 * misc/err.h: Likewise.
9076 * misc/error.h: Likewise.
9077 * misc/fstab.h: Likewise.
9078 * misc/mntent.h: Likewise.
9079 * misc/regexp.h: Likewise.
9080 * misc/search.h: Likewise.
9081 * misc/sgtty.h: Likewise.
9082 * misc/sys/mman.h: Likewise.
9083 * misc/sys/syslog.h: Likewise.
9084 * misc/sys/uio.h: Likewise.
9085 * misc/sys/xattr.h: Likewise.
9086 * misc/ttyent.h: Likewise.
9087 * nis/rpcsvc/ypclnt.h: Likewise.
9088 * nss/nss.h: Likewise.
9089 * posix/bits/unistd.h: Likewise.
9090 * posix/fnmatch.h: Likewise.
9091 * posix/glob.h: Likewise.
9092 * posix/sched.h: Likewise.
9093 * posix/spawn.h: Likewise.
9094 * posix/sys/wait.h: Likewise.
9095 * posix/unistd.h: Likewise.
9096 * posix/wordexp.h: Likewise.
9097 * pwd/pwd.h: Likewise.
9098 * resolv/netdb.h: Likewise.
9099 * resource/sys/resource.h: Likewise.
9100 * rt/aio.h: Likewise.
9101 * rt/bits/mqueue2.h: Likewise.
9102 * rt/mqueue.h: Likewise.
9103 * shadow/shadow.h: Likewise.
9104 * signal/signal.h: Likewise.
9105 * socket/send.c: Likewise.
9106 * socket/sendto.c: Likewise.
9107 * socket/sys/socket.h: Likewise.
9108 * stdio-common/printf.h: Likewise.
9109 * stdlib/bits/stdlib.h: Likewise.
9110 * stdlib/fmtmsg.h: Likewise.
9111 * stdlib/monetary.h: Likewise.
9112 * stdlib/stdlib.h: Likewise.
9113 * stdlib/ucontext.h: Likewise.
9114 * streams/stropts.h: Likewise.
9115 * string/argz.h: Likewise.
9116 * string/bits/string2.h: Likewise.
9117 * string/string.h: Likewise.
9118 * string/strings.h: Likewise.
9119 * sunrpc/rpc/auth.h: Likewise.
9120 * sunrpc/rpc/auth_des.h: Likewise.
9121 * sunrpc/rpc/clnt.h: Likewise.
9122 * sunrpc/rpc/netdb.h: Likewise.
9123 * sunrpc/rpc/pmap_clnt.h: Likewise.
9124 * sunrpc/rpc/xdr.h: Likewise.
9125 * sysdeps/generic/inttypes.h: Likewise.
9126 * sysdeps/generic/net/if.h: Likewise.
9127 * sysdeps/generic/sys/swap.h: Likewise.
9128 * sysdeps/gnu/net/if.h: Likewise.
9129 * sysdeps/gnu/utmpx.h: Likewise.
9130 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9131 * sysdeps/i386/i486/bits/string.h: Likewise.
9132 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9133 * sysdeps/s390/bits/string.h: Likewise.
9134 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9135 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9136 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9137 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9138 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9139 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9140 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9141 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9142 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9143 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9144 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9145 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9146 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9147 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9148 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9149 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9150 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9151 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9152 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9153 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9154 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9155 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9156 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9157 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9158 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9159 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9160 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9161 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9162 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9163 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9164 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9165 * sysvipc/sys/ipc.h: Likewise.
9166 * sysvipc/sys/msg.h: Likewise.
9167 * sysvipc/sys/sem.h: Likewise.
9168 * sysvipc/sys/shm.h: Likewise.
9169 * termios/termios.h: Likewise.
9170 * time/sys/time.h: Likewise.
9171 * time/time.h: Likewise.
9172 * wcsmbs/bits/wchar2.h: Likewise.
9173 * wcsmbs/uchar.h: Likewise.
9174 * wcsmbs/wchar.h: Likewise.
9175 * wctype/wctype.h: Likewise.
9176
0269750c
UD
9177 [BZ #13551]
9178 * Makeconfig: Remove all but ELF support including AIX support.
9179 * Makerules: Likewise.
9180 * config.h.in: Likewise.
9181 * config.make.in: Likewise.
9182 * configure: Likewise.
9183 * configure.in: Likewise.
9184 * csu/Makefile: Likewise.
9185 * csu/version.c: Likewise.
9186 * debug/Makefile: Likewise.
9187 * dlfcn/Makefile: Likewise.
9188 * elf/Makefile: Likewise.
9189 * extra-lib.mk: Likewise.
9190 * iconv/Makefile: Likewise.
9191 * include/libc-symbols.h: Likewise.
9192 * include/shlib-compat.h: Likewise.
9193 * resolv/Makefile: Likewise.
9194 * resolv/res_libc.c: Likewise.
9195 * rt/Makefile: Likewise.
9196 * sysdeps/i386/asm-syntax.h: Likewise.
9197 * sysdeps/i386/sysdep.h: Likewise.
9198 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9199 * sysdeps/mach/sysdep.h: Likewise.
9200 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9201 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9202 * sysdeps/s390/asm-syntax.h: Likewise.
9203 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9204 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9205 * sysdeps/sh/sysdep.h: Likewise.
9206 * sysdeps/unix/sparc/sysdep.h: Likewise.
9207 * sysdeps/wordsize-32/divdi3.c: Likewise.
9208 * sysdeps/x86_64/sysdep.h: Likewise.
9209
00bbd29b
UD
9210 * argp/Versions: Remove _argp_unlock_xxx.
9211
9212 [BZ #13559]
9213 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9214 * abilist/libBrokenLocale.abilist: Likewise.
9215 * abilist/libanl.abilist: Likewise.
9216 * abilist/libc.abilist: Likewise.
9217 * abilist/libcrypt.abilist: Likewise.
9218 * abilist/libdl.abilist: Likewise.
9219 * abilist/libm.abilist: Likewise.
9220 * abilist/libnsl.abilist: Likewise.
9221 * abilist/libpthread.abilist: Likewise.
9222 * abilist/libresolv.abilist: Likewise.
9223 * abilist/librt.abilist: Likewise.
9224 * abilist/libthread_db.abilist: Likewise.
9225 * abilist/libutil.abilist: Likewise.
9226 * abilist/libnss_db.abilist: New file.
9227
9228 * scripts/abilist.awk: Add support for indirect functions.
9229
a2693a0e
UD
9230 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9231
3f05895f
UD
9232 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9233
ecb6fb48
UD
9234 * shlib-versions: Remove entries for ports architectures.
9235
664f8cb9
UD
9236 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9237 files in ports.
9238 * elf/stackguard-macros.h: Remove support for IA-64.
9239 * elf/tst-auditmod1.c: Likewise.
9240 * sysdeps/generic/ldsodefs.h: Likewise.
9241
7ae81d88
UD
9242 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9243 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9244 configure files.
9245
bdeba135
UD
9246 [BZ #13552]
9247 * configure.in: Remove --enable-omitfp support.
9248 * FAQ.in: Adjust.
9249 * config.make.in: Likewise.
9250 * Makeconfig: Likewise.
9251 * manual/install.texi: Likewise.
9252
d75a0a62
UD
9253 In case anyone cares, the IA-64 architecture could move to ports.
9254 * sysdeps/ia64/*: Removed.
9255 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9256 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9257
dcc9756b
UD
9258 [BZ #13555]
9259 * configure.in: Remove entries for unsupported architectures.
9260
d3761ebc 9261 [BZ #13533]
9954432e
UD
9262 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9263 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9264 routines.
9265 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9266 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9267 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9268 fall back to using wcrtomb.
9269 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9270 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9271 renaming.
9272 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9273 * wcsmbs/tst-c16c32-1.c: New file.
9274
9275 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9276 local variable.
9277
c3a87236
UD
9278 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9279
28926a1b
UD
9280 * elf/tst-unique3.cc: Add explicit declaration of gets.
9281 * elf/tst-unique3lib.cc: Likewise.
9282 * elf/tst-unique3lib2.cc: Likewise.
9283 * elf/tst-unique4.cc: Likewise.
9284
df78418a
UD
9285 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9286
8ecd6b2a
JM
92872012-01-06 Joseph Myers <joseph@codesourcery.com>
9288
9289 [BZ #13566]
9290 * assert/assert.h (static_assert): Don't define for C++.
9291 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9292 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9293
9f115170
UD
92942012-01-03 Ulrich Drepper <drepper@gmail.com>
9295
5e0d0300
UD
9296 * iconv/loop.c (single loop): Fix assertion in storing of
9297 remaining bytes.
9298
9f115170
UD
9299 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9300
81fb02b0
UD
93012012-01-01 Ulrich Drepper <drepper@gmail.com>
9302
9303 * posix/getconf.c: Update copyright year.
9304 * nss/getent.c: Likewise.
a316c1f6 9305 * nss/makedb.c: Likewise.
81fb02b0
UD
9306 * iconv/iconvconfig.c: Likewise.
9307 * iconv/iconv_prog.c: Likewise.
9308 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9309 * elf/pldd.c: Likewise.
9310 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9311 * catgets/gencat.c: Likewise.
9312 * csu/version.c: Likewise.
9313 * elf/ldd.bash.in: Likewise.
9314 * elf/sprof.c (print_version): Likewise.
9315 * locale/programs/locale.c: Likewise.
9316 * locale/programs/localedef.c: Likewise.
a316c1f6 9317 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9318 * nscd/nscd.c (print_version): Likewise.
9319 * debug/xtrace.sh: Likewise.
9320 * malloc/memusage.sh: Likewise.
9321 * malloc/mtrace.pl: Likewise.
9322 * debug/catchsegv.sh: Likewise.
9323
2ba92745
JJ
93242011-12-30 Jakub Jelinek <jakub@redhat.com>
9325
9326 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9327 pure attribute.
9328
dadebdae
UD
93292011-12-24 Ulrich Drepper <drepper@gmail.com>
9330
d3761ebc 9331 [BZ #13533]
db6af3eb
UD
9332 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9333 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9334 transformations.
9335 * iconv/gconv_int.h: Likewise.
9336 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9337 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9338 from libc for GLIBC_2.16.
9339 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9340 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9341 * wcsmbs/uchar.h: Really define mbstate_t.
9342 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9343 * wcsmbs/c16rtomb.c: New file.
9344 * wcsmbs/mbrtoc16.c: New file.
9345 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9346 for C/POSIX locale.
9347 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9348 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9349
dadebdae
UD
9350 * wcsmbs/wchar.h: Add missing __restrict.
9351
67371b56
UD
93522011-12-23 Ulrich Drepper <drepper@gmail.com>
9353
74033a25
UD
9354 [BZ #13532]
9355 * time/Makefile (routines): Add timespec_get.
9356 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9357 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9358 timespec for ISO C11.
9359 * time/timespec_get.c: New file.
9360 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9361 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9362
380d7e87
UD
9363 [BZ #13531]
9364 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9365 * stdlib/stdlib.h: Declare aligned_alloc.
9366 * Versions.def: Add GLIBC_2.16 for libc.
9367 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9368
4e9e7a35
UD
9369 [BZ 13527]
9370 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9371 ISO C11.
9372
380d7e87 9373 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9374 code.
9375
03a71829
UD
9376 [BZ #13528]
9377 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9378
839e283e
UD
9379 [BZ #13529]
9380 * assert/assert.h (static_assert): Define.
9381
ce5294e2 9382 * version.h: Update for 2.16 development version.
90fa7312 9383
8d44e150 9384 [BZ #13526]
d7809905
UD
9385 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9386 _ISOC11_SOURCE.
9387
c0da14cd
UD
9388 * version.h (RELEASE): Bump for 2.15 release.
9389 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9390
530a3249
MP
9391 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9392 Patch by Marek Polacek <mpolacek@redhat.com>.
9393
67371b56
UD
9394 * bits/byteswap.h: Protect long long constants with __extension__.
9395 * sysdeps/i386/bits/byteswap.h: Likewise.
9396 * sysdeps/ia64/bits/byteswap.h: Likewise.
9397 * sysdeps/s390/bits/byteswap.h: Likewise.
9398 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9399
15db4de1
LD
94002011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9401
9402 [BZ #13540]
bbe315ea
LD
9403 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9404 destination buffer.
15db4de1
LD
9405 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9406
2b2596b1
MP
94072011-12-23 Marek Polacek <polacek@redhat.com>
9408
9409 * elf/dl-addr.c (determine_info): Add inline keyword.
9410 * elf/tst-auditmod4b.c (check_avx): Likewise.
9411 * elf/tst-auditmod6b.c (check_avx): Likewise.
9412 * elf/tst-auditmod6c.c (check_avx): Likewise.
9413 * elf/tst-auditmod7b.c (check_avx): Likewise.
9414
70c6c246
UD
94152011-12-23 Ulrich Drepper <drepper@gmail.com>
9416
9417 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9418 !__SSE_MATH__.
9419
c044cf14
LD
94202011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9421
15db4de1 9422 [BZ #13540]
c044cf14
LD
9423 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9424 processing for last bytes.
9425
6b13d9d9
BH
94262011-08-06 Bruno Haible <bruno@clisp.org>
9427
d455f537
BH
9428 [BZ #13061]
9429 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9430 U+0385, not to U+1FEE.
9431
6b13d9d9
BH
9432 [BZ #13062]
9433 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9434 entry for U+00A5 U+0301.
9435
db910efd
UD
94362011-12-22 Ulrich Drepper <drepper@gmail.com>
9437
27deeafc
UD
9438 [BZ #13166]
9439 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9440 buffer for the output is too small.
9441
aed9d171
UD
9442 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9443 optimization.
9444
db910efd
UD
9445 [BZ #13185]
9446 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9447 SSE flags if possible.
9448
2bd779ae
LD
94492011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9450
e7f9dac3 9451 [BZ #13540]
2bd779ae
LD
9452 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9453 processing for last bytes.
9454
154bfc16
JM
94552011-12-22 Joseph Myers <joseph@codesourcery.com>
9456
9457 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9458 (syscall-list-default-options, syscall-list-default-condition)
9459 (syscall-list-includes): Define.
9460 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9461 list of ABIs and options and #if conditions for each ABI. Do not
9462 handle common syscalls between ABIs specially.
9463 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9464 Remove.
9465 (syscall-list-variants, syscall-list-32bit-options)
9466 (syscall-list-32bit-condition, syscall-list-64bit-options)
9467 (syscall-list-64bit-condition): Define.
9468 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9469 (syscall-list-variants, syscall-list-32bit-options)
9470 (syscall-list-32bit-condition, syscall-list-64bit-options)
9471 (syscall-list-64bit-condition): Define.
9472 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9473 Remove.
9474 (syscall-list-variants, syscall-list-32bit-options)
9475 (syscall-list-32bit-condition, syscall-list-64bit-options)
9476 (syscall-list-64bit-condition): Define.
9477 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9478 Remove.
9479 (syscall-list-variants, syscall-list-32bit-options)
9480 (syscall-list-32bit-condition, syscall-list-64bit-options)
9481 (syscall-list-64bit-condition): Define.
9482
21eaf3a5
UD
94832011-12-22 Ulrich Drepper <drepper@gmail.com>
9484
16c6f992
UD
9485 * locale/iso-639.def: Add brx entry.
9486
41043168
UD
9487 [BZ #13328]
9488 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9489 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9490
21eaf3a5
UD
9491 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9492 __feraiseexcept_renamed.
9493
e3a851a2
UD
94942011-12-21 Ulrich Drepper <drepper@gmail.com>
9495
4920765e
UD
9496 [BZ #13538]
9497 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9498 EPOLLET with unsigned values.
9499 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9500 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9501
e3a851a2
UD
9502 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9503 to large cancellation.
9504 * math/s_cacoshf.c: Likewise.
9505 * math/s_cacoshl.c: Likewise.
9506
b27e24b8
RK
95072011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9508
9509 [BZ #13305]
aebefeee 9510 [BZ #12786]
b27e24b8
RK
9511 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9512 * math/s_cacoshf.c: Likewise.
9513 * math/s_cacoshl.c: Likewise.
9514
ee190f67
UD
95152011-12-21 Ulrich Drepper <drepper@gmail.com>
9516
9517 [BZ #13439]
9518 * iconv/gconv.h: Define __GCONV_SWAP.
9519 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9520 * iconvdata/utf-16.c: Likewise.
9521 * iconvdata/utf-32.c: Likewise.
9522
707f25df
AS
95232011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9524
9525 [BZ #13524]
9526 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9527 numerator after shifting it by one limb.
9528
d2daaa1e
RÁE
95292011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9530
9531 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9532 under [__USE_EXTERN_INLINES].
9533
a4647e72
UD
95342011-12-17 Ulrich Drepper <drepper@gmail.com>
9535
9536 [BZ #13446]
9537 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9538
f0b264f1
AZ
95392011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9540
9541 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9542 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9543 optimized code.
9544 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9545 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9546 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9547 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9548 for strncasecmp/strncasecmp_l compilation.
9549 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9550 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9551
8ef4f244
MP
95522011-12-08 Marek Polacek <mpolacek@redhat.com>
9553
9554 [BZ #13484]
9555 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9556 of __asm__.
9557
97ac2654
UD
95582011-12-17 Ulrich Drepper <drepper@gmail.com>
9559
9560 [BZ #13506]
9561 * time/tzfile.c (__tzfile_read): Check values from file header.
9562
91d2a845
WS
95632011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9564
9565 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9566 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9567 * powerpc/powerpc32/dl-start.S: Likewise.
9568 * powerpc/powerpc32/elf/start.S: Likewise.
9569 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9570 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9571 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9572 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9573 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9574 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9575 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9576 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9577 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9578 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9579 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9580 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9581 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9582 * powerpc/powerpc32/memset.S: Likewise.
9583 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9584 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9585 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9586 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9587 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9588 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9589 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9590 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9591 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9592 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9593 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9594 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9595 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9596
a1267ba1
AZ
95972011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9598
9599 * math/libm-test.inc: Added more nearbyint tests.
9600 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9601 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9602 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9603 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9604
ad8ac1bd
RL
96052011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9606
9607 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9608 FD_CLOEXEC.
9609
1d3e4b61
UD
96102011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9611
9612 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9613 Add wcscpy-ssse3 wcscpy-c.
9614 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9615 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9616 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9617 * sysdeps/x86_64/wcschr.S: New file.
9618 * sysdeps/x86_64/wcsrchr.S: New file.
9619 * string/test-strcmp.c: Remove checking of wcscmp function for
9620 wrong alignments.
9621 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9622 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9623 wcsrchr-sse2 wcsrchr-c.
9624 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9625 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9626 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9627 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9628 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9629 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9630 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9631 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9632 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9633 * wcsmbc/wcschr.c (WCSCHR): New macro.
9634
5b330a2d
UD
96352011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9636
9637 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9638 * wcsmbs/test-wcsrchr.c: New file.
9639 * string/test-strrchr.c: Add wcsrchr support.
9640 (WIDE): New macro.
9641 * wcsmbs/test-wcscpy.c: New file.
9642 * string/test-strcpy.c: Add wcscpy support.
9643 (WIDE): New macro.
26428b7c 9644
f039c043
UD
96452011-12-10 Ulrich Drepper <drepper@gmail.com>
9646
9647 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9648 the inner loop.
9649
850fb039
AS
96502011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9651
9652 [BZ #13472]
9653 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9654
4efbd5cb
UD
96552011-12-04 Ulrich Drepper <drepper@gmail.com>
9656
52ff5dd0 9657 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 9658 Minor optimizations.
52ff5dd0 9659
4efbd5cb
UD
9660 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9661 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9662 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9663
8a426e12
UD
96642011-12-03 Ulrich Drepper <drepper@gmail.com>
9665
aff2453d
UD
9666 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9667 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9668 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9669 for gcc to avoid warnings.
9670 * inet/Makefile (tests): Add tst-checks.
9671 * inet/tst-checks.c: New file.
9672
9673 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9674 warning.
9675
9676 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9677 __wmemcmp_sse2.
9678
9679 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9680 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9681
8a426e12
UD
9682 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9683
9bea3473
UD
96842011-12-02 Ulrich Drepper <drepper@gmail.com>
9685
3a965496
UD
9686 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9687 problem.
9688
9bea3473
UD
9689 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9690
f101631b
UD
96912011-11-29 Joseph Myers <joseph@codesourcery.com>
9692
9693 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9694 conditional on GCC version.
9695 (__arch_compare_and_exchange_val_8_acq)
9696 (__arch_compare_and_exchange_val_16_acq)
9697 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9698 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9699 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9700
a98275aa
UD
97012011-12-02 Joseph Myers <joseph@codesourcery.com>
9702
9703 * sysdeps/sh/backtrace.c: New file.
9704
d4cc29a2
AS
97052011-12-02 Andreas Schwab <schwab@redhat.com>
9706
9707 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9708 parenthesis.
9709
6257af2d
AS
97102011-12-01 Andreas Schwab <schwab@redhat.com>
9711
9712 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9713 falling back to utime.
9714
b5f44c1a
AS
97152011-11-30 Andreas Schwab <schwab@redhat.com>
9716
9717 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9718 expectations for float.
9719
f3a6cc0a
AS
97202011-11-29 Andreas Schwab <schwab@redhat.com>
9721
9722 * locale/weight.h (findidx): Add parameter len.
9723 * locale/weightwc.h (findidx): Likewise.
9724 * posix/fnmatch_loop.c (FCT): Adjust caller.
9725 * posix/regcomp.c (build_equiv_class): Likewise.
9726 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9727 * posix/regexec.c (check_node_accept_bytes): Likewise.
9728 * string/strcoll_l.c (STRCOLL): Likewise.
9729 * string/strxfrm_l.c (STRXFRM): Likewise.
9730
9d65ea3a
UD
97312011-11-17 Ulrich Drepper <drepper@gmail.com>
9732
9733 * Makefile.in: Remove CVSOPT handling.
9734 * configure.in: Remove use of AC_REVISION.
9735 * iconvdata/Makefile (distribute): No need to filter out CVS.
9736 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9737 handling.
9738
5583a086
AS
97392011-11-16 Andreas Schwab <schwab@redhat.com>
9740
9741 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9742 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9743 [USE_AS_STRNCASECMP_L]: Likewise.
9744 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9745 NO_TLS_DIRECT_SEG_REFS.
9746 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9747 Fix argument offsets for non-PIC.
9748 [USE_AS_STRNCASECMP_L]: Likewise.
9749 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9750 NO_TLS_DIRECT_SEG_REFS.
9751
d62a8200
UD
97522011-11-15 Ulrich Drepper <drepper@gmail.com>
9753
9d65ea3a 9754 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
9755 O_CLOEXEC.
9756 * locale/loadlocale.c (_nl_load_locale): Likewise.
9757
09f93bd3
AS
97582011-11-15 Andreas Schwab <schwab@redhat.com>
9759
446514f9
AS
9760 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9761 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9762 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9763 (SYSCALL_GETTIME): Set errno on error.
9764
09f93bd3
AS
9765 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9766 count references to noai6ai_cached.
9767
312be3f9
UD
97682011-11-15 Ulrich Drepper <drepper@gmail.com>
9769
9770 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9771
9772 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9773 FD_CLOEXEC for /proc/self/maps.
9774
9775 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9776 FD_CLOEXEC for /proc/meminfo.
9777
9778 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9779 gai.conf.
9780
9781 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9782 FD_CLOEXEC for given file.
9783
9784 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9785
9786 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9787 FD_CLOEXEC for /etc/hosts.
9788 (_gethtent): Likewise.
9789
9790 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9791
9792 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9793 cancellation and set FD_CLOEXEC for /etc/netgroup.
9794
9795 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9796 reading /etc/publickey.
9797
9798 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9799 allow cancellation when reading /etc/group.
9800
9801 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9802 cancellation.
9803 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9804
9805 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9806 when using data file.
9807
9808 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9809
9810 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9811 (write_nis_obj): Use "c" and "e" in fopen.
9812
9813 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9814
9815 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9816
9817 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9818
9819 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9820
9821 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9822 locale.alias.
9823
9824 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9825
9826 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9827
9828 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9829
9830 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9831 file parsing and set FD_CLOEXEC.
9832
82af0fa8
UD
98332011-11-14 Ulrich Drepper <drepper@gmail.com>
9834
9835 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9836
a5fb313c
AS
98372011-11-14 Andreas Schwab <schwab@redhat.com>
9838
9839 * malloc/arena.c (arena_get2): Don't call reused_arena when
9840 _int_new_arena failed.
9841
6abf3465
UD
98422011-11-14 Ulrich Drepper <drepper@gmail.com>
9843
9844 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9845 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9846 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9847 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9848 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9849 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9850 to compile strcasecmp and strncasecmp.
9851 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9852 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9853
9854 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9855
76e3966e
UD
98562011-11-13 Ulrich Drepper <drepper@gmail.com>
9857
9858 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9859 locale-defines.sym to gen-as-const-headers.
9860 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9861 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9862 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9863 to compile strcasecmp and strncasecmp.
9864 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9865 strcasecmp_l and strncasecmp_l.
9866 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9867 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9868 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9869 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9870 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9871 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9872 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9873 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9874 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9875 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9876 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9877
ab26144e
UD
98782011-11-12 Ulrich Drepper <drepper@gmail.com>
9879
7edb22ef
UD
9880 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9881 result of SYSDEP_GETTIME_CPU to retval.
9882 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9883 parameter list to macro. Remove trailing semicolon. Adjust users.
9884
9694fc44
UD
9885 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9886 variable.
9887
8ad89ef8
UD
9888 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9889 mantissa words.
9890 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9891
0c822ef9
UD
9892 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9893 from unused variable.
9894
874e0564
UD
9895 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9896 DWARF definitions.
9897 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9898 for assembling.
9899
3a2edc79
UD
9900 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9901 over namespaces.
9902
f3c2577f
UD
9903 * sunrpc/rpc_prot.c (rejected): Fix case value.
9904
294ce126
UD
9905 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9906 unsigned long long int to avoid warnings in shift.
9907
5e2b63c6
UD
9908 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9909 of use of trans.
9910 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9911 variable tmp.
9912
e7f4b08e
UD
9913 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9914 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9915 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9916
ab26144e
UD
9917 * nis/nis_table.c (nis_list): Use variable of correct type for
9918 result of __follow_path call.
9919
8a6d5255
AZ
99202011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9921
9922 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
9923 of math functions ceil, trunc, floor, round, and sqrt, when
9924 avaliable on the platform.
9925 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9926 name clash.
9927 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9928 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9929 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9930
aaddc98c
MP
99312011-10-30 Marek Polacek <mpolacek@redhat.com>
9932
9933 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9934 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9935
95b7042b
RM
99362011-11-11 Roland McGrath <roland@hack.frob.com>
9937
9938 * include/unistd.h: Fix __readlink return type.
9939 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9940
57769839
UD
99412011-11-11 Ulrich Drepper <drepper@gmail.com>
9942
9943 * stdlib/ucontext.h: Undo last change for makecontext.
9944
edc5984d
AS
99452011-11-11 Andreas Schwab <schwab@redhat.com>
9946
98591e58
AS
9947 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9948
edc5984d
AS
9949 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9950 * setjmp/setjmp.h: Mark functions as non-leaf.
9951 * setjmp/bits/setjmp2.h: Likewise.
9952 * stdlib/ucontext.h: Likewise.
9953
77cdc054
AS
99542011-11-10 Andreas Schwab <schwab@redhat.com>
9955
9956 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9957 (reused_arena): Don't check arena limit.
9958 (arena_get2): Atomically check arena limit.
9959
fe72eebd
UD
99602011-11-08 Ulrich Drepper <drepper@gmail.com>
9961
5f078c32
UD
9962 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9963 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9964
fe72eebd
UD
9965 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9966 instructions.
9967
ae1bc2fa
AS
99682011-11-07 Andreas Schwab <schwab@redhat.com>
9969
7583a88d
AS
9970 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9971 handler when locking.
9972
ae1bc2fa
AS
9973 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9974 Fix size of allocated buffer.
9975
10fb0bfa
AS
99762011-11-04 Andreas Schwab <schwab@redhat.com>
9977
998832a4
AS
9978 [BZ #10103]
9979 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
9980 declarations for long double functions.
9981 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
9982
10fb0bfa
AS
9983 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
9984
3d7ba52b
AS
99852011-11-03 Andreas Schwab <schwab@redhat.com>
9986
a9ae54a1
AS
9987 * nscd/nscd.c (main): Don't start AVC thread until credentials are
9988 installed.
9989
3d7ba52b
AS
9990 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
9991 is disabled.
9992
bc8db248
ST
99932011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9994
9995 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
9996
45b96dd6
AS
99972011-11-01 Andreas Schwab <schwab@linux-m68k.org>
9998
647776f6
AS
9999 * include/alloca.h (stackinfo_alloca_round): Define.
10000 (extend_alloca): Use it.
10001 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10002 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10003 here.
10004
d91a8b93
AS
10005 * scripts/check-local-headers.sh: Ignore libaudit.h.
10006
45b96dd6
AS
10007 * nscd/Makefile (extra-objs): Make recursively expanded.
10008
432d41ce
UD
100092011-11-01 Ulrich Drepper <drepper@gmail.com>
10010
34372fc6
UD
10011 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10012 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10013
fadb59f8
UD
10014 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10015 * posix/tst-rfc3484-2.c: Likewise.
10016 * posix/tst-rfc3484-3.c: Likewise.
10017
78239589
UD
10018 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10019 process_vm_writev.
10020 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10021 process_vm_writev.
10022 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10023 process_vm_writev from libc using GLIBC_2.15 version.
10024
432d41ce
UD
10025 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10026
02f9c6cf
PP
100272011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10028
10029 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10030 stack usage.
10031
3a2c0242
UD
100322011-10-31 Ulrich Drepper <drepper@gmail.com>
10033
f4ec4833
UD
10034 [BZ #13367]
10035 * nss/getent.c (initgroups_keys): Show error message in case no group
10036 names are given.
10037
3a2c0242
UD
10038 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10039 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10040 __bump_nl_timestamp.
10041 * nscd/connections (nscd_init): When host database is served open
10042 netlink socket and request notification about configuration changes.
10043 (main_loop_poll): Track netlink file descriptor and bump timestamp
10044 in case data becomes available.
10045 (main_loop_epoll): Likewise.
10046 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10047 (database_pers_head): Add extra_data fileds.
10048 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10049 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10050 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10051 Adjust caller.
10052 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10053 in6ai data, call __free_in6ai.
10054 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10055 Add -DHAVE_NETLINK.
10056 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10057 interface information. Reuse previous data if netlink timestamp
10058 is not changed.
10059 (__bump_nl_timestamp): New function.
10060 (__free_in6ai): New function.
10061
636064eb
UD
100622011-10-30 Ulrich Drepper <drepper@gmail.com>
10063
10064 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10065 close_not_cancel_no_status here.
10066 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10067
9beb2334
UD
100682011-10-29 Ulrich Drepper <drepper@gmail.com>
10069
6ef76f3b
UD
10070 [BZ #13276]
10071 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10072 return value.
10073
0ffc4f3e 10074 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10075 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10076 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10077
cb95113e
UD
100782011-07-03 Andreas Jaeger <aj@suse.de>
10079
10080 [BZ #10709]
10081 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10082 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10083 * math/libm-test.inc (sin_test): Add test case.
10084
a1b560ff
UD
100852011-10-29 Ulrich Drepper <drepper@gmail.com>
10086
c9aaface
UD
10087 [BZ #13337]
10088 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10089 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10090
d272e7f1
UD
10091 * elf/chroot_canon.c (chroot_canon): Cleanups.
10092
1bc33071
UD
10093 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10094
1760874d
TJ
10095 [BZ #13335]
10096 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10097 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10098
51d91b18
UD
10099 * string/test-strchr.c: Make usable for strchrnul testing.
10100 * string/test-strchrnul.c: New file.
10101 * string/Makefile (strop-tests): Add strchrnul.
10102
a1b560ff 10103 * po/it.po: Update from translation team.
b611fb81 10104 * po/es.po: Likewise.
a1b560ff 10105
a5b81e1f
UD
101062011-10-28 Ulrich Drepper <drepper@gmail.com>
10107
fd52bc6d
UD
10108 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10109 the three constants needed as parameters. Drop the others.
10110 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10111 __m128i_strloadu_tolower.
52e4b9eb
UD
10112 Create and initialize variable zero and use it in all the places
10113 where _mm_setzero_si128 was used.
fd52bc6d 10114
a5b81e1f
UD
10115 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10116 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10117 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10118 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10119 anymore.
10120 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10121 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10122 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10123 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10124 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10125 __mpranred, __mptan.
10126 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10127 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10128 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10129 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10130 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10131 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10132 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10133 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10134 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10135
b4343346
AS
101362011-10-28 Andreas Schwab <schwab@redhat.com>
10137
0c92d8a8
AS
10138 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10139 redefine if SHARED.
10140 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10141
b4343346
AS
10142 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10143 wide char related routines to wcsmbs subdir.
10144
3871f58f
AS
101452011-10-27 Andreas Schwab <schwab@redhat.com>
10146
10147 [BZ #13344]
10148 * misc/sys/cdefs.h (__THROWNL): Define.
10149 * posix/unistd.h: Use __THREADNL instead of __THREAD
10150 for memory synchronization functions.
10151
94d44d9f
RM
101522011-10-26 Roland McGrath <roland@hack.frob.com>
10153
21b64b15 10154 [BZ #13349]
94d44d9f
RM
10155 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10156 doesn't exist.
10157 * manual/stdio.texi (Obstack Streams): Node removed.
10158
f6ce9294
AS
101592011-10-26 Andreas Schwab <schwab@redhat.com>
10160
80479147
AS
10161 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10162 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10163 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10164
f6ce9294
AS
10165 * math/math_private.h (math_force_eval): Allow non-addressable
10166 arguments.
10167 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10168
618280a1
UD
101692011-10-25 Ulrich Drepper <drepper@gmail.com>
10170
e0016b11
UD
10171 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10172 file is not needed.
10173
10174 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10175 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10176 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10177 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10178 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10179 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10180 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10181 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10182 Add AVX variants.
10183 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10184 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10185 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10186 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10187 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10188 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10189 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10190 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10191 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10192 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10193 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10194 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10195 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10196 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10197 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10198 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10199 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10200 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10201 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10202
10203 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10204 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10205
618280a1
UD
10206 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10207 place. Use VEX encoding when compiling for AVX.
10208
37822576
AS
102092011-10-25 Andreas Schwab <schwab@redhat.com>
10210
1f1e1947
AS
10211 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10212 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10213
37822576
AS
10214 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10215
31ea014d
UD
102162011-10-25 Ulrich Drepper <drepper@gmail.com>
10217
d7826aa1 10218 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10219 useless if() expression.
d7826aa1
UD
10220 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10221 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10222 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10223 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10224 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10225 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10226 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10227 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10228 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10229 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10230 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10231 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10232 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10233 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10234 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10235 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10236 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10237 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10238 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10239
31ea014d
UD
10240 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10241
16437fec
AS
102422011-10-25 Andreas Schwab <schwab@redhat.com>
10243
10244 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10245 condition.
10246 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10247
31d3cc00
UD
102482011-10-25 Ulrich Drepper <drepper@gmail.com>
10249
10250 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10251 .text section. Avoid duplicate constants.
10252 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10253 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10254 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10255 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10256 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10257 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10258 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10259 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10260 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10261 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10262 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10263 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10264 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10265 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10266 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10267 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10268 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10269 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10270 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10271 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10272 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10273 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10274 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10275 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10276 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10277 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10278 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10279 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10280 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10281 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10282 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10283 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10284 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10285 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10286 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10287 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10288 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10289 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10290 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10291 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10292 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10293 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10294 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10295 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10296 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10297
58985aa9
UD
102982011-10-24 Ulrich Drepper <drepper@gmail.com>
10299
202c9deb
UD
10300 * sysdeps/x86_64/dla.h: Move to ...
10301 * sysdeps/x86_64/fpu/dla.h: ...here.
10302 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10303 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10304
af968f62
UD
10305 * config.make.in: Add have-mfma4 entry.
10306 * configure.in: Substitute libc_cv_cc_fma4.
10307 * math/Makefile (dbl-only-routines): Add sincostab.
10308 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10309 Use __sincostab not sincos.
10310 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10311 name is a macro.
10312 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10313 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10314 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10315 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10316 using __copysign.
10317 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10318 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10319 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10320 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10321 and __inv.
10322 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10323 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10324 __copysign.
10325 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10326 define aliases when function name is a macro.
10327 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10328 sysdeps/ieee754/dbl-64/sincos.tbl.
10329 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10330 fma4-enabled routines.
10331 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10332 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10333 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10334 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10335 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10336 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10337 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10338 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10339 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10340 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10341 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10342 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10343 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10344 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10345 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10346 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10347 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10348 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10349 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10350 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10351 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10352 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10353 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10354 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10355 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10356 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10357 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10358 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10359 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10360 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10361
58985aa9
UD
10362 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10363 rename.
10364 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10365 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10366 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10367 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10368 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10369 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10370 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10371 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10372
a201fbcf
AS
103732011-10-24 Andreas Schwab <schwab@redhat.com>
10374
10375 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10376
fc2ee42a
LD
103772011-10-23 Ulrich Drepper <drepper@gmail.com>
10378
bb3129bd
UD
10379 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10380
0275fff8
UD
10381 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10382 prediction.
10383 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10384
2fa2ae85
UD
10385 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10386 Remove unused variable magic_bits.
10387 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10388
fc2ee42a
LD
10389 * string/strnlen.c: Define and use STRNLEN macro.
10390 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10391 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10392 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10393 * wcsmbs/wcslen.c: Define and use WCSLEN.
10394 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10395 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10396 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10397 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10398 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10399 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10400 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10401
ce7dd29f
LD
104022011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10403
10404 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10405 strnlen-sse2-no-bsf.
10406 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10407 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10408 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10409 Add strnlen support.
10410 (USE_AS_STRNLEN): New macro.
10411 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10412 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10413 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10414 * sysdeps/x86_64/wcslen.S: New file.
10415
979c70a3
MZ
104162011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10417
10418 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10419 XMM-moves are used for copying on small sizes.
10420
2d09f82f
LD
104212011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10422
10423 * wcsmbs/Makefile (strop-tests): Add wcschr.
10424 * wcsmbs/test-wcschr.c: New file.
10425 * string/test-strchr.c: Update.
10426 Add wcschr support.
10427 (WIDE): New macro.
10428
619fccca
LD
104292011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10430
2d09f82f 10431 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
10432 * wcsmbs/test-wcslen.c: New file.
10433 * string/test-strlen.c: Update.
10434 Add wcslen support.
10435 (WIDE): New macro.
10436
09f699ea
UD
104372011-10-23 Ulrich Drepper <drepper@gmail.com>
10438
10439 * po/it.po: Update from translation team.
10440
95584d3b
LD
104412011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10442
10443 * sysdeps/x86_64/wcscmp.S: Update.
10444 Fix wrong comparison semantics.
10445 wcscmp shall use signed comparison not unsigned.
10446 Don't use substraction to avoid overflow bug.
10447 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10448 * wcsmbc/wcscmp.c: Likewise.
10449 * string/test-strcmp.c: Likewise.
10450 Add new tests to check cases with negative values.
10451
c8b3296b
UD
104522011-10-23 Ulrich Drepper <drepper@gmail.com>
10453
10454 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10455 * sysdeps/x86_64/dla.h: ...here. New file.
10456 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10457 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10458 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10459 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10460 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10461 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10462 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10463 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10464 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10465
246ad57a
AS
104662011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10467
10468 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10469 __ynl_finite aliases.
10470
a1a87169
UD
104712011-10-22 Ulrich Drepper <drepper@gmail.com>
10472
0d355eb7
UD
10473 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10474
a1a87169
UD
10475 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10476 define DLA_FMA.
10477 [DLA_FMA] (EMULV): Use DLA_FMA.
10478 [DLA_FMA] (MUL12): Use EMULV.
10479 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10480 that are not needed.
10481 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10482 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10483 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10484 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10485 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10486 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10487 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10488
ee2aafe0
AS
104892011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10490
10491 * math/s_nan.c: Undef __nan.
10492 * math/s_nanf.c: Undef __nanf.
10493 * math/s_nanl.c: Undef __nanl.
10494 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10495 "math_private.h".
10496
bc62c2fb
UD
104972011-10-22 Ulrich Drepper <drepper@gmail.com>
10498
77425c63
UD
10499 * math/s_catan.c: Add branch predictions.
10500 * math/s_catanf.c: Likewise.
10501 * math/s_catanh.c: Likewise.
10502 * math/s_catanhf.c: Likewise.
10503 * math/s_catanhl.c: Likewise.
10504 * math/s_catanl.c: Likewise.
10505 * math/s_cexp.c: Likewise.
10506 * math/s_cexpf.c: Likewise.
10507 * math/s_cexpl.c: Likewise.
10508 * math/s_clog.c: Likewise.
10509 * math/s_clog10.c: Likewise.
10510 * math/s_clog10f.c: Likewise.
10511 * math/s_clog10l.c: Likewise.
10512 * math/s_clogf.c: Likewise.
10513 * math/s_clogl.c: Likewise.
10514 * math/s_csqrt.c: Likewise.
10515 * math/s_csqrtf.c: Likewise.
10516 * math/s_csqrtl.c: Likewise.
10517 * math/s_ctanf.c: Likewise.
10518 * math/s_ctanh.c: Likewise.
10519 * math/s_ctanhf.c: Likewise.
10520 * math/s_ctanhl.c: Likewise.
10521 * math/s_ctanl.c: Likewise.
10522
bc62c2fb
UD
10523 * math/math_private.h: Define __nan, __nanf, __nanl.
10524 * math/s_cacosh.c: Include <math_private.h>.
10525 * math/s_cacoshl.c: Likewise.
10526 * math/s_casinh.c: Likewise.
10527 * math/s_casinhf.c: Likewise.
10528 * math/s_casinhl.c: Likewise.
10529 * math/s_ccos.c: Rely entire on ccosh.
10530 * math/s_ccosf.c: Rely entire on ccoshf.
10531 * math/s_ccosl.c: Rely entirely on ccoshl.
10532 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10533 Remove tests for FE_INVALID.
10534 * math/s_ccoshf.c: Likewise.
10535 * math/s_ccoshl.c: Likewise.
10536 * math/s_csin.c: Likewise.
10537 * math/s_csinf.c: Likewise.
10538 * math/s_csinh.c Likewise.
10539 * math/s_csinhf.c: Likewise.
10540 * math/s_csinhl.c: Likewise.
10541 * math/s_csinl.c: Likewise.
10542 * math/s_ctan.c: Likewise.
10543 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10544 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10545 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10546
8ec250a4
UD
105472011-10-21 Ulrich Drepper <drepper@gmail.com>
10548
c196fed8
UD
10549 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10550 compilation problems.
10551
8ec250a4
UD
10552 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10553 __builtin_expect.
10554
8d4f46c6
UD
105552011-10-20 Ulrich Drepper <drepper@gmail.com>
10556
ed72b654
UD
10557 * sysdeps/i386/configure.in: Test for -mfma4 option.
10558 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10559 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10560 COMMON_CPUID_INDEX_80000001.
10561 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10562 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10563 use it if FMA3 is not supported.
10564 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10565
8d4f46c6
UD
10566 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10567 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10568
d45c60c2
AS
105692011-10-20 Andreas Schwab <schwab@redhat.com>
10570
10571 [BZ #12892]
10572 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10573 it would create a cycle with a link time dependency.
10574
d9a4d2ab
UD
105752011-10-19 Ulrich Drepper <drepper@gmail.com>
10576
855d1560
UD
10577 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10578 instruction.
10579 * string/Makefile (strop-tests): Add rawmemchr.
10580 * string/test-rawmemchr.c: New file.
10581
d9a4d2ab
UD
10582 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10583 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10584 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10585 when compiling str{,n}casecmp and when AVX is available. Hook up
10586 new optimized code in initializers.
10587
8f3b1ffe
AS
105882011-10-19 Andreas Schwab <schwab@redhat.com>
10589
10590 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10591 __feraiseexcept instead of feraiseexcept.
10592
d38f1dba
UD
105932011-10-18 Ulrich Drepper <drepper@gmail.com>
10594
d9a8d0ab
UD
10595 * math/math_private.h: Define defaults for libc_fetestexcept and
10596 libc_feupdateenv.
10597 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10598 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10599 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10600 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10601 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10602 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10603 libc_fetestexcept and libc_feupdateenv.
10604
4855e3dd
UD
10605 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10606 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10607 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10608 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10609 libc_feholdexcept_setround.
10610
581d30e3
UD
10611 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10612 Add s_nearbyint-c and s_nearbyintf-c.
10613 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10614 nearbyintf inlines.
10615 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10616 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10617 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10618 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10619
d38f1dba
UD
10620 * math/math_private.h: Define defaults for libc_fegetround,
10621 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10622 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10623 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10624 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10625 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10626 standard functions.
10627 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10628 Remove comments and hacks for old compiler versions.
10629 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10630 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10631 libc_feholdexceptl.
10632
caa6c9d8
AS
106332011-10-18 Andreas Schwab <schwab@redhat.com>
10634
10635 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
10636 (__feraiseexcept_renamed): Add __NTH.
10637 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
10638 namespace violations.
10639
97c066e6
UD
106402011-10-17 Ulrich Drepper <drepper@gmail.com>
10641
99ce7b04
UD
10642 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10643
1004d182
UD
10644 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10645
228a984d
UD
10646 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10647 recently added interfaces.
10648 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10649
c8553a6a
UD
10650 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10651 about macro parameter expansion.
10652
ed22dcf6
UD
10653 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10654 __NO_MATH_INLINES is defined. Cleanups.
10655
10656 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10657 and __floorf is target has SSE4.1.
10658 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10659 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10660 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10661 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10662
b171c137
UD
10663 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10664 name.
10665 (floorf): Likewise.
10666
97c066e6
UD
10667 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10668
629f62ef
AS
106692011-10-17 Andreas Schwab <schwab@redhat.com>
10670
49a43d80
AS
10671 * misc/sys/cdefs.h: Fix last change.
10672
629f62ef
AS
10673 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10674 database lookup.
10675
e453f6cd
UD
106762011-10-16 Ulrich Drepper <drepper@gmail.com>
10677
aa78043a
UD
10678 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10679
ad0f5cad
UD
10680 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10681 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10682 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10683 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10684 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10685 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10686 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10687 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10688 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10689 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10690 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10691 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10692 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10693 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10694 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10695 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10696 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10697 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10698 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10699 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10700 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10701 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10702
10703 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10704 ceil, ceilf, floor, floorf.
10705
10706 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10707 Perform IRELATIVE relocations last.
10708
e453f6cd
UD
10709 * elf/do-rel.h: Add another parameter nrelative, replacing the
10710 local variable with the same name. Change name of the function
10711 to end in Rel or Rela (uppercase).
10712 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10713 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10714 elf_dynamic_do_##reloc function.
10715
fd5bdc09
UD
107162011-10-15 Ulrich Drepper <drepper@gmail.com>
10717
79b195b5
UD
10718 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10719 is sufficient, at least on modern CPUs.
10720
d4a28569
UD
10721 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10722
b61099b5
UD
10723 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10724 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10725
bcf01e6d
UD
10726 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10727 __expl_finite.
10728 * math/bits/math-finite.h: Add entries for exp.
10729 * math/e_expl.c: Add __*_finite alias.
10730 * sysdeps/i386/fpu/e_exp.S: Likewise.
10731 * sysdeps/i386/fpu/e_expf.S: Likewise.
10732 * sysdeps/i386/fpu/e_expl.c: Likewise.
10733 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10734 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10735 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10736 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10737 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10738 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10739 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10740
ba1a0d59
UD
10741 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10742 is sufficient, at least on modern CPUs.
10743
fd5bdc09
UD
10744 * ctype/ctype-info.c (__ctype_init): Define.
10745 * include/ctype.h (__ctype_init): Declare.
10746 (__ctype_b_loc): The variable is always initialized.
10747 (__ctype_toupper_loc): Likewise.
10748 (__ctype_tolower_loc): Likewise.
10749 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10750 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10751
7872cfb0
AS
107522011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10753
b468825a
AS
10754 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10755
7872cfb0
AS
10756 * configure.in: Also look in $cxxmachine/include for C++ system
10757 headers.
10758
be13f7bf
LD
107592011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10760
10761 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10762 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10763 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10764 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10765 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10766 (USE_AS_WMEMCMP): New macro.
10767 Fixing indents.
10768 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10769 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10770 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10771 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10772 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10773 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10774 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10775 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10776 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10777 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10778 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10779 (USE_AS_WMEMCMP): New macro.
10780 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10781 * sysdeps/string/test-memcmp.c: Update.
10782 Fix simple_wmemcmp.
10783 Add new tests.
10784 * wcsmbs/wmemcmp.c: Update.
10785 (WMEMCMP): New macro.
10786 Fix overflow bug.
10787
556a2007
AJ
107882011-10-12 Andreas Jaeger <aj@suse.de>
10789
10790 [BZ #13268]
10791 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10792
538faaa7
UD
107932011-10-15 Ulrich Drepper <drepper@gmail.com>
10794
ab6737ff
UD
10795 * libio/iofwide.c (do_length): Avoid warning.
10796
538faaa7
UD
10797 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10798
396a21b1
UD
107992011-10-14 Ulrich Drepper <drepper@gmail.com>
10800
cdf2901f
UD
10801 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10802
38ad40ce
UD
10803 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10804 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10805 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10806 * sysdeps/i386/i686/fpu/e_log.S: New file.
10807 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10808 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10809
396a21b1
UD
10810 * ctype/ctype.h: Add support for inlined isXXX functions when
10811 compiling C++ code.
10812
6b1f68c9
AS
108132011-10-14 Andreas Schwab <schwab@redhat.com>
10814
349290c0
AS
10815 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10816
6b1f68c9
AS
10817 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10818
f2282d42
RM
108192011-10-13 Roland McGrath <roland@hack.frob.com>
10820
10821 [BZ #13291]
10822 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10823
5298ffa8
AS
108242011-10-13 Andreas Schwab <schwab@redhat.com>
10825
714fad23
AS
10826 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10827 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10828 feraiseexcept.
10829
81dcc7fb
AS
10830 * sysdeps/x86_64/memrchr.S: Check for zero size.
10831
5298ffa8
AS
10832 * string/stratcliff.c: Add memrchr tests.
10833
951fbcec
LD
108342011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10835
10836 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10837 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10838 rawmemchr-sse2 rawmemchr-sse2-bsf.
10839 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10840 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10841 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10842 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10843 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10844 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10845 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10846 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10847 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10848 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10849 * string/memrchr.c (MEMRCHR): New macro.
10850
0ac5ae23
UD
108512011-10-12 Ulrich Drepper <drepper@gmail.com>
10852
10853 Add integration with gcc's -ffinite-math-only and optimize wrapper
10854 functions in libm.
10855 * Versions.def: Define GLIBC_2.15 version for libm.
10856 * math/Makefile (headers): Add bits/math-finite.h.
10857 * math/bits/math-finite.h: New file.
10858 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10859 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10860 * math/e_acoshl.c: Add __*_finite alias.
10861 * math/e_acosl.c: Likewise.
10862 * math/e_asinl.c: Likewise.
10863 * math/e_atan2l.c: Likewise.
10864 * math/e_atanhl.c: Likewise.
10865 * math/e_coshl.c: Likewise.
10866 * math/e_exp10.c: Likewise.
10867 * math/e_exp10f.c: Likewise.
10868 * math/e_exp10l.c: Likewise.
10869 * math/e_exp2l.c: Likewise.
10870 * math/e_fmodl.c: Likewise.
10871 * math/e_gammal_r.c: Likewise.
10872 * math/e_hypotl.c: Likewise.
10873 * math/e_j0l.c: Likewise.
10874 * math/e_j1l.c: Likewise.
10875 * math/e_jnl.c: Likewise.
10876 * math/e_lgammal_r.c: Likewise.
10877 * math/e_log10l.c: Likewise.
10878 * math/e_log2l.c: Likewise.
10879 * math/e_logl.c: Likewise.
10880 * math/e_powl.c: Likewise.
10881 * math/e_sinhl.c: Likewise.
10882 * math/e_sqrtl.c: Likewise.
10883 * math/e_scalb.c: Completely rewritten and optimized.
10884 * math/e_scalbf.c: Likewise.
10885 * math/e_scalbl.c: Likewise.
10886 * math/w_acos.c: Likewise.
10887 * math/w_acosf.c: Likewise.
10888 * math/w_acosl.c: Likewise.
10889 * math/w_acosh.c: Likewise.
10890 * math/w_acoshf.c: Likewise.
10891 * math/w_acoshl.c: Likewise.
10892 * math/w_asin.c: Likewise.
10893 * math/w_asinf.c: Likewise.
10894 * math/w_asinl.c: Likewise.
10895 * math/w_atan2.c: Likewise.
10896 * math/w_atan2f.c: Likewise.
10897 * math/w_atan2l.c: Likewise.
10898 * math/w_atanh.c: Likewise.
10899 * math/w_atanhf.c: Likewise.
10900 * math/w_atanhl.c: Likewise.
10901 * math/w_exp10.c: Likewise.
10902 * math/w_exp10f.c: Likewise.
10903 * math/w_exp10l.c: Likewise.
10904 * math/w_fmod.c: Likewise.
10905 * math/w_fmodf.c: Likewise.
10906 * math/w_fmodl.c: Likewise.
10907 * math/w_j0.c: Likewise.
10908 * math/w_j0f.c: Likewise.
10909 * math/w_j0l.c: Likewise.
10910 * math/w_j1.c: Likewise.
10911 * math/w_j1f.c: Likewise.
10912 * math/w_j1l.c: Likewise.
10913 * math/w_jn.c: Likewise.
10914 * math/w_jnf.c: Likewise.
10915 * math/w_log.c: Likewise.
10916 * math/w_logf.c: Likewise.
10917 * math/w_logl.c: Likewise.
10918 * math/w_log10.c: Likewise.
10919 * math/w_log10f.c: Likewise.
10920 * math/w_log10l.c: Likewise.
10921 * math/w_log2.c: Likewise.
10922 * math/w_log2f.c: Likewise.
10923 * math/w_log2l.c: Likewise.
10924 * math/w_pow.c: Likewise.
10925 * math/w_powf.c: Likewise.
10926 * math/w_powl.c: Likewise.
10927 * math/w_remainder.c: Likewise.
10928 * math/w_remainderf.c: Likewise.
10929 * math/w_remainderl.c: Likewise.
10930 * math/w_scalb.c: Likewise.
10931 * math/w_scalbf.c: Likewise.
10932 * math/w_scalbl.c: Likewise.
10933 * math/w_sqrt.c: Likewise.
10934 * math/w_sqrtf.c: Likewise.
10935 * math/w_sqrtl.c: Likewise.
10936 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10937 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10938 used.
10939 * math/math_private.h: Declare __kernel_standard_f.
10940 * math/w_cosh.c: Remove cruft and optimize a bit.
10941 * math/w_coshf.c: Likewise.
10942 * math/w_coshl.c: Likewise.
10943 * math/w_exp2.c: Likewise.
10944 * math/w_exp2f.c: Likewise.
10945 * math/w_exp2l.c: Likewise.
10946 * math/w_hypot.c: Likewise.
10947 * math/w_hypotf.c: Likewise.
10948 * math/w_hypotl.c: Likewise.
10949 * math/w_lgamma.c: Likewise.
10950 * math/w_lgamma_r.c: Likewise.
10951 * math/w_lgammaf.c: Likewise.
10952 * math/w_lgammaf_r.c: Likewise.
10953 * math/w_lgammal.c: Likewise.
10954 * math/w_lgammal_r.c: Likewise.
10955 * math/w_sinh.c: Likewise.
10956 * math/w_sinhf.c: Likewise.
10957 * math/w_sinhl.c: Likewise.
10958 * math/w_tgamma.c: Likewise.
10959 * math/w_tgammaf.c: Likewise.
10960 * math/w_tgammal.c: Likewise.
10961 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10962 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10963 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10964 Minor optimizations. Pretty printing. Remove cruft.
10965 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10966 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10967 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10968 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10969 * sysdeps/i386/fpu/e_acosl.c: Likewise.
10970 * sysdeps/i386/fpu/e_asin.S: Likewise.
10971 * sysdeps/i386/fpu/e_asinf.S: Likewise.
10972 * sysdeps/i386/fpu/e_atan2.S: Likewise.
10973 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
10974 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
10975 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10976 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10977 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10978 * sysdeps/i386/fpu/e_exp10.S: Likewise.
10979 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
10980 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
10981 * sysdeps/i386/fpu/e_exp2.S: Likewise.
10982 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
10983 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
10984 * sysdeps/i386/fpu/e_fmod.S: Likewise.
10985 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
10986 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
10987 * sysdeps/i386/fpu/e_hypot.S: Likewise.
10988 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
10989 * sysdeps/i386/fpu/e_log.S: Likewise.
10990 * sysdeps/i386/fpu/e_log10.S: Likewise.
10991 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10992 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10993 * sysdeps/i386/fpu/e_log2.S: Likewise.
10994 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10995 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10996 * sysdeps/i386/fpu/e_logf.S: Likewise.
10997 * sysdeps/i386/fpu/e_logl.S: Likewise.
10998 * sysdeps/i386/fpu/e_pow.S: Likewise.
10999 * sysdeps/i386/fpu/e_powf.S: Likewise.
11000 * sysdeps/i386/fpu/e_powl.S: Likewise.
11001 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11002 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11003 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11004 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11005 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11006 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11007 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11008 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11009 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11010 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11011 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11012 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11013 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11014 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11015 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11016 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11017 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11018 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11019 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11020 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11021 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11022 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11023 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11024 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11025 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11026 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11027 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11028 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11029 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11030 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11031 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11032 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11033 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11034 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11035 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11036 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11037 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11038 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11039 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11040 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11041 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11042 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11043 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11044 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11045 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11046 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11047 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11048 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11049 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11050 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11051 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11052 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11053 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11054 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11055 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11056 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11057 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11058 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11059 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11060 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11061 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11062 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11063 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11064 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11065 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11066 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11067 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11068 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11069 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11070 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11071 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11072 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11073 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11074 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11075 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11076 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11077 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11078 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11079 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11080 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11081 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11082 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11083 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11084 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11085 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11086 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11087 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11088 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11089 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11090 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11091 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11092 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11093 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11094 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11095 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11096 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11097 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11098 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11099 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11100 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11101 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11102 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11103 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11104 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11105 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11106 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11107 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11108 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11109 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11110 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11111 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11112 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11113 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11114 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11115 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11116 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11117 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11118 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11119 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11120 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11121 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11122 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11123 (__isnanf): Likewise.
11124 (__isinf_ns): Likewise.
11125 (__isinf_nsf): Likewise.
11126 (__finite): Likewise.
11127 (__finitef): Likewise.
11128 (__ieee754_sqrt): Define as macro.
11129 (__ieee754_sqrtf): Define as macro.
11130 (__ieee754_sqrtl): Define as macro.
11131 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11132 inlined copy.
11133 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11134 __FINITE_MATH_ONLY__ consistent.
11135 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11136
12cc2fcd
AS
111372011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11138
a843a204
AS
11139 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11140 of rawmemchr.
11141
12cc2fcd
AS
11142 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11143
c853acd5
UD
111442011-10-09 Ulrich Drepper <drepper@gmail.com>
11145
11146 * po/ja.po: Update from translation team.
11147
c658d255
RM
111482011-10-08 Roland McGrath <roland@hack.frob.com>
11149
110946e4
RM
11150 * locale/programs/locarchive.c (prepare_address_space): New function.
11151 (create_archive, enlarge_archive, open_archive): Use it.
11152
50604220
RM
11153 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11154 inside [SHARED], where it is used.
11155
c658d255
RM
11156 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11157
11158 * nss/getent.c (netgroup_keys): Remove unused variable.
11159 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11160
6a621eb7
UD
111612011-10-08 Ulrich Drepper <drepper@gmail.com>
11162
7edb55ce
UD
11163 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11164 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11165 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11166 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11167 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11168 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11169 * math/Makefile (libm-calls): Add s_isinf_ns.
11170 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11171 * math/multc3.c: Likewise.
11172 * math/s_casin.c: Likewise.
11173 * math/s_casinf.c: Likewise.
11174 * math/s_casinl.c: Likewise.
11175 * math/s_ccos.c: Likewise.
11176 * math/s_ccosf.c: Likewise.
11177 * math/s_ccosl.c: Likewise.
11178 * math/s_ctan.c: Likewise.
11179 * math/s_ctanf.c: Likewise.
11180 * math/s_ctanh.c: Likewise.
11181 * math/s_ctanhf.c: Likewise.
11182 * math/s_ctanhl.c: Likewise.
11183 * math/s_ctanl.c: Likewise.
11184 * math/w_fmod.c: Likewise.
11185 * math/w_fmodf.c: Likewise.
11186 * math/w_fmodl.c: Likewise.
11187 * math/w_remainder.c: Likewise.
11188 * math/w_remainderf.c: Likewise.
11189 * math/w_remainderl.c: Likewise.
11190 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11191 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11192 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11193 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11194 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11195 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11196 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11197 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11198
187da0ae
UD
11199 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11200 of the number.
11201 * stdio-common/printf_fphex.c: Likewise.
11202 * stdio-common/printf_size.c: Likewise.
11203
9277c064
UD
11204 * math/e_exp10.c: Include math_private.h using <...> not "...".
11205 * math/e_exp10f.c: Likewise.
11206 * math/e_exp10l.c: Likewise.
11207 * math/e_exp2l.c: Likewise.
11208 * math/e_j0l.c: Likewise.
11209 * math/e_j1l.c: Likewise.
11210 * math/e_jnl.c: Likewise.
11211 * math/e_lgammal_r.c: Likewise.
11212 * math/e_rem_pio2l.c: Likewise.
11213 * math/e_scalb.c: Likewise.
11214 * math/e_scalbf.c: Likewise.
11215 * math/e_scalbl.c: Likewise.
11216 * math/k_cosl.c: Likewise.
11217 * math/k_sinl.c: Likewise.
11218 * math/k_tanl.c: Likewise.
11219 * math/s_cacoshf.c: Likewise.
11220 * math/s_catan.c: Likewise.
11221 * math/s_catanf.c: Likewise.
11222 * math/s_catanh.c: Likewise.
11223 * math/s_catanhf.c: Likewise.
11224 * math/s_catanhl.c: Likewise.
11225 * math/s_catanl.c: Likewise.
11226 * math/s_ccosh.c: Likewise.
11227 * math/s_ccoshf.c: Likewise.
11228 * math/s_ccoshl.c: Likewise.
11229 * math/s_cexp.c: Likewise.
11230 * math/s_cexpf.c: Likewise.
11231 * math/s_cexpl.c: Likewise.
11232 * math/s_clog.c: Likewise.
11233 * math/s_clog10.c: Likewise.
11234 * math/s_clog10f.c: Likewise.
11235 * math/s_clog10l.c: Likewise.
11236 * math/s_clogf.c: Likewise.
11237 * math/s_clogl.c: Likewise.
11238 * math/s_csin.c: Likewise.
11239 * math/s_csinf.c: Likewise.
11240 * math/s_csinh.c: Likewise.
11241 * math/s_csinhf.c: Likewise.
11242 * math/s_csinhl.c: Likewise.
11243 * math/s_csinl.c: Likewise.
11244 * math/s_csqrt.c: Likewise.
11245 * math/s_csqrtf.c: Likewise.
11246 * math/s_csqrtl.c: Likewise.
11247 * math/s_ctan.c: Likewise.
11248 * math/s_ctanf.c: Likewise.
11249 * math/s_ctanh.c: Likewise.
11250 * math/s_ctanhf.c: Likewise.
11251 * math/s_ctanhl.c: Likewise.
11252 * math/s_ctanl.c: Likewise.
11253 * math/s_ldexp.c: Likewise.
11254 * math/s_ldexpf.c: Likewise.
11255 * math/s_ldexpl.c: Likewise.
11256 * math/s_significand.c: Likewise.
11257 * math/s_significandf.c: Likewise.
11258 * math/s_significandl.c: Likewise.
11259 * math/w_acos.c: Likewise.
11260 * math/w_acosf.c: Likewise.
11261 * math/w_acosh.c: Likewise.
11262 * math/w_acoshf.c: Likewise.
11263 * math/w_acoshl.c: Likewise.
11264 * math/w_acosl.c: Likewise.
11265 * math/w_asin.c: Likewise.
11266 * math/w_asinf.c: Likewise.
11267 * math/w_asinl.c: Likewise.
11268 * math/w_atan2.c: Likewise.
11269 * math/w_atan2f.c: Likewise.
11270 * math/w_atan2l.c: Likewise.
11271 * math/w_atanh.c: Likewise.
11272 * math/w_atanhf.c: Likewise.
11273 * math/w_atanhl.c: Likewise.
11274 * math/w_cosh.c: Likewise.
11275 * math/w_coshf.c: Likewise.
11276 * math/w_coshl.c: Likewise.
11277 * math/w_dremf.c: Likewise.
11278 * math/w_exp10.c: Likewise.
11279 * math/w_exp10f.c: Likewise.
11280 * math/w_exp10l.c: Likewise.
11281 * math/w_exp2.c: Likewise.
11282 * math/w_exp2f.c: Likewise.
11283 * math/w_fmod.c: Likewise.
11284 * math/w_fmodf.c: Likewise.
11285 * math/w_fmodl.c: Likewise.
11286 * math/w_hypot.c: Likewise.
11287 * math/w_hypotf.c: Likewise.
11288 * math/w_hypotl.c: Likewise.
11289 * math/w_j0.c: Likewise.
11290 * math/w_j0f.c: Likewise.
11291 * math/w_j0l.c: Likewise.
11292 * math/w_j1.c: Likewise.
11293 * math/w_j1f.c: Likewise.
11294 * math/w_j1l.c: Likewise.
11295 * math/w_jn.c: Likewise.
11296 * math/w_jnf.c: Likewise.
11297 * math/w_jnl.c: Likewise.
11298 * math/w_lgamma.c: Likewise.
11299 * math/w_lgamma_r.c: Likewise.
11300 * math/w_lgammaf.c: Likewise.
11301 * math/w_lgammaf_r.c: Likewise.
11302 * math/w_lgammal.c: Likewise.
11303 * math/w_lgammal_r.c: Likewise.
11304 * math/w_log.c: Likewise.
11305 * math/w_log10.c: Likewise.
11306 * math/w_log10f.c: Likewise.
11307 * math/w_log10l.c: Likewise.
11308 * math/w_log2.c: Likewise.
11309 * math/w_log2f.c: Likewise.
11310 * math/w_log2l.c: Likewise.
11311 * math/w_logf.c: Likewise.
11312 * math/w_logl.c: Likewise.
11313 * math/w_pow.c: Likewise.
11314 * math/w_powf.c: Likewise.
11315 * math/w_powl.c: Likewise.
11316 * math/w_remainder.c: Likewise.
11317 * math/w_remainderf.c: Likewise.
11318 * math/w_remainderl.c: Likewise.
11319 * math/w_scalb.c: Likewise.
11320 * math/w_scalbf.c: Likewise.
11321 * math/w_scalbl.c: Likewise.
11322 * math/w_sinh.c: Likewise.
11323 * math/w_sinhf.c: Likewise.
11324 * math/w_sinhl.c: Likewise.
11325 * math/w_sqrt.c: Likewise.
11326 * math/w_sqrtf.c: Likewise.
11327 * math/w_sqrtl.c: Likewise.
11328 * math/w_tgamma.c: Likewise.
11329 * math/w_tgammaf.c: Likewise.
11330 * math/w_tgammal.c: Likewise.
11331
6a621eb7
UD
11332 * po/ja.po: Update from translation team.
11333
bf582445
AJ
113342011-09-29 Andreas Jaeger <aj@suse.de>
11335
f9efbf3a
AJ
11336 [BZ #13179]
11337 * sunrpc/netname.c (netname2host): Fix logic.
11338
bf582445
AJ
11339 [BZ #6779]
11340 [BZ #6783]
11341 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11342 correctly.
11343 * math/w_remainder.c (__remainder): Likewise.
11344 * math/w_remainderf.c (__remainderf): Likewise.
11345 * math/libm-test.inc (remainder_test): Add test cases.
11346
48693bea
AK
113472011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11348
11349 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11350 sdiv_qrnnd.
11351
42622229
LD
113522011-10-07 Ulrich Drepper <drepper@gmail.com>
11353
11354 * string/test-memcmp.c: Avoid unncessary #defines.
11355 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11356
093ecf92
LD
113572011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11358
11359 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11360 Use new sse2 version for core i3 - i7 as it's faster
11361 than sse42 version.
11362 (bit_Prefer_PMINUB_for_stringop): New.
11363 * sysdeps/x86_64/rawmemchr.S: Update.
11364 Replace with faster SSE2 version.
11365 * sysdeps/x86_64/memrchr.S: New file.
11366 * sysdeps/x86_64/memchr.S: Update.
11367 Replace with faster SSE2 version.
11368
fde56e5c
MP
113692011-09-12 Marek Polacek <mpolacek@redhat.com>
11370
11371 * elf/dl-load.c (lose): Add cast to avoid warning.
11372
21fd49a9
UD
113732011-10-07 Ulrich Drepper <drepper@gmail.com>
11374
5a06e643
UD
11375 * po/ca.po: Update from translation team.
11376
684ae515
UD
11377 * inet/getnetgrent_r.c: Hook up nscd.
11378 * nscd/Makefile (routines): Add nscd_netgroup.
11379 (nscd-modules): Add netgroupcache.
11380 (CFLAGS-netgroupcache.c): Define.
11381 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11382 (cache_search): Add const to second parameter.
11383 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11384 INNETGR.
11385 (dbs): Add netgrdb entry.
11386 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11387 (verify_persistent_db): Handle netgrdb.
11388 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11389 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11390 GETFDNETGR.
11391 (netgroup_response_header): Define.
11392 (innetgroup_response_header): Define.
11393 (datahead): Add netgroup_response_header and innetgroup_response_header
11394 elements.
11395 * nscd/nscd.conf: Add entries for netgroup cache.
11396 * nscd/nscd.h (dbtype): Add netgrdb.
11397 (_PATH_NSCD_NETGROUP_DB): Define.
11398 (netgroup_iov_disabled): Declare.
11399 (xmalloc, xcalloc, xrealloc): Move declarations here.
11400 (cache_search): Adjust prototype.
11401 Add netgroup-related prototypes.
11402 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11403 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11404 (__nscd_innetgr): Declare.
11405 * nscd/selinux.c (perms): Use access_vector_t as element type and
11406 add netgroup-related initializers.
11407 * nscd/netgroupcache.c: New file.
11408 * nscd/nscd_netgroup.c: New file.
11409 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11410 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11411 For four parameters use innetgr.
11412 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11413 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11414 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11415 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11416
21fd49a9
UD
11417 * nscd/connections.c (register_traced_file): Don't register file
11418 for disabled databases.
11419
054c0457
UD
114202011-10-06 Ulrich Drepper <drepper@gmail.com>
11421
32b63198
UD
11422 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11423
054c0457
UD
11424 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11425 from tree and freeing node.
11426
64031225
JO
114272011-09-25 Jiri Olsa <jolsa@redhat.com>
11428
11429 * nss/nsswitch.c (__nss_database_lookup): Handle
11430 nss_parse_service_list out of memory case.
11431
0490345c
JO
114322011-09-15 Jiri Olsa <jolsa@redhat.com>
11433
11434 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11435 out of memory case.
11436
3a62d00d
AS
114372011-10-04 Andreas Schwab <schwab@redhat.com>
11438
11439 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11440 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11441 pass it down.
11442 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11443 elf_machine_rela, elf_machine_lazy_rel.
11444 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11445 (ELF_DYNAMIC_DO_REL): Likewise.
11446 (ELF_DYNAMIC_DO_RELA): Likewise.
11447 (ELF_DYNAMIC_RELOCATE): Likewise.
11448 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11449 to ELF_DYNAMIC_DO_REL.
11450 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11451 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11452 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11453 elf_machine_rela.
11454 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11455 skip_ifunc, don't call ifunc function if non-zero.
11456 (elf_machine_rela): Likewise.
11457 (elf_machine_lazy_rel): Likewise.
11458 (elf_machine_lazy_rela): Likewise.
11459 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11460 (elf_machine_lazy_rel): Likewise.
11461 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11462 Likewise.
11463 (elf_machine_lazy_rel): Likewise.
11464 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11465 Likewise.
11466 (elf_machine_lazy_rel): Likewise.
11467 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11468 (elf_machine_lazy_rel): Likewise.
11469 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11470 (elf_machine_lazy_rel): Likewise.
11471 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11472 (elf_machine_lazy_rel): Likewise.
11473 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11474 (elf_machine_lazy_rel): Likewise.
11475 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11476 (elf_machine_lazy_rel): Likewise.
11477 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11478 (elf_machine_lazy_rel): Likewise.
11479
68577918
UD
114802011-09-28 Ulrich Drepper <drepper@gmail.com>
11481
11482 * nss/nss_files/files-init.c (_nss_files_init): Use static
11483 initialization for all the *_traced_file variables.
11484
68822d74
AS
114852011-09-28 Andreas Schwab <schwab@redhat.com>
11486
11487 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11488
2056100b
RM
114892011-09-27 Roland McGrath <roland@hack.frob.com>
11490
11491 [BZ #13226]
11492 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11493
32c76b63
AS
114942011-09-27 Andreas Schwab <schwab@redhat.com>
11495
11496 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11497 Reread the line before reparsing it.
11498
bf972c9d
AS
114992011-09-26 Andreas Schwab <schwab@redhat.com>
11500
11501 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11502
e057a1b5
JM
115032011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11504 Maxim Kuvyrkov <maxim@codesourcery.com>
11505 Joseph Myers <joseph@codesourcery.com>
11506
11507 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11508 if needed for __stack_chk_guard.
11509
bc7e1c36
RM
115102011-09-19 Roland McGrath <roland@hack.frob.com>
11511
ecb1482f
RM
11512 * sysdeps/posix/spawni.c (script_execute): Always define it.
11513 It will be optimized away if unused.
11514 (maybe_script_execute): New function.
11515 (__spawni): Call it.
11516
bc7e1c36
RM
11517 * Makerules: Don't include tls.make.
11518 (config-tls): Always set to thread.
11519 * tls.make.c: File removed.
11520
1c3b002b
MF
115212011-09-19 Mike Frysinger <vapier@gentoo.org>
11522
11523 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11524 * config.make.in (CPPFLAGS-config): New substituted variable.
11525
2840865d
UD
115262011-09-15 Ulrich Drepper <drepper@gmail.com>
11527
88738eb6
UD
11528 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11529
cbf645a6 11530 [BZ #13192]
2840865d
UD
11531 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11532 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11533
b402e91a
RM
115342011-09-15 Roland McGrath <roland@hack.frob.com>
11535
11536 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11537 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11538 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11539 (CALL_FAIL): Likewise.
11540 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11541 (CALL_FAIL): Macro removed.
11542 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11543
4c1a1f71
UD
115442011-09-15 Ulrich Drepper <drepper@gmail.com>
11545
11546 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11547 for __FINITE_MATH_ONLY__ == 1.
11548
edc121be
AS
115492011-09-15 Andreas Schwab <schwab@redhat.com>
11550
11551 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11552 __ieee754_sqrt instead of sqrt.
11553 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11554 __ieee754_sqrtf instead of sqrtf.
11555 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11556 __floorf instead of floorf.
11557 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11558 __floorf, __truncf instead of floorf, truncf.
11559
cd205654
UD
115602011-09-14 Ulrich Drepper <drepper@gmail.com>
11561
ee4d0315
UD
11562 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11563
cd205654
UD
11564 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11565 __extern_always_inline.
11566 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11567 32-bit.
11568
48b67d71
AS
115692011-09-14 Andreas Schwab <schwab@redhat.com>
11570
11571 * elf/rtld.c (dl_main): Also relocate in dependency order when
11572 doing symbol dependency testing.
11573
1ae12c75
AS
115742011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11575
11576 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11577 Always define `refsym'.
11578
995a80df
AS
115792011-09-13 Andreas Schwab <schwab@redhat.com>
11580
e529793b
AS
11581 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11582 (__FD_ELT): Renamed from __FDELT.
11583 * misc/bits/select2.h (__FD_ELT): Likewise.
11584 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11585 __FD_MASK instead of __FDELT, __FDMASK.
11586 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11587 Likewise.
11588 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11589 Likewise.
11590
52d4fef8
AS
11591 * elf/Makefile (gen-ldd): Fix pattern.
11592
995a80df
AS
11593 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11594 (init_tls): Likewise.
11595
8682f8b0
UD
115962011-09-12 Ulrich Drepper <drepper@gmail.com>
11597
11598 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11599
de82006d
AS
116002011-09-12 Andreas Schwab <schwab@redhat.com>
11601
a7c8e6a1
AS
11602 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11603 `struct cmsghdr *' instead of `void *'.
11604 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11605 Likewise.
11606
0f31fe77
AS
116072011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11608
11609 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11610 if non-absolute.
11611 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11612 ldd_rewrite_script.
0f31fe77 11613
32b4c839
UD
116142011-09-11 Ulrich Drepper <drepper@gmail.com>
11615
83cd1420
UD
11616 * configure.in: Remove --with-tls option.
11617 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11618 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11619 out in case it is missing.
11620 * sysdeps/ia64/elf/configure.in: Likewise.
11621 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11622 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11623 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11624 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11625 * sysdeps/sh/elf/configure.in: Likewise.
11626 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11627 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11628 * sysdeps/x86_64/elf/configure.in: Likewise.
11629 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11630 * sysdeps/mach/hurd/tls.h: Likewise.
11631
633f745d
UD
11632 [BZ #13067]
11633 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11634
f318beb8
UD
11635 [BZ #13090]
11636 * configure.in: Fix use of AC_INIT.
11637
32b4c839
UD
11638 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11639
3ce1f295
UD
116402011-09-10 Ulrich Drepper <drepper@gmail.com>
11641
bb016596
UD
11642 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11643 __set_errno.
8e58439c
UD
11644 * malloc/hooks.c: Likewise.
11645
aebae053 11646 [BZ #11929]
02d46fc4
UD
11647 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11648 variables statically.
11649 (narenas): Initialize.
11650 (list_lock): Initialize.
bb016596
UD
11651 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11652 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
11653 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11654 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11655 Add initializers to main_arena and mp_.
11656 (malloc_state): Remove pagesize member. Change all users to use
11657 GLRO(dl_pagesize).
11658
11659 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11660 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11661 is always initialized.
11662
22a89187
UD
11663 * malloc/malloc.c: Removed unused configurations and dead code.
11664 * malloc/arena.c: Likewise.
11665 * malloc/hooks.c: Likewise.
02d46fc4 11666 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 11667
d063d164
UD
11668 * include/tls.h: Removed. USE___THREAD must always be defined.
11669 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11670 * elf/dl-libc.c: Likewise.
11671 * elf/dl-tsd.c: Likewise.
11672 * include/errno.h: Likewise.
11673 * include/netdb.h: Likewise.
11674 * include/resolv.h: Likewise.
11675 * inet/herrno-loc.c: Likewise.
11676 * inet/herrno.c: Likewise.
11677 * malloc/arena.c: Likewise.
11678 * malloc/hooks.c: Likewise.
11679 * malloc/malloc.c: Likewise.
11680 * resolv/res-state.c: Likewise.
11681 * resolv/res_libc.c: Likewise.
11682 * sysdeps/i386/dl-machine.h: Likewise.
11683 * sysdeps/ia64/dl-machine.h: Likewise.
11684 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11685 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11686 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11687 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11688 * sysdeps/sh/dl-machine.h: Likewise.
11689 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11690 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11691 * sysdeps/unix/i386/sysdep.S: Likewise.
11692 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11693 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11694 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11695 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11696 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11697 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11698 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11699 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11700 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11701 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11702 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11703 * sysdeps/x86_64/dl-machine.h: Likewise.
11704 * tls.make.c: Likewise.
11705
3ce1f295
UD
11706 * configure.in: Remove --with-__thread option. Make tests for
11707 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11708 tls_model attribute fail if no support is available. Remove
11709 USE_IN_LIBIO.
11710 * Makeconfig: Adjust for dropped configure option. All features are
11711 now mandatory.
11712 * Makerules: Likewise.
11713 * Versions.def: Likewise.
11714 * argp/argp-fmtstream.c: Likewise.
11715 * argp/argp-fmtstream.h: Likewise.
11716 * argp/argp-help.c: Likewise.
11717 * assert/assert.c: Likewise.
11718 * config.h.in: Likewise.
11719 * config.make.in: Likewise.
11720 * configure: Likewise.
11721 * configure.in: Likewise.
11722 * csu/Versions: Likewise.
11723 * csu/init.c: Likewise.
11724 * elf/tst-audit2.c: Likewise.
11725 * elf/tst-tls10.c: Likewise.
11726 * elf/tst-tls10.h: Likewise.
11727 * elf/tst-tls11.c: Likewise.
11728 * elf/tst-tls12.c: Likewise.
11729 * elf/tst-tls14.c: Likewise.
11730 * elf/tst-tlsmod11.c: Likewise.
11731 * elf/tst-tlsmod12.c: Likewise.
11732 * elf/tst-tlsmod13.c: Likewise.
11733 * elf/tst-tlsmod13a.c: Likewise.
11734 * elf/tst-tlsmod14a.c: Likewise.
11735 * elf/tst-tlsmod15b.c: Likewise.
11736 * elf/tst-tlsmod16a.c: Likewise.
11737 * elf/tst-tlsmod16b.c: Likewise.
11738 * elf/tst-tlsmod7.c: Likewise.
11739 * elf/tst-tlsmod8.c: Likewise.
11740 * elf/tst-tlsmod9.c: Likewise.
11741 * gmon/gmon.c: Likewise.
11742 * grp/fgetgrent_r.c: Likewise.
11743 * grp/putgrent.c: Likewise.
11744 * hurd/fopenport.c: Likewise.
11745 * include/libc-symbols.h: Likewise.
11746 * include/tls.h: Likewise.
11747 * intl/gettextP.h: Likewise.
11748 * intl/loadinfo.h: Likewise.
11749 * locale/global-locale.c: Likewise.
11750 * locale/localeinfo.h: Likewise.
11751 * mach/devstream.c: Likewise.
11752 * malloc/arena.c: Likewise.
11753 * malloc/set-freeres.c: Likewise.
11754 * misc/err.c: Likewise.
11755 * misc/getttyent.c: Likewise.
11756 * misc/mntent_r.c: Likewise.
11757 * posix/getopt.c: Likewise.
11758 * posix/wordexp.c: Likewise.
11759 * pwd/fgetpwent_r.c: Likewise.
11760 * resolv/Versions: Likewise.
11761 * resolv/res_hconf.c: Likewise.
11762 * shadow/fgetspent_r.c: Likewise.
11763 * shadow/putspent.c: Likewise.
11764 * stdio-common/printf_fphex.c: Likewise.
11765 * stdio-common/tmpfile.c: Likewise.
11766 * stdlib/abort.c: Likewise.
11767 * stdlib/fmtmsg.c: Likewise.
11768 * sunrpc/auth_unix.c: Likewise.
11769 * sunrpc/clnt_perr.c: Likewise.
11770 * sunrpc/clnt_tcp.c: Likewise.
11771 * sunrpc/clnt_udp.c: Likewise.
11772 * sunrpc/clnt_unix.c: Likewise.
11773 * sunrpc/openchild.c: Likewise.
11774 * sunrpc/svc_simple.c: Likewise.
11775 * sunrpc/svc_tcp.c: Likewise.
11776 * sunrpc/svc_udp.c: Likewise.
11777 * sunrpc/svc_unix.c: Likewise.
11778 * sunrpc/xdr.c: Likewise.
11779 * sunrpc/xdr_array.c: Likewise.
11780 * sunrpc/xdr_rec.c: Likewise.
11781 * sunrpc/xdr_ref.c: Likewise.
11782 * sunrpc/xdr_stdio.c: Likewise.
11783
1248c1c4
PB
117842011-09-09 Ulrich Drepper <drepper@gmail.com>
11785
11786 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11787
117882011-07-03 Andreas Jaeger <aj@suse.de>
11789
11790 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11791 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11792 regenerate with gen-libm-tests.pl.
11793
117942010-05-12 Petr Baudis <pasky@suse.cz>
11795
11796 [BZ #11589]
11797 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11798 around j0() zero points by switching to j1().
11799 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11800 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11801 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11802 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11803
f22e1074
UD
118042011-09-09 Ulrich Drepper <drepper@gmail.com>
11805
f19009c1
UD
11806 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11807 instead of 0.
11808 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11809 instead of 0. .
11810 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11811 Patch in part by Pavel Roskin <proski@gnu.org>.
11812
3f8cc204
UD
11813 [BZ #13138]
11814 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11815 realloc.
11816 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11817 Free memory block if necessary.
11818
f22e1074
UD
11819 [BZ #12847]
11820 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11821 be NULL. Don't lock in this case.
11822
0a2349f9
RM
118232011-09-09 Roland McGrath <roland@hack.frob.com>
11824
11825 * elf/elf.h (ELFOSABI_GNU): New macro.
11826 (ELFOSABI_LINUX): Define to that.
11827
f3cdd467
DZ
118282011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11829
11830 * string/strncat.c (strncat): Undef the symbol in case it has been
11831 defined in bits/string.h.
11832
74718d13
UD
118332011-09-09 Ulrich Drepper <drepper@gmail.com>
11834
633e9e0f
UD
11835 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11836
0a2349f9 11837 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
11838 link map.
11839
f9924780
AJ
118402011-08-17 Andreas Jaeger <aj@suse.de>
11841
11842 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11843
7f5517aa
PP
118442011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11845 Ian Lance Taylor <iant@google.com>
11846
11847 * math/libm-test.inc (lround_test): New testcase.
11848 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11849
762011fe
UD
118502011-09-08 Ulrich Drepper <drepper@gmail.com>
11851
92963737
UD
11852 * Makefile: Remove support for automatic cvs check-ins.
11853 * Makerules: Likewise.
11854 * config.make.in: Likewise.
11855 * configure.in: Likewise.
11856 * intl/Makefile: Likewise.
11857 * locale/Makefile: Likewise.
11858 * po/Makefile: Likewise.
11859 * posix/Makefile: Likewise.
11860 * sysdeps/gnu/Makefile: Likewise.
11861 * sysdeps/mach/hurd/Makefile: Likewise.
11862 * sysdeps/sparc/sparc32/Makefile: Likewise.
11863
b0727fd8
JS
11864 [BZ #13118]
11865 * posix/Makefile (bug-regex32-ENV): Define.
11866 Patch by John Stanley <jpsinthemix@verizon.net>.
11867
a0f33f99
UD
11868 * misc/Makefile (headers): Add bits/select2.h.
11869 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11870 * misc/bits/select2.h: New file.
11871 * include/bits/select2.h: New file.
11872 * debug/Makefile (routines): Add fdelt_chk.
11873 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11874 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11875 FD_ISSET.
11876 * debug/fdelt_chk.c: New file.
11877
762011fe
UD
11878 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11879 * wcsmbs/test-wmemcmp.c: Likewise.
11880 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 11881 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
11882
118832011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11884
11885 * string/Makefile (strop-tests): Add memcmp.
11886 * string/test-wmemcmp.c: New file.
11887 * string/test-memcmp.c: Add wmemcmp support.
11888
7f513ec8
RM
118892011-09-08 Roland McGrath <roland@hack.frob.com>
11890
0442afb4
RM
11891 [BZ #13153]
11892 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11893 2011-07-19 change.
11894
7f513ec8
RM
11895 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11896 garbage value in a __mach_port_mod_refs call in the cases of the
11897 task-self and thread-self ports.
11898
a12b2239
ST
118992011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11900
11901 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11902
610f9ab4
AS
119032011-09-08 Andreas Schwab <schwab@redhat.com>
11904
7f513ec8 11905 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 11906
48882a1a
LD
119072011-09-07 Ulrich Drepper <drepper@gmail.com>
11908
b49865be
UD
11909 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11910
fdc86bc9
UD
11911 * elf/dl-libc.c (dlerror_run): Pass back error code from
11912 dl_catch_error.
11913
c966526a
UD
11914 [BZ #13123]
11915 * elf/dl-load.c (lose): Free l_origin if it is valid.
11916
48882a1a
LD
11917 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11918 names.
11919 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11920 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11921 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11922 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11923 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11924 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11925
77a2a8b4
AZ
119262011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11927
11928 * sysdeps/powerpc/fpu/e_hypot.c: New file.
11929 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11930 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11931 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11932 * sysdeps/powerpc/fpu/k_cosf.c: New file.
11933 * sysdeps/powerpc/fpu/k_sinf.c: New file.
11934 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11935 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11936 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11937 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11938
24f579d8
AM
119392011-08-15 Alan Modra <amodra@gmail.com>
11940
11941 [BZ #13092]
11942 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11943 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11944 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11945 ppc_mcount to static-only-routines.
11946 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11947 __mcount_internal.
11948 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11949 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11950
3d4837df
UD
119512011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11952
11953 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11954 for finite and infinity parameters.
11955
22700377
WS
119562011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11957
11958 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11959 and add nop instructions for throughput optimization.
11960 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11961
5025581e
WS
119622011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
11963
11964 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11965 aligned copy for power7 with vector-scalar instructions.
11966 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11967
08a300c9
L
119682011-07-24 H.J. Lu <hongjiu.lu@intel.com>
11969
11970 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11971 AVX check.
11972
59178ef9
AS
119732011-09-07 Andreas Schwab <schwab@redhat.com>
11974
11975 [BZ #13144]
11976 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
11977 last change.
11978
e38ba7ab
UD
119792011-09-07 Ulrich Drepper <drepper@gmail.com>
11980
11981 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11982 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11983 syscall wrapper around clock_gettime in __vdso_clock_gettime.
11984 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
11985 clock_gettime.
11986
d53a73ac
UD
119872011-09-06 Ulrich Drepper <drepper@gmail.com>
11988
fc8bffcc
UD
11989 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
11990 Forgot to demangle the pointer.
11991
ceaa0c5d
UD
11992 * sysdeps/i386/sysdep.h: Define atom_text_section.
11993 * sysdeps/x86_64/sysdep.h: Likewise.
11994 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
11995 section with atom_text_section.
11996 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11997 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11998 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11999 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12000 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12001
a77d3c17
UD
12002 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12003 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12004 already be defined. Change to take two parameters and don't assign
12005 result to variable. Adjust all users.
12006 Define INTERNAL_GETTIME if not already defined.
12007 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12008 call.
12009 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12010 HAVE_CLOCK_GETTIME_VSYSCALL.
12011 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12012
d53a73ac
UD
12013 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12014 gettimeofday vsyscall, just use time.
12015
a8f84144
AS
120162011-09-06 Andreas Schwab <schwab@redhat.com>
12017
12018 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12019 <errno.h>.
12020
ef606249
UD
120212011-09-06 Ulrich Drepper <drepper@gmail.com>
12022
12023 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12024 syscall on x86-64.
12025 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12026 syscall.
12027 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12028 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12029 syscall if possible.
12030
6585cb60
UD
120312011-09-05 Ulrich Drepper <drepper@gmail.com>
12032
12033 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12034 e_ident. Don't pass to find_mapsXX.
12035 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12036
a5f524e4
LD
120372011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12038
12039 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12040 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12041 * sysdeps/x86_64/multiarch/strchr.S: Update.
12042 Check bit_slow_BSF bit.
12043 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12044 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12045 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12046
554881ef
UD
120472011-09-05 Ulrich Drepper <drepper@gmail.com>
12048
d96de963
UD
12049 [BZ #13134]
12050 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12051 before glibc 2.15.
12052 (tryshell): Define.
12053 (__spawni): Change last parameter to be flag. Test
12054 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12055 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12056 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12057 * posix/spawni.c: Likewise.
12058 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12059 * posix/spawnp.c: Likewise. Change normal version to use
12060 SPAWN_XFLAGS_USE_PATH.
12061 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12062 SPAWN_XFLAGS_TRY_SHELL.
12063
d48e5868
UD
12064 [BZ #13150]
12065 * posix/glob.h: Remove gcc 1.x support.
12066
554881ef
UD
12067 [BZ #13068]
12068 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12069
693fb948
LD
120702011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12071
12072 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12073 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12074 strrchr-sse2-bsf
12075 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12076 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12077 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12078 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12079 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12080 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12081
1b48c537
UD
120822011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12083
49d42c37
UD
12084 * sysdeps/x86_64/wcscmp.S: New file.
12085
1b48c537
UD
12086 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12087 wcscmp-c wcscmp-sse2
12088 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12089 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12090 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12091 * wcsmbs/wcscmp.c: Allow renaming.
12092
15c95c5d
DM
120932011-09-05 David S. Miller <davem@davemloft.net>
12094
12095 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12096 stack slot, rather than the struct return pointer slot.
12097 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12098 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12100 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12101
2f0ad8f3
UD
121022011-09-05 Ulrich Drepper <drepper@gmail.com>
12103
d88ae418
UD
12104 * po/ja.po: Update from translation team.
12105
2f0ad8f3
UD
12106 [BZ #13144]
12107 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12108 kernel in 64-bit binaries.
12109
5f4318d1
DM
121102011-09-01 David S. Miller <davem@davemloft.net>
12111
12112 * elf/elf.h (HWCAP_SPARC_*): Move to..
12113 * sysdeps/sparc/sysdep.h: this new file and add new values.
12114 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12115 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12116 _DL_HWCAP_COUNT to 24.
12117 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12118 entries.
12119 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12120 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12121 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12122 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12123 instead of magic constants.
12124 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12125
3ba57516
DM
121262011-08-31 David S. Miller <davem@davemloft.net>
12127
12128 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12129 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12130 Reimplement to do errno handling inline.
12131 (SYSCALL_ERROR_HANDLER): New macro.
12132 (__SYSCALL_STRING): Do not do errno handling in asm.
12133 (__CLONE_SYSCALL_STRING): Delete.
12134 (__INTERNAL_SYSCALL_STRING): Delete.
12135 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12136 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12137 (PSEUDO): Reimplement to do errno handling inline.
12138 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12139 (SYSCALL_ERROR_HANDLER): New macro.
12140 (__SYSCALL_STRING): Do not do errno handling in asm.
12141 (__CLONE_SYSCALL_STRING): Delete.
12142 (__INTERNAL_SYSCALL_STRING): Delete.
12143 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12144 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12145 i386.
12146 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12147 (inline_syscall*): Add 'err' argument.
12148 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12149 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12150 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12151 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12152
12153 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12154 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12155
2bc17433
AS
121562011-08-30 Andreas Schwab <schwab@redhat.com>
12157
12158 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12159
fbeb5f4d
JO
121602011-08-29 Jiri Olsa <jolsa@redhat.com>
12161
12162 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12163 directive.
12164
ad69cc26
DM
121652011-08-24 David S. Miller <davem@davemloft.net>
12166
12167 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12168
39dd69df
AS
121692011-08-24 Andreas Schwab <schwab@redhat.com>
12170
12171 * elf/Makefile: Add rules to build and run unload8 test.
12172 * elf/unload8.c: New file.
12173 * elf/unload8mod1.c: New file.
12174 * elf/unload8mod1x.c: New file.
12175 * elf/unload8mod2.c: New file.
12176 * elf/unload8mod3.c: New file.
12177
12178 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12179 it wasn't used.
12180
2c0b250a
DM
121812011-08-23 David S. Miller <davem@davemloft.net>
12182
12183 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12184 subtract stack bias.
12185 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12186 %sp not %fp in calculations.
12187 (_JMPBUF_UNWINDS_ADJ): Likewise.
12188
22044b48
DM
12189 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12190 (aio_suspend): Call it to force an exception region around the
12191 AIO_MISC_WAIT() invocation.
12192
2cae4995
AS
121932011-08-23 Andreas Schwab <schwab@redhat.com>
12194
12195 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12196 backslash.
12197
873a772e
AJ
121982011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12199
12200 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12201 protection macro.
12202 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12203 and <dl-machine.h>.
12204 (Elf64_FuncDesc): Remove.
12205
25ad0df1
DM
122062011-08-22 David S. Miller <davem@davemloft.net>
12207
12208 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12209 sigaltstack check, add missing cfi directives.
12210 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12211 missing cfi directives, and sigaltstack handling.
12212
e888bcbe
AS
122132011-08-16 Andreas Schwab <schwab@redhat.com>
12214
12215 [BZ #11724]
12216 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12217 object is seen twice.
12218 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12219
12220 * elf/Makefile (distribute): Add tst-initorder2.c.
12221 (tests): Add tst-initorder2.
12222 (modules-names): Add tst-initorder2a tst-initorder2b
12223 tst-initorder2c tst-initorder2d. Add rules to build them.
12224 ($(objpfx)tst-initorder2.out): New rule.
12225 * elf/tst-initorder2.c: New file.
12226 * elf/tst-initorder2.exp: New file.
12227
87162f46
AS
122282011-08-22 Andreas Schwab <schwab@redhat.com>
12229
70538b7f
AS
12230 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12231
f55ffe58
AS
12232 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12233 dependencies back to end of function.
12234
87162f46
AS
12235 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12236 $(elfobjdir)/ld.so.
12237
91b392a4
UD
122382011-08-21 Ulrich Drepper <drepper@gmail.com>
12239
12240 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12241 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12242 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12243 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12244 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12245 of __vdso_gettimeofday.
12246 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12247 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12248 attribute_hidden.
12249 (_libc_vdso_platform_setup): Remove initialization of
12250 __vdso_gettimeofday and __vdso_time.
12251
5c43483f
UD
122522011-08-20 Ulrich Drepper <drepper@gmail.com>
12253
775a77e7
UD
12254 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12255 and fgetc_unlocked.
12256 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12257 getc_unlocked.
89f447ed 12258
49c74ba9
UD
12259 * elf/dl-open.c (add_to_global): Report additions to the global scope
12260 for LD_DEBUG=scopes.
12261 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12262 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12263
5c43483f
UD
12264 [BZ #13114]
12265 * stdio-common/Makefile (tests): Add bug24.
12266 * stdio-common/bug24.c: New file.
12267
a101b025
AJ
122682011-08-19 Andreas Jaeger <aj@suse.de>
12269
12270 [BZ #13114]
12271 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12272 non-existant file when using close-on-exec mode.
12273
c88f1766
UD
122742011-08-20 Ulrich Drepper <drepper@gmail.com>
12275
0276a718
UD
12276 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12277 the very first instruction.
12278
c88f1766
UD
12279 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12280 the CFI state in the end.
12281 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12282 inclusion of dl-trampoline.h.
12283 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12284
51ccffa0
AS
122852011-08-19 Andreas Schwab <schwab@redhat.com>
12286
94d7165f
AS
12287 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12288 expectations for long double.
12289
51ccffa0
AS
12290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12291 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12292
fd708658 122932011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12294
12295 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12296 artificual limit depends upon the system page size.
12297
44f0a71e
UD
122982011-08-17 Ulrich Drepper <drepper@gmail.com>
12299
12300 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12301 * resolv/Makefile: Define CFLAGS-libresolv.
12302
8de79a24
AS
123032011-08-17 Andreas Schwab <schwab@redhat.com>
12304
12305 * nss/makedb.c (compute_tables): Make variables used in nested
12306 function static.
12307
27724598
UD
123082011-08-17 Ulrich Drepper <drepper@gmail.com>
12309
c5305d88
UD
12310 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12311 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12312 if buffer was too small.
12313
27724598
UD
12314 * elf/pldd.c (main): Attach to all threads in the process.
12315 Rewrite /proc handling to use *at functions.
12316
076fe015
UD
123172011-08-16 Ulrich Drepper <drepper@gmail.com>
12318
174baab3
UD
12319 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12320 specifies first scope to show.
12321 (dl_open_worker): Update callers. Move printing scope of new
12322 object to before the relocation.
44f0a71e 12323 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12324 * sysdeps/generic/ldsodefs.h: Update declaration.
12325
076fe015
UD
12326 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12327 string for the scope number.
12328
a60df2c3
UD
123292011-08-14 Ulrich Drepper <drepper@gmail.com>
12330
12331 * nscd/servicescache.c (cache_addserv): Make sure written is always
12332 initialized.
12333
5e4287d1
RM
123342011-08-14 Roland McGrath <roland@hack.frob.com>
12335
85ae0589
RM
12336 * sysdeps/i386/i486/bits/atomic.h
12337 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12338 statement expression, so as to suppress "set but not used" warning.
12339 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12340
69f63097
RM
12341 * string/strncat.c (STRNCAT): Use prototype definition.
12342
675456ef
RM
12343 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12344 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12345 -Iprograms here.
12346 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12347 (localedef-modules): Add localedef.
12348 (locale-modules): Add locale.
12349
5e4287d1
RM
12350 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12351 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12352 to avoid a warning.
12353
9c96ff23
DM
123542011-08-14 David S. Miller <davem@davemloft.net>
12355
12356 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12357 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12358
f9ddf089
UD
123592011-08-13 Ulrich Drepper <drepper@gmail.com>
12360
44f0a71e 12361 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12362 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12363 * elf/rtld.c (dl_main): Set l_name of vDSO.
12364 Call _dl_show_scope when DL_DEBUG_SCOPES.
12365 (process_dl_debug): Recognize scopes flag and also set it for all.
12366 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12367 Declare _dl_show_scope.
12368
1dc27704
UD
12369 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12370 (do_dlopen): Pass caller_dlopen to dl_open.
12371 (__libc_dlopen_mode): Initialize caller_dlopen.
12372
f9ddf089
UD
12373 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12374 of libc. Make tolower call locale-independent. Optimize a bit by
12375 using isdigit instead of isalnum.
12376 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12377
9ac533d3
UD
123782011-08-12 Ulrich Drepper <drepper@gmail.com>
12379
12380 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12381 was a dependency or dynamically loaded.
12382
89edf2e9
UD
123832011-08-11 Ulrich Drepper <drepper@gmail.com>
12384
8e999d29
UD
12385 * intl/l10nflist.c: Allow architecture-specific pop function.
12386 * sysdeps/x86_64/l10nflist.c: New file.
12387
89edf2e9
UD
12388 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12389 classification.
12390
14d96785
AS
123912011-08-10 Andreas Schwab <schwab@redhat.com>
12392
12393 * include/dirent.h: Add libc_hidden_proto for scandirat and
12394 scandirat64. Don't declare __scandirat64.
12395 * dirent/scandirat.c: Add libc_hidden_def.
12396 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12397 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12398
6761ac04
DM
123992011-08-10 David S. Miller <davem@davemloft.net>
12400
12401 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12402 enum.
12403 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12404 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12405 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12406
c55fbd1e
UD
124072011-08-09 Ulrich Drepper <drepper@gmail.com>
12408
12409 * Versions.def [libc]: Add GLIBC_2.15.
12410 * dirent/Makefile (routines): Add scandirat and scandirat64.
12411 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12412 GLIBC_2.15.
12413 * dirent/dirent.h: Declare scandirat and scandirat64.
12414 * dirent/scandirat.c: New file.
12415 * dirent/scandirat64.c: New file.
12416 * sysdeps/wordsize-64/scandirat.c: New file.
12417 * sysdeps/wordsize-64/scandirat64.c: New file.
12418 * dirent/opendir.c: Define opendirat.
12419 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12420 using scandirat.
12421 * dirent/scandir64.c: Adjust for scandir.c change.
12422 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12423 __scandirat64, and __scandir_cancel_handler.
12424 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12425 additional parameter and use openat instead of open (outside of ld.so).
12426 Add new __opendir as wrapper around __opendirat.
12427 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12428 here without requiring old scandirat implementation.
12429
879165f2
UD
124302011-08-08 Ulrich Drepper <drepper@gmail.com>
12431
12432 * dirent/scandir.c (cancel_handler): Renamed to
12433 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12434 defined. Adjust users.
12435 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12436 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12437
cb7e923b
UD
124382011-08-04 Ulrich Drepper <drepper@gmail.com>
12439
16292edd
UD
12440 * string/test-string.h (IMPL): Use __STRING to expand name and then
12441 stringify it.
12442
cb7e923b
UD
12443 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12444 of cleanups.
12445
cff82933
LD
124462011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12447
12448 * string/Makefile: Update.
12449 (strop-tests): Append strncat.
12450 * string/test-wcscmp.c: New file.
12451 New comprehensive test for wcscmp.
12452 * string/test-strcmp.c: Update.
12453 (WIDE): New define.
12454
9be9bfcc
AS
124552011-07-22 Andreas Schwab <schwab@redhat.com>
12456
12457 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12458 line.
12459
2e96f1c7
AS
124602011-07-26 Andreas Schwab <schwab@redhat.com>
12461
12462 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12463 encoding to ACE if AI_IDN.
12464
85188888
JJ
124652011-08-01 Jakub Jelinek <jakub@redhat.com>
12466
12467 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12468 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12469
5fa16e9b
LD
124702011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12471
12472 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12473 Fix overflow bug in strncat.
12474 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12475
12476 * string/test-strncat.c: Update.
12477 Add new tests for checking overflow bugs.
12478
124792011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12480
12481 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12482 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12483 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12484 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12485 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12486 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12487 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12488 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12489 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12490
12491 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12492 (USE_AS_STRCAT): Define.
12493 Add strcat and strncat support.
12494 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12495
8c1a459f
AS
124962011-07-25 Andreas Schwab <schwab@redhat.com>
12497
12498 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12499 __n bigger than INT_MAX+1.
12500 (__strncmp_g): Likewise.
12501
bba33c28
UD
125022011-07-23 Ulrich Drepper <drepper@gmail.com>
12503
798be72d
UD
12504 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12505 * libio/stido.h: Likewise.
12506
8accd4dc
UD
12507 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12508 (AF_NFC): Define.
12509 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12510 (AF_NFC): Define.
12511
cbff0d96
UD
12512 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12513 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12514 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12515 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12516 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12517
9191c04a
UD
12518 [BZ #13021]
12519 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12520 installed.
12521
bba33c28
UD
12522 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12523 typo.
12524 (_dl_x86_64_save_sse): Likewise.
12525
90f139dd
UD
125262011-07-22 Ulrich Drepper <drepper@gmail.com>
12527
1aae088a
UD
12528 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12529 OSXSAVE.
12530 (_dl_x86_64_save_sse): Likewise.
12531
8e2045f5
UD
12532 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12533
90f139dd
UD
12534 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12535
1d002f25
AS
125362011-07-21 Andreas Schwab <schwab@redhat.com>
12537
12538 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12539 change.
12540 (_dl_x86_64_save_sse): Use correct AVX check.
12541
21137f89
UD
125422011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12543
12544 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12545 bug in strncpy/strncat.
12546 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12547
a65c0b7a
UD
125482011-07-21 Ulrich Drepper <drepper@gmail.com>
12549
12550 * string/tester.c (test_strcat): Add tests for different alignments
12551 of source and destination.
12552 (test_strncat): Likewise.
12553
6986b98a
UD
125542011-07-20 Ulrich Drepper <drepper@gmail.com>
12555
90bb2039
UD
12556 [BZ #12852]
12557 * posix/glob.c (glob): Check passed in values before using them in
12558 expressions to avoid some overflows.
12559 (glob_in_dir): Likewise.
12560
5644ef54
UD
12561 [BZ #13007]
12562 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12563 check for AVX enablement so that we don't crash with old kernels and
12564 new hardware.
12565 * elf/tst-audit4.c: Add same checks here.
12566 * elf/tst-audit6.c: Likewise.
12567
12568 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 12569
bfc9dc9b
AS
125702011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12571
12572 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12573
702e64bb
UD
125742011-07-20 Ulrich Drepper <drepper@gmail.com>
12575
12576 * po/cs.po: Update from translation team.
12577 * po/bg.po: Likewise.
12578
295e904f
MP
125792011-07-12 Marek Polacek <mpolacek@redhat.com>
12580
12581 * misc/sys/cdefs.h: Add support for const attribute.
12582 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12583 to gnu_dev_{major,minor,makedev} functions.
12584
3ff94596
MP
125852011-07-20 Marek Polacek <mpolacek@redhat.com>
12586
12587 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12588
28b59fca
AS
125892011-07-20 Andreas Schwab <schwab@redhat.com>
12590
12591 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12592 strlen results.
12593
19df733e
AK
125942011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12595
12596 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12597 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12598 register in order to avoid conflicts with the soft frame pointer
12599 being held in r11 when necessary.
12600 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12601 (INTERNAL_VSYSCALL_NCS): Likewise.
12602
c8835729
MP
126032011-07-14 Marek Polacek <mpolacek@redhat.com>
12604
12605 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12606 * elf/dl-fini.c (_dl_fini): Adjust caller.
12607 * elf/dl-close.c (_dl_close_worker): Likewise.
12608 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12609
b902330c
MP
126102011-07-15 Marek Polacek <mpolacek@redhat.com>
12611
8991e135
MP
12612 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12613 "aux_cache->nlibs < 0".
12614
b902330c
MP
12615 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12616 in the reload-count case.
12617
99710781
LD
126182011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12619
12620 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12621 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12622 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12623 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12624 * sysdeps/x86_64/multiarch/strcat.S: New file.
12625 * sysdeps/x86_64/multiarch/strncat.S: New file.
12626 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12627 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12628 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12629 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12630 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12631 (USE_AS_STRCAT): Define.
12632 Add strcat and strncat support.
12633 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12634 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12635 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12636 * string/strncat.c: Update.
12637 (USE_AS_STRNCAT): Define.
12638 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12639 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12640 and i7.
12641 * sysdeps/x86_64/multiarch/init-arch.h
12642 (bit_Prefer_PMINUB_for_stringop): New.
12643 (index_Prefer_PMINUB_for_stringop): Likewise.
12644 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12645 bit_Prefer_PMINUB_for_stringop.
12646
7dc6bd90
UD
126472011-07-19 Ulrich Drepper <drepper@gmail.com>
12648
12649 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12650 buffer64.
12651 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12652 of casting of buffer.
12653 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12654 buffer32 and buffer64.
12655 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12656 writes instead of casting of buffer.
12657 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12658 buffer32.
12659 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12660 casting of buffer.
12661
e0e72284
AS
126622011-07-19 Andreas Schwab <schwab@redhat.com>
12663
12664 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12665
feb1eb0b
UD
126662011-07-19 Ulrich Drepper <drepper@gmail.com>
12667
12668 * nscd/nscd.c (termination_handler): Don't do anything for a database
12669 if it has not yet been initialized.
12670
298711ff
UD
126712011-07-18 Ulrich Drepper <drepper@gmail.com>
12672
12673 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12674
126752011-07-15 Marek Polacek <mpolacek@redhat.com>
12676
12677 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12678
f9d68389
UD
126792011-07-18 Ulrich Drepper <drepper@gmail.com>
12680
12681 * po/nl.po: Update from translation team.
12682 * po/sv.po: Likewise.
12683
db290cf5
RM
126842011-07-16 Roland McGrath <roland@hack.frob.com>
12685
12686 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12687 now disallowed by GCC.
5c550700 12688
fd5e21c7
RM
12689 * configure.in (use-default-link): Default to yes if a test -shared
12690 link meets our qualifications.
12691 * configure: Regenerated.
12692
5c550700
RM
12693 * config.make.in (output-format): New variable.
12694 * configure.in: Check for ld --print-output-format support.
12695 * configure: Regenerated.
12696 * Makerules ($(common-objpfx)format.lds)
12697 [$(output-format) != unknown]: Just use $(output-format),
12698 instead of the linker-script munging.
12699
9fa2c032
RM
127002011-07-14 Roland McGrath <roland@hack.frob.com>
12701
a6928d51
RM
12702 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12703 of $(common-objpfx)shlib.lds.
12704 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12705
661607b3
RM
12706 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12707 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12708
9fa2c032
RM
12709 * configure.in (-z relro check): Adjust test code to add a large
12710 writable data section after it.
12711 * configure: Regenerated.
12712
defe9061
RM
127132011-07-11 Roland McGrath <roland@hack.frob.com>
12714
12715 * configure.in (-z relro check): Fix test code to make the variable
12716 truly const.
12717 * configure: Regenerated.
12718
319b9ad4
UD
127192011-07-11 Ulrich Drepper <drepper@gmail.com>
12720
12721 * nscd/nscd.h (struct traced_file): Define.
12722 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12723 elements. Add traced_files.
12724 (inotify_fd): Declare.
12725 (register_traced_file): Declare.
12726 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12727 (inotify_fd): Export.
12728 (resolv_conf_descr): Remove.
12729 (nscd_init): Move inotify descriptor creation to main.
12730 Don't register files for notification here.
12731 (register_traced_file): New function.
12732 (invalidate_cache): Don't use reset_res to determine whether to call
12733 res_init, go through the list of registered files.
12734 (main_loop_poll): The inotify descriptors are now stored in the
12735 structures for the traced files.
12736 (main_loop_epoll): Likewise
12737 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12738 to __nss_disable_nscd.
12739 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12740 for a database anymore. Check the records for all the registered
12741 files instead.
12742 * nss/Makefile (libnss_files-routines): Add files-init.
12743 (libnss_db-routines): Add db-init.
12744 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12745 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12746 * nss/nss_db/db-init.c: New file.
12747 * nss/nss_files/files-init.c: New file.
12748 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12749 __nss_lookup_function.
12750 (__nss_lookup_function): Call nss_load_library.
12751 (nss_load_all_libraries): New function.
12752 (__nss_disable_nscd): Take parameter with callback function for files
12753 to register. Set is_nscd. Load all the DSOs for the NSS modules
12754 used for the cached services.
12755 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12756 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12757 options for features to all the files in nscd.
12758
12759 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12760
23bee3e8
RM
127612011-07-10 Roland McGrath <roland@hack.frob.com>
12762
12763 * csu/elf-init.c (__libc_csu_init): Comment typo.
12764
46a5b7f0
UD
127652011-07-09 Ulrich Drepper <drepper@gmail.com>
12766
12767 * po/pl.po: Update from translation team.
12768 * po/ja.po: Likewise.
12769 * po/ru.po: Likewise.
12770 * po/ko.po: Likewise.
12771 * po/fr.po: Likewise.
12772
d30cf5bb
RM
127732011-07-09 Roland McGrath <roland@hack.frob.com>
12774
113ddea4
RM
12775 * configure.in (.ctors/.dtors header and trailer check):
12776 Use an empirical test on a built program.
12777 * configure: Regenerated.
12778
574920b4
RM
12779 * configure.in (-z relro check): Use an empirical test on a built DSO.
12780 Detect, but do not require, on ia64.
12781 * configure: Regenerated.
12782
d30cf5bb
RM
12783 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12784 Update tests that use readelf to use $READELF instead.
12785 * configure: Regenerated.
12786
8538fdb3
UD
127872011-07-08 Ulrich Drepper <drepper@gmail.com>
12788
12789 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12790 if the result is not used.
12791
04d08991
AJ
127922011-07-05 Andreas Jaeger <aj@suse.de>
12793
12794 [BZ#9696]
12795 * stdlib/tst-strtod.c: Add testcase.
12796
de283087
AD
127972011-07-07 Ulrich Drepper <drepper@gmail.com>
12798
4e5f31c8 12799 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 12800 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
12801 The latter has a higher limit. Take additional parameter to pass to
12802 the new function.
12803 (__pathconf): Pass file to __statfs_link_max.
12804 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12805 __statfs_link_max.
12806 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12807 __statfs_link_max.
12808
de283087
AD
12809 [BZ #12868]
12810 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12811 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12812 Handle Lustre.
12813 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12814 (__statfs_filesize_max): Likewise.
12815 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12816
c75fa153
AJ
128172011-07-05 Andreas Jaeger <aj@suse.de>
12818
12819 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12820
1a544854
UD
128212011-07-06 Marek Polacek <mpolacek@redhat.com>
12822
12823 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12824 `status' variable.
12825 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12826 Likewise.
12827
6f0eec67
UD
128282011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12829
12830 * Makefile (strop-tests): Add strncat.
12831 * string/test-strncat.c: New file.
12832
aae30307
UD
128332011-06-30 Marek Polacek <mpolacek@redhat.com>
12834
12835 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12836
c0cfb5eb
UD
128372011-06-21 Andreas Jaeger <aj@suse.de>
12838
12839 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12840 Copy rule from iconvdata/Makefile.
12841
01636b21
UD
128422011-07-06 Ulrich Drepper <drepper@gmail.com>
12843
12844 [BZ #12922]
12845 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12846 but no long options are defined, just return 'W'.
12847
9895c8bc
UD
128482011-06-22 Marek Polacek <mpolacek@redhat.com>
12849
12850 [BZ #9696]
12851 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12852
5d4cf042
UD
128532011-07-06 Ulrich Drepper <drepper@gmail.com>
12854
12855 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12856 netgroups to read.
960e5535 12857 (innetgr): Likewise.
5d4cf042 12858
751eb97e
RM
128592011-07-05 Roland McGrath <roland@hack.frob.com>
12860
12861 * config.make.in (install_root): Default to $(DESTDIR).
12862
f15f1e45
UD
128632011-07-05 Ulrich Drepper <drepper@gmail.com>
12864
12865 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12866
4e34ac6a
RM
128672011-07-02 Roland McGrath <roland@hack.frob.com>
12868
5e9b6af4
RM
12869 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12870
84f9ea0f
RM
12871 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12872 containing directory rather than embedding absolute directory names.
12873
ea5ee9f7
RM
12874 * scripts/check-local-headers.sh: Rewritten using awk.
12875 Match by word, not by line. Print error messages for matches.
12876 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12877
1b74661a
RM
12878 * Makerules [shlib-lds-flags empty]:
12879 ($(common-objpfx)libc_pic.opts): New target.
12880 ($(common-objpfx)libc_pic.os.clean): New target.
12881 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12882
12883 * config.make.in (OBJCOPY): New variable.
12884 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12885 * configure: Regenerated.
12886
f781ef40
RM
12887 * config.make.in (use-default-link): New variable.
12888 * configure.in (use_default_link): Grok --with-default-link to set it.
12889 * configure: Regenerated.
12890 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12891 (shlib-lds, shlib-lds-flags): Define to empty.
12892
2d4fa81e
RM
12893 * Makerules (shlib-lds): New variable.
12894 (shlib-lds-flags): New variable.
12895 (build-shlib, build-moduile, build-module-asneeded): Use it.
12896 ($(common-objpfx)libc.so): Use $(shlib-lds).
12897 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12898 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12899
31fffa6b
RM
12900 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12901 DT_FLAGS/DT_FLAGS_1 with zero flags.
12902
4e34ac6a
RM
12903 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12904 linker script munging.
12905
fcfc776b
UD
129062011-07-02 Ulrich Drepper <drepper@gmail.com>
12907
12908 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12909 as 128-bit value.
12910 * crypt/sha512.c (sha512_process_block): Perform total addition using
12911 128-bit if possible.
12912 (__sha512_finish_ctx): Likewise.
12913 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12914 as 64-bit value.
12915 * crypt/sha256.c (SWAP64): Define.
12916 (sha256_process_block): Perform total addition using 64-bit if
12917 possible.
12918 (__sha256_finish_ctx): Likewise.
12919
99231d9a
UD
129202011-07-01 Ulrich Drepper <drepper@gmail.com>
12921
12922 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
12923 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12924 * nscd/hstcache.c (cache_addhst): Likewise.
12925 * nscd/grpcache.c (cache_addgr): Likewise.
12926 * nscd/aicache.c (addhstaiX): Likewise
12927 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12928
445b4a53
TK
129292011-07-01 Thorsten Kukuk <kukuk@suse.de>
12930
12931 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12932 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12933 * nscd/hstcache.c (cache_addhst): Likewise.
12934 * nscd/grpcache.c (cache_addgr): Likewise.
12935 * nscd/aicache.c (addhstaiX): Likewise
12936
6d4d8e8e
AS
129372011-07-01 Andreas Schwab <schwab@redhat.com>
12938
12939 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12940 domain only when needed.
12941
89f654c5
AS
129422011-06-30 Andreas Schwab <schwab@redhat.com>
12943
12944 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12945 is always restored.
12946
cf3b23ff
UD
129472011-06-29 Ulrich Drepper <drepper@gmail.com>
12948
12949 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12950 are re-adding the entry.
12951 * nscd/servicescache.c (cache_addserv): Likewise.
12952
751626f9
AJ
129532011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12954
12955 * sysdeps/generic/dl-irel.h: fix protection against multiple
12956 inclusions.
12957 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12958
9113ea1f
UD
129592011-06-28 Ulrich Drepper <drepper@gmail.com>
12960
5c0b8d90
UD
12961 [BZ #12935]
12962 * malloc/memusage.sh: Fix quoting in message.
12963 * debug/xtrace.sh: Likewise.
12964
9113ea1f
UD
12965 * configure.in: Remove support for --experimental-malloc option, make
12966 it the default.
12967 * config.make.in: Likewise.
12968 * malloc/Makefile: Likewise.
12969
a4172181
AS
129702011-06-27 Andreas Schwab <schwab@redhat.com>
12971
12972 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12973 two-byte characters.
12974
78a7eee7
RM
129752011-06-27 Roland McGrath <roland@hack.frob.com>
12976
62bede13
RM
12977 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
12978 AC_CACHE_CHECK invocation.
12979 * configure: Regenerated.
12980
78a7eee7
RM
12981 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
12982
5ce33a62
UD
129832011-06-27 Ulrich Drepper <drepper@gmail.com>
12984
034807a9
UD
12985 [BZ #12350]
12986 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
12987 bit from old_res_options.
12988
4902da17
UD
12989 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
12990
5ce33a62
UD
12991 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
12992 value type for setfct.
12993
c2344f56
L
129942011-06-23 H.J. Lu <hongjiu.lu@intel.com>
12995
12996 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12997 __gettimeofday instead of gettimeofday.
12998
68468076
UD
129992011-06-26 Ulrich Drepper <drepper@gmail.com>
13000
13001 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13002
acb0d739
L
130032011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13004
13005 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13006
13007 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13008 info.
13009
8912479f
L
130102011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13011
13012 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13013 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13014 strcpy-sse2-unaligned strncpy-sse2-unaligned
13015 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13016 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13017 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13018 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13019 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13020 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13021 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13022 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13023 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13024 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13025 (STRCPY): Support SSE2 and SSSE3 versions.
13026
d5495a11
UD
130272011-06-24 Ulrich Drepper <drepper@gmail.com>
13028
13029 [BZ #12874]
13030 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13031 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13032 kernels which artificially limit size of requests.
13033
0b1cbaae
L
130342011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13035
13036 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13037 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13038 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13039 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13040 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13041 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13042 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13043 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13044 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13045 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13046 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13047 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13048 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13049 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13050 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13051 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13052 Enable unaligned load optimization for Intel Core i3, i5 and i7
13053 processors.
13054 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13055 Define.
13056 (index_Fast_Unaligned_Load): Define.
13057 (HAS_FAST_UNALIGNED_LOAD): Define.
13058
07f494a0
MP
130592011-06-23 Marek Polacek <mpolacek@redhat.com>
13060
13061 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13062
fa3fc0fe
UD
130632011-06-22 Ulrich Drepper <drepper@gmail.com>
13064
13065 [BZ #12907]
13066 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13067 until it is clear that the information is realy needed.
13068 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13069
e12df166
AS
130702011-06-22 Andreas Schwab <schwab@redhat.com>
13071
13072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13073
852eb34d
UD
130742011-06-22 Ulrich Drepper <drepper@gmail.com>
13075
84e2a551
UD
13076 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13077 /sys/devices/system/cpu/online if it is usable.
13078
852eb34d
UD
13079 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13080 reading the information from the /proc filesystem to once a second.
13081
6e502e19
UD
130822011-06-21 Andreas Jaeger <aj@suse.de>
13083
13084 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13085 NULL after inclusion of kernel headers.
13086
75d39ff2
UD
130872011-06-21 Ulrich Drepper <drepper@gmail.com>
13088
51f9aa6a
UD
13089 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13090 calls to internal_setent.
13091
c0244a9d
UD
13092 [BZ #12885]
13093 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13094 addresses using gethostbyname4_r ignore IPv4 addresses.
13095
c5e3c2ae
UD
13096 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13097 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13098
75d39ff2
UD
13099 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13100
42675c6f
DM
131012011-06-20 David S. Miller <davem@davemloft.net>
13102
13103 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13104 inclusions.
13105 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13106
13107 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13108 (elf_irel): Use it.
13109 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13110 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13111 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13112 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13113 * sysdeps/x86_64/dl-irel.h: Likewise.
13114
13115 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13116 * elf/dl-sym.c: Likewise.
13117
57912a71
UD
131182011-06-15 Ulrich Drepper <drepper@gmail.com>
13119
13120 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13121 need to dereference resplen2.
13122
ee22793d
AS
131232011-06-14 Andreas Schwab <schwab@redhat.com>
13124
13125 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13126
a9e836b0
UD
131272011-06-15 Ulrich Drepper <drepper@gmail.com>
13128
77fb9117
UD
13129 * Makeconfig: Define vardbdir and inst_vardbdir.
13130 * nss/Makefile: Add rules to install db-Makefile.
13131
40c1b22c
UD
13132 * nss/nss_db/db-XXX.c: Cleanup.
13133
9f2da732
UD
13134 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13135 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13136 GLIBC_PRIVATE.
13137 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13138 * nss/makedb.c: Implement -g option to specify that value strings
13139 are generated and should not be added to table iterated over for
13140 get*ent calls.
13141 * nss/nss_db/db-initgroups.c: New file.
13142
82e9a1f7
UD
13143 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13144 interface.
13145
c41af17e
UD
13146 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13147 (internal_getgrouplist): Adjust to name change.
13148 Update use_initgroups_entry if this is not the first call.
13149 * nss/databases.def: Add initgroups entry.
13150
a9e836b0
UD
13151 * nss/makedb.c (compute_tables): Check result of multiple hash table
13152 sizes to minimize maximum chain length.
13153
2666d441
UD
131542011-06-14 Ulrich Drepper <drepper@gmail.com>
13155
13156 * Versions.def: Add entry for libnss_db.
13157 * shlib-versions: Likewise.
13158 * nss/Makefile: Add rules to build libnss_db.
13159 * nss/Versions: Add libnss_db information. Organize libnss_files
13160 entries better.
13161 * nss/db-Makefile: Add gshadow support. Change rules for the new
13162 makedb progra. Some minor improvements to generate smaller files.
13163 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13164 here from...
13165 * nss/makedb.c: ...here.
13166 Improve database format to be smaller and require less memory at
13167 runtime.
13168 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13169 db anymore.
13170 * nss/nss_db/db-netgrp.c: Likewise.
13171 * nss/nss_db/db-open.c: Likewise.
13172 * nss/nss_files/flies-XXX.x: Adjust comments.
13173 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13174 * nss/nss_files/files-grp.c: Likewise.
13175 * nss/nss_files/files-hosts.c: Likewise.
13176 * nss/nss_files/files-network.c: Likewise.
13177 * nss/nss_files/files-proto.c: Likewise.
13178 * nss/nss_files/files-pwd.c: Likewise.
13179 * nss/nss_files/files-rpc.c: Likewise.
13180 * nss/nss_files/files-service.c: Likewise.
13181 * nss/nss_files/files-sgrp.c: Likewise.
13182 * nss/nss_files/files-spwd.c: Likewise.
13183 * nss/nss_db/db-alias.c: Removed.
13184 * nss/nss_db/dummy-db.h: Removed.
13185
9ee76b5a
UD
131862011-06-02 Ulrich Drepper <drepper@gmail.com>
13187
13188 * nss/makedb.c: Rewritten to not use database library.
13189 * nss/Makefile: Update to build new makedb program.
13190
c71ca1f8
AJ
131912011-06-14 Andreas Jaeger <aj@suse.de>
13192
13193 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13194 memset declaration.
13195
3154bfb8
UD
131962011-06-10 Andreas Schwab <schwab@redhat.com>
13197
13198 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13199 tmpbuf.
13200
b350afab
RM
132012011-06-10 Roland McGrath <roland@hack.frob.com>
13202
decd4e50
RM
13203 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13204 * elf/Makefile ($(objpfx)ld.so): Likewise.
13205
5615eaf2
RM
13206 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13207 Don't list ld.so twice in dependencies.
13208
13209 * posix/bug-regex31.c: Include <stdlib.h>.
13210
13211 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13212
13213 * nis/nss_compat/compat-spwd.c
13214 (getspent_next_nss_netgr): Remove unused variable.
13215 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13216
13217 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13218 nonmembers" output to use the right array.
13219
13220 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13221
13222 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13223
13224 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13225 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13226 * catgets/gencat.c (read_input_file): Likewise.
13227 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13228
13229 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13230 variable definition inside #if's controlling its use.
13231
13232 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13233
13234 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13235
13236 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13237
13238 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13239 unreachable code.
13240
13241 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13242
b68e08db
RM
13243 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13244 * configure: Regenerated.
13245
b350afab
RM
13246 * Makerules: Revert last change.
13247 * elf/Makefile: Likewise.
13248
28368601
RM
132492011-06-09 Roland McGrath <roland@hack.frob.com>
13250
13251 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13252 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13253 (reloc-link): Likewise.
13254
11988f8f
UD
132552011-06-09 Ulrich Drepper <drepper@gmail.com>
13256
13257 * elf/Makefile: Add rules to build pldd.
13258 * elf/pldd.c: New file.
13259 * elf/pldd-xx.c: New file.
13260
e80fab37
UD
132612011-06-07 Ulrich Drepper <drepper@gmail.com>
13262
13263 * version.h: Update for 2.15 development version.
13264
9b849836
DM
132652011-06-07 David S. Miller <davem@davemloft.net>
13266
13267 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13268 ifuncs.
13269 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13270 elf_machine_lazy_rel): Likewise.
13271 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13272 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13273 elf_machine_lazy_rel): Likewise.
13274 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13275 dl_hwcap via passed in argument.
13276 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13277 Likewise.
13278
5a31b283
AK
132792011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13280
13281 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13282
069e52f8
RM
132832011-06-06 Roland McGrath <roland@hack.frob.com>
13284
13285 [BZ #12849]
13286 * manual/fdl-1.1.texi: New file, verbatim from:
13287 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13288 * manual/lgpl-2.1.texi: New file, verbatim from:
13289 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13290 * manual/Makefile (licenses): New variable, list those new file names.
13291 (texis): Use it.
13292 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13293
13294 * manual/fdl.texi: File removed.
13295 * manual/lesser.texi: File removed.
13296 * manual/libc.texinfo (Copying, Documentation License):
13297 Use new @include file names, put @appendix directive before @include.
13298
f16846a5
JJ
132992011-06-04 Jakub Jelinek <jakub@redhat.com>
13300
13301 [BZ #12841]
13302 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13303 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13304 (mq_open): Add __NTH.
13305
3d29045b
L
133062011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13307
13308 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13309 Assume Intel Core i3/i5/i7 processor if AVX is available.
13310
8c297311
UD
133112011-05-31 Ulrich Drepper <drepper@gmail.com>
13312
13313 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13314 typo.
13315
c8fc0c91
UD
133162011-05-31 Andreas Schwab <schwab@redhat.com>
13317
13318 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13319 memory. Use alloca_account. Fix memory leak when retrying.
13320
5b27a807
UD
133212011-05-31 Ulrich Drepper <drepper@gmail.com>
13322
356f8bc6
UD
13323 * version.h (RELEASE): Bump for 2.14 release.
13324 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13325
5b27a807
UD
13326 * config.make.in (RANLIB): Remove entry.
13327
01f16ab0
UD
133282011-05-30 Ulrich Drepper <drepper@gmail.com>
13329
41fce8bd
UD
13330 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13331 (libc.pot): Work around missing support for .ksh extension in xgettext.
13332
4769ae77
UD
13333 [BZ #12684]
13334 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13335 if both request failed.
13336 (send_dg): In case of server errors clear resplen or *resplen2.
13337
6b1e7d19
UD
13338 [BZ #12454]
13339 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13340 when there are multiple maps.
13341 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13342 (_dl_fini): Remove test here.
13343
01f16ab0
UD
13344 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13345
b1ebd700
UD
133462011-05-29 Ulrich Drepper <drepper@gmail.com>
13347
7ae22829
UD
13348 [BZ #12350]
13349 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13350 bit from old_res_options.
13351 (gaih_inet): Likewise.
13352
553149f6 13353 [BZ #11099]
18a84741 13354 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13355 as signed.
13356
652ffab1
UD
13357 * resolv/res_init.c (res_setoptions): Make the code more compact.
13358
16985fd0
UD
13359 [BZ #11558]
13360 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13361 set RES_USEVC.
13362
0464f746
UD
13363 [BZ #11634]
13364 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13365
7d17596c
UD
13366 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13367
cf6bbbd7
UD
13368 [BZ #11781]
13369 * malloc/malloc.h: Declare malloc hook variables as volatile.
13370
13f1ab36
UD
13371 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13372 in last patch.
13373
b1ebd700
UD
13374 [BZ #11799]
13375 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13376 raise in the comment.
80e2212d
UD
13377 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13378 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13379 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13380
ce67228d
UD
133812011-05-28 Ulrich Drepper <drepper@gmail.com>
13382
8887a920
UD
13383 [BZ #12811]
13384 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13385 grow the buffers more if it already has to be sufficient.
13386 (build_wcs_upper_buffer): Likewise.
13387 * posix/regexec.c (check_matching): Likewise.
13388 (clean_state_log_if_needed): Likewise.
13389 (extend_buffers): Don't enlarge buffers beyond size of the input
13390 buffer.
13391 Patches mostly by Emil Wojak <emil@wojak.eu>.
13392 * posix/bug-regex32.c: New file.
13393 * posix/Makefile (tests): Add bug-regex32.
13394
4f031072
UD
13395 * locale/findlocale.c (_nl_find_locale): Return right away if
13396 _nl_explode_name failed.
13397 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13398
d0478f0c
UD
13399 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13400
de81b246
UD
13401 * debug/xtrace.sh: Unify messages.
13402 * malloc/memusage.sh: Likewise.
13403
c738465a
UD
13404 [BZ #12813]
13405 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13406 time symbol from vDSO. Substitute with vsyscall if not available.
13407 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13408 __vdso_time.
13409
f1f929d7
UD
13410 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13411 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13412 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13413 Add sendmmsg and internal_sendmmsg.
13414 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13415 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13416 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13417
ce67228d
UD
13418 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13419 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13420 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13421
e57420c6
UD
134222011-05-27 Ulrich Drepper <drepper@gmail.com>
13423
a8509ca5
UD
13424 [BZ #12813]
13425 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13426 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13427 available.
13428 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13429 __vdso_getcpu.
13430
e57420c6
UD
13431 [BZ #12814]
13432 * iconvdata/Makefile (tests): Add bug-iconv9.
13433 * iconvdata/bug-iconv9.c: New file.
13434
4d07db15
AS
134352011-05-27 Andreas Schwab <schwab@redhat.com>
13436
13437 [BZ #12814]
13438 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13439
ea486f69
JJ
134402011-05-25 Jakub Jelinek <jakub@redhat.com>
13441
13442 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13443 (struct user_regs_struct): Change intcs field back to cs.
13444
6f038433
UD
134452011-05-25 Ulrich Drepper <drepper@gmail.com>
13446
13447 * po/ja.po: Update from translation team.
13448
67f86a25
UD
134492011-05-23 Ulrich Drepper <drepper@gmail.com>
13450
13451 [BZ #12795]
13452 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13453 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13454
def7fbd6
AS
134552011-05-20 Andreas Schwab <schwab@redhat.com>
13456
13457 * stdlib/longlong.h: Update from GCC.
13458
f50ef8f1
AS
134592011-05-23 Andreas Schwab <schwab@redhat.com>
13460
13461 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13462 parameter name.
13463 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13464 Add parameter name.
13465 (__sysconf): Pass it down.
13466
de7ce8f1
UD
134672011-05-22 Ulrich Drepper <drepper@gmail.com>
13468
f2962a71
UD
13469 [BZ #12671]
13470 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13471 some situations.
13472 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13473 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13474 add in in __libc_use_alloca calls. Adjust callers.
13475 (glob): Use malloc in some situations.
13476
de7ce8f1
UD
13477 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13478 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13479 pltexit.
13480
aec84f53
UD
134812011-05-21 Ulrich Drepper <drepper@gmail.com>
13482
05bb4a68
UD
13483 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13484 and CLOCK_BOOTTIME_ALARM.
13485
7ea72f99
UD
13486 [BZ #12782]
13487 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13488 is returned.
13489
7e4afad5
UD
13490 * string/_strerror.c (__strerror_r): Print negative errors as signed
13491 numbers.
13492
8e211fec
UD
13493 [BZ #12777]
13494 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13495 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13496 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13497
f7d82dc9
UD
13498 * configure.in: Fix typo in redirection and correct removal of test
13499 files in two cases.
13500
cc9e536d
UD
13501 [BZ #12788]
13502 * locale/setlocale.c (new_composite_name): Fix test to check for
13503 identical name of all categories.
13504
aec84f53
UD
13505 [BZ #12792]
13506 * libio/filedoalloc.c (local_isatty): New function.
13507 (_IO_file_doallocate): Use local_isatty.
13508 * stdio-common/perror.c (perror): In case a new stream is used
13509 forward the stream error.
13510 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13511 error flag.
13512
78e64fdc
RT
135132011-05-20 Ulrich Drepper <drepper@gmail.com>
13514
34a9094f
UD
13515 [BZ #11869]
13516 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13517 alloca.
13518 * include/alloca.h (extend_alloca_account): Define.
13519
78e64fdc
RT
13520 [BZ #11857]
13521 * posix/regex.h: Fix comments with documentation of user-accessible
13522 fields after compilation and describe correct free'ing of pattern
13523 after re_compile_pattern.
13524 Patch by Reuben Thomas <rrt@sc3d.org>.
13525
457bddfc
RA
135262011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13527
13528 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13529 and -mno-altivec to prevent the compiler from using Altivec and/or
13530 VSX instructions when the corresponding registers are not available.
13531
a4527b51
AS
135322011-05-19 Andreas Schwab <schwab@redhat.com>
13533
13534 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13535
ed690b2f
UD
135362011-05-19 Ulrich Drepper <drepper@gmail.com>
13537
13538 * libio/freopen.c (freopen): Use __dup2, not dup2.
13539 * libio/freopen64.c (freopen64): Likewise.
13540
8db73634
L
135412011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13542
13543 [BZ #12775]
13544 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13545 * math/Makefile (tests): Add test-powl.
13546 (CFLAGS-test-powl.c): Define.
13547 * math/test-powl.c: New file.
13548
0a197a9d
L
135492011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13550
13551 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13552
ee30c380
UD
135532011-05-17 Ulrich Drepper <drepper@gmail.com>
13554
13555 [BZ #11837]
13556 * iconvdata/gb18030.c: Update to GB18020-2005.
13557
6ce75379
UD
135582011-05-16 Ulrich Drepper <drepper@gmail.com>
13559
a4b89fd8
AR
13560 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13561 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13562 Patch by Aharon Robbins <arnold@skeeve.com>.
13563
ea389b12
UD
13564 [BZ #11892]
13565 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13566 on the stack.
13567
68a3f91f
UD
13568 [BZ #11895]
13569 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13570 through underflows.
13571
15cc7dd1
UD
13572 [BZ #12766]
13573 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13574 point to strings before performing equality test for error_one_per_line
13575 mode.
13576
f3799213
UD
13577 [BZ #11697]
13578 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13579
d79a9c94
UD
13580 [BZ #11820]
13581 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13582 (struct user_fpregs_struct): Avoid __uint*_t types.
13583
56e5eb46
UD
13584 [BZ #6420]
13585 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13586 symbol info. Use it instead of calling _dl_addr locally.
13587 (lock_and_info): New function.
13588 (tr_freehook): Call lock_and_info and pass symbol info as additional
13589 parameter to tr_where.
13590 (tr_mallochook): Likewise.
13591 (tr_reallochook): Likewise.
13592 (tr_memalignhook): Likewise.
13593
6ce75379
UD
13594 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13595 used and couldn't be at all thread-safe.
13596
f8a3b5bf
UD
135972011-05-15 Ulrich Drepper <drepper@gmail.com>
13598
94b7cc37
UD
13599 * libio/freopen.c (freopen): Don't close old file descriptor
13600 before the new one is opened. Instead dup the new file descriptor
13601 to the old one after the new stream is created.
13602 * libio/freopen64.c (freopen64): Likewise.
13603 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13604 * libio/fileops.c (_IO_new_file_close_it): Handle new
13605 _IO_FLAGS2_NOCLOSE flag.
13606 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13607 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13608 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13609 _IO_FLAGS2_NOCLOSE flag.
13610 * include/unistd.h: Add hidden_proto for dup3.
13611 Define __have_dup3.
13612 * io/dup3.c: Define hidden symbol.
13613 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13614
bd25564e
UD
13615 [BZ #7101]
13616 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13617 when an incomplete long option is used.
13618 * posix/tst-getopt_long1.c: New file.
13619 * posix/Makefile (tests): Add tst-getopt_long1.
13620
c84cfef4
UD
13621 [BZ #10138]
13622 * scripts/config.guess: Update from autoconf-2.68.
13623 * scripts/config.sub: Likewise.
13624
3b85df27
UD
13625 [BZ #10157]
13626 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13627 tests into ...
13628 (has_cpuclock): ...this. New function.
13629 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13630 macro here based on has_cpuclock code.
13631
15a856b1
UD
13632 [BZ #10149]
13633 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13634 First byte (not low byte) is now always NUL.
13635 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13636
05f399e6
UD
13637 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13638 Use non-cancelable interfaces.
13639
10a52685 13640 [BZ #9809]
94ecc67d
UD
13641 * locale/iso-639.def: Add entry for Sorani.
13642
f8a3b5bf
UD
13643 [BZ #11901]
13644 * include/stdlib.h: Move include protection to the right place.
13645 Define abort_msg_s. Declare __abort_msg with it.
13646 * stdlib/abort.c (__abort_msg): Adjust type.
13647 * assert/assert.c (__assert_fail_base): New function. Majority
13648 of code from __assert_fail. Allocate memory for __abort_msg with
13649 mmap.
13650 (__assert_fail): Now call __assert_fail_base.
13651 * assert/assert-perr.c: Remove bulk of implementation. Use
13652 __assert_fail_base.
13653 * include/assert.hL Declare __assert_fail_base.
13654 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13655 mmap.
13656 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13657
1af4e298
UD
136582011-05-14 Ulrich Drepper <drepper@gmail.com>
13659
f8a3b5bf 13660 [BZ #11952]
d26dfc60
MG
13661 [BZ #12453]
13662 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13663 until all modules are registered in the DTV.
13664 * elf/Makefile: Add rules to build and run tst-tls19.
13665 * elf/tst-tls19.c: New file.
13666 * elf/tst-tls19mod1.c: New file.
13667 * elf/tst-tls19mod2.c: New file.
13668 * elf/tst-tls19mod3.c: New file.
13669 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13670
2fc54d6f
UD
13671 [BZ #12083]
13672 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13673 correctly.
13674
98d76b46
UD
13675 [BZ #12601]
13676 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13677 two-byte sequence errors.
13678 * iconvdata/Makefile (tests): Add bug-iconv8.
13679 * iconvdata/bug-iconv8.c: New file.
13680
da3c19ef
UD
13681 [BZ #12626]
13682 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13683 buf2 definition.
13684
ca408c15
UD
13685 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13686
d6f67f7d
UD
13687 [BZ #12432]
13688 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13689 (dummy_getcfa): New function.
13690 (init): Get _Unwind_GetCFA address, use dummy if not found.
13691 (backtrace_helper): In recursion check, also check whether CFA changes.
13692 (__backtrace): Completely initialize arg.
13693
1af4e298 13694 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
13695 storing incomplete byte sequence in state object. Avoid testing for
13696 guaranteed too small input if we know there is enough data available.
1af4e298 13697
da62f81b
AS
136982011-05-11 Andreas Schwab <schwab@redhat.com>
13699
13700 * Makeconfig (+link-pie): Indent.
13701 * Rules (binaries-pie): Define if $(have-fpie) and
13702 $(build-shared).
13703 (binaries-shared): Also filter out $(binaries-pie).
13704 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13705 * nscd/Makefile (others-pie): Add nscd.
13706 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13707 ($(objpfx)nscd): Remove command override.
13708 * login/Makefile (others-pie): Add pt_chown.
13709 ($(objpfx)pt_chown): Remove command override.
13710 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13711 remove command overrides.
13712
fcabc0f8
UD
137132011-05-13 Ulrich Drepper <drepper@gmail.com>
13714
20030ae6
UD
13715 * libio/tst_putwc.c: Fix error messages.
13716
fcabc0f8
UD
13717 [BZ #12724]
13718 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13719 currently writing and seek to current position when not.
13720 * libio/Makefile (tests): Add bug-fclose1.
13721 * libio/bug-fclose1.c: New file.
13722
320a5dc0
PB
137232011-05-12 Ulrich Drepper <drepper@gmail.com>
13724
13725 [BZ #12511]
13726 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13727 don't set DF_1_NODELETE here.
13728 (do_lookup_x): When entering new entry test for copy relocation
13729 and if necessary set DF_1_NODELETE flag.
13730 * elf/tst-unique4.cc: New file.
13731 * elf/tst-unique4.h: New file.
13732 * elf/tst-unique4lib.cc: New file.
13733 * elf/Makefile: Add rules to build and run tst-unique4.
13734 Patch by Piotr Bury <pbury@goahead.com>.
13735
22836f52
UD
137362011-05-11 Ulrich Drepper <drepper@gmail.com>
13737
f574184a
UD
13738 [BZ #12052]
13739 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13740
e1fb097f
UD
13741 [BZ #12625]
13742 * misc/mntent_r.c (addmntent): Flush the stream after the output
13743
22836f52
UD
13744 [BZ #12393]
13745 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13746 (is_trusted_path_normalize): Skip initial colon. Append slash
13747 to empty buffer. Duplicate is_trusted_path code but allow
13748 constructed patch to be prefix.
13749 (is_dst): Allow $ORIGIN followed by /.
13750 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13751 Correct testing of result of is_trusted_path_normalize
13752 (decompose_rpath): Fix warning.
13753
7b3b0b2a
UD
137542011-05-10 Ulrich Drepper <drepper@gmail.com>
13755
13756 [BZ #11257]
13757 * grp/initgroups.c (internal_getgrouplist): When we found the service
13758 list through the initgroups entry in nsswitch.conf do not always
13759 continue on a successful lookup. Don't always use the
eac80ce2 13760 __nss_group_database value if it is set.
7b3b0b2a
UD
13761 * nss/nsswitch.conf (initgroups): Change action for successful db
13762 lookup to continue for compatibility.
13763
2a81eaa5
UD
137642011-05-09 Ulrich Drepper <drepper@gmail.com>
13765
be97a69e
UD
13766 [BZ #11532]
13767 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13768 and CP774 modules.
13769 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13770 and CP774 modules.
13771 * iconvdata/tst-tables.sh: Likewise.
13772 * iconvdata/cp770.c: New file.
13773 * iconvdata/cp771.c: New file.
13774 * iconvdata/cp772.c: New file.
13775 * iconvdata/cp773.c: New file.
13776 * iconvdata/cp774.c: New file.
13777 * iconvdata/testdata/CP770: New file.
13778 * iconvdata/testdata/CP770..UTF8: New file.
13779 * iconvdata/testdata/CP771: New file.
13780 * iconvdata/testdata/CP771..UTF8: New file.
13781 * iconvdata/testdata/CP772: New file.
13782 * iconvdata/testdata/CP772..UTF8: New file.
13783 * iconvdata/testdata/CP773: New file.
13784 * iconvdata/testdata/CP773..UTF8: New file.
13785 * iconvdata/testdata/CP774: New file.
13786 * iconvdata/testdata/CP774..UTF8: New file.
13787
13788 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13789 END CHARMAP line.
13790 * iconvdata/gen-8bit-gap.sh: Likewise.
13791 * iconvdata/gen-8bit.sh: Likewise.
13792
c1e9e399
UD
13793 * locale/iso-639.def: Add ary entry.
13794
24c55fb3 13795 [BZ #11258]
96b4b1b0
UD
13796 * locale/C-translit.h.in: Add U20A1 transliteration.
13797
bdc2f971
KB
13798 [BZ #12178]
13799 * locale/iso-639.def: Add wae entry.
13800 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13801
2952b117
UD
13802 [BZ #12545]
13803 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13804 for n.
13805
2a81eaa5
UD
13806 [BZ #12711]
13807 * locale/C-translit.h.in: Add entry for U20B9.
13808 Patch by pravin.d.s@gmail.com.
13809
28377d1b
UD
138102011-05-08 Ulrich Drepper <drepper@gmail.com>
13811
7fb90fb8
UD
13812 [BZ #12713]
13813 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13814 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
13815 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13816 in rtld. Use *stat64.
7fb90fb8 13817 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 13818 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 13819 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
13820 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13821 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13822 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13823 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13824 __fstatat64 macros.
7fb90fb8
UD
13825 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13826 * dirent/rewinddir.c: Add libc_hidden_def.
13827 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 13828 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 13829
28377d1b
UD
13830 * include/dirent.h (__alloc_dir): Add flags parameter.
13831 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13832 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13833 __alloc_dir.
13834 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13835 from fdopendir if O_CLOEXEC is already set.
13836
66bdbaa4
AM
138372011-03-15 Alan Modra <amodra@gmail.com>
13838
13839 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13840 l_tls_firstbyte_offset non-zero. Save padding offset in
13841 l_tls_firstbyte_offset for later use.
13842 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13843 freeing static tls block.
13844
95721191
JN
138452011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13846
13847 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13848 where #ifdef was intended. The intent is to prevent ARG_MAX from
13849 being defined by the kernel headers.
13850
f87dfb1f
UD
138512011-05-07 Ulrich Drepper <drepper@gmail.com>
13852
13853 [BZ #12734]
13854 * resolv/resolv.h: Define RES_NOTLDQUERY.
13855 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13856 no-tld-query and set RES_NOTLDQUERY.
13857 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13858 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13859 modern BIND to search name as TLD unless forbidden.
13860
47c3cd7a
UD
138612011-05-07 Petr Baudis <pasky@suse.cz>
13862 Ulrich Drepper <drepper@gmail.com>
13863
13864 [BZ #12393]
13865 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13866 (is_trusted_path): ...to here.
c1e9ea35 13867 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 13868 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 13869 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 13870
8a35c912
PP
138712011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13872
13873 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13874 __BEGIN/__END_DECLS.
13875
acd41f47
UD
138762011-05-06 Ulrich Drepper <drepper@gmail.com>
13877
13878 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13879 NSS_STATUS_NOTFOUND if no record was found.
13880
597df647
AS
138812011-05-05 Andreas Schwab <schwab@redhat.com>
13882
13883 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13884 (headers-not-in-tirpc): Remove rpc/netdb.h
13885 * resolv/netdb.h: Revert last change.
13886
b9af1301
PP
138872011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13888
13889 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13890 circular dependency between libgcc.a and libc.a.
13891
4e34d5f5
AS
138922011-05-05 Andreas Schwab <schwab@redhat.com>
13893
13894 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13895 * nis/Makefile: Don't install rpcsvc/*.
13896 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13897 instead of <rpc/types.h>.
13898 (MAXHOSTNAMELEN): Define.
13899
00ee369c
AS
139002011-05-03 Andreas Schwab <schwab@redhat.com>
13901
13902 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13903
0b592a30
MB
139042011-04-28 Maciej Babinski <mbabinski@google.com>
13905
13906 [BZ #12714]
13907 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13908 gethostbyname4_r when IPv6 results are possible.
13909
6e04cbbe
UD
139102011-05-02 Ulrich Drepper <drepper@gmail.com>
13911
13912 [BZ #12723]
13913 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13914 _PC_PIPE_BUF handling.
13915
e4ecafe0
BH
139162011-04-30 Bruno Haible <bruno@clisp.org>
13917
13918 [BZ #12717]
13919 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
13920 * resolv/netdb.h (getnameinfo): Change type of flags parameter
13921 to 'int'.
13922 * inet/getnameinfo.c (getnameinfo): Likewise.
13923
125ee683
UD
139242011-04-29 Ulrich Drepper <drepper@gmail.com>
13925
13926 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13927 to groups setting in database lookup.
13928 * nss/nsswitch.conf: Add initgroups entry.
13929
b722481a
EB
139302011-04-22 Ulrich Drepper <drepper@gmail.com>
13931
13932 [BZ #12685]
13933 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13934 mode string.
13935 Patch by Eric Blake <eblake@redhat.com>.
13936
4df46dbd
L
139372011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13938
13939 * sunrpc/Makefile (need-export-routines): Add svc_run.
13940 (routines): Remove svc_run.
13941 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13942 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13943 * sunrpc/svc_run.c (svc_run): Likewise.
13944 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13945
e84142d2
UD
139462011-04-21 Ulrich Drepper <drepper@gmail.com>
13947
13948 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13949 problem in reallocation in last patch.
13950
877175d8
UD
139512011-04-20 Ulrich Drepper <drepper@gmail.com>
13952
13953 * sunrpc/Makefile: Move inclusion of Rules.
13954
ab8eed78
UD
139552011-04-19 Ulrich Drepper <drepper@gmail.com>
13956
13957 * nss/nss_files/files-initgroups.c: New file.
13958 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13959 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13960 _nss_files_initgroups_dyn.
13961
e3d8f584
RS
139622011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
13963
13964 * elf/elf.h (R_ARM_IRELATIVE): Define.
13965
af190f45
UD
139662011-04-19 Ulrich Drepper <drepper@gmail.com>
13967
13968 * po/ru.po: Update from translation team.
13969
53cf59ef
UD
139702011-04-17 Ulrich Drepper <drepper@gmail.com>
13971
13972 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
13973 dependencies.
13974
4c559bcd
MF
139752011-02-06 Mike Frysinger <vapier@gentoo.org>
13976
13977 [BZ #12653]
13978 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
13979 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
13980 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13981 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13982 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13983
4420675c
AS
139842011-03-28 Andreas Schwab <schwab@linux-m68k.org>
13985
13986 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
13987 differing bytes.
13988 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13989 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13990 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13991
75ea32ab
UD
139922011-04-17 Ulrich Drepper <drepper@gmail.com>
13993
13994 [BZ #12420]
13995 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
13996 storing it.
13997 * stdlib/bug-getcontext.c: New file.
13998 * stdlib/Makefile: Add rules to build and run bug-getcontext.
13999
27390476
AK
140002011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14001
14002 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14003 instructions into .machine "z9-109".
14004 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14005 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14006
10442705
AK
140072011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14008
14009 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14010 between environment variables and auxiliary vector.
14011
7b57bfe5
UD
140122011-04-16 Ulrich Drepper <drepper@gmail.com>
14013
14014 * Makefile: Add rules to build linkobj/libc.so.
14015 * include/libc-symbols.h: Define libc_hidden_nolink.
14016 * include/rpc/auth.h: Mark functions which are to be hidden.
14017 * include/rpc/auth_des.h: Likewise.
14018 * include/rpc/auth_unix.h: Likewise.
14019 * include/rpc/clnt.h: Likewise.
14020 * include/rpc/des_crypt.h: Likewise.
14021 * include/rpc/key_prot.h: Likewise.
14022 * include/rpc/pmap_clnt.h: Likewise.
14023 * include/rpc/pmap_prot.h: Likewise.
14024 * include/rpc/pmap_rmt.h: Likewise.
14025 * include/rpc/rpc_msg.h: Likewise.
14026 * include/rpc/svc.h: Likewise.
14027 * include/rpc/svc_auth.h: Likewise.
14028 * include/rpc/xdr.h: Likewise.
14029 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14030 * nss/Makefile: Likewise.
14031 * sunrpc/Makefile: Don't install headers. Build library with normal
14032 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14033 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14034 for the compat linking library. Remove use of INTDEF/INTUSE.
14035 * sunrpc/auth_none.c: Likewise.
14036 * sunrpc/auth_unix.c: Likewise.
14037 * sunrpc/authdes_prot.c: Likewise.
14038 * sunrpc/authuxprot.c: Likewise.
14039 * sunrpc/clnt_gen.c: Likewise.
14040 * sunrpc/clnt_perr.c: Likewise.
14041 * sunrpc/clnt_raw.c: Likewise.
14042 * sunrpc/clnt_simp.c: Likewise.
14043 * sunrpc/clnt_tcp.c: Likewise.
14044 * sunrpc/clnt_udp.c: Likewise.
14045 * sunrpc/clnt_unix.c: Likewise.
14046 * sunrpc/des_crypt.c: Likewise.
14047 * sunrpc/des_soft.c: Likewise.
14048 * sunrpc/get_myaddr.c: Likewise.
14049 * sunrpc/key_call.c: Likewise.
14050 * sunrpc/key_prot.c: Likewise.
14051 * sunrpc/netname.c: Likewise.
14052 * sunrpc/pm_getmaps.c: Likewise.
14053 * sunrpc/pm_getport.c: Likewise.
14054 * sunrpc/pmap_clnt.c: Likewise.
14055 * sunrpc/pmap_prot.c: Likewise.
14056 * sunrpc/pmap_prot2.c: Likewise.
14057 * sunrpc/pmap_rmt.c: Likewise.
14058 * sunrpc/publickey.c: Likewise.
14059 * sunrpc/rpc_cmsg.c: Likewise.
14060 * sunrpc/rpc_common.c: Likewise.
14061 * sunrpc/rpc_dtable.c: Likewise.
14062 * sunrpc/rpc_prot.c: Likewise.
14063 * sunrpc/rpc_thread.c: Likewise.
14064 * sunrpc/rtime.c: Likewise.
14065 * sunrpc/svc.c: Likewise.
14066 * sunrpc/svc_auth.c: Likewise.
14067 * sunrpc/svc_authux.c: Likewise.
14068 * sunrpc/svc_raw.c: Likewise.
14069 * sunrpc/svc_run.c: Likewise.
14070 * sunrpc/svc_simple.c: Likewise.
14071 * sunrpc/svc_tcp.c: Likewise.
14072 * sunrpc/svc_udp.c: Likewise.
14073 * sunrpc/svc_unix.c: Likewise.
14074 * sunrpc/svcauth_des.c: Likewise.
14075 * sunrpc/xcrypt.c: Likewise.
14076 * sunrpc/xdr.c: Likewise.
14077 * sunrpc/xdr_array.c: Likewise.
14078 * sunrpc/xdr_float.c: Likewise.
14079 * sunrpc/xdr_intXX_t.c: Likewise.
14080 * sunrpc/xdr_mem.c: Likewise.
14081 * sunrpc/xdr_rec.c: Likewise.
14082 * sunrpc/xdr_ref.c: Likewise.
14083 * sunrpc/xdr_sizeof.c: Likewise.
14084 * sunrpc/xdr_stdio.c: Likewise.
14085
e6c61494
UD
140862011-04-10 Ulrich Drepper <drepper@gmail.com>
14087
14088 [BZ #12650]
14089 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14090 * sysdeps/ia64/dl-tls.h: Likewise.
14091 * sysdeps/powerpc/dl-tls.h: Likewise.
14092 * sysdeps/s390/dl-tls.h: Likewise.
14093 * sysdeps/sh/dl-tls.h: Likewise.
14094 * sysdeps/sparc/dl-tls.h: Likewise.
14095 * sysdeps/x86_64/dl-tls.h: Likewise.
14096 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14097
34fe483e
AS
140982011-03-14 Andreas Schwab <schwab@redhat.com>
14099
14100 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14101 rpath element also skip the following colon.
14102 (expand_dynamic_string_token): Add is_path parameter and pass
14103 down to DL_DST_REQUIRED and _dl_dst_substitute.
14104 (decompose_rpath): Call expand_dynamic_string_token with
14105 non-zero is_path. Ignore empty rpaths.
14106 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14107 with zero is_path.
14108
f12a32e6
AS
141092011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14110
14111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14112 Make cancelable.
14113
38a7d692
UD
141142011-04-09 Ulrich Drepper <drepper@gmail.com>
14115
14116 [BZ #12655]
14117 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14118 Patch by Filipe David Manana <fdmanana@apache.org>.
14119
e451d22b
AS
141202011-04-07 Andreas Schwab <schwab@redhat.com>
14121
14122 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14123 Maintain aligned stack.
14124 (CHECK_RSP): Remove unused macro.
14125
dedc7c7b
UD
141262011-04-03 Ulrich Drepper <drepper@gmail.com>
14127
14128 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14129 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14130
94521213
UD
141312011-04-02 Ulrich Drepper <drepper@gmail.com>
14132
14133 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14134
8cb700c0 14135 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14136
0354e355
L
141372011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14138
14139 [BZ #12518]
14140 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14141 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14142 * sysdeps/x86_64/memmove.c: New file.
14143 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14144 (memcpy): Renamed to ...
14145 (__new_memcpy): This.
14146 (memcpy): Provide GLIBC_2_14 memcpy.
14147 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14148 (memcpy): Provide GLIBC_2_2_5 memcpy.
14149
8593482f
UD
141502011-04-01 Ulrich Drepper <drepper@gmail.com>
14151
14152 [BZ #12631]
14153 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14154
81a5726b
AS
141552011-03-30 Andreas Schwab <schwab@redhat.com>
14156
14157 * misc/syncfs.c: New file.
14158 * misc/Makefile (routines): Add syncfs.
14159 * posix/unistd.h: Declare syncfs.
14160 * sysdeps/unix/syscalls.list: Add syncfs.
14161
00e5419f
AS
141622011-04-01 Andreas Schwab <schwab@redhat.com>
14163
14164 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14165 open_by_handle_at.
14166 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14167 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14168 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14169 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14170 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14171 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14172 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14173
748876bf
UD
141742011-04-01 Ulrich Drepper <drepper@gmail.com>
14175
658e451d
UD
14176 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14177 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14178 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14179 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14180 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14181 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14182 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14183
748876bf
UD
14184 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14185 sync_file_range.c with -fexceptions.
14186 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14187 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14188 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14189 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14190 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14191 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14192 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14193 sync_file_range as cancellation point
14194 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14195 now a wrapper around __call_sync_file_range with cancellation handling.
14196 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14197 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14198 function name to __call_sync_file_range.
14199 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14200 Add call_sync_file_range.
748876bf 14201
6e63d5e1
AS
142022011-04-01 Andreas Schwab <schwab@redhat.com>
14203
14204 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14205 bits/timex.h.
6e63d5e1 14206
46998f74
UD
142072011-04-01 Ulrich Drepper <drepper@gmail.com>
14208
4c1423ed
UD
14209 * iconv/iconv.h: Fix typo in comment.
14210 * io/fcntl.h: Likewise.
14211 * libio/stdio.h: Likewise.
14212 * posix/spawn.h: Likewise.
14213 * posix/unistd.h: Likewise.
14214 * stdlib/stdlib.h: Likewise.
14215 * time/time.h: Likewise.
14216 * wcsmbs/wchar.h: Likewise.
14217
158648c0
UD
14218 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14219 open_by_handle): Add.
14220 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14221 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14222 Augment a few comments.
14223 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14224 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14225 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14226 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14227 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14228 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14229 open_by_handle.
14230
46998f74
UD
14231 * io/fcntl.h (AT_EMPTY_PATH): Define.
14232
83fe108b
UD
142332011-03-30 Ulrich Drepper <drepper@gmail.com>
14234
14235 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14236 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14237 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14238 to...
14239 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14240 * Versions.def: Add GLIBC_2.14.
14241 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14242 Export.
83fe108b 14243
bb242059
UD
142442011-03-22 Ulrich Drepper <drepper@gmail.com>
14245
14246 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14247 round counter.
14248 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14249
c97a1282
L
142502011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14251
14252 [BZ #12597]
14253 * string/test-strncmp.c (do_page_test): New function.
14254 (check2): Likewise.
14255 (test_main): Call check2.
14256 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14257
2a115601
UD
142582011-03-20 Ulrich Drepper <drepper@gmail.com>
14259
14260 [BZ #12587]
14261 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14262 Handle cache information in CPU leaf 4.
14263 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14264
8126d904
UD
142652011-03-18 Ulrich Drepper <drepper@gmail.com>
14266
042c49c6 14267 [BZ #12583]
8126d904
UD
14268 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14269 character representation.
14270 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14271
ccfe366e
RA
142722011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14273
14274 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14275 END(__isnan) to END(__isnanf) to match function entry point/label
14276 EALIGN(__isnanf,...).
14277
c6e13027
JJ
142782011-03-10 Jakub Jelinek <jakub@redhat.com>
14279
14280 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14281
33f85a3f
UD
142822011-03-10 Ulrich Drepper <drepper@gmail.com>
14283
028478fa
UD
14284 [BZ #12510]
14285 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14286 copy from the symbol referenced in the relocation to initialize the
14287 used variable.
14288 Patch by Piotr Bury <pbury@goahead.com>.
14289 * elf/Makefile: Add rules to build and tst-unique3.
14290 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14291 * elf/tst-unique3.cc: New file.
14292 * elf/tst-unique3.h: New file.
14293 * elf/tst-unique3lib.cc: New file.
14294 * elf/tst-unique3lib2.cc: New file.
14295
33f85a3f
UD
14296 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14297
03592fc7
MF
142982011-03-10 Mike Frysinger <vapier@gentoo.org>
14299
14300 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14301 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14302 to _start.
03592fc7 14303
6a5ee102
UD
143042011-03-06 Ulrich Drepper <drepper@gmail.com>
14305
14306 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14307 to-be-loaded object along a path to loader is ld.so.
14308
7e4ba49c
HJ
143092011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14310 Ulrich Drepper <drepper@gmail.com>
14311
14312 * sysdeps/x86_64/memset.S: After aligning destination, code
14313 branches to different locations depending on the value of
14314 misalignment, when multiarch is enabled. Fix this.
14315
143162011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14317
14318 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14319 Set _x86_64_preferred_memory_instruction for AMD processsors.
14320 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14321 Set bit_Prefer_SSE_for_memop for AMD processors.
14322
13a804de
UD
143232011-03-04 Ulrich Drepper <drepper@gmail.com>
14324
14325 * libio/fmemopen.c (fmemopen): Optimize a bit.
14326
9d25c392
AS
143272011-03-03 Andreas Schwab <schwab@redhat.com>
14328
14329 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14330
a5543c6a
RM
143312011-03-03 Roland McGrath <roland@redhat.com>
14332
14333 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14334
012d35f7
DM
143352011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14336
7e4ba49c 14337 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14338 __bzero_ultra1 instead of __memset_ultra1.
14339
4bff6e01
AS
143402011-02-23 Andreas Schwab <schwab@redhat.com>
14341 Ulrich Drepper <drepper@gmail.com>
14342
14343 [BZ #12509]
14344 * include/link.h (struct link_map): Add l_orig_initfini.
14345 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14346 returning unsuccessfully.
14347 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14348 close of a file loaded at startup, restore the original l_initfini
14349 list.
14350 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14351 list, store the pointer.
14352 * elf/Makefile ($(objpfx)noload-mem): New rule.
14353 (noload-ENV): Define.
14354 (tests): Add $(objpfx)noload-mem.
14355 * elf/noload.c: Include <memcheck.h>.
14356 (main): Call mtrace. Close all opened handles.
14357
f2092faf
AS
143582011-02-17 Andreas Schwab <schwab@redhat.com>
14359
14360 [BZ #12454]
14361 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14362 dependencies are missing.
14363
6c8a2e88
ST
143642011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14365
f2092faf 14366 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14367 Hurd needs munmap.
14368 * sysdeps/mach/hurd/ifreq.h: New file.
14369
84a42118
PB
143702011-01-27 Petr Baudis <pasky@suse.cz>
14371 Ulrich Drepper <drepper@gmail.com>
14372
071f805e 14373 [BZ 12445]#
84a42118
PB
14374 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14375 to extend_alloca().
14376 * stdio-common/bug23.c: New file.
14377 * stdio-common/Makefile (tests): Add bug23.
14378
e23fe25b
AS
143792010-09-28 Andreas Schwab <schwab@redhat.com>
14380 Ulrich Drepper <drepper@gmail.com>
14381
14382 [BZ #12489]
14383 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14384 before performing relro protection. At old place add assertion
14385 to make sure nothing changed.
14386
d3f02e10
NS
143872011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14388 Glauber de Oliveira Costa <glommer@gmail.com>
14389
14390 * elf/elf.h: Add new ARM TLS relocs.
14391
d55fd7a5
RA
143922011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14393
14394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14395 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14396 cast from r3.
14397 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14398 'tests' variable.
14399 * sysdeps/wordsize-64/tst-writev.c: New file.
14400
2206397e
RA
144012011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14402
14403 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14404 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14405 insns in _dl_start to prevent a TOC reference before relocs are
14406 resolved.
14407
e9433893
UD
144082011-02-15 Ulrich Drepper <drepper@gmail.com>
14409
14410 [BZ #12469]
14411 * Makeconfig: Remove RANLIB definition.
14412 * Makerules: Don't use RANLIB.
14413 * aclocal.m4: Remove ranlib test.
14414 * configure.in: No need to check for ranlib.
14415 * elf/rtld-Rules: Don't use RANLIB.
14416
f75286c6
ST
144172011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14418
8e31c82d
ST
14419 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14420 protection macro.
14421 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14422 inclusion protection macro.
14423
f75286c6
ST
14424 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14425 SIGRTMIN and SIGRTMAX and print information in that case only when
14426 SIGRTMIN is defined.
14427
c1d0e639
JJ
144282011-02-11 Jakub Jelinek <jakub@redhat.com>
14429
14430 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14431 arginfo fn returning -1.
14432
14433 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14434 and thousands string is zero terminated.
14435
edf9294e
AS
144362011-02-03 Andreas Schwab <schwab@redhat.com>
14437
14438 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14439 sysdeps/unix/sysv/linux/bits/socket.h.
14440
2b7e92df
ST
144412011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14442
edf9294e
AS
14443 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14444 (__CPU_COUNT): Remove old macros.
14445 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14446 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14447 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
14448 (__sched_cpualloc, __sched_cpufree): Add declarations.
14449
a4c7ea7b
UD
144502011-02-05 Ulrich Drepper <drepper@gmail.com>
14451
14452 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14453 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14454 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14455 (readdhstai): Return value of addhstaiX call.
14456 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14457 (addgrbyX): Return value returned by cache_addgr.
14458 (readdgrbyname): Return value returned by addgrbyX.
14459 (readdgrbygid): Likewise.
14460 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14461 (addpwbyX): Return value returned by cache_addpw.
14462 (readdpwbyname): Return value returned by addhstbyX.
14463 (readdpwbyuid): Likewise.
14464 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14465 (addservbyX): Return value returned by cache_addserv.
14466 (readdservbyname): Return value returned by addservbyX:
14467 (readdservbyport): Likewise.
14468 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14469 (addhstbyX): Return value returned by cache_addhst.
14470 (readdhstbyname): Return value returned by addhstbyX.
14471 (readdhstbyaddr): Likewise.
14472 (readdhstbynamev6): Likewise.
14473 (readdhstbyaddrv6): Likewise.
14474 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14475 (readdinitgroups): Return value returned by addinitgroupsX.
14476 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14477 (prune_cache): Keep track of timeout value of re-added entries.
14478 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14479 * nscd/nscd.h: Adjust prototypes of readd* functions.
14480
a0bf67cc
RM
144812011-02-04 Roland McGrath <roland@redhat.com>
14482
14483 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14484 (nis_stats): Likewise.
14485 * nis/nis_modify.c (nis_modify): Likewise.
14486 * nis/nis_remove.c (nis_remove): Likewise.
14487 * nis/nis_add.c (nis_add): Likewise.
14488
14489 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14490
14491 * posix/fnmatch_loop.c: Add some consts.
14492
14493 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14494
435b95eb
L
144952011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14496
14497 [BZ #12460]
14498 * config.make.in (config-cflags-novzeroupper): Define.
14499 * configure.in: Substitute libc_cv_cc_novzeroupper.
14500 * elf/Makefile (AVX-CFLAGS): Define.
14501 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14502 (CFLAGS-tst-auditmod4a.c): Likewise.
14503 (CFLAGS-tst-auditmod4b.c): Likewise.
14504 (CFLAGS-tst-auditmod6b.c): Likewise.
14505 (CFLAGS-tst-auditmod6c.c): Likewise.
14506 (CFLAGS-tst-auditmod7b.c): Likewise.
14507 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14508
8517b15e
UD
145092011-02-02 Ulrich Drepper <drepper@gmail.com>
14510
14511 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14512 function to the callback.
14513 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14514
10a656fe
AS
145152011-02-02 Andreas Schwab <schwab@redhat.com>
14516
14517 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14518 of errno.
14519
968dad0a
UD
145202011-01-19 Ulrich Drepper <drepper@gmail.com>
14521
9f94d2ea 14522 [BZ #11724]
968dad0a
UD
14523 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14524 of constructors.
14525 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14526 of destructors.
14527 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14528
14529 [BZ #11724]
14530 * elf/Makefile: Add rules to build and run new test.
14531 * elf/tst-initorder.c: New file.
14532 * elf/tst-initorder.exp: New file.
14533 * elf/tst-initordera1.c: New file.
14534 * elf/tst-initordera2.c: New file.
14535 * elf/tst-initordera3.c: New file.
14536 * elf/tst-initordera4.c: New file.
14537 * elf/tst-initorderb1.c: New file.
14538 * elf/tst-initorderb2.c: New file.
14539 * elf/tst-order-a1.c: New file.
14540 * elf/tst-order-a2.c: New file.
14541 * elf/tst-order-a3.c: New file.
14542 * elf/tst-order-a4.c: New file.
14543 * elf/tst-order-b1.c: New file.
14544 * elf/tst-order-b2.c: New file.
14545 * elf/tst-order-main.c: New file.
14546 New test case by George Gensure <werkt0@gmail.com>.
14547
86e92359
UD
145482010-10-01 Andreas Schwab <schwab@redhat.com>
14549
14550 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14551 decoding ACE if AI_CANONIDN.
14552
5d5732b0
UD
145532011-01-18 Ulrich Drepper <drepper@gmail.com>
14554
14555 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14556
a77e8cbc
UD
145572011-01-17 Ulrich Drepper <drepper@gmail.com>
14558
6392473f
UD
14559 * version.h (RELEASE): Bump for 2.13 release.
14560 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14561
620a0529
UD
14562 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14563
18ba70a5
UD
14564 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14565 MADV_NOHUGEPAGE.
32465c3e
UD
14566 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14567 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14568 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14569 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14570 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14571 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14572
c0dafcf1
UD
14573 * posix/getconf.c: Update copyright year.
14574 * catgets/gencat.c: Likewise.
14575 * csu/version.c: Likewise.
14576 * debug/catchsegv.sh: Likewise.
14577 * debug/xtrace.sh: Likewise.
14578 * elf/ldconfig.c: Likewise.
14579 * elf/ldd.bash.in: Likewise.
14580 * elf/sprof.c (print_version): Likewise.
14581 * iconv/iconv_prog.c: Likewise.
14582 * iconv/iconvconfig.c: Likewise.
14583 * locale/programs/locale.c: Likewise.
14584 * locale/programs/localedef.c: Likewise.
14585 * malloc/memusage.sh: Likewise.
14586 * malloc/mtrace.pl: Likewise.
14587 * nscd/nscd.c (print_version): Likewise.
14588 * nss/getent.c: Likewise.
14589
a77e8cbc
UD
14590 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14591 PF_CAIF, and PF_ALG.
14592 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14593
77e8bddf
AS
145942011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14595
1f20b93a
AS
14596 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14597 (modules-names): Use them.
14598 (ifunc-test-modules, ifunc-pie-tests): Define.
14599 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14600 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14601 (test-extras): Likewise.
14602 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14603 $(compile-command.c).
14604 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14605 (all-built-dso): Define.
14606 (check-textrel.out, check-execstack.out): Depend on it.
14607
77e8bddf
AS
14608 * configure.in: Don't override --enable-multi-arch.
14609
bc425b33
UD
146102011-01-15 Ulrich Drepper <drepper@gmail.com>
14611
14612 [BZ #6812]
14613 * nscd/hstcache.c (tryagain): Define.
14614 (cache_addhst): Return tryagain not notfound for temporary errors.
14615 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14616 failed.
14617
794c3ad3
UD
146182011-01-14 Ulrich Drepper <drepper@gmail.com>
14619
70181fdd
UD
14620 [BZ #10563]
14621 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14622 to make the syscall.
14623 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14624
794c3ad3
UD
14625 [BZ #12378]
14626 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14627 and fall back to matching as normal character if the string ends before
14628 the matching ']' is found. This is what POSIX requires.
14629 * posix/testfnm.c: Adjust test result.
14630 * posix/globtest.sh: Adjust test result. Add new test.
14631 * posix/tst-fnmatch.input: Likewise.
14632 * posix/tst-fnmatch2.c: Add new test.
14633
68dc9497
AS
146342010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14635
14636 * elf/Makefile (check-execstack): Revert last change. Depend on
14637 check-execstack.h.
14638 (check-execstack.h): New target.
14639 (generated): Add check-execstack.h.
14640 * elf/check-execstack.c: Include "check-execstack.h".
14641 (main): Revert last change.
14642 (handle_file): Return zero if GNU_STACK is absent and
14643 DEFAULT_STACK_PERMS doesn't include PF_X.
14644
451f001b
UD
146452011-01-13 Ulrich Drepper <drepper@gmail.com>
14646
cfa28e56
UD
14647 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14648 in child fails because the descriptor is already closed.
8cf8ce17
UD
14649 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14650 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14651 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 14652
1086d70d
UD
14653 [BZ #12397]
14654 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14655 syscall.
14656
451f001b
UD
14657 [BZ #10484]
14658 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14659 temporary buffer used to handle multi lookups locally.
a85b5cb4 14660 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 14661
08769175
UD
146622011-01-12 Ulrich Drepper <drepper@gmail.com>
14663
14664 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14665 loader is ld.so.
14666
5e49c52e
UD
146672011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14668
14669 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14670 alignment for SSE2.
14671
60522a5f
UD
146722011-01-12 Ulrich Drepper <drepper@gmail.com>
14673
14674 [BZ #12394]
14675 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14676 characters. When rounding increased number of integer digits recompute
14677 number of groups.
14678 * stdio-common/tst-grouping.c: New file.
14679 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14680
f257bbd7
UD
146812011-01-09 Ulrich Drepper <drepper@gmail.com>
14682
14683 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14684 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14685
14686 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14687 void.
14688 * bits/select.h: Likewise.
14689
fa9c15cb
UD
146902011-01-08 Ulrich Drepper <drepper@gmail.com>
14691
14692 * po/ja.po: Update from translation team.
14693
16c2895f
DM
146942011-01-04 David S. Miller <davem@sunset.davemloft.net>
14695
14696 [BZ #11155]
14697 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14698 implementation just like for lxstat, fxstatat, et al.
14699
2543fef2
JM
147002010-12-27 Jim Meyering <meyering@redhat.com>
14701
14702 [BZ #12348]
14703 * posix/regexec.c (build_trtable): Return failure indication upon
14704 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14705
98727dbe
UD
147062010-12-25 Ulrich Drepper <drepper@gmail.com>
14707
5bd6dc5c
UD
14708 [BZ #12201]
14709 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14710 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14711 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14712 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14713
97983464
UD
14714 [BZ #12207]
14715 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14716
98727dbe
UD
14717 [BZ #12204]
14718 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14719 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14720
4a531bb0
L
147212010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14722
14723 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14724 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14725 script has SORT_BY_INIT_PRIORITY.
14726 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14727 NO_CTORS_DTORS_SECTIONS is defined.
14728 * elf/soinit.c: Likewise.
14729 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14730 NO_CTORS_DTORS_SECTIONS is defined.
14731 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14732 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14733 * sysdeps/sh/init-first.c: Likewise.
14734 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14735
07eb4b71
UD
147362010-12-24 Ulrich Drepper <drepper@gmail.com>
14737
14738 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14739 always use the slow path.
14740
30950a5f
RA
147412010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14742
14743 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14744 similar rule which adds the sysdep directories to the header search in
14745 order to pick up the correct platform stackinfo.h.
14746 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14747 perform test if it is, otherwise return successfully without testing.
14748 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14749 DEFAULT_STACK_PERMS define in stackinfo.h.
14750 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14751 defined in stackinfo.h.
14752 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14753 DEFAULT_STACK_PERMS defined in stackinfo.h.
14754 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14755 * sysdeps/ia64/stackinfo.h: Likewise.
14756 * sysdeps/s390/stackinfo.h: Likewise.
14757 * sysdeps/sh/stackinfo.h: Likewise.
14758 * sysdeps/sparc/stackinfo.h: Likewise.
14759 * sysdeps/x86_64/stackinfo.h: Likewise.
14760 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14761 PF_X for powerpc64. Retain PF_X for powerpc32.
14762
db753e2c
UD
147632010-12-19 Ulrich Drepper <drepper@gmail.com>
14764
14b697f7
UD
14765 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14766 accurately.
db753e2c
UD
14767 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14768 GETDENTS_64BIT_ALIGNED.
14769
28300719
UD
147702010-12-14 Ulrich Drepper <dreper@gmail.com>
14771
14b697f7 14772 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 14773
4f197237
AS
147742010-12-10 Andreas Schwab <schwab@redhat.com>
14775
dbb0472f
AS
14776 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14777 _GNU_SOURCE.
14778
4f197237
AS
14779 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14780 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14781 Remove __restrict.
14782 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14783 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14784
fb88ac72
UD
147852010-12-09 Ulrich Drepper <drepper@gmail.com>
14786
14787 [BZ #11655]
14788 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14789 are initialized.
14790
42acbb92
JJ
147912010-12-09 Jakub Jelinek <jakub@redhat.com>
14792
14793 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14794
c038d98d
UD
147952010-12-03 Ulrich Drepper <drepper@gmail.com>
14796
14797 * po/it.po: Update from translation team.
14798
3a4a2499
L
147992010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14800
14801 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14802 unused codes.
14803
1e24cf6e
UD
148042010-11-30 Ulrich Drepper <drepper@gmail.com>
14805
14806 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14807
a7690819
AS
148082010-11-24 Andreas Schwab <schwab@redhat.com>
14809
14810 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14811 specially.
14812 (gaih_getanswer_slice): Likewise.
14813
3bf8d1b1
JJ
148142010-10-20 Jakub Jelinek <jakub@redhat.com>
14815
14816 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14817
6db52fbb
PB
148182010-05-31 Petr Baudis <pasky@suse.cz>
14819
14820 [BZ #11149]
14821 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14822 silently even in the chroot mode.
14823
eaca7569
UD
148242010-11-22 Ulrich Drepper <drepper@gmail.com>
14825
14826 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14827 last patch a bit. Pretty printing
14828
3056dcdb
UD
148292010-05-31 Petr Baudis <pasky@suse.cz>
14830
14831 [BZ #10085]
14832 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14833 initialization of skip_initgroups_dyn.
14834
cf7c9078
UD
148352010-11-19 Ulrich Drepper <drepper@gmail.com>
14836
14837 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14838 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14839
a1fb5e3e
UD
148402010-11-16 Ulrich Drepper <drepper@gmail.com>
14841
14842 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14843
3540d66b
AS
148442010-11-11 Andreas Schwab <schwab@redhat.com>
14845
14846 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14847 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14848 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14849 ($(objpfx)tst-fnmatch-mem): New rule.
14850 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14851 * posix/tst-fnmatch.c (main): Call mtrace.
14852
13b69574
L
148532010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14854
14855 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14856 Support Intel processor model 6 and model 0x2c.
14857
da93d214
LM
148582010-11-10 Luis Machado <luisgpm@br.ibm.com>
14859
14860 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14861 signed comparison.
14862
8ca52c6e
L
148632010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14864
14865 [BZ #12205]
14866 * string/test-strncasecmp.c (check_result): New function.
14867 (do_one_test): Use it.
14868 (check1): New function.
14869 (test_main): Use it.
14870 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14871 Support strcasecmp and strncasecmp.
14872
69da074d
UD
148732010-11-08 Ulrich Drepper <drepper@gmail.com>
14874
14875 [BZ #12194]
14876 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14877 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14878
ff02d528
L
148792010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14880
14881 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14882 IFUNC support.
14883 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14884 memset-x86-64.
14885 * sysdeps/x86_64/multiarch/bzero.S: New file.
14886 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14887 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14888 * sysdeps/x86_64/multiarch/memset.S: New file.
14889 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14890 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14891 Set bit_Prefer_SSE_for_memop for Intel processors.
14892 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14893 Define.
14894 (index_Prefer_SSE_for_memop): Define.
14895 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14896
344d0b54
LM
148972010-11-04 Luis Machado <luisgpm@br.ibm.com>
14898
14899 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14900 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14901
c0dde15b
UD
149022010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14903
14904 [BZ #12191]
14905 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14906 (__x86_64_raw_data_cache_size_half): Likewise.
14907 (__x86_64_raw_shared_cache_size): Likewise.
14908 (__x86_64_raw_shared_cache_size_half): Likewise.
14909
14910 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14911 (__x86_64_raw_data_cache_size_half): Likewise.
14912 (__x86_64_raw_shared_cache_size): Likewise.
14913 (__x86_64_raw_shared_cache_size_half): Likewise.
14914 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14915 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14916 and __x86_64_raw_shared_cache_size_half. Round
14917 __x86_64_data_cache_size_half, __x86_64_data_cache_size
14918 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
14919 to multiple of 256 bytes.
14920
0e516e0e
MS
149212010-11-03 Ulrich Drepper <drepper@gmail.com>
14922
14923 [BZ #12167]
14924 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14925 of inacessible symlinks. Verify result of symlink before returning it.
14926 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14927 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14928
0e012e87
ER
149292010-10-28 Erich Ritz <erichritz@gmail.com>
14930
14931 * math/math.h (isinf): Fix typo in comment.
14932
de0ff7bc
UD
149332010-11-01 Ulrich Drepper <drepper@gmail.com>
14934
14935 * po/da.po: Update from translation team.
14936
fa41c84d
UD
149372010-10-26 Ulrich Drepper <drepper@gmail.com>
14938
14939 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14940 is added to the list.
14941
f0967738
AK
149422010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14943 Ulrich Drepper <drepper@gmail.com>
14944
14945 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14946 the global list here. Move code to...
14947 (_dl_add_to_namespace_list): ...here. New function.
14948 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14949 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14950 * elf/dl-load.c (lose): Don't remove the element from the list.
14951 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14952 (_dl_map_object): Likewise.
14953
149542010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
14955
14956 [BZ #12159]
14957 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14958 into all bytes of SSE register.
14959 Patch by Richard Li <richardpku@gmail.com>.
14960
f0967738 149612010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
14962
14963 [BZ #12140]
14964 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14965 perturbing.
14966
d0b9e94f
MB
149672010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14968
14969 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14970 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14971 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14972 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
14974 submachine.
14975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14976
8e9f92e9
AS
149772010-10-22 Andreas Schwab <schwab@redhat.com>
14978
14979 * include/dlfcn.h (__RTLD_SECURE): Define.
14980 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
14981 mode & __RTLD_SECURE instead.
14982 (open_path): Rename preloaded parameter to secure.
14983 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
14984 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
14985 * elf/dl-deps.c (openaux): Likewise.
14986 * elf/rtld.c (struct map_args): Remove is_preloaded.
14987 (map_doit): Don't use it.
14988 (dl_main): Likewise.
14989 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
14990 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
14991
bc96fbda
AS
149922010-09-09 Andreas Schwab <schwab@redhat.com>
14993
14994 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
14995 (sysd-rules-targets): Remove duplicates.
14996 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
14997 rtld-%.$o dependency.
14998
22cd1c9b
AS
149992010-10-18 Andreas Schwab <schwab@redhat.com>
15000
15001 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15002 _dl_map_object do it.
15003
18edac48
UD
150042010-10-19 Ulrich Drepper <drepper@gmail.com>
15005
15006 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15007 fast fma builtins, define the macros in the C99 standard.
15008 (FP_FAST_FMAF): Likewise.
15009 (FP_FAST_FMAL): Likewise.
15010 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15011
15012 * bits/mathdef.h: Update copyright year.
15013 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15014
d2050124
MM
150152010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15016
15017 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15018 builtins, define the macros in the C99 standard.
15019 (FP_FAST_FMAF): Likewise.
15020 (FP_FAST_FMAL): Likewise.
15021 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15022 multiply/add.
15023 (FP_FAST_FMAF): Likewise.
15024
475facd1
JJ
150252010-10-15 Jakub Jelinek <jakub@redhat.com>
15026
15027 [BZ #3268]
15028 * math/libm-test.inc (fma_test): Some new testcases.
15029 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15030 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15031 y and infinite z. Do multiplication by C already in long double.
15032 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15033 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15034 y and infinite z. Do bitwise or of inexact bit into u.d.
15035 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15036 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15037 * sysdeps/i386/fpu/s_fma.S: Removed.
15038 * sysdeps/i386/fpu/s_fmal.S: Removed.
15039
7c08a05c
JJ
150402010-10-16 Jakub Jelinek <jakub@redhat.com>
15041
15042 [BZ #3268]
15043 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15044 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15045 computation is not scheduled after fetestexcept. Fix value
15046 of minimum denormal long double.
15047
f3f7372d
JJ
150482010-10-14 Jakub Jelinek <jakub@redhat.com>
15049
15050 [BZ #3268]
15051 * math/libm-test.inc (fma_test): Add some more tests.
15052 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15053 correctly.
15054
14d43591
AS
150552010-10-15 Andreas Schwab <schwab@redhat.com>
15056
15057 * scripts/data/localplt-s390-linux-gnu.data: New file.
15058 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15059
5e908464
JJ
150602010-10-13 Jakub Jelinek <jakub@redhat.com>
15061
15062 [BZ #3268]
15063 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15064 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15065 instead of dbl-64.
15066 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15067 inlines.
15068 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15069 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15070 if one of x and y is very large and the other is subnormal.
15071 * sysdeps/s390/fpu/s_fmaf.c: New file.
15072 * sysdeps/s390/fpu/s_fma.c: New file.
15073 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15074 * sysdeps/powerpc/fpu/s_fma.S: New file.
15075 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15076 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15077 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15078
150792010-10-12 Jakub Jelinek <jakub@redhat.com>
15080
15081 [BZ #3268]
15082 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15083 fma tests.
15084 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15085 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15086 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15087 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15088 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15089 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15090 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15091
b833d51f
UD
150922010-10-12 Ulrich Drepper <drepper@redhat.com>
15093
15094 [BZ #12078]
15095 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15096 * posix/bug-regex31.input: Add test case.
15097
1751705d
UD
150982010-10-11 Ulrich Drepper <drepper@gmail.com>
15099
e9b9cbf5
UD
15100 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15101 * posix/bug-regex31.input: New file.
15102
15103 [BZ #12078]
15104 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15105 (parse_sub_exp): Fix last change, use postorder.
15106
ef06edbe
UD
15107 * posix/bug-regex31.c: New file.
15108 * posix/Makefile: Add rules to build and run bug-regex31.
15109
a129c80d
UD
15110 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15111
15112 [BZ #12078]
15113 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15114
b76b818e
UD
15115 [BZ #12108]
15116 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15117 to have entries in sys_siglist.
15118
1751705d
UD
15119 [BZ #12093]
15120 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15121 be NULL.
15122
9ff8d36f
JJ
151232010-10-07 Jakub Jelinek <jakub@redhat.com>
15124
15125 [BZ #3268]
15126 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15127 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15128 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15129 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15130 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15131 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15132 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15133 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15134 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15135 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15136 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15137 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15138 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15139 * math/ftestexcept.c (fetestexcept): Likewise.
15140 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15141 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15142 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15143 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15144 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15145 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15146 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15147
af325969
UD
151482010-10-11 Ulrich Drepper <drepper@gmail.com>
15149
c579b202 15150 [BZ #12107]
af325969
UD
15151 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15152 newline.
15153
67a67b95
UD
151542010-10-06 Ulrich Drepper <drepper@gmail.com>
15155
15156 * string/bug-strstr1.c: New file.
15157 * string/Makefile: Add rules to build and run bug-strstr1.
15158
5fb308bc
EB
151592010-10-05 Eric Blake <eblake@redhat.com>
15160
15161 [BZ #12092]
15162 * string/str-two-way.h (two_way_long_needle): Always clear memory
15163 when skipping input due to the shift table.
15164
45db99c7
UD
151652010-10-03 Ulrich Drepper <drepper@gmail.com>
15166
3b111893
UD
15167 [BZ #12005]
15168 * malloc/mcheck.c: Handle large requests.
15169
45db99c7
UD
15170 [BZ #12077]
15171 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15172 for strncmp and strncasecmp.
15173 * string/stratcliff.c: Add tests for strcmp and strncmp.
15174 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15175
cf7a1eb8
NI
151762010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15177
15178 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15179 __set_fpscr.
15180
6484ba5e
AJ
151812010-09-30 Andreas Jaeger <aj@suse.de>
15182
15183 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15184 (CGROUP_SUPER_MAGIC): Define.
15185 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15186 Handle btrfs and cgroup file systems.
15187 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15188 Likewise.
15189
91c42559
LM
151902010-09-27 Luis Machado <luisgpm@br.ibm.com>
15191
15192 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15193 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15194
87a97932
AK
151952010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15196
15197 [BZ #12067]
15198 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15199 trying to locate the ELF header.
15200
c21cc9bc
AS
152012010-09-27 Andreas Schwab <schwab@redhat.com>
15202
15203 [BZ #11611]
15204 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15205 Mask out sign-bit copies when constructing f_fsid.
15206
315970f6
PB
152072010-09-24 Petr Baudis <pasky@suse.cz>
15208
15209 * debug/stack_chk_fail_local.c: Add missing licence exception.
15210 * debug/warning-nop.c: Likewise.
15211
1ac7a2c7
JM
152122010-09-15 Joseph Myers <joseph@codesourcery.com>
15213
15214 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15215 implementing getdents64 using getdents syscall, set d_type if
15216 __ASSUME_GETDENTS32_D_TYPE.
15217
56801c50
AS
152182010-09-16 Andreas Schwab <schwab@redhat.com>
15219
15220 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15221 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15222
dda51327
UD
152232010-09-21 Ulrich Drepper <drepper@redhat.com>
15224
15225 [BZ #12037]
15226 * posix/unistd.h: Undo change of feature selection for ftruncate from
15227 2010-01-11.
15228
8ffcee4a
UD
152292010-09-20 Ulrich Drepper <drepper@redhat.com>
15230
a545ecd9 15231 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15232 detection.
15233
e24f0a8b
AS
152342010-09-20 Andreas Schwab <schwab@redhat.com>
15235
15236 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15237 fanotify_mark.
15238 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15239
7291c56f
AS
152402010-09-14 Andreas Schwab <schwab@redhat.com>
15241
15242 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15243 variables after CHECK_SP call.
15244 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15245
bc5fb037
AS
152462010-09-13 Andreas Schwab <schwab@redhat.com>
15247 Ulrich Drepper <drepper@redhat.com>
15248
15249 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15250 re-relocationg ld.so.
15251 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15252 _dl_init_paths call.
15253 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15254 here anymore.
15255
e66e7419
UD
152562010-09-14 Ulrich Drepper <drepper@redhat.com>
15257
15258 * resolv/res_init.c (__res_vinit): Count the default server we added.
15259
c044aa75
CLT
152602010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15261 Ulrich Drepper <drepper@redhat.com>
15262
15263 [BZ #11968]
15264 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15265 (____longjmp_chk): Use %ebx for saving value across system call.
15266 Add unwind info.
15267
32cf4069
AS
152682010-09-06 Andreas Schwab <schwab@redhat.com>
15269
15270 * manual/Makefile: Don't mix pattern rules with normal rules.
15271
817328ee
AS
152722010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15273
15274 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15275 operation.
15276 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15277 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15278 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15279 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15280 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15281 Likewise.
15282
29fddf61
UD
152832010-09-04 Ulrich Drepper <drepper@redhat.com>
15284
15285 [BZ #11979]
15286 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15287 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15288
0959ffc9
UD
152892010-09-02 Ulrich Drepper <drepper@redhat.com>
15290
15291 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15292 * sysdeps/x86_64/addmul_1.S: Likewise.
15293 * sysdeps/x86_64/lshift.S: Likewise.
15294 * sysdeps/x86_64/mul_1.S: Likewise.
15295 * sysdeps/x86_64/rshift.S: Likewise.
15296 * sysdeps/x86_64/sub_n.S: Likewise.
15297 * sysdeps/x86_64/submul_1.S: Likewise.
15298
ece29840
ST
152992010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15300
0959ffc9
UD
15301 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15302 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15303 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15304 * bits/sched.h [__need_schedparam]
ece29840 15305 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15306 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15307 (__defined_schedparam): Define to 1.
ece29840
ST
15308 (__sched_param): New structure, identical to sched_param.
15309 (__need_schedparam): Undefine.
15310
e53a31fe
MF
153112010-08-31 Mike Frysinger <vapier@gentoo.org>
15312
fdc0c10d
MF
15313 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15314 (epoll_create1): Declare.
15315
e53a31fe
MF
15316 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15317
a726d796
AS
153182010-08-31 Andreas Schwab <schwab@redhat.com>
15319
15320 [BZ #7066]
15321 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15322 shifting retval into place.
15323
2f3e3dc7
UD
153242010-09-01 Ulrich Drepper <drepper@redhat.com>
15325
f2933da9
UD
15326 * nis/rpcsvc/nis.h: Update copyright notice.
15327 * nis/rpcsvc/nis.x: Likewise.
15328 * nis/rpcsvc/nis_callback.h: Likewise.
15329 * nis/rpcsvc/nis_callback.x: Likewise.
15330 * nis/rpcsvc/nis_object.x: Likewise.
15331 * nis/rpcsvc/nis_tags.h: Likewise.
15332 * nis/rpcsvc/yp.h: Likewise.
15333 * nis/rpcsvc/yp.x: Likewise.
15334 * nis/rpcsvc/ypupd.h: Likewise.
15335 * nis/yp_xdr.c: Likewise.
15336 * nis/ypupdate_xdr.c: Likewise.
15337
2f3e3dc7
UD
15338 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15339 mainly the body of pmap_getport. Add parameters to specify timeouts.
15340 (pmap_getport): Use __libc_rpc_getport.
15341 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15342 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15343 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15344
f3dcc2f9
AS
153452010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15346
15347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15348 fanotify_mark.
15349
6d34eb5b
RM
153502010-08-27 Roland McGrath <roland@redhat.com>
15351
15352 * sysdeps/i386/i686/multiarch/Makefile
15353 (CFLAGS-varshift.c): New variable.
15354
9ea3de11
UD
153552010-08-27 Ulrich Drepper <drepper@redhat.com>
15356
c96d23fc
UD
15357 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15358 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15359
9ea3de11
UD
15360 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15361
15362 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15363
623aac7f
L
153642010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15365
15366 * sysdeps/x86_64/strlen.S: Unroll the loop.
15367 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15368 strlen-sse2 strlen-sse2-bsf.
15369 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15370 __strlen_no_bsf if bit_Slow_BSF is set.
15371 (__strlen_sse42): Removed.
15372 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15373 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15374
8b2b7715
RM
153752010-08-25 Roland McGrath <roland@redhat.com>
15376
15377 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15378 * sysdeps/x86_64/multiarch/varshift.c: New file.
15379 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15380 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15381 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15382 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15383
e73015f2
L
153842010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15385
15386 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15387 strlen-sse2 strlen-sse2-bsf.
15388 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15389 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15390 (__strlen_sse2): Removed.
15391 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15392 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15393 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15394 bit_Slow_BSF for Atom.
15395 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15396 (index_Slow_BSF): Define.
15397 (HAS_SLOW_BSF): Define.
15398
df24a73e
UD
153992010-08-25 Ulrich Drepper <drepper@redhat.com>
15400
15401 [BZ #10851]
15402 * resolv/res_init.c (__res_vinit): When no server address at all
15403 is given default to loopback.
15404
f2ac4868
RM
154052010-08-24 Roland McGrath <roland@redhat.com>
15406
09055553
RM
15407 * configure.in: Remove config-name.h generation.
15408 * configure: Regenerated.
15409 * config-name.in: File removed.
15410 * scripts/config-uname.sh: New file.
15411 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15412 ($(objdir)config-name.h): New target.
15413
f2ac4868
RM
15414 * sunrpc/rpc_parse.h: Avoid nested comment.
15415
73f27d5e
RH
154162010-08-24 Richard Henderson <rth@redhat.com>
15417 Ulrich Drepper <drepper@redhat.com>
15418 H.J. Lu <hongjiu.lu@intel.com>
15419
15420 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15421 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15422 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15423 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15424 _mm_alignr_epi8 with _mm_loadu_si128.
15425 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15426 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15427 (__m128i_shift_right): Removed.
15428 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15429 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15430 * sysdeps/x86_64/multiarch/varshift.h: New file.
15431 * sysdeps/x86_64/multiarch/varshift.S: New file.
15432
84b9230c
MF
154332010-08-21 Mike Frysinger <vapier@gentoo.org>
15434
15435 * configure.in: Move assembler checks to before sysdep dir checking.
15436
9bbd0ddc
PB
154372010-08-20 Petr Baudis <pasky@suse.cz>
15438
15439 * LICENSES: Sync the sunrpc license.
15440
9da4bb31
UD
154412010-08-19 Ulrich Drepper <drepper@redhat.com>
15442
a7ab6ec8
UD
15443 * sunrpc/auth_des.c: Update copyright notice once again.
15444 * sunrpc/auth_none.c: Likewise.
15445 * sunrpc/auth_unix.c: Likewise.
15446 * sunrpc/authdes_prot.c: Likewise.
15447 * sunrpc/authuxprot.c: Likewise.
15448 * sunrpc/bindrsvprt.c: Likewise.
15449 * sunrpc/clnt_gen.c: Likewise.
15450 * sunrpc/clnt_perr.c: Likewise.
15451 * sunrpc/clnt_raw.c: Likewise.
15452 * sunrpc/clnt_simp.c: Likewise.
15453 * sunrpc/clnt_tcp.c: Likewise.
15454 * sunrpc/clnt_udp.c: Likewise.
15455 * sunrpc/clnt_unix.c: Likewise.
15456 * sunrpc/des_crypt.c: Likewise.
15457 * sunrpc/des_soft.c: Likewise.
15458 * sunrpc/get_myaddr.c: Likewise.
15459 * sunrpc/getrpcport.c: Likewise.
15460 * sunrpc/key_call.c: Likewise.
15461 * sunrpc/key_prot.c: Likewise.
15462 * sunrpc/openchild.c: Likewise.
15463 * sunrpc/pm_getmaps.c: Likewise.
15464 * sunrpc/pm_getport.c: Likewise.
15465 * sunrpc/pmap_clnt.c: Likewise.
15466 * sunrpc/pmap_prot.c: Likewise.
15467 * sunrpc/pmap_prot2.c: Likewise.
15468 * sunrpc/pmap_rmt.c: Likewise.
15469 * sunrpc/rpc/auth.h: Likewise.
15470 * sunrpc/rpc/auth_unix.h: Likewise.
15471 * sunrpc/rpc/clnt.h: Likewise.
15472 * sunrpc/rpc/des_crypt.h: Likewise.
15473 * sunrpc/rpc/key_prot.h: Likewise.
15474 * sunrpc/rpc/netdb.h: Likewise.
15475 * sunrpc/rpc/pmap_clnt.h: Likewise.
15476 * sunrpc/rpc/pmap_prot.h: Likewise.
15477 * sunrpc/rpc/pmap_rmt.h: Likewise.
15478 * sunrpc/rpc/rpc.h: Likewise.
15479 * sunrpc/rpc/rpc_des.h: Likewise.
15480 * sunrpc/rpc/rpc_msg.h: Likewise.
15481 * sunrpc/rpc/svc.h: Likewise.
15482 * sunrpc/rpc/svc_auth.h: Likewise.
15483 * sunrpc/rpc/types.h: Likewise.
15484 * sunrpc/rpc/xdr.h: Likewise.
15485 * sunrpc/rpc_clntout.c: Likewise.
15486 * sunrpc/rpc_cmsg.c: Likewise.
15487 * sunrpc/rpc_common.c: Likewise.
15488 * sunrpc/rpc_cout.c: Likewise.
15489 * sunrpc/rpc_dtable.c: Likewise.
15490 * sunrpc/rpc_hout.c: Likewise.
15491 * sunrpc/rpc_main.c: Likewise.
15492 * sunrpc/rpc_parse.c: Likewise.
15493 * sunrpc/rpc_parse.h: Likewise.
15494 * sunrpc/rpc_prot.c: Likewise.
15495 * sunrpc/rpc_sample.c: Likewise.
15496 * sunrpc/rpc_scan.c: Likewise.
15497 * sunrpc/rpc_scan.h: Likewise.
15498 * sunrpc/rpc_svcout.c: Likewise.
15499 * sunrpc/rpc_tblout.c: Likewise.
15500 * sunrpc/rpc_util.c: Likewise.
15501 * sunrpc/rpc_util.h: Likewise.
15502 * sunrpc/rpcinfo.c: Likewise.
15503 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15504 * sunrpc/rpcsvc/key_prot.x: Likewise.
15505 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15506 * sunrpc/rpcsvc/mount.x: Likewise.
15507 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15508 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15509 * sunrpc/rpcsvc/rex.x: Likewise.
15510 * sunrpc/rpcsvc/rstat.x: Likewise.
15511 * sunrpc/rpcsvc/rusers.x: Likewise.
15512 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15513 * sunrpc/rpcsvc/spray.x: Likewise.
15514 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15515 * sunrpc/rtime.c: Likewise.
15516 * sunrpc/svc.c: Likewise.
15517 * sunrpc/svc_auth.c: Likewise.
15518 * sunrpc/svc_authux.c: Likewise.
15519 * sunrpc/svc_raw.c: Likewise.
15520 * sunrpc/svc_run.c: Likewise.
15521 * sunrpc/svc_simple.c: Likewise.
15522 * sunrpc/svc_tcp.c: Likewise.
15523 * sunrpc/svc_udp.c: Likewise.
15524 * sunrpc/svc_unix.c: Likewise.
15525 * sunrpc/svcauth_des.c: Likewise.
15526 * sunrpc/xcrypt.c: Likewise.
15527 * sunrpc/xdr.c: Likewise.
15528 * sunrpc/xdr_array.c: Likewise.
15529 * sunrpc/xdr_float.c: Likewise.
15530 * sunrpc/xdr_mem.c: Likewise.
15531 * sunrpc/xdr_rec.c: Likewise.
15532 * sunrpc/xdr_ref.c: Likewise.
15533 * sunrpc/xdr_sizeof.c: Likewise.
15534 * sunrpc/xdr_stdio.c: Likewise.
15535
9da4bb31
UD
15536 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15537 handling.
15538
bdaa77bc
AS
155392010-08-19 Andreas Schwab <schwab@redhat.com>
15540
15541 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15542
fe2f79db
LM
155432010-08-19 Luis Machado <luisgpm@br.ibm.com>
15544
15545 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15546 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15547 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15548 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15549 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15550 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15551 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15552 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15553 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15554 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15555 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15556 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15557 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15558 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15559
b9b42ee0
AB
155602010-07-26 Anton Blanchard <anton@samba.org>
15561
15562 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15563 * malloc/arena.c (heap_trim): Likewise.
15564
1c06ba31
UD
155652010-08-16 Ulrich Drepper <drepper@redhat.com>
15566
15567 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15568 here. Not...
15569 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15570 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15571
f8392f40
L
155722010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15573
15574 * sysdeps/i386/elf/Makefile: New file.
15575
3162f12e
AS
155762010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15577
15578 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15579 from fanotify_init.
15580 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15581 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15582
28c90b2c
UD
155832010-08-15 Ulrich Drepper <drepper@redhat.com>
15584
15585 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15586 of strncasecmp_l.
1feccb6c 15587 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 15588
ca6bb004
UD
155892010-08-14 Ulrich Drepper <drepper@redhat.com>
15590
e9f82e0d
UD
15591 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15592 strncase_l-nonascii.
15593 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15594 Add strncase_l-ssse3.
15595 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15596 * sysdeps/x86_64/strcmp.S: Likewise.
15597 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15598 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15599 * sysdeps/x86_64/strncase.S: New file.
15600 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15601 * sysdeps/x86_64/strncase_l.S: New file.
15602 * string/Makefile (strop-tests): Add strncasecmp.
15603 * string/test-strncasecmp.c: New file.
15604
15605 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15606 warning.
15607
ca6bb004
UD
15608 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15609 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15610
052fa7b3
AS
156112010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15612
15613 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15614
962dba78
UD
156152010-08-12 Ulrich Drepper <drepper@redhat.com>
15616
15617 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15618 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15619 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15620
bebff237
AM
156212010-05-01 Alan Modra <amodra@gmail.com>
15622
15623 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15624 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15625 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15626 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15627 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15628 tidying. Don't tail-call __sigjmp_save for static lib.
15629 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15630 save location.
15631 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15632 (CALL_MCOUNT): Add eh info, and nop after bl.
15633 (TAIL_CALL_SYSCALL_ERROR): New macro.
15634 (PSEUDO_RET): Use it.
15635 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15636 Correct save location of integer regs and cr.
15637 (_dl_profile_resolve): Correct cr save location. Delete nops
15638 after bl when SHARED. Reduce cfi size a little by better
15639 placement of cfi directives.
15640 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15641 make a stack frame. Instead use parm save area as a temp.
15642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15643 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15645 Don't make a stack frame for parent, use parm save area.
15646 Increase child stack frame to 112 bytes. Don't save unused reg,
15647 and adjust reg usage. Set up cfi on error recovery and
15648 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15650 (__makecontext): Add dummy nop after jump to exit.
15651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15652 Use correct parm save area and cr save, reduce stack frame.
15653 Correct cfi for possible PSEUDO_RET frame setup.
15654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15655 Branch to local label emitted by PSEUDO_RET rather than
15656 __syscall_error.
15657
02637374
AS
156582010-08-12 Andreas Schwab <schwab@redhat.com>
15659
15660 [BZ #11904]
15661 * locale/programs/locale.c (print_assignment): New function.
15662 (show_locale_vars): Use it.
15663
c3e2f19b
UD
156642010-08-11 Ulrich Drepper <drepper@redhat.com>
15665
3cdaa6ad
UD
15666 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15667 field.
15668 (struct statfs64): Likewise.
15669 (_STATFS_F_FLAGS): Define.
15670 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15671 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15672 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15673 (ST_VALID): Define locally.
15674 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15675 __statvfs_getflags, use the provided value.
15676 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15677 __ASSUME_STATFS_F_FLAGS.
15678
754f7da3
UD
15679 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15680
10b3bedc
UD
15681 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15682 Add sys/fanotify.h.
15683 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15684 fanotify_mask for GLIBC_2.13.
15685 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15686 fanotify_init and fanotify_mark.
15687 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15688 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15689
c08fb0d7
UD
15690 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15691 Add prlimit.
15692 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15693 prlimit64 for GLIBC_2.13.
15694 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15695 prlimit64.
15696 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15697 syscall.
15698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15699 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15700 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15701 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15702 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15703 add prlimit alias.
15704 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15705
15bac72b
UD
15706 [BZ #11903]
15707 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15708 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15709
c3e2f19b
UD
15710 * nss/Makefile: Add rules to build and run tst-nss-test1.
15711 * shlib-versions: Add entry for libnss_test1.
15712 * nss/nss_test1.c: New file.
15713 * nss/tst-nss-test1.c: New file.
15714
15715 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15716 (__nss_configure_lookup): Set appropriate entry in
15717 __nss_configure_lookup to true.
15718 * nss/nsswitch.h: Define enum with indeces of databases in
15719 databases and __nss_database_custom arrays. Declare
15720 __nss_database_custom.
15721 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15722 to avoid using nscd when custom rules are installed.
15723 * nss/getXXbyYY_r.c: Likewise.
15724 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15725
15726 * nss/nss_files/files-parse.c: Whitespace fixes.
15727
f15ce4d8
UD
157282010-08-09 Ulrich Drepper <drepper@redhat.com>
15729
15730 [BZ #11883]
15731 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15732 * posix/fnmatch_loop.c: Likewise.
15733
d22e4cc9
AK
157342010-07-17 Andi Kleen <ak@linux.intel.com>
15735
15736 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15737 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15738 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15739 * Versions.def [GLIBC_2.13]: Add.
15740
805bc17d
UD
157412010-08-06 Ulrich Drepper <drepper@redhat.com>
15742
15743 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15744 Also fail if tpwd after pwuid call is NULL.
15745
5a42321d
ST
157462010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15747
15748 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15749 when converting to ms.
15750
fd3ebeda
ST
157512010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15752
15753 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15754 EOPNOTSUPP errors with ENOTTY.
15755 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15756 EOPNOTSUPP errors with ENOTTY.
15757
73507d3a
UD
157582010-07-31 Ulrich Drepper <drepper@redhat.com>
15759
15760 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15761 Add strcasecmp_l-ssse3.
15762 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15763 strcasecmp.
15764 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15765 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15766 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15767
fe36dd02
UD
157682010-07-30 Ulrich Drepper <drepper@redhat.com>
15769
66f6765a
UD
15770 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15771
42e08a54
UD
15772 * string/Makefile (strop-tests): Add strcasecmp.
15773 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15774 strcasecmp_l-nonascii.
15775 (gen-as-const-headers): Add locale-defines.sym.
15776 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15777 * sysdeps/x86_64/strcasecmp.S: New file.
15778 * sysdeps/x86_64/strcasecmp_l.S: New file.
15779 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15780 * sysdeps/x86_64/locale-defines.sym: New file.
15781 * string/test-strcasecmp.c: New file.
15782
fe36dd02
UD
15783 * string/test-strcasestr.c: Test both ends of the range of characters.
15784 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15785
48cbc0d6
RM
157862010-07-29 Roland McGrath <roland@redhat.com>
15787
76e6d6bc 15788 [BZ #11856]
48cbc0d6
RM
15789 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15790
880113d9
UD
157912010-07-27 Ulrich Drepper <drepper@redhat.com>
15792
15793 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15794 for ld.so.
15795
deb9cabb
AS
157962010-07-27 Andreas Schwab <schwab@redhat.com>
15797
15798 * manual/memory.texi (Malloc Tunable Parameters): Document
15799 M_PERTURB.
15800
1c7570ff
RM
158012010-07-26 Roland McGrath <roland@redhat.com>
15802
15803 [BZ #11840]
15804 * configure.in (-fgnu89-inline check): Set and substitute
15805 gnu89_inline, not libc_cv_gnu89_inline.
15806 * configure: Regenerated.
15807 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15808
24fb0f88
UD
158092010-07-26 Ulrich Drepper <drepper@redhat.com>
15810
15811 * string/test-strnlen.c: New file.
15812 * string/Makefile (strop-tests): Add strnlen.
15813 * string/tester.c (test_strnlen): Add a few more test cases.
15814 * string/tst-strlen.c: Better error reporting.
15815
15816 * sysdeps/x86_64/strnlen.S: New file.
15817
8e96b93a
UD
158182010-07-24 Ulrich Drepper <drepper@redhat.com>
15819
15820 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15821 lower-latency instructions.
15822
dbc676d4
UD
158232010-07-23 Ulrich Drepper <drepper@redhat.com>
15824
15825 * string/test-strcasestr.c: New file.
15826 * string/test-strstr.c: New file.
15827 * string/Makefile (strop-tests): Add strstr and strcasestr.
15828 * string/str-two-way.h: Don't undefine MAX.
15829 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15830
f6a31e0e
AS
158312010-07-21 Andreas Schwab <schwab@redhat.com>
15832
15833 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15834 strcasestr-nonascii.
15835 (CFLAGS-strcasestr-nonascii.c): Define.
15836 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15837 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15838 Remove unused attribute.
15839
5dbc3b6c
RM
158402010-07-20 Roland McGrath <roland@redhat.com>
15841
15842 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15843 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15844 ld.so.cache was broken. With it, there is no way to disable dsocaps
15845 like LD_HWCAP_MASK can disable hwcaps.
15846
23d101d8
EPM
158472010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15848
15849 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15850
cc9f2e47
UD
158512010-07-16 Ulrich Drepper <drepper@redhat.com>
15852
15853 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15854 call in strcasestr.
15855 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15856 __strcasestr_sse42_nonascii.
15857 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15858 strcasestr-nonascii.c.
15859 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15860
77c1b069
LM
158612010-06-15 Luis Machado <luisgpm@br.ibm.com>
15862
15863 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15864 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15865 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15866 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15867
440566c3
UD
158682010-07-09 Ulrich Drepper <drepper@redhat.com>
15869
15870 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15871 fcntl.
15872
5be9d05d
AS
158732010-07-06 Andreas Schwab <schwab@redhat.com>
15874
c30b7ee2 15875 [BZ #11577]
5be9d05d
AS
15876 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15877 dl_signal_cerror.
15878
8a492a67
UD
158792010-07-06 Ulrich Drepper <drepper@redhat.com>
15880
15881 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15882 _PC_PIPE_BUF using F_GETPIPE_SZ.
15883
713df3d5
RM
158842010-07-05 Roland McGrath <roland@redhat.com>
15885
15886 * manual/arith.texi (Rounding Functions): Fix rint description
15887 implicit in round description.
15888
702e8f14
UD
158892010-07-02 Ulrich Drepper <drepper@redhat.com>
15890
15891 * elf/Makefile: Fix linking for a few tests to make recent linker
15892 happy.
15893
52ed8be9
AS
158942010-06-30 Andreas Schwab <schwab@redhat.com>
15895
15896 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15897 $(common-objpfx)libc_nonshared.a.
15898
f47c9a11
LM
158992010-06-21 Luis Machado <luisgpm@br.ibm.com>
15900
15901 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15902 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15903 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15904 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15905 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15906 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15907 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15908 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
15919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
15921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
15923 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
15924 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15925 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15926 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15927 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15928 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15929 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15930 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15931 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15932 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15933 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15934 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15949
6fb8cbcb
L
159502010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15951
15952 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15953 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15954 * string/memmove.c (memmove): Renamed to ...
15955 (MEMMOVE): ...this. Default to memmove.
15956 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15957 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15958 (END_CHK): Define.
15959 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15960 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15961 mempcpy-ssse3-back memmove-ssse3-back.
15962 * sysdeps/x86_64/multiarch/bcopy.S: New file .
15963 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15964 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15965 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15966 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15967 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15968 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15969 * sysdeps/x86_64/multiarch/memmove.c: New file.
15970 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15971 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15972 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15973 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
15974 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
15975 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
15976 Define.
15977 (index_Fast_Copy_Backward): Define.
15978 (HAS_ARCH_FEATURE): Define.
15979 (HAS_FAST_REP_STRING): Define.
15980 (HAS_FAST_COPY_BACKWARD): Define.
15981
4e733bac 159822010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
15983
15984 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15985 Restore proper fallback handling.
15986
63c4ed22
UD
159872010-06-19 Ulrich Drepper <drepper@redhat.com>
15988
ac2b484c
UD
15989 [BZ #11701]
15990 * posix/group_member.c (__group_member): Correct checking loop.
15991
63c4ed22
UD
15992 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
15993 OOM in getpwuid_r correctly. Return error number when the caller
15994 should return, otherwise -1.
15995 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
15996 call returning > 0 value.
15997 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
15998
765ade4b
AS
159992010-06-07 Andreas Schwab <schwab@redhat.com>
16000
16001 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16002 libc_nonshared.a from targets in modules-names.
16003
80da2e09
KS
160042010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16005
16006 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16007 requires it.
16008
158db122
LM
160092010-06-10 Luis Machado <luisgpm@br.ibm.com>
16010
16011 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16012 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16013 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16014 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16015
caa78cf8
AS
160162010-06-02 Andreas Schwab <schwab@redhat.com>
16017
16018 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16019
b2ef2c01
UD
160202010-06-14 Ulrich Drepper <drepper@redhat.com>
16021
16022 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16023 and F_GETPIPE_SZ.
16024 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16025 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16026 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16027 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16028 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16029 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16030
fbd643b6
RM
160312010-06-14 Roland McGrath <roland@redhat.com>
16032
16033 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16034
f32f2869
JJ
160352010-06-07 Jakub Jelinek <jakub@redhat.com>
16036
16037 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16038 __REDIRECT followed by __THROW.
16039 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16040 * posix/getopt.h (getopt): Likewise.
16041
2a50c078
EPM
160422010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16043
16044 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16045 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16046 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16047 in AT_FLAGS.
16048 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16049 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16050
eb5ad2eb
LM
160512010-05-28 Luis Machado <luisgpm@br.ibm.com>
16052
16053 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16054
3c88fe1e
L
160552010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16056
16057 [BZ #11640]
16058 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16059 Properly check family and model.
16060
d2f73151
TY
160612010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16062
16063 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16064
ebd2e13d
LM
160652010-05-24 Luis Machado <luisgpm@br.ibm.com>
16066
16067 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16068
b32b8b45
UD
160692010-05-21 Ulrich Drepper <drepper@redhat.com>
16070
16071 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16072 symbol reference.
16073
9acbe24d
AS
160742010-05-19 Andreas Schwab <schwab@redhat.com>
16075
16076 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16077 symbol reference.
16078
f0ccf6ea
AS
160792010-05-21 Andreas Schwab <schwab@redhat.com>
16080
3d04ff3a
AS
16081 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16082 and internal_recvmmsg.
16083 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16084 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16085 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16086 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16087
f0ccf6ea
AS
16088 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16089 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16090 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16091
5b08ac57
AS
160922010-05-20 Andreas Schwab <schwab@redhat.com>
16093
16094 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16095
4828935d
LM
160962010-05-17 Luis Machado <luisgpm@br.ibm.com>
16097
16098 POWER7 optimizations.
16099 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16100 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16101
373d545e
UD
161022010-05-19 Ulrich Drepper <drepper@redhat.com>
16103
16104 * version.h: Update for 2.13 development version.
16105
21a2b1ae
AS
161062010-05-12 Andrew Stubbs <ams@codesourcery.com>
16107
16108 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16109 exceptions. Return 0.
16110
3f7dcb2b
RM
161112010-05-07 Roland McGrath <roland@redhat.com>
16112
16113 * elf/ldconfig.c (main): Add a const.
16114
5f24d53a 161152010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16116
a160f8d8
UD
16117 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16118 (args_options): Add no-idn option.
16119 (ahosts_keys_int): Add idn_flags to ai_flags.
16120 (parse_option): Handle 'i' option to clear idn_flags.
16121
5f24d53a
UD
16122 * malloc/malloc.c (_int_free): Possible race in the most recently
16123 added check. Only act on the data if no current modification
16124 happened.
265bb1ce
UD
16125
16126See ChangeLog.17 for earlier changes.