]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use x86_64 bits/epoll.h for both i386 and x86_64
[thirdparty/glibc.git] / ChangeLog
CommitLineData
42bbb1c3
L
12012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2
3 [BZ #14117]
578cd270
L
4 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
5 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6
de662f5f
L
7 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
9 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10
25653439
L
11 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
13 to ...
14 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15
6bad24a0
L
16 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19
42bbb1c3
L
20 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21 for x86-64.
22 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
23
2d10d547
JM
242012-05-31 Joseph Myers <joseph@codesourcery.com>
25
26 * math/math.h (M_El): Use two more decimal places.
27 (M_LOG2El): Likewise.
28 (M_LOG10El): Likewise.
29 (M_LN2l): Likewise.
30 (M_LN10l): Likewise.
31 (M_PIl): Likewise.
32 (M_PI_2l): Likewise.
33 (M_PI_4l): Likewise.
34 (M_1_PIl): Likewise.
35 (M_2_PIl): Likewise.
36 (M_2_SQRTPIl): Likewise.
37 (M_SQRT2l): Likewise.
38 (M_SQRT1_2l): Likewise.
39
f230c29b
DM
402012-05-31 David S. Miller <davem@davemloft.net>
41
42 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
43 values between float registers.
44 * sysdeps/sparc/sparc64/memset.S: Likewise.
45 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46
fed806c3
MF
472012-05-31 Mike Frysinger <vapier@gentoo.org>
48
49 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
50 -D_FORTIFY_SOURCE=1.
51 (CPPFLAGS-tst-longjmp_chk.c): Define.
52 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
53 (CPPFLAGS-tst-longjmp_chk2.c): Define.
54 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
55 CFLAGS-tst-wchar-h.c.
56
30917259
MP
572012-05-31 Marek Polacek <polacek@redhat.com>
58
59 [BZ #14132]
60 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
61 __endmntent_internal): Remove declaration.
62 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
63 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
64 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
65
1c58d5dc
DM
662012-05-30 David S. Miller <davem@davemloft.net>
67
68 * sysdeps/sparc/sparc32/soft-fp/q_util.c
69 (___Q_simulate_exceptions): Use real FP ops rather than writing
70 into the %fsr.
71 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
72 Likewise.
73
7dc00e0d
L
742012-05-30 H.J. Lu <hongjiu.lu@intel.com>
75
76 [BZ #14117]
0bd53985
L
77 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
78 * sysdeps/x86/bits/xtitypes.h: This.
79
3a257e66
L
80 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
81 * sysdeps/x86/bits/wordsize.h: This.
82
62f62904
L
83 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
84 * sysdeps/x86/bits/huge_vall.h: This.
85
404fe9d9
L
86 * sysdeps/i386/bits/select.h: Removed.
87 * sysdeps/x86_64/bits/select.h: Renamed to ...
88 * sysdeps/x86/bits/select.h: This.
89
d48d0446
L
90 * sysdeps/i386/bits/setjmp.h: Removed.
91 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
92 * sysdeps/x86/bits/setjmp.h: This.
93
7dc00e0d
L
94 * sysdeps/i386/bits/mathdef.h: Removed.
95 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
96 * sysdeps/x86/bits/mathdef.h: This.
97
03277f8f
AS
982012-05-30 Andreas Schwab <schwab@linux-m68k.org>
99
100 [BZ #14132]
101 * include/sys/socket.h (__connect_internal)
102 (__libc_sa_len_internal): Remove declaration.
103 (__connect, __libc_sa_len): Declare hidden_proto.
104 (SA_LEN): Remove use of INTUSE.
105 * socket/connect.c: Add libc_hidden_def.
106 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
107 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
108 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
109 alias.
110 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
111 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
112 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
113 of adding _internal alias.
114
13764867
L
1152012-05-30 H.J. Lu <hongjiu.lu@intel.com>
116
117 [BZ #14117]
6bd97696
L
118 * sysdeps/i386/bits/link.h: Removed.
119 * sysdeps/i386/bits/linkmap.h: Likewise.
120 * sysdeps/x86_64/bits/link.h: Renamed to ...
121 * sysdeps/x86/bits/link.h: This.
122 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
123 * sysdeps/x86/bits/linkmap.h: This.
124
f726f0bb
L
125 * sysdeps/i386/bits/endian.h: Removed.
126 * sysdeps/x86_64/bits/endian.h: Renamed to ...
127 * sysdeps/x86/bits/endian.h: This.
128
13764867
L
129 * sysdeps/i386/bits/byteswap.h: Removed.
130 * sysdeps/i386/bits/byteswap-16.h: Likewise.
131 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
132 * sysdeps/x86/bits/byteswap.h: This.
133 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
134 * sysdeps/x86/bits/byteswap-16.h: This.
135 * sysdeps/i386/Implies: Add x86.
136 * sysdeps/x86_64/Implies: Likewise.
137
ae251b0b
DM
1382012-05-30 David S. Miller <davem@davemloft.net>
139
140 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
141 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
142 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
143 (FP_TRAPPING_EXCEPTIONS): Define.
144 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
145 (FP_TRAPPING_EXCEPTIONS): Define.
146 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
147 subnormals only when inexact has been signalled or underflow
148 exceptions are enabled.
149 (_FP_PACK_CANONICAL): Likewise.
150
d5c90867
L
1512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
152
153 [BZ #14183]
154 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
155 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
156
63f1549e
RH
1572012-05-30 Richard Henderson <rth@twiddle.net>
158
8d8f2279
RH
159 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
160 with #ifndef NOT_IN_libc.
161
63f1549e
RH
162 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
163 marked to avoid plt entry.
164
0ab0291b
L
1652012-05-30 H.J. Lu <hongjiu.lu@intel.com>
166
167 [BZ #14112]
168 * Makeconfig (default-abi): New macro.
169 (abi-includes): Likewise.
170 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
171 $(abi-$(default-abi)-lib-soname) for soname if defined.
172 ($(common-objpfx)gnu/lib-names.stmp): Generate from
173 abi-variants.
174 * Makefile (installed-stubs): Likewise.
175 * include/stubs-biarch.h: Removed.
176 * scripts/lib-names.awk: Only handle one library at a time.
177 * scripts/soversions.awk: Remove WORDSIZE support.
178 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
179 entries.
180 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
181 Removed.
182 (syscall-list-default-condition): Likewise.
183 (syscall-list-default-condition): Likewise.
184 (syscall-list-includes): Likewise.
185 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
186 syscall-list-* with abi-*. Handle undefined abi-variants.
187 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
188 * sysdeps/unix/sysv/linux/i386/Implies: New file.
189 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
190 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
191 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
192 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
193 Removed.
194 (syscall-list-32-options): Likewise.
195 (syscall-list-32-condition): Likewise.
196 (syscall-list-64-options): Likewise.
197 (syscall-list-64-condition): Likewise.
198 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
199 macro.
200 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
201 Renamed to ...
202 (abi-*): This.
203 (abi-64-ld-soname): New macro.
204 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
205 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
206 Renamed to ...
207 (abi-*): This.
208 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
209 * sysdeps/x86_64/x32/shlib-versions: Likewise.
210
4da0431d
JM
2112012-05-30 Joseph Myers <joseph@codesourcery.com>
212
3a85279c
JM
213 * sysdeps/unix/sysv/linux/kernel-features.h
214 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
215 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
216 include <kernel-features.h>.
217 [!__NR_ftruncate64]: Remove conditional code.
218 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
219 [__NR_ftruncate64]: Make code unconditional.
220 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
221 * sysdeps/unix/sysv/linux/truncate64.c: Do not
222 include <kernel-features.h>.
223 [!__NR_ftruncate64]: Remove conditional code.
224 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
225 [__NR_ftruncate64]: Make code unconditional.
226 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
228 include <kernel-features.h>.
229 [!__NR_ftruncate64]: Remove conditional code.
230 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
231 [__NR_ftruncate64]: Make code unconditional.
232 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
234 include <kernel-features.h>.
235 [!__NR_ftruncate64]: Remove conditional code.
236 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
237 [__NR_ftruncate64]: Make code unconditional.
238 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
239
4da0431d
JM
240 * configure.in (libc_cv_fpie): Weaken to a compile test using
241 LIBC_TRY_CC_OPTION.
242 * configure: Regenerated.
243
11ef492c
AK
2442012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
245
246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
250 Refreshed.
251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
257 Refreshed.
258
d66ef399
DM
2592012-05-27 David S. Miller <davem@davemloft.net>
260
261 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
262 (___Q_zero): New.
263 (__Q_simulate_exceptions): Return void. Change to simulate
264 exceptions by writing into the %fsr.
265 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
266 (__Qp_handle_exceptions): Likewise.
267 (numbers): Delete.
268 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
269 __Qp_handle_exceptions.
270 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
271 __Qp_handle_exceptions.
272 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
273 as unused and give dummy FP_RND_NEAREST initializer.
274 (FP_INHIBIT_RESULTS): Define.
275 (___Q_simulate_exceptions): Update declaration.
276 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
277 formatting.
278 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
279 as unused and give dummy FP_RND_NEAREST initializer.
280 (__Qp_handle_exceptions): Update declaration.
281 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
282 formatting.
283
04fb54b5
TS
2842012-05-27 Thomas Schwinge <thomas@codesourcery.com>
285
286 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
287 the temporary FPU control word.
288 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
289 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
290 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
291 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
292 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
293 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
294 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
295 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
296 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
297 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
298 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
299
3f99608f
KK
3002012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
301
302 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
303 fields.
304
65a4de4e
CLT
3052012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
306
307 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
308 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
309 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
310 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
311 Likewise.
312 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
313 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
314 Likewise.
315
15749d40
UD
3162012-05-27 Ulrich Drepper <drepper@gmail.com>
317
318 * po/h.po: Update from translation team.
319
25dbcb27
AS
3202012-05-26 Andreas Schwab <schwab@linux-m68k.org>
321
3d3f8e55
AS
322 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
323
25dbcb27
AS
324 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
325 handling of denormals.
326 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
327 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
328 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
329 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
330 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
331 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
332 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
333 Likewise.
334
7ad47a80 3352012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
336
337 [BZ #14152]
338 * math/libm-test.inc (fma_test): Don't always expect underflow
339 exception.
340
9c6ea9fa
SP
3412012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
342
343 [BZ #12416]
344 * elf/tst-execstack.c: Include stackinfo.h.
345 (do_test): Adjust test case to ensure that pthread_getattr_np
346 behaviour remains the same after marking stack executable.
347
a8239222
JM
3482012-05-25 Joseph Myers <joseph@codesourcery.com>
349
350 * sysdeps/unix/sysv/linux/kernel-features.h
351 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
352 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
353 kernel-features.h.
354 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
355 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
356 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
357 kernel-features.h.
358 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
359 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
360
918b5606
L
3612012-05-25 H.J. Lu <hongjiu.lu@intel.com>
362
363 * configure.in: Define the default includes to being none.
364 * configure: Regenerated.
365
3a097cc7
RM
3662012-05-25 Roland McGrath <roland@hack.frob.com>
367
8422c9a5
RM
368 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
369 * sysdeps/x86_64/setjmp.S: Likewise.
370 * sysdeps/i386/bsd-setjmp.S: Likewise.
371 * sysdeps/i386/bsd-_setjmp.S: Likewise.
372 * sysdeps/i386/setjmp.S: Likewise.
373 * sysdeps/i386/__longjmp.S: Likewise.
374 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
375 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
376
3a097cc7
RM
377 * include/stap-probe.h: New file.
378 * configure.in: Handle --enable-systemtap.
379 * configure: Regenerated.
380 * config.h.in (USE_STAP_PROBE): New #undef.
381 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
382 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
383 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
384
21708942
JM
3852012-05-25 Joseph Myers <joseph@codesourcery.com>
386
387 [BZ #13717]
388 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
389 to 2.4.0 where earlier.
390 * sysdeps/unix/sysv/linux/configure: Regenerated.
391 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
392 <kernel-features.h>.
393 [__ASSUME_32BITUIDS]: Make code unconditional.
394 [!__ASSUME_32BITUIDS]: Remove conditional code.
395 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
396 <kernel-features.h>.
397 [__ASSUME_32BITUIDS]: Make code unconditional.
398 [!__ASSUME_32BITUIDS]: Remove conditional code.
399 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
400 [__ASSUME_32BITUIDS]: Make code unconditional.
401 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
402 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.c: Do not include
427 <kernel-features.h>.
428 [__ASSUME_32BITUIDS]: Make code unconditional.
429 [!__ASSUME_32BITUIDS]: Remove conditional code.
430 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
431 <kernel-features.h>.
432 [__ASSUME_32BITUIDS]: Make code unconditional.
433 [!__ASSUME_32BITUIDS]: Remove conditional code.
434 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
435 <kernel-features.h>.
436 [__ASSUME_32BITUIDS]: Make code unconditional.
437 [!__ASSUME_32BITUIDS]: Remove conditional code.
438 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
439 <kernel-features.h>.
440 [__ASSUME_32BITUIDS]: Make code unconditional.
441 [!__ASSUME_32BITUIDS]: Remove conditional code.
442 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
443 <kernel-features.h>.
444 [__NR_setresgid] (__setresgid): Do not declare.
445 [__ASSUME_32BITUIDS]: Make code unconditional.
446 [!__ASSUME_32BITUIDS]: Remove conditional code.
447 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
448 <kernel-features.h>.
449 [__NR_setresuid] (__setresuid): Do not declare.
450 [__ASSUME_32BITUIDS]: Make code unconditional.
451 [!__ASSUME_32BITUIDS]: Remove conditional code.
452 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/i386/setresuid.c: Do not include
477 <kernel-features.h>.
478 [__ASSUME_32BITUIDS]: Make code unconditional.
479 [!__ASSUME_32BITUIDS]: Remove conditional code.
480 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
481 <kernel-features.h>.
482 [__ASSUME_32BITUIDS]: Make code unconditional.
483 [!__ASSUME_32BITUIDS]: Remove conditional code.
484 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
485 <kernel-features.h>.
486 [__ASSUME_32BITUIDS]: Make code unconditional.
487 [!__ASSUME_32BITUIDS]: Remove conditional code.
488 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
489 <kernel-features.h>.
490 [__ASSUME_32BITUIDS]: Make code unconditional.
491 [!__ASSUME_32BITUIDS]: Remove conditional code.
492 * sysdeps/unix/sysv/linux/kernel-features.h
493 (__ASSUME_SETRESUID_SYSCALL): Remove.
494 (__ASSUME_SETRESGID_SYSCALL): Likewise.
495 (__ASSUME_32BITUIDS): Likewise.
496 (__ASSUME_LDT_WORKS): Likewise.
497 (__ASSUME_O_DIRECTORY): Likewise.
498 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
499 architecture but not kernel version.
500 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
501 (__ASSUME_MMAP2_SYSCALL): Likewise.
502 (__ASSUME_STAT64_SYSCALL): Likewise.
503 (__ASSUME_IPC64): Likewise.
504 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
505 <kernel-features.h>.
506 [__ASSUME_32BITUIDS]: Make code unconditional.
507 [!__ASSUME_32BITUIDS]: Remove conditional code.
508 * sysdeps/unix/sysv/linux/opendir.c: Do not include
509 <kernel-features.h>.
510 [__ASSUME_O_DIRECTORY]: Make code unconditional.
511 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
512 132096]: Remove conditional code.
513 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
514 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
515 <kernel-features.h>.
516 [__ASSUME_32BITUIDS]: Make code unconditional.
517 [!__ASSUME_32BITUIDS]: Remove conditional code.
518 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
519 <kernel-features.h>.
520 [__ASSUME_32BITUIDS]: Make code unconditional.
521 [!__ASSUME_32BITUIDS]: Remove conditional code.
522 * sysdeps/unix/sysv/linux/setegid.c: Do not include
523 <kernel-features.h>.
524 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
525 unconditional.
526 (__setresgid): Do not declare.
527 [__ASSUME_32BITUIDS]: Make code unconditional.
528 [!__ASSUME_32BITUIDS]: Remove conditional code.
529 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
530 <kernel-features.h>.
531 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
532 unconditional.
533 (__setresuid): Do not declare.
534 [__ASSUME_32BITUIDS]: Make code unconditional.
535 [!__ASSUME_32BITUIDS]: Remove conditional code.
536 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
537 <kernel-features.h>.
538 [__ASSUME_32BITUIDS]: Make code unconditional.
539 [!__ASSUME_32BITUIDS]: Remove conditional code.
540 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
541 <kernel-features.h>.
542 [__ASSUME_32BITUIDS]: Make code unconditional.
543 [!__ASSUME_32BITUIDS]: Remove conditional code.
544
a386f1cc
RH
5452012-05-25 Richard Henderson <rth@twiddle.net>
546
547 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
548 dl_hwcap to ifunc resolver.
549 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
550 elf_ifunc_invoke.
551 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
552 dl_hwcap to ifunc resolver.
553 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
554
b6550497
JM
5552012-05-24 Joseph Myers <joseph@codesourcery.com>
556
557 [BZ #14153]
558 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
559 for |x| <= 2**-26, not 2**-57.
560 * math/libm-test.inc (acos_test): Do not allow spurious underflow
561 exception.
562
b0bc23a1
JL
5632012-05-24 Jeff Law <law@redhat.com>
564
565 * stdio-common/Makefile (tests): Add bug25.
566 * stdio-common/bug25.c: New test.
567
347c92e9
L
5682012-05-24 H.J. Lu <hongjiu.lu@intel.com>
569
570 [BZ #13576]
571 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
572 multiple of MALLOC_ALIGNMENT in size.
573 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
574
6bcc8b3f
JM
5752012-05-24 Joseph Myers <joseph@codesourcery.com>
576
577 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
578 Require >= 256.
579 (FILENAME_MAX): Use macro-int-constant.
580 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
581 (_IOFBF): Use macro-int-constant.
582 (_IOLBF): Likewise.
583 (_IONBF): Likewise.
584 (SEEK_CUR): Likewise.
585 (SEEK_END): Likewise.
586 (SEEK_SET): Likewise.
587 (TMP_MAX): Likewise.
588 (EOF): Use macro-int-constant. Require < 0.
589 (NULL): Use macro-constant. Require == 0.
590 (stdin): Require type to be FILE *.
591 (stdout): Likewise.
592 (stderr): Likewise.
593 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
594 macro-int-constant.
595 (EXIT_SUCCESS): Likewise.
596 (NULL): Use macro-constant. Require == 0.
597 (RAND_MAX): Use macro-int-constant.
598 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
599 [C99-based standards] (strtof): Require function.
600 [C99-based standards] (strtold): Likewise.
601 [C99-based standards] (strtoll): Likewise.
602 [C99-based standards] (strtoull): Likewise.
603 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
604 [ISO || ISO99 || ISO11] (limits.h): Likewise.
605 [ISO || ISO99 || ISO11] (math.h): Likewise.
606 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
607 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
608 [ISO || ISO99 || ISO11] (*_t): Do not allow.
609
d18ea0c5
AS
6102012-05-24 Andreas Schwab <schwab@linux-m68k.org>
611
612 [BZ #14132]
56d25bb8
AS
613 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
614 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
615 * intl/dgettext.c (DCGETTEXT): Likewise.
616 * intl/gettext.c (DCGETTEXT): Likewise.
617 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
618 * posix/regex_internal.h (gettext): Likewise.
619 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
620 Remove declaration.
621 * include/argz.h (__argz_count_internal)
622 (__argz_stringify_internal): Remove declaration.
623 (__argz_count, __argz_stringify): Declare hidden proto.
624 * intl/dcgettext.c: Remove use of INTDEF.
625 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
626 * string/argz-stringify.c: Likewise.
627 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
628 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
629 Declare hidden proto.
d18ea0c5
AS
630 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
631 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
632 Declare hidden proto.
633 * include/stdio.h (__asprintf_internal): Don't declare.
634 (__asprintf): Don't define as macro. Declare hidden proto.
635 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
636 (__fsetlocking): Declare hidden proto.
637 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
638 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
639 hidden proto.
640 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
641 (_IO_setlinebuf): Remove use of INTUSE.
642 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
643 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
644 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
645 Remove declaration.
646 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
647 (_IO_do_flush): Remove use of INTUSE.
648 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
649 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
650 (_IO_adjust_column, _IO_least_wmarker)
651 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
652 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
653 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
654 (_IO_default_doallocate, _IO_wdefault_doallocate)
655 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
656 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
657 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
658 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
659 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
660 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
661 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
662 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
663 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
664 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
665 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
666 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
667 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
668 proto.
669 (_IO_flush_all_internal, _IO_adjust_column_internal)
670 (_IO_default_uflow_internal, _IO_default_finish_internal)
671 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
672 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
673 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
674 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
675 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
676 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
677 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
678 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
679 (_IO_file_close_internal, _IO_file_close_it_internal)
680 (_IO_file_underflow_internal, _IO_file_overflow_internal)
681 (_IO_file_init_internal, _IO_file_attach_internal)
682 (_IO_file_fopen_internal, _IO_file_read_internal)
683 (_IO_file_sync_internal, _IO_file_seek_internal)
684 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
685 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
686 (_IO_str_underflow_internal, _IO_str_overflow_internal)
687 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
688 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
689 (_IO_list_all_internal, _IO_link_in_internal)
690 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
691 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
692 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
693 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
694 (_IO_do_write_internal, _IO_padn_internal)
695 (_IO_getline_info_internal, _IO_getline_internal)
696 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
697 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
698 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
699 (_IO_vfscanf_internal, _IO_vfprintf_internal)
700 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
701 (_IO_init_internal, _IO_un_link_internal): Don't declare.
702 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
703 with libc_hidden_ver, remove use of INTUSE.
704 * libio/genops.c: Likewise.
705 * libio/freopen.c: Likewise.
706 * libio/freopen64.c: Likewise.
707 * libio/iofclose.c: Likewise.
708 * libio/iofdopen.c: Likewise.
709 * libio/iofflush.c: Likewise.
710 * libio/iofflush_u.c: Likewise.
711 * libio/iofgets.c: Likewise.
712 * libio/iofgets_u.c: Likewise.
713 * libio/iofopen.c: Likewise.
714 * libio/iofopncook.c: Likewise.
715 * libio/iofread.c: Likewise.
716 * libio/iofread_u.c: Likewise.
717 * libio/ioftell.c: Likewise.
718 * libio/iofwrite.c: Likewise.
719 * libio/iogetline.c: Likewise.
720 * libio/iogets.c: Likewise.
721 * libio/iogetwline.c: Likewise.
722 * libio/iopadn.c: Likewise.
723 * libio/iopopen.c: Likewise.
724 * libio/ioseekoff.c: Likewise.
725 * libio/ioseekpos.c: Likewise.
726 * libio/iosetbuffer.c: Likewise.
727 * libio/iosetvbuf.c: Likewise.
728 * libio/ioungetc.c: Likewise.
729 * libio/ioungetwc.c: Likewise.
730 * libio/iovdprintf.c: Likewise.
731 * libio/iovsprintf.c: Likewise.
732 * libio/iovsscanf.c: Likewise.
733 * libio/memstream.c: Likewise.
734 * libio/obprintf.c: Likewise.
735 * libio/oldfileops.c: Likewise.
736 * libio/oldiofclose.c: Likewise.
737 * libio/oldiofdopen.c: Likewise.
738 * libio/oldiofopen.c: Likewise.
739 * libio/oldiopopen.c: Likewise.
740 * libio/oldstdfiles.c: Likewise.
741 * libio/putc.c: Likewise.
742 * libio/setbuf.c: Likewise.
743 * libio/setlinebuf.c: Likewise.
744 * libio/stdfiles.c: Likewise.
745 * libio/strops.c: Likewise.
746 * libio/vasprintf.c: Likewise.
747 * libio/vscanf.c: Likewise.
748 * libio/vsnprintf.c: Likewise.
749 * libio/vswprintf.c: Likewise.
750 * libio/wfiledoalloc.c: Likewise.
751 * libio/wfileops.c: Likewise.
752 * libio/wgenops.c: Likewise.
753 * libio/wmemstream.c: Likewise.
754 * libio/wstrops.c: Likewise.
755 * libio/__fpurge.c: Likewise.
756 * libio/__fsetlocking.c: Likewise.
757 * assert/assert.c: Likewise.
758 * debug/fgets_chk.c: Likewise.
759 * debug/fgets_u_chk.c: Likewise.
760 * debug/fread_chk.c: Likewise.
761 * debug/fread_u_chk.c: Likewise.
762 * debug/gets_chk.c: Likewise.
763 * debug/obprintf_chk.c: Likewise.
764 * debug/vasprintf_chk.c: Likewise.
765 * debug/vdprintf_chk.c: Likewise.
766 * debug/vsnprintf_chk.c: Likewise.
767 * debug/vsprintf_chk.c: Likewise.
768 * malloc/mtrace.c: Likewise.
769 * misc/error.c: Likewise.
770 * misc/syslog.c: Likewise.
771 * stdio-common/asprintf.c: Likewise.
772 * stdio-common/fxprintf.c: Likewise.
773 * stdio-common/getw.c: Likewise.
774 * stdio-common/isoc99_fscanf.c: Likewise.
775 * stdio-common/isoc99_scanf.c: Likewise.
776 * stdio-common/isoc99_vfscanf.c: Likewise.
777 * stdio-common/isoc99_vscanf.c: Likewise.
778 * stdio-common/isoc99_vsscanf.c: Likewise.
779 * stdio-common/printf-prs.c: Likewise.
780 * stdio-common/printf_fp.c: Likewise.
781 * stdio-common/printf_fphex.c: Likewise.
782 * stdio-common/printf_size.c: Likewise.
783 * stdio-common/putw.c: Likewise.
784 * stdio-common/scanf.c: Likewise.
785 * stdio-common/sprintf.c: Likewise.
786 * stdio-common/tmpfile.c: Likewise.
787 * stdio-common/vfprintf.c: Likewise.
788 * stdio-common/vfscanf.c: Likewise.
789 * stdlib/strfmon_l.c: Likewise.
790 * sunrpc/openchild.c: Likewise.
791 * sunrpc/xdr_stdio.c: Likewise.
792 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
793 * sysdeps/mach/hurd/tmpfile.c: Likewise.
794
d6c33fda
RM
7952012-05-24 Roland McGrath <roland@hack.frob.com>
796
c1487492
RM
797 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
798
799 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
800 in the third column, to generate for the shared library an IFUNC
801 that uses _dl_vdso_vsym.
802 * Makerules (COMPILE.c, compile-stdin.c): New variables.
803 * Makeconfig (object-suffixes-noshared): New variable.
804
805 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
806 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
807 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
808 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
809
d6c33fda
RM
810 [BZ #14132]
811 * include/sys/time.h (__gettimeofday): Remove macro.
812 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
813 * time/gettimeofday.c (__gettimeofday): Remove #undef.
814 Remove INTDEF.
815 (__gettimeofday): Add libc_hidden_def.
816 (gettimeofday): Add libc_hidden_weak.
817 * sysdeps/mach/gettimeofday.c: Likewise.
818 * sysdeps/posix/gettimeofday.c: Likewise.
819 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
820 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
821 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
822 (__gettimeofday_internal): Remove strong_alias.
823 (__gettimeofday): Add libc_hidden_def.
824 (gettimeofday): Add libc_hidden_weak.
825 * sysdeps/unix/syscalls.list (gettimeofday):
826 Remove __gettimeofday_internal alias.
827
b5a2bbe6
L
8282012-05-24 Daniel Jacobowitz <drow@false.org>
829 H.J. Lu <hongjiu.lu@intel.com>
830
831 [BZ #12495]
832 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
833 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
834 (largebin_index_32_big): New.
835 (largebin_index): Use it for 16-byte alignment.
836 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
837 correction with front_misalign.
838
cfba4fda
L
8392012-05-24 H.J. Lu <hongjiu.lu@intel.com>
840
7f907421
L
841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
843 Likewise.
844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
845 Likewise.
846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
847 Likewise.
848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
849 Likewise.
850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
851 Likewise.
852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
853 Likewise.
854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
855 Likewise.
856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
857 Likewise.
858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
859 Likewise.
860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
861 Likewise.
862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
863 Likewise.
864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
865 Likewise.
866
cfba4fda
L
867 * scripts/data/c++-types-x32-linux-gnu.data: New file.
868 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
869
80bad0cc
JM
8702012-05-24 Joseph Myers <joseph@codesourcery.com>
871
7a25eb06
JM
872 [BZ #10846]
873 [BZ #14036]
874 * math/libm-test.inc (exp_test): Add test from bug 14036.
875 (pow_test): Add test from bug 10846.
876
795405f9
JM
877 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
878 and other flags.
879 (special_function): Do not include flags in test name.
880 (parse_args): Likewise.
881 * sysdeps/i386/fpu/libm-test-ulps: Update.
882 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
883 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
884 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
886
80bad0cc
JM
887 * math/gen-libm-test.pl (%beautify): Add entries for underflow
888 exceptions.
889 * math/libm-test.inc ("Philosophy"): Update comment about
890 exception testing.
891 (UNDERFLOW_EXCEPTION): New macro.
892 (UNDERFLOW_EXCEPTION_OK): Likewise.
893 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
894 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
895 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
896 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
897 (INVALID_EXCEPTION_OK): Update value.
898 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
899 (OVERFLOW_EXCEPTION_OK): Likewise.
900 (IGNORE_ZERO_INF_SIGN): Likewise.
901 (test_exceptions): Handle underflow exceptions.
902 (acos_test): Update for underflow exception expectations.
903 (cexp_test): Likewise.
904 (clog_test): Likewise.
905 (clog10_test): Likewise.
906 (csqrt_test): Likewise.
907 (ctan_test): Likewise.
908 (ctanh_test): Likewise.
909 (exp_test): Likewise.
910 (exp10_test): Likewise.
911 (exp2_test): Likewise.
912 (expm1_test): Likewise.
913 (fma_test): Likewise.
914 (j0_test): Likewise.
915 (jn_test): Likewise.
916 (nexttoward_test): Likewise.
917 (pow_test): Likewise.
918 (scalbn_test): Likewise.
919 (scalbln_test): Likewise.
920 (tan_test): Likewise.
921 (y1_test): Likewise.
922 * sysdeps/i386/fpu/libm-test-ulps: Update.
923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
924
9e0e3d0b
DM
9252012-05-23 David S. Miller <davem@davemloft.net>
926
927 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
928 (__libc_sigaction): Remove unused local variables.
929
ccd0a08f
L
9302012-05-23 H.J. Lu <hongjiu.lu@intel.com>
931
932 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
933
62bdf9a6
PE
9342012-05-23 Paul Eggert <eggert@cs.ucla.edu>
935
f8591f80
PE
936 mktime: avoid signed integer overflow
937 * time/mktime.c (__mktime_internal): Do not mishandle the case
938 where diff == INT_MIN.
939
94c7d826
PE
940 mktime: simplify computation of average
941 * time/mktime.c (ranged_convert): Use new time_t_avg function
942 instead of rolling our own (probably-slower) code.
943
ce73d683
PE
944 mktime: do not assume signed right shift propagates sign bit
945 * time/mktime.c (isdst_differ): New static function.
946 (__mktime_internal): No need to normalize tm_isdst now.
947 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
948 tm_isdst values.
949
72a22e59
PE
950 mktime: merge another wrapv change from gnulib
951 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
952 from some compilers.
953
68605433
PE
954 mktime: remove incorrect attempt at unusual arithmetics
955 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
956 The code didn't really work on such machines anyway.
957 (TYPE_MINIMUM): Assume two's complement.
958 (twos_complement_arithmetic): Verify that long_int and time_t
959 are two's complement (or unsigned, in the latter case).
960
03cf7fe3
PE
961 mktime: check signed shifts on long_int and time_t, too
962 * time/mktime.c (SHR): Check that shifts work as desired
963 on the types long_int and time_t too, as SHR is used on
964 such types.
965
f04dfbc2
PE
966 mktime: do not assume 'long' is wide enough
967 * time/mktime.c (verify): Move decl up.
968 (long_int): New type.
969 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
970 to remove assumption in the code that 'long' is wide enough to
971 store year values. This assumption is not true on x32 and on
972 some non-glibc platforms.
973
62bdf9a6
PE
974 mktime: merge wrapv change from gnulib
975 * time/mktime.c (WRAPV): New macro.
976 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
977 (guess_time_tm, __mktime_internal): Do not assume that signed
978 integer overflow wraps around; modern compilers generate code
979 where this assumption is no longer valid.
980
5e292e4f
L
9812012-05-23 H.J. Lu <hongjiu.lu@intel.com>
982
983 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
984 Replace "jmp L(pseudo_end)" with "ret".
985 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
986 Likewise.
987
8caf8c87
AJ
9882012-05-23 Andreas Jaeger <aj@suse.de>
989
990 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
991 * sysdeps/unix/sysv/linux/poll.c: Remove file.
992
1a09dc56
AJ
9932012-05-23 Andreas Jaeger <aj@suse.de>
994 Maximilian Attems <max@stro.at>
995
996 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
997 New macros.
998
1c87aba0
L
9992012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1000
1001 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1002 code so that pseudo_end is just ret and the stack pointer is
1003 correct also for static library in error case.
1004
40e45bd5
JM
10052012-05-23 Joseph Myers <joseph@codesourcery.com>
1006
c2670533
JM
1007 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1008 move to syscalls.list.
1009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1013
40e45bd5
JM
1014 * manual/install.texi (Running make install): Do not mention Linux
1015 kernel version for which pt_chown is not needed.
1016 (Linux): Do not mention problems with nscd with 2.0 kernels.
1017 * INSTALL: Regenerated.
1018
be08eda5
AJ
10192012-05-23 Andreas Jaeger <aj@suse.de>
1020
1021 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1022 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1023 macro.
1024 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1025 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1026 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1027 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1028 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1029 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1030 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1031 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1032 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1033 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1034 * sysdeps/unix/sysv/linux/bits/in.h
1035 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1036
a6a056bb
RM
10372012-05-22 Roland McGrath <roland@hack.frob.com>
1038
1039 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1040 (PREPARE_VERSION): Just use assert instead, it will be elided
1041 under [NDEBUG] anyway.
1042
c9009328
L
10432012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1044
1045 * sysdeps/unix/sysv/linux/Makefile: Include
1046 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1047 (sysdep_routines): Remove sysctl.
c9009328
L
1048 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1049 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1050 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1051 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1052 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1053
73338355
AJ
10542012-05-22 Andreas Jaeger <aj@suse.de>
1055
1056 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1057 that pseudo_end is just ret and the stack pointer is correct also
1058 for static library in error case.
1059
d44638b0
PP
10602012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1061
1062 [BZ #14122]
1063 * nss/nsswitch.c (defconfig_entries): New variable.
1064 (__nss_database_lookup): Don't leak defconfig entries.
1065 (nss_parse_service_list): Don't leak on error paths.
1066 (free_database_entries): New function.
1067 (free_defconfig): New function.
1068 (free_mem): Move common code to free_database_entries.
1069
31a39bd8
L
10702012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1071
da0331a8
L
1072 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1073 Add arch_prctl.
1074 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1075
31a39bd8
L
1076 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1077 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1078 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1079 New macro.
1080 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1081 (INTERNAL_SYSCALL_TYPES): Likewise.
1082 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1083 (LOAD_REGS_TYPES_[1-6]): Likewise.
1084 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1085 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1086
45470df3
AZ
10872012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1088
1089 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1090 copysignl for GLIBC_2_0.
1091 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1092 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1093 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1094 logbl for GLIBC_2_0.
1095 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1096 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1097
98a61bcb
L
10982012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1099
a4f6e481
L
1100 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1101 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1102
f63d5db6
L
1103 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1104 Use "neg %eax".
1105
98a61bcb
L
1106 * time/mktime.c: Update copyright years.
1107
95770f14
PE
11082012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1109
6226efbd
PE
1110 mktime: merge comment-quoting-style change from gnulib
1111 * time/mktime.c: Quote 'like this' in comments.
1112 The GNU coding standards suggest that we no longer quote `like this',
1113 as "`" and "'" are typically rendered asymmetrically nowadays.
1114 The typical gnulib style is to quote 'like this' when quoting
1115 code, and "like this" when quoting English.
1116
b99e4f78
PE
1117 * time/mktime.c (compile-command): Add "-I.".
1118
643e01e6
PE
1119 mktime: merge mktime-internal.h change from gnulib
1120 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1121
2554247d
PE
1122 mktime: merge time_r change from gnulib
1123 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1124
826dd0ab
PE
1125 mktime: merge DEBUG change from gnulib
1126 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1127 case system <time.h> has a #define.
1128
bd83aabe
PE
1129 mktime: merge <sys/types.h> change from gnulib
1130 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1131 since <time.t> is now guaranteed to define time_t.
1132
95770f14
PE
1133 mktime: merge HAVE_CONFIG_H change from gnulib
1134 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1135
5e1a27a9
L
11362012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1137
0e44a77e
L
1138 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1139 Use "neg %eax".
1140
5e1a27a9
L
1141 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1142 __rlim_t cast.
1143 (struct rusage): Use anonymous union to pad each field to
1144 __syscall_slong_t.
1145
46259bec
DM
11462012-05-21 David S. Miller <davem@davemloft.net>
1147
1148 * Makefules (o-iterator): Remove .s cases.
1149 (compile-command.s): Delete.
1150 (COMPILE.s): Delete.
1151 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1152
59f0c22e
JM
11532012-05-21 Joseph Myers <joseph@codesourcery.com>
1154
1155 * configure.in (libc_cv_predef_stack_protector): Only consider
1156 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1157 * configure: Regenerated.
1158
20c07380
L
11592012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1160
bbb3154b
L
1161 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1162 New macro. Use R*LP on int and pointer.
1163 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1164 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1165 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1166 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1167
20c07380
L
1168 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1169 [__WORDSIZE_TIME64_COMPAT32] instead of
1170 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1171 (struct utmp): Likewise.
1172 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1173 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1174 Renamed to ...
1175 (__WORDSIZE_TIME64_COMPAT32): This.
1176 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1177 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1178 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1179 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1180 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1181 (__WORDSIZE_TIME64_COMPAT32): New macro.
1182
d8d1017e
AJ
11832012-05-21 Andreas Jaeger <aj@suse.de>
1184
1185 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1186 only if [SHARED]. Add prototype for __wcschr_ia32.
1187
6c7fb145
RM
11882012-05-21 Roland McGrath <roland@hack.frob.com>
1189
1190 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1191 of %rbp unmolested in the jmp_buf while mangling the low bits.
1192 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1193 unmolested high bits of %rbp while demangling the low bits.
1194 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1195
66274218
AJ
11962012-05-21 Andreas Jaeger <aj@suse.de>
1197
07c58f8f
AJ
1198 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1199 * sunrpc/svc_simple.c: Use it for registerrpc.
1200 * sunrpc/xcrypt.c: Use it for passwd2des.
1201
66274218
AJ
1202 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1203
61f65140
L
12042012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1205
1206 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1207 Don't define if [__SYSCALL_WORDSIZE != 32].
1208 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1209 New macro.
1210
5fefb436
AJ
12112012-05-21 Bruno Haible <bruno@clisp.org>
1212 Andreas Jaeger <aj@suse.de>
1213
1214 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1215 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1216 inptr and inend for must_buffer_ch.
1217 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1218 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1219 * stdio-common/Makefile (tests): Remove bug15.
1220 (bug15-ENV): Remove macro.
1221 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1222 anymore.
1223
d8e272ab
AJ
12242012-05-19 Andreas Jaeger <aj@suse.de>
1225 Roland McGrath <roland@hack.frob.com>
1226
1227 * manual/contrib.texi: Completely rewritten. It contains now an
1228 alphabetical list of contributors and their contributions.
1229
4a56a162
RH
12302012-05-21 Richard Henderson <rth@twiddle.net>
1231
1232 * misc/getauxval.c (__getauxval): Use unsigned long int.
1233 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1234 (getauxval): Use unsigned long int.
1235
d024d23c
L
12362012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1237
1238 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1239
cbc00a03
RM
12402012-05-21 Roland McGrath <roland@hack.frob.com>
1241
1242 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1243 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1244 __alignof__ (long double).
1245
478143fa
AZ
12462012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1247
1248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1249
c7683a6d
RH
12502012-05-20 Richard Henderson <rth@twiddle.net>
1251
1252 * misc/getauxval.c: New file.
1253 * misc/sys/auxv.h: New file.
1254 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1255 (routines): Add getauxval.
1256 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1257 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1258 * elf/dl-sysdep.c (_dl_auxv): Remove.
1259 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1260 * elf/dl-support.c (_dl_auxv): New variable.
1261 (_dl_aux_init): Initialize it.
1262 * manual/startup.texi (Auxiliary Vector): New node.
1263 * sysdeps/generic/bits/hwcap.h: New file.
1264 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1265 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1266 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1267 * sysdeps/sparc/sysdep.h: ... here. Include it.
1268 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1269 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1271 Update.
c7683a6d
RH
1272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1275 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1276 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1277 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1278 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1280
a6f1845d
AZ
12812012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1282
1283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1284
cbcbe830
DM
12852012-05-19 David S. Miller <davem@davemloft.net>
1286
1287 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1288
e0b16cc2
JM
12892012-05-19 Joseph Myers <joseph@codesourcery.com>
1290
1291 [BZ #14123]
1292 * math/s_ccosh.c: Include <float.h>
1293 (__ccosh): Avoid internal overflow calculating sinh and cosh
1294 values before multiplying by sin and cos values.
1295 * math/s_ccoshf.c: Likewise.
1296 * math/s_ccoshl.c: Likewise.
1297 * math/s_csin.c: Likewise.
1298 * math/s_csinf.c: Likewise.
1299 * math/s_csinl.c: Likewise.
1300 * math/s_csinh.c: Likewise.
1301 * math/s_csinhf.c: Likewise.
1302 * math/s_csinhl.c: Likewise.
1303 * math/libm-test.inc (ccos_test): Add more tests.
1304 (ccosh_test): Likewise.
1305 (csin_test): Likewise.
1306 (csinh_test): Likewise.
1307 * sysdeps/i386/fpu/libm-test-ulps: Update.
1308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1309
6ad13e08
L
13102012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1311
f66f0ce8
L
1312 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1313 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1314
6ad13e08
L
1315 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1316
b1d072a7
JM
13172012-05-19 Joseph Myers <joseph@codesourcery.com>
1318
1319 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1320 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1321 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1322 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1323 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1324 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1325 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1326 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1327 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1328 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1329 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1330 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1331 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1332 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1333 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1334 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1335 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1336 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1337 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1338 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1339 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1340 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1341 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1342 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1343 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1344 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1345 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1346 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1347 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1348 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1349 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1350
9eae47cb
AJ
13512012-05-18 Andreas Jaeger <aj@suse.de>
1352
1353 * csu/.gitignore: Delete.
1354
bb07f69f
L
13552012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1356
1357 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1358 (timex): Use __syscall_slong_t.
1359
e6bdb741
AJ
13602012-05-18 Andreas Jaeger <aj@suse.de>
1361 Carlos O'Donell <carlos_odonell@mentor.com>
1362
1363 * manual/install.texi (Configuring and compiling): Update
1364 description about files modified in the source directory.
d6c33fda 1365 * INSTALL: Regenerated.
e6bdb741 1366
1b74487e
L
13672012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1368
1369 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1370 value. Use "or" to set return value to -1.
1371 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1372 negate return value.
1373
a88b64b9
TMQMF
13742012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1375
1376 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1377 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1378 failure if the compiler has Graphite support disabled.
1379 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1380 Likewise.
1381 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1382 CFLAGS-memmove.c): Likewise.
1383 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1384 Likewise.
1385
3707636e
L
13862012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1387
610b8622
L
1388 * sysdeps/x86_64/x32/_itoa.h: New file.
1389
7cd195df
L
1390 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1391 getdents system call only if kernel and user dirents have the
1392 same d_ino and d_off.
1393
94b07d20
L
1394 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1395 LLONG_MAX != LONG_MAX.
1396 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1397 (_fitoa_word): Likewise.
1398
18298070
L
1399 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1400 years.
1401 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1402 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1403 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1404
553c7ea4
L
1405 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1406 include <bits/wordsize.h>. Check __x86_64__ instead of
1407 __WORDSIZE.
1408 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1409 if __x86_64__ is defined. Use anonymous union on fpstate.
1410
3707636e
L
1411 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1412 anonymous union.
1413
b53ef01a
AS
14142012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1415
37fb1dc0
AS
1416 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1417 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1418 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1419 Refer to _rtld_local_ro instead of _rtld_global_ro.
1420 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1421 Likewise.
1422 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1423 Likewise.
1424 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1425 Likewise.
1426 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1427 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1428 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1429
b53ef01a
AS
1430 * sysdeps/powerpc/powerpc32/dl-machine.c
1431 (__elf_machine_runtime_setup) [PROF]: Don't reference
1432 _dl_prof_resolve.
1433
7a185db2
AJ
14342012-05-18 Andreas Jaeger <aj@suse.de>
1435
1436 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1437 function only available for GCCs before 3.4 since GCC 3.4
1438 introduced a builtin.
1439 (lrint): Likewise.
1440 (llrintf): Likewise.
1441 (llrint): Likewise.
1442 (fmaxf): Likewise.
1443 (fmax): Likewise.
1444 (fminf): Likewise.
1445 (fmin): Likewise.
1446 (rint): Likewise.
1447 (rintf): Likewise.
1448 (nearbyint): Likewise.
1449 (nearbyintf): Likewise.
1450 (ceil): Likewise.
1451 (ceilf): Likewise.
1452 (floor): Likewise.
1453 (floorf): Likewise.
1454
3e5aef87
L
14552012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1456
428bd707
L
1457 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1458 on both fields and cast pointer to __syscall_ulong_t.
1459
3e5aef87
L
1460 * bits/types.h (__fsword_t): New type.
1461 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1462 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1463 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1464 (__FSWORD_T_TYPE): Likewise.
1465 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1466 (__FSWORD_T_TYPE): Likewise.
1467 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1468 (__FSWORD_T_TYPE): Likewise.
1469 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1470 (__FSWORD_T_TYPE): Likewise.
1471 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1472 __SWORD_TYPE with __fsword_t.
1473 (statfs64): Likewise.
1474
1ba7c3dc
DM
14752012-05-17 David S. Miller <davem@davemloft.net>
1476
1477 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1478
59910343
AJ
14792012-05-17 Andreas Jaeger <aj@suse.de>
1480
1481 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1482 warning.
1483
2e4c1e9e
L
14842012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1485
1486 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1487
de7f5ce7
AJ
14882012-05-17 Andreas Jaeger <aj@suse.de>
1489
1490 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1491 when it is used.
1492
286abc3d
CM
14932012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1494
1495 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1496
477cc68e
L
14972012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1498
1499 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1500 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1501
1a0994f5
CD
15022012-05-17 Andreas Jaeger <aj@suse.de>
1503 Carlos O'Donell <carlos_odonell@mentor.com>
1504
1505 [BZ #14059]
1506 * sysdeps/x86_64/multiarch/init-arch.h
1507 (bit_YMM_Usable): Rename to...
1508 (bit_AVX_Usable): ... this.
1509 (bit_FMA4_Usable): New macro.
1510 (bit_XMM_state): New macro.
1511 (bit_YMM_state): New macro.
1512 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1513 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1514 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1515 (CPUID_OSXSAVE): New macro.
1516 (CPUID_AVX): New macro.
1517 (CPUID_FMA4): New macro.
1518 (index_YMM_Usable): Rename to...
1519 (index_AVX_Usable): ... this.
1520 (HAS_AVX): Use HAS_ARCH_FEATURE.
1521 (HAS_FMA4): Likewise.
1522 (HAS_YMM_USABLE): Remove.
1523 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1524 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1525 are present.
1526 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1527 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1528 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1529 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1530 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1531
0af797de
CM
15322012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1533
1534 * math/libm-test.c: Support platforms without multiple rounding modes.
1535 * math/bug-nextafter.c: Support platforms without FP exceptions.
1536 * math/bug-nexttoward.c: Likewise.
1537 * math/test-fenv.c: Likewise.
1538 * math/test-misc.c: Likewise.
1539 * stdlib/bug-getcontext.c: Likewise.
1540
e39745ff
AJ
15412012-05-17 Andreas Jaeger <aj@suse.de>
1542
1543 * manual/examples/search.c (critter_cmp): Change signature to
1544 avoid warnings.
1545 * manual/string.texi (Collation Functions): Likewise.
1546
48970aba
L
15472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1548
1549 * bits/types.h: Fold copyright years.
1550 * bits/typesizes.h: Likewise.
1551 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1552 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1553 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1554 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1555 * time/time.h: Likewise.
1556
bedee953
PP
15572012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1558
1559 [BZ #208]
1560 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1561 in instead of returning them. Return void.
1562 (__libc_mallinfo): Accumulate over all arenas.
1563 (__malloc_stats): Adjust for change in int_mallinfo interface.
1564
61653dfb
RM
15652012-05-16 Roland McGrath <roland@hack.frob.com>
1566
30b99d79
RM
1567 [BZ #10375]
1568 * configure.in (NM): Add AC_CHECK_TOOL for it.
1569 (libc_extra_cflags): New substituted variable.
1570 Check for -fstack-protector being used implicitly.
1571 * configure: Regenerated.
1572 * config.make.in (config-extra-cflags): New variable,
1573 gets @libc_extra_cflags@.
1574 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1575
61653dfb
RM
1576 [BZ #10375]
1577 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1578 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1579 * configure: Regenerated.
1580 * config.make.in (CPPUNDEFS): New substituted variable.
1581 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1582 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1583 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1584
661768bb
L
15852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1586
1587 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1588 (mq_attr): Use __syscall_slong_t.
1589
d4261567
L
15902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1591
1592 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1593 Check __x86_64__ instead of __WORDSIZE.
1594 (_STAT_VER_LINUX): Likewise.
1595 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1596 __syscall_ulong_t and __syscall_slong_t.
1597 (stat64): Likewise.
1598
cf3ff365
L
15992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1600
1601 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1602
76cf3e4d
L
16032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1604
1605 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1606
a637753a
L
16072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1608
1609 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1610 __syscall_ulong_t.
1611
d5e05119
L
1612 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1613 include <bits/wordsize.h>. Check __x86_64__ instead of
1614 __WORDSIZE.
1615 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1616 defined.
1617 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1618
f62ee380
L
1619 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1620 include <bits/wordsize.h>. Check __x86_64__ instead of
1621 __WORDSIZE.
1622 (user_regs_struct): Use "__extension__ unsigned long long"
1623 instead of "unsigned long" if __x86_64__ is defined.
1624 (user): Likewise. Pad after pointer field if __ILP32__ is
1625 defined.
1626
4e124ced
JM
16272012-05-16 Joseph Myers <joseph@codesourcery.com>
1628
6a3951a0
JM
1629 * configure.in (makeinfo): Require version 4.5 or later. Allow
1630 versions 5 to 9.
1631 * configure: Regenerated.
1632 * manual/install.texi (texinfo): Increase version requirement to
1633 4.5 or later.
1634 * INSTALL: Regenerated.
1635
4e124ced
JM
1636 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1637
953ca31a
L
16382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1639
1640 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1641
617aca05
L
1642 * sysdeps/x86_64/x32/ffs.c: New file.
1643
5762f7ae
L
1644 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1645 __syscall_ulong_t.
1646 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1647 defined. Use __syscall_ulong_t.
1648 (shminfo): Use __syscall_ulong_t.
1649 (shm_info): Likewise.
1650
a26b6856
L
1651 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1652 __syscall_ulong_t.
1653
cb2b9ef7
L
1654 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1655 <bits/wordsize.h>.
1656 (msgqnum_t): Use __syscall_ulong_t.
1657 (msglen_t): Likewise.
1658 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1659 __syscall_ulong_t.
1660
34683bb0
L
1661 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1662 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1663
84a68786
L
1664 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1665
48baa5f1
L
1666 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1667 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1668
180be88b
L
1669 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1670 __syscall_slong_t.
1671
5e90c8ad
L
1672 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1673 include <bits/wordsize.h>. Check __x86_64__ instead of
1674 __WORDSIZE.
1675
23dfb58b
L
1676 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1677 "unsigned long long int" if __x86_64__ is defined.
1678 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1679
ce5d54b0
L
1680 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1681 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1682 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1683
13dc9eac
L
1684 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1685 <stdint.h>.
1686 (GET_PC): Cast to uintptr_t first.
1687 (GET_FRAME): Likewise.
1688 (GET_STACK): Likewise.
1689
a7895d15
L
1690 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1691 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1692 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1693 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1694 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1695 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1696 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1697 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1698 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1699 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1700 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1701 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1702 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1703 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1704 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1705 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1706 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1707 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1708 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1709 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1710 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1711 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1712 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1713 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1714 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1715 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1716 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1717 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1718 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1719
656416c9
AS
17202012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1721
5bd66283
AS
1722 * Makerules (+depfiles): Also collect depfiles from .oS in
1723 $(extra-objs).
1724 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1725 .oS, $(libnldbl-routines)).
1726
656416c9
AS
1727 * Makerules (native-compile-mkdep-flags): Define.
1728 * sunrpc/Makefile (extra-objs): Add $(addprefix
1729 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1730 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1731 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1732 calling $(make-target-directory).
1733
a46f2169
L
17342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1735
1736 * bits/types.h (__snseconds_t): Removed.
1737 * time/time.h (struct timespec): Replace __snseconds_t with
1738 __syscall_slong_t.
1739 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1740 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1741 Likewise.
1742 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1743 (__SNSECONDS_T_TYPE): Likewise.
1744 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1745 (__SNSECONDS_T_TYPE): Likewise.
1746 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1747 (__SNSECONDS_T_TYPE): Likewise.
1748
6af6528b
L
17492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1750
1751 * sysdeps/mach/hurd/bits/typesizes.h
1752 (__SYSCALL_SLONG_TYPE): New macro.
1753 (__SYSCALL_ULONG_TYPE): Likewise.
1754
de986b56
L
17552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1756
1757 * bits/types.h (__syscall_slong_t): New type.
1758 (__syscall_ulong_t): Likewise.
1759
1760 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1761 (__SYSCALL_ULONG_TYPE): Likewise.
1762 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1763 (__SYSCALL_SLONG_TYPE): Likewise.
1764 (__SYSCALL_ULONG_TYPE): Likewise.
1765 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1766 (__SYSCALL_SLONG_TYPE): Likewise.
1767 (__SYSCALL_ULONG_TYPE): Likewise.
1768 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1769 (__SYSCALL_SLONG_TYPE): Likewise.
1770 (__SYSCALL_ULONG_TYPE): Likewise.
1771
85736dc7
L
17722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1773
1774 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1775 Add sigaltstack-offsets.sym.
1776 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1777 <sigaltstack-offsets.h>.
1778 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1779 longjmp_msg pointer.
1780 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1781 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1782 signal stack.
1783 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1784
cc03b296
JM
17852012-05-15 Joseph Myers <joseph@codesourcery.com>
1786
a9538892
JM
1787 * elf/stackguard-macros.h: Remove file.
1788 * sysdeps/generic/stackguard-macros.h: New file.
1789 * sysdeps/i386/stackguard-macros.h: Likewise.
1790 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1791 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1792 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1793 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1794 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1795 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1796 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1797 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1798 <elf/stackguard-macros.h>.
1799
cc03b296
JM
1800 [BZ #14109]
1801 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1802 __aligned__ in attribute.
1803 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1804 (gregset_t): Likewise.
1805
93171016
L
18062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1807
1808 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1809 * sysdeps/x86_64/64/Implies-after: Here. New file.
1810 * sysdeps/x86_64/x32/Implies-after: New file.
1811
d86813a0
L
18122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1813
1814 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1815 and access return value for _dl_profile_fixup. Use R10_LP to
1816 load frame size.
1817
2953ec75
L
18182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1819
1820 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1821
3b550e9e
L
18222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1823
1824 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1825 * sysdeps/x86_64/x32/sysdep.h: New file.
1826
eda41706
L
18272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1828
1829 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1830 * sysdeps/x86_64/setjmp.S: Likewise.
1831
9ea01d93
AZ
18322012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1833
1834 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1835 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1836 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1837 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1838 remove unused global constant.
1839
02a91938
CM
18402012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1841
1842 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1843 include of <not-cancel.h>.
1844
6540185f
RM
18452012-05-15 Roland McGrath <roland@hack.frob.com>
1846
1847 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1848
509072a0
AJ
18492012-05-15 Jeff Law <law@redhat.com>
1850 Andreas Jaeger <aj@suse.de>
1851
1852 [BZ #13594]
1853 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1854 out from...
1855 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1856 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1857 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1858 code changing __hst_map_handle.map.
1859
ba75122d
RM
18602012-05-15 Roland McGrath <roland@hack.frob.com>
1861
1862 * configure.in (sysnames): Look for Implies-before and Implies-after
1863 files.
1864 * configure: Regenerated.
1865
890d8bd8
L
18662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1867
1868 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1869 8-byte data alignment with LP_SIZE alignment.
1870
f6ee6623
L
18712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1872
1873 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1874 into R10_LP.
1875
ea2626f6
L
18762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1877
1878 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1879
085f715e
L
18802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1881
1882 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1883 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1884 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1885 Likewise.
1886 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1887
be8498fc
L
18882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1889
1890 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1891 (stackinfo_sub_sp): Likewise.
1892
70bc83b9
L
18932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1894
1895 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1896 RAX_LP.
1897
9bc0b730
L
18982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1899
1900 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1901 into R*_LP.
1902
6d2850e7
L
19032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1904
1905 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1906 sizes into R*_LP.
1907
3cb84561
L
19082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1909
1910 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1911
54e2ed81
L
19122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1913
1914 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1915 into R11_LP and load __x86_64_shared_cache_size_half into
1916 R8_LP.
1917
8a17f349
L
19182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1919
1920 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1921 R8_LP.
1922
777b1eea
AZ
19232012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1924
1925 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1926 logb for POWER7.
1927 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1928 logbf for POWER7.
1929 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1930 logbl for POWER7.
1931 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1932 powerpc32/power7/fpu/s_logb.c via #include.
1933 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1934 powerpc32/power7/fpu/s_logbf.c via #include.
1935 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
1936 powerpc32/power7/fpu/s_logbl.c via #include.
1937
d20d4ac2
JM
19382012-05-15 Joseph Myers <joseph@codesourcery.com>
1939
1940 * README.libm: Remove file.
1941
6cdef1ab
L
19422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1943
1944 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1945 count for x32. Use R*_LP and omit operand-size suffix.
1946
0b254d8f
L
19472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1948
1949 * shlib-versions: Move x86_64-.*-linux.* entries to ...
1950 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1951 * sysdeps/x86_64/x32/shlib-versions: New file.
1952
ceb809dc
RM
19532012-05-14 Roland McGrath <roland@hack.frob.com>
1954
1955 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1956 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1957 Use _dl_fatal_printf instead.
1958
37f1abd4
JM
19592012-05-14 Joseph Myers <joseph@codesourcery.com>
1960
1961 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1962 set if not set by the user. Do not allow for being unset.
1963 * sysdeps/unix/sysv/linux/configure: Regenerated.
1964
11de3a33
L
19652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1966
1967 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1968 the `q' suffix from lea and replace .quad with ASM_ADDR.
1969
e02f153a
L
19702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1971
1972 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1973 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1974 instead of $17.
1975 (PTR_DEMANGLE): Likewise.
1976
520ae0fd
L
19772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1978
1979 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1980 (LP_OP): Likewise.
1981 (ASM_ADDR): Likewise.
1982 (RAX_LP): Likewise.
1983 (RBP_LP): Likewise.
1984 (RBX_LP): Likewise.
1985 (RCX_LP): Likewise.
1986 (RDI_LP): Likewise.
1987 (RSI_LP): Likewise.
1988 (RSP_LP): Likewise.
1989 (R8_LP): Likewise.
1990 (R9_LP): Likewise.
1991 (R10_LP): Likewise.
1992 (R10_LP): Likewise.
1993 (R11_LP): Likewise.
1994 (R12_LP): Likewise.
1995 (R13_LP): Likewise.
1996 (R14_LP): Likewise.
1997 (R15_LP): Likewise.
1998
b985be81
L
19992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2000
2001 * sysdeps/x86_64/x32/dl-machine.h: New file.
2002
6a4888ff
AJ
20032012-05-14 Andreas Jaeger <aj@suse.de>
2004
2005 * manual/Makefile (subdir): Remove export of subdir.
2006 (all): Remove target.
2007 (.PHONY): Remove all from list.
2008 (mkinstalldirs): Remove.
2009 (.PHONY): Remove installdirs from list.
2010 ($(inst_infodir)/libc.info): Use make-target-directory.
2011 (installdirs): Remove.
2012 (subdir_%): Remove.
2013 (glibc-targets): Remove.
2014 (lib): Remove.
2015 (stubs): Remove.
2016 ($(objpfx)stubs ../po/manual.pot): Remove.
2017 ($(objpfx)stamp%): Remove.
2018 (make-target-directory): Remove.
2019 (subdir_install): Remove.
2020 (routines): Remove.
2021 (aux): Remove.
2022 (sources): Remove.
2023 (objects): Remove.
2024 (headers): Remove.
2025
2026 [BZ #13750]
2027 * manual/.gitignore: Remove, it's not needed anymore.
2028 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2029 all files in it.
2030 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2031 directory.
2032 (texis): Renamed to $(objpfx)texis.
2033 (texis-path): New, contains path to generated files.
2034 (chapters.%): Use texis-path for complete path, add extra argument
2035 libc-texinfo.sh.
2036 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2037 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2038 (summary,texi, stamp-summary): Use complete path of
2039 files. Generate files in build dir.
2040 (dir-add.texi): Build in build dir.
2041 (libm-err.texi,stamp-libm-err): Likewise.
2042 (version.texi, stamp-version): Likewise.
2043 (.%c.texi): Likewise.
2044 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2045 (mostlyclean): Remove target.
2046 (realclean): Remove target.
2047 (generated): Add new variable with contents from mostlyclean and
2048 realclean, remove entries duplicated in common-mostlyclean, add
2049 stamp-libm-err and stamp-version.
2050 (generated-dirs): Add libc directory.
2051 ($(inst_infodir)/libc.info): Install files from build dir.
2052
2053 * manual/install.texi (Configuring and compiling): Adjust since
2054 the info files are not part of the tar ball anymore.
2055
7ac77294
AJ
20562012-05-14 Andreas Jaeger <aj@suse.de>
2057
2058 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2059 variable.
2060
ffb7875d
JM
20612012-05-14 Joseph Myers <joseph@codesourcery.com>
2062
2063 [BZ #13717]
2064 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2065 to 2.2.0 where earlier.
2066 * sysdeps/unix/sysv/linux/configure: Regenerated.
2067 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2068 Remove conditional code.
2069 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2070 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2071 Remove conditional code.
2072 [!__NR_lchown]: Likewise.
2073 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2074 [__NR_lchown]: Likewise.
2075 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2076 comment referencing __ASSUME_LCHOWN_SYSCALL.
2077 * sysdeps/unix/sysv/linux/i386/sigaction.c
2078 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2079 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2080 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2081 Remove conditional code.
2082 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2083 (__protocol_available): Remove #if 0 code.
2084 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2085 conditional code.
2086 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2087 * sysdeps/unix/sysv/linux/kernel-features.h
2088 (__ASSUME_GETCWD_SYSCALL): Don't define.
2089 (__ASSUME_REALTIME_SIGNALS): Likewise.
2090 (__ASSUME_PREAD_SYSCALL): Likewise.
2091 (__ASSUME_PWRITE_SYSCALL): Likewise.
2092 (__ASSUME_POLL_SYSCALL): Likewise.
2093 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2094 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2095 non-SPARC.
2096 (__ASSUME_SIOCGIFNAME): Don't define.
2097 (__ASSUME_MSG_NOSIGNAL): Likewise.
2098 (__ASSUME_SENDFILE): Define unconditionally.
2099 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2100 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2101 conditional code.
2102 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2103 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2104 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2105 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2106 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2107 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2108 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2110 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2111 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2113 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2114 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2116 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2117 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2119 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2120 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2122 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2123 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2125 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2126 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2128 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2129 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2131 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2132 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2133 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2134 Remove conditional code.
2135 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2136 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2137 Remove conditional code.
2138 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2139 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2140 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2141 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2142 Remove conditional code.
2143 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2144 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2145 Remove conditional code.
2146 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2147 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2148 Remove conditional code.
2149 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2150 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2151 Remove conditional code.
2152 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2153 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2154 Remove conditional code.
2155 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2156 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2157 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2158 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2159 * sysdeps/unix/sysv/linux/sigaction.c
2160 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2161 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2162 * sysdeps/unix/sysv/linux/sigpending.c
2163 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2164 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2165 * sysdeps/unix/sysv/linux/sigprocmask.c
2166 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2167 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2168 * sysdeps/unix/sysv/linux/sigsuspend.c
2169 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2170 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2171 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2172 (__libc_missing_rt_sigs): Remove.
2173 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2174 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2175 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2176 Remove conditional code.
2177 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2178 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2179 return 1.
2180 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2181 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2182 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2183 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2184
1bfb7291
AJ
21852012-05-14 Andreas Jaeger <aj@suse.de>
2186
caae5a81
AJ
2187 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2188 it's not used in glibc.
2189 (__coshm1): Likewise.
2190 (__acosh1p): Likewise.
2191 (__sgn): Likewise.
2192
1bfb7291
AJ
2193 * manual/string.texi (Copying and Concatenation): Add missing
2194 variable in concat example.
2195 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2196
c044d724
L
21972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2198
144c5467 2199 [BZ #14103]
c044d724
L
2200 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2201 __builtin_clzl with __builtin_clzll.
2202
2523c62b
L
22032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2204
2205 [BZ #14104]
2206 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2207 libc_freeres_ptr.
2208
d7bb4c42
LD
22092012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2210
2211 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2212 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2213 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2214 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2215
9dc4e1fb
MF
22162012-05-14 Mike Frysinger <vapier@gentoo.org>
2217
2218 * NEWS: Update ia64 info.
2219
c7df0112
AS
22202012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2221
2222 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2223 used as bcopy.
2224
dc70356c
TS
22252012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2226
2227 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2228 * sysdeps/unix/syscalls.list (dup3): Likewise.
2229 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2230 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2231
9fb1a21f
L
22322012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2233
2234 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2235 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2236
4822a2a5
L
22372012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2238
2239 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2240 thread pointer.
2241 (TLS_IE): Use mov/add instead of movq/addq to load thread
2242 pointer.
2243 (TLS_GD_PREFIX): New.
2244 (TLS_GD): Use it.
2245
842b81d6
DM
22462012-05-11 David S. Miller <davem@davemloft.net>
2247
2248 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2249 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2250 (_FPU_SETCW): Likewise.
2251
1cf463cd
L
22522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2253
2254 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2255 is 32-byte aligned.
2256
60cc4a18
AS
22572012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2258
2259 [BZ #11837]
2260 * iconvdata/gb18030.c: Update tables.
2261 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2262 characters specially.
2263 (BODY for TO_LOOP): Add encoding of missing ranges.
2264
febb44a4
TS
22652012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2266
2267 [BZ #13673]
2268 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2269 * sysdeps/mach/hurd/dup3.c: Likewise.
2270 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2271 * sysdeps/powerpc/memmove.c:: Likewise.
2272
0a10fb9e
L
22732012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2274
2275 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2276 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2277
df8a552f
L
22782012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2279
2280 * elf/elf.h (R_X86_64_RELATIVE64): New.
2281 (R_X86_64_NUM): Updated.
2282 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2283 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2284 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2285 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2286 tst-quad1pie tst-quad2pie
2287 (modules-names): Add tst-quadmod1 tst-quadmod2.
2288 ($(objpfx)tst-quad1): New dependency.
2289 ($(objpfx)tst-quad2): Likewise.
2290 ($(objpfx)tst-quad1pie): Likewise.
2291 ($(objpfx)tst-quad2pie): Likewise.
2292 * sysdeps/x86_64/tst-quad1.c: New file.
2293 * sysdeps/x86_64/tst-quad1pie.c: New file.
2294 * sysdeps/x86_64/tst-quad2.c: Likewise.
2295 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2296 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2297 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2298 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2299 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2300
f34d6f84
ST
23012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2302
f42d41d1
ST
2303 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2304 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2305 * streams/stropts.h (t_scalar_t): Define type.
2306
3c3571fc
ST
2307 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2308 (_PATH_PRESERVE): Set to "/var/lib".
2309 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2310
61f06bd3
ST
2311 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2312 instead of int.
2313
918d4d71
ST
2314 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2315 if __dir_mkfile succeeded.
2316
f34d6f84
ST
2317 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2318 checking for _hurd_dtablesize. Unlock it right after having
2319 finished _hurd_dtable allocation.
2320
10589b4a
TS
23212012-05-10 Thomas Schwinge <thomas@schwinge.name>
2322
674cdbc7
TS
2323 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2324 * sysdeps/mach/hurd/configure: Regenerated.
2325 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2326 special-casing to...
2327 * sysdeps/gnu/configure.in: ... this new file.
2328 * sysdeps/unix/sysv/linux/configure: Regenerated.
2329 * sysdeps/gnu/configure: New generated file.
2330
8e41b99f
TS
2331 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2332 for Linux: use nsec instead of usec, as well as:
2333 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2334 members of type struct timespec.
2335 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2336 New macros.
2337 (struct stat64): Likewise.
2338 (_STATBUF_ST_NSEC): New macro.
2339 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2340
10589b4a
TS
2341 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2342 __strtoul_internal rather than strtoul.
2343
63643c85
PT
23442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2345
2346 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2347 and reject them.
2348
3faebe6a
ST
23492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2350
2351 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2352 which preserves existing values.
2353 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2354
c6474b07
PT
23552012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2356
2357 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2358 TIMEOUT values. Return EINVAL for NFDS values either negative or
2359 greater than FD_SETSIZE.
2360
1043890b
ST
23612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2362
2363 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2364 allocated, call __vm_protect to finish enabling the existing space, and
2365 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2366 allocate the remainder.
2367
37ed8b9b
PT
23682012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2369
2370 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2371 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2372
db653660
ST
23732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2374
37ed8b9b
PT
2375 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2376 sysdeps/mach/hurd/readlink.c.
b29d4053 2377
db653660
ST
2378 * posix/tst-sysconf.c (posix_options): Only use
2379 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2380 _POSIX_SYNCHRONIZED_IO when they are defined
2381 * sysdeps/mach/hurd/bits/posix_opt.h:
2382 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2383 (_XOPEN_REALTIME): Undefine macro.
2384 (_XOPEN_REALTIME_THREADS): Undefine macro.
2385 (_XOPEN_SHM): Undefine macro.
2386 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2387 macro to -1.
2388 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2389 macro to -1.
2390 (_POSIX_ASYNC_IO): Undefine macro.
2391 (_POSIX_PRIORITIZED_IO): Undefine macro.
2392 (_POSIX_SPIN_LOCKS): Define macro to -1.
2393
ee16e894
ST
2394 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2395 SA_NODEFER, SA_RESETHAND.
2396 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2397 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2398 F_DUPFD_CLOEXEC.
2399
6103ae3b
TS
24002012-05-10 Thomas Schwinge <thomas@schwinge.name>
2401
2402 * elf/Makefile (pldd-modules): Define unconditionally.
2403
80b4e5f3
TS
24042012-05-10 Thomas Schwinge <thomas@schwinge.name>
2405
2406 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2407
edadcbd6
ST
24082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2409
2410 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2411 Return ENOENT when name is empty.
2412 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2413
80694780
TS
24142012-05-10 Thomas Schwinge <thomas@schwinge.name>
2415
1792c087
TS
2416 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2417
80694780
TS
2418 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2419
6b645f0d
ST
24202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2421
80694780
TS
2422 Fix mlock in all cases except non-readable pages.
2423 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2424 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2425
6b645f0d
ST
2426 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2427 (__mkdir): When path is `/', just fail with EEXIST.
2428 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2429
e468f8a3
TS
24302012-05-10 Thomas Schwinge <thomas@schwinge.name>
2431
2432 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2433 <sys/uio.h> (for writev).
2434 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2435 and <sys/param.h> (for MIN).
2436
a4186cff
PT
24372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2438
2439 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2440 REQUESTED_TIME. Properly set the remaining time and return EINTR
2441 if interrupted.
2442
510bbf14
TS
24432012-05-10 Thomas Schwinge <thomas@schwinge.name>
2444
2445 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2446 Depend on against $(link-rpcuserlibs).
2447
5d5722e8
ST
24482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2449
a4186cff
PT
2450 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2451 (__libc_stack_end): Do not use attribute_relro.
2452 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2453 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 2454 to libthread-provided value.
a4186cff
PT
2455 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2456 attribute_relro.
5d5722e8 2457
37233df9
TS
24582012-05-10 Thomas Schwinge <thomas@schwinge.name>
2459
be971a2b
TS
2460 [BZ #3748]
2461 * bits/libc-lock.h (__libc_once_get): New macro.
2462 * sysdeps/mach/bits/libc-lock.h: Likewise.
2463 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2464 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2465 instead of using implementation details.
2466
37233df9
TS
2467 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2468 * libio/freopen.c: Likewise.
2469 * libio/freopen64.c: Likewise.
2470 * misc/syslog.c: Likewise.
2471 * nscd/connections.c: Likewise.
2472 * nscd/netgroupcache.c: Likewise.
2473 * sysdeps/posix/getcwd.c: Likewise.
2474
38de94a5
RM
24752012-05-10 Roland McGrath <roland@hack.frob.com>
2476
2477 * math/w_ilogbf.c: Add #include <limits.h>.
2478
67530489
ST
24792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2480
a4186cff 2481 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
2482 path instead of returning without unlocking.
2483
67530489
ST
2484 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2485 immediate-write ioctls.
2486 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2487
5aa3a74a
TS
24882012-05-10 Thomas Schwinge <thomas@schwinge.name>
2489
18bad2ae
TS
2490 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2491 __builtin_frame_address instead of making assumptions about the
2492 location of the return address relative to DATA. Force early load of
2493 the return address.
2494 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2495 __builtin_frame_address.
2496
5aa3a74a
TS
2497 dup3 for GNU Hurd.
2498 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2499 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2500 implement dup3 and do some further code clean-ups.
2501 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2502 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2503
ecd0de9a
ST
25042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2505
cd9fa985
ST
2506 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2507
a4186cff
PT
2508 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2509 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2510 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2511 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2512 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2513 d->port.lock.
802ca5a5 2514
a4186cff
PT
2515 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2516 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2517 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 2518
bcf55240
TS
25192012-05-10 Thomas Schwinge <thomas@schwinge.name>
2520
6960eb42
TS
2521 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2522 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2523 definitions.
2524
eb43375f
TS
2525 accept4 for GNU Hurd.
2526 * include/sys/socket.h (__libc_accept4): New prototype.
2527 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2528 to implement __libc_accept4.
2529 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2530 __libc_accept4.
2531 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2532
bcf55240
TS
2533 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2534 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2535 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2536 signal-defines.sym.
2537
6178c55b
ST
25382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2539
a4186cff 2540 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 2541
6f080c2f
TS
25422012-05-10 Thomas Schwinge <thomas@schwinge.name>
2543
2544 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2545 assertion on O_CLOEXEC flag.
2546 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2547 * hurd/intern-fd.c: Likewise.
2548 * hurd/port2fd.c: Likewise.
2549
bcfe3a54
ST
25502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2551
2552 [BZ #3906]
2553 * bits/in.h (IPV6_PKTINFO): Define new macro.
2554 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2555
89c9aa49
AZ
25562012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2557
2558 [BZ #13954]
2559 [BZ #13955]
2560 [BZ #13956]
2561 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2562 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2563 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2564 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2565 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2566 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2567 * math/libm-test.inc (logb_test) : Additional logb tests.
2568
021db4be
AJ
25692012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2570 Andreas Jaeger <aj@suse.de>
2571
2572 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2573 * configure: Regenerated.
2574 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2575 * config.make.in (link-obsolete-rpc): New substituted variable.
2576 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2577 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2578 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2579 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2580 so that libc.a contains the symbols.
2581 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2582 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2583 * sunrpc/auth_none.c: Likewise.
2584 * sunrpc/auth_unix.c: Likewise.
2585 * sunrpc/authdes_prot.c: Likewise.
2586 * sunrpc/authuxprot.c: Likewise.
2587 * sunrpc/clnt_gen.c: Likewise.
2588 * sunrpc/clnt_perr.c: Likewise.
2589 * sunrpc/clnt_raw.c: Likewise.
2590 * sunrpc/clnt_simp.c: Likewise.
2591 * sunrpc/clnt_tcp.c: Likewise.
2592 * sunrpc/clnt_udp.c: Likewise.
2593 * sunrpc/clnt_unix.c: Likewise.
2594 * sunrpc/des_crypt.c: Likewise.
2595 * sunrpc/des_soft.c: Likewise.
2596 * sunrpc/get_myaddr.c: Likewise.
2597 * sunrpc/key_call.c: Likewise.
2598 * sunrpc/key_prot.c: Likewise.
2599 * sunrpc/netname.c: Likewise.
2600 * sunrpc/pm_getmaps.c: Likewise.
2601 * sunrpc/pm_getport.c: Likewise.
2602 * sunrpc/pmap_clnt.c: Likewise.
2603 * sunrpc/pmap_prot.c: Likewise.
2604 * sunrpc/pmap_prot2.c: Likewise.
2605 * sunrpc/pmap_rmt.c: Likewise.
2606 * sunrpc/publickey.c: Likewise.
2607 * sunrpc/rpc_cmsg.c: Likewise.
2608 * sunrpc/rpc_common.c: Likewise.
2609 * sunrpc/rpc_dtable.c: Likewise.
2610 * sunrpc/rpc_prot.c: Likewise.
2611 * sunrpc/rpc_thread.c: Likewise.
2612 * sunrpc/rtime.c: Likewise.
2613 * sunrpc/svc.c: Likewise.
2614 * sunrpc/svc_auth.c: Likewise.
2615 * sunrpc/svc_raw.c: Likewise.
2616 * sunrpc/svc_run.c: Likewise.
2617 * sunrpc/svc_tcp.c: Likewise.
2618 * sunrpc/svc_udp.c: Likewise.
2619 * sunrpc/svc_unix.c: Likewise.
2620 * sunrpc/svcauth_des.c: Likewise.
2621 * sunrpc/xcrypt.c: Likewise.
2622 * sunrpc/xdr.c: Likewise.
2623 * sunrpc/xdr_array.c: Likewise.
2624 * sunrpc/xdr_float.c: Likewise.
2625 * sunrpc/xdr_intXX_t.c: Likewise.
2626 * sunrpc/xdr_mem.c: Likewise.
2627 * sunrpc/xdr_rec.c: Likewise.
2628 * sunrpc/xdr_ref.c: Likewise.
2629 * sunrpc/xdr_sizeof.c: Likewise.
2630 * sunrpc/xdr_stdio.c: Likewise.
2631
b5c086a2
RM
26322012-05-10 Roland McGrath <roland@hack.frob.com>
2633
2634 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2635 change. Update copyright years.
2636
6d74dd09
JM
26372012-05-10 Joseph Myers <joseph@codesourcery.com>
2638
2639 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2640
28e72501
MK
26412012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2642 Joseph Myers <joseph@codesourcery.com>
2643 Paul Pluzhnikov <ppluzhnikov@google.com>
2644
2645 [BZ #14012]
2646 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2647 requiring rpcgen.
2648 [cross-compiling] (extra-libs): Likewise.
2649 [cross-compiling] (extra-libs-others): Likewise.
2650 [cross-compiling] (librpcsvc-routines): Likewise.
2651 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2652 [cross-compiling] (omit-deps): Likewise.
2653 (sunrpc-CPPFLAGS): New variable.
2654 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2655 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2656 (cross-rpcgen-objs): New variable.
2657 (extra-objs): Append $(cross-rpcgen-objs).
2658 ($(cross-rpcgen-objs)): New rule.
2659 ($(objpfx)cross-rpcgen): Likewise.
2660 (rpcgen-cmd): Define to use $(built-program-file). Expand
2661 comment.
2662 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2663 ($(objpfx)x%.stmp): Likewise.
2664 * sunrpc/proto.h [IS_IN_build] (_): Define.
2665 [IS_IN_build] (_libc_intl_domainname): Likewise.
2666
c8c59454
L
26672012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2668
2669 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2670 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2671 and R_X86_64_TPOFF64.
2672
6f27cd16
JM
26732012-05-10 Joseph Myers <joseph@codesourcery.com>
2674
2675 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2676 sysdeps/unix/sysv/syscalls.list.
2677 (stime): Likewise.
2678 (utime): Likewise.
2679 * sysdeps/unix/sysv/syscalls.list: Remove file.
2680
02467e1c
PE
26812012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2682
2683 [BZ #3440]
2684 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2685 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2686 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2687 (__LC_IDENTIFICATION): Make these macros useful in #if
2688 expressions, as required by C99.
2689
da392631
AS
26902012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2691
2692 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2693 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2694 after this.
2695
8115f29b
L
26962012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2697
2698 * stdlib/longlong.h: Updated from GCC.
2699
bdd74070
AJ
27002012-05-09 Andreas Jaeger <aj@suse.de>
2701
edfe0dbe
AJ
2702 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2703 default is first entry.
2704 (run_mode): Set type.
2705 (main): Remove informal message about syslog.
2706 (options): Fix typo.
2707
bcfe3a54
ST
2708 [BZ #14053]
2709 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 2710 to asm.
bcfe3a54
ST
2711 (lrint): Likewise.
2712 (llrintf): Likewise.
2713 (llrint): Likewise.
2714 (rint): Likewise.
2715 (rintf): Likewise.
2716 (nearbyint): Likewise.
2717 (nearbyintf): Likewise.
bdd74070 2718
91d8d69e
AJ
27192012-05-09 Andreas Jaeger <aj@suse.de>
2720 Pedro Alves <palves@redhat.com>
2721
2722 * nscd/nscd.c (run_mode): Use enum.
2723 (main): Cleanup coding style issue.
2724
bb90b80b
AJ
27252012-05-09 Alexandre Oliva <aoliva@redhat.com>
2726 Andreas Jaeger <aj@suse.de>
2727
bcfe3a54
ST
2728 * nscd/nscd.c (go_background): Replaced with...
2729 (run_mode): ... this.
bb90b80b 2730 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
2731 (options): Add -F --foreground.
2732 (main): Implement it.
2733 (parse_opt): Parse it.
bb90b80b 2734
1a4b75a1
AJ
27352012-05-09 Andreas Jaeger <aj@suse.de>
2736
2737 [BZ #14083]
2738 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2739 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2740 -Wconversion warning.
2741 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2742 Likewise.
2743
b1cc2472
JM
27442012-05-09 Joseph Myers <joseph@codesourcery.com>
2745
2746 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2747 == 0.
2748 (LC_ALL): Use macro-int-constant.
2749 (LC_COLLATE): Likewise.
2750 (LC_CTYPE): Likewise.
2751 (LC_MESSAGES): Likewise.
2752 (LC_MONETARY): Likewise.
2753 (LC_NUMERIC): Likewise.
2754 (LC_TIME): Likewise.
2755 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2756 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2757 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2758 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2759 Specify type.
2760 [C99-based standards] (float_t): Expect type.
2761 [C99-based standards] (double_t): Expect type.
2762 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2763 type.
2764 [C99-based standards] (HUGE_VALL): Likewise.
2765 [C99-based standards] (INFINITY): Likewise.
2766 [C99-based standards] (NAN): Likewise.
2767 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2768 [C99-based standards] (FP_NAN): Likewise.
2769 [C99-based standards] (FP_NORMAL): Likewise.
2770 [C99-based standards] (FP_SUBNORMAL): Likewise.
2771 [C99-based standards] (FP_ZERO): Likewise.
2772 [C99-based standards] (FP_FAST_FMA): Use
2773 optional-macro-int-constant. Specify type. Require == 1.
2774 [C99-based standards] (FP_FAST_FMAF): Likewise.
2775 [C99-based standards] (FP_FAST_FMAL): Likewise.
2776 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2777 [C99-based standards] (FP_ILOGBNAN): Likewise.
2778 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2779 Specify type.
2780 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2781 [C99-based standards] (math_errhandling): Specify type.
2782 [ISO99 || ISO11] (signgam): Do not allow.
2783 [non-C99-based standards] (copysignf): Do not allow.
2784 [non-C99-based standards] (exp2f): Likewise.
2785 [non-C99-based standards] (log2f): Likewise.
2786 [non-C99-based standards] (modff): Allow.
2787 [non-C99-based standards] (erff): Do not allow.
2788 [non-C99-based standards] (erfcf): Likewise.
2789 [non-C99-based standards] (gammaf): Likewise.
2790 [non-C99-based standards] (hypotf): Likewise.
2791 [non-C99-based standards] (j0f): Likewise.
2792 [non-C99-based standards] (j1f): Likewise.
2793 [non-C99-based standards] (jnf): Likewise.
2794 [non-C99-based standards] (lgammaf): Likewise.
2795 [non-C99-based standards] (tgammaf): Likewise.
2796 [non-C99-based standards] (y0f): Likewise.
2797 [non-C99-based standards] (y1f): Likewise.
2798 [non-C99-based standards] (ynf): Likewise.
2799 [non-C99-based standards] (isnanf): Likewise.
2800 [non-C99-based standards] (acoshf): Likewise.
2801 [non-C99-based standards] (asinhf): Likewise.
2802 [non-C99-based standards] (atanhf): Likewise.
2803 [non-C99-based standards] (cbrtf): Likewise.
2804 [non-C99-based standards] (expm1f): Likewise.
2805 [non-C99-based standards] (ilogbf): Likewise.
2806 [non-C99-based standards] (log1pf): Likewise.
2807 [non-C99-based standards] (logbf): Likewise.
2808 [non-C99-based standards] (nextafterf): Likewise.
2809 [non-C99-based standards] (remainderf): Likewise.
2810 [non-C99-based standards] (rintf): Likewise.
2811 [non-C99-based standards] (scalbf): Likewise.
2812 [non-C99-based standards] (copysignl): Likewise.
2813 [non-C99-based standards] (exp2l): Likewise.
2814 [non-C99-based standards] (log2l): Likewise.
2815 [non-C99-based standards] (modfl): Allow.
2816 [non-C99-based standards] (erfl): Do not allow.
2817 [non-C99-based standards] (erfcl): Likewise.
2818 [non-C99-based standards] (gammal): Likewise.
2819 [non-C99-based standards] (hypotl): Likewise.
2820 [non-C99-based standards] (j0l): Likewise.
2821 [non-C99-based standards] (j1l): Likewise.
2822 [non-C99-based standards] (jnl): Likewise.
2823 [non-C99-based standards] (lgammal): Likewise.
2824 [non-C99-based standards] (tgammal): Likewise.
2825 [non-C99-based standards] (y0l): Likewise.
2826 [non-C99-based standards] (y1l): Likewise.
2827 [non-C99-based standards] (ynl): Likewise.
2828 [non-C99-based standards] (isnanl): Likewise.
2829 [non-C99-based standards] (acoshl): Likewise.
2830 [non-C99-based standards] (asinhl): Likewise.
2831 [non-C99-based standards] (atanhl): Likewise.
2832 [non-C99-based standards] (cbrtl): Likewise.
2833 [non-C99-based standards] (expm1l): Likewise.
2834 [non-C99-based standards] (ilogbl): Likewise.
2835 [non-C99-based standards] (log1pl): Likewise.
2836 [non-C99-based standards] (logbl): Likewise.
2837 [non-C99-based standards] (nextafterl): Likewise.
2838 [non-C99-based standards] (remainderl): Likewise.
2839 [non-C99-based standards] (rintl): Likewise.
2840 [non-C99-based standards] (scalbl): Likewise.
2841 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2842 [non-C99-based standards] (FP_*): Do not allow.
2843 [C99-based standards] (FP_*): Change to
2844 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2845 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2846 allow.
2847 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2848 (SIG_ERR): Likewise.
2849 [X/Open-based standards] (SIG_HOLD): Likewise.
2850 (SIG_IGN): Likewise.
2851 (SIGABRT): Use macro-int-constant. Specify type. Require
2852 positive value.
2853 (SIGFPE): Likewise.
2854 (SIGILL): Likewise.
2855 (SIGINT): Likewise.
2856 (SIGSEGV): Likewise.
2857 (SIGTER): Likewise.
2858 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2859 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2860 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2861 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2862 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2863 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2864 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2865 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2866 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2867 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2868 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2869 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2870 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2871 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2872 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2873 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2874 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2875 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2876 [X/Open-based standards] (SIGTRAP): Likewise.
2877 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2878 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2879 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2880 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2881 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2882 allow.
2883
b9f1922d
IW
28842012-05-08 Ian Wienand <ianw@vmware.com>
2885
2886 [BZ #14080]
2887 * time/tzset.c (__tzset_parse_tz): Update default rules for
2888 daylight time changes in the Energy Policy Act of 2005.
2889
1db86e88
AJ
28902012-05-09 Andreas Jaeger <aj@suse.de>
2891
2892 [BZ #13983]
2893 * elf/ldconfig.c (parse_conf): Change string to make clear that
2894 ldconfig only issued a warning if ld.so.conf does not exist.
2895
dee4a4e3
DM
28962012-05-08 David S. Miller <davem@davemloft.net>
2897
ee0db190
DM
2898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2899 movxtod instead of popping the value on the stack.
2900
dee4a4e3
DM
2901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2902
6a43ec98
CD
29032012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2904
2905 * config.h.in: Add HAVE_ARM_PCS_VFP.
2906
05c2c961
RMG
29072012-05-08 Roland Mc Grath <roland@hack.frob.com>
2908
bcfe3a54
ST
2909 [BZ #13979]
2910 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2911 checking but the checks are disabled for any reason.
05c2c961 2912
4b30f61a
L
29132012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2914
2915 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2916 and ELF64_R_TYPE with ELFW(R_TYPE).
2917
eee2bc67
JM
29182012-05-08 Joseph Myers <joseph@codesourcery.com>
2919
7ea5391a
JM
2920 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2921 (ulimit): Likewise.
2922
eee2bc67
JM
2923 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2924 (settimeofday): Likewise.
2925
abb66a67
MF
29262012-05-08 Mike Frysinger <vapier@gentoo.org>
2927
2928 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2929 a struct th_u2 inside the union, and move tu_block/tu_code into
2930 a new th_u3 union of tu_block/tu_code inside of that. Move
2931 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
2932 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
2933 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2934 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
2935 (th_stuff): Change to th_u1.tu_stuff.
2936 (th_data): Define.
2937 (th_msg): Change to th_u1.th_u2.tu_data.
2938
7f18b530
DM
29392012-05-07 David S. Miller <davem@davemloft.net>
2940
05760585
DM
2941 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2942
7f18b530
DM
2943 [BZ #14074]
2944 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2945 (SETUP_PIC_REG): Use it.
2946 (SETUP_PIC_REG_LEAF): Use it.
2947
495fd99f
JM
29482012-05-07 Joseph Myers <joseph@codesourcery.com>
2949
2950 [BZ #13885]
2951 [BZ #13923]
2952 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2953 USE_AS_EXPM1L.
2954 (EXPL_FINITE): Likewise.
2955 (FLDLOG): Likewise.
2956 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2957 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2958 e_expl.S.
2959 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2960 USE_AS_EXPM1L.
2961 (EXPL_FINITE): Likewise.
2962 (FLDLOG): Likewise.
2963 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2964 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2965 e_expl.S.
2966 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2967 test of -max_value argument for long double.
2968 * sysdeps/i386/fpu/libm-test-ulps: Update.
2969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2970
6693d694
DM
29712012-05-06 David S. Miller <davem@davemloft.net>
2972
2973 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2974 quad soft-float symbols whose references which are compiler
2975 generated.
2976 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2977
6c23e11c
JM
29782012-05-06 Joseph Myers <joseph@codesourcery.com>
2979
d8b82cad
JM
2980 [BZ #13884]
2981 [BZ #13914]
2982 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2983 USE_AS_EXP10L.
2984 (EXPL_FINITE): Likewise.
2985 (FLDLOG): Likewise.
2986 (c0): Likewise.
2987 (c1): Likewise.
2988 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2989 Adjust comments for base varying.
2990 (__expl_finite): Change alias to EXPL_FINITE.
2991 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
2992 e_expl.S.
2993 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
2994 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2995 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2996 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
2997 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2998 USE_AS_EXP10L.
2999 (EXPL_FINITE): Likewise.
3000 (FLDLOG): Likewise.
3001 (c0): Likewise.
3002 (c1): Likewise.
3003 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3004 Adjust comments for base varying.
3005 (__expl_finite): Change alias to EXPL_FINITE.
3006 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3007 tests for bugs.
3008 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3009
6c23e11c
JM
3010 [BZ #14064]
3011 * math/libm-test.inc (check_float_internal): Correct ulp
3012 calculation for subnormal expected results.
3013
29ba805c
AJ
30142012-05-06 Andreas Jaeger <aj@suse.de>
3015
3016 * Makeconfig (+math-flags): New, set to -frounding-math.
3017 (+cflags): Add +math-flags so that all of glibc gets compiled with
3018 it.
3019
3020 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3021
7b17aeda
JM
30222012-05-05 Joseph Myers <joseph@codesourcery.com>
3023
5779f134
JM
3024 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3025 Disable one test.
3026
41498f4d
JM
3027 [BZ #13787]
3028 [BZ #13922]
3029 [BZ #14036]
3030 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3031 (__ieee754_expl): Allow for and saturate large arguments.
3032 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3033 (u_threshold): Likewise.
3034 (__exp): Call __ieee754_exp before checking for overflow and
3035 underflow.
3036 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3037 (u_threshold): Likewise.
3038 (__expf): Call __ieee754_expf before checking for overflow and
3039 underflow.
3040 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3041 (u_threshold): Likewise.
3042 (__expl): Call __ieee754_expl before checking for overflow and
3043 underflow.
3044 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3045 (__ieee754_expl): Allow for and saturate large arguments.
3046 * math/libm-test.inc (exp_test): Add another test. Do not allow
3047 missing overflow exception on overflow.
3048 (expm1_test): Do not allow missing overflow exception on overflow.
3049
6698b8bf
JM
3050 * sysdeps/i386/fpu/e_expl.c: Move to ...
3051 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3052 rather than using inline asm.
3053 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3054 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3055 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3056
7b17aeda
JM
3057 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3058 (nice): Likewise.
3059 (poll): Likewise.
3060 (signal): Likewise.
3061 (time): Likewise.
3062 (times): Likewise.
3063
f7c85819
JM
30642012-05-04 Joseph Myers <joseph@codesourcery.com>
3065
3066 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3067 sysdeps/unix/common/syscalls.list.
3068 (fchmod): Likewise.
3069 (fchown): Likewise.
3070 (ftruncate): Likewise.
3071 (getrusage): Likewise.
3072 (gettimeofday): Likewise.
3073 (setpgid): Likewise.
3074 (setregid): Likewise.
3075 (setreuid): Likewise.
3076 (sigaction): Likewise.
3077 (truncate): Likewise.
3078 (vhangup): Likewise.
3079 * sysdeps/unix/common/syscalls.list: Remove file.
3080 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3081 * sysdeps/unix/sysv/linux/Implies: Likewise.
3082
336270d0
L
30832012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3084
3085 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3086 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3087 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3088 Moved to ...
3089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3090 Here.
3091 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3092 to ...
3093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3094 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3095 to ...
3096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3097 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3098 to ...
3099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3100 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3101 to ...
3102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3103 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3104 to ...
3105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3106 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3107 to ...
3108 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3109 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3110 to ...
3111 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3112 Here.
3113 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3114 to ...
3115 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3116 Here.
3117 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3118 to ...
3119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3120 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3121 Moved to ...
3122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3123 Here.
3124 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3125 to ...
3126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3127
d128e450
JM
31282012-05-04 Joseph Myers <joseph@codesourcery.com>
3129
fa8ee516
JM
3130 * sysdeps/unix/common/bits/dirent.h: Remove file.
3131 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3132
d128e450
JM
3133 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3134 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3135 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3136 * sysdeps/unix/bsd/isatty.c: Likewise.
3137 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3138 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3139 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3140
ff8faaf0 31412012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3142
62881be4 3143 [BZ #13563]
31dc8730
AZ
3144 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3145 long double comparison inaccuracies.
3146 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3148
6fef930c
AS
31492012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3150
3151 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3152 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3153
8f203e6c
JM
31542012-05-04 Joseph Myers <joseph@codesourcery.com>
3155
3156 [BZ #14049]
3157 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3158 nonzero digits before rounding a hex value.
3159 * stdlib/tst-strtod.c (tests): Add another test.
3160
5197d9c2
AK
31612012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3162
3163 * sysdeps/s390/fpu/libm-test-ulps: Update.
3164
f0c1dedf
AJ
31652012-05-03 Andreas Jaeger <aj@suse.de>
3166
3167 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3168 does not get optimized out.
3169 (malloc_opt_barrier): New.
3170
a65ef2ae 31712012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3172 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3173
2b942cb7 3174 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3175 intermediate file deletion.
2b942cb7 3176 (generated): Add .symlist files.
a65ef2ae 3177
54b71e02
JM
31782012-05-03 Joseph Myers <joseph@codesourcery.com>
3179
3180 [BZ #13775]
3181 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3182 Redirect under this condition.
3183 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3184 [__USE_GNU] (__dprintf_chk): Not under this condition.
3185 [__USE_GNU] (__vdprintf_chk): Likewise.
3186 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3187 under this condition.
3188 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3189 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3190 [__USE_XOPEN2K8] (vdprintf): Likewise.
3191 [__USE_GNU] (__dprintf_chk): Not under this condition.
3192 [__USE_GNU] (__vdprintf_chk): Likewise.
3193 [__USE_GNU] (dprintf): Likewise.
3194 [__USE_GNU] (vdprintf): Likewise.
3195
d3dfcc41
RM
31962012-05-03 Roland McGrath <roland@hack.frob.com>
3197
3198 * elf/Makefile (common-generated): Set this instead of generated for
3199 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3200 $(all-built-dso)-derived lists.
3201
7ac30cc5
AJ
32022012-05-03 Andreas Jaeger <aj@suse.de>
3203
0c51e550
AJ
3204 * sysdeps/i386/fpu/libm-test-ulps: Update.
3205
7ac30cc5
AJ
3206 * FAQ: Removed.
3207 * FAQ.in: Likewise.
3208 * scripts/gen-FAQ.pl: Likewise.
3209 * manual/install.texi (Installation): Point to online location of
3210 FAQ.
3211 * Makefile (files-for-dist): Remove FAQ.
3212 (FAQ): Remove.
3213
d4c2917f
AM
32142012-05-02 Allan McRae <allan@archlinux.org>
3215
3216 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3217 (LDFLAGS-reldepmod5.so): Likewise.
3218 (LDFLAGS-reldep6mod1.so): Likewise.
3219 (LDFLAGS-reldep6mod4.so): Likewise.
3220 (LDFLAGS-reldep8mod3.so): Likewise.
3221 (LDFLAGS-unload4mod1.so): Likewise.
3222 (LDFLAGS-unload4mod2.so): Likewise.
3223 (LDFLAGS-tst-initorder): Likewise.
3224 (LDFLAGS-tst-initordera2.so): Likewise.
3225 (LDFLAGS-tst-initordera3.so): Likewise.
3226 (LDFLAGS-tst-initordera4.so): Likewise.
3227 (LDFLAGS-tst-initorderb2.so): Likewise.
3228 (LDFLAGS-noload): Likewise.
3229 (LDFLAGS-next): Likewise.
3230 (LDFLAGS-order2mod1.so): Likewise.
3231 (LDFLAGS-order2mod2.so): Likewise.
3232 (LDFLAGS-tst-initorder2): Likewise.
3233 (LDFLAGS-tst-initorder2a.so): Likewise.
3234 (LDFLAGS-tst-initorder2b.so): Likewise.
3235 (LDFLAGS-tst-initorder2c.so): Likewise.
3236 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3237
d77f993f
DM
32382012-05-02 David S. Miller <davem@davemloft.net>
3239
3240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3241
171a70b4
PP
32422012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3243
3244 [BZ #14055]
3245 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3246
0be196ad
AJ
32472012-05-02 Andreas Jaeger <aj@suse.de>
3248
3249 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3250 since we manipulate rounding mode.
3251 (CPPFLAGS-test-idouble.c): Likewise.
3252 (CPPFLAGS-test-ifloat.c): Likewise.
3253 (CFLAGS-test-ldouble.c): Likewise.
3254 (CFLAGS-test-double.c): Likewise.
3255 (CFLAGS-test-float.c): Likewise.
3256 (CFLAGS-test-misc.c): Likewise.
3257 (CFLAGS-test-test-fenv.c): Likewise.
3258
4f9d04aa
AZ
32592012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3260
2b942cb7
RM
3261 [BZ #2550]
3262 [BZ #2570]
3263 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3264 comparisons to determine direction to adjust input.
4f9d04aa 3265
82a79e7d
RM
32662012-05-01 Roland McGrath <roland@hack.frob.com>
3267
f5a01ca9
RM
3268 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3269 output to the target.
3270
90fe4186
RM
3271 * scripts/localplt.awk: New file.
3272 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3273 (check-localplt-CFLAGS): Variable removed.
3274 ($(all-built-dso:=.jmprel)): New static pattern rule.
3275 (generated): Add those targets.
3276 (localplt-built-dso): New variable.
3277 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3278
3279 * elf/check-localplt.c: File removed.
3280
82397ed6
RM
3281 * scripts/check-execstack.awk: New file.
3282 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3283 (check-execstack-CFLAGS): Variable removed.
3284 ($(objpfx)check-execstack.h): Target removed.
3285 ($(objpfx)execstack-default): New target.
3286 (generated): Add that instead of check-execstack.h.
3287 ($(all-built-dso:=.phdr)): New static pattern rule.
3288 (generated): Add those targets.
3289 * elf/check-execstack.c: File removed.
3290
82a79e7d
RM
3291 * scripts/check-textrel.awk: New file.
3292 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3293 (check-textrel-CFLAGS): Variable removed.
3294 (all-built-dso): Use := to define.o
3295 ($(all-built-dso:=.dyn)): New static pattern rule.
3296 (generated): Add those targets.
3297 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3298 * config.make.in (READELF): New substituted variable.
3299 * elf/check-textrel.c: File removed.
3300
62fde54f 33012012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3302
615605c9
JM
3303 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3304 allow.
3305 * conform/data/ctype.h-data [C99-based standards] (isblank):
3306 Expect function.
3307 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3308 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3309 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3310 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3311 Specify type. Require positive value.
3312 (EILSEQ): Likewise.
3313 (ERANGE): Likewise.
3314 [ISO || POSIX] (EILSEQ): Do not expect.
3315 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3316 Specify type. Require positive value.
3317 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3318 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3319 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3320 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3321 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3322 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3323 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3324 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3325 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3326 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3327 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3328 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3329 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3330 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3331 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3332 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3333 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3334 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3335 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3336 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3337 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3338 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3339 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3340 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3341 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3342 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3343 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3344 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3345 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3346 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3347 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3348 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3349 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3350 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3351 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3352 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3353 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3354 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3355 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3356 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3357 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3358 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3359 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3360 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3361 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3362 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3363 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3364 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3365 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3366 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3367 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3368 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3369 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3370 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3371 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3372 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3373 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3374 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3375 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3376 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3377 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3378 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3379 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3380 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3381 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3382 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3383 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3384 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3385 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3386 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3387 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3388 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3389 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3390 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3391 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3392 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3393 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3394 Require >= 2.
3395 (FLT_ROUNDS): Expect as macro, not constant.
3396 (FLT_MANT_DIG): Use macro-int-constant.
3397 (DBL_MANT_DIG): Likewise.
3398 (LDBL_MANT_DIG): Likewise.
3399 (FLT_DIG): Likewise.
3400 (DBL_DIG): Likewise.
3401 (LDBL_DIG): Likewise.
3402 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3403 (DBL_MIN_EXP): Likewise.
3404 (LDBL_MIN_EXP): Likewise.
3405 (FLT_MAX_EXP): Use macro-int-constant.
3406 (DBL_MAX_EXP): Likewise.
3407 (LDBL_MAX_EXP): Likewise.
3408 (FLT_MAX_10_EXP): Likewise.
3409 (DBL_MAX_10_EXP): Likewise.
3410 (LDBL_MAX_10_EXP): Likewise.
3411 (FLT_MAX): Use macro-constant.
3412 (DBL_MAX): Likewise.
3413 (LDBL_MAX): Likewise.
3414 (FLT_EPSILON): Use macro-constant. Give upper bound.
3415 (DBL_EPSILON): Likewise.
3416 (LDBL_EPSILON): Likewise.
3417 (FLT_MIN): Likewise.
3418 (DBL_MIN): Likewise.
3419 (LDBL_MIN): Likewise.
3420 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3421 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3422 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3423 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3424 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3425 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3426 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3427 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3428 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3429 [ISO11] (FLT_TRUE_MIN): Likewise.
3430 [ISO11] (LDBL_TRUE_MIN): Likewise.
3431 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3432 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3433 (SCHAR_MIN): Use macro-int-constant. Specify type.
3434 (SCHAR_MAX): Likewise.
3435 (UCHAR_MAX): Likewise.
3436 (CHAR_MIN): Likewise.
3437 (CHAR_MAX): Likewise.
3438 (MB_LEN_MAX): Use macro-int-constant.
3439 (SHRT_MIN): Use macro-int-constant. Specify type.
3440 (SHRT_MAX): Likewise.
3441 (USHRT_MAX): Likewise.
3442 (INT_MAX): Likewise.
3443 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3444 bound negative.
3445 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3446 bound with "U".
3447 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3448 bound with "L".
3449 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3450 bound negative. Suffix upper bound with "L".
3451 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3452 bound with "UL".
3453 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3454 Specify type.
3455 [C99-based standards] (LLONG_MAX): Likewise.
3456 [C99-based standards] (ULLONG_MAX): Likewise.
3457 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3458 == 0.
3459 [ISO11] (max_align_t): Require type.
3460 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3461
c9140a62
JM
3462 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3463 from $CFLAGS, without defining away __attribute__ calls.
3464 (checknamespace): Use $CFLAGS_namespace.
3465
9af0bf29
JM
3466 * conform/conformtest.pl (@keywords): Only include C99 keywords
3467 for standards based on C99 or C11.
3468
343222a2
JM
3469 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3470 Disable tests.
3471 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3472 UNIX98]: Likewise.
3473
661f8cf0
JM
3474 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3475 usability of symbols in #if.
3476
ee74b9cb
JM
3477 * conform/conformtest.pl: If macro or constant types start
3478 "promoted:", expect the symbol to be of the following type
3479 promoted by the integer promotions.
62fde54f 3480
aafc49b3
JM
3481 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3482 in one place. Also handle "macro-constant".
3483
fefdf574
JM
3484 * conform/conformtest.pl: Only accept expected macro values with
3485 "==". Parse all "macro" lines in one place.
3486 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3487
f2d922fe
JM
3488 * conform/conformtest.pl: Handle braced types on "constant" lines
3489 instead of handling "typed-constant".
3490 * conform/data/signal.h-data: Use "constant" instead of
3491 "typed-constant".
3492
d22956c9
JM
3493 * conform/conformtest.pl: Handle "optional-" at start of lines in
3494 one place rather than duplicating several cases. Handle each
3495 format of "macro" line with initial "optional-".
3496
028e2e38
JM
3497 * conform/conformtest.pl: Only accept expected constant or
3498 optional-constant values with "==". Parse all "constant" lines in
3499 one place. Parse all "optional-constant" lines in one place.
3500 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3501 * conform/data/fmtmsg.h-data: Likewise.
3502 * conform/data/netinet/in.h-data: Likewise.
3503 * conform/data/tar.h-data: Likewise.
3504 * conform/data/limits.h-data: Use "==" form on "constant" and
3505 "optional-constant" lines.
3506
1b8f2850
JM
3507 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3508 Use -std=c99 for XOPEN2K.
3509 (@knownproblems): Remove.
3510 (newtoken): Don't check %isknown.
3511
a05a144b
JM
3512 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3513 Do not expect macro.
3514 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3515 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3516 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3517 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3518 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3519 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3520 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3521 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3522 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3523 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3524 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3525 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3526 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3527 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3528 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3529 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3530 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3531 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3532 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3533 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3534 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3535 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3536 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3537 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3538 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3539 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3540 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3541 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3542 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3543 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3544 [XPG3] (acosh): Likewise.
3545 [XPG3] (asinh): Likewise.
3546 [XPG3] (atanh): Likewise.
3547 [XPG3] (cbrt): Likewise.
3548 [XPG3] (expm1): Likewise.
3549 [XPG3] (ilogb): Likewise.
3550 [XPG3] (log1p): Likewise.
3551 [XPG3] (logb): Likewise.
3552 [XPG3] (nextafter): Likewise.
3553 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3554 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3555 [XPG3] (remainder): Likewise.
3556 [XPG3] (rint): Likewise.
3557 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3558 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3559 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3560 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3561 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3562 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3563 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3564 [UNIX98 || XOPEN2K] (scalb): Expect.
3565 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3566 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3567 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3568 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3569 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3570 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3571 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3572 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3573 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3574 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3575 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3576 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3577 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3578 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3579 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3580 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3581 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3582 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3583 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3584 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3585 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3586 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3587 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3588 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3589 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3590 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3591 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3592 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3593 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3594 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3595 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3596 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3597 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3598 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3599 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3600 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3601 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3602 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3603 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3604 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3605 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3606 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3607 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3608 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3609 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3610 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3611 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3612 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3613 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3614 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3615 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3616 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3617 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3618 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3619 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3620 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3621 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3622 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3623 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3624 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3625 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3626 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3627 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3628 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3629 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3630 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3631 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3632 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3633 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3634 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3635 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3636 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3637 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3638 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3639 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3640 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3641 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3642 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3643 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3644 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3645 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3646 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3647 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3648 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3649 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3650 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3651 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3652 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3653 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3654 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3655 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3656 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3657 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3658 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3659 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3660 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3661 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3662 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3663 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3664 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3665 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3666 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3667 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3668 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3669 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3670 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3671 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3672 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3673 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3674 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3675 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3676 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3677 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3678 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3679 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3680 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3681 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3682 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3683 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3684 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3685 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3686 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3687 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3688 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3689 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3690 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3691 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3692 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3693 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3694 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3695 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3696 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3697 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3698 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3699 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3700 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3701 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3702
73c5ebe3
JM
3703 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3704 _XOPEN_SOURCE_EXTENDED for XPG4.
3705
39c33b6c
JM
3706 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3707
62fde54f
JM
3708 * Makeconfig (localtime): Remove variable.
3709 (inst_localtime-file): Likewise.
3710
0741d64c
AS
37112012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3712
3713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3714 Update.
3715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3716 Update.
3717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3718 Update.
3719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3720 Update.
3721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3722 Update.
3723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3724 Update.
3725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3726 Update.
3727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3728 Update.
3729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3730 Update.
3731
7cb029ee
JM
37322012-05-01 Joseph Myers <joseph@codesourcery.com>
3733
3734 [BZ #2550]
3735 [BZ #2570]
3736 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3737 comparisons to determine direction to adjust input.
3738 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3739 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3740 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3741 Likewise.
3742 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3743 Likewise.
3744 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3745 Likewise.
3746 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3747 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3748 Likewise.
3749 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3750 Likewise.
3751 * math/libm-test.inc (nexttoward_test): Add more tests.
3752
412bd966
AS
37532012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3754
3755 [BZ #14040]
3756 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3757 in version GLIBC_2.1, not GLIBC_2.0.
3758 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3759 Likewise.
3760
9568c0c2
JM
37612012-04-30 Joseph Myers <joseph@codesourcery.com>
3762
adfbc8ac
JM
3763 [BZ #13942]
3764 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3765 (1 - x) * (1 + x).
3766 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3767 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3768 * math/libm-test.inc (acos_test): Add more tests.
3769 (asin_test): Likewise.
3770 * sysdeps/i386/fpu/libm-test-ulps: Update.
3771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3772
5ba3cc69
JM
3773 [BZ #14034]
3774 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3775 of square root.
3776 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3777 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3778 * math/libm-test.inc (acos_test_tonearest): New function.
3779 (acos_test_towardzero): Likewise.
3780 (acos_test_downward): Likewise.
3781 (acos_test_upward): Likewise.
3782 (asin_test_tonearest): Likewise.
3783 (asin_test_towardzero): Likewise.
3784 (asin_test_downward): Likewise.
3785 (asin_test_upward): Likewise.
3786 (main): Call the new functions.
3787 * sysdeps/i386/fpu/libm-test-ulps: Update.
3788 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3789
9568c0c2
JM
3790 [BZ #13884]
3791 [BZ #13924]
3792 * math/e_exp10.c: Include <float.h>.
3793 (__ieee754_exp10): Handle underflow here rather than multiplying
3794 large negative argument by M_LN10.
3795 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3796 of __ieee754_expf.
3797 * math/e_exp10l.c: Include <float.h>.
3798 (__ieee754_exp10l): Handle underflow here rather than multiplying
3799 large negative argument by M_LN10l.
3800 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3801 spurious overflow exception on underflow.
3802
5ac3ea17
MP
38032012-04-29 Marek Polacek <polacek@redhat.com>
3804
3805 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3806 (__fortify_function): New macro.
3807 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3808 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3809 __extern_always_inline.
3810 * libio/bits/stdio2.h: Likewise.
3811 * libio/bits/stdio.h: Likewise.
3812 * string/string.h: Likewise.
3813 * string/bits/string3.h: Likewise.
3814 * include/stdio.h: Likewise.
3815 * stdlib/bits/stdlib.h: Likewise.
3816 * stdlib/stdlib.h: Likewise.
3817 * rt/bits/mqueue2.h: Likewise.
3818 * rt/mqueue.h: Likewise.
3819 * posix/bits/unistd.h: Likewise.
3820 * posix/unistd.h: Likewise.
3821 * io/bits/poll2.h: Likewise.
3822 * io/bits/fcntl2.h: Likewise.
3823 * io/fcntl.h: Likewise.
3824 * io/sys/poll.h: Likewise.
3825 * misc/bits/syslog.h: Likewise.
3826 * misc/bits/syslog-ldbl.h: Likewise.
3827 * misc/sys/syslog.h: Likewise.
3828 * socket/bits/socket2.h: Likewise.
3829 * socket/sys/socket.h: Likewise.
3830 * debug/tst-chk1.c: Likewise.
3831 * wcsmbs/bits/wchar2.h: Likewise.
3832 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3833 * wcsmbs/wchar.h: Likewise.
3834
ecf0ebfb
AJ
38352012-04-29 Andreas Jaeger <aj@suse.de>
3836
3837 * Makerules (tests): Remove enable-check-abi protection.
3838 (check-abi-warn): Remove.
3839 (check-abi-%): Remove check-abi-warn usage.
3840
3841 * configure.in: Remove check-abi configure option.
3842 * configure: Regenerated.
3843 * config.make.in (enable-check-abi): Remove.
3844
6d5c57fa
AS
38452012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3846
24c5d07e 3847 [BZ #14033]
ded5180a
AS
3848 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3849 double functions to double *_finite functions.
3850
7e0d315d
AS
3851 [BZ #13941]
3852 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3853 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3854 LDBL_MIN_EXP.
3855 * stdio-common/Makefile (tests): Add tst-sprintf3.
3856 * stdio-common/tst-sprintf3.c: New file.
3857
6d5c57fa
AS
3858 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3859 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3860
0749ff8b
JM
38612012-04-28 Joseph Myers <joseph@codesourcery.com>
3862
3863 * conform/conformtest.pl: Remove duplicate typed-constant
3864 handling.
3865
8dbd5d7b
DM
38662012-04-28 David S. Miller <davem@davemloft.net>
3867
3868 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3869 (check-abi-%): Remove AWK script prerequisite and explicit
3870 abilist directory.
3871 (check-abi): Rewrite to just diff the symlist with the abilist.
3872 (config-tls, config-abi-config): Delete, no longer used.
3873 (update-abi-%): Remove AWK script and explicit abilist directory.
3874 (update-abi): Rewrite to simply compare and conditionally copy the
3875 symlist and the sysdep abilist file. Remove update-abi-config
3876 checks.
3877 * abilist/ld.abilist: Remove.
3878 * abilist/libBrokenLocale.abilist: Remove.
3879 * abilist/libanl.abilist: Remove.
3880 * abilist/libcrypt.abilist: Remove.
3881 * abilist/libdl.abilist: Remove.
3882 * abilist/librt.abilist: Remove.
3883 * abilist/libthread_db.abilist: Remove.
3884 * abilist/libutil.abilist: Remove.
3885 * scripts/extract-abilist.awk: Remove.
3886 * scripts/merge-abilist.awk: Remove.
3887 * sysdeps/generic/libcidn.abilist: New file.
3888 * sysdeps/generic/libnss_compat.abilist: New file.
3889 * sysdeps/generic/libnss_db.abilist: New file.
3890 * sysdeps/generic/libnss_dns.abilist: New file.
3891 * sysdeps/generic/libnss_files.abilist: New file.
3892 * sysdeps/generic/libnss_hesiod.abilist: New file.
3893 * sysdeps/generic/libnss_nis.abilist: New file.
3894 * sysdeps/generic/libnss_nisplus.abilist: New file.
3895 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3896 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3897 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3898 file.
3899 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3900 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3901 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3902 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3903 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3904 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3905 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3906 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3907 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3908 file.
3909 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3910 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3911 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3912 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3913 file.
3914 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3915 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3916 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3917 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3918 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3919 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3920 file.
3921 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3922 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3923 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3924 file.
3925 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3926 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3927 New file.
3928 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3929 New file.
3930 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3931 New file.
3932 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3933 New file.
3934 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
3935 New file.
3936 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
3937 New file.
3938 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
3939 New file.
3940 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3941 New file.
3942 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3943 New file.
3944 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3945 New file.
3946 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3947 New file.
3948 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3949 New file.
3950 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3951 New file.
3952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3953 file.
3954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3955 New file.
3956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3957 New file.
3958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3959 file.
3960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3961 New file.
3962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3963 New file.
3964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3965 file.
3966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3967 New file.
3968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3969 New file.
3970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3971 New file.
3972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3973 New file.
3974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3975 New file.
3976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3977 New file.
3978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3980 file.
3981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3982 New file.
3983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3984 file.
3985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3986 file.
3987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3988 file.
3989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
3990 file.
3991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
3992 file.
3993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3994 New file.
3995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
3996 file.
3997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
3998 file.
3999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4000 New file.
4001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4002 file.
4003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4005 file.
4006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4007 New file.
4008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4009 file.
4010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4011 file.
4012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4013 file.
4014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4015 file.
4016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4017 file.
4018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4019 New file.
4020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4021 file.
4022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4023 file.
4024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4025 New file.
4026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4027 file.
4028 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4029 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4030 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4031 file.
4032 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4033 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4034 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4035 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4036 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4037 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4038 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4039 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4040 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4041 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4044 file.
4045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4046 New file.
4047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4048 file.
4049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4050 file.
4051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4052 file.
4053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4054 file.
4055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4056 file.
4057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4058 New file.
4059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4060 New file.
4061 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4062 file.
4063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4064 New file.
4065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4066 file.
4067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4069 file.
4070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4071 New file.
4072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4073 file.
4074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4075 file.
4076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4077 file.
4078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4079 file.
4080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4081 file.
4082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4083 New file.
4084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4085 New file.
4086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4087 file.
4088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4089 New file.
4090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4091 file.
4092
41d73a1b
JM
40932012-04-28 Joseph Myers <joseph@codesourcery.com>
4094
4095 * conform/conformtest.pl: Fix typo in handling typed-constant from
4096 allow-header.
4097
28aeeda4
JM
40982012-04-27 Joseph Myers <joseph@codesourcery.com>
4099
adae8f5e
JM
4100 * README: Cut down references to pre-2.6 Linux kernels and
4101 Linuxthreads. Update lists of configurations in libc and ports
4102 and sort alphabetically. Say "or newer" with Linux kernel version
4103 requirements.
4104
28aeeda4
JM
4105 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4106
a462cb63
RA
41072012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4108
4109 [BZ #887]
4110 * math/libm-test.inc (logb_test_downward): New test to expose
4111 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4112 rounding mode.
4113
6ad3493e
JM
41142012-04-27 Joseph Myers <joseph@codesourcery.com>
4115
4116 [BZ #14027]
4117 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4118 to be done.
4119 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4120 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4121
2ce4f015
JM
41222012-04-26 Joseph Myers <joseph@codesourcery.com>
4123
5aeb141a
JM
4124 * sysdeps/unix/i386/brk.S: Remove file.
4125 * sysdeps/unix/i386/dl-brk.S: Likewise.
4126 * sysdeps/unix/i386/pipe.S: Likewise.
4127 * sysdeps/unix/i386/sigreturn.S: Likewise.
4128 * sysdeps/unix/i386/syscall.S: Likewise.
4129 * sysdeps/unix/i386/vfork.S: Likewise.
4130 * sysdeps/unix/i386/wait.S: Likewise.
4131
7143acae
JM
4132 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4133 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4134
2ce4f015
JM
4135 * configure.in (arm*-none*): Do not allow without
4136 --enable-hacker-mode.
4137 (netbsd*): Remove case setting base_os.
4138 (386bsd*): Likewise.
4139 (freebsd*): Likewise.
4140 (bsdi*): Likewise.
4141 (osf*): Likewise.
4142 (sunos*): Likewise.
4143 (ultrix*): Likewise.
4144 (newsos*): Likewise.
4145 (dynix*): Likewise.
4146 (*bsd*): Likewise.
4147 (sysv*): Likewise.
4148 (isc*): Likewise.
4149 (esix*): Likewise.
4150 (sco*): Likewise.
4151 (minix*): Likewise.
4152 (irix4*): Likewise.
4153 (irix6*): Likewise.
4154 (solaris[2-9]*): Likewise.
4155 (none): Likewise.
4156 * configure: Regenerated.
4157
0ac229c8
AZ
41582012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4159
4160 [BZ #11521]
4161 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4162 overflow or cancellation in calculating denominator.
4163 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4164 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4165 down expression to avoid unexpected rounding in newer GCCs.
4166 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4167
33f244f4
DM
41682012-04-26 David S. Miller <davem@davemloft.net>
4169
4170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4171 long-double compat symbols.
4172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4185
cfa1f3e8
DM
41862012-04-25 David S. Miller <davem@davemloft.net>
4187
4188 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4189 HWCAP_* values only after the memory barriers have been defined.
4190 (atomic_full_barrier): Define.
4191 (atomic_read_barrier): Define.
4192 (atomic_write_barrier): Define.
4193
6e236b92
SP
41942012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4195
4196 * shlib-versions: Add libgcc_s version information.
4197 * sysdeps/generic/libgcc_s.h: Remove.
4198 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4199 libgcc_s.h.
4200 * sysdeps/gnu/unwind-resume.c: Likewise.
4201 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4202
aab39a09
DM
42032012-04-25 David S. Miller <davem@davemloft.net>
4204
4205 * sysdeps/unix/sparc/brk.S: Delete.
4206 * sysdeps/unix/sparc/dl-brk.S: Delete.
4207 * sysdeps/unix/sparc/pipe.S: Delete.
4208 * sysdeps/unix/sparc/sysdep.S: Delete.
4209 * sysdeps/unix/sparc/sysdep.h: Delete.
4210 * sysdeps/unix/sparc/vfork.S: Delete.
4211 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4212 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4213 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4214 ret_ERRVAL, r0, r1, MOVE): Define.
4215 (JUMPTARGET): Remove.
4216 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4217 sysdeps/unix/sparc/sysdep.h
4218 (ENTRY, END): Remove.
4219 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4220
a3cc4f48
JM
42212012-04-25 Joseph Myers <joseph@codesourcery.com>
4222
2ed8cda2
JM
4223 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4224 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4225 -DIS_IN_build.
4226
35d76d59
JM
4227 * timezone/README: Update upstream location and email address for
4228 tzcode and tzdata.
4229 * timezone/zdump.c: Update from tzcode 2012b.
4230 * timezone/zic.c: Likewise.
4231
a3cc4f48
JM
4232 * configure.in (libc_cv_as_needed): Remove test.
4233 * configure: Regenerated.
4234 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4235 conditional definition.
4236 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4237 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4238 * config.make.in (have-as-needed): Remove variable.
4239
ceab42c3
SP
42402012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4241 Paul Pluzhnikov <ppluzhnikov@google.com>
4242
4243 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4244 strings correctly.
4245
3ce2865f
CLT
42462012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4247
4248 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4249 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4250 * sysdeps/sh/strlen.S: Likewise.
4251
f37e0d68
JM
42522012-04-24 Joseph Myers <joseph@codesourcery.com>
4253
ae186e9a
JM
4254 * sysdeps/unix/fork.S: Remove file.
4255 * sysdeps/unix/i386/fork.S: Likewise.
4256 * sysdeps/unix/sparc/fork.S: Likewise.
4257
b96914af
JM
4258 * sysdeps/unix/system.c: Remove file.
4259 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4260
f37e0d68
JM
4261 * sysdeps/unix/getegid.S: Remove file.
4262 * sysdeps/unix/geteuid.S: Likewise.
4263
87ef29ca
RM
42642012-04-24 Roland McGrath <roland@hack.frob.com>
4265
83bcd236
RM
4266 * scripts/check-localplt.awk: New file.
4267 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4268 of diff.
4269 * scripts/data/localplt-generic.data: Add a comment.
4270
87ef29ca
RM
4271 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4272 NODE when __dir_mkfile failed.
4273 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4274 Reported by Ludovic Courtès <ludo@gnu.org>.
4275
e5a6e567
AJ
42762012-04-24 Andreas Jaeger <aj@suse.de>
4277
4278 * Makerules (common-clean): Also remove gen-as-const-headers
4279 files.
4280
c1820385
JM
42812012-04-24 Joseph Myers <joseph@codesourcery.com>
4282
4283 * Makerules (native-compile): Do not change working directory for
4284 build. Use $(OUTPUT_OPTION) in command.
4285 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4286
94e02fc4
AZ
42872012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4288
4289 [BZ #13886]
4290 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4291 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4292 * math/libm-test.inc (floor_test): Add more tests.
4293 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4294
3a533ca3
JM
42952012-04-24 Joseph Myers <joseph@codesourcery.com>
4296
940ab4b3
JM
4297 * sysdeps/unix/getdents.c: Remove file.
4298 * sysdeps/unix/sysv/getdents.c: Likewise.
4299 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4300
90e037bd
JM
4301 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4302 sysdeps/unix/mman/syscalls.list.
4303 (mmap): Likewise.
4304 (mprotect): Likewise.
4305 (msync): Likewise.
4306 (munmap): Likewise.
4307 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4308 * sysdeps/unix/mman/syscalls.list: Remove.
4309 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4310
3a533ca3
JM
4311 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4312 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4313 * configure: Regenerated.
4314 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4315 $(libgcc_s_suffix).
4316 * config.make.in (libgcc_s_suffix): Remove variable.
4317
1ad743de
JM
43182012-04-23 Joseph Myers <joseph@codesourcery.com>
4319
4ad451e2
JM
4320 * sysdeps/unix/sysv/gethostname.c: Move to ...
4321 * sysdeps/posix/gethostname.c: ... here.
4322
5e37ce39
JM
4323 * sysdeps/unix/execve.S: Remove file.
4324
1ad743de
JM
4325 * sysdeps/unix/_exit.S: Remove file.
4326
4e681b5b
AJ
43272012-04-23 Andreas Jaeger <aj@suse.de>
4328
4329 [BZ #13739]
4330 * manual/Makefile: Remove make dist support, there's no
4331 need for a stand-alone documentation tar ball.
4332 (TEXI2DVI): Define always, it's not in Makeconfig.
4333 (dist): Removed.
4334 (tar-it): Removed.
4335 (edition): Removed.
4336 (glibc-doc-$(edition).tar): Removed
4337 (%.Z): Removed.
4338 (%.gz): Removed.
4339 (%.uu): Removed.
4340 (ETAGS): Remove, it's in Makeconfig.
4341 (move-if-change): Remove, it's in Makeconfig.
4342
c0baea34
PE
43432013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4344
4345 [BZ #13970]
4346 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4347 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4348 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4349 (strtod_l, strtof_l, strtold_l): Remove __wur.
4350 It is not necessarily an error to ignore strtol's return value.
4351 One can reliably look at the stored endptr to decide whether
4352 the number had valid syntax.
4353
7c0616fa
AJ
43542012-04-21 Andreas Jaeger <aj@suse.de>
4355
803cb6b7 4356 [BZ #13739]
7c0616fa
AJ
4357 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4358
b0fe253f
JM
43592012-04-21 Joseph Myers <joseph@codesourcery.com>
4360
4361 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4362 * sysdeps/unix/sysv/Versions: Remove file.
4363
8280f22d
MT
43642012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4365
4366 [BZ #13927]
4367 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4368
75ce411f 43692012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4370
4371 [BZ #7064]
4372 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4373 version from __vm86.
4374
097d59fa
JM
43752012-04-20 Joseph Myers <joseph@codesourcery.com>
4376
a90f3bcb
JM
4377 * sysdeps/unix/common/lxstat.c: Remove file.
4378 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4379
edc7ea78
JM
4380 * sysdeps/unix/sysv/Makefile: Remove file.
4381
cb78c221
JM
4382 * sysdeps/unix/sysv/direct.h: Remove file.
4383
efa6a45f
JM
4384 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4385 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4386 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4387 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4388 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4389 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4390 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4391
9c9f2d0c
JM
4392 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4393
4541c83b
JM
4394 * sysdeps/unix/xmknod.c: Remove file.
4395 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4396
f5d153a0
JM
4397 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4398
aa746595
JM
4399 * sysdeps/unix/sysv/i386/time.S: Remove file.
4400
cce5905e
JM
4401 * sysdeps/unix/fxstat.c: Remove file.
4402 * sysdeps/unix/xstat.c: Likewise.
4403 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4404
37fa3841
JM
4405 * sysdeps/unix/sysv/sigaction.c: Remove file.
4406
ff1962a3
JM
4407 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4408 (sysdep_headers): Remove variable.
4409 [termio.h not in sysdep_headers] (generated): Likewise.
4410 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4411 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4412 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4413 * sysdeps/unix/sysv/tcflow.c: Likewise.
4414 * sysdeps/unix/sysv/tcflush.c: Likewise.
4415 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4416 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4417 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4418 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4419 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4420
e7740d31
JM
4421 * sysdeps/unix/siglist.c: Remove file.
4422
ee06f18b
JM
4423 * sysdeps/unix/getppid.S: Remove file.
4424
097d59fa
JM
4425 * sysdeps/unix/mkdir.c: Remove file.
4426 * sysdeps/unix/rmdir.c: Likewise.
4427
ff3d51ec
AS
44282012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4429
4430 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4431 ERR_MAX value.
4432 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4433 errlist-compat value.
4434
50f81fd7
DM
44352012-04-18 David S. Miller <davem@davemloft.net>
4436
4437 * sysdeps/generic/memcopy.h (reg_char): Delete.
4438 * debug/strcat_chk.c: Use char, not reg_char.
4439 * debug/strcpy_chk.c: Likewise.
4440 * debug/strncat_chk.c: Likewise.
4441 * debug/strncpy_chk.c: Likewise.
4442 * string/memchr.c: Likewise.
4443 * string/memrchr.c: Likewise.
4444 * string/rawmemchr.c: Likewise.
4445 * string/strcat.c: Likewise.
4446 * string/strchr.c: Likewise.
4447 * string/strchrnul.c: Likewise.
4448 * string/strcmp.c: Likewise.
4449 * string/strcpy.c: Likewise.
4450 * string/strncat.c: Likewise.
4451 * string/strncmp.c: Likewise.
4452 * string/strncpy.c: Likewise.
4453
8ff41c46
WS
44542012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4455
4456 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4457 __builtin_memcopy is called when src and dest ranges are known to not
4458 overlap.
4459
6b652f46
WS
44602012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4461
4462 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4463 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4464 fwd_align_merge macro call.
4465 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4466 bwd_align_merge macro call.
4467 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4468
b282631e
WS
44692012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4470
4471 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4472 bwd_align_merge macros.
4473 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4474 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4475 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4476
95aa737c
DM
44772012-04-18 David S. Miller <davem@davemloft.net>
4478
4479 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4480
7a99a614
AJ
44812012-04-18 Andreas Jaeger <aj@suse.de>
4482
4483 [BZ# 6794]
4484 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4485 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4486 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4487
4488 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4489 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4490 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4491
4492 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4493 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4494 Adjust for changed ldbl-128 files.
4495
4496 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4497 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4498 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4499
e5270c23
DM
45002012-04-17 David S. Miller <davem@davemloft.net>
4501
4502 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4503
fb5e92c9
AS
45042012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4505
4506 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4507 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4508 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4509 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4510 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4511 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4512
76da7265
AZ
45132012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4514
4515 [BZ #6794]
4516 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4517 * math/libm-test.inc: Add ilogb errno and exception tests.
4518 * math/w_ilogb.c: New file: ilogb wrapper.
4519 * math/w_ilogbf.c: New file: ilogbf wrapper.
4520 * math/w_ilogbl.c: New file: ilogbl wrapper.
4521 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4522 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4523 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4524 exception being thrown with 0.0 as argument.
4525 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4526 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4527 exception being thrown with 0.0 as argument.
4528 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4529 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4530 exception being thrown with 0.0 as argument.
4531 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4532 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4533 exception being thrown with 0.0 as argument.
4534 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4535 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 4536 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
4537 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4538 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4539 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4540 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4541 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4542 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4543
0396e69d
PB
45442012-04-17 Petr Baudis <pasky@ucw.cz>
4545
4546 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4547 with altivec.
4548
750b5926
MP
45492012-04-16 Marek Polacek <polacek@redhat.com>
4550
4551 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4552
751728a1
MP
45532012-04-16 Marek Polacek <polacek@redhat.com>
4554
4555 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4556 operands of fdivp instruction.
4557
34a27407
L
45582012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4559
4560 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4561 * elf/tst-auditmod3b.c: Likewise.
4562 * elf/tst-auditmod4b.c: Likewise.
4563 * elf/tst-auditmod5b.c: Likewise.
4564 * elf/tst-auditmod6b.c: Likewise.
4565 * elf/tst-auditmod6c.c: Likewise.
4566 * elf/tst-auditmod7b.c: Likewise.
4567 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4568 * sysdeps/x86_64/preconfigure.in: Likewise.
4569 * sysdeps/x86_64/preconfigure: Regenerated.
4570
7e73e17d
L
45712012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4572
4573 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4574 __ILP32__.
4575
c7a6ab72
AB
45762012-04-13 Antoine Balestrat <merkil33@gmail.com>
4577
4578 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4579 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4580
a9e8e0e0
CL
45812012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4582
4583 [BZ #13973]
4584 * locale/iso-639.def: Fix gl language name. Spotted by
4585 Yaron Shahrabani.
4586
ec98af7d
RM
45872012-04-12 Roland McGrath <roland@hack.frob.com>
4588
4589 [BZ #2074]
4590 * libio/libio.h (__io_write_fn): Update comment.
4591
247c3ede
PB
45922012-04-12 Petr Baudis <pasky@ucw.cz>
4593
4594 [BZ #2074]
4595 * stdio.texi (Hook Functions): The user provided writer function
4596 is not allowed to return -1.
4597
55939d6d
DM
45982012-04-11 David S. Miller <davem@davemloft.net>
4599
4600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4601
90020f5a
MF
46022012-04-11 Mike Frysinger <vapier@gentoo.org>
4603
4604 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4605 Add a leading slash to rtkaio.
4606
288f9098
JM
46072012-04-11 Jim Meyering <meyering@redhat.com>
4608
90020f5a
MF
4609 [BZ #11959]
4610 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4611 It is not necessarily an error to ignore fwrite's return
4612 value. One can reliably use ferror to test for errors after
4613 the fact.
288f9098 4614
4be2b570
L
46152012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4616
4617 * bits/types.h (__snseconds_t): New type.
4618 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4619
4620 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4621 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4622 (__SNSECONDS_T_TYPE): Likewise.
4623 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4624 (__SNSECONDS_T_TYPE): Likewise.
4625 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4626 (__SNSECONDS_T_TYPE): Likewise.
4627
288f9098 46282012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
4629
4630 [BZ #2636]
4631 * manual/time.texi (Processor Time): Return type of times is
4632 elapsed real time since an arbitrary point in the past.
4633 (CPU Time): Move CLK_TCK from here...
4634 (Processor Time): ...to here. Correct description.
4635 * manual/conf.texi (Constants for Sysconf): Correct description of
4636 _SC_CLK_TCK.
4637
d7dd4413
DM
46382012-04-10 David S. Miller <davem@davemloft.net>
4639
4640 [BZ #13967]
4641 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4642 where the is a gap between DT_REL(A) and DT_JMPREL.
4643
b46068fc
L
46442012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4645
4646 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4647 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4648 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4649
73d65cc3
SP
46502012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4651
4652 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4653 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4654 (dl_main): Handle --inhibit-cache.
4655 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4656 _dl_inhibit_cache.
4657 * elf/dl-load.c (_dl_map_object): Use it.
4658 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4659
bcc8d661
JM
46602012-04-09 Joseph Myers <joseph@codesourcery.com>
4661
8f9a2fae
JM
4662 [BZ #13872]
4663 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4664 (__ieee754_powl): Saturate large exponents rather than testing for
4665 overflow of y*log2(x).
4666 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4667 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4668 exceptions.
4669
bcc8d661
JM
4670 [BZ #11521]
4671 * math/s_ctan.c: Include <float.h>.
4672 (__ctan): Avoid internal overflow or cancellation in calculating
4673 denominator.
4674 * math/s_ctanf.c: Likewise.
4675 * math/s_ctanl.c: Likewise.
4676 * math/s_ctanh.c: Likewise.
4677 * math/s_ctanhf.c: Likewise.
4678 * math/s_ctanhl.c: Likewise.
4679 * math/libm-test.inc (ctan_test): Add more tests.
4680 (ctanh_test): Likewise.
4681 * sysdeps/i386/fpu/libm-test-ulps: Update.
4682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4683
823fbbb4
AJ
46842012-04-09 Andreas Jaeger <aj@suse.de>
4685
03879793
AJ
4686 [BZ #6894]
4687 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4688 is an optional BSD extension.
4689
823fbbb4
AJ
4690 [BZ #10254]
4691 * manual/stdio.texi (Opening Streams): Document additional fopen
4692 parameters.
4693
8de131cb
RM
46942012-04-09 Roland McGrath <roland@hack.frob.com>
4695
4696 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4697 %eax without telling the compiler.
4698
c0ed9d7d
CD
46992012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4700
4701 [BZ # 13963]
4702 * manual/install.texi: Use sourceware.org.
4703
c483f6b4
JM
47042012-04-09 Joseph Myers <joseph@codesourcery.com>
4705
d7dd9453
JM
4706 [BZ #13873]
4707 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4708 (__ieee754_pow): Generate overflow and underflow using huge*huge
4709 and tiny*tiny rather than just returning constant infinity or zero
4710 for large exponents.
4711 * math/libm-test.inc (pow_test): Require overflow exceptions for
4712 applicable cases of large exponents.
4713
c483f6b4
JM
4714 [BZ #706]
4715 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4716 (__ieee754_pow): Use iterative multiplication algorithm only for
4717 integer exponents with absolute value below 1024. Check for odd
4718 integer exponents when using algorithm for real exponents.
4719 * math/libm-test.inc (pow_test): Add more tests.
4720 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4721
d2de7579
JM
47222012-04-08 Joseph Myers <joseph@codesourcery.com>
4723
4724 [BZ #13705]
4725 * math/libm-test.inc (exp_test): Do not allow overflow exception
4726 on underflow test.
4727
f77f1232
AJ
47282012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4729
4730 [BZ #13705]
4731 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4732 instead of __kernel_standard_f.
4733
3884932b
MF
47342012-04-08 Mike Frysinger <vapier@gentoo.org>
4735
4736 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4737 * sysdeps/x86_64/memset_chk.S: Likewise.
4738
54472e9c
AJ
47392012-04-08 Andreas Jaeger <aj@suse.de>
4740
6ab0fbfc
AJ
4741 [BZ #10153]
4742 * manual/startup.texi (Environment Access): Describe return value
4743 for putenv and setenv.
4744
61efba8c
AJ
4745 [BZ #6895]
4746 * manual/filesys.texi (Directory Entries): Add description for
4747 DT_LNK.
4748
95c3f29a
AJ
4749 [BZ #6890]
4750 * manual/filesys.texi (Directory Entries): Clarify that it's file
4751 system not operating system in the description of DT_UNKNOWN.
4752
54472e9c
AJ
4753 [BZ #6578]
4754 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4755
624254b1
SC
47562012-04-08 Stephen Compall <s11@member.fsf.org>
4757
4758 [BZ #6649]
4759 * manual/llio.texi (Opening and Closing Files): Add cross
4760 reference to explain mode argument.
4761
1e4920e0
MF
47622012-04-07 Mike Frysinger <vapier@gentoo.org>
4763
4764 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4765 * sysdeps/x86_64/memset_chk.S: Likewise.
4766
5ed848f3
DM
47672012-04-07 David S. Miller <davem@davemloft.net>
4768
4769 * elf/elf.h (R_SPARC_WDISP10): Define.
4770 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4771 R_SPARC_SIZE32.
4772 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4773 R_SPARC_SIZE64 and R_SPARC_H34.
4774
96154cd8
CD
47752012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4776
4777 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4778 conditions and remove no longer applicable assertion.
4779
9904dc47
L
47802012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4781
4782 * bits/byteswap.h: Include <features.h>.
4783 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4784 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4785
f8887d0a
L
47862012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4787
4788 * bits/byteswap.h (__bswap_16): Removed.
4789 Include <bits/byteswap-16.h> to get __bswap_16.
4790 * sysdeps/i386/bits/byteswap.h: Likewise.
4791 * sysdeps/s390/bits/byteswap.h: Likewise.
4792 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4793 * bits/byteswap-16.h: New file.
4794 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4795 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4796 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4797 * string/Makefile (headers): Add bits/byteswap-16.h.
4798
62470f60
PP
47992012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4800
4801 [BZ #13895]
4802 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4803 extra indirection.
4804 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4805 * nss/tst-nss-static.c: New.
4806
4dad7bab
RM
48072012-04-06 Robert Millan <rmh@gnu.org>
4808
4809 [BZ #6486]
4810 * manual/llio.texi (File Position Primitive): lseek
4811 refers to WHENCE when it really means OFFSET.
4812
e9142a17
AJ
48132012-04-06 Andreas Jaeger <aj@suse.de>
4814
2c040eff
AJ
4815 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4816 strncmp declarations.
4817
e9142a17
AJ
4818 * abilist/libc.abilist: Add __poll and __ppoll.
4819
ff9f1c5f
DM
48202012-04-05 David S. Miller <davem@davemloft.net>
4821
dcd2ae90
DM
4822 * scripts/check-local-headers.sh: Accept a host triplet in the
4823 path matched by the exclude regexp.
4824
993eb054
DM
4825 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4826 definition.
4827 * sysdeps/powerpc/powerpc32/dl-machine.h
4828 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4829 * sysdeps/s390/s390-32/dl-machine.h
4830 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4831 * sysdeps/sparc/sparc32/dl-machine.h
4832 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4833 * sysdeps/sparc/sparc64/dl-machine.h
4834 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4835
ff9f1c5f
DM
4836 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4837 lazy binding.
48e2e132 4838 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
4839 undefined symbol errors.
4840
48e2e132 4841 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
4842 DT_NEEDED entries.
4843
e80d6f94
MM
48442012-04-05 Michael Matz <matz@suse.de>
4845
4846 [BZ #13592]
4847 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4848
349fa79f
AJ
48492012-04-05 Andreas Jaeger <aj@suse.de>
4850
4851 [BZ #13908]
4852 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4853 comment.
4854
f402708f
KK
48552012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4856
4857 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4858 which ROUND is no valid rounding mode.
4859
2ecccfc9
KK
48602012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4861
4862 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4863 read again.
4864 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4865
8a53f50f
KK
48662012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4867
4868 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4869 an exception using FPU order intentionally.
4870
48712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4872
4873 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4874 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4875 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4876 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4877
d653abb7
SJ
48782012-04-05 Simon Josefsson <simon@josefsson.org>
4879
4880 [BZ #12340]
4881 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4882 EINVAL when BUFLEN is too smal.
4883
c3b1bf7d
TS
48842012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4885
4886 [BZ #13553]
4887 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4888 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4889
b1aa60f3
AJ
48902012-04-03 Andreas Jaeger <aj@suse.de>
4891
c3b1bf7d 4892 [BZ #13938]
67f60a26
AJ
4893 * manual/setjmp.texi (System V contexts): Fix sentence.
4894
b1aa60f3
AJ
4895 [BZ #13926]
4896 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4897 New macro for this case.
4898 [!__GNUC__] (__bswap_64): New inline function for this case.
4899 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4900 * bits/byteswap.h: Likewise.
4901 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4902 ull, guard with __GLIBC_HAVE_LONG_LONG.
4903
4904 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4905 __GLIBC_HAVE_LONG_LONG.
4906
4907 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4908 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4909
39c59c35
TMQMF
49102012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4911
4912 [BZ #13691]
4913 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4914 inptr and inend, rather than using last_ch.
4915
135ffda8
DM
49162012-04-02 David S. Miller <davem@davemloft.net>
4917
4918 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4919 * stdio-common/printf-parse.h (read_int): Change return type to
4920 'int', return -1 on INT_MAX overflow.
4921 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4922 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4923 overflows INT_MAX. Check for overflow of in-format-string precision
4924 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4925 SIZE_MAX not INT_MAX for integer overflow test.
4926 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4927 skip the construct in the format string but do not record anything.
4928 * stdio-common/bug22.c: Adjust to test both width/prevision
4929 INT_MAX overflow as well as total length INT_MAX overflow. Check
4930 explicitly for proper errno values.
4931
228c019e
TS
49322012-04-02 Thomas Schwinge <thomas@codesourcery.com>
4933
302cadd3
TS
4934 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
4935 CHAR_MAX.
4936 * string/test-strcmp.c [! WIDE]: Likewise.
4937 * time/tst-mktime2.c: Likewise for INT_MAX.
4938 * string/test-string.h: #include <sys/param.h> for MIN.
4939
228c019e
TS
4940 * csu/init-first.c (__libc_init_first): Call __ctype_init.
4941 * sysdeps/i386/init-first.c (init): Likewise.
4942 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4943 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4944 * sysdeps/sh/init-first.c (init): Likewise.
4945
cfa633f5
UD
49462012-04-01 Ulrich Drepper <drepper@gmail.com>
4947
4948 * po/ru.po: Update from translation team.
d1635ef8 4949 * po/vi.po: Likewise.
cfa633f5 4950
6cd0a5ea
SP
49512012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4952
4953 * resolv/nss_dns/dns-host.c: Merge copyright years.
4954
4b43400f
LD
49552012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4956
4957 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4958 Optimize memcpy with prefetch if
4959 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4960 src, dst pointers have unequal 16 byte alignments.
4961
48c41d04
SP
49622012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4963
4964 [BZ #13928]
4965 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4966 from a CNAME entry and return the minimum ttl for the query.
4967 (gaih_getanswer_slice): Likewise.
4968
b8dc394d
JL
49692012-03-30 Jeff Law <law@redhat.com>
4970
4971 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4972 due to long keys.
4973 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4974 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4975
2f5a5ed0
JL
4976 * resolv/nss_dns/dns-host.c: Update copyright year.
4977
1d39e359
UD
49782012-03-30 Ulrich Drepper <drepper@gmail.com>
4979
c030f70c 4980 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 4981 requests to save a system call. Fix check that all bytes are sent.
c030f70c 4982
1d39e359
UD
4983 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4984 comments for sendmmsg.
4985
49862012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
4987
4988 [BZ #13691]
4989 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
4990 with only 1 character between 0x0041 and 0x01b0.
4991 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
4992 * wcsmbs/tst-mbsnrtowcs.c: New file.
4993
20fde227
DM
49942012-03-29 David S. Miller <davem@davemloft.net>
4995
4996 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
4997 small copies by hand.
4998
984a4237
JL
49992012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5000
5001 [BZ #13761]
5002 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5003 _nss_compat_initgroups_dyn): Fall back to malloc/free
5004 for large group memberships.
5005
18c9d62b
DM
50062012-03-28 David S. Miller <davem@davemloft.net>
5007
88d85d4f
DM
5008 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5009 that branches into memcpy.
5010 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5011 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5012 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5013 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5014 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5015 bits.
5016 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5017 implementation too.
5018 * sysdeps/sparc/mempcpy.S: New file.
5019
e5aa83e1
DM
5020 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5021 the IFUNC routine in the libc case.
5022 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5023
88570753
DM
5024 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5025 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5026 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5027 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5028 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5029 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5030 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5031 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5032
249d7567
DM
5033 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5034 loop to 256 bytes instead of 64 bytes and fix test signedness.
5035
18c9d62b
DM
5036 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5037 * sysdeps/sparc/sparc32/Makefile: rather than here...
5038 * sysdeps/sparc/sparc64/Makefile: and here.
5039
05f3d1f6
UD
50402012-03-28 Ulrich Drepper <drepper@gmail.com>
5041
5042 * malloc/mallocbug.c: Avoid warnings about unused variables.
5043
86ae07a8
JL
50442012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5045
5046 [BZ #13760]
5047 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5048 in the right place. Discard and retry query if response is
5049 larger than input buffer size.
5050
41bf21a1
JM
50512012-03-28 Joseph Myers <joseph@codesourcery.com>
5052
d6270972
JM
5053 [BZ #369]
5054 [BZ #2678]
5055 [BZ #3866]
5056 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5057 x for large integer exponent.
5058 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5059 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5060 sign of result as needed afterwards.
5061 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5062 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5063 result for underflowing pow the same as for overflow.
5064 (__kernel_standard_l): Handle powl overflow and underflow here
5065 rather than calling __kernel_standard.
5066 * math/libm-test.inc (pow_test): Add more tests.
5067
414fca03 5068 [BZ #3868]
41bf21a1
JM
5069 [BZ #13879]
5070 [BZ #13910]
5071 [BZ #13911]
5072 [BZ #13912]
5073 [BZ #13913]
5074 [BZ #13915]
5075 [BZ #13916]
5076 [BZ #13917]
5077 [BZ #13918]
5078 [BZ #13919]
5079 [BZ #13920]
5080 [BZ #13921]
5081 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5082 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5083 (__kernel_standard_l): New function.
5084 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5085 __kernel_standard.
5086 * math/w_acosl.c (__acosl): Likewise.
5087 * math/w_asinl.c (__asinl): Likewise.
5088 * math/w_atan2l.c (__atan2l): Likewise.
5089 * math/w_atanhl.c (__atanhl): Likewise.
5090 * math/w_coshl.c (__coshl): Likewise.
5091 * math/w_exp10l.c (__exp10l): Likewise.
5092 * math/w_exp2l.c (__exp2l): Likewise.
5093 * math/w_fmodl.c (__fmodl): Likewise.
5094 * math/w_hypotl.c (__hypotl): Likewise.
5095 * math/w_j0l.c (__j0l, __y0l): Likewise.
5096 * math/w_j1l.c (__j1l, __y1l): Likewise.
5097 * math/w_jnl.c (__jnl, __ynl): Likewise.
5098 * math/w_lgammal.c (__lgammal): Likewise.
5099 * math/w_log10l.c (__log10l): Likewise.
5100 * math/w_log2l.c (__log2l): Likewise.
5101 * math/w_logl.c (__logl): Likewise.
5102 * math/w_powl.c (__powl): Likewise.
5103 * math/w_remainderl.c (__remainderl): Likewise.
5104 * math/w_scalbl.c (sysv_scalbl): Likewise.
5105 * math/w_sinhl.c (__sinhl): Likewise.
5106 * math/w_sqrtl.c (__sqrtl): Likewise.
5107 * math/w_tgammal.c (__tgammal): Likewise.
5108 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5109 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5110 * math/libm-test.inc (acos_test): Add more tests.
5111 (acosh_test): Likewise.
5112 (asin_test): Likewise.
5113 (atanh_test): Likewise.
5114 (exp_test): Likewise.
5115 (exp10_test): Likewise.
5116 (exp2_test): Likewise.
5117 (expm1_test): Likewise.
5118 (lgamma_test): Likewise.
5119 (log_test): Likewise.
5120 (log10_test): Likewise.
5121 (log1p_test): Likewise.
5122 (log2_test): Likewise.
5123 (pow_test): Do not allow some spurious overflow exceptions.
5124 (sqrt_test): Add more tests.
5125 (tgamma_test): Likewise.
5126 (y0_test): Likewise.
5127 (y1_test): Likewise.
5128 (yn_test): Likewise.
5129
dd62fda6
AB
51302012-03-27 Anton Blanchard <anton@samba.org>
5131
5132 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5133 MAP_HUGETLB.
5134 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5135 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5136 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5137
1e3cdfda
AJ
51382012-03-27 David S. Miller <davem@davemloft.net>
5139
b855ab85
DM
5140 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5141
1e3cdfda
AJ
5142 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5143 have-as-vis3 check.
5144
51452012-03-27 Andreas Jaeger <aj@suse.de>
5146
5147 * sysdeps/x86_64/elf/configure.in: Moved to ...
5148 * sysdeps/x86_64/configure.in: ... here.
5149 * sysdeps/x86_64/elf/start.S: Moved to ...
5150 * sysdeps/x86_64/start.S: ... here.
5151 * sysdeps/x86_64/elf/configure: Delete.
5152
5153 * sysdeps/x86_64/configure.in: Merge contents from
5154 sysdeps/i386/configure.in (without i686 check).
5155
5156 * sysdeps/i386/elf/Versions: Merge into ...
5157 * sysdeps/i386/Versions: ... this.
5158 * sysdeps/i386/elf/Versions: Delete file.
5159 * sysdeps/i386/elf/start.S: Moved to ...
5160 * sysdeps/i386/start.S: ...here.
5161 * sysdeps/i386/elf/configure.in: Merge into...
5162 * sysdeps/i386/configure.in: ...here.
5163 * sysdeps/i386/elf/configure.in: Delete file.
5164 * sysdeps/i386/elf/configure: Delete file.
5165
5166 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5167 * debug/backtracesyms.c: ... here.
5168 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5169 * debug/backtracesymsfd.c: ... here.
5170 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5171 * sysdeps/generic/ifunc-sel.h: ... here.
5172
5173 * sysdeps/unix/i386/start.c: Delete file.
5174 * sysdeps/unix/sparc/start.c: Delete file.
5175 * sysdeps/unix/start.c: Delete file.
5176
5177 * sysdeps/sh/elf/configure.in: Moved to ...
5178 * sysdeps/sh/configure.in: ... here.
5179 * sysdeps/sh/elf/start.S: Moved to ...
5180 * sysdeps/sh/start.S: ... here.
5181 * sysdeps/sh/elf/configure: Delete file.
5182
5183 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5184 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5185 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5186 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5187 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5188 * sysdeps/powerpc/powerpc64/start.S: here.
5189 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5190 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5191 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5192 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5193 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5194
5195 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5196 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5197 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5198 * sysdeps/powerpc/powerpc32/start.S: ... here.
5199 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5200 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5201 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5202
5203 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5204 * sysdeps/powerpc/ifunc-sel.h: ... here.
5205 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5206 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5207
5208 * sysdeps/sparc/elf/configure.in: Moved to ...
5209 * sysdeps/sparc/configure.in: ... here.
5210 * sysdeps/sparc/elf/configure: Delete file.
5211 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5212 * sysdeps/sparc/sparc32/start.S: ... here.
5213 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5214 * sysdeps/sparc/sparc64/start.S: ... here.
5215 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5216 * sysdeps/sparc/sparc32/Makefile: ... this.
5217 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5218 * sysdeps/sparc/sparc64/Makefile: ... this.
5219
5220 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5221 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5222 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5223 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5224 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5225 * sysdeps/s390/s390-32/setjmp.S: ... here.
5226 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5227 * sysdeps/s390/s390-32/configure.in: ... here.
5228 * sysdeps/s390/s390-32/elf/configure: Delete file.
5229 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5230 * sysdeps/s390/s390-32/start.S: ... here.
5231
5232 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5233 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5234 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5235 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5236 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5237 * sysdeps/s390/s390-64/setjmp.S: ... here.
5238 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5239 * sysdeps/s390/s390-64/configure.in: ... here
5240 * sysdeps/s390/s390-64/elf/configure: Delete file.
5241 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5242 * sysdeps/s390/s390-64/start.S: ... here.
5243 * sysdeps/s390/s390-64/elf/configure: Delete.
5244
5245 * configure.in: Remove support for elf directories in sysdeps.
5246
5247 * configure: Regenerated.
5248 * sysdeps/i386/configure: Regenerated.
5249 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5250 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5251 * sysdeps/s390/s390-32/configure: Regenerated.
5252 * sysdeps/s390/s390-64/configure: Regenerated.
5253 * sysdeps/sh/configure: Regenerated.
5254 * sysdeps/sparc/configure: Regenerated.
5255 * sysdeps/x86_64/configure: Regenerated.
5256
a3f61311
AS
52572012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5258
c876e002
AS
5259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5260
a3f61311
AS
5261 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5262 denormal result into account.
5263
ac4c54f0
RM
52642012-03-25 Roland McGrath <roland@hack.frob.com>
5265
5266 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5267 Reported by Allan McRae <allan@archlinux.org>.
5268
6a9b9c02
JL
52692012-03-23 Jeff Law <law@redhat.com>
5270
5271 * nss/getnssent.c (__nss_getent): Fix typo.
5272
4c42a0c1
DM
52732012-03-23 David S. Miller <davem@davemloft.net>
5274
5275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5276
1532c7ac
L
52772012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5278
5279 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5280 to pad to uint64_t for each field.
5281 (dl_tls_index): Replace unsigned long with uint64_t.
5282
3ff42526
PP
52832012-03-23 Daniel Jacobowitz <dmj@google.com>
5284 Paul Pluzhnikov <ppluzhnikov@google.com>
5285
5286 [BZ #6528]
5287 * grp/Makefile (otherlibs): Don't set it.
5288 * inet/Makefile (otherlibs): Likewise.
5289 * login/Makefile (otherlibs): Likewise.
5290 * nscd/Makefile (otherlibs): Likewise.
5291 * posix/Makefile (otherlibs): Likewise.
5292 * pwd/Makefile (otherlibs): Likewise.
5293 * rt/Makefile (otherlibs): Likewise.
5294 * sunrpc/Makefile (otherlibs): Likewise.
5295 * nss/Makefile (otherlibs): Likewise.
5296 Add libnss_files to routines and static-only-routines.
5297 ($(objpfx)getent): Remove rule.
5298 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5299 static-only-routines.
5300
7c69cd14
JM
53012012-03-22 Joseph Myers <joseph@codesourcery.com>
5302
5303 [BZ #13892]
5304 * math/s_cexp.c: Include <float.h>.
5305 (__cexp): Handle exp result overflowing not necessarily
5306 overflowing both real and imaginary parts of result.
5307 * math/s_cexpf.c: Likewise.
5308 * math/s_cexpl.c: Likewise.
5309 * math/libm-test.inc (cexp_test): Add more tests.
5310 * sysdeps/i386/fpu/libm-test-ulps: Update.
5311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5312
81b035fe
L
53132012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5314
5315 * include/link.h (ELFW): New macro.
5316 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5317 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5318
1da7940c
L
53192012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5320
5321 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5322 with uint64_t.
5323
b749dbb9
L
53242012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5325
5326 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5327 declaration.
5328 (struct La_x32_retval): Likewise.
5329
2ff87f3f
L
53302012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5331
5332 * sysdeps/x86_64/preconfigure.in: New file.
5333 * sysdeps/x86_64/preconfigure: New generated file.
5334
c0df8e69
JM
53352012-03-22 Joseph Myers <joseph@codesourcery.com>
5336
48e44791
JM
5337 [BZ #13824]
5338 * math/e_exp2l.c: Include <float.h>.
5339 (__ieee754_exp2l): Handle overflow and underflow cases
5340 separately. Only pass fractional part of argument to
5341 __ieee754_expl.
5342 * math/libm-test.inc (exp2_test): Add more tests.
5343
c0df8e69
JM
5344 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5345 negating x to take absolute value.
5346 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5347 Likewise.
5348 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5349 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5350 Likewise.
5351 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5352 computing low part if x was negated.
5353 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5354
c8e43ba7
L
53552012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5356
5357 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5358 la_x32_gnu_pltexit.
5359 (pltexit): Cast int_retval to ptrdiff_t.
5360 * elf/tst-auditmod3b.c: Likewise.
5361 * elf/tst-auditmod4b.c: Likewise.
5362 * elf/tst-auditmod5b.c: Likewise.
5363 * elf/tst-auditmod6b.c: Likewise.
5364 * elf/tst-auditmod6c.c: Likewise.
5365 * elf/tst-auditmod7b.c: Likewise.
5366
5367 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5368 and x32_gnu_pltexit.
5369
5370 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5371 __ELF_NATIVE_CLASS.
5372 (La_x32_regs): New macro.
5373 (La_x32_retval): Likewise.
5374 (la_x32_gnu_pltenter): New function prototype.
5375 (la_x32_gnu_pltexit): Likewise.
5376
7998fa78
AS
53772012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5378
dcb33988
AS
5379 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5380 exponent.
5381
233fc563
AS
5382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5383
7998fa78
AS
5384 * configure.in (libc_cv_cc_nofma): Check for option to disable
5385 generation of FMA instructions.
5386 * configure: Regenerate.
5387 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5388 * sysdeps/ieee754/dbl-64/Makefile: New file.
5389 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5390 Remove brandred-fma4.
5391 (CFLAGS-brandred-fma4.c): Remove.
5392 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5393 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5394 define.
5395 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5396 define.
5397
8e95c99a
L
53982012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5399
5400 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5401 LLONG_MAX != LONG_MAX.
5402 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5403 (_fitoa_word): Likewise.
5404 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5405 LLONG_MAX != LONG_MAX.
5406 * stdio-common/_itowa.h: Include <_itoa.h>.
5407 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5408 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5409 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5410 only if not defined.
5411 (_ITOA_WORD_TYPE): Likewise.
5412 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5413 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5414
6f4db457
DM
54152012-03-21 David S. Miller <davem@davemloft.net>
5416
5417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5418
7785fe5a
L
54192012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5420
5421 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5422 of x86_64 when setting libc_cv_slibdir, libdir and
5423 libc_cv_localedir.
5424 * sysdeps/unix/sysv/linux/configure: Regenerated.
5425
4535cd55
JM
54262012-03-21 Joseph Myers <joseph@codesourcery.com>
5427
5428 * manual/lang.texi (Old Varargs): Remove section.
5429 (How Variadic): Update menu.
5430 (va_start): Do not mention varargs.h.
5431
17228132
TS
54322012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5433 Joseph Myers <joseph@codesourcery.com>
5434
5435 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5436 link test.
5437 * configure: Regenerated.
5438
8149f976
TS
54392012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5440
05f3d1f6
UD
5441 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5442 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5443 conformtest.pl
8149f976 5444
1a4ac776
JM
54452012-03-21 Joseph Myers <joseph@codesourcery.com>
5446
be22ce65
JM
5447 * NOTES: Remove.
5448 * Makefile (files-for-dist): Remove NOTES.
5449 (NOTES): Remove rule.
5450 * README: Don't refer to NOTES.
5451 * manual/creature.texi: Don't include macros.texi.
5452 * manual/intro.texi (creature.texi): Remove comment referring to
5453 NOTES.
5454
40b601fb
JM
5455 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5456 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5457 * configure: Regenerated.
5458 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5459 LIBC_TRY_CC_OPTION.
5460 (libc_cv_as_i686): Likewise.
5461 (libc_cv_cc_avx): Likewise.
5462 (libc_cv_cc_sse2avx): Likewise.
5463 (libc_cv_cc_fma4): Likewise.
5464 (libc_cv_cc_novzeroupper): Likewise.
5465 * sysdeps/i386/configure: Regenerated.
5466
1a4ac776
JM
5467 [BZ #13883]
5468 * sysdeps/i386/fpu/s_cexp.S: Remove.
5469 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5470 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5471 * math/libm-test.inc (cexp_test): Add more tests.
5472 * sysdeps/i386/fpu/libm-test-ulps: Update.
5473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5474
a458e7fe
AM
54752012-03-21 Allan McRae <allan@archlinux.org>
5476
5477 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5478
0cb7efc5
JM
54792012-03-21 Joseph Myers <joseph@codesourcery.com>
5480
5481 [BZ #13871]
5482 * math/w_exp2.c: Do not include <float.h>.
5483 (o_threshold, u_threshold): Remove.
5484 (__exp2): Calculate result before checking finiteness and calling
5485 __kernel_standard.
5486 * math/w_exp2f.c: Likewise.
5487 * math/w_exp2l.c: Likewise.
5488 * math/libm-test.inc (exp2_test): Require overflow exception for
5489 1e6 input.
2460d3aa
JM
5490
5491 [BZ #3866]
5492 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5493 range of signed 64-bit integers before using fistpll. Remove
5494 checks for whether integers fit in mantissa bits.
5495 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5496 the range of signed 32-bit integers before using fistpl. Remove
5497 checks for whether integers fit in mantissa bits.
5498 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5499 (__ieee754_powl): Test for y outside the range of signed 64-bit
5500 integers before using fistpll. Reduce 64-bit values to 63-bit
5501 ones as needed.
5502 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5503 divide-by-zero is raised for zero to large negative powers.
5504 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5505 (__ieee754_powl): Test for y outside the range of signed 64-bit
5506 integers before using fistpll. Reduce 64-bit values to 63-bit
5507 ones as needed.
5508 * math/libm-test.inc (pow_test): Add more tests.
5509
eb96ffb0
L
55102012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5511
5512 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5513 <stdio-common/_itoa.h>.
5514 * debug/segfault.c: Likewise.
5515 * elf/dl-cache.c: Likewise.
5516 * elf/dl-minimal.c: Likewise.
5517 * elf/dl-misc.c: Likewise.
5518 * elf/dl-sysdep.c: Likewise.
5519 * elf/dl-version.c: Likewise.
5520 * elf/rtld.c: Likewise.
5521 * hurd/hurdsock.c: Likewise.
5522 * hurd/lookup-retry.c: Likewise.
5523 * malloc/malloc.c: Likewise.
5524 * malloc/mtrace.c: Likewise.
5525 * nscd/nscd_getgr_r.c: Likewise.
5526 * nscd/nscd_getpw_r.c: Likewise.
5527 * nscd/nscd_getserv_r.c: Likewise.
5528 * posix/getopt_init.c: Likewise.
5529 * posix/wordexp.c: Likewise.
5530 * stdio-common/_itoa.c: Likewise.
5531 * stdio-common/printf_fphex.c: Likewise.
5532 * stdio-common/vfprintf.c: Likewise.
5533 * string/_strerror.c: Likewise.
5534 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5535 * sysdeps/i386/i686/hp-timing.h: Likewise.
5536 * sysdeps/mach/_strerror.c: Likewise.
5537 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5538 * sysdeps/mach/hurd/sethostid.c: Likewise.
5539 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5540 * sysdeps/mach/xpg-strerror.c: Likewise.
5541 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5542 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5543 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5544 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5545 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5546 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5547 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5548 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5549 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5550 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5551 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5552 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5553 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5554 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5555 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5556 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5557 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5558 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5559 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5560 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5561 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5562
5563 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5564
5565 * stdio-common/_itoa.h: Moved to ...
5566 * sysdeps/generic/_itoa.h: Here.
5567
5568 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5569
5570 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5571 instead of "_itoa.h" and "_itowa.h".
5572 * stdio-common/vfprintf.: Likewise.
5573
d1af992d
L
55742012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5575
5576 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5577 <bits/wordsize.h>.
5578 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5579 (__signbit): Likwise.
5580 (llrintf): Likwise.
5581 (llrint): Likwise.
5582
114883e0
L
55832012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5584
5585 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5586 __WORDSIZE != 64.
5587
c135cc1b
JM
55882012-03-20 Joseph Myers <joseph@codesourcery.com>
5589
5590 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5591 OVERFLOW_EXCEPTION_OK.
5592 * math/libm-test.inc ("Philosophy"): Update comment about
5593 exception testing.
5594 (OVERFLOW_EXCEPTION): Define.
5595 (OVERFLOW_EXCEPTION_OK): Likewise.
5596 (INVALID_EXCEPTION_OK): Renumber.
5597 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5598 (IGNORE_ZERO_INF_SIGN): Likewise.
5599 (test_exceptions): Handle FE_OVERFLOW.
5600 (exp10_test): Expect overflow exceptions.
5601 (exp2_test): Likewise.
5602 (expm1_test): Likewise.
5603 (nextafter_test): Likewise.
5604 (pow_test): Likewise.
5605 (scalbn_test): Likewise.
5606 (scalbln_test): Likewise.
5607
95443d88
L
56082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5609
5610 * sysdeps/x86_64/bits/atomic.h
5611 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5612 64bit integer.
5613 (atomic_exchange_acq): Likewise.
5614 (__arch_exchange_and_add_body): Likewise.
5615 (__arch_add_body): Likewise.
5616 (atomic_add_negative): Likewise.
5617 (atomic_add_zero): Likewise.
5618
490df6c4
L
56192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5620
c2722551 5621 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
5622 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5623
5e52b189
L
56242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5625
5626 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5627 Check __x86_64__ instead of __WORDSIZE.
5628
a9879d4c
L
56292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5630
5631 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5632
5df98260
DM
56332012-03-19 David S. Miller <davem@davemloft.net>
5634
e1497744
DM
5635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5636
5df98260
DM
5637 * sysdeps/sparc/fpu/fenv_private.h: New file.
5638 * sysdeps/sparc/fpu/math_private.h: Use it.
5639 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5640 Remove.
5641 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5642 (libc_feholdexcept_setroundl): Remove.
5643 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5644 Remove.
5645 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5646 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5647
b4c35121
L
56482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5649
5650 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5651 int64_t instead of long int.
5652 (INSERT_WORDS64): Likwise.
5653
56965fd7
L
56542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5655
5656 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5657 _Unwind_GetCFA return to _Unwind_Ptr first.
5658
83d1aec8
JM
56592012-03-19 Joseph Myers <joseph@codesourcery.com>
5660
1897ad44
JM
5661 [BZ #13629]
5662 * math/s_clog.c: Include <float.h>.
5663 (__clog): Scale large or subnormal inputs.
5664 * math/s_clogf.c: Likewise.
5665 * math/s_clogl.c: Likewise.
5666 * math/s_clog10.c: Include <float.h>.
5667 (M_LOG10_2): Define.
5668 (__clog10): Scale large or subnormal inputs.
5669 * math/s_clog10f.c: Likewise.
5670 * math/s_clog10l.c: Likewise.
5671 * math/libm-test.inc (clog_test): Add more tests.
5672 (clog10_test): Likewise.
5673 * sysdeps/i386/fpu/libm-test-ulps: Update.
5674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5675
7726d6a9
JM
5676 [BZ #11451]
5677 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5678 x and y.
5679 * math/libm-test.inc (atan2_test): Add another test.
5680
83d1aec8
JM
5681 * Makerules (common-objdir-compile): Remove.
5682 * sysdeps/unix/Makefile (config-generated): Do not add
5683 $(unix-generated) to variable.
5684 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5685 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5686 Remove rule.
5687 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5688 Likewise.
5689 [generic bits/local_lim.h] (before-compile): Do not append to
5690 variable.
5691 [generic bits/local_lim.h] (common-generated): Likewise.
5692 [generic sys/param.h] (before-compile): Do not append to variable.
5693 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5694 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5695 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5696 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5697 include.
5698 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5699 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5700 [generic sys/param.h] ($(addprefix
5701 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5702 [generic sys/param.h] (common-generated): Do not append to
5703 variable.
5704 [generic sys/param.h] (sysdep_headers): Likewise.
5705 [generic bits/errno.h] (before-compile): Do not append to
5706 variable.
5707 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5708 rule.
5709 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5710 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5711 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5712 [generic bits/errno.h] (common-generated): Do not append to
5713 variable.
5714 [generic bits/ioctls.h] (before-compile): Do not append to
5715 variable.
5716 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5717 rule.
5718 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5719 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5720 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5721 rule.
5722 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5723 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5724 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5725 [generic bits/ioctls.h] (common-generated): Do not append to
5726 variable.
5727 [generic sys/syscall.h] (syscall.h): Remove variable.
5728 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5729 rule.
5730 [generic sys/syscall.h] (before-compile): Do not append to
5731 variable.
5732 [generic sys/syscall.h] (common-generated): Likewise.
5733 * sysdeps/unix/errnos-tmpl.c: Remove file.
5734 * sysdeps/unix/errnos.awk: Likewise.
5735 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5736 * sysdeps/unix/ioctls.awk: Likewise.
5737 * sysdeps/unix/mk-local_lim.c: Likewise.
5738 * sysdeps/unix/snarf-ioctls: Likewise.
5739
4851a949
RH
57402012-03-19 Richard Henderson <rth@twiddle.net>
5741
bd37f2ee
RH
5742 * sysdeps/i386/fpu/fenv_private.h: New file.
5743 * sysdeps/i386/fpu/math_private.h: Use it.
5744 (math_opt_barrier, math_force_eval): Remove.
5745 (libc_feholdexcept_setround_53bit): Remove.
5746 (libc_feupdateenv_53bit): Remove.
5747 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5748 (math_opt_barrier, math_force_eval): Remove.
5749 (libc_feholdexcept): Remove.
5750 (libc_feholdexcept_setround): Remove.
5751 (libc_fetestexcept, libc_fesetenv): Remove.
5752 (libc_feupdateenv_test): Remove.
5753 (libc_feupdateenv, libc_feholdsetround): Remove.
5754 (libc_feresetround): Remove.
5755
d0adc922
RH
5756 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5757 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5758
0fe0f1f8
RH
5759 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5760 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5761 (libc_feupdateenv_testl): New.
5762 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5763 (libc_feupdateenv_testf): New.
5764 (libc_feupdateenv): Use libc_feupdateenv_test.
5765 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5766 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5767
eb92c487
RH
5768 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5769 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5770 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5771 (libc_feresetround_noex): New.
5772 (libc_feresetround_noexf): New.
5773 (libc_feresetround_noexl): New.
5774 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5775 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5776 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5777 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5778 SET_RESTORE_ROUND.
5779 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5780 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5781 (__cos): Likewise.
5782 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5783 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5784 SET_RESTORE_ROUND_NOEX.
5785 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5786 SET_RESTORE_ROUND_NOEXF.
5787 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5788 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5789 (libc_feholdsetroundf): New.
5790 (libc_feresetround, libc_feresetroundf): New.
5791
7d2e8012
RH
5792 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5793 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5794 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5795
b4dabbb4
RH
5796 * sysdeps/generic/math_private.h: Include <fenv.h>.
5797 (default_libc_feholdexcept): New.
5798 (default_libc_feholdexcept_setround): New.
5799 (default_libc_fesetenv, default_libc_feupdateenv): New.
5800 (libc_feholdexcept): Only define if undefined.
5801 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5802 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5803 (libc_feholdexcept_setroundl): Likewise.
5804 (libc_feholdexcept_setround_53bit): Likewise.
5805 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5806 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5807 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5808 (libc_feupdateenv_53bit): Likewise.
5809 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5810 (libc_feholdexcept): Convert from macro to inline function.
5811 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5812 (libc_fesetenv, libc_feupdateenv): Likewise.
5813
4851a949
RH
5814 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5815 not previously defined.
5816 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5817 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5818 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5819 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5820 * sysdeps/ieee754/flt-32/math_private.h: New file.
5821 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5822 math_private.h below SET_FLOAT_WORD.
5823 (__isnan, __isinf_ns, __finite): Remove.
5824 (__isnanf, __isinf_nsf, __finitef): Remove.
5825
e79d442e
AS
58262012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5827
5828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5829
90b80344
DM
58302012-03-17 David S. Miller <davem@davemloft.net>
5831
5832 [BZ #6471]
5833 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5834 for 2.16.
5835
edc21804
DM
58362012-03-16 David S. Miller <davem@davemloft.net>
5837
77e927af
DM
5838 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5839 warnings.
5840
374976dd
DM
5841 [BZ #6471]
5842 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5843 properly.
5844 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5845 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5846 sysdep_routines when subdir is sysvipc.
5847 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5848 __getshmlba helper.
5849
edc21804
DM
5850 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5851
473c3ef3
L
58522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5853
5854 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5855 [__LP64__].
5856
eb0f39b6
L
58572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5858
5859 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5860 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5861 (__lround): Renamed to ...
5862 (__llround): This. Replace long int with long long int.
5863 Define lround functions as aliases of llround functions.
5864 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5865
6b6cd74b
L
58662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5867
5868 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5869 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5870 adresses to uintptr_t. Replace "long int" and "unsigned long
5871 int" with "greg_t" on va_arg.
5872
f1a77b01
L
58732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5874
5875 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5876 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5877
5878 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5879 Move e_machine check before EI_CLASS check. Handle x32
5880 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5881 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5882 SKIP_EM_IA_64 and include
5883 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5884
5885 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5886 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5887 (add_system_dir): New macro.
5888
5889 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5890 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5891
11b90b9f
JM
58922012-03-16 Joseph Myers <joseph@codesourcery.com>
5893
c36e1d23
JM
5894 [BZ #2551]
5895 [BZ #2552]
5896 [BZ #2553]
5897 [BZ #2554]
5898 [BZ #2562]
5899 [BZ #2563]
5900 [BZ #2565]
5901 [BZ #2566]
5902 [BZ #2576]
5903 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5904 (y0): Likewise.
5905 * math/w_j0f.c (j0f): Likewise.
5906 (y0f): Likewise.
5907 * math/w_j0l.c (__j0l): Likewise.
5908 (__y0l): Likewise.
5909 * math/w_j1.c (j1): Likewise.
5910 (y1): Likewise.
5911 * math/w_j1f.c (j1f): Likewise.
5912 (y1f): Likewise.
5913 * math/w_j1l.c (__j1l): Likewise.
5914 (__y1l): Likewise.
5915 * math/w_jn.c (jn): Likewise.
5916 (yn): Likewise.
5917 * math/w_jnf.c (jnf): Likewise.
5918 (ynf): Likewise.
5919 * math/w_jnl.c (__jnl): Likewise.
5920 (__ynl): Likewise.
5921 * math/libm-test.inc (j0_test): Add more tests.
5922 (j1_test): Likewise.
5923 (jn_test): Likewise. Add trailing semicolon to existing test.
5924 (y0_test): Likewise.
5925 (y1_test): Likewise.
5926 * sysdeps/i386/fpu/libm-test-ulps: Update.
5927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5928
11b90b9f
JM
5929 [BZ #13851]
5930 [BZ #13854]
5931 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5932 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5933 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5934 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
5935 (__tanl): Set errno for infinite argument.
5936 * sysdeps/i386/fpu/mptan.c: Remove.
5937 * sysdeps/i386/fpu/s_tan.S: Likewise.
5938 * sysdeps/i386/fpu/s_tanl.S: Likewise.
5939 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
5940 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5941 * math/libm-test.inc (tan_test): Add more tests and enable more
5942 tests for double and long double.
5943 * sysdeps/i386/fpu/libm-test-ulps: Update.
5944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5945
6a1bd2a1
JK
59462012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5947
5948 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5949 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5950
10a803e0
RM
59512012-03-16 Roland McGrath <roland@hack.frob.com>
5952
5953 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5954 * configure.in: Use it for both main tree and add-ons.
5955 * configure: Regenerated.
5956
f196c7f7
L
59572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5958
5959 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5960
8848d99d
JM
59612012-03-16 Joseph Myers <joseph@codesourcery.com>
5962
96cbe7f4
JM
5963 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5964 in comment.
5965
8848d99d
JM
5966 [BZ #13851]
5967 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5968 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5969 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5970 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5971 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5972 infinite argument.
5973 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5974 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5975 != 0 for prec == 2.
5976 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5977 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5978 * sysdeps/i386/fpu/s_cosl.S: Likewise.
5979 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5980 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5981 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5982 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5983 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5984 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5985 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5986 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5987 * math/libm-test.inc (cos_test): Add more tests and enable more
5988 tests for long double.
5989 (sin_test): Likewise.
5990 (sincos_test): Likewise.
5991 * sysdeps/i386/fpu/libm-test-ulps: Update.
5992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5993
dd7f4703
DM
59942012-03-16 David S. Miller <davem@davemloft.net>
5995
5996 * sysdeps/sparc/fpu/math_private.h: New file.
5997
006f1daa
DM
59982012-03-15 David S. Miller <davem@davemloft.net>
5999
c0c83bc8
DM
6000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6001 file.
e6a62e18 6002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6004 file.
e6a62e18
DM
6005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6006 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6007 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6008 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6010 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6011 sysdep routines.
6012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6013
88cb87d9
DM
6014 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6015 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6016
006f1daa 6017 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6019 sparc-ifunc.h
006f1daa 6020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6022 Likewise.
6023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6024 Likewise.
006f1daa
DM
6025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6029 Likewise.
006f1daa
DM
6030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6035 Likewise.
6036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6037 Likewise.
006f1daa
DM
6038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6042 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6043 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6044 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6045 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6046 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6047 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6048 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6049 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6052 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6053 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6054 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6055 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6056 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6057 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6058 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6059 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6060 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6061 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6062
11e0098e
AS
60632012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6064
6065 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6066 scaling.
6067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6068
e85b09d0
AJ
60692012-03-15 Andreas Jaeger <aj@suse.de>
6070
6071 [BZ #13852]
6072 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6073 ieee754/flt-32 implementation for sin, cos and sincos.
6074 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6075 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6076 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6077 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6078 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6079 ieee754/flt-32 implementation for tan.
6080
6081 * math/libm-test.inc (cos_test): Enable some large input tests for
6082 float as well
6083 (sin_test): Likewise.
6084 (sincos_test): Likewise.
6085 (tan_test): Add tests for large input.
6086
6087 * sysdeps/i386/fpu/libm-test-ulps: Update.
6088
81c64153
AJ
60892012-03-15 Andreas Jaeger <aj@suse.de>
6090
6091 [BZ #13658]
6092 * math/libm-test.inc (cos_test): Add more test cases.
6093 (sin_test): Likewise.
6094 (sincos_test): Likewise.
6095
7bbfa5c6
AJ
60962012-03-15 Andreas Jaeger <aj@suse.de>
6097
6098 [BZ #13837]
6099 * math/libm-test.inc (cos_test): Add a test case for large input
6100 value.
6101 (sin_test): Likewise.
6102 (sincos_test): Likewise.
6103
61042012-03-15 Andreas Jaeger <aj@suse.de>,
6105 Joseph Myers <joseph@codesourcery.com>
6106
6107 [BZ #13658]
0671f479 6108 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6109 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6110 * sysdeps/i386/fpu/branred.c: Likewise.
6111 * sysdeps/i386/fpu/dosincos.c: Likewise.
6112 * sysdeps/i386/fpu/mpa.c: Likewise.
6113 * sysdeps/i386/fpu/s_cos.S: Likewise.
6114 * sysdeps/i386/fpu/s_sin.S: Likewise.
6115 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6116 * sysdeps/i386/fpu/sincos32.c: Likewise.
6117
6118 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6119 Define.
6120 (libc_feupdateenv_53bit): Define.
6121 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6122 Define.
6123 (libc_feupdateenv_53bit): Define.
6124
6125 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6126 53 bit (without extend i386 double precision).
6127
6128 * math/libm-test.inc (sincos_test): Add tests for large input.
6129 (sin): Likewise.
6130 (cos): Likewise.
6131
6132 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6133
9cad04ea
AS
61342012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6135
6136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6137
f7062b9a
DM
61382012-03-15 David S. Miller <davem@davemloft.net>
6139
6140 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6141 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6142 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6143 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6148 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6149 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6156 file.
f7062b9a 6157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6159 file.
f7062b9a 6160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6162 file.
f7062b9a 6163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6165 file.
f7062b9a
DM
6166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6167 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6168 fmin/fmax sysdep routines.
6169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6170
7bd951ff
DM
61712012-03-14 David S. Miller <davem@davemloft.net>
6172
559398ab
DM
6173 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6174 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6175 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6176 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6177 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6178 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6179 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6180 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6181 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6182 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6183 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6184 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6185 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6186 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6187 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6188 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6189 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6190 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6191 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6192 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6193 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6194 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6195 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6196 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6197 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6198 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6199 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6200 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6201 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6202 routines.
6203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6204 file.
559398ab 6205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6207 file.
559398ab 6208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6210 file.
559398ab 6211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6213 file.
559398ab 6214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6216 file.
559398ab 6217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6219 file.
6220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6221 file.
6222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6223 file.
6224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6225 file.
6226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6227 New file.
6228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6229 file.
6230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6231 file.
559398ab 6232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6234 file.
559398ab 6235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6237 file.
559398ab 6238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6240 file.
559398ab 6241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6243 VIS3 routines.
559398ab
DM
6244
6245 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6246 New file.
6247
5a1c1e32
DM
6248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6249
eae47a36
DM
6250 * sysdeps/sparc/configure.in: New file.
6251 * sysdeps/sparc/configure: Generate.
6252 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6253 * configure: Regenerate.
6254 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6255 * config.make.in (have-as-vis3): New.
6256 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6257 available use -Av9d instead of -Av9a.
6258 * sysdeps/sparc/sparc64/Makefile: Likewise.
6259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6261 New file.
6262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6263 file.
6264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6265 New file.
6266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6267 file.
eae47a36
DM
6268 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6269 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6270 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6271 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6272 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6273
c0c83bc8
DM
6274 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6275 fzeros/fnegs to load 0x80000000 into a float register instead of
6276 using the stack.
7bd951ff
DM
6277 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6278
bd951ccb
JM
62792012-03-14 Joseph Myers <joseph@codesourcery.com>
6280
6281 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6282 bits/syscall.h.
6283 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6284 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6285 ($(inst_includedir)/bits/syscall.h): Remove rule.
6286 ($(objpfx)bits/syscall.d): Include instead of
6287 $(objpfx)syscall-list.d.
6288 (generated): Change syscall-list.h and syscall-list.d to
6289 bits/syscall.h and bits/syscall.d.
6290
bb4e6db2
RM
62912012-03-14 Roland McGrath <roland@hack.frob.com>
6292
6293 [BZ #13846]
6294 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6295
aa4a2ae1
JM
62962012-03-14 Joseph Myers <joseph@codesourcery.com>
6297
e456826d
JM
6298 [BZ #13841]
6299 * math/s_csqrt.c: Include <float.h>.
6300 (__csqrt): Scale large or subnormal inputs.
6301 * math/s_csqrtf.c: Likewise.
6302 * math/s_csqrtl.c: Likewise.
6303 * math/libm-test.inc (csqrt_test): Add more tests.
6304 * sysdeps/i386/fpu/libm-test-ulps: Update.
6305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6306
aa4a2ae1
JM
6307 [BZ #13840]
6308 * math/libm-test.inc (hypot_test): Add more tests.
6309
7c10fd35
DM
63102012-03-13 David S. Miller <davem@davemloft.net>
6311
6312 [BZ #13840]
6313 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6314 double-precision for the calculation instead of scaling.
6315
f453b98b
JM
63162012-03-13 Joseph Myers <joseph@codesourcery.com>
6317
6318 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6319 manipulate bits before adding and subtracting TWO52[sx].
6320 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6321 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6322 Likewise.
6323 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6324
09a3453f
DM
63252012-03-13 David S. Miller <davem@davemloft.net>
6326
8e59da90
DM
6327 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6328 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6329 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6330 rtld-global-offsets.h
6331 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6332
2a8ab7f2
DM
6333 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6334 large parameters.
6335
10f62770
DM
6336 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6337
5f0bdb18
DM
6338 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6339 'err' in the ifdef scope in which it is actually used.
6340
09a3453f
DM
6341 * nss/nss_db/db-init.c: Include string.h
6342
b4b2eb5e
DM
63432012-03-12 David S. Miller <davem@davemloft.net>
6344
98bb2f1c
DM
6345 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6346 masking out of the most significant byte of random value used.
6347 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6348 Fix coding style in previous change.
6349
b4b2eb5e
DM
6350 * sysdeps/unix/sysv/linux/kernel-features.h
6351 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6352 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6353 expression.
6354 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6355 later.
6356
6e226b09
DM
63572012-03-11 David S. Miller <davem@davemloft.net>
6358
a1bcbd40
DM
6359 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6360 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6361 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6362 for 'resultvar' otherwise things get truncated on 64-bit.
6363
cb9d6174
DM
6364 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6365 Fix masking out of the most significant byte of random value used.
6366
6e226b09
DM
6367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6368
058c132d
AS
63692012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6370
6371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6372
2d2cd515
DM
63732012-03-09 David S. Miller <davem@davemloft.net>
6374
6375 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6376 variables with appropriate CPP guards.
6377 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6378 frame pointer, not the stack pointer. Correct layout comments. Fix test
6379 on resulting framesize and the management of the outregs buffer for pltexit.
6380 Preserve floating point return values across _dl_call_pltexit call.
6381 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6382 framesize and the management of the outregs buffer for pltexit.
6383 Preserve floating point return values across _dl_call_pltexit
6384 call.
6385 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6386 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6387 (print_exit): Fix format string for return register value.
6388
9a07f9d0
JM
63892012-03-10 Joseph Myers <joseph@codesourcery.com>
6390
6391 * sunrpc/Makefile (others): Add rpcgen.
6392 ($(objpfx)rpcgen): Remove special build rule and dependency on
6393 libc.
6394 * sunrpc/rpcgen.c: New file.
6395
547b5e30
PE
63962012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6397
c524201a
PE
6398 [BZ #13673]
6399 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6400 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6401 * sysdeps/i386/crti.S: Likewise.
6402 * sysdeps/i386/crtn.S: Likewise.
6403 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6404 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6405 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6406 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6407 * sysdeps/sh/crti.S: Likewise.
6408 * sysdeps/sh/crtn.S: Likewise.
6409 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6410
7b6235f2
PE
6411 [BZ #13673]
6412 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6413 with URL.
6414 * locale/programs/locfile-kw.gperf: Likewise.
6415 * locale/programs/charmap-kw.h: Regenerated.
6416 * locale/programs/locfile-kw.h: Likewise.
6417
547b5e30
PE
6418 [BZ #13673]
6419 * intl/plural.y: Replace FSF snail mail address with URL.
6420 * intl/plural.c: Regenerated.
6421
5f0a5dae
RH
64222012-03-09 Richard Henderson <rth@twiddle.net>
6423
6424 * include/math_private.h: Remove file.
6425 * math/math_private.h: Move file ...
6426 * sysdeps/generic/math_private.h: ... here.
6427
b8c03620
RH
6428 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6429 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6430 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6431
4e234f5d 6432 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6433 and <math_private.h>.
6434 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6435 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6436 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6437 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6438 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6439 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6440 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6441 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6442 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6443 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6444 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6445 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6446 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6447 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6448 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6449 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6450 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6451 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6452 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6453 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6454 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6455 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6456 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6457 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6458 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6459 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6460 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6461 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6462 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6463 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6464 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6465 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6466 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6467 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6468 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6469 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6470 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6471 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6472 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6473 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6474 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6475 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6476 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6477 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6478 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6479 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6480 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6481 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6482 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6483 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6484 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6485 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6486 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6487 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6488 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6489 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6490 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6491 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6492 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6493 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6494 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6495 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6496 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6497 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6498 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6499 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6500 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6501 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6502 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6503 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6504 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6505 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6506 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6507 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6508 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6509 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6510 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6511 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6512 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6513 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6514 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6515 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6516 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6517 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6518 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6519 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6520 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6521 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6522 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6523 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6524 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6525 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6526 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6527 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6528 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6529 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6530 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6531 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6532 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6533 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6534 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6535 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6536 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6537 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6538 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6539 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6540 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6541 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6542 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6543 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6544 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6545 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6546 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6547 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6548 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6549 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6550 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6551 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6552 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6553 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6554 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6555 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6556 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6557 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6558 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6559 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6560 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6561 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6562 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6563 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6564 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6565 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6566 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6567 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6568 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6569 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6570 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6571 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6572 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6573 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6574 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6575 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6576 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6577 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6578 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6579 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6580 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6581 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6582 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6583 * sysdeps/ieee754/k_standard.c: Likewise.
6584 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6585 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6586 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6587 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6588 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6589 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6590 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6591 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6592 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6593 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6594 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6595 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6596 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6597 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6598 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6599 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6600 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6601 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6602 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6603 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6604 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6605 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6606 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6607 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6608 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6609 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6610 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6611 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6612 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6613 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6614 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6615 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6616 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6617 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6618 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6619 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6620 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6621 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6622 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6623 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6624 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6625 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6626 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6627 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6628 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6629 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6630 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6631 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6632 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6633 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6634 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6635 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6636 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6637 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6638 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6639 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6640 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6641 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6642 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6643 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6644 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6645 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6646 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6647 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6648 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6649 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6650 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6651 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6652 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6653 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6654 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6655 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6656 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6657 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6658 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6659 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6660 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6661 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6662 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6663 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6664 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6665 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6666 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6667 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6668 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6669 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6670 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6671 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6672 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6673 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6674 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6675 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6676 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6677 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6678 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6679 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6680 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6681 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6682 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6683 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6684 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6685 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6686 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6687 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6688 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6689 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6690 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6691 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6692 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6693 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6694 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6695 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6696 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6697 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6698 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6699 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6700 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6701 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6702 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6703 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6704 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6705 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6706 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6707 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6708 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6709 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6710 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6711 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6712 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6713 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6714 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6715 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6716 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6717 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6718 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6719 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6720 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6721 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6722 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6723 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6724 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6725 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6726 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6727 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6728 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6729 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6730 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6731 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6732 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6733 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6734 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6735 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6736 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6737 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6738 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6739 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6740 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6741 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6742 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6743 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6744 * sysdeps/ieee754/s_lib_version.c: Likewise.
6745 * sysdeps/ieee754/s_matherr.c: Likewise.
6746 * sysdeps/ieee754/s_signgam.c: Likewise.
6747 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6748 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6749 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6750 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6751 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6752 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6753 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6754 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6755 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6756 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6757 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6758 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6759 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6760 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6761 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6762 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6763 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6764 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6765 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6766 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6767 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 6768
1991fa03
JM
67692012-03-09 Joseph Myers <joseph@codesourcery.com>
6770
6771 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6772 * sunrpc/rpc_main.c: Likewise.
6773 * sunrpc/rpc_svcout.c: Likewise.
6774
60d6f5a6
DM
67752012-03-09 David S. Miller <davem@davemloft.net>
6776
6777 * include/math_private.h: New file.
6778
4962050e
JM
67792012-03-09 Joseph Myers <joseph@codesourcery.com>
6780
02a6f887
JM
6781 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6782 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6783 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6784 from <bits/socket_type.h>.
6785 (enum __socket_type): Don't define here.
6786 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6787 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6788 bits/socket_type.h.
6789
c6e013c1
JM
6790 [BZ #13566]
6791 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6792 checking __USE_GNU.
6793
4962050e
JM
6794 * Makerules ($(inst_includedir)/%.h): New rule.
6795 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6796 (install-others): Remove variable setting.
6797 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6798
38842f45
RH
67992012-03-08 Richard Henderson <rth@twiddle.net>
6800
67bb6da6
RH
6801 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6802 from macro to inline function; merge with the
6803 !__LIBC_INTERNAL_MATH_INLINES version.
6804 (__ieee754_sqrtf): Likewise.
6805
15194b4b
RH
6806 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6807 to inline function.
6808 (__rintf, __floor, __floorf): Likewise.
6809
64e21ede
RH
6810 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6811 macro to inline function.
6812 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6813
38842f45
RH
6814 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6815 not <math/math_private.h>.
6816
c64bf5fe
DM
68172012-03-08 David S. Miller <davem@davemloft.net>
6818
6819 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6820 copyright year.
6821 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6822
82d86f28
TS
68232012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6824
6825 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6826 normalization.
6827 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6828 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6829
aea5d727
UD
68302012-03-08 Ulrich Drepper <drepper@gmail.com>
6831
6832 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6833 be defined individually, they must be defined as a block. Define
6834 S for printing a string instead of hidint the different by using a
6835 macro for adding the 'l'.
6836 * stdio-common/tst-fphex-wide.c: Adjust.
6837
70bca0a3
MP
68382012-03-07 Marek Polacek <polacek@redhat.com>
6839
6840 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6841
65b81130
MP
68422012-03-08 Marek Polacek <polacek@redhat.com>
6843
6844 [BZ #13806]
6845 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6846 * stdio-common/tst-fphex.c: Define a few macros to make the
6847 test reusable. Use them.
6848 * stdio-common/tst-fphex-wide.c: New file.
6849
07037eeb
JM
68502012-03-08 Joseph Myers <joseph@codesourcery.com>
6851
a7a93d50
JM
6852 [BZ #6911]
6853 * manual/macros.texi (gnusystems): New macro.
6854 (nongnusystems): Likewise.
6855 (gnulinuxhurdsystems): Likewise.
6856 (gnuhurdsystems): Likewise..
6857 (gnulinuxsystems): Likewise.
6858 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6859 variants of the GNU system, not "GNU system".
6860 * manual/conf.texi: Likewise.
6861 * manual/errno.texi: Likewise. Update example of errno macro
6862 expansion.
6863 * manual/filesys.texi: Likewise.
6864 (getumask): Document as specific to GNU/Hurd.
6865 * manual/install.texi: Likewise. Reword some references to
6866 GNU/Linux.
6867 * manual/intro.texi: Likewise.
6868 * manual/io.texi: Likewise.
6869 (File Name Portability): Detail which constraints are inapplicable
6870 to all GNU systems and which are only inapplicable to GNU/Hurd.
6871 * manual/job.texi: Likewise.
6872 * manual/llio.texi: Likewise.
6873 (O_NOCTTY): Document as present on GNU/Linux.
6874 * manual/maint.texi: Likewise.
6875 * manual/memory.texi: Likewise.
6876 * manual/pattern.texi: Likewise.
6877 * manual/pipe.texi: Likewise.
6878 * manual/process.texi: Likewise.
6879 * manual/resource.texi: Likewise.
6880 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6881 child on GNU/Hurd.
6882 * manual/setjmp.texi: Likewise.
6883 * manual/signal.texi: Likewise.
6884 * manual/startup.texi: Likewise.
6885 * manual/stdio.texi: Likewise.
6886 * manual/terminal.texi: Likewise.
6887 (ONLCR): Document as POSIX.
6888 (OXTABS): Document availability on GNU/Linux as XTABS.
6889 (ONOEOT): Document availability separately from other bits.
6890 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6891 * manual/time.texi: Likewise.
6892 * manual/users.texi: Likewise.
6893 * INSTALL: Regenerated.
6894 * sysdeps/gnu/errlist.c: Regenerated.
6895
07037eeb
JM
6896 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6897 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6898 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6899 puts.
6900 * configure: Regenerated.
6901
d1d3431a
JM
69022012-03-07 Joseph Myers <joseph@codesourcery.com>
6903
af6a1e37
JM
6904 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6905 default includes instead of AC_HEADER_CHECK.
6906 * sysdeps/i386/configure: Regenerated.
6907
d1d3431a
JM
6908 [BZ #10716]
6909 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6910 * math/s_cacoshf.c (__cacoshf): Likewise.
6911 * math/s_cacoshl.c (__cacoshl): Likewise.
6912 * math/s_casinh.c (__casinh): Set signs of result from argument.
6913 * math/s_casinhf.c (__casinhf): Likewise.
6914 * math/s_casinhl.c (__casinhl): Likewise.
6915 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6916 (casinh_test): Add more tests.
6917 * sysdeps/i386/fpu/libm-test-ulps: Update.
6918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6919
482ff4da
UD
69202012-03-07 Ulrich Drepper <drepper@gmail.com>
6921
872fda05
UD
6922 * po/zh_TW.po: Update from translation team.
6923
a4300c7a
UD
6924 * login/Makefile (distribute): Remove variable.
6925 * catgets/Makefile: Likewise.
6926 * mach/Makefile: Likewise.
6927 * malloc/Makefile: Likewise.
6928 * misc/Makefile: Likewise.
6929 * iconv/Makefile: Likewise.
6930 * nscd/Makefile: Likewise.
6931 * hurd/Makefile: Likewise.
6932 * manual/Makefile: Likewise.
6933 * locale/Makefile: Likewise.
6934 * intl/Makefile: Likewise.
6935 * conform/Makefile: Likewise.
6936 * nss/Makefile: Likewise.
6937 * time/Makefile: Likewise.
6938 * soft-fp/Makefile: Likewise.
6939 * dirent/Makefile: Likewise.
6940 * gmon/Makefile: Likewise.
6941 * po/Makefile: Likewise.
6942 * rt/Makefile: Likewise.
6943 * socket/Makefile: Likewise.
6944 * math/Makefile: Likewise.
6945 * signal/Makefile: Likewise.
6946 * debug/Makefile: Likewise.
6947 * elf/Makefile: Likewise.
6948 * timezone/Makefile: Likewise.
6949 * stdlib/Makefile: Likewise.
6950 * iconvdata/Makefile: Likewise.
6951 * sunrpc/Makefile: Likewise.
6952 * io/Makefile: Likewise.
6953 * argp/Makefile: Likewise.
6954 * inet/Makefile: Likewise.
6955 * hesiod/Makefile: Likewise.
6956 * grp/Makefile: Likewise.
6957 * csu/Makefile: Likewise.
6958 * wctype/Makefile: Likewise.
6959 * crypt/Makefile: Likewise.
6960 * libio/Makefile: Likewise.
6961 * string/Makefile: Likewise.
6962 * nis/Makefile: Likewise.
6963 * resolv/Makefile: Likewise.
6964 * stdio-common/Makefile: Likewise.
6965 * wcsmbs/Makefile: Likewise.
6966 * dlfcn/Makefile: Likewise.
6967 * posix/Makefile: Likewise.
6968
3b7c4e74 6969 [BZ #6959]
482ff4da
UD
6970 * timezone/Makefile: Don't install timezone files, just the programs
6971 and scripts.
6972
f72ed77d
UD
69732012-03-06 Ulrich Drepper <drepper@gmail.com>
6974
a000466f
UD
6975 * nss/databases.def: Add missing gshadow entry.
6976
f72ed77d
UD
6977 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6978
a53b7a4e
MP
69792012-03-06 Marek Polacek <polacek@redhat.com>
6980
6981 [BZ #13726]
6982 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6983 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6984 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6985 * stdio-common/tst-long-dbl-fphex.c: New file.
6986
e9258400
DM
69872012-03-06 David S. Miller <davem@davemloft.net>
6988
6989 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6990 (set_obp_int): New function.
6991 (get_obp_int): New function.
6992 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
6993 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
6994 Avoid unused variable warnings on 'val' and use builtin_expect.
6995 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
6996 __builtin_expect.
e9258400
DM
6997 (INLINE_CLONE_SYSCALL): Likewise.
6998
3bd2c723
DM
69992012-03-05 David S. Miller <davem@davemloft.net>
7000
7001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7002
bbb78d03
AS
70032012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7004
884c5db4
AS
7005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7006
bbb78d03
AS
7007 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7008 only for |x| >= 40.
7009 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7010
1c9f702a 70112012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7012
7013 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7014 Replace gettimeofday with __vdso_gettimeofday.
7015
7be16f82
RM
7016 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7017 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7018 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7019
7020 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7021 time with __vdso_time.
7022
ed58a00f
JM
70232012-03-05 Joseph Myers <joseph@codesourcery.com>
7024
7025 * manual/lang.texi (size_t): Note types to which size_t may be
7026 equivalent with the GNU C Library, but do not describe when
7027 differences between them are significant.
7028
30ee4ced
AJ
70292012-03-05 Andreas Jaeger <aj@suse.de>
7030
7031 * sysdeps/i386/fpu/libm-test-ulps: Update.
7032
b7cd39e8
JM
70332012-03-05 Joseph Myers <joseph@codesourcery.com>
7034
7035 [BZ #3976]
7036 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7037 (__ieee754_pow): Save and restore rounding mode and use
7038 round-to-nearest for main computations.
7039 * math/libm-test.inc (pow_test_tonearest): New function.
7040 (pow_test_towardzero): Likewise.
7041 (pow_test_downward): Likewise.
7042 (pow_test_upward): Likewise.
7043 (main): Call the new functions.
7044 * sysdeps/i386/fpu/libm-test-ulps: Update.
7045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7046
7047 [BZ #3976]
7048 * math/libm-test.inc (cosh_test_tonearest): New function.
7049 (cosh_test_towardzero): Likewise.
7050 (cosh_test_downward): Likewise.
7051 (cosh_test_upward): Likewise.
7052 (sinh_test_tonearest): Likewise.
7053 (sinh_test_towardzero): Likewise.
7054 (sinh_test_downward): Likewise.
7055 (sinh_test_upward): Likewise.
7056 (main): Call the new functions.
7057 * sysdeps/i386/fpu/libm-test-ulps: Update.
7058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7059
6c6a98c9
TV
70602012-03-05 Tom de Vries <tom@codesourcery.com>
7061
7062 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7063 default stack guard is set in last bytes.
7064 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7065
21bb2d2e 70662012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7067
21bb2d2e 7068 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7069
21bb2d2e
AJ
7070 [BZ #13656]
7071 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7072 possibly allocate from heap instead of stack.
7073 * stdio-common/bug-vfprintf-nargs.c: New file.
7074 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7075
c6922934
AS
70762012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7077
7078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7079
bc957d53
MP
70802012-03-03 Marek Polacek <polacek@redhat.com>
7081
7082 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7083 * math/math_private.h: Likewise.
7084 * stdlib/tst-strtod.c: Likewise.
7085 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7086 * sysdeps/x86_64/bits/atomic.h: Likewise.
7087
6358490d
DM
70882012-03-02 David S. Miller <davem@davemloft.net>
7089
7090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7094 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7095 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7096 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7097 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7098
01ae168d
RM
70992012-03-02 Roland McGrath <roland@hack.frob.com>
7100
d9a17c07
RM
7101 [BZ #13792]
7102 * manual/examples/README: New file, says the example source files
7103 can be used under GPL>=2.
7104 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7105 line containing just "*/".
7106 * manual/examples/add.c: Add copyright header (GPL>=2).
7107 * manual/examples/argp-ex1.c: Likewise.
7108 * manual/examples/argp-ex2.c: Likewise.
7109 * manual/examples/argp-ex3.c: Likewise.
7110 * manual/examples/argp-ex4.c: Likewise.
7111 * manual/examples/atexit.c: Likewise.
7112 * manual/examples/db.c: Likewise.
7113 * manual/examples/dir.c: Likewise.
7114 * manual/examples/dir2.c: Likewise.
7115 * manual/examples/execinfo.c: Likewise.
7116 * manual/examples/filecli.c: Likewise.
7117 * manual/examples/filesrv.c: Likewise.
7118 * manual/examples/fmtmsgexpl.c: Likewise.
7119 * manual/examples/genpass.c: Likewise.
7120 * manual/examples/inetcli.c: Likewise.
7121 * manual/examples/inetsrv.c: Likewise.
7122 * manual/examples/isockad.c: Likewise.
7123 * manual/examples/longopt.c: Likewise.
7124 * manual/examples/memopen.c: Likewise.
7125 * manual/examples/memstrm.c: Likewise.
7126 * manual/examples/mkfsock.c: Likewise.
7127 * manual/examples/mkisock.c: Likewise.
7128 * manual/examples/mygetpass.c: Likewise.
7129 * manual/examples/pipe.c: Likewise.
7130 * manual/examples/popen.c: Likewise.
7131 * manual/examples/rprintf.c: Likewise.
7132 * manual/examples/search.c: Likewise.
7133 * manual/examples/select.c: Likewise.
7134 * manual/examples/setjmp.c: Likewise.
7135 * manual/examples/sigh1.c: Likewise.
7136 * manual/examples/sigusr.c: Likewise.
7137 * manual/examples/stpcpy.c: Likewise.
7138 * manual/examples/strdupa.c: Likewise.
7139 * manual/examples/strftim.c: Likewise.
7140 * manual/examples/strncat.c: Likewise.
7141 * manual/examples/subopt.c: Likewise.
7142 * manual/examples/swapcontext.c: Likewise.
7143 * manual/examples/termios.c: Likewise.
7144 * manual/examples/testopt.c: Likewise.
7145 * manual/examples/testpass.c: Likewise.
7146 * manual/examples/timeval_subtract.c: Likewise.
7147
01ae168d
RM
7148 [BZ #13792]
7149 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7150 function to ...
7151 * manual/timeval_subtract.c.texi: ... here, new file.
7152
49efa33d
DM
71532012-03-02 David S. Miller <davem@davemloft.net>
7154
7155 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7156
28afd92d
JM
71572012-03-02 Joseph Myers <joseph@codesourcery.com>
7158
804360ed
JM
7159 [BZ #3976]
7160 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7161 (__sin): Save and restore rounding mode and use round-to-nearest
7162 for all computations.
7163 (__cos): Save and restore rounding mode and use round-to-nearest
7164 for all computations.
7165 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7166 <fenv.h>.
7167 (tan): Save and restore rounding mode and use round-to-nearest for
7168 all computations.
7169 * math/libm-test.inc (cos_test_tonearest): New function.
7170 (cos_test_towardzero): Likewise.
7171 (cos_test_downward): Likewise.
7172 (cos_test_upward): Likewise.
7173 (sin_test_tonearest): Likewise.
7174 (sin_test_towardzero): Likewise.
7175 (sin_test_downward): Likewise.
7176 (sin_test_upward): Likewise.
7177 (tan_test_tonearest): Likewise.
7178 (tan_test_towardzero): Likewise.
7179 (tan_test_downward): Likewise.
7180 (tan_test_upward): Likewise.
7181 (main): Call the new functions.
7182 * sysdeps/i386/fpu/libm-test-ulps: Update.
7183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7184
a6d06d7b
JM
7185 [BZ #10135]
7186 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7187 small n, then large n, before computing and testing k+n.
7188 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7189 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7190 Likewise.
7191 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7192 Likewise.
7193 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7194 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7195 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7196 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7197 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7198 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7199 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7200 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7201 * math/libm-test.inc (scalbn_test): Add more tests.
7202 (scalbln_test): Likewise.
7203
07e12bb3
JM
7204 * manual/filesys.texi (mode_t): Describe constraints on size and
7205 signedness, not exact equivalence to a particular type.
7206 (ino_t): Likewise.
7207 (ino64_t): Likewise.
7208 (dev_t): Likewise.
7209 (nlink_t): Likewise.
7210 (blkcnt_t): Likewise.
7211 (blkcnt64_t): Likewise.
7212 * manual/llio.texi (off_t): Likewise.
7213
28afd92d
JM
7214 [BZ #3976]
7215 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7216 (__ieee754_exp): Save and restore rounding mode and use
7217 round-to-nearest for all computations.
7218 * math/libm-test.inc (exp_test_tonearest): New function.
7219 (exp_test_towardzero): Likewise.
7220 (exp_test_downward): Likewise.
7221 (exp_test_upward): Likewise.
7222 (main): Call the new functions.
7223 * sysdeps/i386/fpu/libm-test-ulps: Update.
7224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7225
b1eeb65d
CD
72262012-03-01 Chris Demetriou <cgd@google.com>
7227
7228 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7229 have predictable order.
7230
53362a4b
DM
72312012-03-01 David S. Miller <davem@davemloft.net>
7232
3c969083
DM
7233 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7234
759707de
DM
7235 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7236 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7237 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7238 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7239
dfdb8ff2
DM
7240 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7241 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7242 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7244 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7245 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7246 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7247 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7248 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7249
ead89f96
DM
7250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7251
7f66bd07
DM
7252 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7253 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7254 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7255
53362a4b
DM
7256 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7257 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7258 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7259 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7260 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7261 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7262 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7263 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7264 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7265 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7266 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7267 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7268 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7269 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7270 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7271 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7272 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7273 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7274 * sysdeps/sparc/elf/configure: Regenerated.
7275
7b1902cb
JM
72762012-03-01 Joseph Myers <joseph@codesourcery.com>
7277
bec039bc
JM
7278 * configure.in (AS, LD): Require binutils 2.20 or later.
7279 * configure: Regenerated.
7280 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7281 as required minimum version.
7282 * INSTALL: Regenerated.
7283
7b1902cb
JM
7284 [BZ #2541]
7285 [BZ #4108]
7286 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7287 before squaring exponent.
7288 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7289 bottom long double and 27 bits of top long double before squaring
7290 exponent.
7291 * math/libm-test.inc (erfc_test): Add more tests.
7292 * sysdeps/i386/fpu/libm-test-ulps: Update.
7293 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7295
f775c276
KT
72962012-03-01 Kai Tietz <ktietz@redhat.com>
7297
7298 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7299 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7300 containing bit-fields.
7301 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7302 * soft-fp/single.h (_FP_UNION_S): Likewise.
7303 * soft-fp/double.h (_FP_UNION_D): Likewise.
7304
5b8a4d4a
JM
73052012-02-29 Joseph Myers <joseph@codesourcery.com>
7306
0bab47b6
JM
7307 [BZ #13786]
7308 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7309 not include ../strcmp.S.
7310 [USE_AS_STRNCASECMP_L]: Likewise.
7311 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7312 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7313 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7314 (__strncasecmp_l_ia32): Define as alias to
7315 __strncasecmp_l_nonascii.
7316
0fcad3e2
JM
7317 [BZ #5794]
7318 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7319 * sysdeps/i386/fpu/libm-test-ulps: Update.
7320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7321
5b8a4d4a
JM
7322 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7324
8fdceb2e
JL
73252012-02-29 Jeff Law <law@redhat.com>
7326
7327 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7328 out of bounds read.
7329
1f393a11
MP
73302012-02-29 Marek Polacek <polacek@redhat.com>
7331
7332 [BZ #13706]
7333 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7334 * elf/Makefile: Add rules to run tst-unused-dep.out.
7335
8847f037
DM
73362012-02-28 David S. Miller <davem@davemloft.net>
7337
7338 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7339 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7340 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7341 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7342 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7343 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7344
169d7f11
JM
73452012-02-29 Joseph Myers <joseph@codesourcery.com>
7346
7347 * math/libm-test.inc (llround_test): Move one test from
7348 lround_test. Use TEST_f_L in moved test.
7349 (lround_test): Move misplaced test to llround_test. Add testcase
7350 from bug 2561.
7351
39adf059
UD
73522012-02-28 Ulrich Drepper <drepper@gmail.com>
7353
7354 * sysdeps/x86_64/fpu/e_expf.S: New file.
7355 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7356
71b5d1c5
SB
73572012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7358
7359 [BZ #13637]
7360 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7361 of remain_len that may cause incomplete multi-byte character and
7362 false match.
7363 * posix/bug-regex33.c: New file.
7364 * posix/Makefile (tests): Add bug-regex33.
7365
1f77f049
JM
73662012-02-28 Joseph Myers <joseph@codesourcery.com>
7367
7368 * manual/macros.texi: New file.
7369 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7370 * manual/libc.texinfo: Include macros.texi.
7371 * manual/creatute.texi: Likewise.
7372 * manual/install.texi: Likewise.
7373 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7374 @glibcadj{} in references to the GNU C Library.
7375 * manual/charset.texi: Likewise.
7376 * manual/conf.texi: Likewise.
7377 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7378 when not using those macros.
7379 * manual/creature.texi: Likewise.
7380 * manual/crypt.texi: Likewise.
7381 * manual/errno.texi: Likewise.
7382 * manual/filesys.texi: Likewise.
7383 * manual/header.texi: Likewise.
7384 * manual/install.texi: Likewise.
7385 * manual/intro.texi: Likewise.
7386 * manual/io.texi: Likewise.
7387 * manual/job.texi: Likewise.
7388 * manual/lang.texi: Likewise.
7389 * manual/libc.texiinfo: Likewise.
7390 * manual/llio.texi: Likewise.
7391 * manual/locale.texi: Likewise.
7392 * manual/maint.texi: Likewise.
7393 * manual/math.texi: Likewise.
7394 * manual/memory.texi: Likewise.
7395 * manual/message.texi: Likewise.
7396 * manual/nss.texi: Likewise.
7397 * manual/pattern.texi: Likewise.
7398 * manual/process.texi: Likewise.
7399 * manual/resource.texi: Likewise.
7400 * manual/search.texi: Likewise.
7401 * manual/setjmp.texi: Likewise.
7402 * manual/signal.texi: Likewise.
7403 * manual/socket.texi: Likewise.
7404 * manual/startup.texi: Likewise.
7405 * manual/stdio.texi: Likewise.
7406 * manual/string.texi: Likewise.
7407 * manual/sysinfo.texi: Likewise.
7408 * manual/syslog.texi: Likewise.
7409 * manual/terminal.texi: Likewise.
7410 * manual/time.texi: Likewise.
7411 * manual/users.texi: Likewise.
7412 * INSTALL: Regenerated.
7413 * NOTES: Regenerated.
d40c5d54 7414 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7415
450bf206
AS
74162012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7417
7418 * include/dirent.h: Include <dirstream.h> before
7419 <dirent/dirent.h>.
7420
741a235b
DM
74212012-02-28 David S. Miller <davem@davemloft.net>
7422
7423 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7424 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7425 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7426 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7427
d6b5aa58
DM
74282012-02-27 David S. Miller <davem@davemloft.net>
7429
1aff59a3
DM
7430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7432 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7433 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7434
d6b5aa58
DM
7435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7436 frame pointer instead of stack pointer relative arg slot.
7437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7438 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7439 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7440
433f48bf
CD
74412012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7442
7443 [BZ #3992]
7444 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7445
d674b76d
DM
74462012-02-27 David S. Miller <davem@davemloft.net>
7447
7448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7452 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7453 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7454 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7455 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7456
0e7727f7
JM
74572012-02-27 Joseph Myers <joseph@codesourcery.com>
7458
7459 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7460 later. Allow versions 5-9.
43be4ca2 7461 * configure: Regenerated.
0e7727f7
JM
7462 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7463 required minimum version and 4.6 as recommended version. Do not
7464 mention bugs in GCC 2.7 and 2.8.
43be4ca2 7465 * INSTALL: Regenerated.
0e7727f7 7466
a78bc654
DM
74672012-02-27 David S. Miller <davem@davemloft.net>
7468
428d5830
DM
7469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7473 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7474 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7475 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7476 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7477
a78bc654
DM
7478 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7479 manipulate bits before adding and subtracting TWO112[sx].
7480 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7481
4579f81c
RM
74822012-02-27 Roland McGrath <roland@hack.frob.com>
7483
36c8acb4
RM
7484 [BZ #13775]
7485 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7486 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7487 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7488 being in POSIX, because they are in 1003.1-2008.
7489
84ad622b
RM
7490 * rt/tst-aio.c: Include <fcntl.h>.
7491 * rt/tst-aio7.c: Likewise.
7492 * rt/tst-aio64.c: Likewise.
7493
4579f81c
RM
7494 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7495
abd923db
JM
74962012-02-27 Joseph Myers <joseph@codesourcery.com>
7497
7498 * manual/install.texi (--with-headers): Describe headers as
7499 interface headers, not private headers.
7500 (Specific advice for GNU/Linux systems): Describe use of headers
7501 from "make headers_install", not private headers from older
7502 kernels.
43be4ca2 7503 * INSTALL: Regenerated.
abd923db
JM
7504 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7505 Change to 2.6.19.
7506 * sysdeps/unix/sysv/linux/configure: Regenerated.
7507
6664049b
JM
7508 * manual/llio.texi (fclean): Remove documentation.
7509
bb8b6697
JM
7510 * manual/Makefile (libc-texi-generated): New variable. Include
7511 version.texi.
7512 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7513 $(libc-texi-generated), not duplicated list of files.
7514 (version.texi, stamp-version): New rules.
7515 (realclean): Remove $(libc-texi-generated), not individual files
7516 from that list. Do not remove dir-add.texinfo.
7517 * manual/libc.texinfo: Comment out uses of edition numbers and
7518 references to printed manual. Remove last-updated dates.
7519 (EDITION): Comment out.
7520 (ISBN): Likewise.
7521 (VERSION, UPDATED): Remove.
7522 (version.texi): Include.
7523
12e5c3b9
AS
75242012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7525
7526 * sysdeps/posix/spawni.c: Include <signal.h>.
7527 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7528 * sysdeps/pthread/aio_fsync.c: Likewise.
7529
4efeffc1 75302012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 7531
ba63ba08
UD
7532 * conform/Makefile (tests): Run only when not cross-compiling and
7533 when fast-check is not defined.
7534
d94a4670
UD
7535 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7536 * conform/data/limits.h-data: Fixes for POSIX2008.
7537 * conform/run-conformtest.sh: Run all tests.
7538 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7539 headers.
7540 * include/bits/dlfcn.h: Likewise.
7541 * include/langinfo.h: Likewise.
7542 * include/monetary.h: Likewise.
7543 * include/sys/poll.h: Likewise.
7544
7545 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7546 for __USE_GNU.
7547 * posix/spawn.h: Define __need_sigset_t.
7548 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7549 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7550 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7551 to get sigevent_t only.
7552 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7553 only for __USE_GNU.
7554 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7555 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7556 process_vm_writev only for __USE_GNU.
7557 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
7558
7559 * conform/Makefile: For now ignore errors from run-conformtest.
7560 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7561 POSIX to avoid namespace pollution. Don't prepend headers.
7562 * conform/data/aio.h-data: Fixes for POSIX testing.
7563 * conform/data/fcntl.h-data: Likewise.
7564 * conform/data/glob.h-data: Likewise.
7565 * conform/data/grp.h-data: Likewise.
7566 * conform/data/pthread.h-data: Likewise.
7567 * conform/data/pwd.h-data: Likewise.
7568 * conform/data/signal.h-data: Likewise.
7569 * conform/data/spawn.h-data: Likewise.
7570 * conform/data/stdio.h-data: Likewise.
7571 * conform/data/stdlib.h-data: Likewise.
7572 * conform/data/stropts.h-data: Likewise.
7573 * conform/data/sys/mman.h-data: Likewise.
7574 * conform/data/sys/stat.h-data: Likewise.
7575 * conform/data/sys/types.h-data: Likewise.
7576 * conform/data/sys/wait.h-data: Likewise.
7577 * conform/data/time.h-data: Likewise.
7578 * conform/data/unistd.h-data: Likewise.
7579 * conform/data/utime.h-data: Likewise.
7580
7581 * io/sys/stat.h: fchmod was always in POSIX.
7582 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7583 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7584 * rt/aio.h: Define __need_timespec before including <time.h>.
7585 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7586 struct. Add forward declaration of pthread_attr_t and use it in
7587 sigevent.
7588 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7589 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7590 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7591 always remove CLK_TCK definition.
7592
c20105c3
AS
75932012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7594
7595 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7596
7a270350
UD
75972012-02-25 Ulrich Drepper <drepper@gmail.com>
7598
31341567
UD
7599 * conform/run-conformtest.sh: New file.
7600 * conform/Makefile: Run run-conformtest for tests.
7601 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7602 support.
7603
7604 * conform/data/uchar.h-data: New file.
7605 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7606 * conform/data/arpa/inet.h-data: Likewise.
7607 * conform/data/assert.h-data: Likewise.
7608 * conform/data/complex.h-data: Likewise.
7609 * conform/data/cpio.h-data: Likewise.
7610 * conform/data/ctype.h-data: Likewise.
7611 * conform/data/dirent.h-data: Likewise.
7612 * conform/data/dlfcn.h-data: Likewise.
7613 * conform/data/errno.h-data: Likewise.
7614 * conform/data/fcntl.h-data: Likewise.
7615 * conform/data/float.h-data: Likewise.
7616 * conform/data/fmtmsg.h-data: Likewise.
7617 * conform/data/fnmatch.h-data: Likewise.
7618 * conform/data/ftw.h-data: Likewise.
7619 * conform/data/glob.h-data: Likewise.
7620 * conform/data/grp.h-data: Likewise.
7621 * conform/data/iconv.h-data: Likewise.
7622 * conform/data/inttypes.h-data: Likewise.
7623 * conform/data/langinfo.h-data: Likewise.
7624 * conform/data/libgen.h-data: Likewise.
7625 * conform/data/limits.h-data: Likewise.
7626 * conform/data/locale.h-data: Likewise.
7627 * conform/data/math.h-data: Likewise.
7628 * conform/data/monetary.h-data: Likewise.
7629 * conform/data/mqueue.h-data: Likewise.
7630 * conform/data/ndbm.h-data: Likewise.
7631 * conform/data/net/if.h-data: Likewise.
7632 * conform/data/netdb.h-data: Likewise.
7633 * conform/data/netinet/in.h-data: Likewise.
7634 * conform/data/nl_types.h-data: Likewise.
7635 * conform/data/poll.h-data: Likewise.
7636 * conform/data/pthread.h-data: Likewise.
7637 * conform/data/pwd.h-data: Likewise.
7638 * conform/data/regex.h-data: Likewise.
7639 * conform/data/sched.h-data: Likewise.
7640 * conform/data/search.h-data: Likewise.
7641 * conform/data/semaphore.h-data: Likewise.
7642 * conform/data/setjmp.h-data: Likewise.
7643 * conform/data/signal.h-data: Likewise.
7644 * conform/data/spawn.h-data: Likewise.
7645 * conform/data/stdarg.h-data: Likewise.
7646 * conform/data/stdio.h-data: Likewise.
7647 * conform/data/stdlib.h-data: Likewise.
7648 * conform/data/string.h-data: Likewise.
7649 * conform/data/strings.h-data: Likewise.
7650 * conform/data/stropts.h-data: Likewise.
7651 * conform/data/sys/ipc.h-data: Likewise.
7652 * conform/data/sys/mman.h-data: Likewise.
7653 * conform/data/sys/msg.h-data: Likewise.
7654 * conform/data/sys/resource.h-data: Likewise.
7655 * conform/data/sys/select.h-data: Likewise.
7656 * conform/data/sys/sem.h-data: Likewise.
7657 * conform/data/sys/shm.h-data: Likewise.
7658 * conform/data/sys/socket.h-data: Likewise.
7659 * conform/data/sys/stat.h-data: Likewise.
7660 * conform/data/sys/statvfs.h-data: Likewise.
7661 * conform/data/sys/time.h-data: Likewise.
7662 * conform/data/sys/timeb.h-data: Likewise.
7663 * conform/data/sys/times.h-data: Likewise.
7664 * conform/data/sys/types.h-data: Likewise.
7665 * conform/data/sys/uio.h-data: Likewise.
7666 * conform/data/sys/un.h-data: Likewise.
7667 * conform/data/sys/utsname.h-data: Likewise.
7668 * conform/data/sys/wait.h-data: Likewise.
7669 * conform/data/syslog.h-data: Likewise.
7670 * conform/data/tar.h-data: Likewise.
7671 * conform/data/termios.h-data: Likewise.
7672 * conform/data/utime.h-data: Likewise.
7673 * conform/data/utmpx.h-data: Likewise.
7674 * conform/data/varargs.h-data: Likewise.
7675 * conform/data/wchar.h-data: Likewise.
7676 * conform/data/wctype.h-data: Likewise.
7677 * conform/data/wordexp.h-data: Likewise.
7678
7679 * include/stropts.h: New file.
7680 * include/uchar.h: New file.
7681 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7682 * include/assert.h: Likewise.
7683 * include/ctype.h: Likewise.
7684 * include/dirent.h: Likewise.
7685 * include/dlfcn.h: Likewise.
7686 * include/fcntl.h: Likewise.
7687 * include/fnmatch.h: Likewise.
7688 * include/glob.h: Likewise.
7689 * include/grp.h: Likewise.
7690 * include/libio.h: Likewise.
7691 * include/locale.h: Likewise.
7692 * include/math.h: Likewise.
7693 * include/net/if.h: Likewise.
7694 * include/netdb.h: Likewise.
7695 * include/netinet/in.h: Likewise.
7696 * include/pthread.h: Likewise.
7697 * include/pwd.h: Likewise.
7698 * include/regex.h: Likewise.
7699 * include/sched.h: Likewise.
7700 * include/search.h: Likewise.
7701 * include/setjmp.h: Likewise.
7702 * include/signal.h: Likewise.
7703 * include/stdio.h: Likewise.
7704 * include/stdlib.h: Likewise.
7705 * include/string.h: Likewise.
7706 * include/sys/cdefs.h: Likewise.
7707 * include/sys/mman.h: Likewise.
7708 * include/sys/msg.h: Likewise.
7709 * include/sys/resource.h: Likewise.
7710 * include/sys/select.h: Likewise.
7711 * include/sys/socket.h: Likewise.
7712 * include/sys/stat.h: Likewise.
7713 * include/sys/statvfs.h: Likewise.
7714 * include/sys/time.h: Likewise.
7715 * include/sys/times.h: Likewise.
7716 * include/sys/uio.h: Likewise.
7717 * include/sys/utsname.h: Likewise.
7718 * include/sys/wait.h: Likewise.
7719 * include/termios.h: Likewise.
7720 * include/time.h: Likewise.
7721 * include/ulimit.h: Likewise.
7722 * include/unistd.h: Likewise.
7723 * include/utime.h: Likewise.
7724 * include/wchar.h: Likewise.
7725 * include/wctype.h: Likewise.
7726 * include/wordexp.h: Likewise.
7727
7728 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7729
7a270350
UD
7730 * time/time.h: TIME_UTC must be a macro.
7731 Make timespec_get available for ISO C11 only as well.
7732
7724defc
UD
77332012-02-24 Ulrich Drepper <drepper@gmail.com>
7734
7735 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7736 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7737
6b1d1d46
JM
77382012-02-24 Joseph Myers <joseph@codesourcery.com>
7739
7740 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 7741
0f8bbd69
JM
77422012-02-24 Joseph Myers <joseph@codesourcery.com>
7743
7744 * manual/texinfo.tex: Update to version 2012-01-19.16.
7745
66ab80bc
JM
77462012-02-24 Joseph Myers <joseph@codesourcery.com>
7747
7748 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7749
74981cc5
RM
77502012-02-24 Roland McGrath <roland@hack.frob.com>
7751
ee968201
RM
7752 [BZ #13738]
7753 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7754 * manual/fdl-1.3.texi: New file.
7755 * manual/fdl-1.1.texi: File removed.
7756
74981cc5
RM
7757 [BZ #13738]
7758 * manual/libc.texinfo (FDL_VERSION): New @set.
7759 Use it for mention of FDL in cover text.
7760 (Documentation License): Use it in @include file name.
7761
7bb764bc
JM
77622012-02-22 Joseph Myers <joseph@codesourcery.com>
7763 Roland McGrath <roland@hack.frob.com>
7764
7765 [BZ #5461]
7766 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7767 not LONG_LONG_MAX and LONG_LONG_MIN.
7768 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7769 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7770 name.
7771 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7772
6cbeae47
JM
77732012-02-22 Joseph Myers <joseph@codesourcery.com>
7774
7775 [BZ #2547]
7776 [BZ #11365]
7777 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7778 manipulate bits before adding and subtracting TWO23[sx].
7779 * math/libm-test.inc (nearbyint_test): Add more tests.
7780
fe45ce09
JM
77812012-02-22 Joseph Myers <joseph@codesourcery.com>
7782
7783 [BZ #2548]
7784 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7785 bits before adding and subtracting TWO23[sx].
7786 * math/libm-test.inc (rint_test): Add more tests.
7787 (rint_test_tonearest): Likewise.
7788 (rint_test_towardzero): Likewise.
7789 (rint_test_downward): Likewise.
7790 (rint_test_upward: Likewise.
7791
ff3b3d82
JM
77922012-02-22 Joseph Myers <joseph@codesourcery.com>
7793
7794 [BZ #10110]
7795 * include/stdc-predef.h: New file. Extracted from features.h.
7796 * include/features.h: Include stdc-predef.h.
7797 * Makefile (headers): Add stdc-predef.h.
7798 * CONFORMANCE (Compiler limitations): Update.
7799
ef0aab35
JM
78002012-02-22 Joseph Myers <joseph@codesourcery.com>
7801
7802 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7803
58639409
DM
78042012-02-21 David S. Miller <davem@davemloft.net>
7805
7806 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7807 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7808
c0e70b25
DM
78092012-02-20 David S. Miller <davem@davemloft.net>
7810
7811 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7812 using a normal save/restore sequence, rather than allocating a
7813 dummy stack frame just to store a frame pointer and restore.
7814 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7815
fb06851d
JM
78162012-02-21 Joseph Myers <joseph@codesourcery.com>
7817
7818 * manual/install.texi: Fix stray word in line-wrapped comment.
7819
7a8b71c3
DM
78202012-02-20 David S. Miller <davem@davemloft.net>
7821
d510c123
DM
7822 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7823 both binutils and gcc support GOTDATA.
7824
0722d7c2
DM
7825 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7826 "rd %pc" in the PIC register setup sequences.
7827
3d2b3019
DM
7828 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7829 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7830 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7831 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7832 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7833 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7834 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7835 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7836 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7837 (SYSCALL_ERROR_HANDLER): Likewise.
7838 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7839 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7840 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7841 (SYSCALL_ERROR_HANDLER): Likewise.
7842
c80098a9
DM
7843 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7844 (HAVE_GCC_GOTDATA): New.
7845 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7846 relocation support in both binutils and gcc.
7847 * sysdeps/sparc/elf/configure: Regenerate.
7848
3a2545a0
DM
7849 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7850 * sysdeps/sparc/sparc32/elf/configure: Delete.
7851 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7852 * sysdeps/sparc/sparc64/elf/configure: Delete.
7853 * sysdeps/sparc/elf/configure.in: New file.
7854 * sysdeps/sparc/elf/configure: Generate.
7855
7a8b71c3
DM
7856 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7857 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7858 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7859 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7860 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7861
f1e86fca
JM
78622012-02-21 Joseph Myers <joseph@codesourcery.com>
7863
7864 * manual/install.texi: Do not mention specific glibc version
7865 numbers.
7866 * manual/libc.texinfo (VERSION, UPDATED): Update.
7867 (@copying): Use @copyright{} and range of years.
7868
0e7dfaef
JM
78692012-02-21 Joseph Myers <joseph@codesourcery.com>
7870
7871 [BZ #13695]
7872 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7873 [crti.S not in sysdirs] (generated): Do not append.
7874 [crti.S not in sysdirs] (omit-deps): Likewise.
7875 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7876 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7877 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7878 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7879 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7880 Likewise.
7881 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7882 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7883 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7884 * csu/defs.awk: Remove file.
7885 * sysdeps/generic/initfini.c: Likewise.
7886 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7887 variable.
7888 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7889 Likewise.
7890
599af3ca
JM
78912012-02-20 Joseph Myers <joseph@codesourcery.com>
7892
7893 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7894 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7895 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7896 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7897 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7898 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7899 <bits/epoll.h>.
7900 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7901 (__EPOLL_PACKED): Define to empty if not defined by
7902 <bits/epoll.h>.
7903 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7904 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7905 bits/epoll.h.
7906
0e499750
JM
79072012-02-20 Joseph Myers <joseph@codesourcery.com>
7908
7909 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7910 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7911 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7912 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7913 <bits/timerfd.h>.
7914 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7915 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7916 bits/timerfd.h.
7917
5ad91f6e
JM
79182012-02-20 Joseph Myers <joseph@codesourcery.com>
7919
7920 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7921 in C locale.
7922 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7923 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7924 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7926
06b99b02
AJ
79272012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7928
7929 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7930 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7931
7638c0fd
AS
79322012-02-19 Andreas Schwab <schwab@linux-m68k.org>
7933
7934 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
7935 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
7936 defined.
7937 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
7938 Likewise.
7939 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7940 entry for 2.16.
7941
92221550
AJ
79422012-02-19 Aurelien Jarno <aurelien@aurel32.net>
7943
7944 * math/w_acos.c: Use non-signaling floating-point comparisons.
7945 * math/w_acosf.c: Likewise.
7946 * math/w_acosh.c: Likewise.
7947 * math/w_acoshf.c: Likewise.
7948 * math/w_acoshl.c: Likewise.
7949 * math/w_acosl.c: Likewise.
7950 * math/w_asin.c: Likewise.
7951 * math/w_asinf.c: Likewise.
7952 * math/w_asinl.c: Likewise.
7953 * math/w_atanh.c: Likewise.
7954 * math/w_atanhf.c: Likewise.
7955 * math/w_atanhl.c: Likewise.
7956 * math/w_exp2.c: Likewise.
7957 * math/w_exp2f.c: Likewise.
7958 * math/w_exp2l.c: Likewise.
7959 * math/w_j0.c: Likewise.
7960 * math/w_j0f.c: Likewise.
7961 * math/w_j0l.c: Likewise.
7962 * math/w_j1.c: Likewise.
7963 * math/w_j1f.c: Likewise.
7964 * math/w_j1l.c: Likewise.
7965 * math/w_jn.c: Likewise.
7966 * math/w_jnf.c: Likewise.
7967 * math/w_log.c: Likewise.
7968 * math/w_log10.c: Likewise.
7969 * math/w_log10f.c: Likewise.
7970 * math/w_log10l.c: Likewise.
7971 * math/w_log2.c: Likewise.
7972 * math/w_log2f.c: Likewise.
7973 * math/w_log2l.c: Likewise.
7974 * math/w_logf.c: Likewise.
7975 * math/w_logl.c: Likewise.
7976 * math/w_sqrt.c: Likewise.
7977 * math/w_sqrtf.c: Likewise.
7978 * math/w_sqrtl.c: Likewise.
7979 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7980 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7981 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7982 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7983 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7984
ebaf36eb
JM
79852012-02-19 Joseph Myers <joseph@codesourcery.com>
7986
7987 [BZ #9739]
7988 * manual/string.texi (strnlen): Use correct parameter name in
7989 equivalent expression.
7990
71c254a6
JM
79912012-02-19 Joseph Myers <joseph@codesourcery.com>
7992
7993 [BZ #11174]
7994 * manual/users.texi (seteuid): Consistently use neweuid for
7995 argument name.
7996
16d2c631
JM
79972012-02-19 Joseph Myers <joseph@codesourcery.com>
7998
7999 [BZ #13704]
8000 * manual/nss.texi (Services in the NSS configuration): Correct
8001 list of services in example configuration file.
8002
cd837b09
NB
80032012-02-19 Nick Bowler <nbowler@draconx.ca>
8004
8005 [BZ #11322]
8006 * manual/arith.texi: Remove statements about negative zero
8007 behaving identically to zero.
8008
02c4bbad
JM
80092012-02-18 Joseph Myers <joseph@codesourcery.com>
8010
8011 [BZ #5993]
8012 * manual/install.texi: Do not document upgrading from libc5.
8013
366842e7
JM
80142012-02-18 Joseph Myers <joseph@codesourcery.com>
8015
8016 [BZ #4596]
8017 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8018
dd54084d
DM
80192012-02-18 David S. Miller <davem@davemloft.net>
8020
8021 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8022 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8023 %o7 across the call.
8024 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8025 instead.
8026 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8027 SETUP_PIC_REG_LEAF.
8028 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8029 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8030 * sysdeps/sparc/crtn.S: Likewise.
8031
2bcc53a3
UD
80322012-02-17 Ulrich Drepper <drepper@gmail.com>
8033
8034 * aout/Makefile: Remove.
8035
09c093b5
RK
80362012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8037
8038 [BZ #13058]
8039 * manual/examples/argp-ex1.c (main): Format definition in GNU
8040 style.
8041 * manual/examples/argp-ex2.c (main): Likewise.
8042 * manual/examples/argp-ex3.c (main): Likewise.
8043 * manual/examples/argp-ex4.c (main): Likewise.
8044 * manual/examples/longopt.c (main): Use new-style prototype
8045 definition.
8046 * manual/examples/strncat.c (main): Specify return type and use
8047 (void) for arguments.
8048 * manual/examples/subopt.c (main): Use char **argv argument.
8049
2ee633a2
JM
80502012-02-17 Joseph Myers <joseph@codesourcery.com>
8051
8052 [BZ #5077]
8053 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8054 rounding modes.
8055
0520adde
FB
80562012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8057
8058 [BZ #6907]
8059 * manual/string.texi (strchr): Change when strchrnul is
8060 recommended.
8061
3f4081cd
DGM
80622012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8063
8064 [BZ #174]
8065 * manual/locale.texi (setlocale): Document LOCPATH.
8066
d1b10e78
JM
80672012-02-17 Joseph Myers <joseph@codesourcery.com>
8068
8069 [BZ #10210]
8070 * manual/process.texi (execle): Move @dots{} before last argument.
8071
79c6869c
PB
80722012-02-17 Paul Bolle <pebolle@tiscali.nl>
8073
8074 [BZ #12047]
8075 * manual/charset.texi (Generic Charset Conversion): Fix typo
8076 (LC_TYPE -> LC_CTYPE).
8077
cc6e48bc
NB
80782012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8079
8080 [BZ #5805]
8081 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8082 (scalbnf): Likewise.
8083 (scalbnl): Likewise.
8084 (scalbln): Likewise.
8085 (scalblnf): Likewise.
8086 (scalblnl): Likewise.
8087 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8088 (vwarnx): Likewise.
8089 (verr): Likewise.
8090 (verrx): Likewise.
8091 * manual/filesys.texi (telldir): Use braces around return type.
8092 * manual/llio.texi (mmap): Add space after comma.
8093 (mmap64): Likewise.
8094 * manual/math.texi (jn): Use @var{} on parameter names.
8095 (jnf): Likewise.
8096 (jnl): Likewise.
8097 (yn): Likewise.
8098 (ynf): Likewise.
8099 (ynl): Likewise.
8100 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8101 line.
8102 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8103 "...".
8104 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8105 (sched_get_priority_max): Likewise.
8106 * manual/signal.texi (sigvec): Add space after comma.
8107 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8108 names.
8109 (if_indextoname): Likewise.
8110 (if_freenameindex): Likewise.
8111 (sendto): Use ',' instead of '.' in prototype.
8112 * manual/startup.texi (syscall): Use @dots{} instead of literal
8113 "...".
8114 * manual/stdio.texi (__fpending): Separate initial words of
8115 paragraph from @deftypefun line.
8116 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8117 "...".
8118 (vsyslog): Use @var{} on parameter names.
8119 * manual/terminal.texi (stty): Use @var{} on parameter names.
8120 * manual/users.texi (getutmp): Use @var{} on parameter names.
8121 (getutmpx): Likewise.
8122
5b23062f
JM
81232012-02-17 Joseph Myers <joseph@codesourcery.com>
8124
8125 [BZ #6884]
8126 * manual/stdio.texi (fopen): Fix typos in description of
8127 ",ccs=STRING".
8128
8dee4833
AJ
81292012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8130
8131 [BZ #4026]
8132 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8133 get clock_id definition.
8134
9078ce93
TS
81352012-02-17 Thomas Schwinge <thomas@schwinge.name>
8136
8137 [BZ #4822]
8138 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8139 (madvise): Cast every argument to void on its own.
8140
3835c55f
JM
81412012-02-17 Joseph Myers <joseph@codesourcery.com>
8142
8143 [BZ #9902]
8144 * manual/startup.texi (Exit Status): Fix typo.
8145
35c47e37
JM
81462012-02-17 Joseph Myers <joseph@codesourcery.com>
8147
8148 [BZ #10140]
8149 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8150 * manual/examples/argp-ex2.c: Likewise.
8151 * manual/examples/argp-ex3.c: Likewise.
8152
e3b69ca7
RH
81532012-02-16 Richard Henderson <rth@redhat.com>
8154
8155 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8156 * sysdeps/s390/s390-32/initfini.c: Remove.
8157 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8158 * sysdeps/s390/s390-64/initfini.c: Remove.
8159
df83af67
KK
81602012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8161
8162 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8163 compiler output for sysdeps/generic/initfini.c.
8164 * sysdeps/sh/elf/initfini.c: Remove file.
8165
f63f3380
DM
81662012-02-16 David S. Miller <davem@davemloft.net>
8167
fb59b3a4
DM
8168 [BZ #11494]
8169 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8170
f63f3380
DM
8171 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8172 * sysdeps/sparc/crti.S: New file.
8173 * sysdeps/sparc/crtn.S: New file.
8174 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8175 * sysdeps/sparc/sparc64/Makefile: Likewise.
8176
df6a4a4a
MF
81772012-02-15 Mike Frysinger <vapier@gentoo.org>
8178
6dd8f3dc 8179 [BZ #3335]
df6a4a4a
MF
8180 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8181
1cac7236
RM
81822012-02-15 Roland McGrath <roland@hack.frob.com>
8183
d2c736f8
RM
8184 [BZ #4822]
8185 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8186
1cac7236
RM
8187 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8188 (write, read, close): Likewise.
8189 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8190
8e475601
JM
81912012-02-15 Joseph Myers <joseph@codesourcery.com>
8192
8193 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8194 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8195 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8196 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8197 <bits/signalfd.h>.
8198 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8199 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8200 bits/signalfd.h.
8201
ed656b40
MP
82022012-02-14 Marek Polacek <polacek@redhat.com>
8203
8204 * sysdeps/x86_64/crti.S: New file.
8205 * sysdeps/x86_64/crtn.S: New file.
8206 * sysdeps/x86_64/elf/initfini.c: Remove file.
8207
2a979d3a
JM
82082012-02-13 Joseph Myers <joseph@codesourcery.com>
8209
8210 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8211 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8212 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8213 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8214 <bits/inotify.h>.
8215 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8216 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8217 bits/inotify.h.
8218
2a418ac3
JM
82192012-02-13 Joseph Myers <joseph@codesourcery.com>
8220
8221 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8222 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8223 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8224 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8225 <bits/eventfd.h>.
8226 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8227 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8228 bits/eventfd.h.
8229
fb779be7
TS
82302012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8231
e19e83c5
RM
8232 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8233 __feraiseexcept instead of feraiseexcept.
7c35ffed 8234
fb779be7
TS
8235 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8236 nanosleep invocations.
8237 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8238 strings, and add error checking for a nanosleep invocations.
8239
59ba27a6
PE
82402012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8241
8242 Replace FSF snail mail address with URLs, as per GNU coding standards.
8243 Most of the snail mail addresses were wrong anyway, and omitting
8244 them makes the source code easier to maintain. Almost all of the
8245 changes are to license notices and to locale LC_IDENTIFICATION
8246 addresses, except for this one:
8247 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8248 not its snail mail address.
8249
57b957eb
RH
82502012-02-09 Richard Henderson <rth@twiddle.net>
8251
af850b1c
RH
8252 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8253 of kernel-features.h.
8254
57b957eb
RH
8255 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8256
6b73181a
MP
82572012-02-08 Marek Polacek <polacek@redhat.com>
8258
8259 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8260 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8261 * sysdeps/gnu/_G_config.h: Likewise.
8262 * sysdeps/generic/_G_config.h: Likewise.
8263
26ecc33a
AS
82642012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8265
6c6dbc63
AS
8266 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8267 tests.
8268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8269
e216c012
AS
8270 * sysdeps/powerpc/powerpc32/crti.S: New file.
8271 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8272 * sysdeps/powerpc/powerpc64/crti.S: New file.
8273 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8274
26ecc33a
AS
8275 * Makeconfig (have-initfini): Don't set.
8276 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8277 * configure.in (nopic_initfini): Don't substitute.
8278 * config.h.in (HAVE_INITFINI): Don't #undef.
8279 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8280 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8281
3add8e13
JM
82822012-02-08 Joseph Myers <joseph@codesourcery.com>
8283
8284 Support crti.S and crtn.S provided directly by architectures.
8285 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8286 [crti.S in sysdirs] (omit-deps): Likewise.
8287 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8288 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8289 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8290 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8291 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8292 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8293 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8294 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8295 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8296 compiler output for sysdeps/generic/initfini.c.
8297 * sysdeps/i386/elf/Makefile: Remove file.
8298 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8299
a22f12b4
MP
83002012-02-07 Marek Polacek <polacek@redhat.com>
8301
8302 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8303 * sysdeps/gnu/_G_config.h: Likewise.
8304 * sysdeps/mach/hurd/_G_config.h: Likewise.
8305
148cf100
MP
83062012-02-07 Marek Polacek <polacek@redhat.com>
8307
8308 * math/Makefile (tests): Add tst-CMPLX2.
8309 * math/tst-CMPLX2.c: New file.
8310
cfdc0dd7
AS
83112012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8312
84ba42c4
AS
8313 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8314
cfdc0dd7
AS
8315 * math/libm-test.inc (jn_test): Add missing L suffix.
8316
622c86f4
MP
83172012-02-06 Marek Polacek <polacek@redhat.com>
8318
8319 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8320 * sysdeps/i386/fpu/e_powf.S: Likewise.
8321 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8322 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8323 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8324 * sysdeps/i386/fpu/e_pow.S: Likewise.
8325 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8326 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8327 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8328 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8329 * sysdeps/i386/fpu/e_log2.S: Likewise.
8330 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8331 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8332 * sysdeps/i386/fpu/e_powl.S: Likewise.
8333 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8334 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8335 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8336 * sysdeps/i386/fpu/e_logl.S: Likewise.
8337 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8338 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8339 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8340 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8341 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8342 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8343 * sysdeps/i386/fpu/e_log.S: Likewise.
8344 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8345 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8346 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8347 * sysdeps/i386/fpu/e_logf.S: Likewise.
8348 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8349 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8350 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8351 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8352 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8353 * sysdeps/i386/fpu/e_log10.S: Likewise.
8354 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8355 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8356 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8357 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8358 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8359 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8360 * sysdeps/i386/asm-syntax.h: Likewise.
8361 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8362 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8363 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8364 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8365 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8366 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8367 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8368 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8369 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8370 * sysdeps/powerpc/sysdep.h: Likewise.
8371 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8372 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8373
d4a54ac6
JM
83742012-02-06 Joseph Myers <joseph@codesourcery.com>
8375
8376 [BZ #411]
8377 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8378
314054ea
JM
83792012-02-06 Joseph Myers <joseph@codesourcery.com>
8380
8381 * sysdeps/i386/sysdep.h: Include <features.h>.
8382 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8383 version.
8384
d8e0ca50
JM
83852012-02-05 Joseph Myers <joseph@codesourcery.com>
8386
8387 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8388 Define.
8389 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8390 LOAD_PIC_REG_STR.
8391
b1da7dd9
JM
83922012-02-03 Joseph Myers <joseph@codesourcery.com>
8393
8394 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8395 (SETUP_PIC_REG): Use GET_PC_THUNK.
8396 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8397 macro.
8398
9a1d9254
JM
83992012-02-03 Joseph Myers <joseph@codesourcery.com>
8400
8401 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8402 for non-PIC compilation.
8403 (SETUP_PIC_REG): Add .p2align directive.
8404 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8405 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8406 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8407 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8408 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8409 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8410 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8411 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8412 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8413 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8414 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8415 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8416 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8417 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8418 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8419 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8420 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8421 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8422 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8423 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8424 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8425 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8426 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8427 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8428 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8429 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8430 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8431 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8432 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8433 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8434 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8435 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8436 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8437 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8438 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8439 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8440 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8441 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8442 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8443 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8444 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8445
65dc3b75
JM
84462012-02-03 Joseph Myers <joseph@codesourcery.com>
8447
8448 * math/tst-CMPLX.c: Include <stdio.h>.
8449
d55bf177
JM
84502012-01-31 Joseph Myers <joseph@codesourcery.com>
8451
8452 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8453 float.
8454 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8455 * sysdeps/sparc/bits/mathdef.h: Likewise.
8456
69db4f8f
MP
84572012-01-31 Marek Polacek <polacek@redhat.com>
8458
8459 * libio/libio.h: Don't define _PARAMS.
8460 * locale/programs/config.h: Don't define PARAMS.
8461 * stdlib/strtol_l.c: Likewise.
8462 (__strtol_l): Remove PARAMS from the prototype.
8463
41b81892
UD
84642012-01-31 Ulrich Drepper <drepper@gmail.com>
8465
3b49edc0
UD
8466 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8467 names. Just use the correct names. Remove unnecessary wrapper
8468 functions.
8469 * malloc/arena.c: Likewise.
8470 * malloc/hooks.c: Likewise.
8471
41b81892
UD
8472 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8473 ARENA_TEST says not to. Simplify test for creation of a new arena.
8474 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8475
27a25b6e
UD
84762012-01-30 Ulrich Drepper <drepper@gmail.com>
8477
8478 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8479 into tail calls.
8480 (update_get_addr): New function.
8481 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8482 GET_ADDR_MODULE parameter.
8483
c8a89e7d
JM
84842012-01-30 Joseph Myers <joseph@codesourcery.com>
8485
8486 * crypt/cert.c: Remove __STDC__ conditionals.
8487 * crypt/crypt-entry.c: Likewise.
8488 * crypt/crypt_util.c: Likewise.
8489 * libio/filedoalloc.c: Likewise.
8490 * libio/fileops.c: Likewise.
8491 * libio/genops.c: Likewise.
8492 * libio/iofclose.c: Likewise.
8493 * libio/iofdopen.c: Likewise.
8494 * libio/iofopen.c: Likewise.
8495 * libio/iofopen64.c: Likewise.
8496 * libio/iogetdelim.c: Likewise.
8497 * libio/iopopen.c: Likewise.
8498 * libio/obprintf.c: Likewise.
8499 * libio/oldfileops.c: Likewise.
8500 * libio/oldiofclose.c: Likewise.
8501 * libio/oldiofdopen.c: Likewise.
8502 * libio/oldiofopen.c: Likewise.
8503 * libio/oldiopopen.c: Likewise.
8504 * libio/wfiledoalloc.c: Likewise.
8505 * libio/wgenops.c: Likewise.
8506 * locale/programs/xmalloc.c: Likewise.
8507 * misc/syslog.c: Likewise.
8508 * stdio-common/xbug.c: Likewise.
8509 * string/memchr.c: Likewise.
8510 * string/memcmp.c: Likewise.
8511 * string/memrchr.c: Likewise.
8512 * string/rawmemchr.c: Likewise.
8513 * sysdeps/posix/getcwd.c: Likewise.
8514 * time/strftime_l.c: Likewise.
8515
3b100462
JM
85162012-01-30 Joseph Myers <joseph@codesourcery.com>
8517
8518 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
8519 * config.make.in (config-cflags-sse2avx): Define.
8520 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8521 Fix typo.
8522
607998af
CM
85232012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8524
8525 * scripts/config.guess: Update from upstream config git repository.
8526 * scripts/config.sub: Likewise.
8527
3601428f
CM
85282012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8529
3ac8b282
CM
8530 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8531 (EM_NUM): Update.
8532 (R_TILEPRO_*, R_TILEGX_*): New macros.
8533
e034841e
CM
8534 * scripts/firstversions.awk: Fix bug in version range handling.
8535
540d7568
CM
8536 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8537
3601428f
CM
8538 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8539
463de862
CM
8540 * include/sys/epoll.h: New file.
8541 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8542 libc_hidden_def.
8543
73139a76
UD
85442012-01-28 Ulrich Drepper <drepper@gmail.com>
8545
96bc5b45
UD
8546 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8547 Avoid unnecessary __WORDSIZE == 64 test.
8548 (fmaxf): Use VEX format if possible.
8549 (fmax): Likewise.
8550 (fminf): Likewise.
8551 (fmin): Likewise.
8552
56f6f6a2
UD
8553 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8554 * math/math_private.h: Remove libc_fegetround* and
8555 libc_fesetround*.
8556 * sysdeps/i386/configure.in: Check for -msse2avx.
8557 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8558 also if SSE2AVX is defined.
8559 Remove libc_fegetround* and libc_fesetround*.
8560 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8561 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8562 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8563 of HAS_YMM_USABLE.
8564 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8565 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8566 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8567 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8568 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8569
73139a76
UD
8570 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8571
d73f93a4
AZ
85722012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8573
8574 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8575 size is not set.
8576 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8577
6ee65ed6
UD
85782012-01-27 Ulrich Drepper <drepper@gmail.com>
8579
8580 [BZ #13618]
8581 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8582 relocation.
8583 * Makeconfig (libm): Define.
8584 * elf/Makefile: Add rules to build and run tst-relsort1.
8585 * elf/tst-relsort1.c: New file.
8586 * elf/tst-relsort1mod1.c: New file.
8587 * elf/tst-relsort1mod2.c: New file.
8588
8db21882
JM
85892012-01-27 Joseph Myers <joseph@codesourcery.com>
8590
8591 * math/s_ldexp.c: Remove __STDC__ conditionals.
8592 * math/s_ldexpf.c: Likewise.
8593 * math/s_ldexpl.c: Likewise.
8594 * math/s_nextafter.c: Likewise.
8595 * math/s_nexttowardf.c: Likewise.
8596 * math/s_significand.c: Likewise.
8597 * math/s_significandf.c: Likewise.
8598 * math/s_significandl.c: Likewise.
8599 * math/w_jnl.c: Likewise.
8600 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8601 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8602 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8603 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8604 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8605 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8606 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8607 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8608 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8609 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8610 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8611 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8612 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8613 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8614 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8615 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8616 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8617 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8618 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8619 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8620 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8621 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8622 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8623 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8624 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8625 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8626 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8627 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8628 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8629 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8630 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8631 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8632 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8633 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8634 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8635 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8636 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8637 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8638 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8639 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8640 * sysdeps/ieee754/k_standard.c: Likewise.
8641 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8642 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8643 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8644 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8645 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8646 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8647 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8648 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8649 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8650 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8651 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8652 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8653 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8654 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8655 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8656 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8657 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8658 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8659 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8660 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8661 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8662 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8663 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8664 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8665 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8666 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8667 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8668 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8669 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8670 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8671 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8672 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8673 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8674 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8675 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8676 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8677 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8678 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8679 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8680 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8681 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8682 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8683 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8684 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8685 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8686 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8687 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8688 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8689 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8690 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8691 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8692 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8693 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8694 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8695 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8696 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8697 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8698 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8699 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8700 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8701 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8702 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8703 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8704 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8705 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8706 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8707 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8708 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8709 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8710 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8711 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8712 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8713 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8714 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8715 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8716 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8717 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8718 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8719 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8720 * sysdeps/ieee754/s_matherr.c: Likewise.
8721 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8722 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8723 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8724 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8725
965a54a4
JM
87262012-01-26 Joseph Myers <joseph@codesourcery.com>
8727
8728 * crypt/md5.h: Remove __STDC__ conditionals.
8729 * libio/libioP.h: Likewise.
8730 * locale/programs/config.h: Likewise.
8731 * sysdeps/generic/sysdep.h: Likewise.
8732 * sysdeps/i386/asm-syntax.h: Likewise.
8733 * sysdeps/s390/asm-syntax.h: Likewise.
8734 * sysdeps/unix/sysdep.h: Likewise.
8735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8737
7071ad79
JM
87382012-01-26 Joseph Myers <joseph@codesourcery.com>
8739
8740 * libio/libio.h: Remove __STDC__ conditionals.
8741 * malloc/obstack.h: Likewise.
8742 * math/complex.h: Likewise.
8743 * math/math.h: Likewise.
8744 * sysdeps/generic/_G_config.h: Likewise.
8745 * sysdeps/gnu/_G_config.h: Likewise.
8746 * sysdeps/mach/hurd/_G_config.h: Likewise.
8747 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8748 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8749 * sysdeps/sparc/bits/mathdef.h: Likewise.
8750
afc5ed09
UD
87512012-01-26 Ulrich Drepper <drepper@gmail.com>
8752
8753 [BZ #13583]
8754 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 8755 Clean up HAS_* macros.
afc5ed09 8756 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
8757 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8758 possible.
8759 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8760 HAS_AVX.
8761 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8762 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8763 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8764 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8765 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 8766
bdb6de1d
JM
87672012-01-25 Joseph Myers <joseph@codesourcery.com>
8768
8769 * elf/tst-unique3.cc (gets): Remove declaration.
8770 * elf/tst-unique3lib.cc (gets): Likewise.
8771 * elf/tst-unique3lib2.cc (gets): Likewise.
8772 * elf/tst-unique4.cc (gets): Likewise.
8773
b15549e6
UD
87742012-01-24 Ulrich Drepper <drepper@gmail.com>
8775
8776 * include/stdio.h: Add C++ protection. Add gets declarations and
8777 definitions.
8778 * debug/tst-chk1.c: Don't declare gets here.
8779 * stdio-common/tst-gets.c: Likewise.
8780
a037381f
JM
87812012-01-24 Joseph Myers <joseph@codesourcery.com>
8782
8783 * posix/glob: Remove directory.
8784
f1d4aa75
JM
87852012-01-24 Joseph Myers <joseph@codesourcery.com>
8786
8787 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8788
81c0c964
PT
87892012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8790
8791 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8792 of the non-standard EPFNOSUPPORT.
8793
0ea698ae
ST
87942011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8795
8796 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8797 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8798 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8799
d220b117
UD
88002012-01-21 Ulrich Drepper <drepper@gmail.com>
8801
8802 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8803
3e1aa84e
UD
88042012-01-20 Ulrich Drepper <drepper@gmail.com>
8805
8806 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8807 transient errors.
8808 * nscd/grpcache.c (cache_addgr): Likewise.
8809 * nscd/hstcache.c (cache_addhst): Likewise.
8810 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8811 * nscd/pwdcache.c (cache_addpw): Likewise.
8812 * nscd/servicescache.c (cache_addserv): Likewise.
8813
400aa020
UD
88142012-01-16 Ulrich Drepper <drepper@gmail.com>
8815
d77e7869
UD
8816 * malloc/malloc.c: Various cleanups.
8817 * malloc/hooks.c: Likewise.
8818
400aa020
UD
8819 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8820 * stdlib/bug-fmtmsg1.c: New file.
8821
8822 * stdlib/fmtmsg.c (init): Add missing unlock.
8823 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8824
e0a309cf
MP
88252012-01-12 Marek Polacek <polacek@redhat.com>
8826
8827 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8828 and _GNU_SOURCE.
8829
929d11c7
WS
88302012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8831
8832 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8833 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8834 macro to ensure uniqueness of label name.
8835 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8836 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8837
41d0e869
UD
88382012-01-11 Ulrich Drepper <drepper@gmail.com>
8839
0cc5ed3b
UD
8840 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8841
41d0e869
UD
8842 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8843 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8844 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8845 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8846
a47a831a
UD
88472012-01-10 Ulrich Drepper <drepper@gmail.com>
8848
daa891c0
UD
8849 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8850
8851 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8852 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8853 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8854
e58ef0f2
UD
8855 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8856
a47a831a 8857 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
8858 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8859 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 8860 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
8861
8862 * math/bits/math-finite.h: Add ldexp support.
8863
a0bfc9c7
MP
88642012-01-10 Marek Polacek <polacek@redhat.com>
8865
8866 * locale/programs/localedef.h (show_archive_content): Add noreturn
8867 attribute.
8868
d6e97a1d
UD
88692012-01-09 Ulrich Drepper <drepper@gmail.com>
8870
8871 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8872
d5835c26
UD
88732012-01-08 Ulrich Drepper <drepper@gmail.com>
8874
e5f484c6
UD
8875 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8876
d5835c26
UD
8877 * io/Makefile (headers): Add bits/poll2.h.
8878
d1f741e9
WS
88792011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8880
8881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8882 typo #include statement.
8883
ec09c1c4
UD
88842012-01-08 Ulrich Drepper <drepper@gmail.com>
8885
8886 * include/sys/cdefs.h: Define __attribute_alloc_size.
8887 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8888 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8889 * elf/pldd.c: Likewise.
8890 * iconv/iconv_charmap.c: Likewise.
8891 * iconv/iconvconfig.c: Likewise.
8892 * iconv/strtab.c: Likewise.
8893 * locale/programs/locale.c: Likewise.
8894 * locale/programs/localedef.h: Likewise.
8895 * locale/programs/simple-hash.c: Likewise.
8896 * nscd/nscd.h: Likewise.
8897 * nss/makedb.c: Likewise.
8898 * sysdeps/generic/ldconfig.h: Likewise.
8899 * locale/programs/localedef.c: Remove xmalloc prototype.
8900 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8901
20b38e03
PP
89022012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8903
8904 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8905 appropriate.
8906
a0da5fe1
UD
89072012-01-08 Ulrich Drepper <drepper@gmail.com>
8908
1d5a644a 8909 * math/Makefile (tests): Add tst-CMPLX.
669704fd 8910 * math/tst-CMPLX.c: New file.
1d5a644a 8911
8784a6db
UD
8912 * math/complex.h (CMPLXL): Fix typo.
8913
d9a216c0
UD
8914 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8915 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8916 GLIBC_2.16.
8917 * debug/tst-chk1.c: Add poll and ppoll tests.
8918 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8919 * include/sys/poll.h: Add hidden proto for ppoll.
8920 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8921 * sysdeps/mach/hurd/ppoll.c: Likewise.
8922 * io/ppoll.c: Likewise.
8923 * debug/poll_chk.c: New file.
8924 * debug/ppoll_chk.c: New file.
8925 * include/bits/poll2.h: New file.
8926 * io/bits/poll2.h: New file.
8927
ac097f5c
UD
8928 [BZ #1350]
8929 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8930
2119dcfa
UD
8931 * configure.in: static is always set to yes. Remove.
8932 * config.make.in: Don't set build-static.
8933 * Makeconfig: Remove use of build-static.
8934 * dlfcn/Makefile: Likewise.
8935 * elf/Makefile: Likewise.
8936 * math/Makefile: Likewise.
8937 * misc/Makefile: Likewise.
8938 * nptl/Makefile: Likewise.
8939 * sysdeps/mach/hurd/Makefile: Likewise.
8940
121766a9
UD
8941 * configure.in: PWD_P is not used anymore.
8942 * config.make.in: Remove PWD_P entry.
8943
51a1d39c 8944 * configure.in: Remove last remnants of RANLIB.
8720d066 8945 No need to check for signed size_t anymore.
215f4bdc
UD
8946 Don't set libc_commonpagesize and libc_relro_required here for Alpha
8947 and IA-64.
3857022a 8948 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
8949 * aclocal.m4: Likewise.
8950
d3ed7225
UD
8951 * wcsmbs/mbrtoc16.c: Implement using towc function.
8952 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8953 * wcsmbs/wcsmbsload.c: Likewise.
8954 * iconv/gconv_simple.c: Likewise.
8955 * iconv/gconv_int.h: Likewise.
8956 * iconv/gconv_builtin.h: Likewise.
8957 * iconv/iconv_prog.c: Remove CHAR16 handling.
8958
8959 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8960
8961 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8962
a0da5fe1
UD
8963 * configure.in: Remove --with-elf and --enable-bounded options.
8964 Dont set base_machine for ia64. More non-ELF conditions removed.
8965 Remove testing and setting of leading underscore information.
8966 * config.make.in (build-bounded): Set to no.
8967 * config.h.in: Remove NO_UNDERSCORES entry.
8968 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8969 them.
8970 * csu/start.c: Remove !NO_UNDERSCORE code.
8971 * locale/localeinfo.h: Likewise.
8972 * sysdeps/generic/machine-gmon.h: Likewise.
8973 * sysdeps/generic/sysdep.h: Likewise.
8974 * sysdeps/i386/sysdep.h: Likewise.
8975 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8976 * sysdeps/mach/sysdep.h: Likewise.
8977 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8978 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8979 * sysdeps/sh/sysdep.h: Likewise.
8980 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8981 * sysdeps/unix/i386/sysdep.S: Likewise.
8982 * sysdeps/unix/sparc/start.c: Likewise.
8983 * sysdeps/unix/sparc/sysdep.S: Likewise.
8984 * sysdeps/unix/sparc/sysdep.h: Likewise.
8985 * sysdeps/unix/start.c: Likewise.
8986 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8987 * sysdeps/x86_64/sysdep.h: Likewise.
8988
df78418a
UD
89892012-01-07 Ulrich Drepper <drepper@gmail.com>
8990
a784e502
UD
8991 [BZ #13553]
8992 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
8993 for non-gcc.
8994 * argp/argp-fmtstream.h: Use const instead __const.
8995 * argp/argp.h: Likewise.
8996 * assert/assert.h: Likewise.
8997 * bits/fenv.h: Likewise.
8998 * bits/sched.h: Likewise.
8999 * bits/sigset.h: Likewise.
9000 * bits/sigthread.h: Likewise.
9001 * catgets/nl_types.h: Likewise.
9002 * conform/data/pthread.h-data: Likewise.
9003 * crypt/crypt-private.h: Likewise.
9004 * crypt/crypt.h: Likewise.
9005 * crypt/crypt_util.c: Likewise.
9006 * ctype/ctype.h: Likewise.
9007 * debug/execinfo.h: Likewise.
9008 * debug/mbsnrtowcs_chk.c: Likewise.
9009 * debug/mbsrtowcs_chk.c: Likewise.
9010 * debug/wcsnrtombs_chk.c: Likewise.
9011 * debug/wcsrtombs_chk.c: Likewise.
9012 * debug/wcstombs_chk.c: Likewise.
9013 * dirent/dirent.h: Likewise.
9014 * dlfcn/dlfcn.h: Likewise.
9015 * elf/neededtest4.c: Likewise.
9016 * grp/grp.h: Likewise.
9017 * gshadow/gshadow.h: Likewise.
9018 * iconv/gconv.h: Likewise.
9019 * iconv/gconv_int.h: Likewise.
9020 * iconv/gconv_simple.c: Likewise.
9021 * iconv/iconv.h: Likewise.
9022 * iconv/loop.c: Likewise.
9023 * iconv/skeleton.c: Likewise.
9024 * include/aio.h: Likewise.
9025 * include/aliases.h: Likewise.
9026 * include/argz.h: Likewise.
9027 * include/arpa/inet.h: Likewise.
9028 * include/assert.h: Likewise.
9029 * include/dirent.h: Likewise.
9030 * include/dlfcn.h: Likewise.
9031 * include/execinfo.h: Likewise.
9032 * include/fcntl.h: Likewise.
9033 * include/fenv.h: Likewise.
9034 * include/glob.h: Likewise.
9035 * include/grp.h: Likewise.
9036 * include/libintl.h: Likewise.
9037 * include/mntent.h: Likewise.
9038 * include/netdb.h: Likewise.
9039 * include/pwd.h: Likewise.
9040 * include/rpc/netdb.h: Likewise.
9041 * include/sched.h: Likewise.
9042 * include/search.h: Likewise.
9043 * include/shadow.h: Likewise.
9044 * include/signal.h: Likewise.
9045 * include/stdio.h: Likewise.
9046 * include/stdlib.h: Likewise.
9047 * include/string.h: Likewise.
9048 * include/sys/socket.h: Likewise.
9049 * include/sys/stat.h: Likewise.
9050 * include/sys/statfs.h: Likewise.
9051 * include/sys/statvfs.h: Likewise.
9052 * include/sys/syslog.h: Likewise.
9053 * include/sys/time.h: Likewise.
9054 * include/sys/uio.h: Likewise.
9055 * include/time.h: Likewise.
9056 * include/unistd.h: Likewise.
9057 * include/utmp.h: Likewise.
9058 * include/wchar.h: Likewise.
9059 * include/wctype.h: Likewise.
9060 * inet/aliases.h: Likewise.
9061 * inet/arpa/inet.h: Likewise.
9062 * inet/netinet/ether.h: Likewise.
9063 * inet/netinet/in.h: Likewise.
9064 * intl/libintl.h: Likewise.
9065 * io/bits/fcntl2.h: Likewise.
9066 * io/fcntl.h: Likewise.
9067 * io/ftw.h: Likewise.
9068 * io/sys/poll.h: Likewise.
9069 * io/sys/stat.h: Likewise.
9070 * io/sys/statfs.h: Likewise.
9071 * io/sys/statvfs.h: Likewise.
9072 * io/utime.h: Likewise.
9073 * libio/bits/stdio.h: Likewise.
9074 * libio/bits/stdio2.h: Likewise.
9075 * libio/libio.h: Likewise.
9076 * libio/libioP.h: Likewise.
9077 * libio/stdio.h: Likewise.
9078 * locale/lc-ctype.c: Likewise.
9079 * locale/locale.h: Likewise.
9080 * login/utmp.h: Likewise.
9081 * malloc/arena.c: Likewise.
9082 * malloc/malloc.c: Likewise.
9083 * malloc/malloc.h: Likewise.
9084 * malloc/mcheck.c: Likewise.
9085 * malloc/mtrace.c: Likewise.
9086 * math/bits/mathcalls.h: Likewise.
9087 * math/fenv.h: Likewise.
9088 * math/math_private.h: Likewise.
9089 * misc/bits/error.h: Likewise.
9090 * misc/bits/syslog.h: Likewise.
9091 * misc/err.h: Likewise.
9092 * misc/error.h: Likewise.
9093 * misc/fstab.h: Likewise.
9094 * misc/mntent.h: Likewise.
9095 * misc/regexp.h: Likewise.
9096 * misc/search.h: Likewise.
9097 * misc/sgtty.h: Likewise.
9098 * misc/sys/mman.h: Likewise.
9099 * misc/sys/syslog.h: Likewise.
9100 * misc/sys/uio.h: Likewise.
9101 * misc/sys/xattr.h: Likewise.
9102 * misc/ttyent.h: Likewise.
9103 * nis/rpcsvc/ypclnt.h: Likewise.
9104 * nss/nss.h: Likewise.
9105 * posix/bits/unistd.h: Likewise.
9106 * posix/fnmatch.h: Likewise.
9107 * posix/glob.h: Likewise.
9108 * posix/sched.h: Likewise.
9109 * posix/spawn.h: Likewise.
9110 * posix/sys/wait.h: Likewise.
9111 * posix/unistd.h: Likewise.
9112 * posix/wordexp.h: Likewise.
9113 * pwd/pwd.h: Likewise.
9114 * resolv/netdb.h: Likewise.
9115 * resource/sys/resource.h: Likewise.
9116 * rt/aio.h: Likewise.
9117 * rt/bits/mqueue2.h: Likewise.
9118 * rt/mqueue.h: Likewise.
9119 * shadow/shadow.h: Likewise.
9120 * signal/signal.h: Likewise.
9121 * socket/send.c: Likewise.
9122 * socket/sendto.c: Likewise.
9123 * socket/sys/socket.h: Likewise.
9124 * stdio-common/printf.h: Likewise.
9125 * stdlib/bits/stdlib.h: Likewise.
9126 * stdlib/fmtmsg.h: Likewise.
9127 * stdlib/monetary.h: Likewise.
9128 * stdlib/stdlib.h: Likewise.
9129 * stdlib/ucontext.h: Likewise.
9130 * streams/stropts.h: Likewise.
9131 * string/argz.h: Likewise.
9132 * string/bits/string2.h: Likewise.
9133 * string/string.h: Likewise.
9134 * string/strings.h: Likewise.
9135 * sunrpc/rpc/auth.h: Likewise.
9136 * sunrpc/rpc/auth_des.h: Likewise.
9137 * sunrpc/rpc/clnt.h: Likewise.
9138 * sunrpc/rpc/netdb.h: Likewise.
9139 * sunrpc/rpc/pmap_clnt.h: Likewise.
9140 * sunrpc/rpc/xdr.h: Likewise.
9141 * sysdeps/generic/inttypes.h: Likewise.
9142 * sysdeps/generic/net/if.h: Likewise.
9143 * sysdeps/generic/sys/swap.h: Likewise.
9144 * sysdeps/gnu/net/if.h: Likewise.
9145 * sysdeps/gnu/utmpx.h: Likewise.
9146 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9147 * sysdeps/i386/i486/bits/string.h: Likewise.
9148 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9149 * sysdeps/s390/bits/string.h: Likewise.
9150 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9151 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9152 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9153 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9154 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9155 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9156 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9157 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9158 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9159 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9160 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9161 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9162 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9163 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9164 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9165 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9166 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9167 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9168 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9169 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9170 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9171 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9172 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9173 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9174 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9175 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9176 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9177 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9178 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9179 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9180 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9181 * sysvipc/sys/ipc.h: Likewise.
9182 * sysvipc/sys/msg.h: Likewise.
9183 * sysvipc/sys/sem.h: Likewise.
9184 * sysvipc/sys/shm.h: Likewise.
9185 * termios/termios.h: Likewise.
9186 * time/sys/time.h: Likewise.
9187 * time/time.h: Likewise.
9188 * wcsmbs/bits/wchar2.h: Likewise.
9189 * wcsmbs/uchar.h: Likewise.
9190 * wcsmbs/wchar.h: Likewise.
9191 * wctype/wctype.h: Likewise.
9192
0269750c
UD
9193 [BZ #13551]
9194 * Makeconfig: Remove all but ELF support including AIX support.
9195 * Makerules: Likewise.
9196 * config.h.in: Likewise.
9197 * config.make.in: Likewise.
9198 * configure: Likewise.
9199 * configure.in: Likewise.
9200 * csu/Makefile: Likewise.
9201 * csu/version.c: Likewise.
9202 * debug/Makefile: Likewise.
9203 * dlfcn/Makefile: Likewise.
9204 * elf/Makefile: Likewise.
9205 * extra-lib.mk: Likewise.
9206 * iconv/Makefile: Likewise.
9207 * include/libc-symbols.h: Likewise.
9208 * include/shlib-compat.h: Likewise.
9209 * resolv/Makefile: Likewise.
9210 * resolv/res_libc.c: Likewise.
9211 * rt/Makefile: Likewise.
9212 * sysdeps/i386/asm-syntax.h: Likewise.
9213 * sysdeps/i386/sysdep.h: Likewise.
9214 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9215 * sysdeps/mach/sysdep.h: Likewise.
9216 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9217 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9218 * sysdeps/s390/asm-syntax.h: Likewise.
9219 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9220 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9221 * sysdeps/sh/sysdep.h: Likewise.
9222 * sysdeps/unix/sparc/sysdep.h: Likewise.
9223 * sysdeps/wordsize-32/divdi3.c: Likewise.
9224 * sysdeps/x86_64/sysdep.h: Likewise.
9225
00bbd29b
UD
9226 * argp/Versions: Remove _argp_unlock_xxx.
9227
9228 [BZ #13559]
9229 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9230 * abilist/libBrokenLocale.abilist: Likewise.
9231 * abilist/libanl.abilist: Likewise.
9232 * abilist/libc.abilist: Likewise.
9233 * abilist/libcrypt.abilist: Likewise.
9234 * abilist/libdl.abilist: Likewise.
9235 * abilist/libm.abilist: Likewise.
9236 * abilist/libnsl.abilist: Likewise.
9237 * abilist/libpthread.abilist: Likewise.
9238 * abilist/libresolv.abilist: Likewise.
9239 * abilist/librt.abilist: Likewise.
9240 * abilist/libthread_db.abilist: Likewise.
9241 * abilist/libutil.abilist: Likewise.
9242 * abilist/libnss_db.abilist: New file.
9243
9244 * scripts/abilist.awk: Add support for indirect functions.
9245
a2693a0e
UD
9246 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9247
3f05895f
UD
9248 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9249
ecb6fb48
UD
9250 * shlib-versions: Remove entries for ports architectures.
9251
664f8cb9
UD
9252 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9253 files in ports.
9254 * elf/stackguard-macros.h: Remove support for IA-64.
9255 * elf/tst-auditmod1.c: Likewise.
9256 * sysdeps/generic/ldsodefs.h: Likewise.
9257
7ae81d88
UD
9258 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9259 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9260 configure files.
9261
bdeba135
UD
9262 [BZ #13552]
9263 * configure.in: Remove --enable-omitfp support.
9264 * FAQ.in: Adjust.
9265 * config.make.in: Likewise.
9266 * Makeconfig: Likewise.
9267 * manual/install.texi: Likewise.
9268
d75a0a62
UD
9269 In case anyone cares, the IA-64 architecture could move to ports.
9270 * sysdeps/ia64/*: Removed.
9271 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9272 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9273
dcc9756b
UD
9274 [BZ #13555]
9275 * configure.in: Remove entries for unsupported architectures.
9276
d3761ebc 9277 [BZ #13533]
9954432e
UD
9278 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9279 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9280 routines.
9281 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9282 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9283 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9284 fall back to using wcrtomb.
9285 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9286 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9287 renaming.
9288 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9289 * wcsmbs/tst-c16c32-1.c: New file.
9290
9291 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9292 local variable.
9293
c3a87236
UD
9294 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9295
28926a1b
UD
9296 * elf/tst-unique3.cc: Add explicit declaration of gets.
9297 * elf/tst-unique3lib.cc: Likewise.
9298 * elf/tst-unique3lib2.cc: Likewise.
9299 * elf/tst-unique4.cc: Likewise.
9300
df78418a
UD
9301 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9302
8ecd6b2a
JM
93032012-01-06 Joseph Myers <joseph@codesourcery.com>
9304
9305 [BZ #13566]
9306 * assert/assert.h (static_assert): Don't define for C++.
9307 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9308 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9309
9f115170
UD
93102012-01-03 Ulrich Drepper <drepper@gmail.com>
9311
5e0d0300
UD
9312 * iconv/loop.c (single loop): Fix assertion in storing of
9313 remaining bytes.
9314
9f115170
UD
9315 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9316
81fb02b0
UD
93172012-01-01 Ulrich Drepper <drepper@gmail.com>
9318
9319 * posix/getconf.c: Update copyright year.
9320 * nss/getent.c: Likewise.
a316c1f6 9321 * nss/makedb.c: Likewise.
81fb02b0
UD
9322 * iconv/iconvconfig.c: Likewise.
9323 * iconv/iconv_prog.c: Likewise.
9324 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9325 * elf/pldd.c: Likewise.
9326 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9327 * catgets/gencat.c: Likewise.
9328 * csu/version.c: Likewise.
9329 * elf/ldd.bash.in: Likewise.
9330 * elf/sprof.c (print_version): Likewise.
9331 * locale/programs/locale.c: Likewise.
9332 * locale/programs/localedef.c: Likewise.
a316c1f6 9333 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9334 * nscd/nscd.c (print_version): Likewise.
9335 * debug/xtrace.sh: Likewise.
9336 * malloc/memusage.sh: Likewise.
9337 * malloc/mtrace.pl: Likewise.
9338 * debug/catchsegv.sh: Likewise.
9339
2ba92745
JJ
93402011-12-30 Jakub Jelinek <jakub@redhat.com>
9341
9342 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9343 pure attribute.
9344
dadebdae
UD
93452011-12-24 Ulrich Drepper <drepper@gmail.com>
9346
d3761ebc 9347 [BZ #13533]
db6af3eb
UD
9348 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9349 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9350 transformations.
9351 * iconv/gconv_int.h: Likewise.
9352 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9353 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9354 from libc for GLIBC_2.16.
9355 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9356 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9357 * wcsmbs/uchar.h: Really define mbstate_t.
9358 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9359 * wcsmbs/c16rtomb.c: New file.
9360 * wcsmbs/mbrtoc16.c: New file.
9361 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9362 for C/POSIX locale.
9363 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9364 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9365
dadebdae
UD
9366 * wcsmbs/wchar.h: Add missing __restrict.
9367
67371b56
UD
93682011-12-23 Ulrich Drepper <drepper@gmail.com>
9369
74033a25
UD
9370 [BZ #13532]
9371 * time/Makefile (routines): Add timespec_get.
9372 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9373 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9374 timespec for ISO C11.
9375 * time/timespec_get.c: New file.
9376 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9377 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9378
380d7e87
UD
9379 [BZ #13531]
9380 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9381 * stdlib/stdlib.h: Declare aligned_alloc.
9382 * Versions.def: Add GLIBC_2.16 for libc.
9383 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9384
4e9e7a35
UD
9385 [BZ 13527]
9386 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9387 ISO C11.
9388
380d7e87 9389 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9390 code.
9391
03a71829
UD
9392 [BZ #13528]
9393 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9394
839e283e
UD
9395 [BZ #13529]
9396 * assert/assert.h (static_assert): Define.
9397
ce5294e2 9398 * version.h: Update for 2.16 development version.
90fa7312 9399
8d44e150 9400 [BZ #13526]
d7809905
UD
9401 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9402 _ISOC11_SOURCE.
9403
c0da14cd
UD
9404 * version.h (RELEASE): Bump for 2.15 release.
9405 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9406
530a3249
MP
9407 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9408 Patch by Marek Polacek <mpolacek@redhat.com>.
9409
67371b56
UD
9410 * bits/byteswap.h: Protect long long constants with __extension__.
9411 * sysdeps/i386/bits/byteswap.h: Likewise.
9412 * sysdeps/ia64/bits/byteswap.h: Likewise.
9413 * sysdeps/s390/bits/byteswap.h: Likewise.
9414 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9415
15db4de1
LD
94162011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9417
9418 [BZ #13540]
bbe315ea
LD
9419 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9420 destination buffer.
15db4de1
LD
9421 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9422
2b2596b1
MP
94232011-12-23 Marek Polacek <polacek@redhat.com>
9424
9425 * elf/dl-addr.c (determine_info): Add inline keyword.
9426 * elf/tst-auditmod4b.c (check_avx): Likewise.
9427 * elf/tst-auditmod6b.c (check_avx): Likewise.
9428 * elf/tst-auditmod6c.c (check_avx): Likewise.
9429 * elf/tst-auditmod7b.c (check_avx): Likewise.
9430
70c6c246
UD
94312011-12-23 Ulrich Drepper <drepper@gmail.com>
9432
9433 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9434 !__SSE_MATH__.
9435
c044cf14
LD
94362011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9437
15db4de1 9438 [BZ #13540]
c044cf14
LD
9439 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9440 processing for last bytes.
9441
6b13d9d9
BH
94422011-08-06 Bruno Haible <bruno@clisp.org>
9443
d455f537
BH
9444 [BZ #13061]
9445 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9446 U+0385, not to U+1FEE.
9447
6b13d9d9
BH
9448 [BZ #13062]
9449 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9450 entry for U+00A5 U+0301.
9451
db910efd
UD
94522011-12-22 Ulrich Drepper <drepper@gmail.com>
9453
27deeafc
UD
9454 [BZ #13166]
9455 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9456 buffer for the output is too small.
9457
aed9d171
UD
9458 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9459 optimization.
9460
db910efd
UD
9461 [BZ #13185]
9462 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9463 SSE flags if possible.
9464
2bd779ae
LD
94652011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9466
e7f9dac3 9467 [BZ #13540]
2bd779ae
LD
9468 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9469 processing for last bytes.
9470
154bfc16
JM
94712011-12-22 Joseph Myers <joseph@codesourcery.com>
9472
9473 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9474 (syscall-list-default-options, syscall-list-default-condition)
9475 (syscall-list-includes): Define.
9476 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9477 list of ABIs and options and #if conditions for each ABI. Do not
9478 handle common syscalls between ABIs specially.
9479 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9480 Remove.
9481 (syscall-list-variants, syscall-list-32bit-options)
9482 (syscall-list-32bit-condition, syscall-list-64bit-options)
9483 (syscall-list-64bit-condition): Define.
9484 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9485 (syscall-list-variants, syscall-list-32bit-options)
9486 (syscall-list-32bit-condition, syscall-list-64bit-options)
9487 (syscall-list-64bit-condition): Define.
9488 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9489 Remove.
9490 (syscall-list-variants, syscall-list-32bit-options)
9491 (syscall-list-32bit-condition, syscall-list-64bit-options)
9492 (syscall-list-64bit-condition): Define.
9493 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9494 Remove.
9495 (syscall-list-variants, syscall-list-32bit-options)
9496 (syscall-list-32bit-condition, syscall-list-64bit-options)
9497 (syscall-list-64bit-condition): Define.
9498
21eaf3a5
UD
94992011-12-22 Ulrich Drepper <drepper@gmail.com>
9500
16c6f992
UD
9501 * locale/iso-639.def: Add brx entry.
9502
41043168
UD
9503 [BZ #13328]
9504 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9505 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9506
21eaf3a5
UD
9507 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9508 __feraiseexcept_renamed.
9509
e3a851a2
UD
95102011-12-21 Ulrich Drepper <drepper@gmail.com>
9511
4920765e
UD
9512 [BZ #13538]
9513 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9514 EPOLLET with unsigned values.
9515 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9516 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9517
e3a851a2
UD
9518 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9519 to large cancellation.
9520 * math/s_cacoshf.c: Likewise.
9521 * math/s_cacoshl.c: Likewise.
9522
b27e24b8
RK
95232011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9524
9525 [BZ #13305]
aebefeee 9526 [BZ #12786]
b27e24b8
RK
9527 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9528 * math/s_cacoshf.c: Likewise.
9529 * math/s_cacoshl.c: Likewise.
9530
ee190f67
UD
95312011-12-21 Ulrich Drepper <drepper@gmail.com>
9532
9533 [BZ #13439]
9534 * iconv/gconv.h: Define __GCONV_SWAP.
9535 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9536 * iconvdata/utf-16.c: Likewise.
9537 * iconvdata/utf-32.c: Likewise.
9538
707f25df
AS
95392011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9540
9541 [BZ #13524]
9542 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9543 numerator after shifting it by one limb.
9544
d2daaa1e
RÁE
95452011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9546
9547 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9548 under [__USE_EXTERN_INLINES].
9549
a4647e72
UD
95502011-12-17 Ulrich Drepper <drepper@gmail.com>
9551
9552 [BZ #13446]
9553 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9554
f0b264f1
AZ
95552011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9556
9557 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9558 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9559 optimized code.
9560 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9561 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9562 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9563 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9564 for strncasecmp/strncasecmp_l compilation.
9565 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9566 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9567
8ef4f244
MP
95682011-12-08 Marek Polacek <mpolacek@redhat.com>
9569
9570 [BZ #13484]
9571 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9572 of __asm__.
9573
97ac2654
UD
95742011-12-17 Ulrich Drepper <drepper@gmail.com>
9575
9576 [BZ #13506]
9577 * time/tzfile.c (__tzfile_read): Check values from file header.
9578
91d2a845
WS
95792011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9580
9581 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9582 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9583 * powerpc/powerpc32/dl-start.S: Likewise.
9584 * powerpc/powerpc32/elf/start.S: Likewise.
9585 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9586 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9587 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9588 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9589 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9590 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9591 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9592 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9593 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9594 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9595 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9596 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9597 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9598 * powerpc/powerpc32/memset.S: Likewise.
9599 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9600 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9601 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9602 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9603 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9604 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9605 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9606 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9607 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9608 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9609 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9610 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9611 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9612
a1267ba1
AZ
96132011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9614
9615 * math/libm-test.inc: Added more nearbyint tests.
9616 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9617 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9618 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9619 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9620
ad8ac1bd
RL
96212011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9622
9623 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9624 FD_CLOEXEC.
9625
1d3e4b61
UD
96262011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9627
9628 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9629 Add wcscpy-ssse3 wcscpy-c.
9630 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9631 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9632 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9633 * sysdeps/x86_64/wcschr.S: New file.
9634 * sysdeps/x86_64/wcsrchr.S: New file.
9635 * string/test-strcmp.c: Remove checking of wcscmp function for
9636 wrong alignments.
9637 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9638 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9639 wcsrchr-sse2 wcsrchr-c.
9640 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9641 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9642 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9643 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9644 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9645 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9646 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9647 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9648 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9649 * wcsmbc/wcschr.c (WCSCHR): New macro.
9650
5b330a2d
UD
96512011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9652
9653 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9654 * wcsmbs/test-wcsrchr.c: New file.
9655 * string/test-strrchr.c: Add wcsrchr support.
9656 (WIDE): New macro.
9657 * wcsmbs/test-wcscpy.c: New file.
9658 * string/test-strcpy.c: Add wcscpy support.
9659 (WIDE): New macro.
26428b7c 9660
f039c043
UD
96612011-12-10 Ulrich Drepper <drepper@gmail.com>
9662
9663 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9664 the inner loop.
9665
850fb039
AS
96662011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9667
9668 [BZ #13472]
9669 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9670
4efbd5cb
UD
96712011-12-04 Ulrich Drepper <drepper@gmail.com>
9672
52ff5dd0 9673 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 9674 Minor optimizations.
52ff5dd0 9675
4efbd5cb
UD
9676 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9677 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9678 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9679
8a426e12
UD
96802011-12-03 Ulrich Drepper <drepper@gmail.com>
9681
aff2453d
UD
9682 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9683 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9684 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9685 for gcc to avoid warnings.
9686 * inet/Makefile (tests): Add tst-checks.
9687 * inet/tst-checks.c: New file.
9688
9689 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9690 warning.
9691
9692 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9693 __wmemcmp_sse2.
9694
9695 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9696 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9697
8a426e12
UD
9698 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9699
9bea3473
UD
97002011-12-02 Ulrich Drepper <drepper@gmail.com>
9701
3a965496
UD
9702 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9703 problem.
9704
9bea3473
UD
9705 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9706
f101631b
UD
97072011-11-29 Joseph Myers <joseph@codesourcery.com>
9708
9709 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9710 conditional on GCC version.
9711 (__arch_compare_and_exchange_val_8_acq)
9712 (__arch_compare_and_exchange_val_16_acq)
9713 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9714 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9715 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9716
a98275aa
UD
97172011-12-02 Joseph Myers <joseph@codesourcery.com>
9718
9719 * sysdeps/sh/backtrace.c: New file.
9720
d4cc29a2
AS
97212011-12-02 Andreas Schwab <schwab@redhat.com>
9722
9723 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9724 parenthesis.
9725
6257af2d
AS
97262011-12-01 Andreas Schwab <schwab@redhat.com>
9727
9728 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9729 falling back to utime.
9730
b5f44c1a
AS
97312011-11-30 Andreas Schwab <schwab@redhat.com>
9732
9733 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9734 expectations for float.
9735
f3a6cc0a
AS
97362011-11-29 Andreas Schwab <schwab@redhat.com>
9737
9738 * locale/weight.h (findidx): Add parameter len.
9739 * locale/weightwc.h (findidx): Likewise.
9740 * posix/fnmatch_loop.c (FCT): Adjust caller.
9741 * posix/regcomp.c (build_equiv_class): Likewise.
9742 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9743 * posix/regexec.c (check_node_accept_bytes): Likewise.
9744 * string/strcoll_l.c (STRCOLL): Likewise.
9745 * string/strxfrm_l.c (STRXFRM): Likewise.
9746
9d65ea3a
UD
97472011-11-17 Ulrich Drepper <drepper@gmail.com>
9748
9749 * Makefile.in: Remove CVSOPT handling.
9750 * configure.in: Remove use of AC_REVISION.
9751 * iconvdata/Makefile (distribute): No need to filter out CVS.
9752 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9753 handling.
9754
5583a086
AS
97552011-11-16 Andreas Schwab <schwab@redhat.com>
9756
9757 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9758 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9759 [USE_AS_STRNCASECMP_L]: Likewise.
9760 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9761 NO_TLS_DIRECT_SEG_REFS.
9762 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9763 Fix argument offsets for non-PIC.
9764 [USE_AS_STRNCASECMP_L]: Likewise.
9765 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9766 NO_TLS_DIRECT_SEG_REFS.
9767
d62a8200
UD
97682011-11-15 Ulrich Drepper <drepper@gmail.com>
9769
9d65ea3a 9770 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
9771 O_CLOEXEC.
9772 * locale/loadlocale.c (_nl_load_locale): Likewise.
9773
09f93bd3
AS
97742011-11-15 Andreas Schwab <schwab@redhat.com>
9775
446514f9
AS
9776 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9777 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9778 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9779 (SYSCALL_GETTIME): Set errno on error.
9780
09f93bd3
AS
9781 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9782 count references to noai6ai_cached.
9783
312be3f9
UD
97842011-11-15 Ulrich Drepper <drepper@gmail.com>
9785
9786 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9787
9788 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9789 FD_CLOEXEC for /proc/self/maps.
9790
9791 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9792 FD_CLOEXEC for /proc/meminfo.
9793
9794 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9795 gai.conf.
9796
9797 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9798 FD_CLOEXEC for given file.
9799
9800 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9801
9802 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9803 FD_CLOEXEC for /etc/hosts.
9804 (_gethtent): Likewise.
9805
9806 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9807
9808 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9809 cancellation and set FD_CLOEXEC for /etc/netgroup.
9810
9811 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9812 reading /etc/publickey.
9813
9814 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9815 allow cancellation when reading /etc/group.
9816
9817 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9818 cancellation.
9819 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9820
9821 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9822 when using data file.
9823
9824 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9825
9826 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9827 (write_nis_obj): Use "c" and "e" in fopen.
9828
9829 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9830
9831 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9832
9833 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9834
9835 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9836
9837 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9838 locale.alias.
9839
9840 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9841
9842 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9843
9844 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9845
9846 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9847 file parsing and set FD_CLOEXEC.
9848
82af0fa8
UD
98492011-11-14 Ulrich Drepper <drepper@gmail.com>
9850
9851 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9852
a5fb313c
AS
98532011-11-14 Andreas Schwab <schwab@redhat.com>
9854
9855 * malloc/arena.c (arena_get2): Don't call reused_arena when
9856 _int_new_arena failed.
9857
6abf3465
UD
98582011-11-14 Ulrich Drepper <drepper@gmail.com>
9859
9860 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9861 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9862 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9863 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9864 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9865 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9866 to compile strcasecmp and strncasecmp.
9867 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9868 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9869
9870 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9871
76e3966e
UD
98722011-11-13 Ulrich Drepper <drepper@gmail.com>
9873
9874 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9875 locale-defines.sym to gen-as-const-headers.
9876 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9877 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9878 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9879 to compile strcasecmp and strncasecmp.
9880 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9881 strcasecmp_l and strncasecmp_l.
9882 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9883 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9884 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9885 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9886 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9887 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9888 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9889 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9890 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9891 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9892 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9893
ab26144e
UD
98942011-11-12 Ulrich Drepper <drepper@gmail.com>
9895
7edb22ef
UD
9896 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9897 result of SYSDEP_GETTIME_CPU to retval.
9898 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9899 parameter list to macro. Remove trailing semicolon. Adjust users.
9900
9694fc44
UD
9901 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9902 variable.
9903
8ad89ef8
UD
9904 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9905 mantissa words.
9906 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9907
0c822ef9
UD
9908 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9909 from unused variable.
9910
874e0564
UD
9911 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9912 DWARF definitions.
9913 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9914 for assembling.
9915
3a2edc79
UD
9916 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9917 over namespaces.
9918
f3c2577f
UD
9919 * sunrpc/rpc_prot.c (rejected): Fix case value.
9920
294ce126
UD
9921 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9922 unsigned long long int to avoid warnings in shift.
9923
5e2b63c6
UD
9924 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9925 of use of trans.
9926 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9927 variable tmp.
9928
e7f4b08e
UD
9929 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9930 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9931 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9932
ab26144e
UD
9933 * nis/nis_table.c (nis_list): Use variable of correct type for
9934 result of __follow_path call.
9935
8a6d5255
AZ
99362011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9937
9938 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
9939 of math functions ceil, trunc, floor, round, and sqrt, when
9940 avaliable on the platform.
9941 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9942 name clash.
9943 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9944 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9945 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9946
aaddc98c
MP
99472011-10-30 Marek Polacek <mpolacek@redhat.com>
9948
9949 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9950 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9951
95b7042b
RM
99522011-11-11 Roland McGrath <roland@hack.frob.com>
9953
9954 * include/unistd.h: Fix __readlink return type.
9955 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9956
57769839
UD
99572011-11-11 Ulrich Drepper <drepper@gmail.com>
9958
9959 * stdlib/ucontext.h: Undo last change for makecontext.
9960
edc5984d
AS
99612011-11-11 Andreas Schwab <schwab@redhat.com>
9962
98591e58
AS
9963 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9964
edc5984d
AS
9965 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9966 * setjmp/setjmp.h: Mark functions as non-leaf.
9967 * setjmp/bits/setjmp2.h: Likewise.
9968 * stdlib/ucontext.h: Likewise.
9969
77cdc054
AS
99702011-11-10 Andreas Schwab <schwab@redhat.com>
9971
9972 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9973 (reused_arena): Don't check arena limit.
9974 (arena_get2): Atomically check arena limit.
9975
fe72eebd
UD
99762011-11-08 Ulrich Drepper <drepper@gmail.com>
9977
5f078c32
UD
9978 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9979 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9980
fe72eebd
UD
9981 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9982 instructions.
9983
ae1bc2fa
AS
99842011-11-07 Andreas Schwab <schwab@redhat.com>
9985
7583a88d
AS
9986 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9987 handler when locking.
9988
ae1bc2fa
AS
9989 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9990 Fix size of allocated buffer.
9991
10fb0bfa
AS
99922011-11-04 Andreas Schwab <schwab@redhat.com>
9993
998832a4
AS
9994 [BZ #10103]
9995 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
9996 declarations for long double functions.
9997 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
9998
10fb0bfa
AS
9999 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10000
3d7ba52b
AS
100012011-11-03 Andreas Schwab <schwab@redhat.com>
10002
a9ae54a1
AS
10003 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10004 installed.
10005
3d7ba52b
AS
10006 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10007 is disabled.
10008
bc8db248
ST
100092011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10010
10011 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10012
45b96dd6
AS
100132011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10014
647776f6
AS
10015 * include/alloca.h (stackinfo_alloca_round): Define.
10016 (extend_alloca): Use it.
10017 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10018 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10019 here.
10020
d91a8b93
AS
10021 * scripts/check-local-headers.sh: Ignore libaudit.h.
10022
45b96dd6
AS
10023 * nscd/Makefile (extra-objs): Make recursively expanded.
10024
432d41ce
UD
100252011-11-01 Ulrich Drepper <drepper@gmail.com>
10026
34372fc6
UD
10027 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10028 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10029
fadb59f8
UD
10030 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10031 * posix/tst-rfc3484-2.c: Likewise.
10032 * posix/tst-rfc3484-3.c: Likewise.
10033
78239589
UD
10034 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10035 process_vm_writev.
10036 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10037 process_vm_writev.
10038 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10039 process_vm_writev from libc using GLIBC_2.15 version.
10040
432d41ce
UD
10041 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10042
02f9c6cf
PP
100432011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10044
10045 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10046 stack usage.
10047
3a2c0242
UD
100482011-10-31 Ulrich Drepper <drepper@gmail.com>
10049
f4ec4833
UD
10050 [BZ #13367]
10051 * nss/getent.c (initgroups_keys): Show error message in case no group
10052 names are given.
10053
3a2c0242
UD
10054 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10055 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10056 __bump_nl_timestamp.
10057 * nscd/connections (nscd_init): When host database is served open
10058 netlink socket and request notification about configuration changes.
10059 (main_loop_poll): Track netlink file descriptor and bump timestamp
10060 in case data becomes available.
10061 (main_loop_epoll): Likewise.
10062 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10063 (database_pers_head): Add extra_data fileds.
10064 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10065 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10066 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10067 Adjust caller.
10068 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10069 in6ai data, call __free_in6ai.
10070 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10071 Add -DHAVE_NETLINK.
10072 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10073 interface information. Reuse previous data if netlink timestamp
10074 is not changed.
10075 (__bump_nl_timestamp): New function.
10076 (__free_in6ai): New function.
10077
636064eb
UD
100782011-10-30 Ulrich Drepper <drepper@gmail.com>
10079
10080 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10081 close_not_cancel_no_status here.
10082 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10083
9beb2334
UD
100842011-10-29 Ulrich Drepper <drepper@gmail.com>
10085
6ef76f3b
UD
10086 [BZ #13276]
10087 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10088 return value.
10089
0ffc4f3e 10090 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10091 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10092 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10093
cb95113e
UD
100942011-07-03 Andreas Jaeger <aj@suse.de>
10095
10096 [BZ #10709]
10097 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10098 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10099 * math/libm-test.inc (sin_test): Add test case.
10100
a1b560ff
UD
101012011-10-29 Ulrich Drepper <drepper@gmail.com>
10102
c9aaface
UD
10103 [BZ #13337]
10104 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10105 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10106
d272e7f1
UD
10107 * elf/chroot_canon.c (chroot_canon): Cleanups.
10108
1bc33071
UD
10109 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10110
1760874d
TJ
10111 [BZ #13335]
10112 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10113 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10114
51d91b18
UD
10115 * string/test-strchr.c: Make usable for strchrnul testing.
10116 * string/test-strchrnul.c: New file.
10117 * string/Makefile (strop-tests): Add strchrnul.
10118
a1b560ff 10119 * po/it.po: Update from translation team.
b611fb81 10120 * po/es.po: Likewise.
a1b560ff 10121
a5b81e1f
UD
101222011-10-28 Ulrich Drepper <drepper@gmail.com>
10123
fd52bc6d
UD
10124 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10125 the three constants needed as parameters. Drop the others.
10126 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10127 __m128i_strloadu_tolower.
52e4b9eb
UD
10128 Create and initialize variable zero and use it in all the places
10129 where _mm_setzero_si128 was used.
fd52bc6d 10130
a5b81e1f
UD
10131 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10132 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10133 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10134 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10135 anymore.
10136 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10137 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10138 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10139 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10140 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10141 __mpranred, __mptan.
10142 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10143 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10144 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10145 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10146 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10147 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10148 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10149 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10150 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10151
b4343346
AS
101522011-10-28 Andreas Schwab <schwab@redhat.com>
10153
0c92d8a8
AS
10154 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10155 redefine if SHARED.
10156 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10157
b4343346
AS
10158 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10159 wide char related routines to wcsmbs subdir.
10160
3871f58f
AS
101612011-10-27 Andreas Schwab <schwab@redhat.com>
10162
10163 [BZ #13344]
10164 * misc/sys/cdefs.h (__THROWNL): Define.
10165 * posix/unistd.h: Use __THREADNL instead of __THREAD
10166 for memory synchronization functions.
10167
94d44d9f
RM
101682011-10-26 Roland McGrath <roland@hack.frob.com>
10169
21b64b15 10170 [BZ #13349]
94d44d9f
RM
10171 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10172 doesn't exist.
10173 * manual/stdio.texi (Obstack Streams): Node removed.
10174
f6ce9294
AS
101752011-10-26 Andreas Schwab <schwab@redhat.com>
10176
80479147
AS
10177 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10178 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10179 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10180
f6ce9294
AS
10181 * math/math_private.h (math_force_eval): Allow non-addressable
10182 arguments.
10183 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10184
618280a1
UD
101852011-10-25 Ulrich Drepper <drepper@gmail.com>
10186
e0016b11
UD
10187 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10188 file is not needed.
10189
10190 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10191 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10192 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10193 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10194 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10195 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10196 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10197 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10198 Add AVX variants.
10199 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10200 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10201 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10202 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10203 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10204 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10205 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10206 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10207 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10208 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10209 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10210 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10211 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10212 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10213 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10214 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10215 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10216 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10217 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10218
10219 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10220 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10221
618280a1
UD
10222 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10223 place. Use VEX encoding when compiling for AVX.
10224
37822576
AS
102252011-10-25 Andreas Schwab <schwab@redhat.com>
10226
1f1e1947
AS
10227 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10228 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10229
37822576
AS
10230 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10231
31ea014d
UD
102322011-10-25 Ulrich Drepper <drepper@gmail.com>
10233
d7826aa1 10234 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10235 useless if() expression.
d7826aa1
UD
10236 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10237 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10238 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10239 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10240 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10241 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10242 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10243 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10244 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10245 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10246 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10247 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10248 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10249 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10250 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10251 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10252 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10253 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10254 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10255
31ea014d
UD
10256 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10257
16437fec
AS
102582011-10-25 Andreas Schwab <schwab@redhat.com>
10259
10260 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10261 condition.
10262 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10263
31d3cc00
UD
102642011-10-25 Ulrich Drepper <drepper@gmail.com>
10265
10266 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10267 .text section. Avoid duplicate constants.
10268 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10269 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10270 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10271 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10272 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10273 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10274 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10275 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10276 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10277 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10278 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10279 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10280 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10281 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10282 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10283 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10284 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10285 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10286 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10287 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10288 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10289 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10290 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10291 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10292 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10293 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10294 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10295 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10296 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10297 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10298 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10299 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10300 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10301 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10302 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10303 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10304 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10305 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10306 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10307 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10308 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10309 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10310 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10311 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10312 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10313
58985aa9
UD
103142011-10-24 Ulrich Drepper <drepper@gmail.com>
10315
202c9deb
UD
10316 * sysdeps/x86_64/dla.h: Move to ...
10317 * sysdeps/x86_64/fpu/dla.h: ...here.
10318 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10319 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10320
af968f62
UD
10321 * config.make.in: Add have-mfma4 entry.
10322 * configure.in: Substitute libc_cv_cc_fma4.
10323 * math/Makefile (dbl-only-routines): Add sincostab.
10324 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10325 Use __sincostab not sincos.
10326 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10327 name is a macro.
10328 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10329 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10330 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10331 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10332 using __copysign.
10333 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10334 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10335 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10336 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10337 and __inv.
10338 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10339 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10340 __copysign.
10341 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10342 define aliases when function name is a macro.
10343 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10344 sysdeps/ieee754/dbl-64/sincos.tbl.
10345 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10346 fma4-enabled routines.
10347 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10348 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10349 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10350 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10351 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10352 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10353 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10354 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10355 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10356 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10357 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10358 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10359 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10360 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10361 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10362 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10363 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10364 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10365 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10366 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10367 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10368 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10369 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10370 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10371 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10372 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10373 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10374 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10375 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10376 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10377
58985aa9
UD
10378 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10379 rename.
10380 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10381 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10382 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10383 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10384 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10385 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10386 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10387 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10388
a201fbcf
AS
103892011-10-24 Andreas Schwab <schwab@redhat.com>
10390
10391 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10392
fc2ee42a
LD
103932011-10-23 Ulrich Drepper <drepper@gmail.com>
10394
bb3129bd
UD
10395 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10396
0275fff8
UD
10397 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10398 prediction.
10399 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10400
2fa2ae85
UD
10401 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10402 Remove unused variable magic_bits.
10403 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10404
fc2ee42a
LD
10405 * string/strnlen.c: Define and use STRNLEN macro.
10406 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10407 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10408 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10409 * wcsmbs/wcslen.c: Define and use WCSLEN.
10410 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10411 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10412 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10413 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10414 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10415 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10416 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10417
ce7dd29f
LD
104182011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10419
10420 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10421 strnlen-sse2-no-bsf.
10422 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10423 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10424 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10425 Add strnlen support.
10426 (USE_AS_STRNLEN): New macro.
10427 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10428 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10429 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10430 * sysdeps/x86_64/wcslen.S: New file.
10431
979c70a3
MZ
104322011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10433
10434 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10435 XMM-moves are used for copying on small sizes.
10436
2d09f82f
LD
104372011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10438
10439 * wcsmbs/Makefile (strop-tests): Add wcschr.
10440 * wcsmbs/test-wcschr.c: New file.
10441 * string/test-strchr.c: Update.
10442 Add wcschr support.
10443 (WIDE): New macro.
10444
619fccca
LD
104452011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10446
2d09f82f 10447 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
10448 * wcsmbs/test-wcslen.c: New file.
10449 * string/test-strlen.c: Update.
10450 Add wcslen support.
10451 (WIDE): New macro.
10452
09f699ea
UD
104532011-10-23 Ulrich Drepper <drepper@gmail.com>
10454
10455 * po/it.po: Update from translation team.
10456
95584d3b
LD
104572011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10458
10459 * sysdeps/x86_64/wcscmp.S: Update.
10460 Fix wrong comparison semantics.
10461 wcscmp shall use signed comparison not unsigned.
10462 Don't use substraction to avoid overflow bug.
10463 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10464 * wcsmbc/wcscmp.c: Likewise.
10465 * string/test-strcmp.c: Likewise.
10466 Add new tests to check cases with negative values.
10467
c8b3296b
UD
104682011-10-23 Ulrich Drepper <drepper@gmail.com>
10469
10470 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10471 * sysdeps/x86_64/dla.h: ...here. New file.
10472 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10473 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10474 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10475 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10476 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10477 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10478 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10479 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10480 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10481
246ad57a
AS
104822011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10483
10484 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10485 __ynl_finite aliases.
10486
a1a87169
UD
104872011-10-22 Ulrich Drepper <drepper@gmail.com>
10488
0d355eb7
UD
10489 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10490
a1a87169
UD
10491 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10492 define DLA_FMA.
10493 [DLA_FMA] (EMULV): Use DLA_FMA.
10494 [DLA_FMA] (MUL12): Use EMULV.
10495 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10496 that are not needed.
10497 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10498 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10499 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10500 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10501 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10502 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10503 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10504
ee2aafe0
AS
105052011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10506
10507 * math/s_nan.c: Undef __nan.
10508 * math/s_nanf.c: Undef __nanf.
10509 * math/s_nanl.c: Undef __nanl.
10510 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10511 "math_private.h".
10512
bc62c2fb
UD
105132011-10-22 Ulrich Drepper <drepper@gmail.com>
10514
77425c63
UD
10515 * math/s_catan.c: Add branch predictions.
10516 * math/s_catanf.c: Likewise.
10517 * math/s_catanh.c: Likewise.
10518 * math/s_catanhf.c: Likewise.
10519 * math/s_catanhl.c: Likewise.
10520 * math/s_catanl.c: Likewise.
10521 * math/s_cexp.c: Likewise.
10522 * math/s_cexpf.c: Likewise.
10523 * math/s_cexpl.c: Likewise.
10524 * math/s_clog.c: Likewise.
10525 * math/s_clog10.c: Likewise.
10526 * math/s_clog10f.c: Likewise.
10527 * math/s_clog10l.c: Likewise.
10528 * math/s_clogf.c: Likewise.
10529 * math/s_clogl.c: Likewise.
10530 * math/s_csqrt.c: Likewise.
10531 * math/s_csqrtf.c: Likewise.
10532 * math/s_csqrtl.c: Likewise.
10533 * math/s_ctanf.c: Likewise.
10534 * math/s_ctanh.c: Likewise.
10535 * math/s_ctanhf.c: Likewise.
10536 * math/s_ctanhl.c: Likewise.
10537 * math/s_ctanl.c: Likewise.
10538
bc62c2fb
UD
10539 * math/math_private.h: Define __nan, __nanf, __nanl.
10540 * math/s_cacosh.c: Include <math_private.h>.
10541 * math/s_cacoshl.c: Likewise.
10542 * math/s_casinh.c: Likewise.
10543 * math/s_casinhf.c: Likewise.
10544 * math/s_casinhl.c: Likewise.
10545 * math/s_ccos.c: Rely entire on ccosh.
10546 * math/s_ccosf.c: Rely entire on ccoshf.
10547 * math/s_ccosl.c: Rely entirely on ccoshl.
10548 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10549 Remove tests for FE_INVALID.
10550 * math/s_ccoshf.c: Likewise.
10551 * math/s_ccoshl.c: Likewise.
10552 * math/s_csin.c: Likewise.
10553 * math/s_csinf.c: Likewise.
10554 * math/s_csinh.c Likewise.
10555 * math/s_csinhf.c: Likewise.
10556 * math/s_csinhl.c: Likewise.
10557 * math/s_csinl.c: Likewise.
10558 * math/s_ctan.c: Likewise.
10559 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10560 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10561 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10562
8ec250a4
UD
105632011-10-21 Ulrich Drepper <drepper@gmail.com>
10564
c196fed8
UD
10565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10566 compilation problems.
10567
8ec250a4
UD
10568 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10569 __builtin_expect.
10570
8d4f46c6
UD
105712011-10-20 Ulrich Drepper <drepper@gmail.com>
10572
ed72b654
UD
10573 * sysdeps/i386/configure.in: Test for -mfma4 option.
10574 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10575 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10576 COMMON_CPUID_INDEX_80000001.
10577 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10578 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10579 use it if FMA3 is not supported.
10580 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10581
8d4f46c6
UD
10582 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10583 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10584
d45c60c2
AS
105852011-10-20 Andreas Schwab <schwab@redhat.com>
10586
10587 [BZ #12892]
10588 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10589 it would create a cycle with a link time dependency.
10590
d9a4d2ab
UD
105912011-10-19 Ulrich Drepper <drepper@gmail.com>
10592
855d1560
UD
10593 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10594 instruction.
10595 * string/Makefile (strop-tests): Add rawmemchr.
10596 * string/test-rawmemchr.c: New file.
10597
d9a4d2ab
UD
10598 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10599 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10600 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10601 when compiling str{,n}casecmp and when AVX is available. Hook up
10602 new optimized code in initializers.
10603
8f3b1ffe
AS
106042011-10-19 Andreas Schwab <schwab@redhat.com>
10605
10606 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10607 __feraiseexcept instead of feraiseexcept.
10608
d38f1dba
UD
106092011-10-18 Ulrich Drepper <drepper@gmail.com>
10610
d9a8d0ab
UD
10611 * math/math_private.h: Define defaults for libc_fetestexcept and
10612 libc_feupdateenv.
10613 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10614 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10615 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10616 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10617 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10618 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10619 libc_fetestexcept and libc_feupdateenv.
10620
4855e3dd
UD
10621 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10622 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10623 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10624 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10625 libc_feholdexcept_setround.
10626
581d30e3
UD
10627 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10628 Add s_nearbyint-c and s_nearbyintf-c.
10629 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10630 nearbyintf inlines.
10631 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10632 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10633 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10634 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10635
d38f1dba
UD
10636 * math/math_private.h: Define defaults for libc_fegetround,
10637 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10638 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10639 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10640 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10641 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10642 standard functions.
10643 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10644 Remove comments and hacks for old compiler versions.
10645 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10646 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10647 libc_feholdexceptl.
10648
caa6c9d8
AS
106492011-10-18 Andreas Schwab <schwab@redhat.com>
10650
10651 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
10652 (__feraiseexcept_renamed): Add __NTH.
10653 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
10654 namespace violations.
10655
97c066e6
UD
106562011-10-17 Ulrich Drepper <drepper@gmail.com>
10657
99ce7b04
UD
10658 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10659
1004d182
UD
10660 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10661
228a984d
UD
10662 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10663 recently added interfaces.
10664 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10665
c8553a6a
UD
10666 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10667 about macro parameter expansion.
10668
ed22dcf6
UD
10669 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10670 __NO_MATH_INLINES is defined. Cleanups.
10671
10672 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10673 and __floorf is target has SSE4.1.
10674 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10675 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10676 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10677 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10678
b171c137
UD
10679 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10680 name.
10681 (floorf): Likewise.
10682
97c066e6
UD
10683 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10684
629f62ef
AS
106852011-10-17 Andreas Schwab <schwab@redhat.com>
10686
49a43d80
AS
10687 * misc/sys/cdefs.h: Fix last change.
10688
629f62ef
AS
10689 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10690 database lookup.
10691
e453f6cd
UD
106922011-10-16 Ulrich Drepper <drepper@gmail.com>
10693
aa78043a
UD
10694 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10695
ad0f5cad
UD
10696 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10697 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10698 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10699 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10700 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10701 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10702 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10703 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10704 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10705 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10706 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10707 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10708 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10709 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10710 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10711 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10712 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10713 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10714 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10715 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10716 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10717 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10718
10719 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10720 ceil, ceilf, floor, floorf.
10721
10722 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10723 Perform IRELATIVE relocations last.
10724
e453f6cd
UD
10725 * elf/do-rel.h: Add another parameter nrelative, replacing the
10726 local variable with the same name. Change name of the function
10727 to end in Rel or Rela (uppercase).
10728 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10729 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10730 elf_dynamic_do_##reloc function.
10731
fd5bdc09
UD
107322011-10-15 Ulrich Drepper <drepper@gmail.com>
10733
79b195b5
UD
10734 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10735 is sufficient, at least on modern CPUs.
10736
d4a28569
UD
10737 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10738
b61099b5
UD
10739 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10740 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10741
bcf01e6d
UD
10742 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10743 __expl_finite.
10744 * math/bits/math-finite.h: Add entries for exp.
10745 * math/e_expl.c: Add __*_finite alias.
10746 * sysdeps/i386/fpu/e_exp.S: Likewise.
10747 * sysdeps/i386/fpu/e_expf.S: Likewise.
10748 * sysdeps/i386/fpu/e_expl.c: Likewise.
10749 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10750 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10751 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10752 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10753 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10754 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10755 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10756
ba1a0d59
UD
10757 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10758 is sufficient, at least on modern CPUs.
10759
fd5bdc09
UD
10760 * ctype/ctype-info.c (__ctype_init): Define.
10761 * include/ctype.h (__ctype_init): Declare.
10762 (__ctype_b_loc): The variable is always initialized.
10763 (__ctype_toupper_loc): Likewise.
10764 (__ctype_tolower_loc): Likewise.
10765 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10766 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10767
7872cfb0
AS
107682011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10769
b468825a
AS
10770 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10771
7872cfb0
AS
10772 * configure.in: Also look in $cxxmachine/include for C++ system
10773 headers.
10774
be13f7bf
LD
107752011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10776
10777 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10778 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10779 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10780 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10781 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10782 (USE_AS_WMEMCMP): New macro.
10783 Fixing indents.
10784 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10785 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10786 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10787 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10788 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10789 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10790 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10791 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10792 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10793 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10794 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10795 (USE_AS_WMEMCMP): New macro.
10796 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10797 * sysdeps/string/test-memcmp.c: Update.
10798 Fix simple_wmemcmp.
10799 Add new tests.
10800 * wcsmbs/wmemcmp.c: Update.
10801 (WMEMCMP): New macro.
10802 Fix overflow bug.
10803
556a2007
AJ
108042011-10-12 Andreas Jaeger <aj@suse.de>
10805
10806 [BZ #13268]
10807 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10808
538faaa7
UD
108092011-10-15 Ulrich Drepper <drepper@gmail.com>
10810
ab6737ff
UD
10811 * libio/iofwide.c (do_length): Avoid warning.
10812
538faaa7
UD
10813 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10814
396a21b1
UD
108152011-10-14 Ulrich Drepper <drepper@gmail.com>
10816
cdf2901f
UD
10817 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10818
38ad40ce
UD
10819 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10820 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10821 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10822 * sysdeps/i386/i686/fpu/e_log.S: New file.
10823 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10824 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10825
396a21b1
UD
10826 * ctype/ctype.h: Add support for inlined isXXX functions when
10827 compiling C++ code.
10828
6b1f68c9
AS
108292011-10-14 Andreas Schwab <schwab@redhat.com>
10830
349290c0
AS
10831 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10832
6b1f68c9
AS
10833 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10834
f2282d42
RM
108352011-10-13 Roland McGrath <roland@hack.frob.com>
10836
10837 [BZ #13291]
10838 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10839
5298ffa8
AS
108402011-10-13 Andreas Schwab <schwab@redhat.com>
10841
714fad23
AS
10842 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10843 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10844 feraiseexcept.
10845
81dcc7fb
AS
10846 * sysdeps/x86_64/memrchr.S: Check for zero size.
10847
5298ffa8
AS
10848 * string/stratcliff.c: Add memrchr tests.
10849
951fbcec
LD
108502011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10851
10852 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10853 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10854 rawmemchr-sse2 rawmemchr-sse2-bsf.
10855 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10856 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10857 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10858 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10859 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10860 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10861 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10862 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10863 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10864 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10865 * string/memrchr.c (MEMRCHR): New macro.
10866
0ac5ae23
UD
108672011-10-12 Ulrich Drepper <drepper@gmail.com>
10868
10869 Add integration with gcc's -ffinite-math-only and optimize wrapper
10870 functions in libm.
10871 * Versions.def: Define GLIBC_2.15 version for libm.
10872 * math/Makefile (headers): Add bits/math-finite.h.
10873 * math/bits/math-finite.h: New file.
10874 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10875 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10876 * math/e_acoshl.c: Add __*_finite alias.
10877 * math/e_acosl.c: Likewise.
10878 * math/e_asinl.c: Likewise.
10879 * math/e_atan2l.c: Likewise.
10880 * math/e_atanhl.c: Likewise.
10881 * math/e_coshl.c: Likewise.
10882 * math/e_exp10.c: Likewise.
10883 * math/e_exp10f.c: Likewise.
10884 * math/e_exp10l.c: Likewise.
10885 * math/e_exp2l.c: Likewise.
10886 * math/e_fmodl.c: Likewise.
10887 * math/e_gammal_r.c: Likewise.
10888 * math/e_hypotl.c: Likewise.
10889 * math/e_j0l.c: Likewise.
10890 * math/e_j1l.c: Likewise.
10891 * math/e_jnl.c: Likewise.
10892 * math/e_lgammal_r.c: Likewise.
10893 * math/e_log10l.c: Likewise.
10894 * math/e_log2l.c: Likewise.
10895 * math/e_logl.c: Likewise.
10896 * math/e_powl.c: Likewise.
10897 * math/e_sinhl.c: Likewise.
10898 * math/e_sqrtl.c: Likewise.
10899 * math/e_scalb.c: Completely rewritten and optimized.
10900 * math/e_scalbf.c: Likewise.
10901 * math/e_scalbl.c: Likewise.
10902 * math/w_acos.c: Likewise.
10903 * math/w_acosf.c: Likewise.
10904 * math/w_acosl.c: Likewise.
10905 * math/w_acosh.c: Likewise.
10906 * math/w_acoshf.c: Likewise.
10907 * math/w_acoshl.c: Likewise.
10908 * math/w_asin.c: Likewise.
10909 * math/w_asinf.c: Likewise.
10910 * math/w_asinl.c: Likewise.
10911 * math/w_atan2.c: Likewise.
10912 * math/w_atan2f.c: Likewise.
10913 * math/w_atan2l.c: Likewise.
10914 * math/w_atanh.c: Likewise.
10915 * math/w_atanhf.c: Likewise.
10916 * math/w_atanhl.c: Likewise.
10917 * math/w_exp10.c: Likewise.
10918 * math/w_exp10f.c: Likewise.
10919 * math/w_exp10l.c: Likewise.
10920 * math/w_fmod.c: Likewise.
10921 * math/w_fmodf.c: Likewise.
10922 * math/w_fmodl.c: Likewise.
10923 * math/w_j0.c: Likewise.
10924 * math/w_j0f.c: Likewise.
10925 * math/w_j0l.c: Likewise.
10926 * math/w_j1.c: Likewise.
10927 * math/w_j1f.c: Likewise.
10928 * math/w_j1l.c: Likewise.
10929 * math/w_jn.c: Likewise.
10930 * math/w_jnf.c: Likewise.
10931 * math/w_log.c: Likewise.
10932 * math/w_logf.c: Likewise.
10933 * math/w_logl.c: Likewise.
10934 * math/w_log10.c: Likewise.
10935 * math/w_log10f.c: Likewise.
10936 * math/w_log10l.c: Likewise.
10937 * math/w_log2.c: Likewise.
10938 * math/w_log2f.c: Likewise.
10939 * math/w_log2l.c: Likewise.
10940 * math/w_pow.c: Likewise.
10941 * math/w_powf.c: Likewise.
10942 * math/w_powl.c: Likewise.
10943 * math/w_remainder.c: Likewise.
10944 * math/w_remainderf.c: Likewise.
10945 * math/w_remainderl.c: Likewise.
10946 * math/w_scalb.c: Likewise.
10947 * math/w_scalbf.c: Likewise.
10948 * math/w_scalbl.c: Likewise.
10949 * math/w_sqrt.c: Likewise.
10950 * math/w_sqrtf.c: Likewise.
10951 * math/w_sqrtl.c: Likewise.
10952 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10953 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10954 used.
10955 * math/math_private.h: Declare __kernel_standard_f.
10956 * math/w_cosh.c: Remove cruft and optimize a bit.
10957 * math/w_coshf.c: Likewise.
10958 * math/w_coshl.c: Likewise.
10959 * math/w_exp2.c: Likewise.
10960 * math/w_exp2f.c: Likewise.
10961 * math/w_exp2l.c: Likewise.
10962 * math/w_hypot.c: Likewise.
10963 * math/w_hypotf.c: Likewise.
10964 * math/w_hypotl.c: Likewise.
10965 * math/w_lgamma.c: Likewise.
10966 * math/w_lgamma_r.c: Likewise.
10967 * math/w_lgammaf.c: Likewise.
10968 * math/w_lgammaf_r.c: Likewise.
10969 * math/w_lgammal.c: Likewise.
10970 * math/w_lgammal_r.c: Likewise.
10971 * math/w_sinh.c: Likewise.
10972 * math/w_sinhf.c: Likewise.
10973 * math/w_sinhl.c: Likewise.
10974 * math/w_tgamma.c: Likewise.
10975 * math/w_tgammaf.c: Likewise.
10976 * math/w_tgammal.c: Likewise.
10977 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10978 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10979 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10980 Minor optimizations. Pretty printing. Remove cruft.
10981 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10982 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10983 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10984 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10985 * sysdeps/i386/fpu/e_acosl.c: Likewise.
10986 * sysdeps/i386/fpu/e_asin.S: Likewise.
10987 * sysdeps/i386/fpu/e_asinf.S: Likewise.
10988 * sysdeps/i386/fpu/e_atan2.S: Likewise.
10989 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
10990 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
10991 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10992 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10993 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10994 * sysdeps/i386/fpu/e_exp10.S: Likewise.
10995 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
10996 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
10997 * sysdeps/i386/fpu/e_exp2.S: Likewise.
10998 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
10999 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11000 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11001 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11002 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11003 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11004 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11005 * sysdeps/i386/fpu/e_log.S: Likewise.
11006 * sysdeps/i386/fpu/e_log10.S: Likewise.
11007 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11008 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11009 * sysdeps/i386/fpu/e_log2.S: Likewise.
11010 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11011 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11012 * sysdeps/i386/fpu/e_logf.S: Likewise.
11013 * sysdeps/i386/fpu/e_logl.S: Likewise.
11014 * sysdeps/i386/fpu/e_pow.S: Likewise.
11015 * sysdeps/i386/fpu/e_powf.S: Likewise.
11016 * sysdeps/i386/fpu/e_powl.S: Likewise.
11017 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11018 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11019 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11020 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11021 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11022 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11023 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11024 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11025 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11026 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11027 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11028 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11029 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11030 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11031 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11032 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11033 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11034 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11035 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11036 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11037 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11038 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11039 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11040 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11041 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11042 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11043 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11044 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11045 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11046 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11047 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11048 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11049 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11050 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11051 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11052 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11053 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11054 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11055 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11056 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11057 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11058 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11059 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11060 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11061 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11062 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11063 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11064 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11065 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11066 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11067 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11068 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11069 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11070 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11071 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11072 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11073 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11074 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11075 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11076 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11077 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11078 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11079 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11080 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11081 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11082 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11083 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11084 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11085 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11086 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11087 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11088 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11089 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11090 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11091 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11092 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11093 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11094 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11095 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11096 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11097 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11098 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11099 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11100 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11101 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11102 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11103 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11104 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11105 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11106 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11107 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11108 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11109 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11110 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11111 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11112 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11113 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11114 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11115 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11116 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11117 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11118 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11119 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11120 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11121 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11122 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11123 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11124 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11125 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11126 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11127 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11128 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11129 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11130 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11131 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11132 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11133 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11134 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11135 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11136 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11137 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11138 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11139 (__isnanf): Likewise.
11140 (__isinf_ns): Likewise.
11141 (__isinf_nsf): Likewise.
11142 (__finite): Likewise.
11143 (__finitef): Likewise.
11144 (__ieee754_sqrt): Define as macro.
11145 (__ieee754_sqrtf): Define as macro.
11146 (__ieee754_sqrtl): Define as macro.
11147 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11148 inlined copy.
11149 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11150 __FINITE_MATH_ONLY__ consistent.
11151 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11152
12cc2fcd
AS
111532011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11154
a843a204
AS
11155 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11156 of rawmemchr.
11157
12cc2fcd
AS
11158 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11159
c853acd5
UD
111602011-10-09 Ulrich Drepper <drepper@gmail.com>
11161
11162 * po/ja.po: Update from translation team.
11163
c658d255
RM
111642011-10-08 Roland McGrath <roland@hack.frob.com>
11165
110946e4
RM
11166 * locale/programs/locarchive.c (prepare_address_space): New function.
11167 (create_archive, enlarge_archive, open_archive): Use it.
11168
50604220
RM
11169 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11170 inside [SHARED], where it is used.
11171
c658d255
RM
11172 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11173
11174 * nss/getent.c (netgroup_keys): Remove unused variable.
11175 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11176
6a621eb7
UD
111772011-10-08 Ulrich Drepper <drepper@gmail.com>
11178
7edb55ce
UD
11179 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11180 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11181 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11182 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11183 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11184 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11185 * math/Makefile (libm-calls): Add s_isinf_ns.
11186 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11187 * math/multc3.c: Likewise.
11188 * math/s_casin.c: Likewise.
11189 * math/s_casinf.c: Likewise.
11190 * math/s_casinl.c: Likewise.
11191 * math/s_ccos.c: Likewise.
11192 * math/s_ccosf.c: Likewise.
11193 * math/s_ccosl.c: Likewise.
11194 * math/s_ctan.c: Likewise.
11195 * math/s_ctanf.c: Likewise.
11196 * math/s_ctanh.c: Likewise.
11197 * math/s_ctanhf.c: Likewise.
11198 * math/s_ctanhl.c: Likewise.
11199 * math/s_ctanl.c: Likewise.
11200 * math/w_fmod.c: Likewise.
11201 * math/w_fmodf.c: Likewise.
11202 * math/w_fmodl.c: Likewise.
11203 * math/w_remainder.c: Likewise.
11204 * math/w_remainderf.c: Likewise.
11205 * math/w_remainderl.c: Likewise.
11206 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11207 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11208 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11209 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11210 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11211 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11212 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11213 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11214
187da0ae
UD
11215 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11216 of the number.
11217 * stdio-common/printf_fphex.c: Likewise.
11218 * stdio-common/printf_size.c: Likewise.
11219
9277c064
UD
11220 * math/e_exp10.c: Include math_private.h using <...> not "...".
11221 * math/e_exp10f.c: Likewise.
11222 * math/e_exp10l.c: Likewise.
11223 * math/e_exp2l.c: Likewise.
11224 * math/e_j0l.c: Likewise.
11225 * math/e_j1l.c: Likewise.
11226 * math/e_jnl.c: Likewise.
11227 * math/e_lgammal_r.c: Likewise.
11228 * math/e_rem_pio2l.c: Likewise.
11229 * math/e_scalb.c: Likewise.
11230 * math/e_scalbf.c: Likewise.
11231 * math/e_scalbl.c: Likewise.
11232 * math/k_cosl.c: Likewise.
11233 * math/k_sinl.c: Likewise.
11234 * math/k_tanl.c: Likewise.
11235 * math/s_cacoshf.c: Likewise.
11236 * math/s_catan.c: Likewise.
11237 * math/s_catanf.c: Likewise.
11238 * math/s_catanh.c: Likewise.
11239 * math/s_catanhf.c: Likewise.
11240 * math/s_catanhl.c: Likewise.
11241 * math/s_catanl.c: Likewise.
11242 * math/s_ccosh.c: Likewise.
11243 * math/s_ccoshf.c: Likewise.
11244 * math/s_ccoshl.c: Likewise.
11245 * math/s_cexp.c: Likewise.
11246 * math/s_cexpf.c: Likewise.
11247 * math/s_cexpl.c: Likewise.
11248 * math/s_clog.c: Likewise.
11249 * math/s_clog10.c: Likewise.
11250 * math/s_clog10f.c: Likewise.
11251 * math/s_clog10l.c: Likewise.
11252 * math/s_clogf.c: Likewise.
11253 * math/s_clogl.c: Likewise.
11254 * math/s_csin.c: Likewise.
11255 * math/s_csinf.c: Likewise.
11256 * math/s_csinh.c: Likewise.
11257 * math/s_csinhf.c: Likewise.
11258 * math/s_csinhl.c: Likewise.
11259 * math/s_csinl.c: Likewise.
11260 * math/s_csqrt.c: Likewise.
11261 * math/s_csqrtf.c: Likewise.
11262 * math/s_csqrtl.c: Likewise.
11263 * math/s_ctan.c: Likewise.
11264 * math/s_ctanf.c: Likewise.
11265 * math/s_ctanh.c: Likewise.
11266 * math/s_ctanhf.c: Likewise.
11267 * math/s_ctanhl.c: Likewise.
11268 * math/s_ctanl.c: Likewise.
11269 * math/s_ldexp.c: Likewise.
11270 * math/s_ldexpf.c: Likewise.
11271 * math/s_ldexpl.c: Likewise.
11272 * math/s_significand.c: Likewise.
11273 * math/s_significandf.c: Likewise.
11274 * math/s_significandl.c: Likewise.
11275 * math/w_acos.c: Likewise.
11276 * math/w_acosf.c: Likewise.
11277 * math/w_acosh.c: Likewise.
11278 * math/w_acoshf.c: Likewise.
11279 * math/w_acoshl.c: Likewise.
11280 * math/w_acosl.c: Likewise.
11281 * math/w_asin.c: Likewise.
11282 * math/w_asinf.c: Likewise.
11283 * math/w_asinl.c: Likewise.
11284 * math/w_atan2.c: Likewise.
11285 * math/w_atan2f.c: Likewise.
11286 * math/w_atan2l.c: Likewise.
11287 * math/w_atanh.c: Likewise.
11288 * math/w_atanhf.c: Likewise.
11289 * math/w_atanhl.c: Likewise.
11290 * math/w_cosh.c: Likewise.
11291 * math/w_coshf.c: Likewise.
11292 * math/w_coshl.c: Likewise.
11293 * math/w_dremf.c: Likewise.
11294 * math/w_exp10.c: Likewise.
11295 * math/w_exp10f.c: Likewise.
11296 * math/w_exp10l.c: Likewise.
11297 * math/w_exp2.c: Likewise.
11298 * math/w_exp2f.c: Likewise.
11299 * math/w_fmod.c: Likewise.
11300 * math/w_fmodf.c: Likewise.
11301 * math/w_fmodl.c: Likewise.
11302 * math/w_hypot.c: Likewise.
11303 * math/w_hypotf.c: Likewise.
11304 * math/w_hypotl.c: Likewise.
11305 * math/w_j0.c: Likewise.
11306 * math/w_j0f.c: Likewise.
11307 * math/w_j0l.c: Likewise.
11308 * math/w_j1.c: Likewise.
11309 * math/w_j1f.c: Likewise.
11310 * math/w_j1l.c: Likewise.
11311 * math/w_jn.c: Likewise.
11312 * math/w_jnf.c: Likewise.
11313 * math/w_jnl.c: Likewise.
11314 * math/w_lgamma.c: Likewise.
11315 * math/w_lgamma_r.c: Likewise.
11316 * math/w_lgammaf.c: Likewise.
11317 * math/w_lgammaf_r.c: Likewise.
11318 * math/w_lgammal.c: Likewise.
11319 * math/w_lgammal_r.c: Likewise.
11320 * math/w_log.c: Likewise.
11321 * math/w_log10.c: Likewise.
11322 * math/w_log10f.c: Likewise.
11323 * math/w_log10l.c: Likewise.
11324 * math/w_log2.c: Likewise.
11325 * math/w_log2f.c: Likewise.
11326 * math/w_log2l.c: Likewise.
11327 * math/w_logf.c: Likewise.
11328 * math/w_logl.c: Likewise.
11329 * math/w_pow.c: Likewise.
11330 * math/w_powf.c: Likewise.
11331 * math/w_powl.c: Likewise.
11332 * math/w_remainder.c: Likewise.
11333 * math/w_remainderf.c: Likewise.
11334 * math/w_remainderl.c: Likewise.
11335 * math/w_scalb.c: Likewise.
11336 * math/w_scalbf.c: Likewise.
11337 * math/w_scalbl.c: Likewise.
11338 * math/w_sinh.c: Likewise.
11339 * math/w_sinhf.c: Likewise.
11340 * math/w_sinhl.c: Likewise.
11341 * math/w_sqrt.c: Likewise.
11342 * math/w_sqrtf.c: Likewise.
11343 * math/w_sqrtl.c: Likewise.
11344 * math/w_tgamma.c: Likewise.
11345 * math/w_tgammaf.c: Likewise.
11346 * math/w_tgammal.c: Likewise.
11347
6a621eb7
UD
11348 * po/ja.po: Update from translation team.
11349
bf582445
AJ
113502011-09-29 Andreas Jaeger <aj@suse.de>
11351
f9efbf3a
AJ
11352 [BZ #13179]
11353 * sunrpc/netname.c (netname2host): Fix logic.
11354
bf582445
AJ
11355 [BZ #6779]
11356 [BZ #6783]
11357 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11358 correctly.
11359 * math/w_remainder.c (__remainder): Likewise.
11360 * math/w_remainderf.c (__remainderf): Likewise.
11361 * math/libm-test.inc (remainder_test): Add test cases.
11362
48693bea
AK
113632011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11364
11365 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11366 sdiv_qrnnd.
11367
42622229
LD
113682011-10-07 Ulrich Drepper <drepper@gmail.com>
11369
11370 * string/test-memcmp.c: Avoid unncessary #defines.
11371 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11372
093ecf92
LD
113732011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11374
11375 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11376 Use new sse2 version for core i3 - i7 as it's faster
11377 than sse42 version.
11378 (bit_Prefer_PMINUB_for_stringop): New.
11379 * sysdeps/x86_64/rawmemchr.S: Update.
11380 Replace with faster SSE2 version.
11381 * sysdeps/x86_64/memrchr.S: New file.
11382 * sysdeps/x86_64/memchr.S: Update.
11383 Replace with faster SSE2 version.
11384
fde56e5c
MP
113852011-09-12 Marek Polacek <mpolacek@redhat.com>
11386
11387 * elf/dl-load.c (lose): Add cast to avoid warning.
11388
21fd49a9
UD
113892011-10-07 Ulrich Drepper <drepper@gmail.com>
11390
5a06e643
UD
11391 * po/ca.po: Update from translation team.
11392
684ae515
UD
11393 * inet/getnetgrent_r.c: Hook up nscd.
11394 * nscd/Makefile (routines): Add nscd_netgroup.
11395 (nscd-modules): Add netgroupcache.
11396 (CFLAGS-netgroupcache.c): Define.
11397 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11398 (cache_search): Add const to second parameter.
11399 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11400 INNETGR.
11401 (dbs): Add netgrdb entry.
11402 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11403 (verify_persistent_db): Handle netgrdb.
11404 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11405 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11406 GETFDNETGR.
11407 (netgroup_response_header): Define.
11408 (innetgroup_response_header): Define.
11409 (datahead): Add netgroup_response_header and innetgroup_response_header
11410 elements.
11411 * nscd/nscd.conf: Add entries for netgroup cache.
11412 * nscd/nscd.h (dbtype): Add netgrdb.
11413 (_PATH_NSCD_NETGROUP_DB): Define.
11414 (netgroup_iov_disabled): Declare.
11415 (xmalloc, xcalloc, xrealloc): Move declarations here.
11416 (cache_search): Adjust prototype.
11417 Add netgroup-related prototypes.
11418 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11419 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11420 (__nscd_innetgr): Declare.
11421 * nscd/selinux.c (perms): Use access_vector_t as element type and
11422 add netgroup-related initializers.
11423 * nscd/netgroupcache.c: New file.
11424 * nscd/nscd_netgroup.c: New file.
11425 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11426 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11427 For four parameters use innetgr.
11428 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11429 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11430 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11431 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11432
21fd49a9
UD
11433 * nscd/connections.c (register_traced_file): Don't register file
11434 for disabled databases.
11435
054c0457
UD
114362011-10-06 Ulrich Drepper <drepper@gmail.com>
11437
32b63198
UD
11438 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11439
054c0457
UD
11440 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11441 from tree and freeing node.
11442
64031225
JO
114432011-09-25 Jiri Olsa <jolsa@redhat.com>
11444
11445 * nss/nsswitch.c (__nss_database_lookup): Handle
11446 nss_parse_service_list out of memory case.
11447
0490345c
JO
114482011-09-15 Jiri Olsa <jolsa@redhat.com>
11449
11450 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11451 out of memory case.
11452
3a62d00d
AS
114532011-10-04 Andreas Schwab <schwab@redhat.com>
11454
11455 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11456 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11457 pass it down.
11458 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11459 elf_machine_rela, elf_machine_lazy_rel.
11460 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11461 (ELF_DYNAMIC_DO_REL): Likewise.
11462 (ELF_DYNAMIC_DO_RELA): Likewise.
11463 (ELF_DYNAMIC_RELOCATE): Likewise.
11464 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11465 to ELF_DYNAMIC_DO_REL.
11466 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11467 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11468 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11469 elf_machine_rela.
11470 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11471 skip_ifunc, don't call ifunc function if non-zero.
11472 (elf_machine_rela): Likewise.
11473 (elf_machine_lazy_rel): Likewise.
11474 (elf_machine_lazy_rela): Likewise.
11475 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11476 (elf_machine_lazy_rel): Likewise.
11477 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11478 Likewise.
11479 (elf_machine_lazy_rel): Likewise.
11480 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11481 Likewise.
11482 (elf_machine_lazy_rel): Likewise.
11483 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11484 (elf_machine_lazy_rel): Likewise.
11485 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11486 (elf_machine_lazy_rel): Likewise.
11487 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11488 (elf_machine_lazy_rel): Likewise.
11489 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11490 (elf_machine_lazy_rel): Likewise.
11491 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11492 (elf_machine_lazy_rel): Likewise.
11493 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11494 (elf_machine_lazy_rel): Likewise.
11495
68577918
UD
114962011-09-28 Ulrich Drepper <drepper@gmail.com>
11497
11498 * nss/nss_files/files-init.c (_nss_files_init): Use static
11499 initialization for all the *_traced_file variables.
11500
68822d74
AS
115012011-09-28 Andreas Schwab <schwab@redhat.com>
11502
11503 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11504
2056100b
RM
115052011-09-27 Roland McGrath <roland@hack.frob.com>
11506
11507 [BZ #13226]
11508 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11509
32c76b63
AS
115102011-09-27 Andreas Schwab <schwab@redhat.com>
11511
11512 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11513 Reread the line before reparsing it.
11514
bf972c9d
AS
115152011-09-26 Andreas Schwab <schwab@redhat.com>
11516
11517 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11518
e057a1b5
JM
115192011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11520 Maxim Kuvyrkov <maxim@codesourcery.com>
11521 Joseph Myers <joseph@codesourcery.com>
11522
11523 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11524 if needed for __stack_chk_guard.
11525
bc7e1c36
RM
115262011-09-19 Roland McGrath <roland@hack.frob.com>
11527
ecb1482f
RM
11528 * sysdeps/posix/spawni.c (script_execute): Always define it.
11529 It will be optimized away if unused.
11530 (maybe_script_execute): New function.
11531 (__spawni): Call it.
11532
bc7e1c36
RM
11533 * Makerules: Don't include tls.make.
11534 (config-tls): Always set to thread.
11535 * tls.make.c: File removed.
11536
1c3b002b
MF
115372011-09-19 Mike Frysinger <vapier@gentoo.org>
11538
11539 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11540 * config.make.in (CPPFLAGS-config): New substituted variable.
11541
2840865d
UD
115422011-09-15 Ulrich Drepper <drepper@gmail.com>
11543
88738eb6
UD
11544 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11545
cbf645a6 11546 [BZ #13192]
2840865d
UD
11547 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11548 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11549
b402e91a
RM
115502011-09-15 Roland McGrath <roland@hack.frob.com>
11551
11552 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11553 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11554 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11555 (CALL_FAIL): Likewise.
11556 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11557 (CALL_FAIL): Macro removed.
11558 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11559
4c1a1f71
UD
115602011-09-15 Ulrich Drepper <drepper@gmail.com>
11561
11562 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11563 for __FINITE_MATH_ONLY__ == 1.
11564
edc121be
AS
115652011-09-15 Andreas Schwab <schwab@redhat.com>
11566
11567 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11568 __ieee754_sqrt instead of sqrt.
11569 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11570 __ieee754_sqrtf instead of sqrtf.
11571 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11572 __floorf instead of floorf.
11573 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11574 __floorf, __truncf instead of floorf, truncf.
11575
cd205654
UD
115762011-09-14 Ulrich Drepper <drepper@gmail.com>
11577
ee4d0315
UD
11578 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11579
cd205654
UD
11580 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11581 __extern_always_inline.
11582 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11583 32-bit.
11584
48b67d71
AS
115852011-09-14 Andreas Schwab <schwab@redhat.com>
11586
11587 * elf/rtld.c (dl_main): Also relocate in dependency order when
11588 doing symbol dependency testing.
11589
1ae12c75
AS
115902011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11591
11592 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11593 Always define `refsym'.
11594
995a80df
AS
115952011-09-13 Andreas Schwab <schwab@redhat.com>
11596
e529793b
AS
11597 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11598 (__FD_ELT): Renamed from __FDELT.
11599 * misc/bits/select2.h (__FD_ELT): Likewise.
11600 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11601 __FD_MASK instead of __FDELT, __FDMASK.
11602 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11603 Likewise.
11604 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11605 Likewise.
11606
52d4fef8
AS
11607 * elf/Makefile (gen-ldd): Fix pattern.
11608
995a80df
AS
11609 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11610 (init_tls): Likewise.
11611
8682f8b0
UD
116122011-09-12 Ulrich Drepper <drepper@gmail.com>
11613
11614 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11615
de82006d
AS
116162011-09-12 Andreas Schwab <schwab@redhat.com>
11617
a7c8e6a1
AS
11618 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11619 `struct cmsghdr *' instead of `void *'.
11620 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11621 Likewise.
11622
0f31fe77
AS
116232011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11624
11625 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11626 if non-absolute.
11627 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11628 ldd_rewrite_script.
0f31fe77 11629
32b4c839
UD
116302011-09-11 Ulrich Drepper <drepper@gmail.com>
11631
83cd1420
UD
11632 * configure.in: Remove --with-tls option.
11633 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11634 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11635 out in case it is missing.
11636 * sysdeps/ia64/elf/configure.in: Likewise.
11637 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11638 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11639 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11640 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11641 * sysdeps/sh/elf/configure.in: Likewise.
11642 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11643 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11644 * sysdeps/x86_64/elf/configure.in: Likewise.
11645 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11646 * sysdeps/mach/hurd/tls.h: Likewise.
11647
633f745d
UD
11648 [BZ #13067]
11649 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11650
f318beb8
UD
11651 [BZ #13090]
11652 * configure.in: Fix use of AC_INIT.
11653
32b4c839
UD
11654 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11655
3ce1f295
UD
116562011-09-10 Ulrich Drepper <drepper@gmail.com>
11657
bb016596
UD
11658 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11659 __set_errno.
8e58439c
UD
11660 * malloc/hooks.c: Likewise.
11661
aebae053 11662 [BZ #11929]
02d46fc4
UD
11663 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11664 variables statically.
11665 (narenas): Initialize.
11666 (list_lock): Initialize.
bb016596
UD
11667 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11668 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
11669 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11670 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11671 Add initializers to main_arena and mp_.
11672 (malloc_state): Remove pagesize member. Change all users to use
11673 GLRO(dl_pagesize).
11674
11675 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11676 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11677 is always initialized.
11678
22a89187
UD
11679 * malloc/malloc.c: Removed unused configurations and dead code.
11680 * malloc/arena.c: Likewise.
11681 * malloc/hooks.c: Likewise.
02d46fc4 11682 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 11683
d063d164
UD
11684 * include/tls.h: Removed. USE___THREAD must always be defined.
11685 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11686 * elf/dl-libc.c: Likewise.
11687 * elf/dl-tsd.c: Likewise.
11688 * include/errno.h: Likewise.
11689 * include/netdb.h: Likewise.
11690 * include/resolv.h: Likewise.
11691 * inet/herrno-loc.c: Likewise.
11692 * inet/herrno.c: Likewise.
11693 * malloc/arena.c: Likewise.
11694 * malloc/hooks.c: Likewise.
11695 * malloc/malloc.c: Likewise.
11696 * resolv/res-state.c: Likewise.
11697 * resolv/res_libc.c: Likewise.
11698 * sysdeps/i386/dl-machine.h: Likewise.
11699 * sysdeps/ia64/dl-machine.h: Likewise.
11700 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11701 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11702 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11703 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11704 * sysdeps/sh/dl-machine.h: Likewise.
11705 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11706 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11707 * sysdeps/unix/i386/sysdep.S: Likewise.
11708 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11709 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11710 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11711 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11712 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11713 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11714 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11715 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11716 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11717 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11718 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11719 * sysdeps/x86_64/dl-machine.h: Likewise.
11720 * tls.make.c: Likewise.
11721
3ce1f295
UD
11722 * configure.in: Remove --with-__thread option. Make tests for
11723 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11724 tls_model attribute fail if no support is available. Remove
11725 USE_IN_LIBIO.
11726 * Makeconfig: Adjust for dropped configure option. All features are
11727 now mandatory.
11728 * Makerules: Likewise.
11729 * Versions.def: Likewise.
11730 * argp/argp-fmtstream.c: Likewise.
11731 * argp/argp-fmtstream.h: Likewise.
11732 * argp/argp-help.c: Likewise.
11733 * assert/assert.c: Likewise.
11734 * config.h.in: Likewise.
11735 * config.make.in: Likewise.
11736 * configure: Likewise.
11737 * configure.in: Likewise.
11738 * csu/Versions: Likewise.
11739 * csu/init.c: Likewise.
11740 * elf/tst-audit2.c: Likewise.
11741 * elf/tst-tls10.c: Likewise.
11742 * elf/tst-tls10.h: Likewise.
11743 * elf/tst-tls11.c: Likewise.
11744 * elf/tst-tls12.c: Likewise.
11745 * elf/tst-tls14.c: Likewise.
11746 * elf/tst-tlsmod11.c: Likewise.
11747 * elf/tst-tlsmod12.c: Likewise.
11748 * elf/tst-tlsmod13.c: Likewise.
11749 * elf/tst-tlsmod13a.c: Likewise.
11750 * elf/tst-tlsmod14a.c: Likewise.
11751 * elf/tst-tlsmod15b.c: Likewise.
11752 * elf/tst-tlsmod16a.c: Likewise.
11753 * elf/tst-tlsmod16b.c: Likewise.
11754 * elf/tst-tlsmod7.c: Likewise.
11755 * elf/tst-tlsmod8.c: Likewise.
11756 * elf/tst-tlsmod9.c: Likewise.
11757 * gmon/gmon.c: Likewise.
11758 * grp/fgetgrent_r.c: Likewise.
11759 * grp/putgrent.c: Likewise.
11760 * hurd/fopenport.c: Likewise.
11761 * include/libc-symbols.h: Likewise.
11762 * include/tls.h: Likewise.
11763 * intl/gettextP.h: Likewise.
11764 * intl/loadinfo.h: Likewise.
11765 * locale/global-locale.c: Likewise.
11766 * locale/localeinfo.h: Likewise.
11767 * mach/devstream.c: Likewise.
11768 * malloc/arena.c: Likewise.
11769 * malloc/set-freeres.c: Likewise.
11770 * misc/err.c: Likewise.
11771 * misc/getttyent.c: Likewise.
11772 * misc/mntent_r.c: Likewise.
11773 * posix/getopt.c: Likewise.
11774 * posix/wordexp.c: Likewise.
11775 * pwd/fgetpwent_r.c: Likewise.
11776 * resolv/Versions: Likewise.
11777 * resolv/res_hconf.c: Likewise.
11778 * shadow/fgetspent_r.c: Likewise.
11779 * shadow/putspent.c: Likewise.
11780 * stdio-common/printf_fphex.c: Likewise.
11781 * stdio-common/tmpfile.c: Likewise.
11782 * stdlib/abort.c: Likewise.
11783 * stdlib/fmtmsg.c: Likewise.
11784 * sunrpc/auth_unix.c: Likewise.
11785 * sunrpc/clnt_perr.c: Likewise.
11786 * sunrpc/clnt_tcp.c: Likewise.
11787 * sunrpc/clnt_udp.c: Likewise.
11788 * sunrpc/clnt_unix.c: Likewise.
11789 * sunrpc/openchild.c: Likewise.
11790 * sunrpc/svc_simple.c: Likewise.
11791 * sunrpc/svc_tcp.c: Likewise.
11792 * sunrpc/svc_udp.c: Likewise.
11793 * sunrpc/svc_unix.c: Likewise.
11794 * sunrpc/xdr.c: Likewise.
11795 * sunrpc/xdr_array.c: Likewise.
11796 * sunrpc/xdr_rec.c: Likewise.
11797 * sunrpc/xdr_ref.c: Likewise.
11798 * sunrpc/xdr_stdio.c: Likewise.
11799
1248c1c4
PB
118002011-09-09 Ulrich Drepper <drepper@gmail.com>
11801
11802 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11803
118042011-07-03 Andreas Jaeger <aj@suse.de>
11805
11806 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11807 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11808 regenerate with gen-libm-tests.pl.
11809
118102010-05-12 Petr Baudis <pasky@suse.cz>
11811
11812 [BZ #11589]
11813 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11814 around j0() zero points by switching to j1().
11815 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11816 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11817 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11818 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11819
f22e1074
UD
118202011-09-09 Ulrich Drepper <drepper@gmail.com>
11821
f19009c1
UD
11822 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11823 instead of 0.
11824 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11825 instead of 0. .
11826 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11827 Patch in part by Pavel Roskin <proski@gnu.org>.
11828
3f8cc204
UD
11829 [BZ #13138]
11830 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11831 realloc.
11832 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11833 Free memory block if necessary.
11834
f22e1074
UD
11835 [BZ #12847]
11836 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11837 be NULL. Don't lock in this case.
11838
0a2349f9
RM
118392011-09-09 Roland McGrath <roland@hack.frob.com>
11840
11841 * elf/elf.h (ELFOSABI_GNU): New macro.
11842 (ELFOSABI_LINUX): Define to that.
11843
f3cdd467
DZ
118442011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11845
11846 * string/strncat.c (strncat): Undef the symbol in case it has been
11847 defined in bits/string.h.
11848
74718d13
UD
118492011-09-09 Ulrich Drepper <drepper@gmail.com>
11850
633e9e0f
UD
11851 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11852
0a2349f9 11853 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
11854 link map.
11855
f9924780
AJ
118562011-08-17 Andreas Jaeger <aj@suse.de>
11857
11858 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11859
7f5517aa
PP
118602011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11861 Ian Lance Taylor <iant@google.com>
11862
11863 * math/libm-test.inc (lround_test): New testcase.
11864 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11865
762011fe
UD
118662011-09-08 Ulrich Drepper <drepper@gmail.com>
11867
92963737
UD
11868 * Makefile: Remove support for automatic cvs check-ins.
11869 * Makerules: Likewise.
11870 * config.make.in: Likewise.
11871 * configure.in: Likewise.
11872 * intl/Makefile: Likewise.
11873 * locale/Makefile: Likewise.
11874 * po/Makefile: Likewise.
11875 * posix/Makefile: Likewise.
11876 * sysdeps/gnu/Makefile: Likewise.
11877 * sysdeps/mach/hurd/Makefile: Likewise.
11878 * sysdeps/sparc/sparc32/Makefile: Likewise.
11879
b0727fd8
JS
11880 [BZ #13118]
11881 * posix/Makefile (bug-regex32-ENV): Define.
11882 Patch by John Stanley <jpsinthemix@verizon.net>.
11883
a0f33f99
UD
11884 * misc/Makefile (headers): Add bits/select2.h.
11885 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11886 * misc/bits/select2.h: New file.
11887 * include/bits/select2.h: New file.
11888 * debug/Makefile (routines): Add fdelt_chk.
11889 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11890 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11891 FD_ISSET.
11892 * debug/fdelt_chk.c: New file.
11893
762011fe
UD
11894 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11895 * wcsmbs/test-wmemcmp.c: Likewise.
11896 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 11897 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
11898
118992011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11900
11901 * string/Makefile (strop-tests): Add memcmp.
11902 * string/test-wmemcmp.c: New file.
11903 * string/test-memcmp.c: Add wmemcmp support.
11904
7f513ec8
RM
119052011-09-08 Roland McGrath <roland@hack.frob.com>
11906
0442afb4
RM
11907 [BZ #13153]
11908 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11909 2011-07-19 change.
11910
7f513ec8
RM
11911 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11912 garbage value in a __mach_port_mod_refs call in the cases of the
11913 task-self and thread-self ports.
11914
a12b2239
ST
119152011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11916
11917 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11918
610f9ab4
AS
119192011-09-08 Andreas Schwab <schwab@redhat.com>
11920
7f513ec8 11921 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 11922
48882a1a
LD
119232011-09-07 Ulrich Drepper <drepper@gmail.com>
11924
b49865be
UD
11925 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11926
fdc86bc9
UD
11927 * elf/dl-libc.c (dlerror_run): Pass back error code from
11928 dl_catch_error.
11929
c966526a
UD
11930 [BZ #13123]
11931 * elf/dl-load.c (lose): Free l_origin if it is valid.
11932
48882a1a
LD
11933 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11934 names.
11935 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11936 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11937 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11938 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11939 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11940 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11941
77a2a8b4
AZ
119422011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11943
11944 * sysdeps/powerpc/fpu/e_hypot.c: New file.
11945 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11946 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11947 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11948 * sysdeps/powerpc/fpu/k_cosf.c: New file.
11949 * sysdeps/powerpc/fpu/k_sinf.c: New file.
11950 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11951 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11952 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11953 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11954
24f579d8
AM
119552011-08-15 Alan Modra <amodra@gmail.com>
11956
11957 [BZ #13092]
11958 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11959 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11960 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11961 ppc_mcount to static-only-routines.
11962 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11963 __mcount_internal.
11964 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11965 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11966
3d4837df
UD
119672011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11968
11969 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11970 for finite and infinity parameters.
11971
22700377
WS
119722011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11973
11974 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11975 and add nop instructions for throughput optimization.
11976 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11977
5025581e
WS
119782011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
11979
11980 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11981 aligned copy for power7 with vector-scalar instructions.
11982 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11983
08a300c9
L
119842011-07-24 H.J. Lu <hongjiu.lu@intel.com>
11985
11986 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11987 AVX check.
11988
59178ef9
AS
119892011-09-07 Andreas Schwab <schwab@redhat.com>
11990
11991 [BZ #13144]
11992 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
11993 last change.
11994
e38ba7ab
UD
119952011-09-07 Ulrich Drepper <drepper@gmail.com>
11996
11997 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11998 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11999 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12000 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12001 clock_gettime.
12002
d53a73ac
UD
120032011-09-06 Ulrich Drepper <drepper@gmail.com>
12004
fc8bffcc
UD
12005 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12006 Forgot to demangle the pointer.
12007
ceaa0c5d
UD
12008 * sysdeps/i386/sysdep.h: Define atom_text_section.
12009 * sysdeps/x86_64/sysdep.h: Likewise.
12010 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12011 section with atom_text_section.
12012 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12013 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12014 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12015 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12016 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12017
a77d3c17
UD
12018 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12019 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12020 already be defined. Change to take two parameters and don't assign
12021 result to variable. Adjust all users.
12022 Define INTERNAL_GETTIME if not already defined.
12023 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12024 call.
12025 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12026 HAVE_CLOCK_GETTIME_VSYSCALL.
12027 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12028
d53a73ac
UD
12029 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12030 gettimeofday vsyscall, just use time.
12031
a8f84144
AS
120322011-09-06 Andreas Schwab <schwab@redhat.com>
12033
12034 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12035 <errno.h>.
12036
ef606249
UD
120372011-09-06 Ulrich Drepper <drepper@gmail.com>
12038
12039 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12040 syscall on x86-64.
12041 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12042 syscall.
12043 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12044 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12045 syscall if possible.
12046
6585cb60
UD
120472011-09-05 Ulrich Drepper <drepper@gmail.com>
12048
12049 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12050 e_ident. Don't pass to find_mapsXX.
12051 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12052
a5f524e4
LD
120532011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12054
12055 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12056 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12057 * sysdeps/x86_64/multiarch/strchr.S: Update.
12058 Check bit_slow_BSF bit.
12059 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12060 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12061 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12062
554881ef
UD
120632011-09-05 Ulrich Drepper <drepper@gmail.com>
12064
d96de963
UD
12065 [BZ #13134]
12066 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12067 before glibc 2.15.
12068 (tryshell): Define.
12069 (__spawni): Change last parameter to be flag. Test
12070 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12071 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12072 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12073 * posix/spawni.c: Likewise.
12074 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12075 * posix/spawnp.c: Likewise. Change normal version to use
12076 SPAWN_XFLAGS_USE_PATH.
12077 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12078 SPAWN_XFLAGS_TRY_SHELL.
12079
d48e5868
UD
12080 [BZ #13150]
12081 * posix/glob.h: Remove gcc 1.x support.
12082
554881ef
UD
12083 [BZ #13068]
12084 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12085
693fb948
LD
120862011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12087
12088 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12089 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12090 strrchr-sse2-bsf
12091 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12092 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12093 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12094 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12095 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12096 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12097
1b48c537
UD
120982011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12099
49d42c37
UD
12100 * sysdeps/x86_64/wcscmp.S: New file.
12101
1b48c537
UD
12102 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12103 wcscmp-c wcscmp-sse2
12104 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12105 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12106 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12107 * wcsmbs/wcscmp.c: Allow renaming.
12108
15c95c5d
DM
121092011-09-05 David S. Miller <davem@davemloft.net>
12110
12111 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12112 stack slot, rather than the struct return pointer slot.
12113 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12114 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12116 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12117
2f0ad8f3
UD
121182011-09-05 Ulrich Drepper <drepper@gmail.com>
12119
d88ae418
UD
12120 * po/ja.po: Update from translation team.
12121
2f0ad8f3
UD
12122 [BZ #13144]
12123 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12124 kernel in 64-bit binaries.
12125
5f4318d1
DM
121262011-09-01 David S. Miller <davem@davemloft.net>
12127
12128 * elf/elf.h (HWCAP_SPARC_*): Move to..
12129 * sysdeps/sparc/sysdep.h: this new file and add new values.
12130 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12131 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12132 _DL_HWCAP_COUNT to 24.
12133 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12134 entries.
12135 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12136 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12137 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12138 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12139 instead of magic constants.
12140 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12141
3ba57516
DM
121422011-08-31 David S. Miller <davem@davemloft.net>
12143
12144 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12145 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12146 Reimplement to do errno handling inline.
12147 (SYSCALL_ERROR_HANDLER): New macro.
12148 (__SYSCALL_STRING): Do not do errno handling in asm.
12149 (__CLONE_SYSCALL_STRING): Delete.
12150 (__INTERNAL_SYSCALL_STRING): Delete.
12151 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12152 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12153 (PSEUDO): Reimplement to do errno handling inline.
12154 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12155 (SYSCALL_ERROR_HANDLER): New macro.
12156 (__SYSCALL_STRING): Do not do errno handling in asm.
12157 (__CLONE_SYSCALL_STRING): Delete.
12158 (__INTERNAL_SYSCALL_STRING): Delete.
12159 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12160 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12161 i386.
12162 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12163 (inline_syscall*): Add 'err' argument.
12164 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12165 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12166 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12167 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12168
12169 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12170 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12171
2bc17433
AS
121722011-08-30 Andreas Schwab <schwab@redhat.com>
12173
12174 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12175
fbeb5f4d
JO
121762011-08-29 Jiri Olsa <jolsa@redhat.com>
12177
12178 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12179 directive.
12180
ad69cc26
DM
121812011-08-24 David S. Miller <davem@davemloft.net>
12182
12183 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12184
39dd69df
AS
121852011-08-24 Andreas Schwab <schwab@redhat.com>
12186
12187 * elf/Makefile: Add rules to build and run unload8 test.
12188 * elf/unload8.c: New file.
12189 * elf/unload8mod1.c: New file.
12190 * elf/unload8mod1x.c: New file.
12191 * elf/unload8mod2.c: New file.
12192 * elf/unload8mod3.c: New file.
12193
12194 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12195 it wasn't used.
12196
2c0b250a
DM
121972011-08-23 David S. Miller <davem@davemloft.net>
12198
12199 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12200 subtract stack bias.
12201 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12202 %sp not %fp in calculations.
12203 (_JMPBUF_UNWINDS_ADJ): Likewise.
12204
22044b48
DM
12205 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12206 (aio_suspend): Call it to force an exception region around the
12207 AIO_MISC_WAIT() invocation.
12208
2cae4995
AS
122092011-08-23 Andreas Schwab <schwab@redhat.com>
12210
12211 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12212 backslash.
12213
873a772e
AJ
122142011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12215
12216 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12217 protection macro.
12218 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12219 and <dl-machine.h>.
12220 (Elf64_FuncDesc): Remove.
12221
25ad0df1
DM
122222011-08-22 David S. Miller <davem@davemloft.net>
12223
12224 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12225 sigaltstack check, add missing cfi directives.
12226 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12227 missing cfi directives, and sigaltstack handling.
12228
e888bcbe
AS
122292011-08-16 Andreas Schwab <schwab@redhat.com>
12230
12231 [BZ #11724]
12232 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12233 object is seen twice.
12234 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12235
12236 * elf/Makefile (distribute): Add tst-initorder2.c.
12237 (tests): Add tst-initorder2.
12238 (modules-names): Add tst-initorder2a tst-initorder2b
12239 tst-initorder2c tst-initorder2d. Add rules to build them.
12240 ($(objpfx)tst-initorder2.out): New rule.
12241 * elf/tst-initorder2.c: New file.
12242 * elf/tst-initorder2.exp: New file.
12243
87162f46
AS
122442011-08-22 Andreas Schwab <schwab@redhat.com>
12245
70538b7f
AS
12246 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12247
f55ffe58
AS
12248 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12249 dependencies back to end of function.
12250
87162f46
AS
12251 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12252 $(elfobjdir)/ld.so.
12253
91b392a4
UD
122542011-08-21 Ulrich Drepper <drepper@gmail.com>
12255
12256 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12257 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12258 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12259 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12260 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12261 of __vdso_gettimeofday.
12262 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12263 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12264 attribute_hidden.
12265 (_libc_vdso_platform_setup): Remove initialization of
12266 __vdso_gettimeofday and __vdso_time.
12267
5c43483f
UD
122682011-08-20 Ulrich Drepper <drepper@gmail.com>
12269
775a77e7
UD
12270 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12271 and fgetc_unlocked.
12272 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12273 getc_unlocked.
89f447ed 12274
49c74ba9
UD
12275 * elf/dl-open.c (add_to_global): Report additions to the global scope
12276 for LD_DEBUG=scopes.
12277 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12278 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12279
5c43483f
UD
12280 [BZ #13114]
12281 * stdio-common/Makefile (tests): Add bug24.
12282 * stdio-common/bug24.c: New file.
12283
a101b025
AJ
122842011-08-19 Andreas Jaeger <aj@suse.de>
12285
12286 [BZ #13114]
12287 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12288 non-existant file when using close-on-exec mode.
12289
c88f1766
UD
122902011-08-20 Ulrich Drepper <drepper@gmail.com>
12291
0276a718
UD
12292 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12293 the very first instruction.
12294
c88f1766
UD
12295 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12296 the CFI state in the end.
12297 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12298 inclusion of dl-trampoline.h.
12299 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12300
51ccffa0
AS
123012011-08-19 Andreas Schwab <schwab@redhat.com>
12302
94d7165f
AS
12303 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12304 expectations for long double.
12305
51ccffa0
AS
12306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12307 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12308
fd708658 123092011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12310
12311 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12312 artificual limit depends upon the system page size.
12313
44f0a71e
UD
123142011-08-17 Ulrich Drepper <drepper@gmail.com>
12315
12316 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12317 * resolv/Makefile: Define CFLAGS-libresolv.
12318
8de79a24
AS
123192011-08-17 Andreas Schwab <schwab@redhat.com>
12320
12321 * nss/makedb.c (compute_tables): Make variables used in nested
12322 function static.
12323
27724598
UD
123242011-08-17 Ulrich Drepper <drepper@gmail.com>
12325
c5305d88
UD
12326 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12327 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12328 if buffer was too small.
12329
27724598
UD
12330 * elf/pldd.c (main): Attach to all threads in the process.
12331 Rewrite /proc handling to use *at functions.
12332
076fe015
UD
123332011-08-16 Ulrich Drepper <drepper@gmail.com>
12334
174baab3
UD
12335 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12336 specifies first scope to show.
12337 (dl_open_worker): Update callers. Move printing scope of new
12338 object to before the relocation.
44f0a71e 12339 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12340 * sysdeps/generic/ldsodefs.h: Update declaration.
12341
076fe015
UD
12342 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12343 string for the scope number.
12344
a60df2c3
UD
123452011-08-14 Ulrich Drepper <drepper@gmail.com>
12346
12347 * nscd/servicescache.c (cache_addserv): Make sure written is always
12348 initialized.
12349
5e4287d1
RM
123502011-08-14 Roland McGrath <roland@hack.frob.com>
12351
85ae0589
RM
12352 * sysdeps/i386/i486/bits/atomic.h
12353 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12354 statement expression, so as to suppress "set but not used" warning.
12355 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12356
69f63097
RM
12357 * string/strncat.c (STRNCAT): Use prototype definition.
12358
675456ef
RM
12359 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12360 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12361 -Iprograms here.
12362 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12363 (localedef-modules): Add localedef.
12364 (locale-modules): Add locale.
12365
5e4287d1
RM
12366 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12367 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12368 to avoid a warning.
12369
9c96ff23
DM
123702011-08-14 David S. Miller <davem@davemloft.net>
12371
12372 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12373 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12374
f9ddf089
UD
123752011-08-13 Ulrich Drepper <drepper@gmail.com>
12376
44f0a71e 12377 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12378 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12379 * elf/rtld.c (dl_main): Set l_name of vDSO.
12380 Call _dl_show_scope when DL_DEBUG_SCOPES.
12381 (process_dl_debug): Recognize scopes flag and also set it for all.
12382 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12383 Declare _dl_show_scope.
12384
1dc27704
UD
12385 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12386 (do_dlopen): Pass caller_dlopen to dl_open.
12387 (__libc_dlopen_mode): Initialize caller_dlopen.
12388
f9ddf089
UD
12389 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12390 of libc. Make tolower call locale-independent. Optimize a bit by
12391 using isdigit instead of isalnum.
12392 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12393
9ac533d3
UD
123942011-08-12 Ulrich Drepper <drepper@gmail.com>
12395
12396 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12397 was a dependency or dynamically loaded.
12398
89edf2e9
UD
123992011-08-11 Ulrich Drepper <drepper@gmail.com>
12400
8e999d29
UD
12401 * intl/l10nflist.c: Allow architecture-specific pop function.
12402 * sysdeps/x86_64/l10nflist.c: New file.
12403
89edf2e9
UD
12404 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12405 classification.
12406
14d96785
AS
124072011-08-10 Andreas Schwab <schwab@redhat.com>
12408
12409 * include/dirent.h: Add libc_hidden_proto for scandirat and
12410 scandirat64. Don't declare __scandirat64.
12411 * dirent/scandirat.c: Add libc_hidden_def.
12412 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12413 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12414
6761ac04
DM
124152011-08-10 David S. Miller <davem@davemloft.net>
12416
12417 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12418 enum.
12419 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12420 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12421 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12422
c55fbd1e
UD
124232011-08-09 Ulrich Drepper <drepper@gmail.com>
12424
12425 * Versions.def [libc]: Add GLIBC_2.15.
12426 * dirent/Makefile (routines): Add scandirat and scandirat64.
12427 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12428 GLIBC_2.15.
12429 * dirent/dirent.h: Declare scandirat and scandirat64.
12430 * dirent/scandirat.c: New file.
12431 * dirent/scandirat64.c: New file.
12432 * sysdeps/wordsize-64/scandirat.c: New file.
12433 * sysdeps/wordsize-64/scandirat64.c: New file.
12434 * dirent/opendir.c: Define opendirat.
12435 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12436 using scandirat.
12437 * dirent/scandir64.c: Adjust for scandir.c change.
12438 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12439 __scandirat64, and __scandir_cancel_handler.
12440 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12441 additional parameter and use openat instead of open (outside of ld.so).
12442 Add new __opendir as wrapper around __opendirat.
12443 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12444 here without requiring old scandirat implementation.
12445
879165f2
UD
124462011-08-08 Ulrich Drepper <drepper@gmail.com>
12447
12448 * dirent/scandir.c (cancel_handler): Renamed to
12449 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12450 defined. Adjust users.
12451 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12452 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12453
cb7e923b
UD
124542011-08-04 Ulrich Drepper <drepper@gmail.com>
12455
16292edd
UD
12456 * string/test-string.h (IMPL): Use __STRING to expand name and then
12457 stringify it.
12458
cb7e923b
UD
12459 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12460 of cleanups.
12461
cff82933
LD
124622011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12463
12464 * string/Makefile: Update.
12465 (strop-tests): Append strncat.
12466 * string/test-wcscmp.c: New file.
12467 New comprehensive test for wcscmp.
12468 * string/test-strcmp.c: Update.
12469 (WIDE): New define.
12470
9be9bfcc
AS
124712011-07-22 Andreas Schwab <schwab@redhat.com>
12472
12473 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12474 line.
12475
2e96f1c7
AS
124762011-07-26 Andreas Schwab <schwab@redhat.com>
12477
12478 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12479 encoding to ACE if AI_IDN.
12480
85188888
JJ
124812011-08-01 Jakub Jelinek <jakub@redhat.com>
12482
12483 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12484 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12485
5fa16e9b
LD
124862011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12487
12488 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12489 Fix overflow bug in strncat.
12490 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12491
12492 * string/test-strncat.c: Update.
12493 Add new tests for checking overflow bugs.
12494
124952011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12496
12497 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12498 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12499 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12500 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12501 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12502 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12503 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12504 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12505 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12506
12507 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12508 (USE_AS_STRCAT): Define.
12509 Add strcat and strncat support.
12510 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12511
8c1a459f
AS
125122011-07-25 Andreas Schwab <schwab@redhat.com>
12513
12514 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12515 __n bigger than INT_MAX+1.
12516 (__strncmp_g): Likewise.
12517
bba33c28
UD
125182011-07-23 Ulrich Drepper <drepper@gmail.com>
12519
798be72d
UD
12520 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12521 * libio/stido.h: Likewise.
12522
8accd4dc
UD
12523 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12524 (AF_NFC): Define.
12525 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12526 (AF_NFC): Define.
12527
cbff0d96
UD
12528 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12529 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12530 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12531 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12532 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12533
9191c04a
UD
12534 [BZ #13021]
12535 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12536 installed.
12537
bba33c28
UD
12538 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12539 typo.
12540 (_dl_x86_64_save_sse): Likewise.
12541
90f139dd
UD
125422011-07-22 Ulrich Drepper <drepper@gmail.com>
12543
1aae088a
UD
12544 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12545 OSXSAVE.
12546 (_dl_x86_64_save_sse): Likewise.
12547
8e2045f5
UD
12548 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12549
90f139dd
UD
12550 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12551
1d002f25
AS
125522011-07-21 Andreas Schwab <schwab@redhat.com>
12553
12554 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12555 change.
12556 (_dl_x86_64_save_sse): Use correct AVX check.
12557
21137f89
UD
125582011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12559
12560 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12561 bug in strncpy/strncat.
12562 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12563
a65c0b7a
UD
125642011-07-21 Ulrich Drepper <drepper@gmail.com>
12565
12566 * string/tester.c (test_strcat): Add tests for different alignments
12567 of source and destination.
12568 (test_strncat): Likewise.
12569
6986b98a
UD
125702011-07-20 Ulrich Drepper <drepper@gmail.com>
12571
90bb2039
UD
12572 [BZ #12852]
12573 * posix/glob.c (glob): Check passed in values before using them in
12574 expressions to avoid some overflows.
12575 (glob_in_dir): Likewise.
12576
5644ef54
UD
12577 [BZ #13007]
12578 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12579 check for AVX enablement so that we don't crash with old kernels and
12580 new hardware.
12581 * elf/tst-audit4.c: Add same checks here.
12582 * elf/tst-audit6.c: Likewise.
12583
12584 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 12585
bfc9dc9b
AS
125862011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12587
12588 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12589
702e64bb
UD
125902011-07-20 Ulrich Drepper <drepper@gmail.com>
12591
12592 * po/cs.po: Update from translation team.
12593 * po/bg.po: Likewise.
12594
295e904f
MP
125952011-07-12 Marek Polacek <mpolacek@redhat.com>
12596
12597 * misc/sys/cdefs.h: Add support for const attribute.
12598 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12599 to gnu_dev_{major,minor,makedev} functions.
12600
3ff94596
MP
126012011-07-20 Marek Polacek <mpolacek@redhat.com>
12602
12603 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12604
28b59fca
AS
126052011-07-20 Andreas Schwab <schwab@redhat.com>
12606
12607 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12608 strlen results.
12609
19df733e
AK
126102011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12611
12612 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12613 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12614 register in order to avoid conflicts with the soft frame pointer
12615 being held in r11 when necessary.
12616 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12617 (INTERNAL_VSYSCALL_NCS): Likewise.
12618
c8835729
MP
126192011-07-14 Marek Polacek <mpolacek@redhat.com>
12620
12621 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12622 * elf/dl-fini.c (_dl_fini): Adjust caller.
12623 * elf/dl-close.c (_dl_close_worker): Likewise.
12624 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12625
b902330c
MP
126262011-07-15 Marek Polacek <mpolacek@redhat.com>
12627
8991e135
MP
12628 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12629 "aux_cache->nlibs < 0".
12630
b902330c
MP
12631 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12632 in the reload-count case.
12633
99710781
LD
126342011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12635
12636 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12637 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12638 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12639 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12640 * sysdeps/x86_64/multiarch/strcat.S: New file.
12641 * sysdeps/x86_64/multiarch/strncat.S: New file.
12642 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12643 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12644 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12645 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12646 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12647 (USE_AS_STRCAT): Define.
12648 Add strcat and strncat support.
12649 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12650 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12651 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12652 * string/strncat.c: Update.
12653 (USE_AS_STRNCAT): Define.
12654 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12655 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12656 and i7.
12657 * sysdeps/x86_64/multiarch/init-arch.h
12658 (bit_Prefer_PMINUB_for_stringop): New.
12659 (index_Prefer_PMINUB_for_stringop): Likewise.
12660 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12661 bit_Prefer_PMINUB_for_stringop.
12662
7dc6bd90
UD
126632011-07-19 Ulrich Drepper <drepper@gmail.com>
12664
12665 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12666 buffer64.
12667 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12668 of casting of buffer.
12669 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12670 buffer32 and buffer64.
12671 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12672 writes instead of casting of buffer.
12673 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12674 buffer32.
12675 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12676 casting of buffer.
12677
e0e72284
AS
126782011-07-19 Andreas Schwab <schwab@redhat.com>
12679
12680 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12681
feb1eb0b
UD
126822011-07-19 Ulrich Drepper <drepper@gmail.com>
12683
12684 * nscd/nscd.c (termination_handler): Don't do anything for a database
12685 if it has not yet been initialized.
12686
298711ff
UD
126872011-07-18 Ulrich Drepper <drepper@gmail.com>
12688
12689 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12690
126912011-07-15 Marek Polacek <mpolacek@redhat.com>
12692
12693 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12694
f9d68389
UD
126952011-07-18 Ulrich Drepper <drepper@gmail.com>
12696
12697 * po/nl.po: Update from translation team.
12698 * po/sv.po: Likewise.
12699
db290cf5
RM
127002011-07-16 Roland McGrath <roland@hack.frob.com>
12701
12702 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12703 now disallowed by GCC.
5c550700 12704
fd5e21c7
RM
12705 * configure.in (use-default-link): Default to yes if a test -shared
12706 link meets our qualifications.
12707 * configure: Regenerated.
12708
5c550700
RM
12709 * config.make.in (output-format): New variable.
12710 * configure.in: Check for ld --print-output-format support.
12711 * configure: Regenerated.
12712 * Makerules ($(common-objpfx)format.lds)
12713 [$(output-format) != unknown]: Just use $(output-format),
12714 instead of the linker-script munging.
12715
9fa2c032
RM
127162011-07-14 Roland McGrath <roland@hack.frob.com>
12717
a6928d51
RM
12718 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12719 of $(common-objpfx)shlib.lds.
12720 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12721
661607b3
RM
12722 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12723 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12724
9fa2c032
RM
12725 * configure.in (-z relro check): Adjust test code to add a large
12726 writable data section after it.
12727 * configure: Regenerated.
12728
defe9061
RM
127292011-07-11 Roland McGrath <roland@hack.frob.com>
12730
12731 * configure.in (-z relro check): Fix test code to make the variable
12732 truly const.
12733 * configure: Regenerated.
12734
319b9ad4
UD
127352011-07-11 Ulrich Drepper <drepper@gmail.com>
12736
12737 * nscd/nscd.h (struct traced_file): Define.
12738 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12739 elements. Add traced_files.
12740 (inotify_fd): Declare.
12741 (register_traced_file): Declare.
12742 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12743 (inotify_fd): Export.
12744 (resolv_conf_descr): Remove.
12745 (nscd_init): Move inotify descriptor creation to main.
12746 Don't register files for notification here.
12747 (register_traced_file): New function.
12748 (invalidate_cache): Don't use reset_res to determine whether to call
12749 res_init, go through the list of registered files.
12750 (main_loop_poll): The inotify descriptors are now stored in the
12751 structures for the traced files.
12752 (main_loop_epoll): Likewise
12753 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12754 to __nss_disable_nscd.
12755 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12756 for a database anymore. Check the records for all the registered
12757 files instead.
12758 * nss/Makefile (libnss_files-routines): Add files-init.
12759 (libnss_db-routines): Add db-init.
12760 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12761 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12762 * nss/nss_db/db-init.c: New file.
12763 * nss/nss_files/files-init.c: New file.
12764 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12765 __nss_lookup_function.
12766 (__nss_lookup_function): Call nss_load_library.
12767 (nss_load_all_libraries): New function.
12768 (__nss_disable_nscd): Take parameter with callback function for files
12769 to register. Set is_nscd. Load all the DSOs for the NSS modules
12770 used for the cached services.
12771 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12772 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12773 options for features to all the files in nscd.
12774
12775 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12776
23bee3e8
RM
127772011-07-10 Roland McGrath <roland@hack.frob.com>
12778
12779 * csu/elf-init.c (__libc_csu_init): Comment typo.
12780
46a5b7f0
UD
127812011-07-09 Ulrich Drepper <drepper@gmail.com>
12782
12783 * po/pl.po: Update from translation team.
12784 * po/ja.po: Likewise.
12785 * po/ru.po: Likewise.
12786 * po/ko.po: Likewise.
12787 * po/fr.po: Likewise.
12788
d30cf5bb
RM
127892011-07-09 Roland McGrath <roland@hack.frob.com>
12790
113ddea4
RM
12791 * configure.in (.ctors/.dtors header and trailer check):
12792 Use an empirical test on a built program.
12793 * configure: Regenerated.
12794
574920b4
RM
12795 * configure.in (-z relro check): Use an empirical test on a built DSO.
12796 Detect, but do not require, on ia64.
12797 * configure: Regenerated.
12798
d30cf5bb
RM
12799 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12800 Update tests that use readelf to use $READELF instead.
12801 * configure: Regenerated.
12802
8538fdb3
UD
128032011-07-08 Ulrich Drepper <drepper@gmail.com>
12804
12805 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12806 if the result is not used.
12807
04d08991
AJ
128082011-07-05 Andreas Jaeger <aj@suse.de>
12809
12810 [BZ#9696]
12811 * stdlib/tst-strtod.c: Add testcase.
12812
de283087
AD
128132011-07-07 Ulrich Drepper <drepper@gmail.com>
12814
4e5f31c8 12815 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 12816 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
12817 The latter has a higher limit. Take additional parameter to pass to
12818 the new function.
12819 (__pathconf): Pass file to __statfs_link_max.
12820 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12821 __statfs_link_max.
12822 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12823 __statfs_link_max.
12824
de283087
AD
12825 [BZ #12868]
12826 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12827 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12828 Handle Lustre.
12829 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12830 (__statfs_filesize_max): Likewise.
12831 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12832
c75fa153
AJ
128332011-07-05 Andreas Jaeger <aj@suse.de>
12834
12835 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12836
1a544854
UD
128372011-07-06 Marek Polacek <mpolacek@redhat.com>
12838
12839 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12840 `status' variable.
12841 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12842 Likewise.
12843
6f0eec67
UD
128442011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12845
12846 * Makefile (strop-tests): Add strncat.
12847 * string/test-strncat.c: New file.
12848
aae30307
UD
128492011-06-30 Marek Polacek <mpolacek@redhat.com>
12850
12851 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12852
c0cfb5eb
UD
128532011-06-21 Andreas Jaeger <aj@suse.de>
12854
12855 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12856 Copy rule from iconvdata/Makefile.
12857
01636b21
UD
128582011-07-06 Ulrich Drepper <drepper@gmail.com>
12859
12860 [BZ #12922]
12861 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12862 but no long options are defined, just return 'W'.
12863
9895c8bc
UD
128642011-06-22 Marek Polacek <mpolacek@redhat.com>
12865
12866 [BZ #9696]
12867 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12868
5d4cf042
UD
128692011-07-06 Ulrich Drepper <drepper@gmail.com>
12870
12871 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12872 netgroups to read.
960e5535 12873 (innetgr): Likewise.
5d4cf042 12874
751eb97e
RM
128752011-07-05 Roland McGrath <roland@hack.frob.com>
12876
12877 * config.make.in (install_root): Default to $(DESTDIR).
12878
f15f1e45
UD
128792011-07-05 Ulrich Drepper <drepper@gmail.com>
12880
12881 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12882
4e34ac6a
RM
128832011-07-02 Roland McGrath <roland@hack.frob.com>
12884
5e9b6af4
RM
12885 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12886
84f9ea0f
RM
12887 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12888 containing directory rather than embedding absolute directory names.
12889
ea5ee9f7
RM
12890 * scripts/check-local-headers.sh: Rewritten using awk.
12891 Match by word, not by line. Print error messages for matches.
12892 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12893
1b74661a
RM
12894 * Makerules [shlib-lds-flags empty]:
12895 ($(common-objpfx)libc_pic.opts): New target.
12896 ($(common-objpfx)libc_pic.os.clean): New target.
12897 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12898
12899 * config.make.in (OBJCOPY): New variable.
12900 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12901 * configure: Regenerated.
12902
f781ef40
RM
12903 * config.make.in (use-default-link): New variable.
12904 * configure.in (use_default_link): Grok --with-default-link to set it.
12905 * configure: Regenerated.
12906 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12907 (shlib-lds, shlib-lds-flags): Define to empty.
12908
2d4fa81e
RM
12909 * Makerules (shlib-lds): New variable.
12910 (shlib-lds-flags): New variable.
12911 (build-shlib, build-moduile, build-module-asneeded): Use it.
12912 ($(common-objpfx)libc.so): Use $(shlib-lds).
12913 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12914 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12915
31fffa6b
RM
12916 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12917 DT_FLAGS/DT_FLAGS_1 with zero flags.
12918
4e34ac6a
RM
12919 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12920 linker script munging.
12921
fcfc776b
UD
129222011-07-02 Ulrich Drepper <drepper@gmail.com>
12923
12924 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12925 as 128-bit value.
12926 * crypt/sha512.c (sha512_process_block): Perform total addition using
12927 128-bit if possible.
12928 (__sha512_finish_ctx): Likewise.
12929 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12930 as 64-bit value.
12931 * crypt/sha256.c (SWAP64): Define.
12932 (sha256_process_block): Perform total addition using 64-bit if
12933 possible.
12934 (__sha256_finish_ctx): Likewise.
12935
99231d9a
UD
129362011-07-01 Ulrich Drepper <drepper@gmail.com>
12937
12938 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
12939 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12940 * nscd/hstcache.c (cache_addhst): Likewise.
12941 * nscd/grpcache.c (cache_addgr): Likewise.
12942 * nscd/aicache.c (addhstaiX): Likewise
12943 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12944
445b4a53
TK
129452011-07-01 Thorsten Kukuk <kukuk@suse.de>
12946
12947 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12948 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12949 * nscd/hstcache.c (cache_addhst): Likewise.
12950 * nscd/grpcache.c (cache_addgr): Likewise.
12951 * nscd/aicache.c (addhstaiX): Likewise
12952
6d4d8e8e
AS
129532011-07-01 Andreas Schwab <schwab@redhat.com>
12954
12955 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12956 domain only when needed.
12957
89f654c5
AS
129582011-06-30 Andreas Schwab <schwab@redhat.com>
12959
12960 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12961 is always restored.
12962
cf3b23ff
UD
129632011-06-29 Ulrich Drepper <drepper@gmail.com>
12964
12965 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12966 are re-adding the entry.
12967 * nscd/servicescache.c (cache_addserv): Likewise.
12968
751626f9
AJ
129692011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12970
12971 * sysdeps/generic/dl-irel.h: fix protection against multiple
12972 inclusions.
12973 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12974
9113ea1f
UD
129752011-06-28 Ulrich Drepper <drepper@gmail.com>
12976
5c0b8d90
UD
12977 [BZ #12935]
12978 * malloc/memusage.sh: Fix quoting in message.
12979 * debug/xtrace.sh: Likewise.
12980
9113ea1f
UD
12981 * configure.in: Remove support for --experimental-malloc option, make
12982 it the default.
12983 * config.make.in: Likewise.
12984 * malloc/Makefile: Likewise.
12985
a4172181
AS
129862011-06-27 Andreas Schwab <schwab@redhat.com>
12987
12988 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12989 two-byte characters.
12990
78a7eee7
RM
129912011-06-27 Roland McGrath <roland@hack.frob.com>
12992
62bede13
RM
12993 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
12994 AC_CACHE_CHECK invocation.
12995 * configure: Regenerated.
12996
78a7eee7
RM
12997 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
12998
5ce33a62
UD
129992011-06-27 Ulrich Drepper <drepper@gmail.com>
13000
034807a9
UD
13001 [BZ #12350]
13002 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13003 bit from old_res_options.
13004
4902da17
UD
13005 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13006
5ce33a62
UD
13007 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13008 value type for setfct.
13009
c2344f56
L
130102011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13011
13012 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13013 __gettimeofday instead of gettimeofday.
13014
68468076
UD
130152011-06-26 Ulrich Drepper <drepper@gmail.com>
13016
13017 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13018
acb0d739
L
130192011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13020
13021 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13022
13023 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13024 info.
13025
8912479f
L
130262011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13027
13028 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13029 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13030 strcpy-sse2-unaligned strncpy-sse2-unaligned
13031 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13032 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13033 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13034 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13035 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13036 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13037 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13038 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13039 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13040 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13041 (STRCPY): Support SSE2 and SSSE3 versions.
13042
d5495a11
UD
130432011-06-24 Ulrich Drepper <drepper@gmail.com>
13044
13045 [BZ #12874]
13046 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13047 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13048 kernels which artificially limit size of requests.
13049
0b1cbaae
L
130502011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13051
13052 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13053 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13054 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13055 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13056 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13057 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13058 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13059 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13060 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13061 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13062 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13063 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13064 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13065 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13066 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13067 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13068 Enable unaligned load optimization for Intel Core i3, i5 and i7
13069 processors.
13070 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13071 Define.
13072 (index_Fast_Unaligned_Load): Define.
13073 (HAS_FAST_UNALIGNED_LOAD): Define.
13074
07f494a0
MP
130752011-06-23 Marek Polacek <mpolacek@redhat.com>
13076
13077 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13078
fa3fc0fe
UD
130792011-06-22 Ulrich Drepper <drepper@gmail.com>
13080
13081 [BZ #12907]
13082 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13083 until it is clear that the information is realy needed.
13084 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13085
e12df166
AS
130862011-06-22 Andreas Schwab <schwab@redhat.com>
13087
13088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13089
852eb34d
UD
130902011-06-22 Ulrich Drepper <drepper@gmail.com>
13091
84e2a551
UD
13092 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13093 /sys/devices/system/cpu/online if it is usable.
13094
852eb34d
UD
13095 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13096 reading the information from the /proc filesystem to once a second.
13097
6e502e19
UD
130982011-06-21 Andreas Jaeger <aj@suse.de>
13099
13100 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13101 NULL after inclusion of kernel headers.
13102
75d39ff2
UD
131032011-06-21 Ulrich Drepper <drepper@gmail.com>
13104
51f9aa6a
UD
13105 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13106 calls to internal_setent.
13107
c0244a9d
UD
13108 [BZ #12885]
13109 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13110 addresses using gethostbyname4_r ignore IPv4 addresses.
13111
c5e3c2ae
UD
13112 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13113 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13114
75d39ff2
UD
13115 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13116
42675c6f
DM
131172011-06-20 David S. Miller <davem@davemloft.net>
13118
13119 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13120 inclusions.
13121 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13122
13123 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13124 (elf_irel): Use it.
13125 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13126 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13127 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13128 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13129 * sysdeps/x86_64/dl-irel.h: Likewise.
13130
13131 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13132 * elf/dl-sym.c: Likewise.
13133
57912a71
UD
131342011-06-15 Ulrich Drepper <drepper@gmail.com>
13135
13136 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13137 need to dereference resplen2.
13138
ee22793d
AS
131392011-06-14 Andreas Schwab <schwab@redhat.com>
13140
13141 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13142
a9e836b0
UD
131432011-06-15 Ulrich Drepper <drepper@gmail.com>
13144
77fb9117
UD
13145 * Makeconfig: Define vardbdir and inst_vardbdir.
13146 * nss/Makefile: Add rules to install db-Makefile.
13147
40c1b22c
UD
13148 * nss/nss_db/db-XXX.c: Cleanup.
13149
9f2da732
UD
13150 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13151 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13152 GLIBC_PRIVATE.
13153 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13154 * nss/makedb.c: Implement -g option to specify that value strings
13155 are generated and should not be added to table iterated over for
13156 get*ent calls.
13157 * nss/nss_db/db-initgroups.c: New file.
13158
82e9a1f7
UD
13159 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13160 interface.
13161
c41af17e
UD
13162 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13163 (internal_getgrouplist): Adjust to name change.
13164 Update use_initgroups_entry if this is not the first call.
13165 * nss/databases.def: Add initgroups entry.
13166
a9e836b0
UD
13167 * nss/makedb.c (compute_tables): Check result of multiple hash table
13168 sizes to minimize maximum chain length.
13169
2666d441
UD
131702011-06-14 Ulrich Drepper <drepper@gmail.com>
13171
13172 * Versions.def: Add entry for libnss_db.
13173 * shlib-versions: Likewise.
13174 * nss/Makefile: Add rules to build libnss_db.
13175 * nss/Versions: Add libnss_db information. Organize libnss_files
13176 entries better.
13177 * nss/db-Makefile: Add gshadow support. Change rules for the new
13178 makedb progra. Some minor improvements to generate smaller files.
13179 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13180 here from...
13181 * nss/makedb.c: ...here.
13182 Improve database format to be smaller and require less memory at
13183 runtime.
13184 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13185 db anymore.
13186 * nss/nss_db/db-netgrp.c: Likewise.
13187 * nss/nss_db/db-open.c: Likewise.
13188 * nss/nss_files/flies-XXX.x: Adjust comments.
13189 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13190 * nss/nss_files/files-grp.c: Likewise.
13191 * nss/nss_files/files-hosts.c: Likewise.
13192 * nss/nss_files/files-network.c: Likewise.
13193 * nss/nss_files/files-proto.c: Likewise.
13194 * nss/nss_files/files-pwd.c: Likewise.
13195 * nss/nss_files/files-rpc.c: Likewise.
13196 * nss/nss_files/files-service.c: Likewise.
13197 * nss/nss_files/files-sgrp.c: Likewise.
13198 * nss/nss_files/files-spwd.c: Likewise.
13199 * nss/nss_db/db-alias.c: Removed.
13200 * nss/nss_db/dummy-db.h: Removed.
13201
9ee76b5a
UD
132022011-06-02 Ulrich Drepper <drepper@gmail.com>
13203
13204 * nss/makedb.c: Rewritten to not use database library.
13205 * nss/Makefile: Update to build new makedb program.
13206
c71ca1f8
AJ
132072011-06-14 Andreas Jaeger <aj@suse.de>
13208
13209 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13210 memset declaration.
13211
3154bfb8
UD
132122011-06-10 Andreas Schwab <schwab@redhat.com>
13213
13214 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13215 tmpbuf.
13216
b350afab
RM
132172011-06-10 Roland McGrath <roland@hack.frob.com>
13218
decd4e50
RM
13219 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13220 * elf/Makefile ($(objpfx)ld.so): Likewise.
13221
5615eaf2
RM
13222 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13223 Don't list ld.so twice in dependencies.
13224
13225 * posix/bug-regex31.c: Include <stdlib.h>.
13226
13227 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13228
13229 * nis/nss_compat/compat-spwd.c
13230 (getspent_next_nss_netgr): Remove unused variable.
13231 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13232
13233 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13234 nonmembers" output to use the right array.
13235
13236 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13237
13238 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13239
13240 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13241 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13242 * catgets/gencat.c (read_input_file): Likewise.
13243 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13244
13245 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13246 variable definition inside #if's controlling its use.
13247
13248 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13249
13250 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13251
13252 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13253
13254 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13255 unreachable code.
13256
13257 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13258
b68e08db
RM
13259 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13260 * configure: Regenerated.
13261
b350afab
RM
13262 * Makerules: Revert last change.
13263 * elf/Makefile: Likewise.
13264
28368601
RM
132652011-06-09 Roland McGrath <roland@hack.frob.com>
13266
13267 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13268 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13269 (reloc-link): Likewise.
13270
11988f8f
UD
132712011-06-09 Ulrich Drepper <drepper@gmail.com>
13272
13273 * elf/Makefile: Add rules to build pldd.
13274 * elf/pldd.c: New file.
13275 * elf/pldd-xx.c: New file.
13276
e80fab37
UD
132772011-06-07 Ulrich Drepper <drepper@gmail.com>
13278
13279 * version.h: Update for 2.15 development version.
13280
9b849836
DM
132812011-06-07 David S. Miller <davem@davemloft.net>
13282
13283 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13284 ifuncs.
13285 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13286 elf_machine_lazy_rel): Likewise.
13287 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13288 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13289 elf_machine_lazy_rel): Likewise.
13290 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13291 dl_hwcap via passed in argument.
13292 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13293 Likewise.
13294
5a31b283
AK
132952011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13296
13297 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13298
069e52f8
RM
132992011-06-06 Roland McGrath <roland@hack.frob.com>
13300
13301 [BZ #12849]
13302 * manual/fdl-1.1.texi: New file, verbatim from:
13303 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13304 * manual/lgpl-2.1.texi: New file, verbatim from:
13305 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13306 * manual/Makefile (licenses): New variable, list those new file names.
13307 (texis): Use it.
13308 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13309
13310 * manual/fdl.texi: File removed.
13311 * manual/lesser.texi: File removed.
13312 * manual/libc.texinfo (Copying, Documentation License):
13313 Use new @include file names, put @appendix directive before @include.
13314
f16846a5
JJ
133152011-06-04 Jakub Jelinek <jakub@redhat.com>
13316
13317 [BZ #12841]
13318 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13319 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13320 (mq_open): Add __NTH.
13321
3d29045b
L
133222011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13323
13324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13325 Assume Intel Core i3/i5/i7 processor if AVX is available.
13326
8c297311
UD
133272011-05-31 Ulrich Drepper <drepper@gmail.com>
13328
13329 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13330 typo.
13331
c8fc0c91
UD
133322011-05-31 Andreas Schwab <schwab@redhat.com>
13333
13334 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13335 memory. Use alloca_account. Fix memory leak when retrying.
13336
5b27a807
UD
133372011-05-31 Ulrich Drepper <drepper@gmail.com>
13338
356f8bc6
UD
13339 * version.h (RELEASE): Bump for 2.14 release.
13340 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13341
5b27a807
UD
13342 * config.make.in (RANLIB): Remove entry.
13343
01f16ab0
UD
133442011-05-30 Ulrich Drepper <drepper@gmail.com>
13345
41fce8bd
UD
13346 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13347 (libc.pot): Work around missing support for .ksh extension in xgettext.
13348
4769ae77
UD
13349 [BZ #12684]
13350 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13351 if both request failed.
13352 (send_dg): In case of server errors clear resplen or *resplen2.
13353
6b1e7d19
UD
13354 [BZ #12454]
13355 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13356 when there are multiple maps.
13357 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13358 (_dl_fini): Remove test here.
13359
01f16ab0
UD
13360 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13361
b1ebd700
UD
133622011-05-29 Ulrich Drepper <drepper@gmail.com>
13363
7ae22829
UD
13364 [BZ #12350]
13365 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13366 bit from old_res_options.
13367 (gaih_inet): Likewise.
13368
553149f6 13369 [BZ #11099]
18a84741 13370 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13371 as signed.
13372
652ffab1
UD
13373 * resolv/res_init.c (res_setoptions): Make the code more compact.
13374
16985fd0
UD
13375 [BZ #11558]
13376 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13377 set RES_USEVC.
13378
0464f746
UD
13379 [BZ #11634]
13380 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13381
7d17596c
UD
13382 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13383
cf6bbbd7
UD
13384 [BZ #11781]
13385 * malloc/malloc.h: Declare malloc hook variables as volatile.
13386
13f1ab36
UD
13387 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13388 in last patch.
13389
b1ebd700
UD
13390 [BZ #11799]
13391 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13392 raise in the comment.
80e2212d
UD
13393 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13394 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13395 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13396
ce67228d
UD
133972011-05-28 Ulrich Drepper <drepper@gmail.com>
13398
8887a920
UD
13399 [BZ #12811]
13400 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13401 grow the buffers more if it already has to be sufficient.
13402 (build_wcs_upper_buffer): Likewise.
13403 * posix/regexec.c (check_matching): Likewise.
13404 (clean_state_log_if_needed): Likewise.
13405 (extend_buffers): Don't enlarge buffers beyond size of the input
13406 buffer.
13407 Patches mostly by Emil Wojak <emil@wojak.eu>.
13408 * posix/bug-regex32.c: New file.
13409 * posix/Makefile (tests): Add bug-regex32.
13410
4f031072
UD
13411 * locale/findlocale.c (_nl_find_locale): Return right away if
13412 _nl_explode_name failed.
13413 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13414
d0478f0c
UD
13415 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13416
de81b246
UD
13417 * debug/xtrace.sh: Unify messages.
13418 * malloc/memusage.sh: Likewise.
13419
c738465a
UD
13420 [BZ #12813]
13421 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13422 time symbol from vDSO. Substitute with vsyscall if not available.
13423 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13424 __vdso_time.
13425
f1f929d7
UD
13426 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13427 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13428 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13429 Add sendmmsg and internal_sendmmsg.
13430 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13431 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13432 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13433
ce67228d
UD
13434 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13435 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13436 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13437
e57420c6
UD
134382011-05-27 Ulrich Drepper <drepper@gmail.com>
13439
a8509ca5
UD
13440 [BZ #12813]
13441 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13442 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13443 available.
13444 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13445 __vdso_getcpu.
13446
e57420c6
UD
13447 [BZ #12814]
13448 * iconvdata/Makefile (tests): Add bug-iconv9.
13449 * iconvdata/bug-iconv9.c: New file.
13450
4d07db15
AS
134512011-05-27 Andreas Schwab <schwab@redhat.com>
13452
13453 [BZ #12814]
13454 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13455
ea486f69
JJ
134562011-05-25 Jakub Jelinek <jakub@redhat.com>
13457
13458 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13459 (struct user_regs_struct): Change intcs field back to cs.
13460
6f038433
UD
134612011-05-25 Ulrich Drepper <drepper@gmail.com>
13462
13463 * po/ja.po: Update from translation team.
13464
67f86a25
UD
134652011-05-23 Ulrich Drepper <drepper@gmail.com>
13466
13467 [BZ #12795]
13468 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13469 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13470
def7fbd6
AS
134712011-05-20 Andreas Schwab <schwab@redhat.com>
13472
13473 * stdlib/longlong.h: Update from GCC.
13474
f50ef8f1
AS
134752011-05-23 Andreas Schwab <schwab@redhat.com>
13476
13477 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13478 parameter name.
13479 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13480 Add parameter name.
13481 (__sysconf): Pass it down.
13482
de7ce8f1
UD
134832011-05-22 Ulrich Drepper <drepper@gmail.com>
13484
f2962a71
UD
13485 [BZ #12671]
13486 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13487 some situations.
13488 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13489 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13490 add in in __libc_use_alloca calls. Adjust callers.
13491 (glob): Use malloc in some situations.
13492
de7ce8f1
UD
13493 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13494 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13495 pltexit.
13496
aec84f53
UD
134972011-05-21 Ulrich Drepper <drepper@gmail.com>
13498
05bb4a68
UD
13499 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13500 and CLOCK_BOOTTIME_ALARM.
13501
7ea72f99
UD
13502 [BZ #12782]
13503 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13504 is returned.
13505
7e4afad5
UD
13506 * string/_strerror.c (__strerror_r): Print negative errors as signed
13507 numbers.
13508
8e211fec
UD
13509 [BZ #12777]
13510 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13511 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13512 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13513
f7d82dc9
UD
13514 * configure.in: Fix typo in redirection and correct removal of test
13515 files in two cases.
13516
cc9e536d
UD
13517 [BZ #12788]
13518 * locale/setlocale.c (new_composite_name): Fix test to check for
13519 identical name of all categories.
13520
aec84f53
UD
13521 [BZ #12792]
13522 * libio/filedoalloc.c (local_isatty): New function.
13523 (_IO_file_doallocate): Use local_isatty.
13524 * stdio-common/perror.c (perror): In case a new stream is used
13525 forward the stream error.
13526 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13527 error flag.
13528
78e64fdc
RT
135292011-05-20 Ulrich Drepper <drepper@gmail.com>
13530
34a9094f
UD
13531 [BZ #11869]
13532 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13533 alloca.
13534 * include/alloca.h (extend_alloca_account): Define.
13535
78e64fdc
RT
13536 [BZ #11857]
13537 * posix/regex.h: Fix comments with documentation of user-accessible
13538 fields after compilation and describe correct free'ing of pattern
13539 after re_compile_pattern.
13540 Patch by Reuben Thomas <rrt@sc3d.org>.
13541
457bddfc
RA
135422011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13543
13544 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13545 and -mno-altivec to prevent the compiler from using Altivec and/or
13546 VSX instructions when the corresponding registers are not available.
13547
a4527b51
AS
135482011-05-19 Andreas Schwab <schwab@redhat.com>
13549
13550 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13551
ed690b2f
UD
135522011-05-19 Ulrich Drepper <drepper@gmail.com>
13553
13554 * libio/freopen.c (freopen): Use __dup2, not dup2.
13555 * libio/freopen64.c (freopen64): Likewise.
13556
8db73634
L
135572011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13558
13559 [BZ #12775]
13560 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13561 * math/Makefile (tests): Add test-powl.
13562 (CFLAGS-test-powl.c): Define.
13563 * math/test-powl.c: New file.
13564
0a197a9d
L
135652011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13566
13567 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13568
ee30c380
UD
135692011-05-17 Ulrich Drepper <drepper@gmail.com>
13570
13571 [BZ #11837]
13572 * iconvdata/gb18030.c: Update to GB18020-2005.
13573
6ce75379
UD
135742011-05-16 Ulrich Drepper <drepper@gmail.com>
13575
a4b89fd8
AR
13576 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13577 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13578 Patch by Aharon Robbins <arnold@skeeve.com>.
13579
ea389b12
UD
13580 [BZ #11892]
13581 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13582 on the stack.
13583
68a3f91f
UD
13584 [BZ #11895]
13585 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13586 through underflows.
13587
15cc7dd1
UD
13588 [BZ #12766]
13589 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13590 point to strings before performing equality test for error_one_per_line
13591 mode.
13592
f3799213
UD
13593 [BZ #11697]
13594 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13595
d79a9c94
UD
13596 [BZ #11820]
13597 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13598 (struct user_fpregs_struct): Avoid __uint*_t types.
13599
56e5eb46
UD
13600 [BZ #6420]
13601 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13602 symbol info. Use it instead of calling _dl_addr locally.
13603 (lock_and_info): New function.
13604 (tr_freehook): Call lock_and_info and pass symbol info as additional
13605 parameter to tr_where.
13606 (tr_mallochook): Likewise.
13607 (tr_reallochook): Likewise.
13608 (tr_memalignhook): Likewise.
13609
6ce75379
UD
13610 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13611 used and couldn't be at all thread-safe.
13612
f8a3b5bf
UD
136132011-05-15 Ulrich Drepper <drepper@gmail.com>
13614
94b7cc37
UD
13615 * libio/freopen.c (freopen): Don't close old file descriptor
13616 before the new one is opened. Instead dup the new file descriptor
13617 to the old one after the new stream is created.
13618 * libio/freopen64.c (freopen64): Likewise.
13619 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13620 * libio/fileops.c (_IO_new_file_close_it): Handle new
13621 _IO_FLAGS2_NOCLOSE flag.
13622 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13623 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13624 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13625 _IO_FLAGS2_NOCLOSE flag.
13626 * include/unistd.h: Add hidden_proto for dup3.
13627 Define __have_dup3.
13628 * io/dup3.c: Define hidden symbol.
13629 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13630
bd25564e
UD
13631 [BZ #7101]
13632 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13633 when an incomplete long option is used.
13634 * posix/tst-getopt_long1.c: New file.
13635 * posix/Makefile (tests): Add tst-getopt_long1.
13636
c84cfef4
UD
13637 [BZ #10138]
13638 * scripts/config.guess: Update from autoconf-2.68.
13639 * scripts/config.sub: Likewise.
13640
3b85df27
UD
13641 [BZ #10157]
13642 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13643 tests into ...
13644 (has_cpuclock): ...this. New function.
13645 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13646 macro here based on has_cpuclock code.
13647
15a856b1
UD
13648 [BZ #10149]
13649 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13650 First byte (not low byte) is now always NUL.
13651 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13652
05f399e6
UD
13653 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13654 Use non-cancelable interfaces.
13655
10a52685 13656 [BZ #9809]
94ecc67d
UD
13657 * locale/iso-639.def: Add entry for Sorani.
13658
f8a3b5bf
UD
13659 [BZ #11901]
13660 * include/stdlib.h: Move include protection to the right place.
13661 Define abort_msg_s. Declare __abort_msg with it.
13662 * stdlib/abort.c (__abort_msg): Adjust type.
13663 * assert/assert.c (__assert_fail_base): New function. Majority
13664 of code from __assert_fail. Allocate memory for __abort_msg with
13665 mmap.
13666 (__assert_fail): Now call __assert_fail_base.
13667 * assert/assert-perr.c: Remove bulk of implementation. Use
13668 __assert_fail_base.
13669 * include/assert.hL Declare __assert_fail_base.
13670 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13671 mmap.
13672 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13673
1af4e298
UD
136742011-05-14 Ulrich Drepper <drepper@gmail.com>
13675
f8a3b5bf 13676 [BZ #11952]
d26dfc60
MG
13677 [BZ #12453]
13678 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13679 until all modules are registered in the DTV.
13680 * elf/Makefile: Add rules to build and run tst-tls19.
13681 * elf/tst-tls19.c: New file.
13682 * elf/tst-tls19mod1.c: New file.
13683 * elf/tst-tls19mod2.c: New file.
13684 * elf/tst-tls19mod3.c: New file.
13685 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13686
2fc54d6f
UD
13687 [BZ #12083]
13688 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13689 correctly.
13690
98d76b46
UD
13691 [BZ #12601]
13692 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13693 two-byte sequence errors.
13694 * iconvdata/Makefile (tests): Add bug-iconv8.
13695 * iconvdata/bug-iconv8.c: New file.
13696
da3c19ef
UD
13697 [BZ #12626]
13698 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13699 buf2 definition.
13700
ca408c15
UD
13701 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13702
d6f67f7d
UD
13703 [BZ #12432]
13704 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13705 (dummy_getcfa): New function.
13706 (init): Get _Unwind_GetCFA address, use dummy if not found.
13707 (backtrace_helper): In recursion check, also check whether CFA changes.
13708 (__backtrace): Completely initialize arg.
13709
1af4e298 13710 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
13711 storing incomplete byte sequence in state object. Avoid testing for
13712 guaranteed too small input if we know there is enough data available.
1af4e298 13713
da62f81b
AS
137142011-05-11 Andreas Schwab <schwab@redhat.com>
13715
13716 * Makeconfig (+link-pie): Indent.
13717 * Rules (binaries-pie): Define if $(have-fpie) and
13718 $(build-shared).
13719 (binaries-shared): Also filter out $(binaries-pie).
13720 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13721 * nscd/Makefile (others-pie): Add nscd.
13722 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13723 ($(objpfx)nscd): Remove command override.
13724 * login/Makefile (others-pie): Add pt_chown.
13725 ($(objpfx)pt_chown): Remove command override.
13726 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13727 remove command overrides.
13728
fcabc0f8
UD
137292011-05-13 Ulrich Drepper <drepper@gmail.com>
13730
20030ae6
UD
13731 * libio/tst_putwc.c: Fix error messages.
13732
fcabc0f8
UD
13733 [BZ #12724]
13734 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13735 currently writing and seek to current position when not.
13736 * libio/Makefile (tests): Add bug-fclose1.
13737 * libio/bug-fclose1.c: New file.
13738
320a5dc0
PB
137392011-05-12 Ulrich Drepper <drepper@gmail.com>
13740
13741 [BZ #12511]
13742 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13743 don't set DF_1_NODELETE here.
13744 (do_lookup_x): When entering new entry test for copy relocation
13745 and if necessary set DF_1_NODELETE flag.
13746 * elf/tst-unique4.cc: New file.
13747 * elf/tst-unique4.h: New file.
13748 * elf/tst-unique4lib.cc: New file.
13749 * elf/Makefile: Add rules to build and run tst-unique4.
13750 Patch by Piotr Bury <pbury@goahead.com>.
13751
22836f52
UD
137522011-05-11 Ulrich Drepper <drepper@gmail.com>
13753
f574184a
UD
13754 [BZ #12052]
13755 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13756
e1fb097f
UD
13757 [BZ #12625]
13758 * misc/mntent_r.c (addmntent): Flush the stream after the output
13759
22836f52
UD
13760 [BZ #12393]
13761 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13762 (is_trusted_path_normalize): Skip initial colon. Append slash
13763 to empty buffer. Duplicate is_trusted_path code but allow
13764 constructed patch to be prefix.
13765 (is_dst): Allow $ORIGIN followed by /.
13766 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13767 Correct testing of result of is_trusted_path_normalize
13768 (decompose_rpath): Fix warning.
13769
7b3b0b2a
UD
137702011-05-10 Ulrich Drepper <drepper@gmail.com>
13771
13772 [BZ #11257]
13773 * grp/initgroups.c (internal_getgrouplist): When we found the service
13774 list through the initgroups entry in nsswitch.conf do not always
13775 continue on a successful lookup. Don't always use the
eac80ce2 13776 __nss_group_database value if it is set.
7b3b0b2a
UD
13777 * nss/nsswitch.conf (initgroups): Change action for successful db
13778 lookup to continue for compatibility.
13779
2a81eaa5
UD
137802011-05-09 Ulrich Drepper <drepper@gmail.com>
13781
be97a69e
UD
13782 [BZ #11532]
13783 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13784 and CP774 modules.
13785 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13786 and CP774 modules.
13787 * iconvdata/tst-tables.sh: Likewise.
13788 * iconvdata/cp770.c: New file.
13789 * iconvdata/cp771.c: New file.
13790 * iconvdata/cp772.c: New file.
13791 * iconvdata/cp773.c: New file.
13792 * iconvdata/cp774.c: New file.
13793 * iconvdata/testdata/CP770: New file.
13794 * iconvdata/testdata/CP770..UTF8: New file.
13795 * iconvdata/testdata/CP771: New file.
13796 * iconvdata/testdata/CP771..UTF8: New file.
13797 * iconvdata/testdata/CP772: New file.
13798 * iconvdata/testdata/CP772..UTF8: New file.
13799 * iconvdata/testdata/CP773: New file.
13800 * iconvdata/testdata/CP773..UTF8: New file.
13801 * iconvdata/testdata/CP774: New file.
13802 * iconvdata/testdata/CP774..UTF8: New file.
13803
13804 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13805 END CHARMAP line.
13806 * iconvdata/gen-8bit-gap.sh: Likewise.
13807 * iconvdata/gen-8bit.sh: Likewise.
13808
c1e9e399
UD
13809 * locale/iso-639.def: Add ary entry.
13810
24c55fb3 13811 [BZ #11258]
96b4b1b0
UD
13812 * locale/C-translit.h.in: Add U20A1 transliteration.
13813
bdc2f971
KB
13814 [BZ #12178]
13815 * locale/iso-639.def: Add wae entry.
13816 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13817
2952b117
UD
13818 [BZ #12545]
13819 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13820 for n.
13821
2a81eaa5
UD
13822 [BZ #12711]
13823 * locale/C-translit.h.in: Add entry for U20B9.
13824 Patch by pravin.d.s@gmail.com.
13825
28377d1b
UD
138262011-05-08 Ulrich Drepper <drepper@gmail.com>
13827
7fb90fb8
UD
13828 [BZ #12713]
13829 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13830 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
13831 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13832 in rtld. Use *stat64.
7fb90fb8 13833 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 13834 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 13835 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
13836 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13837 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13838 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13839 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13840 __fstatat64 macros.
7fb90fb8
UD
13841 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13842 * dirent/rewinddir.c: Add libc_hidden_def.
13843 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 13844 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 13845
28377d1b
UD
13846 * include/dirent.h (__alloc_dir): Add flags parameter.
13847 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13848 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13849 __alloc_dir.
13850 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13851 from fdopendir if O_CLOEXEC is already set.
13852
66bdbaa4
AM
138532011-03-15 Alan Modra <amodra@gmail.com>
13854
13855 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13856 l_tls_firstbyte_offset non-zero. Save padding offset in
13857 l_tls_firstbyte_offset for later use.
13858 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13859 freeing static tls block.
13860
95721191
JN
138612011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13862
13863 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13864 where #ifdef was intended. The intent is to prevent ARG_MAX from
13865 being defined by the kernel headers.
13866
f87dfb1f
UD
138672011-05-07 Ulrich Drepper <drepper@gmail.com>
13868
13869 [BZ #12734]
13870 * resolv/resolv.h: Define RES_NOTLDQUERY.
13871 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13872 no-tld-query and set RES_NOTLDQUERY.
13873 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13874 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13875 modern BIND to search name as TLD unless forbidden.
13876
47c3cd7a
UD
138772011-05-07 Petr Baudis <pasky@suse.cz>
13878 Ulrich Drepper <drepper@gmail.com>
13879
13880 [BZ #12393]
13881 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13882 (is_trusted_path): ...to here.
c1e9ea35 13883 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 13884 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 13885 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 13886
8a35c912
PP
138872011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13888
13889 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13890 __BEGIN/__END_DECLS.
13891
acd41f47
UD
138922011-05-06 Ulrich Drepper <drepper@gmail.com>
13893
13894 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13895 NSS_STATUS_NOTFOUND if no record was found.
13896
597df647
AS
138972011-05-05 Andreas Schwab <schwab@redhat.com>
13898
13899 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13900 (headers-not-in-tirpc): Remove rpc/netdb.h
13901 * resolv/netdb.h: Revert last change.
13902
b9af1301
PP
139032011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13904
13905 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13906 circular dependency between libgcc.a and libc.a.
13907
4e34d5f5
AS
139082011-05-05 Andreas Schwab <schwab@redhat.com>
13909
13910 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13911 * nis/Makefile: Don't install rpcsvc/*.
13912 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13913 instead of <rpc/types.h>.
13914 (MAXHOSTNAMELEN): Define.
13915
00ee369c
AS
139162011-05-03 Andreas Schwab <schwab@redhat.com>
13917
13918 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13919
0b592a30
MB
139202011-04-28 Maciej Babinski <mbabinski@google.com>
13921
13922 [BZ #12714]
13923 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13924 gethostbyname4_r when IPv6 results are possible.
13925
6e04cbbe
UD
139262011-05-02 Ulrich Drepper <drepper@gmail.com>
13927
13928 [BZ #12723]
13929 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13930 _PC_PIPE_BUF handling.
13931
e4ecafe0
BH
139322011-04-30 Bruno Haible <bruno@clisp.org>
13933
13934 [BZ #12717]
13935 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
13936 * resolv/netdb.h (getnameinfo): Change type of flags parameter
13937 to 'int'.
13938 * inet/getnameinfo.c (getnameinfo): Likewise.
13939
125ee683
UD
139402011-04-29 Ulrich Drepper <drepper@gmail.com>
13941
13942 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13943 to groups setting in database lookup.
13944 * nss/nsswitch.conf: Add initgroups entry.
13945
b722481a
EB
139462011-04-22 Ulrich Drepper <drepper@gmail.com>
13947
13948 [BZ #12685]
13949 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13950 mode string.
13951 Patch by Eric Blake <eblake@redhat.com>.
13952
4df46dbd
L
139532011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13954
13955 * sunrpc/Makefile (need-export-routines): Add svc_run.
13956 (routines): Remove svc_run.
13957 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13958 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13959 * sunrpc/svc_run.c (svc_run): Likewise.
13960 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13961
e84142d2
UD
139622011-04-21 Ulrich Drepper <drepper@gmail.com>
13963
13964 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13965 problem in reallocation in last patch.
13966
877175d8
UD
139672011-04-20 Ulrich Drepper <drepper@gmail.com>
13968
13969 * sunrpc/Makefile: Move inclusion of Rules.
13970
ab8eed78
UD
139712011-04-19 Ulrich Drepper <drepper@gmail.com>
13972
13973 * nss/nss_files/files-initgroups.c: New file.
13974 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13975 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13976 _nss_files_initgroups_dyn.
13977
e3d8f584
RS
139782011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
13979
13980 * elf/elf.h (R_ARM_IRELATIVE): Define.
13981
af190f45
UD
139822011-04-19 Ulrich Drepper <drepper@gmail.com>
13983
13984 * po/ru.po: Update from translation team.
13985
53cf59ef
UD
139862011-04-17 Ulrich Drepper <drepper@gmail.com>
13987
13988 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
13989 dependencies.
13990
4c559bcd
MF
139912011-02-06 Mike Frysinger <vapier@gentoo.org>
13992
13993 [BZ #12653]
13994 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
13995 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
13996 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13997 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13998 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13999
4420675c
AS
140002011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14001
14002 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14003 differing bytes.
14004 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14005 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14006 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14007
75ea32ab
UD
140082011-04-17 Ulrich Drepper <drepper@gmail.com>
14009
14010 [BZ #12420]
14011 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14012 storing it.
14013 * stdlib/bug-getcontext.c: New file.
14014 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14015
27390476
AK
140162011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14017
14018 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14019 instructions into .machine "z9-109".
14020 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14021 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14022
10442705
AK
140232011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14024
14025 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14026 between environment variables and auxiliary vector.
14027
7b57bfe5
UD
140282011-04-16 Ulrich Drepper <drepper@gmail.com>
14029
14030 * Makefile: Add rules to build linkobj/libc.so.
14031 * include/libc-symbols.h: Define libc_hidden_nolink.
14032 * include/rpc/auth.h: Mark functions which are to be hidden.
14033 * include/rpc/auth_des.h: Likewise.
14034 * include/rpc/auth_unix.h: Likewise.
14035 * include/rpc/clnt.h: Likewise.
14036 * include/rpc/des_crypt.h: Likewise.
14037 * include/rpc/key_prot.h: Likewise.
14038 * include/rpc/pmap_clnt.h: Likewise.
14039 * include/rpc/pmap_prot.h: Likewise.
14040 * include/rpc/pmap_rmt.h: Likewise.
14041 * include/rpc/rpc_msg.h: Likewise.
14042 * include/rpc/svc.h: Likewise.
14043 * include/rpc/svc_auth.h: Likewise.
14044 * include/rpc/xdr.h: Likewise.
14045 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14046 * nss/Makefile: Likewise.
14047 * sunrpc/Makefile: Don't install headers. Build library with normal
14048 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14049 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14050 for the compat linking library. Remove use of INTDEF/INTUSE.
14051 * sunrpc/auth_none.c: Likewise.
14052 * sunrpc/auth_unix.c: Likewise.
14053 * sunrpc/authdes_prot.c: Likewise.
14054 * sunrpc/authuxprot.c: Likewise.
14055 * sunrpc/clnt_gen.c: Likewise.
14056 * sunrpc/clnt_perr.c: Likewise.
14057 * sunrpc/clnt_raw.c: Likewise.
14058 * sunrpc/clnt_simp.c: Likewise.
14059 * sunrpc/clnt_tcp.c: Likewise.
14060 * sunrpc/clnt_udp.c: Likewise.
14061 * sunrpc/clnt_unix.c: Likewise.
14062 * sunrpc/des_crypt.c: Likewise.
14063 * sunrpc/des_soft.c: Likewise.
14064 * sunrpc/get_myaddr.c: Likewise.
14065 * sunrpc/key_call.c: Likewise.
14066 * sunrpc/key_prot.c: Likewise.
14067 * sunrpc/netname.c: Likewise.
14068 * sunrpc/pm_getmaps.c: Likewise.
14069 * sunrpc/pm_getport.c: Likewise.
14070 * sunrpc/pmap_clnt.c: Likewise.
14071 * sunrpc/pmap_prot.c: Likewise.
14072 * sunrpc/pmap_prot2.c: Likewise.
14073 * sunrpc/pmap_rmt.c: Likewise.
14074 * sunrpc/publickey.c: Likewise.
14075 * sunrpc/rpc_cmsg.c: Likewise.
14076 * sunrpc/rpc_common.c: Likewise.
14077 * sunrpc/rpc_dtable.c: Likewise.
14078 * sunrpc/rpc_prot.c: Likewise.
14079 * sunrpc/rpc_thread.c: Likewise.
14080 * sunrpc/rtime.c: Likewise.
14081 * sunrpc/svc.c: Likewise.
14082 * sunrpc/svc_auth.c: Likewise.
14083 * sunrpc/svc_authux.c: Likewise.
14084 * sunrpc/svc_raw.c: Likewise.
14085 * sunrpc/svc_run.c: Likewise.
14086 * sunrpc/svc_simple.c: Likewise.
14087 * sunrpc/svc_tcp.c: Likewise.
14088 * sunrpc/svc_udp.c: Likewise.
14089 * sunrpc/svc_unix.c: Likewise.
14090 * sunrpc/svcauth_des.c: Likewise.
14091 * sunrpc/xcrypt.c: Likewise.
14092 * sunrpc/xdr.c: Likewise.
14093 * sunrpc/xdr_array.c: Likewise.
14094 * sunrpc/xdr_float.c: Likewise.
14095 * sunrpc/xdr_intXX_t.c: Likewise.
14096 * sunrpc/xdr_mem.c: Likewise.
14097 * sunrpc/xdr_rec.c: Likewise.
14098 * sunrpc/xdr_ref.c: Likewise.
14099 * sunrpc/xdr_sizeof.c: Likewise.
14100 * sunrpc/xdr_stdio.c: Likewise.
14101
e6c61494
UD
141022011-04-10 Ulrich Drepper <drepper@gmail.com>
14103
14104 [BZ #12650]
14105 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14106 * sysdeps/ia64/dl-tls.h: Likewise.
14107 * sysdeps/powerpc/dl-tls.h: Likewise.
14108 * sysdeps/s390/dl-tls.h: Likewise.
14109 * sysdeps/sh/dl-tls.h: Likewise.
14110 * sysdeps/sparc/dl-tls.h: Likewise.
14111 * sysdeps/x86_64/dl-tls.h: Likewise.
14112 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14113
34fe483e
AS
141142011-03-14 Andreas Schwab <schwab@redhat.com>
14115
14116 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14117 rpath element also skip the following colon.
14118 (expand_dynamic_string_token): Add is_path parameter and pass
14119 down to DL_DST_REQUIRED and _dl_dst_substitute.
14120 (decompose_rpath): Call expand_dynamic_string_token with
14121 non-zero is_path. Ignore empty rpaths.
14122 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14123 with zero is_path.
14124
f12a32e6
AS
141252011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14126
14127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14128 Make cancelable.
14129
38a7d692
UD
141302011-04-09 Ulrich Drepper <drepper@gmail.com>
14131
14132 [BZ #12655]
14133 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14134 Patch by Filipe David Manana <fdmanana@apache.org>.
14135
e451d22b
AS
141362011-04-07 Andreas Schwab <schwab@redhat.com>
14137
14138 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14139 Maintain aligned stack.
14140 (CHECK_RSP): Remove unused macro.
14141
dedc7c7b
UD
141422011-04-03 Ulrich Drepper <drepper@gmail.com>
14143
14144 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14145 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14146
94521213
UD
141472011-04-02 Ulrich Drepper <drepper@gmail.com>
14148
14149 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14150
8cb700c0 14151 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14152
0354e355
L
141532011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14154
14155 [BZ #12518]
14156 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14157 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14158 * sysdeps/x86_64/memmove.c: New file.
14159 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14160 (memcpy): Renamed to ...
14161 (__new_memcpy): This.
14162 (memcpy): Provide GLIBC_2_14 memcpy.
14163 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14164 (memcpy): Provide GLIBC_2_2_5 memcpy.
14165
8593482f
UD
141662011-04-01 Ulrich Drepper <drepper@gmail.com>
14167
14168 [BZ #12631]
14169 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14170
81a5726b
AS
141712011-03-30 Andreas Schwab <schwab@redhat.com>
14172
14173 * misc/syncfs.c: New file.
14174 * misc/Makefile (routines): Add syncfs.
14175 * posix/unistd.h: Declare syncfs.
14176 * sysdeps/unix/syscalls.list: Add syncfs.
14177
00e5419f
AS
141782011-04-01 Andreas Schwab <schwab@redhat.com>
14179
14180 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14181 open_by_handle_at.
14182 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14183 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14184 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14185 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14186 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14187 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14188 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14189
748876bf
UD
141902011-04-01 Ulrich Drepper <drepper@gmail.com>
14191
658e451d
UD
14192 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14193 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14194 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14195 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14196 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14197 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14198 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14199
748876bf
UD
14200 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14201 sync_file_range.c with -fexceptions.
14202 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14203 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14204 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14205 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14206 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14207 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14208 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14209 sync_file_range as cancellation point
14210 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14211 now a wrapper around __call_sync_file_range with cancellation handling.
14212 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14213 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14214 function name to __call_sync_file_range.
14215 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14216 Add call_sync_file_range.
748876bf 14217
6e63d5e1
AS
142182011-04-01 Andreas Schwab <schwab@redhat.com>
14219
14220 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14221 bits/timex.h.
6e63d5e1 14222
46998f74
UD
142232011-04-01 Ulrich Drepper <drepper@gmail.com>
14224
4c1423ed
UD
14225 * iconv/iconv.h: Fix typo in comment.
14226 * io/fcntl.h: Likewise.
14227 * libio/stdio.h: Likewise.
14228 * posix/spawn.h: Likewise.
14229 * posix/unistd.h: Likewise.
14230 * stdlib/stdlib.h: Likewise.
14231 * time/time.h: Likewise.
14232 * wcsmbs/wchar.h: Likewise.
14233
158648c0
UD
14234 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14235 open_by_handle): Add.
14236 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14237 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14238 Augment a few comments.
14239 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14240 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14241 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14242 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14243 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14244 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14245 open_by_handle.
14246
46998f74
UD
14247 * io/fcntl.h (AT_EMPTY_PATH): Define.
14248
83fe108b
UD
142492011-03-30 Ulrich Drepper <drepper@gmail.com>
14250
14251 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14252 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14253 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14254 to...
14255 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14256 * Versions.def: Add GLIBC_2.14.
14257 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14258 Export.
83fe108b 14259
bb242059
UD
142602011-03-22 Ulrich Drepper <drepper@gmail.com>
14261
14262 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14263 round counter.
14264 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14265
c97a1282
L
142662011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14267
14268 [BZ #12597]
14269 * string/test-strncmp.c (do_page_test): New function.
14270 (check2): Likewise.
14271 (test_main): Call check2.
14272 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14273
2a115601
UD
142742011-03-20 Ulrich Drepper <drepper@gmail.com>
14275
14276 [BZ #12587]
14277 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14278 Handle cache information in CPU leaf 4.
14279 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14280
8126d904
UD
142812011-03-18 Ulrich Drepper <drepper@gmail.com>
14282
042c49c6 14283 [BZ #12583]
8126d904
UD
14284 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14285 character representation.
14286 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14287
ccfe366e
RA
142882011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14289
14290 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14291 END(__isnan) to END(__isnanf) to match function entry point/label
14292 EALIGN(__isnanf,...).
14293
c6e13027
JJ
142942011-03-10 Jakub Jelinek <jakub@redhat.com>
14295
14296 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14297
33f85a3f
UD
142982011-03-10 Ulrich Drepper <drepper@gmail.com>
14299
028478fa
UD
14300 [BZ #12510]
14301 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14302 copy from the symbol referenced in the relocation to initialize the
14303 used variable.
14304 Patch by Piotr Bury <pbury@goahead.com>.
14305 * elf/Makefile: Add rules to build and tst-unique3.
14306 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14307 * elf/tst-unique3.cc: New file.
14308 * elf/tst-unique3.h: New file.
14309 * elf/tst-unique3lib.cc: New file.
14310 * elf/tst-unique3lib2.cc: New file.
14311
33f85a3f
UD
14312 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14313
03592fc7
MF
143142011-03-10 Mike Frysinger <vapier@gentoo.org>
14315
14316 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14317 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14318 to _start.
03592fc7 14319
6a5ee102
UD
143202011-03-06 Ulrich Drepper <drepper@gmail.com>
14321
14322 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14323 to-be-loaded object along a path to loader is ld.so.
14324
7e4ba49c
HJ
143252011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14326 Ulrich Drepper <drepper@gmail.com>
14327
14328 * sysdeps/x86_64/memset.S: After aligning destination, code
14329 branches to different locations depending on the value of
14330 misalignment, when multiarch is enabled. Fix this.
14331
143322011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14333
14334 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14335 Set _x86_64_preferred_memory_instruction for AMD processsors.
14336 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14337 Set bit_Prefer_SSE_for_memop for AMD processors.
14338
13a804de
UD
143392011-03-04 Ulrich Drepper <drepper@gmail.com>
14340
14341 * libio/fmemopen.c (fmemopen): Optimize a bit.
14342
9d25c392
AS
143432011-03-03 Andreas Schwab <schwab@redhat.com>
14344
14345 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14346
a5543c6a
RM
143472011-03-03 Roland McGrath <roland@redhat.com>
14348
14349 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14350
012d35f7
DM
143512011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14352
7e4ba49c 14353 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14354 __bzero_ultra1 instead of __memset_ultra1.
14355
4bff6e01
AS
143562011-02-23 Andreas Schwab <schwab@redhat.com>
14357 Ulrich Drepper <drepper@gmail.com>
14358
14359 [BZ #12509]
14360 * include/link.h (struct link_map): Add l_orig_initfini.
14361 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14362 returning unsuccessfully.
14363 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14364 close of a file loaded at startup, restore the original l_initfini
14365 list.
14366 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14367 list, store the pointer.
14368 * elf/Makefile ($(objpfx)noload-mem): New rule.
14369 (noload-ENV): Define.
14370 (tests): Add $(objpfx)noload-mem.
14371 * elf/noload.c: Include <memcheck.h>.
14372 (main): Call mtrace. Close all opened handles.
14373
f2092faf
AS
143742011-02-17 Andreas Schwab <schwab@redhat.com>
14375
14376 [BZ #12454]
14377 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14378 dependencies are missing.
14379
6c8a2e88
ST
143802011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14381
f2092faf 14382 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14383 Hurd needs munmap.
14384 * sysdeps/mach/hurd/ifreq.h: New file.
14385
84a42118
PB
143862011-01-27 Petr Baudis <pasky@suse.cz>
14387 Ulrich Drepper <drepper@gmail.com>
14388
071f805e 14389 [BZ 12445]#
84a42118
PB
14390 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14391 to extend_alloca().
14392 * stdio-common/bug23.c: New file.
14393 * stdio-common/Makefile (tests): Add bug23.
14394
e23fe25b
AS
143952010-09-28 Andreas Schwab <schwab@redhat.com>
14396 Ulrich Drepper <drepper@gmail.com>
14397
14398 [BZ #12489]
14399 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14400 before performing relro protection. At old place add assertion
14401 to make sure nothing changed.
14402
d3f02e10
NS
144032011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14404 Glauber de Oliveira Costa <glommer@gmail.com>
14405
14406 * elf/elf.h: Add new ARM TLS relocs.
14407
d55fd7a5
RA
144082011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14409
14410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14411 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14412 cast from r3.
14413 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14414 'tests' variable.
14415 * sysdeps/wordsize-64/tst-writev.c: New file.
14416
2206397e
RA
144172011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14418
14419 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14420 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14421 insns in _dl_start to prevent a TOC reference before relocs are
14422 resolved.
14423
e9433893
UD
144242011-02-15 Ulrich Drepper <drepper@gmail.com>
14425
14426 [BZ #12469]
14427 * Makeconfig: Remove RANLIB definition.
14428 * Makerules: Don't use RANLIB.
14429 * aclocal.m4: Remove ranlib test.
14430 * configure.in: No need to check for ranlib.
14431 * elf/rtld-Rules: Don't use RANLIB.
14432
f75286c6
ST
144332011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14434
8e31c82d
ST
14435 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14436 protection macro.
14437 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14438 inclusion protection macro.
14439
f75286c6
ST
14440 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14441 SIGRTMIN and SIGRTMAX and print information in that case only when
14442 SIGRTMIN is defined.
14443
c1d0e639
JJ
144442011-02-11 Jakub Jelinek <jakub@redhat.com>
14445
14446 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14447 arginfo fn returning -1.
14448
14449 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14450 and thousands string is zero terminated.
14451
edf9294e
AS
144522011-02-03 Andreas Schwab <schwab@redhat.com>
14453
14454 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14455 sysdeps/unix/sysv/linux/bits/socket.h.
14456
2b7e92df
ST
144572011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14458
edf9294e
AS
14459 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14460 (__CPU_COUNT): Remove old macros.
14461 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14462 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14463 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
14464 (__sched_cpualloc, __sched_cpufree): Add declarations.
14465
a4c7ea7b
UD
144662011-02-05 Ulrich Drepper <drepper@gmail.com>
14467
14468 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14469 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14470 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14471 (readdhstai): Return value of addhstaiX call.
14472 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14473 (addgrbyX): Return value returned by cache_addgr.
14474 (readdgrbyname): Return value returned by addgrbyX.
14475 (readdgrbygid): Likewise.
14476 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14477 (addpwbyX): Return value returned by cache_addpw.
14478 (readdpwbyname): Return value returned by addhstbyX.
14479 (readdpwbyuid): Likewise.
14480 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14481 (addservbyX): Return value returned by cache_addserv.
14482 (readdservbyname): Return value returned by addservbyX:
14483 (readdservbyport): Likewise.
14484 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14485 (addhstbyX): Return value returned by cache_addhst.
14486 (readdhstbyname): Return value returned by addhstbyX.
14487 (readdhstbyaddr): Likewise.
14488 (readdhstbynamev6): Likewise.
14489 (readdhstbyaddrv6): Likewise.
14490 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14491 (readdinitgroups): Return value returned by addinitgroupsX.
14492 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14493 (prune_cache): Keep track of timeout value of re-added entries.
14494 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14495 * nscd/nscd.h: Adjust prototypes of readd* functions.
14496
a0bf67cc
RM
144972011-02-04 Roland McGrath <roland@redhat.com>
14498
14499 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14500 (nis_stats): Likewise.
14501 * nis/nis_modify.c (nis_modify): Likewise.
14502 * nis/nis_remove.c (nis_remove): Likewise.
14503 * nis/nis_add.c (nis_add): Likewise.
14504
14505 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14506
14507 * posix/fnmatch_loop.c: Add some consts.
14508
14509 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14510
435b95eb
L
145112011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14512
14513 [BZ #12460]
14514 * config.make.in (config-cflags-novzeroupper): Define.
14515 * configure.in: Substitute libc_cv_cc_novzeroupper.
14516 * elf/Makefile (AVX-CFLAGS): Define.
14517 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14518 (CFLAGS-tst-auditmod4a.c): Likewise.
14519 (CFLAGS-tst-auditmod4b.c): Likewise.
14520 (CFLAGS-tst-auditmod6b.c): Likewise.
14521 (CFLAGS-tst-auditmod6c.c): Likewise.
14522 (CFLAGS-tst-auditmod7b.c): Likewise.
14523 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14524
8517b15e
UD
145252011-02-02 Ulrich Drepper <drepper@gmail.com>
14526
14527 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14528 function to the callback.
14529 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14530
10a656fe
AS
145312011-02-02 Andreas Schwab <schwab@redhat.com>
14532
14533 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14534 of errno.
14535
968dad0a
UD
145362011-01-19 Ulrich Drepper <drepper@gmail.com>
14537
9f94d2ea 14538 [BZ #11724]
968dad0a
UD
14539 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14540 of constructors.
14541 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14542 of destructors.
14543 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14544
14545 [BZ #11724]
14546 * elf/Makefile: Add rules to build and run new test.
14547 * elf/tst-initorder.c: New file.
14548 * elf/tst-initorder.exp: New file.
14549 * elf/tst-initordera1.c: New file.
14550 * elf/tst-initordera2.c: New file.
14551 * elf/tst-initordera3.c: New file.
14552 * elf/tst-initordera4.c: New file.
14553 * elf/tst-initorderb1.c: New file.
14554 * elf/tst-initorderb2.c: New file.
14555 * elf/tst-order-a1.c: New file.
14556 * elf/tst-order-a2.c: New file.
14557 * elf/tst-order-a3.c: New file.
14558 * elf/tst-order-a4.c: New file.
14559 * elf/tst-order-b1.c: New file.
14560 * elf/tst-order-b2.c: New file.
14561 * elf/tst-order-main.c: New file.
14562 New test case by George Gensure <werkt0@gmail.com>.
14563
86e92359
UD
145642010-10-01 Andreas Schwab <schwab@redhat.com>
14565
14566 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14567 decoding ACE if AI_CANONIDN.
14568
5d5732b0
UD
145692011-01-18 Ulrich Drepper <drepper@gmail.com>
14570
14571 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14572
a77e8cbc
UD
145732011-01-17 Ulrich Drepper <drepper@gmail.com>
14574
6392473f
UD
14575 * version.h (RELEASE): Bump for 2.13 release.
14576 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14577
620a0529
UD
14578 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14579
18ba70a5
UD
14580 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14581 MADV_NOHUGEPAGE.
32465c3e
UD
14582 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14583 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14584 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14585 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14586 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14587 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14588
c0dafcf1
UD
14589 * posix/getconf.c: Update copyright year.
14590 * catgets/gencat.c: Likewise.
14591 * csu/version.c: Likewise.
14592 * debug/catchsegv.sh: Likewise.
14593 * debug/xtrace.sh: Likewise.
14594 * elf/ldconfig.c: Likewise.
14595 * elf/ldd.bash.in: Likewise.
14596 * elf/sprof.c (print_version): Likewise.
14597 * iconv/iconv_prog.c: Likewise.
14598 * iconv/iconvconfig.c: Likewise.
14599 * locale/programs/locale.c: Likewise.
14600 * locale/programs/localedef.c: Likewise.
14601 * malloc/memusage.sh: Likewise.
14602 * malloc/mtrace.pl: Likewise.
14603 * nscd/nscd.c (print_version): Likewise.
14604 * nss/getent.c: Likewise.
14605
a77e8cbc
UD
14606 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14607 PF_CAIF, and PF_ALG.
14608 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14609
77e8bddf
AS
146102011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14611
1f20b93a
AS
14612 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14613 (modules-names): Use them.
14614 (ifunc-test-modules, ifunc-pie-tests): Define.
14615 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14616 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14617 (test-extras): Likewise.
14618 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14619 $(compile-command.c).
14620 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14621 (all-built-dso): Define.
14622 (check-textrel.out, check-execstack.out): Depend on it.
14623
77e8bddf
AS
14624 * configure.in: Don't override --enable-multi-arch.
14625
bc425b33
UD
146262011-01-15 Ulrich Drepper <drepper@gmail.com>
14627
14628 [BZ #6812]
14629 * nscd/hstcache.c (tryagain): Define.
14630 (cache_addhst): Return tryagain not notfound for temporary errors.
14631 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14632 failed.
14633
794c3ad3
UD
146342011-01-14 Ulrich Drepper <drepper@gmail.com>
14635
70181fdd
UD
14636 [BZ #10563]
14637 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14638 to make the syscall.
14639 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14640
794c3ad3
UD
14641 [BZ #12378]
14642 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14643 and fall back to matching as normal character if the string ends before
14644 the matching ']' is found. This is what POSIX requires.
14645 * posix/testfnm.c: Adjust test result.
14646 * posix/globtest.sh: Adjust test result. Add new test.
14647 * posix/tst-fnmatch.input: Likewise.
14648 * posix/tst-fnmatch2.c: Add new test.
14649
68dc9497
AS
146502010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14651
14652 * elf/Makefile (check-execstack): Revert last change. Depend on
14653 check-execstack.h.
14654 (check-execstack.h): New target.
14655 (generated): Add check-execstack.h.
14656 * elf/check-execstack.c: Include "check-execstack.h".
14657 (main): Revert last change.
14658 (handle_file): Return zero if GNU_STACK is absent and
14659 DEFAULT_STACK_PERMS doesn't include PF_X.
14660
451f001b
UD
146612011-01-13 Ulrich Drepper <drepper@gmail.com>
14662
cfa28e56
UD
14663 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14664 in child fails because the descriptor is already closed.
8cf8ce17
UD
14665 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14666 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14667 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 14668
1086d70d
UD
14669 [BZ #12397]
14670 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14671 syscall.
14672
451f001b
UD
14673 [BZ #10484]
14674 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14675 temporary buffer used to handle multi lookups locally.
a85b5cb4 14676 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 14677
08769175
UD
146782011-01-12 Ulrich Drepper <drepper@gmail.com>
14679
14680 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14681 loader is ld.so.
14682
5e49c52e
UD
146832011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14684
14685 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14686 alignment for SSE2.
14687
60522a5f
UD
146882011-01-12 Ulrich Drepper <drepper@gmail.com>
14689
14690 [BZ #12394]
14691 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14692 characters. When rounding increased number of integer digits recompute
14693 number of groups.
14694 * stdio-common/tst-grouping.c: New file.
14695 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14696
f257bbd7
UD
146972011-01-09 Ulrich Drepper <drepper@gmail.com>
14698
14699 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14700 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14701
14702 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14703 void.
14704 * bits/select.h: Likewise.
14705
fa9c15cb
UD
147062011-01-08 Ulrich Drepper <drepper@gmail.com>
14707
14708 * po/ja.po: Update from translation team.
14709
16c2895f
DM
147102011-01-04 David S. Miller <davem@sunset.davemloft.net>
14711
14712 [BZ #11155]
14713 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14714 implementation just like for lxstat, fxstatat, et al.
14715
2543fef2
JM
147162010-12-27 Jim Meyering <meyering@redhat.com>
14717
14718 [BZ #12348]
14719 * posix/regexec.c (build_trtable): Return failure indication upon
14720 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14721
98727dbe
UD
147222010-12-25 Ulrich Drepper <drepper@gmail.com>
14723
5bd6dc5c
UD
14724 [BZ #12201]
14725 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14726 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14727 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14728 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14729
97983464
UD
14730 [BZ #12207]
14731 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14732
98727dbe
UD
14733 [BZ #12204]
14734 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14735 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14736
4a531bb0
L
147372010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14738
14739 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14740 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14741 script has SORT_BY_INIT_PRIORITY.
14742 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14743 NO_CTORS_DTORS_SECTIONS is defined.
14744 * elf/soinit.c: Likewise.
14745 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14746 NO_CTORS_DTORS_SECTIONS is defined.
14747 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14748 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14749 * sysdeps/sh/init-first.c: Likewise.
14750 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14751
07eb4b71
UD
147522010-12-24 Ulrich Drepper <drepper@gmail.com>
14753
14754 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14755 always use the slow path.
14756
30950a5f
RA
147572010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14758
14759 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14760 similar rule which adds the sysdep directories to the header search in
14761 order to pick up the correct platform stackinfo.h.
14762 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14763 perform test if it is, otherwise return successfully without testing.
14764 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14765 DEFAULT_STACK_PERMS define in stackinfo.h.
14766 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14767 defined in stackinfo.h.
14768 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14769 DEFAULT_STACK_PERMS defined in stackinfo.h.
14770 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14771 * sysdeps/ia64/stackinfo.h: Likewise.
14772 * sysdeps/s390/stackinfo.h: Likewise.
14773 * sysdeps/sh/stackinfo.h: Likewise.
14774 * sysdeps/sparc/stackinfo.h: Likewise.
14775 * sysdeps/x86_64/stackinfo.h: Likewise.
14776 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14777 PF_X for powerpc64. Retain PF_X for powerpc32.
14778
db753e2c
UD
147792010-12-19 Ulrich Drepper <drepper@gmail.com>
14780
14b697f7
UD
14781 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14782 accurately.
db753e2c
UD
14783 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14784 GETDENTS_64BIT_ALIGNED.
14785
28300719
UD
147862010-12-14 Ulrich Drepper <dreper@gmail.com>
14787
14b697f7 14788 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 14789
4f197237
AS
147902010-12-10 Andreas Schwab <schwab@redhat.com>
14791
dbb0472f
AS
14792 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14793 _GNU_SOURCE.
14794
4f197237
AS
14795 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14796 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14797 Remove __restrict.
14798 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14799 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14800
fb88ac72
UD
148012010-12-09 Ulrich Drepper <drepper@gmail.com>
14802
14803 [BZ #11655]
14804 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14805 are initialized.
14806
42acbb92
JJ
148072010-12-09 Jakub Jelinek <jakub@redhat.com>
14808
14809 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14810
c038d98d
UD
148112010-12-03 Ulrich Drepper <drepper@gmail.com>
14812
14813 * po/it.po: Update from translation team.
14814
3a4a2499
L
148152010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14816
14817 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14818 unused codes.
14819
1e24cf6e
UD
148202010-11-30 Ulrich Drepper <drepper@gmail.com>
14821
14822 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14823
a7690819
AS
148242010-11-24 Andreas Schwab <schwab@redhat.com>
14825
14826 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14827 specially.
14828 (gaih_getanswer_slice): Likewise.
14829
3bf8d1b1
JJ
148302010-10-20 Jakub Jelinek <jakub@redhat.com>
14831
14832 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14833
6db52fbb
PB
148342010-05-31 Petr Baudis <pasky@suse.cz>
14835
14836 [BZ #11149]
14837 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14838 silently even in the chroot mode.
14839
eaca7569
UD
148402010-11-22 Ulrich Drepper <drepper@gmail.com>
14841
14842 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14843 last patch a bit. Pretty printing
14844
3056dcdb
UD
148452010-05-31 Petr Baudis <pasky@suse.cz>
14846
14847 [BZ #10085]
14848 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14849 initialization of skip_initgroups_dyn.
14850
cf7c9078
UD
148512010-11-19 Ulrich Drepper <drepper@gmail.com>
14852
14853 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14854 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14855
a1fb5e3e
UD
148562010-11-16 Ulrich Drepper <drepper@gmail.com>
14857
14858 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14859
3540d66b
AS
148602010-11-11 Andreas Schwab <schwab@redhat.com>
14861
14862 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14863 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14864 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14865 ($(objpfx)tst-fnmatch-mem): New rule.
14866 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14867 * posix/tst-fnmatch.c (main): Call mtrace.
14868
13b69574
L
148692010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14870
14871 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14872 Support Intel processor model 6 and model 0x2c.
14873
da93d214
LM
148742010-11-10 Luis Machado <luisgpm@br.ibm.com>
14875
14876 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14877 signed comparison.
14878
8ca52c6e
L
148792010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14880
14881 [BZ #12205]
14882 * string/test-strncasecmp.c (check_result): New function.
14883 (do_one_test): Use it.
14884 (check1): New function.
14885 (test_main): Use it.
14886 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14887 Support strcasecmp and strncasecmp.
14888
69da074d
UD
148892010-11-08 Ulrich Drepper <drepper@gmail.com>
14890
14891 [BZ #12194]
14892 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14893 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14894
ff02d528
L
148952010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14896
14897 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14898 IFUNC support.
14899 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14900 memset-x86-64.
14901 * sysdeps/x86_64/multiarch/bzero.S: New file.
14902 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14903 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14904 * sysdeps/x86_64/multiarch/memset.S: New file.
14905 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14906 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14907 Set bit_Prefer_SSE_for_memop for Intel processors.
14908 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14909 Define.
14910 (index_Prefer_SSE_for_memop): Define.
14911 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14912
344d0b54
LM
149132010-11-04 Luis Machado <luisgpm@br.ibm.com>
14914
14915 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14916 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14917
c0dde15b
UD
149182010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14919
14920 [BZ #12191]
14921 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14922 (__x86_64_raw_data_cache_size_half): Likewise.
14923 (__x86_64_raw_shared_cache_size): Likewise.
14924 (__x86_64_raw_shared_cache_size_half): Likewise.
14925
14926 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14927 (__x86_64_raw_data_cache_size_half): Likewise.
14928 (__x86_64_raw_shared_cache_size): Likewise.
14929 (__x86_64_raw_shared_cache_size_half): Likewise.
14930 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14931 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14932 and __x86_64_raw_shared_cache_size_half. Round
14933 __x86_64_data_cache_size_half, __x86_64_data_cache_size
14934 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
14935 to multiple of 256 bytes.
14936
0e516e0e
MS
149372010-11-03 Ulrich Drepper <drepper@gmail.com>
14938
14939 [BZ #12167]
14940 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14941 of inacessible symlinks. Verify result of symlink before returning it.
14942 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14943 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14944
0e012e87
ER
149452010-10-28 Erich Ritz <erichritz@gmail.com>
14946
14947 * math/math.h (isinf): Fix typo in comment.
14948
de0ff7bc
UD
149492010-11-01 Ulrich Drepper <drepper@gmail.com>
14950
14951 * po/da.po: Update from translation team.
14952
fa41c84d
UD
149532010-10-26 Ulrich Drepper <drepper@gmail.com>
14954
14955 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14956 is added to the list.
14957
f0967738
AK
149582010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14959 Ulrich Drepper <drepper@gmail.com>
14960
14961 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14962 the global list here. Move code to...
14963 (_dl_add_to_namespace_list): ...here. New function.
14964 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14965 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14966 * elf/dl-load.c (lose): Don't remove the element from the list.
14967 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14968 (_dl_map_object): Likewise.
14969
149702010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
14971
14972 [BZ #12159]
14973 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14974 into all bytes of SSE register.
14975 Patch by Richard Li <richardpku@gmail.com>.
14976
f0967738 149772010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
14978
14979 [BZ #12140]
14980 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14981 perturbing.
14982
d0b9e94f
MB
149832010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14984
14985 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14986 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14987 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14988 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
14990 submachine.
14991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14992
8e9f92e9
AS
149932010-10-22 Andreas Schwab <schwab@redhat.com>
14994
14995 * include/dlfcn.h (__RTLD_SECURE): Define.
14996 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
14997 mode & __RTLD_SECURE instead.
14998 (open_path): Rename preloaded parameter to secure.
14999 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15000 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15001 * elf/dl-deps.c (openaux): Likewise.
15002 * elf/rtld.c (struct map_args): Remove is_preloaded.
15003 (map_doit): Don't use it.
15004 (dl_main): Likewise.
15005 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15006 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15007
bc96fbda
AS
150082010-09-09 Andreas Schwab <schwab@redhat.com>
15009
15010 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15011 (sysd-rules-targets): Remove duplicates.
15012 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15013 rtld-%.$o dependency.
15014
22cd1c9b
AS
150152010-10-18 Andreas Schwab <schwab@redhat.com>
15016
15017 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15018 _dl_map_object do it.
15019
18edac48
UD
150202010-10-19 Ulrich Drepper <drepper@gmail.com>
15021
15022 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15023 fast fma builtins, define the macros in the C99 standard.
15024 (FP_FAST_FMAF): Likewise.
15025 (FP_FAST_FMAL): Likewise.
15026 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15027
15028 * bits/mathdef.h: Update copyright year.
15029 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15030
d2050124
MM
150312010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15032
15033 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15034 builtins, define the macros in the C99 standard.
15035 (FP_FAST_FMAF): Likewise.
15036 (FP_FAST_FMAL): Likewise.
15037 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15038 multiply/add.
15039 (FP_FAST_FMAF): Likewise.
15040
475facd1
JJ
150412010-10-15 Jakub Jelinek <jakub@redhat.com>
15042
15043 [BZ #3268]
15044 * math/libm-test.inc (fma_test): Some new testcases.
15045 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15046 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15047 y and infinite z. Do multiplication by C already in long double.
15048 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15049 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15050 y and infinite z. Do bitwise or of inexact bit into u.d.
15051 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15052 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15053 * sysdeps/i386/fpu/s_fma.S: Removed.
15054 * sysdeps/i386/fpu/s_fmal.S: Removed.
15055
7c08a05c
JJ
150562010-10-16 Jakub Jelinek <jakub@redhat.com>
15057
15058 [BZ #3268]
15059 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15060 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15061 computation is not scheduled after fetestexcept. Fix value
15062 of minimum denormal long double.
15063
f3f7372d
JJ
150642010-10-14 Jakub Jelinek <jakub@redhat.com>
15065
15066 [BZ #3268]
15067 * math/libm-test.inc (fma_test): Add some more tests.
15068 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15069 correctly.
15070
14d43591
AS
150712010-10-15 Andreas Schwab <schwab@redhat.com>
15072
15073 * scripts/data/localplt-s390-linux-gnu.data: New file.
15074 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15075
5e908464
JJ
150762010-10-13 Jakub Jelinek <jakub@redhat.com>
15077
15078 [BZ #3268]
15079 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15080 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15081 instead of dbl-64.
15082 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15083 inlines.
15084 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15085 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15086 if one of x and y is very large and the other is subnormal.
15087 * sysdeps/s390/fpu/s_fmaf.c: New file.
15088 * sysdeps/s390/fpu/s_fma.c: New file.
15089 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15090 * sysdeps/powerpc/fpu/s_fma.S: New file.
15091 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15092 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15093 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15094
150952010-10-12 Jakub Jelinek <jakub@redhat.com>
15096
15097 [BZ #3268]
15098 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15099 fma tests.
15100 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15101 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15102 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15103 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15104 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15105 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15106 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15107
b833d51f
UD
151082010-10-12 Ulrich Drepper <drepper@redhat.com>
15109
15110 [BZ #12078]
15111 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15112 * posix/bug-regex31.input: Add test case.
15113
1751705d
UD
151142010-10-11 Ulrich Drepper <drepper@gmail.com>
15115
e9b9cbf5
UD
15116 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15117 * posix/bug-regex31.input: New file.
15118
15119 [BZ #12078]
15120 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15121 (parse_sub_exp): Fix last change, use postorder.
15122
ef06edbe
UD
15123 * posix/bug-regex31.c: New file.
15124 * posix/Makefile: Add rules to build and run bug-regex31.
15125
a129c80d
UD
15126 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15127
15128 [BZ #12078]
15129 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15130
b76b818e
UD
15131 [BZ #12108]
15132 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15133 to have entries in sys_siglist.
15134
1751705d
UD
15135 [BZ #12093]
15136 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15137 be NULL.
15138
9ff8d36f
JJ
151392010-10-07 Jakub Jelinek <jakub@redhat.com>
15140
15141 [BZ #3268]
15142 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15143 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15144 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15145 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15146 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15147 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15148 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15149 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15150 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15151 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15152 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15153 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15154 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15155 * math/ftestexcept.c (fetestexcept): Likewise.
15156 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15157 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15158 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15159 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15160 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15161 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15162 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15163
af325969
UD
151642010-10-11 Ulrich Drepper <drepper@gmail.com>
15165
c579b202 15166 [BZ #12107]
af325969
UD
15167 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15168 newline.
15169
67a67b95
UD
151702010-10-06 Ulrich Drepper <drepper@gmail.com>
15171
15172 * string/bug-strstr1.c: New file.
15173 * string/Makefile: Add rules to build and run bug-strstr1.
15174
5fb308bc
EB
151752010-10-05 Eric Blake <eblake@redhat.com>
15176
15177 [BZ #12092]
15178 * string/str-two-way.h (two_way_long_needle): Always clear memory
15179 when skipping input due to the shift table.
15180
45db99c7
UD
151812010-10-03 Ulrich Drepper <drepper@gmail.com>
15182
3b111893
UD
15183 [BZ #12005]
15184 * malloc/mcheck.c: Handle large requests.
15185
45db99c7
UD
15186 [BZ #12077]
15187 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15188 for strncmp and strncasecmp.
15189 * string/stratcliff.c: Add tests for strcmp and strncmp.
15190 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15191
cf7a1eb8
NI
151922010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15193
15194 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15195 __set_fpscr.
15196
6484ba5e
AJ
151972010-09-30 Andreas Jaeger <aj@suse.de>
15198
15199 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15200 (CGROUP_SUPER_MAGIC): Define.
15201 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15202 Handle btrfs and cgroup file systems.
15203 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15204 Likewise.
15205
91c42559
LM
152062010-09-27 Luis Machado <luisgpm@br.ibm.com>
15207
15208 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15209 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15210
87a97932
AK
152112010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15212
15213 [BZ #12067]
15214 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15215 trying to locate the ELF header.
15216
c21cc9bc
AS
152172010-09-27 Andreas Schwab <schwab@redhat.com>
15218
15219 [BZ #11611]
15220 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15221 Mask out sign-bit copies when constructing f_fsid.
15222
315970f6
PB
152232010-09-24 Petr Baudis <pasky@suse.cz>
15224
15225 * debug/stack_chk_fail_local.c: Add missing licence exception.
15226 * debug/warning-nop.c: Likewise.
15227
1ac7a2c7
JM
152282010-09-15 Joseph Myers <joseph@codesourcery.com>
15229
15230 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15231 implementing getdents64 using getdents syscall, set d_type if
15232 __ASSUME_GETDENTS32_D_TYPE.
15233
56801c50
AS
152342010-09-16 Andreas Schwab <schwab@redhat.com>
15235
15236 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15237 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15238
dda51327
UD
152392010-09-21 Ulrich Drepper <drepper@redhat.com>
15240
15241 [BZ #12037]
15242 * posix/unistd.h: Undo change of feature selection for ftruncate from
15243 2010-01-11.
15244
8ffcee4a
UD
152452010-09-20 Ulrich Drepper <drepper@redhat.com>
15246
a545ecd9 15247 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15248 detection.
15249
e24f0a8b
AS
152502010-09-20 Andreas Schwab <schwab@redhat.com>
15251
15252 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15253 fanotify_mark.
15254 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15255
7291c56f
AS
152562010-09-14 Andreas Schwab <schwab@redhat.com>
15257
15258 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15259 variables after CHECK_SP call.
15260 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15261
bc5fb037
AS
152622010-09-13 Andreas Schwab <schwab@redhat.com>
15263 Ulrich Drepper <drepper@redhat.com>
15264
15265 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15266 re-relocationg ld.so.
15267 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15268 _dl_init_paths call.
15269 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15270 here anymore.
15271
e66e7419
UD
152722010-09-14 Ulrich Drepper <drepper@redhat.com>
15273
15274 * resolv/res_init.c (__res_vinit): Count the default server we added.
15275
c044aa75
CLT
152762010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15277 Ulrich Drepper <drepper@redhat.com>
15278
15279 [BZ #11968]
15280 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15281 (____longjmp_chk): Use %ebx for saving value across system call.
15282 Add unwind info.
15283
32cf4069
AS
152842010-09-06 Andreas Schwab <schwab@redhat.com>
15285
15286 * manual/Makefile: Don't mix pattern rules with normal rules.
15287
817328ee
AS
152882010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15289
15290 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15291 operation.
15292 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15293 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15294 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15295 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15296 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15297 Likewise.
15298
29fddf61
UD
152992010-09-04 Ulrich Drepper <drepper@redhat.com>
15300
15301 [BZ #11979]
15302 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15303 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15304
0959ffc9
UD
153052010-09-02 Ulrich Drepper <drepper@redhat.com>
15306
15307 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15308 * sysdeps/x86_64/addmul_1.S: Likewise.
15309 * sysdeps/x86_64/lshift.S: Likewise.
15310 * sysdeps/x86_64/mul_1.S: Likewise.
15311 * sysdeps/x86_64/rshift.S: Likewise.
15312 * sysdeps/x86_64/sub_n.S: Likewise.
15313 * sysdeps/x86_64/submul_1.S: Likewise.
15314
ece29840
ST
153152010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15316
0959ffc9
UD
15317 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15318 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15319 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15320 * bits/sched.h [__need_schedparam]
ece29840 15321 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15322 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15323 (__defined_schedparam): Define to 1.
ece29840
ST
15324 (__sched_param): New structure, identical to sched_param.
15325 (__need_schedparam): Undefine.
15326
e53a31fe
MF
153272010-08-31 Mike Frysinger <vapier@gentoo.org>
15328
fdc0c10d
MF
15329 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15330 (epoll_create1): Declare.
15331
e53a31fe
MF
15332 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15333
a726d796
AS
153342010-08-31 Andreas Schwab <schwab@redhat.com>
15335
15336 [BZ #7066]
15337 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15338 shifting retval into place.
15339
2f3e3dc7
UD
153402010-09-01 Ulrich Drepper <drepper@redhat.com>
15341
f2933da9
UD
15342 * nis/rpcsvc/nis.h: Update copyright notice.
15343 * nis/rpcsvc/nis.x: Likewise.
15344 * nis/rpcsvc/nis_callback.h: Likewise.
15345 * nis/rpcsvc/nis_callback.x: Likewise.
15346 * nis/rpcsvc/nis_object.x: Likewise.
15347 * nis/rpcsvc/nis_tags.h: Likewise.
15348 * nis/rpcsvc/yp.h: Likewise.
15349 * nis/rpcsvc/yp.x: Likewise.
15350 * nis/rpcsvc/ypupd.h: Likewise.
15351 * nis/yp_xdr.c: Likewise.
15352 * nis/ypupdate_xdr.c: Likewise.
15353
2f3e3dc7
UD
15354 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15355 mainly the body of pmap_getport. Add parameters to specify timeouts.
15356 (pmap_getport): Use __libc_rpc_getport.
15357 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15358 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15359 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15360
f3dcc2f9
AS
153612010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15362
15363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15364 fanotify_mark.
15365
6d34eb5b
RM
153662010-08-27 Roland McGrath <roland@redhat.com>
15367
15368 * sysdeps/i386/i686/multiarch/Makefile
15369 (CFLAGS-varshift.c): New variable.
15370
9ea3de11
UD
153712010-08-27 Ulrich Drepper <drepper@redhat.com>
15372
c96d23fc
UD
15373 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15374 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15375
9ea3de11
UD
15376 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15377
15378 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15379
623aac7f
L
153802010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15381
15382 * sysdeps/x86_64/strlen.S: Unroll the loop.
15383 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15384 strlen-sse2 strlen-sse2-bsf.
15385 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15386 __strlen_no_bsf if bit_Slow_BSF is set.
15387 (__strlen_sse42): Removed.
15388 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15389 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15390
8b2b7715
RM
153912010-08-25 Roland McGrath <roland@redhat.com>
15392
15393 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15394 * sysdeps/x86_64/multiarch/varshift.c: New file.
15395 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15396 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15397 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15398 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15399
e73015f2
L
154002010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15401
15402 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15403 strlen-sse2 strlen-sse2-bsf.
15404 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15405 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15406 (__strlen_sse2): Removed.
15407 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15408 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15409 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15410 bit_Slow_BSF for Atom.
15411 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15412 (index_Slow_BSF): Define.
15413 (HAS_SLOW_BSF): Define.
15414
df24a73e
UD
154152010-08-25 Ulrich Drepper <drepper@redhat.com>
15416
15417 [BZ #10851]
15418 * resolv/res_init.c (__res_vinit): When no server address at all
15419 is given default to loopback.
15420
f2ac4868
RM
154212010-08-24 Roland McGrath <roland@redhat.com>
15422
09055553
RM
15423 * configure.in: Remove config-name.h generation.
15424 * configure: Regenerated.
15425 * config-name.in: File removed.
15426 * scripts/config-uname.sh: New file.
15427 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15428 ($(objdir)config-name.h): New target.
15429
f2ac4868
RM
15430 * sunrpc/rpc_parse.h: Avoid nested comment.
15431
73f27d5e
RH
154322010-08-24 Richard Henderson <rth@redhat.com>
15433 Ulrich Drepper <drepper@redhat.com>
15434 H.J. Lu <hongjiu.lu@intel.com>
15435
15436 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15437 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15438 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15439 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15440 _mm_alignr_epi8 with _mm_loadu_si128.
15441 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15442 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15443 (__m128i_shift_right): Removed.
15444 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15445 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15446 * sysdeps/x86_64/multiarch/varshift.h: New file.
15447 * sysdeps/x86_64/multiarch/varshift.S: New file.
15448
84b9230c
MF
154492010-08-21 Mike Frysinger <vapier@gentoo.org>
15450
15451 * configure.in: Move assembler checks to before sysdep dir checking.
15452
9bbd0ddc
PB
154532010-08-20 Petr Baudis <pasky@suse.cz>
15454
15455 * LICENSES: Sync the sunrpc license.
15456
9da4bb31
UD
154572010-08-19 Ulrich Drepper <drepper@redhat.com>
15458
a7ab6ec8
UD
15459 * sunrpc/auth_des.c: Update copyright notice once again.
15460 * sunrpc/auth_none.c: Likewise.
15461 * sunrpc/auth_unix.c: Likewise.
15462 * sunrpc/authdes_prot.c: Likewise.
15463 * sunrpc/authuxprot.c: Likewise.
15464 * sunrpc/bindrsvprt.c: Likewise.
15465 * sunrpc/clnt_gen.c: Likewise.
15466 * sunrpc/clnt_perr.c: Likewise.
15467 * sunrpc/clnt_raw.c: Likewise.
15468 * sunrpc/clnt_simp.c: Likewise.
15469 * sunrpc/clnt_tcp.c: Likewise.
15470 * sunrpc/clnt_udp.c: Likewise.
15471 * sunrpc/clnt_unix.c: Likewise.
15472 * sunrpc/des_crypt.c: Likewise.
15473 * sunrpc/des_soft.c: Likewise.
15474 * sunrpc/get_myaddr.c: Likewise.
15475 * sunrpc/getrpcport.c: Likewise.
15476 * sunrpc/key_call.c: Likewise.
15477 * sunrpc/key_prot.c: Likewise.
15478 * sunrpc/openchild.c: Likewise.
15479 * sunrpc/pm_getmaps.c: Likewise.
15480 * sunrpc/pm_getport.c: Likewise.
15481 * sunrpc/pmap_clnt.c: Likewise.
15482 * sunrpc/pmap_prot.c: Likewise.
15483 * sunrpc/pmap_prot2.c: Likewise.
15484 * sunrpc/pmap_rmt.c: Likewise.
15485 * sunrpc/rpc/auth.h: Likewise.
15486 * sunrpc/rpc/auth_unix.h: Likewise.
15487 * sunrpc/rpc/clnt.h: Likewise.
15488 * sunrpc/rpc/des_crypt.h: Likewise.
15489 * sunrpc/rpc/key_prot.h: Likewise.
15490 * sunrpc/rpc/netdb.h: Likewise.
15491 * sunrpc/rpc/pmap_clnt.h: Likewise.
15492 * sunrpc/rpc/pmap_prot.h: Likewise.
15493 * sunrpc/rpc/pmap_rmt.h: Likewise.
15494 * sunrpc/rpc/rpc.h: Likewise.
15495 * sunrpc/rpc/rpc_des.h: Likewise.
15496 * sunrpc/rpc/rpc_msg.h: Likewise.
15497 * sunrpc/rpc/svc.h: Likewise.
15498 * sunrpc/rpc/svc_auth.h: Likewise.
15499 * sunrpc/rpc/types.h: Likewise.
15500 * sunrpc/rpc/xdr.h: Likewise.
15501 * sunrpc/rpc_clntout.c: Likewise.
15502 * sunrpc/rpc_cmsg.c: Likewise.
15503 * sunrpc/rpc_common.c: Likewise.
15504 * sunrpc/rpc_cout.c: Likewise.
15505 * sunrpc/rpc_dtable.c: Likewise.
15506 * sunrpc/rpc_hout.c: Likewise.
15507 * sunrpc/rpc_main.c: Likewise.
15508 * sunrpc/rpc_parse.c: Likewise.
15509 * sunrpc/rpc_parse.h: Likewise.
15510 * sunrpc/rpc_prot.c: Likewise.
15511 * sunrpc/rpc_sample.c: Likewise.
15512 * sunrpc/rpc_scan.c: Likewise.
15513 * sunrpc/rpc_scan.h: Likewise.
15514 * sunrpc/rpc_svcout.c: Likewise.
15515 * sunrpc/rpc_tblout.c: Likewise.
15516 * sunrpc/rpc_util.c: Likewise.
15517 * sunrpc/rpc_util.h: Likewise.
15518 * sunrpc/rpcinfo.c: Likewise.
15519 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15520 * sunrpc/rpcsvc/key_prot.x: Likewise.
15521 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15522 * sunrpc/rpcsvc/mount.x: Likewise.
15523 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15524 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15525 * sunrpc/rpcsvc/rex.x: Likewise.
15526 * sunrpc/rpcsvc/rstat.x: Likewise.
15527 * sunrpc/rpcsvc/rusers.x: Likewise.
15528 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15529 * sunrpc/rpcsvc/spray.x: Likewise.
15530 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15531 * sunrpc/rtime.c: Likewise.
15532 * sunrpc/svc.c: Likewise.
15533 * sunrpc/svc_auth.c: Likewise.
15534 * sunrpc/svc_authux.c: Likewise.
15535 * sunrpc/svc_raw.c: Likewise.
15536 * sunrpc/svc_run.c: Likewise.
15537 * sunrpc/svc_simple.c: Likewise.
15538 * sunrpc/svc_tcp.c: Likewise.
15539 * sunrpc/svc_udp.c: Likewise.
15540 * sunrpc/svc_unix.c: Likewise.
15541 * sunrpc/svcauth_des.c: Likewise.
15542 * sunrpc/xcrypt.c: Likewise.
15543 * sunrpc/xdr.c: Likewise.
15544 * sunrpc/xdr_array.c: Likewise.
15545 * sunrpc/xdr_float.c: Likewise.
15546 * sunrpc/xdr_mem.c: Likewise.
15547 * sunrpc/xdr_rec.c: Likewise.
15548 * sunrpc/xdr_ref.c: Likewise.
15549 * sunrpc/xdr_sizeof.c: Likewise.
15550 * sunrpc/xdr_stdio.c: Likewise.
15551
9da4bb31
UD
15552 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15553 handling.
15554
bdaa77bc
AS
155552010-08-19 Andreas Schwab <schwab@redhat.com>
15556
15557 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15558
fe2f79db
LM
155592010-08-19 Luis Machado <luisgpm@br.ibm.com>
15560
15561 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15562 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15563 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15564 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15565 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15566 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15567 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15568 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15569 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15570 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15571 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15572 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15573 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15574 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15575
b9b42ee0
AB
155762010-07-26 Anton Blanchard <anton@samba.org>
15577
15578 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15579 * malloc/arena.c (heap_trim): Likewise.
15580
1c06ba31
UD
155812010-08-16 Ulrich Drepper <drepper@redhat.com>
15582
15583 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15584 here. Not...
15585 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15586 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15587
f8392f40
L
155882010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15589
15590 * sysdeps/i386/elf/Makefile: New file.
15591
3162f12e
AS
155922010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15593
15594 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15595 from fanotify_init.
15596 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15597 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15598
28c90b2c
UD
155992010-08-15 Ulrich Drepper <drepper@redhat.com>
15600
15601 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15602 of strncasecmp_l.
1feccb6c 15603 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 15604
ca6bb004
UD
156052010-08-14 Ulrich Drepper <drepper@redhat.com>
15606
e9f82e0d
UD
15607 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15608 strncase_l-nonascii.
15609 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15610 Add strncase_l-ssse3.
15611 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15612 * sysdeps/x86_64/strcmp.S: Likewise.
15613 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15614 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15615 * sysdeps/x86_64/strncase.S: New file.
15616 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15617 * sysdeps/x86_64/strncase_l.S: New file.
15618 * string/Makefile (strop-tests): Add strncasecmp.
15619 * string/test-strncasecmp.c: New file.
15620
15621 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15622 warning.
15623
ca6bb004
UD
15624 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15625 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15626
052fa7b3
AS
156272010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15628
15629 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15630
962dba78
UD
156312010-08-12 Ulrich Drepper <drepper@redhat.com>
15632
15633 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15634 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15635 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15636
bebff237
AM
156372010-05-01 Alan Modra <amodra@gmail.com>
15638
15639 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15640 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15641 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15642 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15643 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15644 tidying. Don't tail-call __sigjmp_save for static lib.
15645 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15646 save location.
15647 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15648 (CALL_MCOUNT): Add eh info, and nop after bl.
15649 (TAIL_CALL_SYSCALL_ERROR): New macro.
15650 (PSEUDO_RET): Use it.
15651 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15652 Correct save location of integer regs and cr.
15653 (_dl_profile_resolve): Correct cr save location. Delete nops
15654 after bl when SHARED. Reduce cfi size a little by better
15655 placement of cfi directives.
15656 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15657 make a stack frame. Instead use parm save area as a temp.
15658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15659 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15661 Don't make a stack frame for parent, use parm save area.
15662 Increase child stack frame to 112 bytes. Don't save unused reg,
15663 and adjust reg usage. Set up cfi on error recovery and
15664 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15666 (__makecontext): Add dummy nop after jump to exit.
15667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15668 Use correct parm save area and cr save, reduce stack frame.
15669 Correct cfi for possible PSEUDO_RET frame setup.
15670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15671 Branch to local label emitted by PSEUDO_RET rather than
15672 __syscall_error.
15673
02637374
AS
156742010-08-12 Andreas Schwab <schwab@redhat.com>
15675
15676 [BZ #11904]
15677 * locale/programs/locale.c (print_assignment): New function.
15678 (show_locale_vars): Use it.
15679
c3e2f19b
UD
156802010-08-11 Ulrich Drepper <drepper@redhat.com>
15681
3cdaa6ad
UD
15682 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15683 field.
15684 (struct statfs64): Likewise.
15685 (_STATFS_F_FLAGS): Define.
15686 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15687 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15688 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15689 (ST_VALID): Define locally.
15690 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15691 __statvfs_getflags, use the provided value.
15692 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15693 __ASSUME_STATFS_F_FLAGS.
15694
754f7da3
UD
15695 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15696
10b3bedc
UD
15697 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15698 Add sys/fanotify.h.
15699 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15700 fanotify_mask for GLIBC_2.13.
15701 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15702 fanotify_init and fanotify_mark.
15703 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15704 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15705
c08fb0d7
UD
15706 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15707 Add prlimit.
15708 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15709 prlimit64 for GLIBC_2.13.
15710 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15711 prlimit64.
15712 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15713 syscall.
15714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15715 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15716 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15717 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15718 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15719 add prlimit alias.
15720 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15721
15bac72b
UD
15722 [BZ #11903]
15723 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15724 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15725
c3e2f19b
UD
15726 * nss/Makefile: Add rules to build and run tst-nss-test1.
15727 * shlib-versions: Add entry for libnss_test1.
15728 * nss/nss_test1.c: New file.
15729 * nss/tst-nss-test1.c: New file.
15730
15731 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15732 (__nss_configure_lookup): Set appropriate entry in
15733 __nss_configure_lookup to true.
15734 * nss/nsswitch.h: Define enum with indeces of databases in
15735 databases and __nss_database_custom arrays. Declare
15736 __nss_database_custom.
15737 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15738 to avoid using nscd when custom rules are installed.
15739 * nss/getXXbyYY_r.c: Likewise.
15740 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15741
15742 * nss/nss_files/files-parse.c: Whitespace fixes.
15743
f15ce4d8
UD
157442010-08-09 Ulrich Drepper <drepper@redhat.com>
15745
15746 [BZ #11883]
15747 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15748 * posix/fnmatch_loop.c: Likewise.
15749
d22e4cc9
AK
157502010-07-17 Andi Kleen <ak@linux.intel.com>
15751
15752 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15753 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15754 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15755 * Versions.def [GLIBC_2.13]: Add.
15756
805bc17d
UD
157572010-08-06 Ulrich Drepper <drepper@redhat.com>
15758
15759 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15760 Also fail if tpwd after pwuid call is NULL.
15761
5a42321d
ST
157622010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15763
15764 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15765 when converting to ms.
15766
fd3ebeda
ST
157672010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15768
15769 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15770 EOPNOTSUPP errors with ENOTTY.
15771 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15772 EOPNOTSUPP errors with ENOTTY.
15773
73507d3a
UD
157742010-07-31 Ulrich Drepper <drepper@redhat.com>
15775
15776 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15777 Add strcasecmp_l-ssse3.
15778 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15779 strcasecmp.
15780 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15781 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15782 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15783
fe36dd02
UD
157842010-07-30 Ulrich Drepper <drepper@redhat.com>
15785
66f6765a
UD
15786 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15787
42e08a54
UD
15788 * string/Makefile (strop-tests): Add strcasecmp.
15789 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15790 strcasecmp_l-nonascii.
15791 (gen-as-const-headers): Add locale-defines.sym.
15792 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15793 * sysdeps/x86_64/strcasecmp.S: New file.
15794 * sysdeps/x86_64/strcasecmp_l.S: New file.
15795 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15796 * sysdeps/x86_64/locale-defines.sym: New file.
15797 * string/test-strcasecmp.c: New file.
15798
fe36dd02
UD
15799 * string/test-strcasestr.c: Test both ends of the range of characters.
15800 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15801
48cbc0d6
RM
158022010-07-29 Roland McGrath <roland@redhat.com>
15803
76e6d6bc 15804 [BZ #11856]
48cbc0d6
RM
15805 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15806
880113d9
UD
158072010-07-27 Ulrich Drepper <drepper@redhat.com>
15808
15809 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15810 for ld.so.
15811
deb9cabb
AS
158122010-07-27 Andreas Schwab <schwab@redhat.com>
15813
15814 * manual/memory.texi (Malloc Tunable Parameters): Document
15815 M_PERTURB.
15816
1c7570ff
RM
158172010-07-26 Roland McGrath <roland@redhat.com>
15818
15819 [BZ #11840]
15820 * configure.in (-fgnu89-inline check): Set and substitute
15821 gnu89_inline, not libc_cv_gnu89_inline.
15822 * configure: Regenerated.
15823 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15824
24fb0f88
UD
158252010-07-26 Ulrich Drepper <drepper@redhat.com>
15826
15827 * string/test-strnlen.c: New file.
15828 * string/Makefile (strop-tests): Add strnlen.
15829 * string/tester.c (test_strnlen): Add a few more test cases.
15830 * string/tst-strlen.c: Better error reporting.
15831
15832 * sysdeps/x86_64/strnlen.S: New file.
15833
8e96b93a
UD
158342010-07-24 Ulrich Drepper <drepper@redhat.com>
15835
15836 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15837 lower-latency instructions.
15838
dbc676d4
UD
158392010-07-23 Ulrich Drepper <drepper@redhat.com>
15840
15841 * string/test-strcasestr.c: New file.
15842 * string/test-strstr.c: New file.
15843 * string/Makefile (strop-tests): Add strstr and strcasestr.
15844 * string/str-two-way.h: Don't undefine MAX.
15845 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15846
f6a31e0e
AS
158472010-07-21 Andreas Schwab <schwab@redhat.com>
15848
15849 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15850 strcasestr-nonascii.
15851 (CFLAGS-strcasestr-nonascii.c): Define.
15852 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15853 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15854 Remove unused attribute.
15855
5dbc3b6c
RM
158562010-07-20 Roland McGrath <roland@redhat.com>
15857
15858 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15859 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15860 ld.so.cache was broken. With it, there is no way to disable dsocaps
15861 like LD_HWCAP_MASK can disable hwcaps.
15862
23d101d8
EPM
158632010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15864
15865 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15866
cc9f2e47
UD
158672010-07-16 Ulrich Drepper <drepper@redhat.com>
15868
15869 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15870 call in strcasestr.
15871 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15872 __strcasestr_sse42_nonascii.
15873 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15874 strcasestr-nonascii.c.
15875 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15876
77c1b069
LM
158772010-06-15 Luis Machado <luisgpm@br.ibm.com>
15878
15879 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15880 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15881 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15882 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15883
440566c3
UD
158842010-07-09 Ulrich Drepper <drepper@redhat.com>
15885
15886 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15887 fcntl.
15888
5be9d05d
AS
158892010-07-06 Andreas Schwab <schwab@redhat.com>
15890
c30b7ee2 15891 [BZ #11577]
5be9d05d
AS
15892 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15893 dl_signal_cerror.
15894
8a492a67
UD
158952010-07-06 Ulrich Drepper <drepper@redhat.com>
15896
15897 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15898 _PC_PIPE_BUF using F_GETPIPE_SZ.
15899
713df3d5
RM
159002010-07-05 Roland McGrath <roland@redhat.com>
15901
15902 * manual/arith.texi (Rounding Functions): Fix rint description
15903 implicit in round description.
15904
702e8f14
UD
159052010-07-02 Ulrich Drepper <drepper@redhat.com>
15906
15907 * elf/Makefile: Fix linking for a few tests to make recent linker
15908 happy.
15909
52ed8be9
AS
159102010-06-30 Andreas Schwab <schwab@redhat.com>
15911
15912 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15913 $(common-objpfx)libc_nonshared.a.
15914
f47c9a11
LM
159152010-06-21 Luis Machado <luisgpm@br.ibm.com>
15916
15917 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15918 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15919 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15920 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15921 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15922 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15923 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15924 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
15935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
15937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
15939 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
15940 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15941 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15942 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15943 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15944 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15945 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15946 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15947 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15948 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15949 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15950 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15965
6fb8cbcb
L
159662010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15967
15968 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15969 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15970 * string/memmove.c (memmove): Renamed to ...
15971 (MEMMOVE): ...this. Default to memmove.
15972 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15973 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15974 (END_CHK): Define.
15975 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15976 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15977 mempcpy-ssse3-back memmove-ssse3-back.
15978 * sysdeps/x86_64/multiarch/bcopy.S: New file .
15979 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15980 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15981 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15982 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15983 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15984 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15985 * sysdeps/x86_64/multiarch/memmove.c: New file.
15986 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15987 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15988 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15989 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
15990 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
15991 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
15992 Define.
15993 (index_Fast_Copy_Backward): Define.
15994 (HAS_ARCH_FEATURE): Define.
15995 (HAS_FAST_REP_STRING): Define.
15996 (HAS_FAST_COPY_BACKWARD): Define.
15997
4e733bac 159982010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
15999
16000 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16001 Restore proper fallback handling.
16002
63c4ed22
UD
160032010-06-19 Ulrich Drepper <drepper@redhat.com>
16004
ac2b484c
UD
16005 [BZ #11701]
16006 * posix/group_member.c (__group_member): Correct checking loop.
16007
63c4ed22
UD
16008 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16009 OOM in getpwuid_r correctly. Return error number when the caller
16010 should return, otherwise -1.
16011 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16012 call returning > 0 value.
16013 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16014
765ade4b
AS
160152010-06-07 Andreas Schwab <schwab@redhat.com>
16016
16017 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16018 libc_nonshared.a from targets in modules-names.
16019
80da2e09
KS
160202010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16021
16022 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16023 requires it.
16024
158db122
LM
160252010-06-10 Luis Machado <luisgpm@br.ibm.com>
16026
16027 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16028 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16029 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16030 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16031
caa78cf8
AS
160322010-06-02 Andreas Schwab <schwab@redhat.com>
16033
16034 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16035
b2ef2c01
UD
160362010-06-14 Ulrich Drepper <drepper@redhat.com>
16037
16038 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16039 and F_GETPIPE_SZ.
16040 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16041 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16042 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16043 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16044 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16045 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16046
fbd643b6
RM
160472010-06-14 Roland McGrath <roland@redhat.com>
16048
16049 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16050
f32f2869
JJ
160512010-06-07 Jakub Jelinek <jakub@redhat.com>
16052
16053 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16054 __REDIRECT followed by __THROW.
16055 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16056 * posix/getopt.h (getopt): Likewise.
16057
2a50c078
EPM
160582010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16059
16060 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16061 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16062 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16063 in AT_FLAGS.
16064 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16065 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16066
eb5ad2eb
LM
160672010-05-28 Luis Machado <luisgpm@br.ibm.com>
16068
16069 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16070
3c88fe1e
L
160712010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16072
16073 [BZ #11640]
16074 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16075 Properly check family and model.
16076
d2f73151
TY
160772010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16078
16079 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16080
ebd2e13d
LM
160812010-05-24 Luis Machado <luisgpm@br.ibm.com>
16082
16083 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16084
b32b8b45
UD
160852010-05-21 Ulrich Drepper <drepper@redhat.com>
16086
16087 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16088 symbol reference.
16089
9acbe24d
AS
160902010-05-19 Andreas Schwab <schwab@redhat.com>
16091
16092 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16093 symbol reference.
16094
f0ccf6ea
AS
160952010-05-21 Andreas Schwab <schwab@redhat.com>
16096
3d04ff3a
AS
16097 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16098 and internal_recvmmsg.
16099 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16100 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16101 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16102 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16103
f0ccf6ea
AS
16104 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16105 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16106 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16107
5b08ac57
AS
161082010-05-20 Andreas Schwab <schwab@redhat.com>
16109
16110 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16111
4828935d
LM
161122010-05-17 Luis Machado <luisgpm@br.ibm.com>
16113
16114 POWER7 optimizations.
16115 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16116 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16117
373d545e
UD
161182010-05-19 Ulrich Drepper <drepper@redhat.com>
16119
16120 * version.h: Update for 2.13 development version.
16121
21a2b1ae
AS
161222010-05-12 Andrew Stubbs <ams@codesourcery.com>
16123
16124 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16125 exceptions. Return 0.
16126
3f7dcb2b
RM
161272010-05-07 Roland McGrath <roland@redhat.com>
16128
16129 * elf/ldconfig.c (main): Add a const.
16130
5f24d53a 161312010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16132
a160f8d8
UD
16133 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16134 (args_options): Add no-idn option.
16135 (ahosts_keys_int): Add idn_flags to ai_flags.
16136 (parse_option): Handle 'i' option to clear idn_flags.
16137
5f24d53a
UD
16138 * malloc/malloc.c (_int_free): Possible race in the most recently
16139 added check. Only act on the data if no current modification
16140 happened.
265bb1ce
UD
16141
16142See ChangeLog.17 for earlier changes.