]> sourceware.org Git - glibc.git/blame - ChangeLog
Remove use of INTDEF/INTUSE in socket
[glibc.git] / ChangeLog
CommitLineData
03277f8f
AS
12012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2
3 [BZ #14132]
4 * include/sys/socket.h (__connect_internal)
5 (__libc_sa_len_internal): Remove declaration.
6 (__connect, __libc_sa_len): Declare hidden_proto.
7 (SA_LEN): Remove use of INTUSE.
8 * socket/connect.c: Add libc_hidden_def.
9 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12 alias.
13 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16 of adding _internal alias.
17
13764867
L
182012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19
20 [BZ #14117]
6bd97696
L
21 * sysdeps/i386/bits/link.h: Removed.
22 * sysdeps/i386/bits/linkmap.h: Likewise.
23 * sysdeps/x86_64/bits/link.h: Renamed to ...
24 * sysdeps/x86/bits/link.h: This.
25 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26 * sysdeps/x86/bits/linkmap.h: This.
27
f726f0bb
L
28 * sysdeps/i386/bits/endian.h: Removed.
29 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30 * sysdeps/x86/bits/endian.h: This.
31
13764867
L
32 * sysdeps/i386/bits/byteswap.h: Removed.
33 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
35 * sysdeps/x86/bits/byteswap.h: This.
36 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
37 * sysdeps/x86/bits/byteswap-16.h: This.
38 * sysdeps/i386/Implies: Add x86.
39 * sysdeps/x86_64/Implies: Likewise.
40
ae251b0b
DM
412012-05-30 David S. Miller <davem@davemloft.net>
42
43 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
44 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
45 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46 (FP_TRAPPING_EXCEPTIONS): Define.
47 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
48 (FP_TRAPPING_EXCEPTIONS): Define.
49 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
50 subnormals only when inexact has been signalled or underflow
51 exceptions are enabled.
52 (_FP_PACK_CANONICAL): Likewise.
53
d5c90867
L
542012-05-30 H.J. Lu <hongjiu.lu@intel.com>
55
56 [BZ #14183]
57 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
58 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
59
63f1549e
RH
602012-05-30 Richard Henderson <rth@twiddle.net>
61
8d8f2279
RH
62 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
63 with #ifndef NOT_IN_libc.
64
63f1549e
RH
65 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
66 marked to avoid plt entry.
67
0ab0291b
L
682012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69
70 [BZ #14112]
71 * Makeconfig (default-abi): New macro.
72 (abi-includes): Likewise.
73 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
74 $(abi-$(default-abi)-lib-soname) for soname if defined.
75 ($(common-objpfx)gnu/lib-names.stmp): Generate from
76 abi-variants.
77 * Makefile (installed-stubs): Likewise.
78 * include/stubs-biarch.h: Removed.
79 * scripts/lib-names.awk: Only handle one library at a time.
80 * scripts/soversions.awk: Remove WORDSIZE support.
81 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
82 entries.
83 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
84 Removed.
85 (syscall-list-default-condition): Likewise.
86 (syscall-list-default-condition): Likewise.
87 (syscall-list-includes): Likewise.
88 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
89 syscall-list-* with abi-*. Handle undefined abi-variants.
90 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
91 * sysdeps/unix/sysv/linux/i386/Implies: New file.
92 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
93 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
94 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
95 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
96 Removed.
97 (syscall-list-32-options): Likewise.
98 (syscall-list-32-condition): Likewise.
99 (syscall-list-64-options): Likewise.
100 (syscall-list-64-condition): Likewise.
101 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
102 macro.
103 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
104 Renamed to ...
105 (abi-*): This.
106 (abi-64-ld-soname): New macro.
107 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
108 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
109 Renamed to ...
110 (abi-*): This.
111 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
112 * sysdeps/x86_64/x32/shlib-versions: Likewise.
113
4da0431d
JM
1142012-05-30 Joseph Myers <joseph@codesourcery.com>
115
3a85279c
JM
116 * sysdeps/unix/sysv/linux/kernel-features.h
117 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
118 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
119 include <kernel-features.h>.
120 [!__NR_ftruncate64]: Remove conditional code.
121 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
122 [__NR_ftruncate64]: Make code unconditional.
123 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
124 * sysdeps/unix/sysv/linux/truncate64.c: Do not
125 include <kernel-features.h>.
126 [!__NR_ftruncate64]: Remove conditional code.
127 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
128 [__NR_ftruncate64]: Make code unconditional.
129 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
131 include <kernel-features.h>.
132 [!__NR_ftruncate64]: Remove conditional code.
133 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
134 [__NR_ftruncate64]: Make code unconditional.
135 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
137 include <kernel-features.h>.
138 [!__NR_ftruncate64]: Remove conditional code.
139 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
140 [__NR_ftruncate64]: Make code unconditional.
141 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
142
4da0431d
JM
143 * configure.in (libc_cv_fpie): Weaken to a compile test using
144 LIBC_TRY_CC_OPTION.
145 * configure: Regenerated.
146
11ef492c
AK
1472012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
148
149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
153 Refreshed.
154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
160 Refreshed.
161
d66ef399
DM
1622012-05-27 David S. Miller <davem@davemloft.net>
163
164 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
165 (___Q_zero): New.
166 (__Q_simulate_exceptions): Return void. Change to simulate
167 exceptions by writing into the %fsr.
168 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
169 (__Qp_handle_exceptions): Likewise.
170 (numbers): Delete.
171 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
172 __Qp_handle_exceptions.
173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
174 __Qp_handle_exceptions.
175 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
176 as unused and give dummy FP_RND_NEAREST initializer.
177 (FP_INHIBIT_RESULTS): Define.
178 (___Q_simulate_exceptions): Update declaration.
179 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
180 formatting.
181 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
182 as unused and give dummy FP_RND_NEAREST initializer.
183 (__Qp_handle_exceptions): Update declaration.
184 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
185 formatting.
186
04fb54b5
TS
1872012-05-27 Thomas Schwinge <thomas@codesourcery.com>
188
189 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
190 the temporary FPU control word.
191 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
192 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
193 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
194 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
195 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
196 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
197 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
198 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
199 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
200 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
201 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
202
3f99608f
KK
2032012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
204
205 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
206 fields.
207
65a4de4e
CLT
2082012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
209
210 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
211 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
212 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
213 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
214 Likewise.
215 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
216 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
217 Likewise.
218
15749d40
UD
2192012-05-27 Ulrich Drepper <drepper@gmail.com>
220
221 * po/h.po: Update from translation team.
222
25dbcb27
AS
2232012-05-26 Andreas Schwab <schwab@linux-m68k.org>
224
3d3f8e55
AS
225 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
226
25dbcb27
AS
227 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
228 handling of denormals.
229 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
230 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
231 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
232 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
233 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
234 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
235 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
236 Likewise.
237
7ad47a80 2382012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
239
240 [BZ #14152]
241 * math/libm-test.inc (fma_test): Don't always expect underflow
242 exception.
243
9c6ea9fa
SP
2442012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
245
246 [BZ #12416]
247 * elf/tst-execstack.c: Include stackinfo.h.
248 (do_test): Adjust test case to ensure that pthread_getattr_np
249 behaviour remains the same after marking stack executable.
250
a8239222
JM
2512012-05-25 Joseph Myers <joseph@codesourcery.com>
252
253 * sysdeps/unix/sysv/linux/kernel-features.h
254 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
255 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
256 kernel-features.h.
257 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
258 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
259 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
260 kernel-features.h.
261 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
262 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
263
918b5606
L
2642012-05-25 H.J. Lu <hongjiu.lu@intel.com>
265
266 * configure.in: Define the default includes to being none.
267 * configure: Regenerated.
268
3a097cc7
RM
2692012-05-25 Roland McGrath <roland@hack.frob.com>
270
8422c9a5
RM
271 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
272 * sysdeps/x86_64/setjmp.S: Likewise.
273 * sysdeps/i386/bsd-setjmp.S: Likewise.
274 * sysdeps/i386/bsd-_setjmp.S: Likewise.
275 * sysdeps/i386/setjmp.S: Likewise.
276 * sysdeps/i386/__longjmp.S: Likewise.
277 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
278 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
279
3a097cc7
RM
280 * include/stap-probe.h: New file.
281 * configure.in: Handle --enable-systemtap.
282 * configure: Regenerated.
283 * config.h.in (USE_STAP_PROBE): New #undef.
284 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
285 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
286 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
287
21708942
JM
2882012-05-25 Joseph Myers <joseph@codesourcery.com>
289
290 [BZ #13717]
291 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
292 to 2.4.0 where earlier.
293 * sysdeps/unix/sysv/linux/configure: Regenerated.
294 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
295 <kernel-features.h>.
296 [__ASSUME_32BITUIDS]: Make code unconditional.
297 [!__ASSUME_32BITUIDS]: Remove conditional code.
298 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
299 <kernel-features.h>.
300 [__ASSUME_32BITUIDS]: Make code unconditional.
301 [!__ASSUME_32BITUIDS]: Remove conditional code.
302 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
303 [__ASSUME_32BITUIDS]: Make code unconditional.
304 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
305 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
306 <kernel-features.h>.
307 [__ASSUME_32BITUIDS]: Make code unconditional.
308 [!__ASSUME_32BITUIDS]: Remove conditional code.
309 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
310 <kernel-features.h>.
311 [__ASSUME_32BITUIDS]: Make code unconditional.
312 [!__ASSUME_32BITUIDS]: Remove conditional code.
313 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
314 <kernel-features.h>.
315 [__ASSUME_32BITUIDS]: Make code unconditional.
316 [!__ASSUME_32BITUIDS]: Remove conditional code.
317 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
318 <kernel-features.h>.
319 [__ASSUME_32BITUIDS]: Make code unconditional.
320 [!__ASSUME_32BITUIDS]: Remove conditional code.
321 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
322 <kernel-features.h>.
323 [__ASSUME_32BITUIDS]: Make code unconditional.
324 [!__ASSUME_32BITUIDS]: Remove conditional code.
325 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
326 <kernel-features.h>.
327 [__ASSUME_32BITUIDS]: Make code unconditional.
328 [!__ASSUME_32BITUIDS]: Remove conditional code.
329 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
330 <kernel-features.h>.
331 [__ASSUME_32BITUIDS]: Make code unconditional.
332 [!__ASSUME_32BITUIDS]: Remove conditional code.
333 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
334 <kernel-features.h>.
335 [__ASSUME_32BITUIDS]: Make code unconditional.
336 [!__ASSUME_32BITUIDS]: Remove conditional code.
337 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
338 <kernel-features.h>.
339 [__ASSUME_32BITUIDS]: Make code unconditional.
340 [!__ASSUME_32BITUIDS]: Remove conditional code.
341 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
342 <kernel-features.h>.
343 [__ASSUME_32BITUIDS]: Make code unconditional.
344 [!__ASSUME_32BITUIDS]: Remove conditional code.
345 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
346 <kernel-features.h>.
347 [__NR_setresgid] (__setresgid): Do not declare.
348 [__ASSUME_32BITUIDS]: Make code unconditional.
349 [!__ASSUME_32BITUIDS]: Remove conditional code.
350 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
351 <kernel-features.h>.
352 [__NR_setresuid] (__setresuid): Do not declare.
353 [__ASSUME_32BITUIDS]: Make code unconditional.
354 [!__ASSUME_32BITUIDS]: Remove conditional code.
355 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
356 <kernel-features.h>.
357 [__ASSUME_32BITUIDS]: Make code unconditional.
358 [!__ASSUME_32BITUIDS]: Remove conditional code.
359 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
360 <kernel-features.h>.
361 [__ASSUME_32BITUIDS]: Make code unconditional.
362 [!__ASSUME_32BITUIDS]: Remove conditional code.
363 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
364 <kernel-features.h>.
365 [__ASSUME_32BITUIDS]: Make code unconditional.
366 [!__ASSUME_32BITUIDS]: Remove conditional code.
367 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
368 <kernel-features.h>.
369 [__ASSUME_32BITUIDS]: Make code unconditional.
370 [!__ASSUME_32BITUIDS]: Remove conditional code.
371 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
372 <kernel-features.h>.
373 [__ASSUME_32BITUIDS]: Make code unconditional.
374 [!__ASSUME_32BITUIDS]: Remove conditional code.
375 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
376 <kernel-features.h>.
377 [__ASSUME_32BITUIDS]: Make code unconditional.
378 [!__ASSUME_32BITUIDS]: Remove conditional code.
379 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
380 <kernel-features.h>.
381 [__ASSUME_32BITUIDS]: Make code unconditional.
382 [!__ASSUME_32BITUIDS]: Remove conditional code.
383 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
384 <kernel-features.h>.
385 [__ASSUME_32BITUIDS]: Make code unconditional.
386 [!__ASSUME_32BITUIDS]: Remove conditional code.
387 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
388 <kernel-features.h>.
389 [__ASSUME_32BITUIDS]: Make code unconditional.
390 [!__ASSUME_32BITUIDS]: Remove conditional code.
391 * sysdeps/unix/sysv/linux/i386/shmctl.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/kernel-features.h
396 (__ASSUME_SETRESUID_SYSCALL): Remove.
397 (__ASSUME_SETRESGID_SYSCALL): Likewise.
398 (__ASSUME_32BITUIDS): Likewise.
399 (__ASSUME_LDT_WORKS): Likewise.
400 (__ASSUME_O_DIRECTORY): Likewise.
401 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
402 architecture but not kernel version.
403 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
404 (__ASSUME_MMAP2_SYSCALL): Likewise.
405 (__ASSUME_STAT64_SYSCALL): Likewise.
406 (__ASSUME_IPC64): Likewise.
407 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
408 <kernel-features.h>.
409 [__ASSUME_32BITUIDS]: Make code unconditional.
410 [!__ASSUME_32BITUIDS]: Remove conditional code.
411 * sysdeps/unix/sysv/linux/opendir.c: Do not include
412 <kernel-features.h>.
413 [__ASSUME_O_DIRECTORY]: Make code unconditional.
414 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
415 132096]: Remove conditional code.
416 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
417 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
418 <kernel-features.h>.
419 [__ASSUME_32BITUIDS]: Make code unconditional.
420 [!__ASSUME_32BITUIDS]: Remove conditional code.
421 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
422 <kernel-features.h>.
423 [__ASSUME_32BITUIDS]: Make code unconditional.
424 [!__ASSUME_32BITUIDS]: Remove conditional code.
425 * sysdeps/unix/sysv/linux/setegid.c: Do not include
426 <kernel-features.h>.
427 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
428 unconditional.
429 (__setresgid): Do not declare.
430 [__ASSUME_32BITUIDS]: Make code unconditional.
431 [!__ASSUME_32BITUIDS]: Remove conditional code.
432 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
433 <kernel-features.h>.
434 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
435 unconditional.
436 (__setresuid): Do not declare.
437 [__ASSUME_32BITUIDS]: Make code unconditional.
438 [!__ASSUME_32BITUIDS]: Remove conditional code.
439 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
440 <kernel-features.h>.
441 [__ASSUME_32BITUIDS]: Make code unconditional.
442 [!__ASSUME_32BITUIDS]: Remove conditional code.
443 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
444 <kernel-features.h>.
445 [__ASSUME_32BITUIDS]: Make code unconditional.
446 [!__ASSUME_32BITUIDS]: Remove conditional code.
447
a386f1cc
RH
4482012-05-25 Richard Henderson <rth@twiddle.net>
449
450 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
451 dl_hwcap to ifunc resolver.
452 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
453 elf_ifunc_invoke.
454 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
455 dl_hwcap to ifunc resolver.
456 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
457
b6550497
JM
4582012-05-24 Joseph Myers <joseph@codesourcery.com>
459
460 [BZ #14153]
461 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
462 for |x| <= 2**-26, not 2**-57.
463 * math/libm-test.inc (acos_test): Do not allow spurious underflow
464 exception.
465
b0bc23a1
JL
4662012-05-24 Jeff Law <law@redhat.com>
467
468 * stdio-common/Makefile (tests): Add bug25.
469 * stdio-common/bug25.c: New test.
470
347c92e9
L
4712012-05-24 H.J. Lu <hongjiu.lu@intel.com>
472
473 [BZ #13576]
474 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
475 multiple of MALLOC_ALIGNMENT in size.
476 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
477
6bcc8b3f
JM
4782012-05-24 Joseph Myers <joseph@codesourcery.com>
479
480 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
481 Require >= 256.
482 (FILENAME_MAX): Use macro-int-constant.
483 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
484 (_IOFBF): Use macro-int-constant.
485 (_IOLBF): Likewise.
486 (_IONBF): Likewise.
487 (SEEK_CUR): Likewise.
488 (SEEK_END): Likewise.
489 (SEEK_SET): Likewise.
490 (TMP_MAX): Likewise.
491 (EOF): Use macro-int-constant. Require < 0.
492 (NULL): Use macro-constant. Require == 0.
493 (stdin): Require type to be FILE *.
494 (stdout): Likewise.
495 (stderr): Likewise.
496 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
497 macro-int-constant.
498 (EXIT_SUCCESS): Likewise.
499 (NULL): Use macro-constant. Require == 0.
500 (RAND_MAX): Use macro-int-constant.
501 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
502 [C99-based standards] (strtof): Require function.
503 [C99-based standards] (strtold): Likewise.
504 [C99-based standards] (strtoll): Likewise.
505 [C99-based standards] (strtoull): Likewise.
506 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
507 [ISO || ISO99 || ISO11] (limits.h): Likewise.
508 [ISO || ISO99 || ISO11] (math.h): Likewise.
509 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
510 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
511 [ISO || ISO99 || ISO11] (*_t): Do not allow.
512
d18ea0c5
AS
5132012-05-24 Andreas Schwab <schwab@linux-m68k.org>
514
515 [BZ #14132]
56d25bb8
AS
516 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
517 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
518 * intl/dgettext.c (DCGETTEXT): Likewise.
519 * intl/gettext.c (DCGETTEXT): Likewise.
520 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
521 * posix/regex_internal.h (gettext): Likewise.
522 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
523 Remove declaration.
524 * include/argz.h (__argz_count_internal)
525 (__argz_stringify_internal): Remove declaration.
526 (__argz_count, __argz_stringify): Declare hidden proto.
527 * intl/dcgettext.c: Remove use of INTDEF.
528 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
529 * string/argz-stringify.c: Likewise.
530 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
531 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
532 Declare hidden proto.
d18ea0c5
AS
533 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
534 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
535 Declare hidden proto.
536 * include/stdio.h (__asprintf_internal): Don't declare.
537 (__asprintf): Don't define as macro. Declare hidden proto.
538 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
539 (__fsetlocking): Declare hidden proto.
540 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
541 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
542 hidden proto.
543 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
544 (_IO_setlinebuf): Remove use of INTUSE.
545 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
546 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
547 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
548 Remove declaration.
549 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
550 (_IO_do_flush): Remove use of INTUSE.
551 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
552 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
553 (_IO_adjust_column, _IO_least_wmarker)
554 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
555 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
556 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
557 (_IO_default_doallocate, _IO_wdefault_doallocate)
558 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
559 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
560 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
561 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
562 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
563 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
564 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
565 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
566 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
567 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
568 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
569 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
570 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
571 proto.
572 (_IO_flush_all_internal, _IO_adjust_column_internal)
573 (_IO_default_uflow_internal, _IO_default_finish_internal)
574 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
575 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
576 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
577 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
578 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
579 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
580 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
581 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
582 (_IO_file_close_internal, _IO_file_close_it_internal)
583 (_IO_file_underflow_internal, _IO_file_overflow_internal)
584 (_IO_file_init_internal, _IO_file_attach_internal)
585 (_IO_file_fopen_internal, _IO_file_read_internal)
586 (_IO_file_sync_internal, _IO_file_seek_internal)
587 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
588 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
589 (_IO_str_underflow_internal, _IO_str_overflow_internal)
590 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
591 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
592 (_IO_list_all_internal, _IO_link_in_internal)
593 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
594 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
595 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
596 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
597 (_IO_do_write_internal, _IO_padn_internal)
598 (_IO_getline_info_internal, _IO_getline_internal)
599 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
600 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
601 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
602 (_IO_vfscanf_internal, _IO_vfprintf_internal)
603 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
604 (_IO_init_internal, _IO_un_link_internal): Don't declare.
605 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
606 with libc_hidden_ver, remove use of INTUSE.
607 * libio/genops.c: Likewise.
608 * libio/freopen.c: Likewise.
609 * libio/freopen64.c: Likewise.
610 * libio/iofclose.c: Likewise.
611 * libio/iofdopen.c: Likewise.
612 * libio/iofflush.c: Likewise.
613 * libio/iofflush_u.c: Likewise.
614 * libio/iofgets.c: Likewise.
615 * libio/iofgets_u.c: Likewise.
616 * libio/iofopen.c: Likewise.
617 * libio/iofopncook.c: Likewise.
618 * libio/iofread.c: Likewise.
619 * libio/iofread_u.c: Likewise.
620 * libio/ioftell.c: Likewise.
621 * libio/iofwrite.c: Likewise.
622 * libio/iogetline.c: Likewise.
623 * libio/iogets.c: Likewise.
624 * libio/iogetwline.c: Likewise.
625 * libio/iopadn.c: Likewise.
626 * libio/iopopen.c: Likewise.
627 * libio/ioseekoff.c: Likewise.
628 * libio/ioseekpos.c: Likewise.
629 * libio/iosetbuffer.c: Likewise.
630 * libio/iosetvbuf.c: Likewise.
631 * libio/ioungetc.c: Likewise.
632 * libio/ioungetwc.c: Likewise.
633 * libio/iovdprintf.c: Likewise.
634 * libio/iovsprintf.c: Likewise.
635 * libio/iovsscanf.c: Likewise.
636 * libio/memstream.c: Likewise.
637 * libio/obprintf.c: Likewise.
638 * libio/oldfileops.c: Likewise.
639 * libio/oldiofclose.c: Likewise.
640 * libio/oldiofdopen.c: Likewise.
641 * libio/oldiofopen.c: Likewise.
642 * libio/oldiopopen.c: Likewise.
643 * libio/oldstdfiles.c: Likewise.
644 * libio/putc.c: Likewise.
645 * libio/setbuf.c: Likewise.
646 * libio/setlinebuf.c: Likewise.
647 * libio/stdfiles.c: Likewise.
648 * libio/strops.c: Likewise.
649 * libio/vasprintf.c: Likewise.
650 * libio/vscanf.c: Likewise.
651 * libio/vsnprintf.c: Likewise.
652 * libio/vswprintf.c: Likewise.
653 * libio/wfiledoalloc.c: Likewise.
654 * libio/wfileops.c: Likewise.
655 * libio/wgenops.c: Likewise.
656 * libio/wmemstream.c: Likewise.
657 * libio/wstrops.c: Likewise.
658 * libio/__fpurge.c: Likewise.
659 * libio/__fsetlocking.c: Likewise.
660 * assert/assert.c: Likewise.
661 * debug/fgets_chk.c: Likewise.
662 * debug/fgets_u_chk.c: Likewise.
663 * debug/fread_chk.c: Likewise.
664 * debug/fread_u_chk.c: Likewise.
665 * debug/gets_chk.c: Likewise.
666 * debug/obprintf_chk.c: Likewise.
667 * debug/vasprintf_chk.c: Likewise.
668 * debug/vdprintf_chk.c: Likewise.
669 * debug/vsnprintf_chk.c: Likewise.
670 * debug/vsprintf_chk.c: Likewise.
671 * malloc/mtrace.c: Likewise.
672 * misc/error.c: Likewise.
673 * misc/syslog.c: Likewise.
674 * stdio-common/asprintf.c: Likewise.
675 * stdio-common/fxprintf.c: Likewise.
676 * stdio-common/getw.c: Likewise.
677 * stdio-common/isoc99_fscanf.c: Likewise.
678 * stdio-common/isoc99_scanf.c: Likewise.
679 * stdio-common/isoc99_vfscanf.c: Likewise.
680 * stdio-common/isoc99_vscanf.c: Likewise.
681 * stdio-common/isoc99_vsscanf.c: Likewise.
682 * stdio-common/printf-prs.c: Likewise.
683 * stdio-common/printf_fp.c: Likewise.
684 * stdio-common/printf_fphex.c: Likewise.
685 * stdio-common/printf_size.c: Likewise.
686 * stdio-common/putw.c: Likewise.
687 * stdio-common/scanf.c: Likewise.
688 * stdio-common/sprintf.c: Likewise.
689 * stdio-common/tmpfile.c: Likewise.
690 * stdio-common/vfprintf.c: Likewise.
691 * stdio-common/vfscanf.c: Likewise.
692 * stdlib/strfmon_l.c: Likewise.
693 * sunrpc/openchild.c: Likewise.
694 * sunrpc/xdr_stdio.c: Likewise.
695 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
696 * sysdeps/mach/hurd/tmpfile.c: Likewise.
697
d6c33fda
RM
6982012-05-24 Roland McGrath <roland@hack.frob.com>
699
c1487492
RM
700 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
701
702 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
703 in the third column, to generate for the shared library an IFUNC
704 that uses _dl_vdso_vsym.
705 * Makerules (COMPILE.c, compile-stdin.c): New variables.
706 * Makeconfig (object-suffixes-noshared): New variable.
707
708 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
709 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
710 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
711 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
712
d6c33fda
RM
713 [BZ #14132]
714 * include/sys/time.h (__gettimeofday): Remove macro.
715 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
716 * time/gettimeofday.c (__gettimeofday): Remove #undef.
717 Remove INTDEF.
718 (__gettimeofday): Add libc_hidden_def.
719 (gettimeofday): Add libc_hidden_weak.
720 * sysdeps/mach/gettimeofday.c: Likewise.
721 * sysdeps/posix/gettimeofday.c: Likewise.
722 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
723 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
724 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
725 (__gettimeofday_internal): Remove strong_alias.
726 (__gettimeofday): Add libc_hidden_def.
727 (gettimeofday): Add libc_hidden_weak.
728 * sysdeps/unix/syscalls.list (gettimeofday):
729 Remove __gettimeofday_internal alias.
730
b5a2bbe6
L
7312012-05-24 Daniel Jacobowitz <drow@false.org>
732 H.J. Lu <hongjiu.lu@intel.com>
733
734 [BZ #12495]
735 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
736 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
737 (largebin_index_32_big): New.
738 (largebin_index): Use it for 16-byte alignment.
739 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
740 correction with front_misalign.
741
cfba4fda
L
7422012-05-24 H.J. Lu <hongjiu.lu@intel.com>
743
7f907421
L
744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
746 Likewise.
747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
748 Likewise.
749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
750 Likewise.
751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
752 Likewise.
753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
754 Likewise.
755 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
756 Likewise.
757 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
758 Likewise.
759 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
760 Likewise.
761 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
762 Likewise.
763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
764 Likewise.
765 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
766 Likewise.
767 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
768 Likewise.
769
cfba4fda
L
770 * scripts/data/c++-types-x32-linux-gnu.data: New file.
771 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
772
80bad0cc
JM
7732012-05-24 Joseph Myers <joseph@codesourcery.com>
774
7a25eb06
JM
775 [BZ #10846]
776 [BZ #14036]
777 * math/libm-test.inc (exp_test): Add test from bug 14036.
778 (pow_test): Add test from bug 10846.
779
795405f9
JM
780 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
781 and other flags.
782 (special_function): Do not include flags in test name.
783 (parse_args): Likewise.
784 * sysdeps/i386/fpu/libm-test-ulps: Update.
785 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
786 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
787 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
789
80bad0cc
JM
790 * math/gen-libm-test.pl (%beautify): Add entries for underflow
791 exceptions.
792 * math/libm-test.inc ("Philosophy"): Update comment about
793 exception testing.
794 (UNDERFLOW_EXCEPTION): New macro.
795 (UNDERFLOW_EXCEPTION_OK): Likewise.
796 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
797 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
798 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
799 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
800 (INVALID_EXCEPTION_OK): Update value.
801 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
802 (OVERFLOW_EXCEPTION_OK): Likewise.
803 (IGNORE_ZERO_INF_SIGN): Likewise.
804 (test_exceptions): Handle underflow exceptions.
805 (acos_test): Update for underflow exception expectations.
806 (cexp_test): Likewise.
807 (clog_test): Likewise.
808 (clog10_test): Likewise.
809 (csqrt_test): Likewise.
810 (ctan_test): Likewise.
811 (ctanh_test): Likewise.
812 (exp_test): Likewise.
813 (exp10_test): Likewise.
814 (exp2_test): Likewise.
815 (expm1_test): Likewise.
816 (fma_test): Likewise.
817 (j0_test): Likewise.
818 (jn_test): Likewise.
819 (nexttoward_test): Likewise.
820 (pow_test): Likewise.
821 (scalbn_test): Likewise.
822 (scalbln_test): Likewise.
823 (tan_test): Likewise.
824 (y1_test): Likewise.
825 * sysdeps/i386/fpu/libm-test-ulps: Update.
826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
827
9e0e3d0b
DM
8282012-05-23 David S. Miller <davem@davemloft.net>
829
830 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
831 (__libc_sigaction): Remove unused local variables.
832
ccd0a08f
L
8332012-05-23 H.J. Lu <hongjiu.lu@intel.com>
834
835 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
836
62bdf9a6
PE
8372012-05-23 Paul Eggert <eggert@cs.ucla.edu>
838
f8591f80
PE
839 mktime: avoid signed integer overflow
840 * time/mktime.c (__mktime_internal): Do not mishandle the case
841 where diff == INT_MIN.
842
94c7d826
PE
843 mktime: simplify computation of average
844 * time/mktime.c (ranged_convert): Use new time_t_avg function
845 instead of rolling our own (probably-slower) code.
846
ce73d683
PE
847 mktime: do not assume signed right shift propagates sign bit
848 * time/mktime.c (isdst_differ): New static function.
849 (__mktime_internal): No need to normalize tm_isdst now.
850 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
851 tm_isdst values.
852
72a22e59
PE
853 mktime: merge another wrapv change from gnulib
854 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
855 from some compilers.
856
68605433
PE
857 mktime: remove incorrect attempt at unusual arithmetics
858 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
859 The code didn't really work on such machines anyway.
860 (TYPE_MINIMUM): Assume two's complement.
861 (twos_complement_arithmetic): Verify that long_int and time_t
862 are two's complement (or unsigned, in the latter case).
863
03cf7fe3
PE
864 mktime: check signed shifts on long_int and time_t, too
865 * time/mktime.c (SHR): Check that shifts work as desired
866 on the types long_int and time_t too, as SHR is used on
867 such types.
868
f04dfbc2
PE
869 mktime: do not assume 'long' is wide enough
870 * time/mktime.c (verify): Move decl up.
871 (long_int): New type.
872 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
873 to remove assumption in the code that 'long' is wide enough to
874 store year values. This assumption is not true on x32 and on
875 some non-glibc platforms.
876
62bdf9a6
PE
877 mktime: merge wrapv change from gnulib
878 * time/mktime.c (WRAPV): New macro.
879 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
880 (guess_time_tm, __mktime_internal): Do not assume that signed
881 integer overflow wraps around; modern compilers generate code
882 where this assumption is no longer valid.
883
5e292e4f
L
8842012-05-23 H.J. Lu <hongjiu.lu@intel.com>
885
886 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
887 Replace "jmp L(pseudo_end)" with "ret".
888 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
889 Likewise.
890
8caf8c87
AJ
8912012-05-23 Andreas Jaeger <aj@suse.de>
892
893 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
894 * sysdeps/unix/sysv/linux/poll.c: Remove file.
895
1a09dc56
AJ
8962012-05-23 Andreas Jaeger <aj@suse.de>
897 Maximilian Attems <max@stro.at>
898
899 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
900 New macros.
901
1c87aba0
L
9022012-05-23 H.J. Lu <hongjiu.lu@intel.com>
903
904 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
905 code so that pseudo_end is just ret and the stack pointer is
906 correct also for static library in error case.
907
40e45bd5
JM
9082012-05-23 Joseph Myers <joseph@codesourcery.com>
909
c2670533
JM
910 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
911 move to syscalls.list.
912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
916
40e45bd5
JM
917 * manual/install.texi (Running make install): Do not mention Linux
918 kernel version for which pt_chown is not needed.
919 (Linux): Do not mention problems with nscd with 2.0 kernels.
920 * INSTALL: Regenerated.
921
be08eda5
AJ
9222012-05-23 Andreas Jaeger <aj@suse.de>
923
924 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
925 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
926 macro.
927 * sysdeps/unix/sysv/linux/s390/bits/mman.h
928 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
929 * sysdeps/unix/sysv/linux/sh/bits/mman.h
930 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
931 * sysdeps/unix/sysv/linux/i386/bits/mman.h
932 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
933 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
934 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
935 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
936 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
937 * sysdeps/unix/sysv/linux/bits/in.h
938 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
939
a6a056bb
RM
9402012-05-22 Roland McGrath <roland@hack.frob.com>
941
942 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
943 (PREPARE_VERSION): Just use assert instead, it will be elided
944 under [NDEBUG] anyway.
945
c9009328
L
9462012-05-22 H.J. Lu <hongjiu.lu@intel.com>
947
948 * sysdeps/unix/sysv/linux/Makefile: Include
949 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 950 (sysdep_routines): Remove sysctl.
c9009328
L
951 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
952 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
953 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
954 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
955 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
956
73338355
AJ
9572012-05-22 Andreas Jaeger <aj@suse.de>
958
959 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
960 that pseudo_end is just ret and the stack pointer is correct also
961 for static library in error case.
962
d44638b0
PP
9632012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
964
965 [BZ #14122]
966 * nss/nsswitch.c (defconfig_entries): New variable.
967 (__nss_database_lookup): Don't leak defconfig entries.
968 (nss_parse_service_list): Don't leak on error paths.
969 (free_database_entries): New function.
970 (free_defconfig): New function.
971 (free_mem): Move common code to free_database_entries.
972
31a39bd8
L
9732012-05-22 H.J. Lu <hongjiu.lu@intel.com>
974
da0331a8
L
975 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
976 Add arch_prctl.
977 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
978
31a39bd8
L
979 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
980 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
981 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
982 New macro.
983 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
984 (INTERNAL_SYSCALL_TYPES): Likewise.
985 (LOAD_ARGS_TYPES_[1-6]): Likewise.
986 (LOAD_REGS_TYPES_[1-6]): Likewise.
987 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
988 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
989
45470df3
AZ
9902012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
991
992 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
993 copysignl for GLIBC_2_0.
994 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
995 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
996 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
997 logbl for GLIBC_2_0.
998 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
999 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1000
98a61bcb
L
10012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1002
a4f6e481
L
1003 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1004 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1005
f63d5db6
L
1006 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1007 Use "neg %eax".
1008
98a61bcb
L
1009 * time/mktime.c: Update copyright years.
1010
95770f14
PE
10112012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1012
6226efbd
PE
1013 mktime: merge comment-quoting-style change from gnulib
1014 * time/mktime.c: Quote 'like this' in comments.
1015 The GNU coding standards suggest that we no longer quote `like this',
1016 as "`" and "'" are typically rendered asymmetrically nowadays.
1017 The typical gnulib style is to quote 'like this' when quoting
1018 code, and "like this" when quoting English.
1019
b99e4f78
PE
1020 * time/mktime.c (compile-command): Add "-I.".
1021
643e01e6
PE
1022 mktime: merge mktime-internal.h change from gnulib
1023 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1024
2554247d
PE
1025 mktime: merge time_r change from gnulib
1026 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1027
826dd0ab
PE
1028 mktime: merge DEBUG change from gnulib
1029 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1030 case system <time.h> has a #define.
1031
bd83aabe
PE
1032 mktime: merge <sys/types.h> change from gnulib
1033 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1034 since <time.t> is now guaranteed to define time_t.
1035
95770f14
PE
1036 mktime: merge HAVE_CONFIG_H change from gnulib
1037 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1038
5e1a27a9
L
10392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1040
0e44a77e
L
1041 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1042 Use "neg %eax".
1043
5e1a27a9
L
1044 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1045 __rlim_t cast.
1046 (struct rusage): Use anonymous union to pad each field to
1047 __syscall_slong_t.
1048
46259bec
DM
10492012-05-21 David S. Miller <davem@davemloft.net>
1050
1051 * Makefules (o-iterator): Remove .s cases.
1052 (compile-command.s): Delete.
1053 (COMPILE.s): Delete.
1054 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1055
59f0c22e
JM
10562012-05-21 Joseph Myers <joseph@codesourcery.com>
1057
1058 * configure.in (libc_cv_predef_stack_protector): Only consider
1059 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1060 * configure: Regenerated.
1061
20c07380
L
10622012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1063
bbb3154b
L
1064 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1065 New macro. Use R*LP on int and pointer.
1066 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1067 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1068 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1069 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1070
20c07380
L
1071 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1072 [__WORDSIZE_TIME64_COMPAT32] instead of
1073 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1074 (struct utmp): Likewise.
1075 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1076 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1077 Renamed to ...
1078 (__WORDSIZE_TIME64_COMPAT32): This.
1079 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1080 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1081 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1082 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1083 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1084 (__WORDSIZE_TIME64_COMPAT32): New macro.
1085
d8d1017e
AJ
10862012-05-21 Andreas Jaeger <aj@suse.de>
1087
1088 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1089 only if [SHARED]. Add prototype for __wcschr_ia32.
1090
6c7fb145
RM
10912012-05-21 Roland McGrath <roland@hack.frob.com>
1092
1093 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1094 of %rbp unmolested in the jmp_buf while mangling the low bits.
1095 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1096 unmolested high bits of %rbp while demangling the low bits.
1097 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1098
66274218
AJ
10992012-05-21 Andreas Jaeger <aj@suse.de>
1100
07c58f8f
AJ
1101 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1102 * sunrpc/svc_simple.c: Use it for registerrpc.
1103 * sunrpc/xcrypt.c: Use it for passwd2des.
1104
66274218
AJ
1105 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1106
61f65140
L
11072012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1108
1109 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1110 Don't define if [__SYSCALL_WORDSIZE != 32].
1111 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1112 New macro.
1113
5fefb436
AJ
11142012-05-21 Bruno Haible <bruno@clisp.org>
1115 Andreas Jaeger <aj@suse.de>
1116
1117 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1118 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1119 inptr and inend for must_buffer_ch.
1120 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1121 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1122 * stdio-common/Makefile (tests): Remove bug15.
1123 (bug15-ENV): Remove macro.
1124 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1125 anymore.
1126
d8e272ab
AJ
11272012-05-19 Andreas Jaeger <aj@suse.de>
1128 Roland McGrath <roland@hack.frob.com>
1129
1130 * manual/contrib.texi: Completely rewritten. It contains now an
1131 alphabetical list of contributors and their contributions.
1132
4a56a162
RH
11332012-05-21 Richard Henderson <rth@twiddle.net>
1134
1135 * misc/getauxval.c (__getauxval): Use unsigned long int.
1136 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1137 (getauxval): Use unsigned long int.
1138
d024d23c
L
11392012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1140
1141 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1142
cbc00a03
RM
11432012-05-21 Roland McGrath <roland@hack.frob.com>
1144
1145 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1146 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1147 __alignof__ (long double).
1148
478143fa
AZ
11492012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1150
1151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1152
c7683a6d
RH
11532012-05-20 Richard Henderson <rth@twiddle.net>
1154
1155 * misc/getauxval.c: New file.
1156 * misc/sys/auxv.h: New file.
1157 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1158 (routines): Add getauxval.
1159 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1160 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1161 * elf/dl-sysdep.c (_dl_auxv): Remove.
1162 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1163 * elf/dl-support.c (_dl_auxv): New variable.
1164 (_dl_aux_init): Initialize it.
1165 * manual/startup.texi (Auxiliary Vector): New node.
1166 * sysdeps/generic/bits/hwcap.h: New file.
1167 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1168 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1169 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1170 * sysdeps/sparc/sysdep.h: ... here. Include it.
1171 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1172 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1174 Update.
c7683a6d
RH
1175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1178 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1183
a6f1845d
AZ
11842012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1185
1186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1187
cbcbe830
DM
11882012-05-19 David S. Miller <davem@davemloft.net>
1189
1190 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1191
e0b16cc2
JM
11922012-05-19 Joseph Myers <joseph@codesourcery.com>
1193
1194 [BZ #14123]
1195 * math/s_ccosh.c: Include <float.h>
1196 (__ccosh): Avoid internal overflow calculating sinh and cosh
1197 values before multiplying by sin and cos values.
1198 * math/s_ccoshf.c: Likewise.
1199 * math/s_ccoshl.c: Likewise.
1200 * math/s_csin.c: Likewise.
1201 * math/s_csinf.c: Likewise.
1202 * math/s_csinl.c: Likewise.
1203 * math/s_csinh.c: Likewise.
1204 * math/s_csinhf.c: Likewise.
1205 * math/s_csinhl.c: Likewise.
1206 * math/libm-test.inc (ccos_test): Add more tests.
1207 (ccosh_test): Likewise.
1208 (csin_test): Likewise.
1209 (csinh_test): Likewise.
1210 * sysdeps/i386/fpu/libm-test-ulps: Update.
1211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1212
6ad13e08
L
12132012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1214
f66f0ce8
L
1215 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1216 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1217
6ad13e08
L
1218 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1219
b1d072a7
JM
12202012-05-19 Joseph Myers <joseph@codesourcery.com>
1221
1222 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1223 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1224 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1225 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1226 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1227 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1228 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1229 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1230 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1231 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1232 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1233 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1234 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1235 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1236 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1237 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1238 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1239 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1240 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1241 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1242 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1243 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1244 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1245 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1246 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1247 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1248 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1249 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1250 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1251 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1252 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1253
9eae47cb
AJ
12542012-05-18 Andreas Jaeger <aj@suse.de>
1255
1256 * csu/.gitignore: Delete.
1257
bb07f69f
L
12582012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1259
1260 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1261 (timex): Use __syscall_slong_t.
1262
e6bdb741
AJ
12632012-05-18 Andreas Jaeger <aj@suse.de>
1264 Carlos O'Donell <carlos_odonell@mentor.com>
1265
1266 * manual/install.texi (Configuring and compiling): Update
1267 description about files modified in the source directory.
d6c33fda 1268 * INSTALL: Regenerated.
e6bdb741 1269
1b74487e
L
12702012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1271
1272 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1273 value. Use "or" to set return value to -1.
1274 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1275 negate return value.
1276
a88b64b9
TMQMF
12772012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1278
1279 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1280 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1281 failure if the compiler has Graphite support disabled.
1282 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1283 Likewise.
1284 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1285 CFLAGS-memmove.c): Likewise.
1286 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1287 Likewise.
1288
3707636e
L
12892012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1290
610b8622
L
1291 * sysdeps/x86_64/x32/_itoa.h: New file.
1292
7cd195df
L
1293 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1294 getdents system call only if kernel and user dirents have the
1295 same d_ino and d_off.
1296
94b07d20
L
1297 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1298 LLONG_MAX != LONG_MAX.
1299 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1300 (_fitoa_word): Likewise.
1301
18298070
L
1302 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1303 years.
1304 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1305 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1306 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1307
553c7ea4
L
1308 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1309 include <bits/wordsize.h>. Check __x86_64__ instead of
1310 __WORDSIZE.
1311 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1312 if __x86_64__ is defined. Use anonymous union on fpstate.
1313
3707636e
L
1314 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1315 anonymous union.
1316
b53ef01a
AS
13172012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1318
37fb1dc0
AS
1319 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1320 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1321 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1322 Refer to _rtld_local_ro instead of _rtld_global_ro.
1323 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1324 Likewise.
1325 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1326 Likewise.
1327 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1328 Likewise.
1329 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1330 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1331 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1332
b53ef01a
AS
1333 * sysdeps/powerpc/powerpc32/dl-machine.c
1334 (__elf_machine_runtime_setup) [PROF]: Don't reference
1335 _dl_prof_resolve.
1336
7a185db2
AJ
13372012-05-18 Andreas Jaeger <aj@suse.de>
1338
1339 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1340 function only available for GCCs before 3.4 since GCC 3.4
1341 introduced a builtin.
1342 (lrint): Likewise.
1343 (llrintf): Likewise.
1344 (llrint): Likewise.
1345 (fmaxf): Likewise.
1346 (fmax): Likewise.
1347 (fminf): Likewise.
1348 (fmin): Likewise.
1349 (rint): Likewise.
1350 (rintf): Likewise.
1351 (nearbyint): Likewise.
1352 (nearbyintf): Likewise.
1353 (ceil): Likewise.
1354 (ceilf): Likewise.
1355 (floor): Likewise.
1356 (floorf): Likewise.
1357
3e5aef87
L
13582012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1359
428bd707
L
1360 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1361 on both fields and cast pointer to __syscall_ulong_t.
1362
3e5aef87
L
1363 * bits/types.h (__fsword_t): New type.
1364 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1365 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1366 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1367 (__FSWORD_T_TYPE): Likewise.
1368 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1369 (__FSWORD_T_TYPE): Likewise.
1370 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1371 (__FSWORD_T_TYPE): Likewise.
1372 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1373 (__FSWORD_T_TYPE): Likewise.
1374 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1375 __SWORD_TYPE with __fsword_t.
1376 (statfs64): Likewise.
1377
1ba7c3dc
DM
13782012-05-17 David S. Miller <davem@davemloft.net>
1379
1380 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1381
59910343
AJ
13822012-05-17 Andreas Jaeger <aj@suse.de>
1383
1384 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1385 warning.
1386
2e4c1e9e
L
13872012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1388
1389 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1390
de7f5ce7
AJ
13912012-05-17 Andreas Jaeger <aj@suse.de>
1392
1393 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1394 when it is used.
1395
286abc3d
CM
13962012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1397
1398 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1399
477cc68e
L
14002012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1401
1402 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1403 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1404
1a0994f5
CD
14052012-05-17 Andreas Jaeger <aj@suse.de>
1406 Carlos O'Donell <carlos_odonell@mentor.com>
1407
1408 [BZ #14059]
1409 * sysdeps/x86_64/multiarch/init-arch.h
1410 (bit_YMM_Usable): Rename to...
1411 (bit_AVX_Usable): ... this.
1412 (bit_FMA4_Usable): New macro.
1413 (bit_XMM_state): New macro.
1414 (bit_YMM_state): New macro.
1415 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1416 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1417 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1418 (CPUID_OSXSAVE): New macro.
1419 (CPUID_AVX): New macro.
1420 (CPUID_FMA4): New macro.
1421 (index_YMM_Usable): Rename to...
1422 (index_AVX_Usable): ... this.
1423 (HAS_AVX): Use HAS_ARCH_FEATURE.
1424 (HAS_FMA4): Likewise.
1425 (HAS_YMM_USABLE): Remove.
1426 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1427 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1428 are present.
1429 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1430 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1431 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1432 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1433 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1434
0af797de
CM
14352012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1436
1437 * math/libm-test.c: Support platforms without multiple rounding modes.
1438 * math/bug-nextafter.c: Support platforms without FP exceptions.
1439 * math/bug-nexttoward.c: Likewise.
1440 * math/test-fenv.c: Likewise.
1441 * math/test-misc.c: Likewise.
1442 * stdlib/bug-getcontext.c: Likewise.
1443
e39745ff
AJ
14442012-05-17 Andreas Jaeger <aj@suse.de>
1445
1446 * manual/examples/search.c (critter_cmp): Change signature to
1447 avoid warnings.
1448 * manual/string.texi (Collation Functions): Likewise.
1449
48970aba
L
14502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1451
1452 * bits/types.h: Fold copyright years.
1453 * bits/typesizes.h: Likewise.
1454 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1455 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1456 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1457 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1458 * time/time.h: Likewise.
1459
bedee953
PP
14602012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1461
1462 [BZ #208]
1463 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1464 in instead of returning them. Return void.
1465 (__libc_mallinfo): Accumulate over all arenas.
1466 (__malloc_stats): Adjust for change in int_mallinfo interface.
1467
61653dfb
RM
14682012-05-16 Roland McGrath <roland@hack.frob.com>
1469
30b99d79
RM
1470 [BZ #10375]
1471 * configure.in (NM): Add AC_CHECK_TOOL for it.
1472 (libc_extra_cflags): New substituted variable.
1473 Check for -fstack-protector being used implicitly.
1474 * configure: Regenerated.
1475 * config.make.in (config-extra-cflags): New variable,
1476 gets @libc_extra_cflags@.
1477 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1478
61653dfb
RM
1479 [BZ #10375]
1480 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1481 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1482 * configure: Regenerated.
1483 * config.make.in (CPPUNDEFS): New substituted variable.
1484 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1485 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1486 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1487
661768bb
L
14882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1489
1490 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1491 (mq_attr): Use __syscall_slong_t.
1492
d4261567
L
14932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1494
1495 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1496 Check __x86_64__ instead of __WORDSIZE.
1497 (_STAT_VER_LINUX): Likewise.
1498 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1499 __syscall_ulong_t and __syscall_slong_t.
1500 (stat64): Likewise.
1501
cf3ff365
L
15022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1503
1504 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1505
76cf3e4d
L
15062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1507
1508 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1509
a637753a
L
15102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1511
1512 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1513 __syscall_ulong_t.
1514
d5e05119
L
1515 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1516 include <bits/wordsize.h>. Check __x86_64__ instead of
1517 __WORDSIZE.
1518 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1519 defined.
1520 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1521
f62ee380
L
1522 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1523 include <bits/wordsize.h>. Check __x86_64__ instead of
1524 __WORDSIZE.
1525 (user_regs_struct): Use "__extension__ unsigned long long"
1526 instead of "unsigned long" if __x86_64__ is defined.
1527 (user): Likewise. Pad after pointer field if __ILP32__ is
1528 defined.
1529
4e124ced
JM
15302012-05-16 Joseph Myers <joseph@codesourcery.com>
1531
6a3951a0
JM
1532 * configure.in (makeinfo): Require version 4.5 or later. Allow
1533 versions 5 to 9.
1534 * configure: Regenerated.
1535 * manual/install.texi (texinfo): Increase version requirement to
1536 4.5 or later.
1537 * INSTALL: Regenerated.
1538
4e124ced
JM
1539 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1540
953ca31a
L
15412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1542
1543 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1544
617aca05
L
1545 * sysdeps/x86_64/x32/ffs.c: New file.
1546
5762f7ae
L
1547 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1548 __syscall_ulong_t.
1549 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1550 defined. Use __syscall_ulong_t.
1551 (shminfo): Use __syscall_ulong_t.
1552 (shm_info): Likewise.
1553
a26b6856
L
1554 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1555 __syscall_ulong_t.
1556
cb2b9ef7
L
1557 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1558 <bits/wordsize.h>.
1559 (msgqnum_t): Use __syscall_ulong_t.
1560 (msglen_t): Likewise.
1561 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1562 __syscall_ulong_t.
1563
34683bb0
L
1564 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1565 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1566
84a68786
L
1567 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1568
48baa5f1
L
1569 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1570 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1571
180be88b
L
1572 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1573 __syscall_slong_t.
1574
5e90c8ad
L
1575 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1576 include <bits/wordsize.h>. Check __x86_64__ instead of
1577 __WORDSIZE.
1578
23dfb58b
L
1579 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1580 "unsigned long long int" if __x86_64__ is defined.
1581 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1582
ce5d54b0
L
1583 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1584 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1585 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1586
13dc9eac
L
1587 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1588 <stdint.h>.
1589 (GET_PC): Cast to uintptr_t first.
1590 (GET_FRAME): Likewise.
1591 (GET_STACK): Likewise.
1592
a7895d15
L
1593 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1594 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1595 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1596 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1597 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1598 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1599 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1600 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1601 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1602 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1603 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1604 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1605 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1606 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1607 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1608 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1609 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1610 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1611 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1612 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1613 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1614 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1615 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1616 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1617 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1618 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1619 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1620 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1621 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1622
656416c9
AS
16232012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1624
5bd66283
AS
1625 * Makerules (+depfiles): Also collect depfiles from .oS in
1626 $(extra-objs).
1627 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1628 .oS, $(libnldbl-routines)).
1629
656416c9
AS
1630 * Makerules (native-compile-mkdep-flags): Define.
1631 * sunrpc/Makefile (extra-objs): Add $(addprefix
1632 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1633 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1634 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1635 calling $(make-target-directory).
1636
a46f2169
L
16372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1638
1639 * bits/types.h (__snseconds_t): Removed.
1640 * time/time.h (struct timespec): Replace __snseconds_t with
1641 __syscall_slong_t.
1642 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1643 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1644 Likewise.
1645 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1646 (__SNSECONDS_T_TYPE): Likewise.
1647 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1648 (__SNSECONDS_T_TYPE): Likewise.
1649 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1650 (__SNSECONDS_T_TYPE): Likewise.
1651
6af6528b
L
16522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1653
1654 * sysdeps/mach/hurd/bits/typesizes.h
1655 (__SYSCALL_SLONG_TYPE): New macro.
1656 (__SYSCALL_ULONG_TYPE): Likewise.
1657
de986b56
L
16582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1659
1660 * bits/types.h (__syscall_slong_t): New type.
1661 (__syscall_ulong_t): Likewise.
1662
1663 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1664 (__SYSCALL_ULONG_TYPE): Likewise.
1665 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1666 (__SYSCALL_SLONG_TYPE): Likewise.
1667 (__SYSCALL_ULONG_TYPE): Likewise.
1668 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1669 (__SYSCALL_SLONG_TYPE): Likewise.
1670 (__SYSCALL_ULONG_TYPE): Likewise.
1671 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1672 (__SYSCALL_SLONG_TYPE): Likewise.
1673 (__SYSCALL_ULONG_TYPE): Likewise.
1674
85736dc7
L
16752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1676
1677 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1678 Add sigaltstack-offsets.sym.
1679 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1680 <sigaltstack-offsets.h>.
1681 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1682 longjmp_msg pointer.
1683 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1684 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1685 signal stack.
1686 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1687
cc03b296
JM
16882012-05-15 Joseph Myers <joseph@codesourcery.com>
1689
a9538892
JM
1690 * elf/stackguard-macros.h: Remove file.
1691 * sysdeps/generic/stackguard-macros.h: New file.
1692 * sysdeps/i386/stackguard-macros.h: Likewise.
1693 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1694 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1695 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1696 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1697 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1698 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1699 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1700 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1701 <elf/stackguard-macros.h>.
1702
cc03b296
JM
1703 [BZ #14109]
1704 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1705 __aligned__ in attribute.
1706 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1707 (gregset_t): Likewise.
1708
93171016
L
17092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1710
1711 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1712 * sysdeps/x86_64/64/Implies-after: Here. New file.
1713 * sysdeps/x86_64/x32/Implies-after: New file.
1714
d86813a0
L
17152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1716
1717 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1718 and access return value for _dl_profile_fixup. Use R10_LP to
1719 load frame size.
1720
2953ec75
L
17212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1722
1723 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1724
3b550e9e
L
17252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1726
1727 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1728 * sysdeps/x86_64/x32/sysdep.h: New file.
1729
eda41706
L
17302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1731
1732 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1733 * sysdeps/x86_64/setjmp.S: Likewise.
1734
9ea01d93
AZ
17352012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1736
1737 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1738 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1739 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1740 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1741 remove unused global constant.
1742
02a91938
CM
17432012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1744
1745 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1746 include of <not-cancel.h>.
1747
6540185f
RM
17482012-05-15 Roland McGrath <roland@hack.frob.com>
1749
1750 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1751
509072a0
AJ
17522012-05-15 Jeff Law <law@redhat.com>
1753 Andreas Jaeger <aj@suse.de>
1754
1755 [BZ #13594]
1756 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1757 out from...
1758 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1759 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1760 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1761 code changing __hst_map_handle.map.
1762
ba75122d
RM
17632012-05-15 Roland McGrath <roland@hack.frob.com>
1764
1765 * configure.in (sysnames): Look for Implies-before and Implies-after
1766 files.
1767 * configure: Regenerated.
1768
890d8bd8
L
17692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1770
1771 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1772 8-byte data alignment with LP_SIZE alignment.
1773
f6ee6623
L
17742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1775
1776 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1777 into R10_LP.
1778
ea2626f6
L
17792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1780
1781 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1782
085f715e
L
17832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1784
1785 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1786 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1787 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1788 Likewise.
1789 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1790
be8498fc
L
17912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1792
1793 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1794 (stackinfo_sub_sp): Likewise.
1795
70bc83b9
L
17962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1797
1798 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1799 RAX_LP.
1800
9bc0b730
L
18012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1802
1803 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1804 into R*_LP.
1805
6d2850e7
L
18062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1807
1808 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1809 sizes into R*_LP.
1810
3cb84561
L
18112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1812
1813 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1814
54e2ed81
L
18152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1816
1817 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1818 into R11_LP and load __x86_64_shared_cache_size_half into
1819 R8_LP.
1820
8a17f349
L
18212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1822
1823 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1824 R8_LP.
1825
777b1eea
AZ
18262012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1827
1828 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1829 logb for POWER7.
1830 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1831 logbf for POWER7.
1832 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1833 logbl for POWER7.
1834 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1835 powerpc32/power7/fpu/s_logb.c via #include.
1836 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1837 powerpc32/power7/fpu/s_logbf.c via #include.
1838 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
1839 powerpc32/power7/fpu/s_logbl.c via #include.
1840
d20d4ac2
JM
18412012-05-15 Joseph Myers <joseph@codesourcery.com>
1842
1843 * README.libm: Remove file.
1844
6cdef1ab
L
18452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1846
1847 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1848 count for x32. Use R*_LP and omit operand-size suffix.
1849
0b254d8f
L
18502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1851
1852 * shlib-versions: Move x86_64-.*-linux.* entries to ...
1853 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1854 * sysdeps/x86_64/x32/shlib-versions: New file.
1855
ceb809dc
RM
18562012-05-14 Roland McGrath <roland@hack.frob.com>
1857
1858 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1859 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1860 Use _dl_fatal_printf instead.
1861
37f1abd4
JM
18622012-05-14 Joseph Myers <joseph@codesourcery.com>
1863
1864 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1865 set if not set by the user. Do not allow for being unset.
1866 * sysdeps/unix/sysv/linux/configure: Regenerated.
1867
11de3a33
L
18682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1869
1870 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1871 the `q' suffix from lea and replace .quad with ASM_ADDR.
1872
e02f153a
L
18732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1874
1875 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1876 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1877 instead of $17.
1878 (PTR_DEMANGLE): Likewise.
1879
520ae0fd
L
18802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1881
1882 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1883 (LP_OP): Likewise.
1884 (ASM_ADDR): Likewise.
1885 (RAX_LP): Likewise.
1886 (RBP_LP): Likewise.
1887 (RBX_LP): Likewise.
1888 (RCX_LP): Likewise.
1889 (RDI_LP): Likewise.
1890 (RSI_LP): Likewise.
1891 (RSP_LP): Likewise.
1892 (R8_LP): Likewise.
1893 (R9_LP): Likewise.
1894 (R10_LP): Likewise.
1895 (R10_LP): Likewise.
1896 (R11_LP): Likewise.
1897 (R12_LP): Likewise.
1898 (R13_LP): Likewise.
1899 (R14_LP): Likewise.
1900 (R15_LP): Likewise.
1901
b985be81
L
19022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1903
1904 * sysdeps/x86_64/x32/dl-machine.h: New file.
1905
6a4888ff
AJ
19062012-05-14 Andreas Jaeger <aj@suse.de>
1907
1908 * manual/Makefile (subdir): Remove export of subdir.
1909 (all): Remove target.
1910 (.PHONY): Remove all from list.
1911 (mkinstalldirs): Remove.
1912 (.PHONY): Remove installdirs from list.
1913 ($(inst_infodir)/libc.info): Use make-target-directory.
1914 (installdirs): Remove.
1915 (subdir_%): Remove.
1916 (glibc-targets): Remove.
1917 (lib): Remove.
1918 (stubs): Remove.
1919 ($(objpfx)stubs ../po/manual.pot): Remove.
1920 ($(objpfx)stamp%): Remove.
1921 (make-target-directory): Remove.
1922 (subdir_install): Remove.
1923 (routines): Remove.
1924 (aux): Remove.
1925 (sources): Remove.
1926 (objects): Remove.
1927 (headers): Remove.
1928
1929 [BZ #13750]
1930 * manual/.gitignore: Remove, it's not needed anymore.
1931 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
1932 all files in it.
1933 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
1934 directory.
1935 (texis): Renamed to $(objpfx)texis.
1936 (texis-path): New, contains path to generated files.
1937 (chapters.%): Use texis-path for complete path, add extra argument
1938 libc-texinfo.sh.
1939 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
1940 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
1941 (summary,texi, stamp-summary): Use complete path of
1942 files. Generate files in build dir.
1943 (dir-add.texi): Build in build dir.
1944 (libm-err.texi,stamp-libm-err): Likewise.
1945 (version.texi, stamp-version): Likewise.
1946 (.%c.texi): Likewise.
1947 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
1948 (mostlyclean): Remove target.
1949 (realclean): Remove target.
1950 (generated): Add new variable with contents from mostlyclean and
1951 realclean, remove entries duplicated in common-mostlyclean, add
1952 stamp-libm-err and stamp-version.
1953 (generated-dirs): Add libc directory.
1954 ($(inst_infodir)/libc.info): Install files from build dir.
1955
1956 * manual/install.texi (Configuring and compiling): Adjust since
1957 the info files are not part of the tar ball anymore.
1958
7ac77294
AJ
19592012-05-14 Andreas Jaeger <aj@suse.de>
1960
1961 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
1962 variable.
1963
ffb7875d
JM
19642012-05-14 Joseph Myers <joseph@codesourcery.com>
1965
1966 [BZ #13717]
1967 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1968 to 2.2.0 where earlier.
1969 * sysdeps/unix/sysv/linux/configure: Regenerated.
1970 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
1971 Remove conditional code.
1972 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
1973 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
1974 Remove conditional code.
1975 [!__NR_lchown]: Likewise.
1976 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1977 [__NR_lchown]: Likewise.
1978 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
1979 comment referencing __ASSUME_LCHOWN_SYSCALL.
1980 * sysdeps/unix/sysv/linux/i386/sigaction.c
1981 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1982 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1983 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
1984 Remove conditional code.
1985 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
1986 (__protocol_available): Remove #if 0 code.
1987 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
1988 conditional code.
1989 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
1990 * sysdeps/unix/sysv/linux/kernel-features.h
1991 (__ASSUME_GETCWD_SYSCALL): Don't define.
1992 (__ASSUME_REALTIME_SIGNALS): Likewise.
1993 (__ASSUME_PREAD_SYSCALL): Likewise.
1994 (__ASSUME_PWRITE_SYSCALL): Likewise.
1995 (__ASSUME_POLL_SYSCALL): Likewise.
1996 (__ASSUME_LCHOWN_SYSCALL): Likewise.
1997 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
1998 non-SPARC.
1999 (__ASSUME_SIOCGIFNAME): Don't define.
2000 (__ASSUME_MSG_NOSIGNAL): Likewise.
2001 (__ASSUME_SENDFILE): Define unconditionally.
2002 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2003 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2004 conditional code.
2005 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2006 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2007 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2008 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2009 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2010 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2011 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2013 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2014 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2016 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2017 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2019 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2020 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2022 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2023 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2025 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2026 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2028 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2029 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2031 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2032 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2034 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2035 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2036 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2037 Remove conditional code.
2038 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2039 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2040 Remove conditional code.
2041 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2042 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2043 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2044 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2045 Remove conditional code.
2046 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2047 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2048 Remove conditional code.
2049 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2050 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2051 Remove conditional code.
2052 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2053 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2054 Remove conditional code.
2055 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2056 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2057 Remove conditional code.
2058 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2059 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2060 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2061 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2062 * sysdeps/unix/sysv/linux/sigaction.c
2063 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2064 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2065 * sysdeps/unix/sysv/linux/sigpending.c
2066 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2067 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2068 * sysdeps/unix/sysv/linux/sigprocmask.c
2069 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2070 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2071 * sysdeps/unix/sysv/linux/sigsuspend.c
2072 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2073 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2074 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2075 (__libc_missing_rt_sigs): Remove.
2076 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2077 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2078 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2079 Remove conditional code.
2080 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2081 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2082 return 1.
2083 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2084 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2085 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2086 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2087
1bfb7291
AJ
20882012-05-14 Andreas Jaeger <aj@suse.de>
2089
caae5a81
AJ
2090 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2091 it's not used in glibc.
2092 (__coshm1): Likewise.
2093 (__acosh1p): Likewise.
2094 (__sgn): Likewise.
2095
1bfb7291
AJ
2096 * manual/string.texi (Copying and Concatenation): Add missing
2097 variable in concat example.
2098 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2099
c044d724
L
21002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2101
144c5467 2102 [BZ #14103]
c044d724
L
2103 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2104 __builtin_clzl with __builtin_clzll.
2105
2523c62b
L
21062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2107
2108 [BZ #14104]
2109 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2110 libc_freeres_ptr.
2111
d7bb4c42
LD
21122012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2113
2114 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2115 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2116 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2117 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2118
9dc4e1fb
MF
21192012-05-14 Mike Frysinger <vapier@gentoo.org>
2120
2121 * NEWS: Update ia64 info.
2122
c7df0112
AS
21232012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2124
2125 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2126 used as bcopy.
2127
dc70356c
TS
21282012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2129
2130 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2131 * sysdeps/unix/syscalls.list (dup3): Likewise.
2132 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2133 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2134
9fb1a21f
L
21352012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2136
2137 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2138 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2139
4822a2a5
L
21402012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2141
2142 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2143 thread pointer.
2144 (TLS_IE): Use mov/add instead of movq/addq to load thread
2145 pointer.
2146 (TLS_GD_PREFIX): New.
2147 (TLS_GD): Use it.
2148
842b81d6
DM
21492012-05-11 David S. Miller <davem@davemloft.net>
2150
2151 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2152 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2153 (_FPU_SETCW): Likewise.
2154
1cf463cd
L
21552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2156
2157 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2158 is 32-byte aligned.
2159
60cc4a18
AS
21602012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2161
2162 [BZ #11837]
2163 * iconvdata/gb18030.c: Update tables.
2164 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2165 characters specially.
2166 (BODY for TO_LOOP): Add encoding of missing ranges.
2167
febb44a4
TS
21682012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2169
2170 [BZ #13673]
2171 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2172 * sysdeps/mach/hurd/dup3.c: Likewise.
2173 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2174 * sysdeps/powerpc/memmove.c:: Likewise.
2175
0a10fb9e
L
21762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2177
2178 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2179 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2180
df8a552f
L
21812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2182
2183 * elf/elf.h (R_X86_64_RELATIVE64): New.
2184 (R_X86_64_NUM): Updated.
2185 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2186 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2187 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2188 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2189 tst-quad1pie tst-quad2pie
2190 (modules-names): Add tst-quadmod1 tst-quadmod2.
2191 ($(objpfx)tst-quad1): New dependency.
2192 ($(objpfx)tst-quad2): Likewise.
2193 ($(objpfx)tst-quad1pie): Likewise.
2194 ($(objpfx)tst-quad2pie): Likewise.
2195 * sysdeps/x86_64/tst-quad1.c: New file.
2196 * sysdeps/x86_64/tst-quad1pie.c: New file.
2197 * sysdeps/x86_64/tst-quad2.c: Likewise.
2198 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2199 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2200 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2201 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2202 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2203
f34d6f84
ST
22042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2205
f42d41d1
ST
2206 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2207 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2208 * streams/stropts.h (t_scalar_t): Define type.
2209
3c3571fc
ST
2210 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2211 (_PATH_PRESERVE): Set to "/var/lib".
2212 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2213
61f06bd3
ST
2214 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2215 instead of int.
2216
918d4d71
ST
2217 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2218 if __dir_mkfile succeeded.
2219
f34d6f84
ST
2220 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2221 checking for _hurd_dtablesize. Unlock it right after having
2222 finished _hurd_dtable allocation.
2223
10589b4a
TS
22242012-05-10 Thomas Schwinge <thomas@schwinge.name>
2225
674cdbc7
TS
2226 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2227 * sysdeps/mach/hurd/configure: Regenerated.
2228 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2229 special-casing to...
2230 * sysdeps/gnu/configure.in: ... this new file.
2231 * sysdeps/unix/sysv/linux/configure: Regenerated.
2232 * sysdeps/gnu/configure: New generated file.
2233
8e41b99f
TS
2234 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2235 for Linux: use nsec instead of usec, as well as:
2236 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2237 members of type struct timespec.
2238 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2239 New macros.
2240 (struct stat64): Likewise.
2241 (_STATBUF_ST_NSEC): New macro.
2242 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2243
10589b4a
TS
2244 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2245 __strtoul_internal rather than strtoul.
2246
63643c85
PT
22472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2248
2249 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2250 and reject them.
2251
3faebe6a
ST
22522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2253
2254 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2255 which preserves existing values.
2256 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2257
c6474b07
PT
22582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2259
2260 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2261 TIMEOUT values. Return EINVAL for NFDS values either negative or
2262 greater than FD_SETSIZE.
2263
1043890b
ST
22642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2265
2266 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2267 allocated, call __vm_protect to finish enabling the existing space, and
2268 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2269 allocate the remainder.
2270
37ed8b9b
PT
22712012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2272
2273 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2274 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2275
db653660
ST
22762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2277
37ed8b9b
PT
2278 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2279 sysdeps/mach/hurd/readlink.c.
b29d4053 2280
db653660
ST
2281 * posix/tst-sysconf.c (posix_options): Only use
2282 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2283 _POSIX_SYNCHRONIZED_IO when they are defined
2284 * sysdeps/mach/hurd/bits/posix_opt.h:
2285 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2286 (_XOPEN_REALTIME): Undefine macro.
2287 (_XOPEN_REALTIME_THREADS): Undefine macro.
2288 (_XOPEN_SHM): Undefine macro.
2289 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2290 macro to -1.
2291 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2292 macro to -1.
2293 (_POSIX_ASYNC_IO): Undefine macro.
2294 (_POSIX_PRIORITIZED_IO): Undefine macro.
2295 (_POSIX_SPIN_LOCKS): Define macro to -1.
2296
ee16e894
ST
2297 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2298 SA_NODEFER, SA_RESETHAND.
2299 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2300 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2301 F_DUPFD_CLOEXEC.
2302
6103ae3b
TS
23032012-05-10 Thomas Schwinge <thomas@schwinge.name>
2304
2305 * elf/Makefile (pldd-modules): Define unconditionally.
2306
80b4e5f3
TS
23072012-05-10 Thomas Schwinge <thomas@schwinge.name>
2308
2309 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2310
edadcbd6
ST
23112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2312
2313 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2314 Return ENOENT when name is empty.
2315 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2316
80694780
TS
23172012-05-10 Thomas Schwinge <thomas@schwinge.name>
2318
1792c087
TS
2319 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2320
80694780
TS
2321 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2322
6b645f0d
ST
23232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2324
80694780
TS
2325 Fix mlock in all cases except non-readable pages.
2326 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2327 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2328
6b645f0d
ST
2329 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2330 (__mkdir): When path is `/', just fail with EEXIST.
2331 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2332
e468f8a3
TS
23332012-05-10 Thomas Schwinge <thomas@schwinge.name>
2334
2335 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2336 <sys/uio.h> (for writev).
2337 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2338 and <sys/param.h> (for MIN).
2339
a4186cff
PT
23402012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2341
2342 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2343 REQUESTED_TIME. Properly set the remaining time and return EINTR
2344 if interrupted.
2345
510bbf14
TS
23462012-05-10 Thomas Schwinge <thomas@schwinge.name>
2347
2348 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2349 Depend on against $(link-rpcuserlibs).
2350
5d5722e8
ST
23512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2352
a4186cff
PT
2353 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2354 (__libc_stack_end): Do not use attribute_relro.
2355 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2356 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 2357 to libthread-provided value.
a4186cff
PT
2358 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2359 attribute_relro.
5d5722e8 2360
37233df9
TS
23612012-05-10 Thomas Schwinge <thomas@schwinge.name>
2362
be971a2b
TS
2363 [BZ #3748]
2364 * bits/libc-lock.h (__libc_once_get): New macro.
2365 * sysdeps/mach/bits/libc-lock.h: Likewise.
2366 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2367 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2368 instead of using implementation details.
2369
37233df9
TS
2370 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2371 * libio/freopen.c: Likewise.
2372 * libio/freopen64.c: Likewise.
2373 * misc/syslog.c: Likewise.
2374 * nscd/connections.c: Likewise.
2375 * nscd/netgroupcache.c: Likewise.
2376 * sysdeps/posix/getcwd.c: Likewise.
2377
38de94a5
RM
23782012-05-10 Roland McGrath <roland@hack.frob.com>
2379
2380 * math/w_ilogbf.c: Add #include <limits.h>.
2381
67530489
ST
23822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2383
a4186cff 2384 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
2385 path instead of returning without unlocking.
2386
67530489
ST
2387 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2388 immediate-write ioctls.
2389 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2390
5aa3a74a
TS
23912012-05-10 Thomas Schwinge <thomas@schwinge.name>
2392
18bad2ae
TS
2393 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2394 __builtin_frame_address instead of making assumptions about the
2395 location of the return address relative to DATA. Force early load of
2396 the return address.
2397 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2398 __builtin_frame_address.
2399
5aa3a74a
TS
2400 dup3 for GNU Hurd.
2401 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2402 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2403 implement dup3 and do some further code clean-ups.
2404 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2405 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2406
ecd0de9a
ST
24072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2408
cd9fa985
ST
2409 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2410
a4186cff
PT
2411 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2412 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2413 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2414 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2415 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2416 d->port.lock.
802ca5a5 2417
a4186cff
PT
2418 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2419 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2420 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 2421
bcf55240
TS
24222012-05-10 Thomas Schwinge <thomas@schwinge.name>
2423
6960eb42
TS
2424 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2425 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2426 definitions.
2427
eb43375f
TS
2428 accept4 for GNU Hurd.
2429 * include/sys/socket.h (__libc_accept4): New prototype.
2430 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2431 to implement __libc_accept4.
2432 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2433 __libc_accept4.
2434 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2435
bcf55240
TS
2436 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2437 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2438 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2439 signal-defines.sym.
2440
6178c55b
ST
24412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2442
a4186cff 2443 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 2444
6f080c2f
TS
24452012-05-10 Thomas Schwinge <thomas@schwinge.name>
2446
2447 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2448 assertion on O_CLOEXEC flag.
2449 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2450 * hurd/intern-fd.c: Likewise.
2451 * hurd/port2fd.c: Likewise.
2452
bcfe3a54
ST
24532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2454
2455 [BZ #3906]
2456 * bits/in.h (IPV6_PKTINFO): Define new macro.
2457 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2458
89c9aa49
AZ
24592012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2460
2461 [BZ #13954]
2462 [BZ #13955]
2463 [BZ #13956]
2464 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2465 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2466 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2467 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2468 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2469 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2470 * math/libm-test.inc (logb_test) : Additional logb tests.
2471
021db4be
AJ
24722012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2473 Andreas Jaeger <aj@suse.de>
2474
2475 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2476 * configure: Regenerated.
2477 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2478 * config.make.in (link-obsolete-rpc): New substituted variable.
2479 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2480 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2481 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2482 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2483 so that libc.a contains the symbols.
2484 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2485 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2486 * sunrpc/auth_none.c: Likewise.
2487 * sunrpc/auth_unix.c: Likewise.
2488 * sunrpc/authdes_prot.c: Likewise.
2489 * sunrpc/authuxprot.c: Likewise.
2490 * sunrpc/clnt_gen.c: Likewise.
2491 * sunrpc/clnt_perr.c: Likewise.
2492 * sunrpc/clnt_raw.c: Likewise.
2493 * sunrpc/clnt_simp.c: Likewise.
2494 * sunrpc/clnt_tcp.c: Likewise.
2495 * sunrpc/clnt_udp.c: Likewise.
2496 * sunrpc/clnt_unix.c: Likewise.
2497 * sunrpc/des_crypt.c: Likewise.
2498 * sunrpc/des_soft.c: Likewise.
2499 * sunrpc/get_myaddr.c: Likewise.
2500 * sunrpc/key_call.c: Likewise.
2501 * sunrpc/key_prot.c: Likewise.
2502 * sunrpc/netname.c: Likewise.
2503 * sunrpc/pm_getmaps.c: Likewise.
2504 * sunrpc/pm_getport.c: Likewise.
2505 * sunrpc/pmap_clnt.c: Likewise.
2506 * sunrpc/pmap_prot.c: Likewise.
2507 * sunrpc/pmap_prot2.c: Likewise.
2508 * sunrpc/pmap_rmt.c: Likewise.
2509 * sunrpc/publickey.c: Likewise.
2510 * sunrpc/rpc_cmsg.c: Likewise.
2511 * sunrpc/rpc_common.c: Likewise.
2512 * sunrpc/rpc_dtable.c: Likewise.
2513 * sunrpc/rpc_prot.c: Likewise.
2514 * sunrpc/rpc_thread.c: Likewise.
2515 * sunrpc/rtime.c: Likewise.
2516 * sunrpc/svc.c: Likewise.
2517 * sunrpc/svc_auth.c: Likewise.
2518 * sunrpc/svc_raw.c: Likewise.
2519 * sunrpc/svc_run.c: Likewise.
2520 * sunrpc/svc_tcp.c: Likewise.
2521 * sunrpc/svc_udp.c: Likewise.
2522 * sunrpc/svc_unix.c: Likewise.
2523 * sunrpc/svcauth_des.c: Likewise.
2524 * sunrpc/xcrypt.c: Likewise.
2525 * sunrpc/xdr.c: Likewise.
2526 * sunrpc/xdr_array.c: Likewise.
2527 * sunrpc/xdr_float.c: Likewise.
2528 * sunrpc/xdr_intXX_t.c: Likewise.
2529 * sunrpc/xdr_mem.c: Likewise.
2530 * sunrpc/xdr_rec.c: Likewise.
2531 * sunrpc/xdr_ref.c: Likewise.
2532 * sunrpc/xdr_sizeof.c: Likewise.
2533 * sunrpc/xdr_stdio.c: Likewise.
2534
b5c086a2
RM
25352012-05-10 Roland McGrath <roland@hack.frob.com>
2536
2537 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2538 change. Update copyright years.
2539
6d74dd09
JM
25402012-05-10 Joseph Myers <joseph@codesourcery.com>
2541
2542 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2543
28e72501
MK
25442012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2545 Joseph Myers <joseph@codesourcery.com>
2546 Paul Pluzhnikov <ppluzhnikov@google.com>
2547
2548 [BZ #14012]
2549 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2550 requiring rpcgen.
2551 [cross-compiling] (extra-libs): Likewise.
2552 [cross-compiling] (extra-libs-others): Likewise.
2553 [cross-compiling] (librpcsvc-routines): Likewise.
2554 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2555 [cross-compiling] (omit-deps): Likewise.
2556 (sunrpc-CPPFLAGS): New variable.
2557 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2558 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2559 (cross-rpcgen-objs): New variable.
2560 (extra-objs): Append $(cross-rpcgen-objs).
2561 ($(cross-rpcgen-objs)): New rule.
2562 ($(objpfx)cross-rpcgen): Likewise.
2563 (rpcgen-cmd): Define to use $(built-program-file). Expand
2564 comment.
2565 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2566 ($(objpfx)x%.stmp): Likewise.
2567 * sunrpc/proto.h [IS_IN_build] (_): Define.
2568 [IS_IN_build] (_libc_intl_domainname): Likewise.
2569
c8c59454
L
25702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2571
2572 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2573 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2574 and R_X86_64_TPOFF64.
2575
6f27cd16
JM
25762012-05-10 Joseph Myers <joseph@codesourcery.com>
2577
2578 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2579 sysdeps/unix/sysv/syscalls.list.
2580 (stime): Likewise.
2581 (utime): Likewise.
2582 * sysdeps/unix/sysv/syscalls.list: Remove file.
2583
02467e1c
PE
25842012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2585
2586 [BZ #3440]
2587 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2588 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2589 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2590 (__LC_IDENTIFICATION): Make these macros useful in #if
2591 expressions, as required by C99.
2592
da392631
AS
25932012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2594
2595 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2596 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2597 after this.
2598
8115f29b
L
25992012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2600
2601 * stdlib/longlong.h: Updated from GCC.
2602
bdd74070
AJ
26032012-05-09 Andreas Jaeger <aj@suse.de>
2604
edfe0dbe
AJ
2605 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2606 default is first entry.
2607 (run_mode): Set type.
2608 (main): Remove informal message about syslog.
2609 (options): Fix typo.
2610
bcfe3a54
ST
2611 [BZ #14053]
2612 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 2613 to asm.
bcfe3a54
ST
2614 (lrint): Likewise.
2615 (llrintf): Likewise.
2616 (llrint): Likewise.
2617 (rint): Likewise.
2618 (rintf): Likewise.
2619 (nearbyint): Likewise.
2620 (nearbyintf): Likewise.
bdd74070 2621
91d8d69e
AJ
26222012-05-09 Andreas Jaeger <aj@suse.de>
2623 Pedro Alves <palves@redhat.com>
2624
2625 * nscd/nscd.c (run_mode): Use enum.
2626 (main): Cleanup coding style issue.
2627
bb90b80b
AJ
26282012-05-09 Alexandre Oliva <aoliva@redhat.com>
2629 Andreas Jaeger <aj@suse.de>
2630
bcfe3a54
ST
2631 * nscd/nscd.c (go_background): Replaced with...
2632 (run_mode): ... this.
bb90b80b 2633 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
2634 (options): Add -F --foreground.
2635 (main): Implement it.
2636 (parse_opt): Parse it.
bb90b80b 2637
1a4b75a1
AJ
26382012-05-09 Andreas Jaeger <aj@suse.de>
2639
2640 [BZ #14083]
2641 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2642 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2643 -Wconversion warning.
2644 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2645 Likewise.
2646
b1cc2472
JM
26472012-05-09 Joseph Myers <joseph@codesourcery.com>
2648
2649 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2650 == 0.
2651 (LC_ALL): Use macro-int-constant.
2652 (LC_COLLATE): Likewise.
2653 (LC_CTYPE): Likewise.
2654 (LC_MESSAGES): Likewise.
2655 (LC_MONETARY): Likewise.
2656 (LC_NUMERIC): Likewise.
2657 (LC_TIME): Likewise.
2658 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2659 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2660 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2661 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2662 Specify type.
2663 [C99-based standards] (float_t): Expect type.
2664 [C99-based standards] (double_t): Expect type.
2665 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2666 type.
2667 [C99-based standards] (HUGE_VALL): Likewise.
2668 [C99-based standards] (INFINITY): Likewise.
2669 [C99-based standards] (NAN): Likewise.
2670 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2671 [C99-based standards] (FP_NAN): Likewise.
2672 [C99-based standards] (FP_NORMAL): Likewise.
2673 [C99-based standards] (FP_SUBNORMAL): Likewise.
2674 [C99-based standards] (FP_ZERO): Likewise.
2675 [C99-based standards] (FP_FAST_FMA): Use
2676 optional-macro-int-constant. Specify type. Require == 1.
2677 [C99-based standards] (FP_FAST_FMAF): Likewise.
2678 [C99-based standards] (FP_FAST_FMAL): Likewise.
2679 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2680 [C99-based standards] (FP_ILOGBNAN): Likewise.
2681 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2682 Specify type.
2683 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2684 [C99-based standards] (math_errhandling): Specify type.
2685 [ISO99 || ISO11] (signgam): Do not allow.
2686 [non-C99-based standards] (copysignf): Do not allow.
2687 [non-C99-based standards] (exp2f): Likewise.
2688 [non-C99-based standards] (log2f): Likewise.
2689 [non-C99-based standards] (modff): Allow.
2690 [non-C99-based standards] (erff): Do not allow.
2691 [non-C99-based standards] (erfcf): Likewise.
2692 [non-C99-based standards] (gammaf): Likewise.
2693 [non-C99-based standards] (hypotf): Likewise.
2694 [non-C99-based standards] (j0f): Likewise.
2695 [non-C99-based standards] (j1f): Likewise.
2696 [non-C99-based standards] (jnf): Likewise.
2697 [non-C99-based standards] (lgammaf): Likewise.
2698 [non-C99-based standards] (tgammaf): Likewise.
2699 [non-C99-based standards] (y0f): Likewise.
2700 [non-C99-based standards] (y1f): Likewise.
2701 [non-C99-based standards] (ynf): Likewise.
2702 [non-C99-based standards] (isnanf): Likewise.
2703 [non-C99-based standards] (acoshf): Likewise.
2704 [non-C99-based standards] (asinhf): Likewise.
2705 [non-C99-based standards] (atanhf): Likewise.
2706 [non-C99-based standards] (cbrtf): Likewise.
2707 [non-C99-based standards] (expm1f): Likewise.
2708 [non-C99-based standards] (ilogbf): Likewise.
2709 [non-C99-based standards] (log1pf): Likewise.
2710 [non-C99-based standards] (logbf): Likewise.
2711 [non-C99-based standards] (nextafterf): Likewise.
2712 [non-C99-based standards] (remainderf): Likewise.
2713 [non-C99-based standards] (rintf): Likewise.
2714 [non-C99-based standards] (scalbf): Likewise.
2715 [non-C99-based standards] (copysignl): Likewise.
2716 [non-C99-based standards] (exp2l): Likewise.
2717 [non-C99-based standards] (log2l): Likewise.
2718 [non-C99-based standards] (modfl): Allow.
2719 [non-C99-based standards] (erfl): Do not allow.
2720 [non-C99-based standards] (erfcl): Likewise.
2721 [non-C99-based standards] (gammal): Likewise.
2722 [non-C99-based standards] (hypotl): Likewise.
2723 [non-C99-based standards] (j0l): Likewise.
2724 [non-C99-based standards] (j1l): Likewise.
2725 [non-C99-based standards] (jnl): Likewise.
2726 [non-C99-based standards] (lgammal): Likewise.
2727 [non-C99-based standards] (tgammal): Likewise.
2728 [non-C99-based standards] (y0l): Likewise.
2729 [non-C99-based standards] (y1l): Likewise.
2730 [non-C99-based standards] (ynl): Likewise.
2731 [non-C99-based standards] (isnanl): Likewise.
2732 [non-C99-based standards] (acoshl): Likewise.
2733 [non-C99-based standards] (asinhl): Likewise.
2734 [non-C99-based standards] (atanhl): Likewise.
2735 [non-C99-based standards] (cbrtl): Likewise.
2736 [non-C99-based standards] (expm1l): Likewise.
2737 [non-C99-based standards] (ilogbl): Likewise.
2738 [non-C99-based standards] (log1pl): Likewise.
2739 [non-C99-based standards] (logbl): Likewise.
2740 [non-C99-based standards] (nextafterl): Likewise.
2741 [non-C99-based standards] (remainderl): Likewise.
2742 [non-C99-based standards] (rintl): Likewise.
2743 [non-C99-based standards] (scalbl): Likewise.
2744 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2745 [non-C99-based standards] (FP_*): Do not allow.
2746 [C99-based standards] (FP_*): Change to
2747 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2748 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2749 allow.
2750 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2751 (SIG_ERR): Likewise.
2752 [X/Open-based standards] (SIG_HOLD): Likewise.
2753 (SIG_IGN): Likewise.
2754 (SIGABRT): Use macro-int-constant. Specify type. Require
2755 positive value.
2756 (SIGFPE): Likewise.
2757 (SIGILL): Likewise.
2758 (SIGINT): Likewise.
2759 (SIGSEGV): Likewise.
2760 (SIGTER): Likewise.
2761 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2762 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2763 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2764 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2765 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2766 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2767 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2768 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2769 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2770 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2771 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2772 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2773 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2774 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2775 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2776 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2777 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2778 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2779 [X/Open-based standards] (SIGTRAP): Likewise.
2780 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2781 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2782 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2783 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2784 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2785 allow.
2786
b9f1922d
IW
27872012-05-08 Ian Wienand <ianw@vmware.com>
2788
2789 [BZ #14080]
2790 * time/tzset.c (__tzset_parse_tz): Update default rules for
2791 daylight time changes in the Energy Policy Act of 2005.
2792
1db86e88
AJ
27932012-05-09 Andreas Jaeger <aj@suse.de>
2794
2795 [BZ #13983]
2796 * elf/ldconfig.c (parse_conf): Change string to make clear that
2797 ldconfig only issued a warning if ld.so.conf does not exist.
2798
dee4a4e3
DM
27992012-05-08 David S. Miller <davem@davemloft.net>
2800
ee0db190
DM
2801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2802 movxtod instead of popping the value on the stack.
2803
dee4a4e3
DM
2804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2805
6a43ec98
CD
28062012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2807
2808 * config.h.in: Add HAVE_ARM_PCS_VFP.
2809
05c2c961
RMG
28102012-05-08 Roland Mc Grath <roland@hack.frob.com>
2811
bcfe3a54
ST
2812 [BZ #13979]
2813 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2814 checking but the checks are disabled for any reason.
05c2c961 2815
4b30f61a
L
28162012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2817
2818 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2819 and ELF64_R_TYPE with ELFW(R_TYPE).
2820
eee2bc67
JM
28212012-05-08 Joseph Myers <joseph@codesourcery.com>
2822
7ea5391a
JM
2823 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2824 (ulimit): Likewise.
2825
eee2bc67
JM
2826 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2827 (settimeofday): Likewise.
2828
abb66a67
MF
28292012-05-08 Mike Frysinger <vapier@gentoo.org>
2830
2831 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2832 a struct th_u2 inside the union, and move tu_block/tu_code into
2833 a new th_u3 union of tu_block/tu_code inside of that. Move
2834 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
2835 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
2836 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2837 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
2838 (th_stuff): Change to th_u1.tu_stuff.
2839 (th_data): Define.
2840 (th_msg): Change to th_u1.th_u2.tu_data.
2841
7f18b530
DM
28422012-05-07 David S. Miller <davem@davemloft.net>
2843
05760585
DM
2844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2845
7f18b530
DM
2846 [BZ #14074]
2847 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2848 (SETUP_PIC_REG): Use it.
2849 (SETUP_PIC_REG_LEAF): Use it.
2850
495fd99f
JM
28512012-05-07 Joseph Myers <joseph@codesourcery.com>
2852
2853 [BZ #13885]
2854 [BZ #13923]
2855 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2856 USE_AS_EXPM1L.
2857 (EXPL_FINITE): Likewise.
2858 (FLDLOG): Likewise.
2859 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2860 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2861 e_expl.S.
2862 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2863 USE_AS_EXPM1L.
2864 (EXPL_FINITE): Likewise.
2865 (FLDLOG): Likewise.
2866 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2867 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2868 e_expl.S.
2869 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2870 test of -max_value argument for long double.
2871 * sysdeps/i386/fpu/libm-test-ulps: Update.
2872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2873
6693d694
DM
28742012-05-06 David S. Miller <davem@davemloft.net>
2875
2876 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2877 quad soft-float symbols whose references which are compiler
2878 generated.
2879 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2880
6c23e11c
JM
28812012-05-06 Joseph Myers <joseph@codesourcery.com>
2882
d8b82cad
JM
2883 [BZ #13884]
2884 [BZ #13914]
2885 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2886 USE_AS_EXP10L.
2887 (EXPL_FINITE): Likewise.
2888 (FLDLOG): Likewise.
2889 (c0): Likewise.
2890 (c1): Likewise.
2891 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2892 Adjust comments for base varying.
2893 (__expl_finite): Change alias to EXPL_FINITE.
2894 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
2895 e_expl.S.
2896 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
2897 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2898 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2899 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
2900 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2901 USE_AS_EXP10L.
2902 (EXPL_FINITE): Likewise.
2903 (FLDLOG): Likewise.
2904 (c0): Likewise.
2905 (c1): Likewise.
2906 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2907 Adjust comments for base varying.
2908 (__expl_finite): Change alias to EXPL_FINITE.
2909 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
2910 tests for bugs.
2911 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2912
6c23e11c
JM
2913 [BZ #14064]
2914 * math/libm-test.inc (check_float_internal): Correct ulp
2915 calculation for subnormal expected results.
2916
29ba805c
AJ
29172012-05-06 Andreas Jaeger <aj@suse.de>
2918
2919 * Makeconfig (+math-flags): New, set to -frounding-math.
2920 (+cflags): Add +math-flags so that all of glibc gets compiled with
2921 it.
2922
2923 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
2924
7b17aeda
JM
29252012-05-05 Joseph Myers <joseph@codesourcery.com>
2926
5779f134
JM
2927 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
2928 Disable one test.
2929
41498f4d
JM
2930 [BZ #13787]
2931 [BZ #13922]
2932 [BZ #14036]
2933 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
2934 (__ieee754_expl): Allow for and saturate large arguments.
2935 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
2936 (u_threshold): Likewise.
2937 (__exp): Call __ieee754_exp before checking for overflow and
2938 underflow.
2939 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
2940 (u_threshold): Likewise.
2941 (__expf): Call __ieee754_expf before checking for overflow and
2942 underflow.
2943 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
2944 (u_threshold): Likewise.
2945 (__expl): Call __ieee754_expl before checking for overflow and
2946 underflow.
2947 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
2948 (__ieee754_expl): Allow for and saturate large arguments.
2949 * math/libm-test.inc (exp_test): Add another test. Do not allow
2950 missing overflow exception on overflow.
2951 (expm1_test): Do not allow missing overflow exception on overflow.
2952
6698b8bf
JM
2953 * sysdeps/i386/fpu/e_expl.c: Move to ...
2954 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
2955 rather than using inline asm.
2956 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
2957 * sysdeps/x86_64/fpu/e_expl.S: Copy from
2958 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
2959
7b17aeda
JM
2960 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
2961 (nice): Likewise.
2962 (poll): Likewise.
2963 (signal): Likewise.
2964 (time): Likewise.
2965 (times): Likewise.
2966
f7c85819
JM
29672012-05-04 Joseph Myers <joseph@codesourcery.com>
2968
2969 * sysdeps/unix/syscalls.list (adjtime): Add entry from
2970 sysdeps/unix/common/syscalls.list.
2971 (fchmod): Likewise.
2972 (fchown): Likewise.
2973 (ftruncate): Likewise.
2974 (getrusage): Likewise.
2975 (gettimeofday): Likewise.
2976 (setpgid): Likewise.
2977 (setregid): Likewise.
2978 (setreuid): Likewise.
2979 (sigaction): Likewise.
2980 (truncate): Likewise.
2981 (vhangup): Likewise.
2982 * sysdeps/unix/common/syscalls.list: Remove file.
2983 * sysdeps/unix/bsd/Implies: Don't include unix/common.
2984 * sysdeps/unix/sysv/linux/Implies: Likewise.
2985
336270d0
L
29862012-05-04 H.J. Lu <hongjiu.lu@intel.com>
2987
2988 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
2989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
2990 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
2991 Moved to ...
2992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2993 Here.
2994 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
2995 to ...
2996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
2997 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
2998 to ...
2999 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3000 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3001 to ...
3002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3003 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3004 to ...
3005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3006 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3007 to ...
3008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3009 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3010 to ...
3011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3012 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3013 to ...
3014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3015 Here.
3016 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3017 to ...
3018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3019 Here.
3020 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3021 to ...
3022 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3023 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3024 Moved to ...
3025 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3026 Here.
3027 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3028 to ...
3029 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3030
d128e450
JM
30312012-05-04 Joseph Myers <joseph@codesourcery.com>
3032
fa8ee516
JM
3033 * sysdeps/unix/common/bits/dirent.h: Remove file.
3034 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3035
d128e450
JM
3036 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3037 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3038 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3039 * sysdeps/unix/bsd/isatty.c: Likewise.
3040 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3041 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3042 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3043
ff8faaf0 30442012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3045
62881be4 3046 [BZ #13563]
31dc8730
AZ
3047 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3048 long double comparison inaccuracies.
3049 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3051
6fef930c
AS
30522012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3053
3054 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3055 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3056
8f203e6c
JM
30572012-05-04 Joseph Myers <joseph@codesourcery.com>
3058
3059 [BZ #14049]
3060 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3061 nonzero digits before rounding a hex value.
3062 * stdlib/tst-strtod.c (tests): Add another test.
3063
5197d9c2
AK
30642012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3065
3066 * sysdeps/s390/fpu/libm-test-ulps: Update.
3067
f0c1dedf
AJ
30682012-05-03 Andreas Jaeger <aj@suse.de>
3069
3070 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3071 does not get optimized out.
3072 (malloc_opt_barrier): New.
3073
a65ef2ae 30742012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3075 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3076
2b942cb7 3077 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3078 intermediate file deletion.
2b942cb7 3079 (generated): Add .symlist files.
a65ef2ae 3080
54b71e02
JM
30812012-05-03 Joseph Myers <joseph@codesourcery.com>
3082
3083 [BZ #13775]
3084 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3085 Redirect under this condition.
3086 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3087 [__USE_GNU] (__dprintf_chk): Not under this condition.
3088 [__USE_GNU] (__vdprintf_chk): Likewise.
3089 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3090 under this condition.
3091 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3092 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3093 [__USE_XOPEN2K8] (vdprintf): Likewise.
3094 [__USE_GNU] (__dprintf_chk): Not under this condition.
3095 [__USE_GNU] (__vdprintf_chk): Likewise.
3096 [__USE_GNU] (dprintf): Likewise.
3097 [__USE_GNU] (vdprintf): Likewise.
3098
d3dfcc41
RM
30992012-05-03 Roland McGrath <roland@hack.frob.com>
3100
3101 * elf/Makefile (common-generated): Set this instead of generated for
3102 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3103 $(all-built-dso)-derived lists.
3104
7ac30cc5
AJ
31052012-05-03 Andreas Jaeger <aj@suse.de>
3106
0c51e550
AJ
3107 * sysdeps/i386/fpu/libm-test-ulps: Update.
3108
7ac30cc5
AJ
3109 * FAQ: Removed.
3110 * FAQ.in: Likewise.
3111 * scripts/gen-FAQ.pl: Likewise.
3112 * manual/install.texi (Installation): Point to online location of
3113 FAQ.
3114 * Makefile (files-for-dist): Remove FAQ.
3115 (FAQ): Remove.
3116
d4c2917f
AM
31172012-05-02 Allan McRae <allan@archlinux.org>
3118
3119 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3120 (LDFLAGS-reldepmod5.so): Likewise.
3121 (LDFLAGS-reldep6mod1.so): Likewise.
3122 (LDFLAGS-reldep6mod4.so): Likewise.
3123 (LDFLAGS-reldep8mod3.so): Likewise.
3124 (LDFLAGS-unload4mod1.so): Likewise.
3125 (LDFLAGS-unload4mod2.so): Likewise.
3126 (LDFLAGS-tst-initorder): Likewise.
3127 (LDFLAGS-tst-initordera2.so): Likewise.
3128 (LDFLAGS-tst-initordera3.so): Likewise.
3129 (LDFLAGS-tst-initordera4.so): Likewise.
3130 (LDFLAGS-tst-initorderb2.so): Likewise.
3131 (LDFLAGS-noload): Likewise.
3132 (LDFLAGS-next): Likewise.
3133 (LDFLAGS-order2mod1.so): Likewise.
3134 (LDFLAGS-order2mod2.so): Likewise.
3135 (LDFLAGS-tst-initorder2): Likewise.
3136 (LDFLAGS-tst-initorder2a.so): Likewise.
3137 (LDFLAGS-tst-initorder2b.so): Likewise.
3138 (LDFLAGS-tst-initorder2c.so): Likewise.
3139 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3140
d77f993f
DM
31412012-05-02 David S. Miller <davem@davemloft.net>
3142
3143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3144
171a70b4
PP
31452012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3146
3147 [BZ #14055]
3148 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3149
0be196ad
AJ
31502012-05-02 Andreas Jaeger <aj@suse.de>
3151
3152 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3153 since we manipulate rounding mode.
3154 (CPPFLAGS-test-idouble.c): Likewise.
3155 (CPPFLAGS-test-ifloat.c): Likewise.
3156 (CFLAGS-test-ldouble.c): Likewise.
3157 (CFLAGS-test-double.c): Likewise.
3158 (CFLAGS-test-float.c): Likewise.
3159 (CFLAGS-test-misc.c): Likewise.
3160 (CFLAGS-test-test-fenv.c): Likewise.
3161
4f9d04aa
AZ
31622012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3163
2b942cb7
RM
3164 [BZ #2550]
3165 [BZ #2570]
3166 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3167 comparisons to determine direction to adjust input.
4f9d04aa 3168
82a79e7d
RM
31692012-05-01 Roland McGrath <roland@hack.frob.com>
3170
f5a01ca9
RM
3171 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3172 output to the target.
3173
90fe4186
RM
3174 * scripts/localplt.awk: New file.
3175 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3176 (check-localplt-CFLAGS): Variable removed.
3177 ($(all-built-dso:=.jmprel)): New static pattern rule.
3178 (generated): Add those targets.
3179 (localplt-built-dso): New variable.
3180 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3181
3182 * elf/check-localplt.c: File removed.
3183
82397ed6
RM
3184 * scripts/check-execstack.awk: New file.
3185 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3186 (check-execstack-CFLAGS): Variable removed.
3187 ($(objpfx)check-execstack.h): Target removed.
3188 ($(objpfx)execstack-default): New target.
3189 (generated): Add that instead of check-execstack.h.
3190 ($(all-built-dso:=.phdr)): New static pattern rule.
3191 (generated): Add those targets.
3192 * elf/check-execstack.c: File removed.
3193
82a79e7d
RM
3194 * scripts/check-textrel.awk: New file.
3195 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3196 (check-textrel-CFLAGS): Variable removed.
3197 (all-built-dso): Use := to define.o
3198 ($(all-built-dso:=.dyn)): New static pattern rule.
3199 (generated): Add those targets.
3200 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3201 * config.make.in (READELF): New substituted variable.
3202 * elf/check-textrel.c: File removed.
3203
62fde54f 32042012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3205
615605c9
JM
3206 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3207 allow.
3208 * conform/data/ctype.h-data [C99-based standards] (isblank):
3209 Expect function.
3210 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3211 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3212 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3213 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3214 Specify type. Require positive value.
3215 (EILSEQ): Likewise.
3216 (ERANGE): Likewise.
3217 [ISO || POSIX] (EILSEQ): Do not expect.
3218 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3219 Specify type. Require positive value.
3220 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3221 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3222 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3223 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3224 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3225 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3226 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3227 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3228 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3229 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3230 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3231 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3232 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3233 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3234 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3235 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3236 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3237 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3238 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3239 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3240 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3241 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3242 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3243 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3244 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3245 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3246 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3247 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3248 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3249 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3250 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3251 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3252 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3253 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3254 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3255 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3256 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3257 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3258 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3259 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3260 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3261 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3262 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3263 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3264 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3265 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3266 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3267 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3268 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3269 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3270 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3271 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3272 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3273 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3274 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3275 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3276 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3277 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3278 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3279 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3280 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3281 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3282 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3283 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3284 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3285 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3286 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3287 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3288 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3289 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3290 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3291 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3292 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3293 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3294 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3295 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3296 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3297 Require >= 2.
3298 (FLT_ROUNDS): Expect as macro, not constant.
3299 (FLT_MANT_DIG): Use macro-int-constant.
3300 (DBL_MANT_DIG): Likewise.
3301 (LDBL_MANT_DIG): Likewise.
3302 (FLT_DIG): Likewise.
3303 (DBL_DIG): Likewise.
3304 (LDBL_DIG): Likewise.
3305 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3306 (DBL_MIN_EXP): Likewise.
3307 (LDBL_MIN_EXP): Likewise.
3308 (FLT_MAX_EXP): Use macro-int-constant.
3309 (DBL_MAX_EXP): Likewise.
3310 (LDBL_MAX_EXP): Likewise.
3311 (FLT_MAX_10_EXP): Likewise.
3312 (DBL_MAX_10_EXP): Likewise.
3313 (LDBL_MAX_10_EXP): Likewise.
3314 (FLT_MAX): Use macro-constant.
3315 (DBL_MAX): Likewise.
3316 (LDBL_MAX): Likewise.
3317 (FLT_EPSILON): Use macro-constant. Give upper bound.
3318 (DBL_EPSILON): Likewise.
3319 (LDBL_EPSILON): Likewise.
3320 (FLT_MIN): Likewise.
3321 (DBL_MIN): Likewise.
3322 (LDBL_MIN): Likewise.
3323 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3324 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3325 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3326 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3327 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3328 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3329 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3330 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3331 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3332 [ISO11] (FLT_TRUE_MIN): Likewise.
3333 [ISO11] (LDBL_TRUE_MIN): Likewise.
3334 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3335 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3336 (SCHAR_MIN): Use macro-int-constant. Specify type.
3337 (SCHAR_MAX): Likewise.
3338 (UCHAR_MAX): Likewise.
3339 (CHAR_MIN): Likewise.
3340 (CHAR_MAX): Likewise.
3341 (MB_LEN_MAX): Use macro-int-constant.
3342 (SHRT_MIN): Use macro-int-constant. Specify type.
3343 (SHRT_MAX): Likewise.
3344 (USHRT_MAX): Likewise.
3345 (INT_MAX): Likewise.
3346 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3347 bound negative.
3348 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3349 bound with "U".
3350 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3351 bound with "L".
3352 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3353 bound negative. Suffix upper bound with "L".
3354 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3355 bound with "UL".
3356 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3357 Specify type.
3358 [C99-based standards] (LLONG_MAX): Likewise.
3359 [C99-based standards] (ULLONG_MAX): Likewise.
3360 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3361 == 0.
3362 [ISO11] (max_align_t): Require type.
3363 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3364
c9140a62
JM
3365 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3366 from $CFLAGS, without defining away __attribute__ calls.
3367 (checknamespace): Use $CFLAGS_namespace.
3368
9af0bf29
JM
3369 * conform/conformtest.pl (@keywords): Only include C99 keywords
3370 for standards based on C99 or C11.
3371
343222a2
JM
3372 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3373 Disable tests.
3374 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3375 UNIX98]: Likewise.
3376
661f8cf0
JM
3377 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3378 usability of symbols in #if.
3379
ee74b9cb
JM
3380 * conform/conformtest.pl: If macro or constant types start
3381 "promoted:", expect the symbol to be of the following type
3382 promoted by the integer promotions.
62fde54f 3383
aafc49b3
JM
3384 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3385 in one place. Also handle "macro-constant".
3386
fefdf574
JM
3387 * conform/conformtest.pl: Only accept expected macro values with
3388 "==". Parse all "macro" lines in one place.
3389 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3390
f2d922fe
JM
3391 * conform/conformtest.pl: Handle braced types on "constant" lines
3392 instead of handling "typed-constant".
3393 * conform/data/signal.h-data: Use "constant" instead of
3394 "typed-constant".
3395
d22956c9
JM
3396 * conform/conformtest.pl: Handle "optional-" at start of lines in
3397 one place rather than duplicating several cases. Handle each
3398 format of "macro" line with initial "optional-".
3399
028e2e38
JM
3400 * conform/conformtest.pl: Only accept expected constant or
3401 optional-constant values with "==". Parse all "constant" lines in
3402 one place. Parse all "optional-constant" lines in one place.
3403 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3404 * conform/data/fmtmsg.h-data: Likewise.
3405 * conform/data/netinet/in.h-data: Likewise.
3406 * conform/data/tar.h-data: Likewise.
3407 * conform/data/limits.h-data: Use "==" form on "constant" and
3408 "optional-constant" lines.
3409
1b8f2850
JM
3410 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3411 Use -std=c99 for XOPEN2K.
3412 (@knownproblems): Remove.
3413 (newtoken): Don't check %isknown.
3414
a05a144b
JM
3415 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3416 Do not expect macro.
3417 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3418 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3419 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3420 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3421 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3422 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3423 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3424 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3425 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3426 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3427 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3428 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3429 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3430 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3431 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3432 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3433 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3434 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3435 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3436 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3437 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3438 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3439 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3440 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3441 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3442 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3443 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3444 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3445 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3446 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3447 [XPG3] (acosh): Likewise.
3448 [XPG3] (asinh): Likewise.
3449 [XPG3] (atanh): Likewise.
3450 [XPG3] (cbrt): Likewise.
3451 [XPG3] (expm1): Likewise.
3452 [XPG3] (ilogb): Likewise.
3453 [XPG3] (log1p): Likewise.
3454 [XPG3] (logb): Likewise.
3455 [XPG3] (nextafter): Likewise.
3456 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3457 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3458 [XPG3] (remainder): Likewise.
3459 [XPG3] (rint): Likewise.
3460 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3461 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3462 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3463 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3464 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3465 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3466 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3467 [UNIX98 || XOPEN2K] (scalb): Expect.
3468 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3469 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3470 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3471 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3472 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3473 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3474 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3475 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3476 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3477 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3478 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3479 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3480 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3481 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3482 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3483 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3484 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3485 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3486 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3487 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3488 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3489 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3490 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3491 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3492 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3493 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3494 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3495 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3496 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3497 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3498 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3499 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3500 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3501 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3502 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3503 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3504 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3505 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3506 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3507 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3508 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3509 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3510 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3511 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3512 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3513 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3514 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3515 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3516 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3517 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3518 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3519 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3520 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3521 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3522 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3523 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3524 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3525 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3526 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3527 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3528 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3529 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3530 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3531 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3532 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3533 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3534 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3535 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3536 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3537 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3538 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3539 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3540 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3541 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3542 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3543 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3544 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3545 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3546 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3547 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3548 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3549 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3550 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3551 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3552 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3553 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3554 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3555 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3556 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3557 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3558 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3559 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3560 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3561 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3562 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3563 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3564 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3565 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3566 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3567 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3568 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3569 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3570 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3571 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3572 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3573 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3574 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3575 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3576 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3577 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3578 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3579 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3580 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3581 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3582 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3583 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3584 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3585 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3586 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3587 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3588 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3589 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3590 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3591 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3592 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3593 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3594 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3595 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3596 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3597 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3598 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3599 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3600 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3601 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3602 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3603 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3604 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3605
73c5ebe3
JM
3606 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3607 _XOPEN_SOURCE_EXTENDED for XPG4.
3608
39c33b6c
JM
3609 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3610
62fde54f
JM
3611 * Makeconfig (localtime): Remove variable.
3612 (inst_localtime-file): Likewise.
3613
0741d64c
AS
36142012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3615
3616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3617 Update.
3618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3619 Update.
3620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3621 Update.
3622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3623 Update.
3624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3625 Update.
3626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3627 Update.
3628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3629 Update.
3630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3631 Update.
3632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3633 Update.
3634
7cb029ee
JM
36352012-05-01 Joseph Myers <joseph@codesourcery.com>
3636
3637 [BZ #2550]
3638 [BZ #2570]
3639 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3640 comparisons to determine direction to adjust input.
3641 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3642 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3643 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3644 Likewise.
3645 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3646 Likewise.
3647 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3648 Likewise.
3649 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3650 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3651 Likewise.
3652 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3653 Likewise.
3654 * math/libm-test.inc (nexttoward_test): Add more tests.
3655
412bd966
AS
36562012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3657
3658 [BZ #14040]
3659 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3660 in version GLIBC_2.1, not GLIBC_2.0.
3661 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3662 Likewise.
3663
9568c0c2
JM
36642012-04-30 Joseph Myers <joseph@codesourcery.com>
3665
adfbc8ac
JM
3666 [BZ #13942]
3667 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3668 (1 - x) * (1 + x).
3669 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3670 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3671 * math/libm-test.inc (acos_test): Add more tests.
3672 (asin_test): Likewise.
3673 * sysdeps/i386/fpu/libm-test-ulps: Update.
3674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3675
5ba3cc69
JM
3676 [BZ #14034]
3677 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3678 of square root.
3679 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3680 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3681 * math/libm-test.inc (acos_test_tonearest): New function.
3682 (acos_test_towardzero): Likewise.
3683 (acos_test_downward): Likewise.
3684 (acos_test_upward): Likewise.
3685 (asin_test_tonearest): Likewise.
3686 (asin_test_towardzero): Likewise.
3687 (asin_test_downward): Likewise.
3688 (asin_test_upward): Likewise.
3689 (main): Call the new functions.
3690 * sysdeps/i386/fpu/libm-test-ulps: Update.
3691 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3692
9568c0c2
JM
3693 [BZ #13884]
3694 [BZ #13924]
3695 * math/e_exp10.c: Include <float.h>.
3696 (__ieee754_exp10): Handle underflow here rather than multiplying
3697 large negative argument by M_LN10.
3698 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3699 of __ieee754_expf.
3700 * math/e_exp10l.c: Include <float.h>.
3701 (__ieee754_exp10l): Handle underflow here rather than multiplying
3702 large negative argument by M_LN10l.
3703 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3704 spurious overflow exception on underflow.
3705
5ac3ea17
MP
37062012-04-29 Marek Polacek <polacek@redhat.com>
3707
3708 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3709 (__fortify_function): New macro.
3710 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3711 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3712 __extern_always_inline.
3713 * libio/bits/stdio2.h: Likewise.
3714 * libio/bits/stdio.h: Likewise.
3715 * string/string.h: Likewise.
3716 * string/bits/string3.h: Likewise.
3717 * include/stdio.h: Likewise.
3718 * stdlib/bits/stdlib.h: Likewise.
3719 * stdlib/stdlib.h: Likewise.
3720 * rt/bits/mqueue2.h: Likewise.
3721 * rt/mqueue.h: Likewise.
3722 * posix/bits/unistd.h: Likewise.
3723 * posix/unistd.h: Likewise.
3724 * io/bits/poll2.h: Likewise.
3725 * io/bits/fcntl2.h: Likewise.
3726 * io/fcntl.h: Likewise.
3727 * io/sys/poll.h: Likewise.
3728 * misc/bits/syslog.h: Likewise.
3729 * misc/bits/syslog-ldbl.h: Likewise.
3730 * misc/sys/syslog.h: Likewise.
3731 * socket/bits/socket2.h: Likewise.
3732 * socket/sys/socket.h: Likewise.
3733 * debug/tst-chk1.c: Likewise.
3734 * wcsmbs/bits/wchar2.h: Likewise.
3735 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3736 * wcsmbs/wchar.h: Likewise.
3737
ecf0ebfb
AJ
37382012-04-29 Andreas Jaeger <aj@suse.de>
3739
3740 * Makerules (tests): Remove enable-check-abi protection.
3741 (check-abi-warn): Remove.
3742 (check-abi-%): Remove check-abi-warn usage.
3743
3744 * configure.in: Remove check-abi configure option.
3745 * configure: Regenerated.
3746 * config.make.in (enable-check-abi): Remove.
3747
6d5c57fa
AS
37482012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3749
24c5d07e 3750 [BZ #14033]
ded5180a
AS
3751 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3752 double functions to double *_finite functions.
3753
7e0d315d
AS
3754 [BZ #13941]
3755 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3756 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3757 LDBL_MIN_EXP.
3758 * stdio-common/Makefile (tests): Add tst-sprintf3.
3759 * stdio-common/tst-sprintf3.c: New file.
3760
6d5c57fa
AS
3761 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3762 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3763
0749ff8b
JM
37642012-04-28 Joseph Myers <joseph@codesourcery.com>
3765
3766 * conform/conformtest.pl: Remove duplicate typed-constant
3767 handling.
3768
8dbd5d7b
DM
37692012-04-28 David S. Miller <davem@davemloft.net>
3770
3771 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3772 (check-abi-%): Remove AWK script prerequisite and explicit
3773 abilist directory.
3774 (check-abi): Rewrite to just diff the symlist with the abilist.
3775 (config-tls, config-abi-config): Delete, no longer used.
3776 (update-abi-%): Remove AWK script and explicit abilist directory.
3777 (update-abi): Rewrite to simply compare and conditionally copy the
3778 symlist and the sysdep abilist file. Remove update-abi-config
3779 checks.
3780 * abilist/ld.abilist: Remove.
3781 * abilist/libBrokenLocale.abilist: Remove.
3782 * abilist/libanl.abilist: Remove.
3783 * abilist/libcrypt.abilist: Remove.
3784 * abilist/libdl.abilist: Remove.
3785 * abilist/librt.abilist: Remove.
3786 * abilist/libthread_db.abilist: Remove.
3787 * abilist/libutil.abilist: Remove.
3788 * scripts/extract-abilist.awk: Remove.
3789 * scripts/merge-abilist.awk: Remove.
3790 * sysdeps/generic/libcidn.abilist: New file.
3791 * sysdeps/generic/libnss_compat.abilist: New file.
3792 * sysdeps/generic/libnss_db.abilist: New file.
3793 * sysdeps/generic/libnss_dns.abilist: New file.
3794 * sysdeps/generic/libnss_files.abilist: New file.
3795 * sysdeps/generic/libnss_hesiod.abilist: New file.
3796 * sysdeps/generic/libnss_nis.abilist: New file.
3797 * sysdeps/generic/libnss_nisplus.abilist: New file.
3798 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3799 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3800 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3801 file.
3802 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3803 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3804 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3805 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3806 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3807 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3808 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3809 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3810 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3811 file.
3812 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3813 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3814 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3815 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3816 file.
3817 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3818 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3819 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3820 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3821 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3822 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3823 file.
3824 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3825 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3826 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3827 file.
3828 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3830 New file.
3831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3832 New file.
3833 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3834 New file.
3835 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3836 New file.
3837 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
3838 New file.
3839 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
3840 New file.
3841 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
3842 New file.
3843 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3844 New file.
3845 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3846 New file.
3847 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3848 New file.
3849 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3850 New file.
3851 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3852 New file.
3853 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3854 New file.
3855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3856 file.
3857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3858 New file.
3859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3860 New file.
3861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3862 file.
3863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3864 New file.
3865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3866 New file.
3867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3868 file.
3869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3870 New file.
3871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3872 New file.
3873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3874 New file.
3875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3876 New file.
3877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3878 New file.
3879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3880 New file.
3881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3883 file.
3884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3885 New file.
3886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3887 file.
3888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3889 file.
3890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3891 file.
3892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
3893 file.
3894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
3895 file.
3896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3897 New file.
3898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
3899 file.
3900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
3901 file.
3902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3903 New file.
3904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
3905 file.
3906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
3907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
3908 file.
3909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3910 New file.
3911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
3912 file.
3913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
3914 file.
3915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
3916 file.
3917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
3918 file.
3919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
3920 file.
3921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3922 New file.
3923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
3924 file.
3925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
3926 file.
3927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3928 New file.
3929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
3930 file.
3931 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3932 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
3933 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
3934 file.
3935 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
3936 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
3937 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
3938 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
3939 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
3940 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
3941 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
3942 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
3943 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
3944 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
3945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
3946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
3947 file.
3948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3949 New file.
3950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
3951 file.
3952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
3953 file.
3954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
3955 file.
3956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
3957 file.
3958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
3959 file.
3960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3961 New file.
3962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3963 New file.
3964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
3965 file.
3966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3967 New file.
3968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
3969 file.
3970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
3971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
3972 file.
3973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3974 New file.
3975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
3976 file.
3977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
3978 file.
3979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
3980 file.
3981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
3982 file.
3983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
3984 file.
3985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3986 New file.
3987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3988 New file.
3989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
3990 file.
3991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3992 New file.
3993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
3994 file.
3995
41d73a1b
JM
39962012-04-28 Joseph Myers <joseph@codesourcery.com>
3997
3998 * conform/conformtest.pl: Fix typo in handling typed-constant from
3999 allow-header.
4000
28aeeda4
JM
40012012-04-27 Joseph Myers <joseph@codesourcery.com>
4002
adae8f5e
JM
4003 * README: Cut down references to pre-2.6 Linux kernels and
4004 Linuxthreads. Update lists of configurations in libc and ports
4005 and sort alphabetically. Say "or newer" with Linux kernel version
4006 requirements.
4007
28aeeda4
JM
4008 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4009
a462cb63
RA
40102012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4011
4012 [BZ #887]
4013 * math/libm-test.inc (logb_test_downward): New test to expose
4014 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4015 rounding mode.
4016
6ad3493e
JM
40172012-04-27 Joseph Myers <joseph@codesourcery.com>
4018
4019 [BZ #14027]
4020 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4021 to be done.
4022 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4023 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4024
2ce4f015
JM
40252012-04-26 Joseph Myers <joseph@codesourcery.com>
4026
5aeb141a
JM
4027 * sysdeps/unix/i386/brk.S: Remove file.
4028 * sysdeps/unix/i386/dl-brk.S: Likewise.
4029 * sysdeps/unix/i386/pipe.S: Likewise.
4030 * sysdeps/unix/i386/sigreturn.S: Likewise.
4031 * sysdeps/unix/i386/syscall.S: Likewise.
4032 * sysdeps/unix/i386/vfork.S: Likewise.
4033 * sysdeps/unix/i386/wait.S: Likewise.
4034
7143acae
JM
4035 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4036 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4037
2ce4f015
JM
4038 * configure.in (arm*-none*): Do not allow without
4039 --enable-hacker-mode.
4040 (netbsd*): Remove case setting base_os.
4041 (386bsd*): Likewise.
4042 (freebsd*): Likewise.
4043 (bsdi*): Likewise.
4044 (osf*): Likewise.
4045 (sunos*): Likewise.
4046 (ultrix*): Likewise.
4047 (newsos*): Likewise.
4048 (dynix*): Likewise.
4049 (*bsd*): Likewise.
4050 (sysv*): Likewise.
4051 (isc*): Likewise.
4052 (esix*): Likewise.
4053 (sco*): Likewise.
4054 (minix*): Likewise.
4055 (irix4*): Likewise.
4056 (irix6*): Likewise.
4057 (solaris[2-9]*): Likewise.
4058 (none): Likewise.
4059 * configure: Regenerated.
4060
0ac229c8
AZ
40612012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4062
4063 [BZ #11521]
4064 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4065 overflow or cancellation in calculating denominator.
4066 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4067 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4068 down expression to avoid unexpected rounding in newer GCCs.
4069 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4070
33f244f4
DM
40712012-04-26 David S. Miller <davem@davemloft.net>
4072
4073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4074 long-double compat symbols.
4075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4088
cfa1f3e8
DM
40892012-04-25 David S. Miller <davem@davemloft.net>
4090
4091 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4092 HWCAP_* values only after the memory barriers have been defined.
4093 (atomic_full_barrier): Define.
4094 (atomic_read_barrier): Define.
4095 (atomic_write_barrier): Define.
4096
6e236b92
SP
40972012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4098
4099 * shlib-versions: Add libgcc_s version information.
4100 * sysdeps/generic/libgcc_s.h: Remove.
4101 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4102 libgcc_s.h.
4103 * sysdeps/gnu/unwind-resume.c: Likewise.
4104 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4105
aab39a09
DM
41062012-04-25 David S. Miller <davem@davemloft.net>
4107
4108 * sysdeps/unix/sparc/brk.S: Delete.
4109 * sysdeps/unix/sparc/dl-brk.S: Delete.
4110 * sysdeps/unix/sparc/pipe.S: Delete.
4111 * sysdeps/unix/sparc/sysdep.S: Delete.
4112 * sysdeps/unix/sparc/sysdep.h: Delete.
4113 * sysdeps/unix/sparc/vfork.S: Delete.
4114 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4115 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4116 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4117 ret_ERRVAL, r0, r1, MOVE): Define.
4118 (JUMPTARGET): Remove.
4119 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4120 sysdeps/unix/sparc/sysdep.h
4121 (ENTRY, END): Remove.
4122 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4123
a3cc4f48
JM
41242012-04-25 Joseph Myers <joseph@codesourcery.com>
4125
2ed8cda2
JM
4126 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4127 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4128 -DIS_IN_build.
4129
35d76d59
JM
4130 * timezone/README: Update upstream location and email address for
4131 tzcode and tzdata.
4132 * timezone/zdump.c: Update from tzcode 2012b.
4133 * timezone/zic.c: Likewise.
4134
a3cc4f48
JM
4135 * configure.in (libc_cv_as_needed): Remove test.
4136 * configure: Regenerated.
4137 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4138 conditional definition.
4139 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4140 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4141 * config.make.in (have-as-needed): Remove variable.
4142
ceab42c3
SP
41432012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4144 Paul Pluzhnikov <ppluzhnikov@google.com>
4145
4146 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4147 strings correctly.
4148
3ce2865f
CLT
41492012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4150
4151 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4152 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4153 * sysdeps/sh/strlen.S: Likewise.
4154
f37e0d68
JM
41552012-04-24 Joseph Myers <joseph@codesourcery.com>
4156
ae186e9a
JM
4157 * sysdeps/unix/fork.S: Remove file.
4158 * sysdeps/unix/i386/fork.S: Likewise.
4159 * sysdeps/unix/sparc/fork.S: Likewise.
4160
b96914af
JM
4161 * sysdeps/unix/system.c: Remove file.
4162 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4163
f37e0d68
JM
4164 * sysdeps/unix/getegid.S: Remove file.
4165 * sysdeps/unix/geteuid.S: Likewise.
4166
87ef29ca
RM
41672012-04-24 Roland McGrath <roland@hack.frob.com>
4168
83bcd236
RM
4169 * scripts/check-localplt.awk: New file.
4170 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4171 of diff.
4172 * scripts/data/localplt-generic.data: Add a comment.
4173
87ef29ca
RM
4174 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4175 NODE when __dir_mkfile failed.
4176 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4177 Reported by Ludovic Courtès <ludo@gnu.org>.
4178
e5a6e567
AJ
41792012-04-24 Andreas Jaeger <aj@suse.de>
4180
4181 * Makerules (common-clean): Also remove gen-as-const-headers
4182 files.
4183
c1820385
JM
41842012-04-24 Joseph Myers <joseph@codesourcery.com>
4185
4186 * Makerules (native-compile): Do not change working directory for
4187 build. Use $(OUTPUT_OPTION) in command.
4188 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4189
94e02fc4
AZ
41902012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4191
4192 [BZ #13886]
4193 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4194 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4195 * math/libm-test.inc (floor_test): Add more tests.
4196 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4197
3a533ca3
JM
41982012-04-24 Joseph Myers <joseph@codesourcery.com>
4199
940ab4b3
JM
4200 * sysdeps/unix/getdents.c: Remove file.
4201 * sysdeps/unix/sysv/getdents.c: Likewise.
4202 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4203
90e037bd
JM
4204 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4205 sysdeps/unix/mman/syscalls.list.
4206 (mmap): Likewise.
4207 (mprotect): Likewise.
4208 (msync): Likewise.
4209 (munmap): Likewise.
4210 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4211 * sysdeps/unix/mman/syscalls.list: Remove.
4212 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4213
3a533ca3
JM
4214 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4215 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4216 * configure: Regenerated.
4217 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4218 $(libgcc_s_suffix).
4219 * config.make.in (libgcc_s_suffix): Remove variable.
4220
1ad743de
JM
42212012-04-23 Joseph Myers <joseph@codesourcery.com>
4222
4ad451e2
JM
4223 * sysdeps/unix/sysv/gethostname.c: Move to ...
4224 * sysdeps/posix/gethostname.c: ... here.
4225
5e37ce39
JM
4226 * sysdeps/unix/execve.S: Remove file.
4227
1ad743de
JM
4228 * sysdeps/unix/_exit.S: Remove file.
4229
4e681b5b
AJ
42302012-04-23 Andreas Jaeger <aj@suse.de>
4231
4232 [BZ #13739]
4233 * manual/Makefile: Remove make dist support, there's no
4234 need for a stand-alone documentation tar ball.
4235 (TEXI2DVI): Define always, it's not in Makeconfig.
4236 (dist): Removed.
4237 (tar-it): Removed.
4238 (edition): Removed.
4239 (glibc-doc-$(edition).tar): Removed
4240 (%.Z): Removed.
4241 (%.gz): Removed.
4242 (%.uu): Removed.
4243 (ETAGS): Remove, it's in Makeconfig.
4244 (move-if-change): Remove, it's in Makeconfig.
4245
c0baea34
PE
42462013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4247
4248 [BZ #13970]
4249 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4250 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4251 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4252 (strtod_l, strtof_l, strtold_l): Remove __wur.
4253 It is not necessarily an error to ignore strtol's return value.
4254 One can reliably look at the stored endptr to decide whether
4255 the number had valid syntax.
4256
7c0616fa
AJ
42572012-04-21 Andreas Jaeger <aj@suse.de>
4258
803cb6b7 4259 [BZ #13739]
7c0616fa
AJ
4260 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4261
b0fe253f
JM
42622012-04-21 Joseph Myers <joseph@codesourcery.com>
4263
4264 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4265 * sysdeps/unix/sysv/Versions: Remove file.
4266
8280f22d
MT
42672012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4268
4269 [BZ #13927]
4270 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4271
75ce411f 42722012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4273
4274 [BZ #7064]
4275 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4276 version from __vm86.
4277
097d59fa
JM
42782012-04-20 Joseph Myers <joseph@codesourcery.com>
4279
a90f3bcb
JM
4280 * sysdeps/unix/common/lxstat.c: Remove file.
4281 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4282
edc7ea78
JM
4283 * sysdeps/unix/sysv/Makefile: Remove file.
4284
cb78c221
JM
4285 * sysdeps/unix/sysv/direct.h: Remove file.
4286
efa6a45f
JM
4287 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4288 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4289 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4290 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4291 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4292 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4293 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4294
9c9f2d0c
JM
4295 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4296
4541c83b
JM
4297 * sysdeps/unix/xmknod.c: Remove file.
4298 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4299
f5d153a0
JM
4300 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4301
aa746595
JM
4302 * sysdeps/unix/sysv/i386/time.S: Remove file.
4303
cce5905e
JM
4304 * sysdeps/unix/fxstat.c: Remove file.
4305 * sysdeps/unix/xstat.c: Likewise.
4306 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4307
37fa3841
JM
4308 * sysdeps/unix/sysv/sigaction.c: Remove file.
4309
ff1962a3
JM
4310 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4311 (sysdep_headers): Remove variable.
4312 [termio.h not in sysdep_headers] (generated): Likewise.
4313 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4314 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4315 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4316 * sysdeps/unix/sysv/tcflow.c: Likewise.
4317 * sysdeps/unix/sysv/tcflush.c: Likewise.
4318 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4319 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4320 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4321 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4322 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4323
e7740d31
JM
4324 * sysdeps/unix/siglist.c: Remove file.
4325
ee06f18b
JM
4326 * sysdeps/unix/getppid.S: Remove file.
4327
097d59fa
JM
4328 * sysdeps/unix/mkdir.c: Remove file.
4329 * sysdeps/unix/rmdir.c: Likewise.
4330
ff3d51ec
AS
43312012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4332
4333 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4334 ERR_MAX value.
4335 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4336 errlist-compat value.
4337
50f81fd7
DM
43382012-04-18 David S. Miller <davem@davemloft.net>
4339
4340 * sysdeps/generic/memcopy.h (reg_char): Delete.
4341 * debug/strcat_chk.c: Use char, not reg_char.
4342 * debug/strcpy_chk.c: Likewise.
4343 * debug/strncat_chk.c: Likewise.
4344 * debug/strncpy_chk.c: Likewise.
4345 * string/memchr.c: Likewise.
4346 * string/memrchr.c: Likewise.
4347 * string/rawmemchr.c: Likewise.
4348 * string/strcat.c: Likewise.
4349 * string/strchr.c: Likewise.
4350 * string/strchrnul.c: Likewise.
4351 * string/strcmp.c: Likewise.
4352 * string/strcpy.c: Likewise.
4353 * string/strncat.c: Likewise.
4354 * string/strncmp.c: Likewise.
4355 * string/strncpy.c: Likewise.
4356
8ff41c46
WS
43572012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4358
4359 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4360 __builtin_memcopy is called when src and dest ranges are known to not
4361 overlap.
4362
6b652f46
WS
43632012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4364
4365 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4366 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4367 fwd_align_merge macro call.
4368 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4369 bwd_align_merge macro call.
4370 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4371
b282631e
WS
43722012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4373
4374 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4375 bwd_align_merge macros.
4376 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4377 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4378 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4379
95aa737c
DM
43802012-04-18 David S. Miller <davem@davemloft.net>
4381
4382 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4383
7a99a614
AJ
43842012-04-18 Andreas Jaeger <aj@suse.de>
4385
4386 [BZ# 6794]
4387 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4388 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4389 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4390
4391 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4392 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4393 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4394
4395 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4396 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4397 Adjust for changed ldbl-128 files.
4398
4399 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4400 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4401 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4402
e5270c23
DM
44032012-04-17 David S. Miller <davem@davemloft.net>
4404
4405 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4406
fb5e92c9
AS
44072012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4408
4409 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4410 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4411 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4412 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4413 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4414 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4415
76da7265
AZ
44162012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4417
4418 [BZ #6794]
4419 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4420 * math/libm-test.inc: Add ilogb errno and exception tests.
4421 * math/w_ilogb.c: New file: ilogb wrapper.
4422 * math/w_ilogbf.c: New file: ilogbf wrapper.
4423 * math/w_ilogbl.c: New file: ilogbl wrapper.
4424 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4425 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4426 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4427 exception being thrown with 0.0 as argument.
4428 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4429 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4430 exception being thrown with 0.0 as argument.
4431 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4432 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4433 exception being thrown with 0.0 as argument.
4434 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4435 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4436 exception being thrown with 0.0 as argument.
4437 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4438 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 4439 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
4440 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4441 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4442 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4443 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4444 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4445 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4446
0396e69d
PB
44472012-04-17 Petr Baudis <pasky@ucw.cz>
4448
4449 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4450 with altivec.
4451
750b5926
MP
44522012-04-16 Marek Polacek <polacek@redhat.com>
4453
4454 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4455
751728a1
MP
44562012-04-16 Marek Polacek <polacek@redhat.com>
4457
4458 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4459 operands of fdivp instruction.
4460
34a27407
L
44612012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4462
4463 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4464 * elf/tst-auditmod3b.c: Likewise.
4465 * elf/tst-auditmod4b.c: Likewise.
4466 * elf/tst-auditmod5b.c: Likewise.
4467 * elf/tst-auditmod6b.c: Likewise.
4468 * elf/tst-auditmod6c.c: Likewise.
4469 * elf/tst-auditmod7b.c: Likewise.
4470 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4471 * sysdeps/x86_64/preconfigure.in: Likewise.
4472 * sysdeps/x86_64/preconfigure: Regenerated.
4473
7e73e17d
L
44742012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4475
4476 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4477 __ILP32__.
4478
c7a6ab72
AB
44792012-04-13 Antoine Balestrat <merkil33@gmail.com>
4480
4481 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4482 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4483
a9e8e0e0
CL
44842012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4485
4486 [BZ #13973]
4487 * locale/iso-639.def: Fix gl language name. Spotted by
4488 Yaron Shahrabani.
4489
ec98af7d
RM
44902012-04-12 Roland McGrath <roland@hack.frob.com>
4491
4492 [BZ #2074]
4493 * libio/libio.h (__io_write_fn): Update comment.
4494
247c3ede
PB
44952012-04-12 Petr Baudis <pasky@ucw.cz>
4496
4497 [BZ #2074]
4498 * stdio.texi (Hook Functions): The user provided writer function
4499 is not allowed to return -1.
4500
55939d6d
DM
45012012-04-11 David S. Miller <davem@davemloft.net>
4502
4503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4504
90020f5a
MF
45052012-04-11 Mike Frysinger <vapier@gentoo.org>
4506
4507 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4508 Add a leading slash to rtkaio.
4509
288f9098
JM
45102012-04-11 Jim Meyering <meyering@redhat.com>
4511
90020f5a
MF
4512 [BZ #11959]
4513 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4514 It is not necessarily an error to ignore fwrite's return
4515 value. One can reliably use ferror to test for errors after
4516 the fact.
288f9098 4517
4be2b570
L
45182012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4519
4520 * bits/types.h (__snseconds_t): New type.
4521 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4522
4523 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4524 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4525 (__SNSECONDS_T_TYPE): Likewise.
4526 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4527 (__SNSECONDS_T_TYPE): Likewise.
4528 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4529 (__SNSECONDS_T_TYPE): Likewise.
4530
288f9098 45312012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
4532
4533 [BZ #2636]
4534 * manual/time.texi (Processor Time): Return type of times is
4535 elapsed real time since an arbitrary point in the past.
4536 (CPU Time): Move CLK_TCK from here...
4537 (Processor Time): ...to here. Correct description.
4538 * manual/conf.texi (Constants for Sysconf): Correct description of
4539 _SC_CLK_TCK.
4540
d7dd4413
DM
45412012-04-10 David S. Miller <davem@davemloft.net>
4542
4543 [BZ #13967]
4544 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4545 where the is a gap between DT_REL(A) and DT_JMPREL.
4546
b46068fc
L
45472012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4548
4549 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4550 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4551 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4552
73d65cc3
SP
45532012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4554
4555 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4556 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4557 (dl_main): Handle --inhibit-cache.
4558 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4559 _dl_inhibit_cache.
4560 * elf/dl-load.c (_dl_map_object): Use it.
4561 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4562
bcc8d661
JM
45632012-04-09 Joseph Myers <joseph@codesourcery.com>
4564
8f9a2fae
JM
4565 [BZ #13872]
4566 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4567 (__ieee754_powl): Saturate large exponents rather than testing for
4568 overflow of y*log2(x).
4569 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4570 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4571 exceptions.
4572
bcc8d661
JM
4573 [BZ #11521]
4574 * math/s_ctan.c: Include <float.h>.
4575 (__ctan): Avoid internal overflow or cancellation in calculating
4576 denominator.
4577 * math/s_ctanf.c: Likewise.
4578 * math/s_ctanl.c: Likewise.
4579 * math/s_ctanh.c: Likewise.
4580 * math/s_ctanhf.c: Likewise.
4581 * math/s_ctanhl.c: Likewise.
4582 * math/libm-test.inc (ctan_test): Add more tests.
4583 (ctanh_test): Likewise.
4584 * sysdeps/i386/fpu/libm-test-ulps: Update.
4585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4586
823fbbb4
AJ
45872012-04-09 Andreas Jaeger <aj@suse.de>
4588
03879793
AJ
4589 [BZ #6894]
4590 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4591 is an optional BSD extension.
4592
823fbbb4
AJ
4593 [BZ #10254]
4594 * manual/stdio.texi (Opening Streams): Document additional fopen
4595 parameters.
4596
8de131cb
RM
45972012-04-09 Roland McGrath <roland@hack.frob.com>
4598
4599 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4600 %eax without telling the compiler.
4601
c0ed9d7d
CD
46022012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4603
4604 [BZ # 13963]
4605 * manual/install.texi: Use sourceware.org.
4606
c483f6b4
JM
46072012-04-09 Joseph Myers <joseph@codesourcery.com>
4608
d7dd9453
JM
4609 [BZ #13873]
4610 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4611 (__ieee754_pow): Generate overflow and underflow using huge*huge
4612 and tiny*tiny rather than just returning constant infinity or zero
4613 for large exponents.
4614 * math/libm-test.inc (pow_test): Require overflow exceptions for
4615 applicable cases of large exponents.
4616
c483f6b4
JM
4617 [BZ #706]
4618 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4619 (__ieee754_pow): Use iterative multiplication algorithm only for
4620 integer exponents with absolute value below 1024. Check for odd
4621 integer exponents when using algorithm for real exponents.
4622 * math/libm-test.inc (pow_test): Add more tests.
4623 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4624
d2de7579
JM
46252012-04-08 Joseph Myers <joseph@codesourcery.com>
4626
4627 [BZ #13705]
4628 * math/libm-test.inc (exp_test): Do not allow overflow exception
4629 on underflow test.
4630
f77f1232
AJ
46312012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4632
4633 [BZ #13705]
4634 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4635 instead of __kernel_standard_f.
4636
3884932b
MF
46372012-04-08 Mike Frysinger <vapier@gentoo.org>
4638
4639 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4640 * sysdeps/x86_64/memset_chk.S: Likewise.
4641
54472e9c
AJ
46422012-04-08 Andreas Jaeger <aj@suse.de>
4643
6ab0fbfc
AJ
4644 [BZ #10153]
4645 * manual/startup.texi (Environment Access): Describe return value
4646 for putenv and setenv.
4647
61efba8c
AJ
4648 [BZ #6895]
4649 * manual/filesys.texi (Directory Entries): Add description for
4650 DT_LNK.
4651
95c3f29a
AJ
4652 [BZ #6890]
4653 * manual/filesys.texi (Directory Entries): Clarify that it's file
4654 system not operating system in the description of DT_UNKNOWN.
4655
54472e9c
AJ
4656 [BZ #6578]
4657 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4658
624254b1
SC
46592012-04-08 Stephen Compall <s11@member.fsf.org>
4660
4661 [BZ #6649]
4662 * manual/llio.texi (Opening and Closing Files): Add cross
4663 reference to explain mode argument.
4664
1e4920e0
MF
46652012-04-07 Mike Frysinger <vapier@gentoo.org>
4666
4667 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4668 * sysdeps/x86_64/memset_chk.S: Likewise.
4669
5ed848f3
DM
46702012-04-07 David S. Miller <davem@davemloft.net>
4671
4672 * elf/elf.h (R_SPARC_WDISP10): Define.
4673 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4674 R_SPARC_SIZE32.
4675 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4676 R_SPARC_SIZE64 and R_SPARC_H34.
4677
96154cd8
CD
46782012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4679
4680 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4681 conditions and remove no longer applicable assertion.
4682
9904dc47
L
46832012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4684
4685 * bits/byteswap.h: Include <features.h>.
4686 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4687 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4688
f8887d0a
L
46892012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4690
4691 * bits/byteswap.h (__bswap_16): Removed.
4692 Include <bits/byteswap-16.h> to get __bswap_16.
4693 * sysdeps/i386/bits/byteswap.h: Likewise.
4694 * sysdeps/s390/bits/byteswap.h: Likewise.
4695 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4696 * bits/byteswap-16.h: New file.
4697 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4698 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4699 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4700 * string/Makefile (headers): Add bits/byteswap-16.h.
4701
62470f60
PP
47022012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4703
4704 [BZ #13895]
4705 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4706 extra indirection.
4707 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4708 * nss/tst-nss-static.c: New.
4709
4dad7bab
RM
47102012-04-06 Robert Millan <rmh@gnu.org>
4711
4712 [BZ #6486]
4713 * manual/llio.texi (File Position Primitive): lseek
4714 refers to WHENCE when it really means OFFSET.
4715
e9142a17
AJ
47162012-04-06 Andreas Jaeger <aj@suse.de>
4717
2c040eff
AJ
4718 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4719 strncmp declarations.
4720
e9142a17
AJ
4721 * abilist/libc.abilist: Add __poll and __ppoll.
4722
ff9f1c5f
DM
47232012-04-05 David S. Miller <davem@davemloft.net>
4724
dcd2ae90
DM
4725 * scripts/check-local-headers.sh: Accept a host triplet in the
4726 path matched by the exclude regexp.
4727
993eb054
DM
4728 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4729 definition.
4730 * sysdeps/powerpc/powerpc32/dl-machine.h
4731 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4732 * sysdeps/s390/s390-32/dl-machine.h
4733 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4734 * sysdeps/sparc/sparc32/dl-machine.h
4735 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4736 * sysdeps/sparc/sparc64/dl-machine.h
4737 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4738
ff9f1c5f
DM
4739 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4740 lazy binding.
48e2e132 4741 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
4742 undefined symbol errors.
4743
48e2e132 4744 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
4745 DT_NEEDED entries.
4746
e80d6f94
MM
47472012-04-05 Michael Matz <matz@suse.de>
4748
4749 [BZ #13592]
4750 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4751
349fa79f
AJ
47522012-04-05 Andreas Jaeger <aj@suse.de>
4753
4754 [BZ #13908]
4755 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4756 comment.
4757
f402708f
KK
47582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4759
4760 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4761 which ROUND is no valid rounding mode.
4762
2ecccfc9
KK
47632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4764
4765 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4766 read again.
4767 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4768
8a53f50f
KK
47692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4770
4771 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4772 an exception using FPU order intentionally.
4773
47742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4775
4776 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4777 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4778 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4779 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4780
d653abb7
SJ
47812012-04-05 Simon Josefsson <simon@josefsson.org>
4782
4783 [BZ #12340]
4784 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4785 EINVAL when BUFLEN is too smal.
4786
c3b1bf7d
TS
47872012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4788
4789 [BZ #13553]
4790 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4791 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4792
b1aa60f3
AJ
47932012-04-03 Andreas Jaeger <aj@suse.de>
4794
c3b1bf7d 4795 [BZ #13938]
67f60a26
AJ
4796 * manual/setjmp.texi (System V contexts): Fix sentence.
4797
b1aa60f3
AJ
4798 [BZ #13926]
4799 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4800 New macro for this case.
4801 [!__GNUC__] (__bswap_64): New inline function for this case.
4802 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4803 * bits/byteswap.h: Likewise.
4804 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4805 ull, guard with __GLIBC_HAVE_LONG_LONG.
4806
4807 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4808 __GLIBC_HAVE_LONG_LONG.
4809
4810 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4811 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4812
39c59c35
TMQMF
48132012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4814
4815 [BZ #13691]
4816 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4817 inptr and inend, rather than using last_ch.
4818
135ffda8
DM
48192012-04-02 David S. Miller <davem@davemloft.net>
4820
4821 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4822 * stdio-common/printf-parse.h (read_int): Change return type to
4823 'int', return -1 on INT_MAX overflow.
4824 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4825 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4826 overflows INT_MAX. Check for overflow of in-format-string precision
4827 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4828 SIZE_MAX not INT_MAX for integer overflow test.
4829 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4830 skip the construct in the format string but do not record anything.
4831 * stdio-common/bug22.c: Adjust to test both width/prevision
4832 INT_MAX overflow as well as total length INT_MAX overflow. Check
4833 explicitly for proper errno values.
4834
228c019e
TS
48352012-04-02 Thomas Schwinge <thomas@codesourcery.com>
4836
302cadd3
TS
4837 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
4838 CHAR_MAX.
4839 * string/test-strcmp.c [! WIDE]: Likewise.
4840 * time/tst-mktime2.c: Likewise for INT_MAX.
4841 * string/test-string.h: #include <sys/param.h> for MIN.
4842
228c019e
TS
4843 * csu/init-first.c (__libc_init_first): Call __ctype_init.
4844 * sysdeps/i386/init-first.c (init): Likewise.
4845 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4846 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4847 * sysdeps/sh/init-first.c (init): Likewise.
4848
cfa633f5
UD
48492012-04-01 Ulrich Drepper <drepper@gmail.com>
4850
4851 * po/ru.po: Update from translation team.
d1635ef8 4852 * po/vi.po: Likewise.
cfa633f5 4853
6cd0a5ea
SP
48542012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4855
4856 * resolv/nss_dns/dns-host.c: Merge copyright years.
4857
4b43400f
LD
48582012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4859
4860 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4861 Optimize memcpy with prefetch if
4862 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4863 src, dst pointers have unequal 16 byte alignments.
4864
48c41d04
SP
48652012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4866
4867 [BZ #13928]
4868 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4869 from a CNAME entry and return the minimum ttl for the query.
4870 (gaih_getanswer_slice): Likewise.
4871
b8dc394d
JL
48722012-03-30 Jeff Law <law@redhat.com>
4873
4874 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4875 due to long keys.
4876 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4877 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4878
2f5a5ed0
JL
4879 * resolv/nss_dns/dns-host.c: Update copyright year.
4880
1d39e359
UD
48812012-03-30 Ulrich Drepper <drepper@gmail.com>
4882
c030f70c 4883 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 4884 requests to save a system call. Fix check that all bytes are sent.
c030f70c 4885
1d39e359
UD
4886 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4887 comments for sendmmsg.
4888
48892012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
4890
4891 [BZ #13691]
4892 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
4893 with only 1 character between 0x0041 and 0x01b0.
4894 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
4895 * wcsmbs/tst-mbsnrtowcs.c: New file.
4896
20fde227
DM
48972012-03-29 David S. Miller <davem@davemloft.net>
4898
4899 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
4900 small copies by hand.
4901
984a4237
JL
49022012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4903
4904 [BZ #13761]
4905 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
4906 _nss_compat_initgroups_dyn): Fall back to malloc/free
4907 for large group memberships.
4908
18c9d62b
DM
49092012-03-28 David S. Miller <davem@davemloft.net>
4910
88d85d4f
DM
4911 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
4912 that branches into memcpy.
4913 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4914 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4915 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4916 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4917 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
4918 bits.
4919 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
4920 implementation too.
4921 * sysdeps/sparc/mempcpy.S: New file.
4922
e5aa83e1
DM
4923 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
4924 the IFUNC routine in the libc case.
4925 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4926
88570753
DM
4927 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
4928 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
4929 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
4930 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
4931 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
4932 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
4933 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
4934 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
4935
249d7567
DM
4936 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
4937 loop to 256 bytes instead of 64 bytes and fix test signedness.
4938
18c9d62b
DM
4939 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
4940 * sysdeps/sparc/sparc32/Makefile: rather than here...
4941 * sysdeps/sparc/sparc64/Makefile: and here.
4942
05f3d1f6
UD
49432012-03-28 Ulrich Drepper <drepper@gmail.com>
4944
4945 * malloc/mallocbug.c: Avoid warnings about unused variables.
4946
86ae07a8
JL
49472012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4948
4949 [BZ #13760]
4950 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
4951 in the right place. Discard and retry query if response is
4952 larger than input buffer size.
4953
41bf21a1
JM
49542012-03-28 Joseph Myers <joseph@codesourcery.com>
4955
d6270972
JM
4956 [BZ #369]
4957 [BZ #2678]
4958 [BZ #3866]
4959 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
4960 x for large integer exponent.
4961 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4962 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
4963 sign of result as needed afterwards.
4964 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4965 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
4966 result for underflowing pow the same as for overflow.
4967 (__kernel_standard_l): Handle powl overflow and underflow here
4968 rather than calling __kernel_standard.
4969 * math/libm-test.inc (pow_test): Add more tests.
4970
414fca03 4971 [BZ #3868]
41bf21a1
JM
4972 [BZ #13879]
4973 [BZ #13910]
4974 [BZ #13911]
4975 [BZ #13912]
4976 [BZ #13913]
4977 [BZ #13915]
4978 [BZ #13916]
4979 [BZ #13917]
4980 [BZ #13918]
4981 [BZ #13919]
4982 [BZ #13920]
4983 [BZ #13921]
4984 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
4985 * sysdeps/ieee754/k_standard.c: Include <float.h>.
4986 (__kernel_standard_l): New function.
4987 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
4988 __kernel_standard.
4989 * math/w_acosl.c (__acosl): Likewise.
4990 * math/w_asinl.c (__asinl): Likewise.
4991 * math/w_atan2l.c (__atan2l): Likewise.
4992 * math/w_atanhl.c (__atanhl): Likewise.
4993 * math/w_coshl.c (__coshl): Likewise.
4994 * math/w_exp10l.c (__exp10l): Likewise.
4995 * math/w_exp2l.c (__exp2l): Likewise.
4996 * math/w_fmodl.c (__fmodl): Likewise.
4997 * math/w_hypotl.c (__hypotl): Likewise.
4998 * math/w_j0l.c (__j0l, __y0l): Likewise.
4999 * math/w_j1l.c (__j1l, __y1l): Likewise.
5000 * math/w_jnl.c (__jnl, __ynl): Likewise.
5001 * math/w_lgammal.c (__lgammal): Likewise.
5002 * math/w_log10l.c (__log10l): Likewise.
5003 * math/w_log2l.c (__log2l): Likewise.
5004 * math/w_logl.c (__logl): Likewise.
5005 * math/w_powl.c (__powl): Likewise.
5006 * math/w_remainderl.c (__remainderl): Likewise.
5007 * math/w_scalbl.c (sysv_scalbl): Likewise.
5008 * math/w_sinhl.c (__sinhl): Likewise.
5009 * math/w_sqrtl.c (__sqrtl): Likewise.
5010 * math/w_tgammal.c (__tgammal): Likewise.
5011 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5012 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5013 * math/libm-test.inc (acos_test): Add more tests.
5014 (acosh_test): Likewise.
5015 (asin_test): Likewise.
5016 (atanh_test): Likewise.
5017 (exp_test): Likewise.
5018 (exp10_test): Likewise.
5019 (exp2_test): Likewise.
5020 (expm1_test): Likewise.
5021 (lgamma_test): Likewise.
5022 (log_test): Likewise.
5023 (log10_test): Likewise.
5024 (log1p_test): Likewise.
5025 (log2_test): Likewise.
5026 (pow_test): Do not allow some spurious overflow exceptions.
5027 (sqrt_test): Add more tests.
5028 (tgamma_test): Likewise.
5029 (y0_test): Likewise.
5030 (y1_test): Likewise.
5031 (yn_test): Likewise.
5032
dd62fda6
AB
50332012-03-27 Anton Blanchard <anton@samba.org>
5034
5035 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5036 MAP_HUGETLB.
5037 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5038 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5039 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5040
1e3cdfda
AJ
50412012-03-27 David S. Miller <davem@davemloft.net>
5042
b855ab85
DM
5043 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5044
1e3cdfda
AJ
5045 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5046 have-as-vis3 check.
5047
50482012-03-27 Andreas Jaeger <aj@suse.de>
5049
5050 * sysdeps/x86_64/elf/configure.in: Moved to ...
5051 * sysdeps/x86_64/configure.in: ... here.
5052 * sysdeps/x86_64/elf/start.S: Moved to ...
5053 * sysdeps/x86_64/start.S: ... here.
5054 * sysdeps/x86_64/elf/configure: Delete.
5055
5056 * sysdeps/x86_64/configure.in: Merge contents from
5057 sysdeps/i386/configure.in (without i686 check).
5058
5059 * sysdeps/i386/elf/Versions: Merge into ...
5060 * sysdeps/i386/Versions: ... this.
5061 * sysdeps/i386/elf/Versions: Delete file.
5062 * sysdeps/i386/elf/start.S: Moved to ...
5063 * sysdeps/i386/start.S: ...here.
5064 * sysdeps/i386/elf/configure.in: Merge into...
5065 * sysdeps/i386/configure.in: ...here.
5066 * sysdeps/i386/elf/configure.in: Delete file.
5067 * sysdeps/i386/elf/configure: Delete file.
5068
5069 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5070 * debug/backtracesyms.c: ... here.
5071 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5072 * debug/backtracesymsfd.c: ... here.
5073 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5074 * sysdeps/generic/ifunc-sel.h: ... here.
5075
5076 * sysdeps/unix/i386/start.c: Delete file.
5077 * sysdeps/unix/sparc/start.c: Delete file.
5078 * sysdeps/unix/start.c: Delete file.
5079
5080 * sysdeps/sh/elf/configure.in: Moved to ...
5081 * sysdeps/sh/configure.in: ... here.
5082 * sysdeps/sh/elf/start.S: Moved to ...
5083 * sysdeps/sh/start.S: ... here.
5084 * sysdeps/sh/elf/configure: Delete file.
5085
5086 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5087 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5088 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5089 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5090 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5091 * sysdeps/powerpc/powerpc64/start.S: here.
5092 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5093 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5094 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5095 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5096 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5097
5098 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5099 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5100 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5101 * sysdeps/powerpc/powerpc32/start.S: ... here.
5102 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5103 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5104 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5105
5106 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5107 * sysdeps/powerpc/ifunc-sel.h: ... here.
5108 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5109 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5110
5111 * sysdeps/sparc/elf/configure.in: Moved to ...
5112 * sysdeps/sparc/configure.in: ... here.
5113 * sysdeps/sparc/elf/configure: Delete file.
5114 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5115 * sysdeps/sparc/sparc32/start.S: ... here.
5116 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5117 * sysdeps/sparc/sparc64/start.S: ... here.
5118 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5119 * sysdeps/sparc/sparc32/Makefile: ... this.
5120 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5121 * sysdeps/sparc/sparc64/Makefile: ... this.
5122
5123 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5124 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5125 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5126 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5127 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5128 * sysdeps/s390/s390-32/setjmp.S: ... here.
5129 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5130 * sysdeps/s390/s390-32/configure.in: ... here.
5131 * sysdeps/s390/s390-32/elf/configure: Delete file.
5132 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5133 * sysdeps/s390/s390-32/start.S: ... here.
5134
5135 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5136 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5137 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5138 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5139 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5140 * sysdeps/s390/s390-64/setjmp.S: ... here.
5141 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5142 * sysdeps/s390/s390-64/configure.in: ... here
5143 * sysdeps/s390/s390-64/elf/configure: Delete file.
5144 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5145 * sysdeps/s390/s390-64/start.S: ... here.
5146 * sysdeps/s390/s390-64/elf/configure: Delete.
5147
5148 * configure.in: Remove support for elf directories in sysdeps.
5149
5150 * configure: Regenerated.
5151 * sysdeps/i386/configure: Regenerated.
5152 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5153 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5154 * sysdeps/s390/s390-32/configure: Regenerated.
5155 * sysdeps/s390/s390-64/configure: Regenerated.
5156 * sysdeps/sh/configure: Regenerated.
5157 * sysdeps/sparc/configure: Regenerated.
5158 * sysdeps/x86_64/configure: Regenerated.
5159
a3f61311
AS
51602012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5161
c876e002
AS
5162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5163
a3f61311
AS
5164 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5165 denormal result into account.
5166
ac4c54f0
RM
51672012-03-25 Roland McGrath <roland@hack.frob.com>
5168
5169 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5170 Reported by Allan McRae <allan@archlinux.org>.
5171
6a9b9c02
JL
51722012-03-23 Jeff Law <law@redhat.com>
5173
5174 * nss/getnssent.c (__nss_getent): Fix typo.
5175
4c42a0c1
DM
51762012-03-23 David S. Miller <davem@davemloft.net>
5177
5178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5179
1532c7ac
L
51802012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5181
5182 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5183 to pad to uint64_t for each field.
5184 (dl_tls_index): Replace unsigned long with uint64_t.
5185
3ff42526
PP
51862012-03-23 Daniel Jacobowitz <dmj@google.com>
5187 Paul Pluzhnikov <ppluzhnikov@google.com>
5188
5189 [BZ #6528]
5190 * grp/Makefile (otherlibs): Don't set it.
5191 * inet/Makefile (otherlibs): Likewise.
5192 * login/Makefile (otherlibs): Likewise.
5193 * nscd/Makefile (otherlibs): Likewise.
5194 * posix/Makefile (otherlibs): Likewise.
5195 * pwd/Makefile (otherlibs): Likewise.
5196 * rt/Makefile (otherlibs): Likewise.
5197 * sunrpc/Makefile (otherlibs): Likewise.
5198 * nss/Makefile (otherlibs): Likewise.
5199 Add libnss_files to routines and static-only-routines.
5200 ($(objpfx)getent): Remove rule.
5201 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5202 static-only-routines.
5203
7c69cd14
JM
52042012-03-22 Joseph Myers <joseph@codesourcery.com>
5205
5206 [BZ #13892]
5207 * math/s_cexp.c: Include <float.h>.
5208 (__cexp): Handle exp result overflowing not necessarily
5209 overflowing both real and imaginary parts of result.
5210 * math/s_cexpf.c: Likewise.
5211 * math/s_cexpl.c: Likewise.
5212 * math/libm-test.inc (cexp_test): Add more tests.
5213 * sysdeps/i386/fpu/libm-test-ulps: Update.
5214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5215
81b035fe
L
52162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5217
5218 * include/link.h (ELFW): New macro.
5219 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5220 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5221
1da7940c
L
52222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5223
5224 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5225 with uint64_t.
5226
b749dbb9
L
52272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5228
5229 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5230 declaration.
5231 (struct La_x32_retval): Likewise.
5232
2ff87f3f
L
52332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5234
5235 * sysdeps/x86_64/preconfigure.in: New file.
5236 * sysdeps/x86_64/preconfigure: New generated file.
5237
c0df8e69
JM
52382012-03-22 Joseph Myers <joseph@codesourcery.com>
5239
48e44791
JM
5240 [BZ #13824]
5241 * math/e_exp2l.c: Include <float.h>.
5242 (__ieee754_exp2l): Handle overflow and underflow cases
5243 separately. Only pass fractional part of argument to
5244 __ieee754_expl.
5245 * math/libm-test.inc (exp2_test): Add more tests.
5246
c0df8e69
JM
5247 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5248 negating x to take absolute value.
5249 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5250 Likewise.
5251 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5252 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5253 Likewise.
5254 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5255 computing low part if x was negated.
5256 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5257
c8e43ba7
L
52582012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5259
5260 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5261 la_x32_gnu_pltexit.
5262 (pltexit): Cast int_retval to ptrdiff_t.
5263 * elf/tst-auditmod3b.c: Likewise.
5264 * elf/tst-auditmod4b.c: Likewise.
5265 * elf/tst-auditmod5b.c: Likewise.
5266 * elf/tst-auditmod6b.c: Likewise.
5267 * elf/tst-auditmod6c.c: Likewise.
5268 * elf/tst-auditmod7b.c: Likewise.
5269
5270 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5271 and x32_gnu_pltexit.
5272
5273 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5274 __ELF_NATIVE_CLASS.
5275 (La_x32_regs): New macro.
5276 (La_x32_retval): Likewise.
5277 (la_x32_gnu_pltenter): New function prototype.
5278 (la_x32_gnu_pltexit): Likewise.
5279
7998fa78
AS
52802012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5281
dcb33988
AS
5282 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5283 exponent.
5284
233fc563
AS
5285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5286
7998fa78
AS
5287 * configure.in (libc_cv_cc_nofma): Check for option to disable
5288 generation of FMA instructions.
5289 * configure: Regenerate.
5290 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5291 * sysdeps/ieee754/dbl-64/Makefile: New file.
5292 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5293 Remove brandred-fma4.
5294 (CFLAGS-brandred-fma4.c): Remove.
5295 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5296 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5297 define.
5298 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5299 define.
5300
8e95c99a
L
53012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5302
5303 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5304 LLONG_MAX != LONG_MAX.
5305 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5306 (_fitoa_word): Likewise.
5307 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5308 LLONG_MAX != LONG_MAX.
5309 * stdio-common/_itowa.h: Include <_itoa.h>.
5310 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5311 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5312 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5313 only if not defined.
5314 (_ITOA_WORD_TYPE): Likewise.
5315 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5316 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5317
6f4db457
DM
53182012-03-21 David S. Miller <davem@davemloft.net>
5319
5320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5321
7785fe5a
L
53222012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5323
5324 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5325 of x86_64 when setting libc_cv_slibdir, libdir and
5326 libc_cv_localedir.
5327 * sysdeps/unix/sysv/linux/configure: Regenerated.
5328
4535cd55
JM
53292012-03-21 Joseph Myers <joseph@codesourcery.com>
5330
5331 * manual/lang.texi (Old Varargs): Remove section.
5332 (How Variadic): Update menu.
5333 (va_start): Do not mention varargs.h.
5334
17228132
TS
53352012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5336 Joseph Myers <joseph@codesourcery.com>
5337
5338 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5339 link test.
5340 * configure: Regenerated.
5341
8149f976
TS
53422012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5343
05f3d1f6
UD
5344 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5345 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5346 conformtest.pl
8149f976 5347
1a4ac776
JM
53482012-03-21 Joseph Myers <joseph@codesourcery.com>
5349
be22ce65
JM
5350 * NOTES: Remove.
5351 * Makefile (files-for-dist): Remove NOTES.
5352 (NOTES): Remove rule.
5353 * README: Don't refer to NOTES.
5354 * manual/creature.texi: Don't include macros.texi.
5355 * manual/intro.texi (creature.texi): Remove comment referring to
5356 NOTES.
5357
40b601fb
JM
5358 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5359 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5360 * configure: Regenerated.
5361 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5362 LIBC_TRY_CC_OPTION.
5363 (libc_cv_as_i686): Likewise.
5364 (libc_cv_cc_avx): Likewise.
5365 (libc_cv_cc_sse2avx): Likewise.
5366 (libc_cv_cc_fma4): Likewise.
5367 (libc_cv_cc_novzeroupper): Likewise.
5368 * sysdeps/i386/configure: Regenerated.
5369
1a4ac776
JM
5370 [BZ #13883]
5371 * sysdeps/i386/fpu/s_cexp.S: Remove.
5372 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5373 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5374 * math/libm-test.inc (cexp_test): Add more tests.
5375 * sysdeps/i386/fpu/libm-test-ulps: Update.
5376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5377
a458e7fe
AM
53782012-03-21 Allan McRae <allan@archlinux.org>
5379
5380 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5381
0cb7efc5
JM
53822012-03-21 Joseph Myers <joseph@codesourcery.com>
5383
5384 [BZ #13871]
5385 * math/w_exp2.c: Do not include <float.h>.
5386 (o_threshold, u_threshold): Remove.
5387 (__exp2): Calculate result before checking finiteness and calling
5388 __kernel_standard.
5389 * math/w_exp2f.c: Likewise.
5390 * math/w_exp2l.c: Likewise.
5391 * math/libm-test.inc (exp2_test): Require overflow exception for
5392 1e6 input.
2460d3aa
JM
5393
5394 [BZ #3866]
5395 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5396 range of signed 64-bit integers before using fistpll. Remove
5397 checks for whether integers fit in mantissa bits.
5398 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5399 the range of signed 32-bit integers before using fistpl. Remove
5400 checks for whether integers fit in mantissa bits.
5401 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5402 (__ieee754_powl): Test for y outside the range of signed 64-bit
5403 integers before using fistpll. Reduce 64-bit values to 63-bit
5404 ones as needed.
5405 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5406 divide-by-zero is raised for zero to large negative powers.
5407 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5408 (__ieee754_powl): Test for y outside the range of signed 64-bit
5409 integers before using fistpll. Reduce 64-bit values to 63-bit
5410 ones as needed.
5411 * math/libm-test.inc (pow_test): Add more tests.
5412
eb96ffb0
L
54132012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5414
5415 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5416 <stdio-common/_itoa.h>.
5417 * debug/segfault.c: Likewise.
5418 * elf/dl-cache.c: Likewise.
5419 * elf/dl-minimal.c: Likewise.
5420 * elf/dl-misc.c: Likewise.
5421 * elf/dl-sysdep.c: Likewise.
5422 * elf/dl-version.c: Likewise.
5423 * elf/rtld.c: Likewise.
5424 * hurd/hurdsock.c: Likewise.
5425 * hurd/lookup-retry.c: Likewise.
5426 * malloc/malloc.c: Likewise.
5427 * malloc/mtrace.c: Likewise.
5428 * nscd/nscd_getgr_r.c: Likewise.
5429 * nscd/nscd_getpw_r.c: Likewise.
5430 * nscd/nscd_getserv_r.c: Likewise.
5431 * posix/getopt_init.c: Likewise.
5432 * posix/wordexp.c: Likewise.
5433 * stdio-common/_itoa.c: Likewise.
5434 * stdio-common/printf_fphex.c: Likewise.
5435 * stdio-common/vfprintf.c: Likewise.
5436 * string/_strerror.c: Likewise.
5437 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5438 * sysdeps/i386/i686/hp-timing.h: Likewise.
5439 * sysdeps/mach/_strerror.c: Likewise.
5440 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5441 * sysdeps/mach/hurd/sethostid.c: Likewise.
5442 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5443 * sysdeps/mach/xpg-strerror.c: Likewise.
5444 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5445 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5446 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5447 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5448 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5449 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5450 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5451 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5452 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5453 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5454 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5455 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5456 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5457 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5458 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5459 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5460 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5461 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5462 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5463 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5464 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5465
5466 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5467
5468 * stdio-common/_itoa.h: Moved to ...
5469 * sysdeps/generic/_itoa.h: Here.
5470
5471 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5472
5473 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5474 instead of "_itoa.h" and "_itowa.h".
5475 * stdio-common/vfprintf.: Likewise.
5476
d1af992d
L
54772012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5478
5479 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5480 <bits/wordsize.h>.
5481 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5482 (__signbit): Likwise.
5483 (llrintf): Likwise.
5484 (llrint): Likwise.
5485
114883e0
L
54862012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5487
5488 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5489 __WORDSIZE != 64.
5490
c135cc1b
JM
54912012-03-20 Joseph Myers <joseph@codesourcery.com>
5492
5493 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5494 OVERFLOW_EXCEPTION_OK.
5495 * math/libm-test.inc ("Philosophy"): Update comment about
5496 exception testing.
5497 (OVERFLOW_EXCEPTION): Define.
5498 (OVERFLOW_EXCEPTION_OK): Likewise.
5499 (INVALID_EXCEPTION_OK): Renumber.
5500 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5501 (IGNORE_ZERO_INF_SIGN): Likewise.
5502 (test_exceptions): Handle FE_OVERFLOW.
5503 (exp10_test): Expect overflow exceptions.
5504 (exp2_test): Likewise.
5505 (expm1_test): Likewise.
5506 (nextafter_test): Likewise.
5507 (pow_test): Likewise.
5508 (scalbn_test): Likewise.
5509 (scalbln_test): Likewise.
5510
95443d88
L
55112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5512
5513 * sysdeps/x86_64/bits/atomic.h
5514 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5515 64bit integer.
5516 (atomic_exchange_acq): Likewise.
5517 (__arch_exchange_and_add_body): Likewise.
5518 (__arch_add_body): Likewise.
5519 (atomic_add_negative): Likewise.
5520 (atomic_add_zero): Likewise.
5521
490df6c4
L
55222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5523
c2722551 5524 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
5525 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5526
5e52b189
L
55272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5528
5529 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5530 Check __x86_64__ instead of __WORDSIZE.
5531
a9879d4c
L
55322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5533
5534 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5535
5df98260
DM
55362012-03-19 David S. Miller <davem@davemloft.net>
5537
e1497744
DM
5538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5539
5df98260
DM
5540 * sysdeps/sparc/fpu/fenv_private.h: New file.
5541 * sysdeps/sparc/fpu/math_private.h: Use it.
5542 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5543 Remove.
5544 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5545 (libc_feholdexcept_setroundl): Remove.
5546 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5547 Remove.
5548 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5549 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5550
b4c35121
L
55512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5552
5553 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5554 int64_t instead of long int.
5555 (INSERT_WORDS64): Likwise.
5556
56965fd7
L
55572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5558
5559 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5560 _Unwind_GetCFA return to _Unwind_Ptr first.
5561
83d1aec8
JM
55622012-03-19 Joseph Myers <joseph@codesourcery.com>
5563
1897ad44
JM
5564 [BZ #13629]
5565 * math/s_clog.c: Include <float.h>.
5566 (__clog): Scale large or subnormal inputs.
5567 * math/s_clogf.c: Likewise.
5568 * math/s_clogl.c: Likewise.
5569 * math/s_clog10.c: Include <float.h>.
5570 (M_LOG10_2): Define.
5571 (__clog10): Scale large or subnormal inputs.
5572 * math/s_clog10f.c: Likewise.
5573 * math/s_clog10l.c: Likewise.
5574 * math/libm-test.inc (clog_test): Add more tests.
5575 (clog10_test): Likewise.
5576 * sysdeps/i386/fpu/libm-test-ulps: Update.
5577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5578
7726d6a9
JM
5579 [BZ #11451]
5580 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5581 x and y.
5582 * math/libm-test.inc (atan2_test): Add another test.
5583
83d1aec8
JM
5584 * Makerules (common-objdir-compile): Remove.
5585 * sysdeps/unix/Makefile (config-generated): Do not add
5586 $(unix-generated) to variable.
5587 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5588 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5589 Remove rule.
5590 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5591 Likewise.
5592 [generic bits/local_lim.h] (before-compile): Do not append to
5593 variable.
5594 [generic bits/local_lim.h] (common-generated): Likewise.
5595 [generic sys/param.h] (before-compile): Do not append to variable.
5596 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5597 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5598 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5599 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5600 include.
5601 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5602 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5603 [generic sys/param.h] ($(addprefix
5604 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5605 [generic sys/param.h] (common-generated): Do not append to
5606 variable.
5607 [generic sys/param.h] (sysdep_headers): Likewise.
5608 [generic bits/errno.h] (before-compile): Do not append to
5609 variable.
5610 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5611 rule.
5612 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5613 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5614 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5615 [generic bits/errno.h] (common-generated): Do not append to
5616 variable.
5617 [generic bits/ioctls.h] (before-compile): Do not append to
5618 variable.
5619 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5620 rule.
5621 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5622 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5623 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5624 rule.
5625 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5626 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5627 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5628 [generic bits/ioctls.h] (common-generated): Do not append to
5629 variable.
5630 [generic sys/syscall.h] (syscall.h): Remove variable.
5631 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5632 rule.
5633 [generic sys/syscall.h] (before-compile): Do not append to
5634 variable.
5635 [generic sys/syscall.h] (common-generated): Likewise.
5636 * sysdeps/unix/errnos-tmpl.c: Remove file.
5637 * sysdeps/unix/errnos.awk: Likewise.
5638 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5639 * sysdeps/unix/ioctls.awk: Likewise.
5640 * sysdeps/unix/mk-local_lim.c: Likewise.
5641 * sysdeps/unix/snarf-ioctls: Likewise.
5642
4851a949
RH
56432012-03-19 Richard Henderson <rth@twiddle.net>
5644
bd37f2ee
RH
5645 * sysdeps/i386/fpu/fenv_private.h: New file.
5646 * sysdeps/i386/fpu/math_private.h: Use it.
5647 (math_opt_barrier, math_force_eval): Remove.
5648 (libc_feholdexcept_setround_53bit): Remove.
5649 (libc_feupdateenv_53bit): Remove.
5650 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5651 (math_opt_barrier, math_force_eval): Remove.
5652 (libc_feholdexcept): Remove.
5653 (libc_feholdexcept_setround): Remove.
5654 (libc_fetestexcept, libc_fesetenv): Remove.
5655 (libc_feupdateenv_test): Remove.
5656 (libc_feupdateenv, libc_feholdsetround): Remove.
5657 (libc_feresetround): Remove.
5658
d0adc922
RH
5659 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5660 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5661
0fe0f1f8
RH
5662 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5663 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5664 (libc_feupdateenv_testl): New.
5665 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5666 (libc_feupdateenv_testf): New.
5667 (libc_feupdateenv): Use libc_feupdateenv_test.
5668 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5669 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5670
eb92c487
RH
5671 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5672 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5673 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5674 (libc_feresetround_noex): New.
5675 (libc_feresetround_noexf): New.
5676 (libc_feresetround_noexl): New.
5677 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5678 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5679 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5680 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5681 SET_RESTORE_ROUND.
5682 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5683 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5684 (__cos): Likewise.
5685 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5686 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5687 SET_RESTORE_ROUND_NOEX.
5688 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5689 SET_RESTORE_ROUND_NOEXF.
5690 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5691 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5692 (libc_feholdsetroundf): New.
5693 (libc_feresetround, libc_feresetroundf): New.
5694
7d2e8012
RH
5695 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5696 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5697 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5698
b4dabbb4
RH
5699 * sysdeps/generic/math_private.h: Include <fenv.h>.
5700 (default_libc_feholdexcept): New.
5701 (default_libc_feholdexcept_setround): New.
5702 (default_libc_fesetenv, default_libc_feupdateenv): New.
5703 (libc_feholdexcept): Only define if undefined.
5704 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5705 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5706 (libc_feholdexcept_setroundl): Likewise.
5707 (libc_feholdexcept_setround_53bit): Likewise.
5708 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5709 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5710 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5711 (libc_feupdateenv_53bit): Likewise.
5712 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5713 (libc_feholdexcept): Convert from macro to inline function.
5714 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5715 (libc_fesetenv, libc_feupdateenv): Likewise.
5716
4851a949
RH
5717 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5718 not previously defined.
5719 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5720 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5721 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5722 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5723 * sysdeps/ieee754/flt-32/math_private.h: New file.
5724 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5725 math_private.h below SET_FLOAT_WORD.
5726 (__isnan, __isinf_ns, __finite): Remove.
5727 (__isnanf, __isinf_nsf, __finitef): Remove.
5728
e79d442e
AS
57292012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5730
5731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5732
90b80344
DM
57332012-03-17 David S. Miller <davem@davemloft.net>
5734
5735 [BZ #6471]
5736 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5737 for 2.16.
5738
edc21804
DM
57392012-03-16 David S. Miller <davem@davemloft.net>
5740
77e927af
DM
5741 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5742 warnings.
5743
374976dd
DM
5744 [BZ #6471]
5745 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5746 properly.
5747 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5748 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5749 sysdep_routines when subdir is sysvipc.
5750 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5751 __getshmlba helper.
5752
edc21804
DM
5753 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5754
473c3ef3
L
57552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5756
5757 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5758 [__LP64__].
5759
eb0f39b6
L
57602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5761
5762 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5763 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5764 (__lround): Renamed to ...
5765 (__llround): This. Replace long int with long long int.
5766 Define lround functions as aliases of llround functions.
5767 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5768
6b6cd74b
L
57692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5770
5771 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5772 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5773 adresses to uintptr_t. Replace "long int" and "unsigned long
5774 int" with "greg_t" on va_arg.
5775
f1a77b01
L
57762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5777
5778 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5779 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5780
5781 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5782 Move e_machine check before EI_CLASS check. Handle x32
5783 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5784 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5785 SKIP_EM_IA_64 and include
5786 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5787
5788 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5789 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5790 (add_system_dir): New macro.
5791
5792 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5793 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5794
11b90b9f
JM
57952012-03-16 Joseph Myers <joseph@codesourcery.com>
5796
c36e1d23
JM
5797 [BZ #2551]
5798 [BZ #2552]
5799 [BZ #2553]
5800 [BZ #2554]
5801 [BZ #2562]
5802 [BZ #2563]
5803 [BZ #2565]
5804 [BZ #2566]
5805 [BZ #2576]
5806 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5807 (y0): Likewise.
5808 * math/w_j0f.c (j0f): Likewise.
5809 (y0f): Likewise.
5810 * math/w_j0l.c (__j0l): Likewise.
5811 (__y0l): Likewise.
5812 * math/w_j1.c (j1): Likewise.
5813 (y1): Likewise.
5814 * math/w_j1f.c (j1f): Likewise.
5815 (y1f): Likewise.
5816 * math/w_j1l.c (__j1l): Likewise.
5817 (__y1l): Likewise.
5818 * math/w_jn.c (jn): Likewise.
5819 (yn): Likewise.
5820 * math/w_jnf.c (jnf): Likewise.
5821 (ynf): Likewise.
5822 * math/w_jnl.c (__jnl): Likewise.
5823 (__ynl): Likewise.
5824 * math/libm-test.inc (j0_test): Add more tests.
5825 (j1_test): Likewise.
5826 (jn_test): Likewise. Add trailing semicolon to existing test.
5827 (y0_test): Likewise.
5828 (y1_test): Likewise.
5829 * sysdeps/i386/fpu/libm-test-ulps: Update.
5830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5831
11b90b9f
JM
5832 [BZ #13851]
5833 [BZ #13854]
5834 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5835 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5836 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5837 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
5838 (__tanl): Set errno for infinite argument.
5839 * sysdeps/i386/fpu/mptan.c: Remove.
5840 * sysdeps/i386/fpu/s_tan.S: Likewise.
5841 * sysdeps/i386/fpu/s_tanl.S: Likewise.
5842 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
5843 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5844 * math/libm-test.inc (tan_test): Add more tests and enable more
5845 tests for double and long double.
5846 * sysdeps/i386/fpu/libm-test-ulps: Update.
5847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5848
6a1bd2a1
JK
58492012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5850
5851 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5852 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5853
10a803e0
RM
58542012-03-16 Roland McGrath <roland@hack.frob.com>
5855
5856 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5857 * configure.in: Use it for both main tree and add-ons.
5858 * configure: Regenerated.
5859
f196c7f7
L
58602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5861
5862 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5863
8848d99d
JM
58642012-03-16 Joseph Myers <joseph@codesourcery.com>
5865
96cbe7f4
JM
5866 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5867 in comment.
5868
8848d99d
JM
5869 [BZ #13851]
5870 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5871 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5872 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5873 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5874 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5875 infinite argument.
5876 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5877 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5878 != 0 for prec == 2.
5879 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5880 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5881 * sysdeps/i386/fpu/s_cosl.S: Likewise.
5882 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5883 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5884 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5885 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5886 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5887 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5888 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5889 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5890 * math/libm-test.inc (cos_test): Add more tests and enable more
5891 tests for long double.
5892 (sin_test): Likewise.
5893 (sincos_test): Likewise.
5894 * sysdeps/i386/fpu/libm-test-ulps: Update.
5895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5896
dd7f4703
DM
58972012-03-16 David S. Miller <davem@davemloft.net>
5898
5899 * sysdeps/sparc/fpu/math_private.h: New file.
5900
006f1daa
DM
59012012-03-15 David S. Miller <davem@davemloft.net>
5902
c0c83bc8
DM
5903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
5904 file.
e6a62e18 5905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
5906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
5907 file.
e6a62e18
DM
5908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
5909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
5910 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
5911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
5912 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
5913 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
5914 sysdep routines.
5915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5916
88cb87d9
DM
5917 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
5918 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
5919
006f1daa 5920 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
5921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
5922 sparc-ifunc.h
006f1daa 5923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
5924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
5925 Likewise.
5926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
5927 Likewise.
006f1daa
DM
5928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
5929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
5930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
5931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5932 Likewise.
006f1daa
DM
5933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
5937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
5938 Likewise.
5939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
5940 Likewise.
006f1daa
DM
5941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
5943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5945 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5946 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5947 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
5948 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
5949 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5950 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5951 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5952 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5953 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5954 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5955 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
5956 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
5957 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
5958 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
5959 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
5960 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
5961 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
5962 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
5963 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
5964 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
5965
11e0098e
AS
59662012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5967
5968 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
5969 scaling.
5970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5971
e85b09d0
AJ
59722012-03-15 Andreas Jaeger <aj@suse.de>
5973
5974 [BZ #13852]
5975 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
5976 ieee754/flt-32 implementation for sin, cos and sincos.
5977 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
5978 * sysdeps/i386/fpu/s_cosf.S: Likewise.
5979 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
5980 * sysdeps/i386/fpu/s_sinf.S: Likewise.
5981 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
5982 ieee754/flt-32 implementation for tan.
5983
5984 * math/libm-test.inc (cos_test): Enable some large input tests for
5985 float as well
5986 (sin_test): Likewise.
5987 (sincos_test): Likewise.
5988 (tan_test): Add tests for large input.
5989
5990 * sysdeps/i386/fpu/libm-test-ulps: Update.
5991
81c64153
AJ
59922012-03-15 Andreas Jaeger <aj@suse.de>
5993
5994 [BZ #13658]
5995 * math/libm-test.inc (cos_test): Add more test cases.
5996 (sin_test): Likewise.
5997 (sincos_test): Likewise.
5998
7bbfa5c6
AJ
59992012-03-15 Andreas Jaeger <aj@suse.de>
6000
6001 [BZ #13837]
6002 * math/libm-test.inc (cos_test): Add a test case for large input
6003 value.
6004 (sin_test): Likewise.
6005 (sincos_test): Likewise.
6006
60072012-03-15 Andreas Jaeger <aj@suse.de>,
6008 Joseph Myers <joseph@codesourcery.com>
6009
6010 [BZ #13658]
0671f479 6011 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6012 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6013 * sysdeps/i386/fpu/branred.c: Likewise.
6014 * sysdeps/i386/fpu/dosincos.c: Likewise.
6015 * sysdeps/i386/fpu/mpa.c: Likewise.
6016 * sysdeps/i386/fpu/s_cos.S: Likewise.
6017 * sysdeps/i386/fpu/s_sin.S: Likewise.
6018 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6019 * sysdeps/i386/fpu/sincos32.c: Likewise.
6020
6021 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6022 Define.
6023 (libc_feupdateenv_53bit): Define.
6024 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6025 Define.
6026 (libc_feupdateenv_53bit): Define.
6027
6028 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6029 53 bit (without extend i386 double precision).
6030
6031 * math/libm-test.inc (sincos_test): Add tests for large input.
6032 (sin): Likewise.
6033 (cos): Likewise.
6034
6035 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6036
9cad04ea
AS
60372012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6038
6039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6040
f7062b9a
DM
60412012-03-15 David S. Miller <davem@davemloft.net>
6042
6043 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6044 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6045 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6046 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6053 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6054 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6055 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6056 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6057 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6059 file.
f7062b9a 6060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6062 file.
f7062b9a 6063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6065 file.
f7062b9a 6066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6068 file.
f7062b9a
DM
6069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6070 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6071 fmin/fmax sysdep routines.
6072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6073
7bd951ff
DM
60742012-03-14 David S. Miller <davem@davemloft.net>
6075
559398ab
DM
6076 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6077 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6078 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6079 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6080 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6081 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6082 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6083 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6084 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6085 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6086 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6087 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6088 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6089 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6090 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6091 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6092 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6093 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6094 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6095 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6096 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6097 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6098 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6099 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6100 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6101 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6102 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6103 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6104 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6105 routines.
6106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6107 file.
559398ab 6108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6110 file.
559398ab 6111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6113 file.
559398ab 6114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6116 file.
559398ab 6117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6119 file.
559398ab 6120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6122 file.
6123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6124 file.
6125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6126 file.
6127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6128 file.
6129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6130 New file.
6131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6132 file.
6133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6134 file.
559398ab 6135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6137 file.
559398ab 6138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6140 file.
559398ab 6141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6143 file.
559398ab 6144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6146 VIS3 routines.
559398ab
DM
6147
6148 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6149 New file.
6150
5a1c1e32
DM
6151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6152
eae47a36
DM
6153 * sysdeps/sparc/configure.in: New file.
6154 * sysdeps/sparc/configure: Generate.
6155 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6156 * configure: Regenerate.
6157 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6158 * config.make.in (have-as-vis3): New.
6159 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6160 available use -Av9d instead of -Av9a.
6161 * sysdeps/sparc/sparc64/Makefile: Likewise.
6162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6164 New file.
6165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6166 file.
6167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6168 New file.
6169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6170 file.
eae47a36
DM
6171 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6172 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6173 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6174 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6175 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6176
c0c83bc8
DM
6177 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6178 fzeros/fnegs to load 0x80000000 into a float register instead of
6179 using the stack.
7bd951ff
DM
6180 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6181
bd951ccb
JM
61822012-03-14 Joseph Myers <joseph@codesourcery.com>
6183
6184 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6185 bits/syscall.h.
6186 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6187 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6188 ($(inst_includedir)/bits/syscall.h): Remove rule.
6189 ($(objpfx)bits/syscall.d): Include instead of
6190 $(objpfx)syscall-list.d.
6191 (generated): Change syscall-list.h and syscall-list.d to
6192 bits/syscall.h and bits/syscall.d.
6193
bb4e6db2
RM
61942012-03-14 Roland McGrath <roland@hack.frob.com>
6195
6196 [BZ #13846]
6197 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6198
aa4a2ae1
JM
61992012-03-14 Joseph Myers <joseph@codesourcery.com>
6200
e456826d
JM
6201 [BZ #13841]
6202 * math/s_csqrt.c: Include <float.h>.
6203 (__csqrt): Scale large or subnormal inputs.
6204 * math/s_csqrtf.c: Likewise.
6205 * math/s_csqrtl.c: Likewise.
6206 * math/libm-test.inc (csqrt_test): Add more tests.
6207 * sysdeps/i386/fpu/libm-test-ulps: Update.
6208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6209
aa4a2ae1
JM
6210 [BZ #13840]
6211 * math/libm-test.inc (hypot_test): Add more tests.
6212
7c10fd35
DM
62132012-03-13 David S. Miller <davem@davemloft.net>
6214
6215 [BZ #13840]
6216 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6217 double-precision for the calculation instead of scaling.
6218
f453b98b
JM
62192012-03-13 Joseph Myers <joseph@codesourcery.com>
6220
6221 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6222 manipulate bits before adding and subtracting TWO52[sx].
6223 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6224 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6225 Likewise.
6226 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6227
09a3453f
DM
62282012-03-13 David S. Miller <davem@davemloft.net>
6229
8e59da90
DM
6230 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6231 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6232 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6233 rtld-global-offsets.h
6234 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6235
2a8ab7f2
DM
6236 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6237 large parameters.
6238
10f62770
DM
6239 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6240
5f0bdb18
DM
6241 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6242 'err' in the ifdef scope in which it is actually used.
6243
09a3453f
DM
6244 * nss/nss_db/db-init.c: Include string.h
6245
b4b2eb5e
DM
62462012-03-12 David S. Miller <davem@davemloft.net>
6247
98bb2f1c
DM
6248 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6249 masking out of the most significant byte of random value used.
6250 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6251 Fix coding style in previous change.
6252
b4b2eb5e
DM
6253 * sysdeps/unix/sysv/linux/kernel-features.h
6254 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6255 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6256 expression.
6257 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6258 later.
6259
6e226b09
DM
62602012-03-11 David S. Miller <davem@davemloft.net>
6261
a1bcbd40
DM
6262 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6263 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6264 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6265 for 'resultvar' otherwise things get truncated on 64-bit.
6266
cb9d6174
DM
6267 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6268 Fix masking out of the most significant byte of random value used.
6269
6e226b09
DM
6270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6271
058c132d
AS
62722012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6273
6274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6275
2d2cd515
DM
62762012-03-09 David S. Miller <davem@davemloft.net>
6277
6278 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6279 variables with appropriate CPP guards.
6280 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6281 frame pointer, not the stack pointer. Correct layout comments. Fix test
6282 on resulting framesize and the management of the outregs buffer for pltexit.
6283 Preserve floating point return values across _dl_call_pltexit call.
6284 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6285 framesize and the management of the outregs buffer for pltexit.
6286 Preserve floating point return values across _dl_call_pltexit
6287 call.
6288 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6289 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6290 (print_exit): Fix format string for return register value.
6291
9a07f9d0
JM
62922012-03-10 Joseph Myers <joseph@codesourcery.com>
6293
6294 * sunrpc/Makefile (others): Add rpcgen.
6295 ($(objpfx)rpcgen): Remove special build rule and dependency on
6296 libc.
6297 * sunrpc/rpcgen.c: New file.
6298
547b5e30
PE
62992012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6300
c524201a
PE
6301 [BZ #13673]
6302 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6303 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6304 * sysdeps/i386/crti.S: Likewise.
6305 * sysdeps/i386/crtn.S: Likewise.
6306 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6307 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6308 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6309 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6310 * sysdeps/sh/crti.S: Likewise.
6311 * sysdeps/sh/crtn.S: Likewise.
6312 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6313
7b6235f2
PE
6314 [BZ #13673]
6315 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6316 with URL.
6317 * locale/programs/locfile-kw.gperf: Likewise.
6318 * locale/programs/charmap-kw.h: Regenerated.
6319 * locale/programs/locfile-kw.h: Likewise.
6320
547b5e30
PE
6321 [BZ #13673]
6322 * intl/plural.y: Replace FSF snail mail address with URL.
6323 * intl/plural.c: Regenerated.
6324
5f0a5dae
RH
63252012-03-09 Richard Henderson <rth@twiddle.net>
6326
6327 * include/math_private.h: Remove file.
6328 * math/math_private.h: Move file ...
6329 * sysdeps/generic/math_private.h: ... here.
6330
b8c03620
RH
6331 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6332 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6333 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6334
4e234f5d 6335 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6336 and <math_private.h>.
6337 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6338 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6339 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6340 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6341 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6342 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6343 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6344 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6345 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6346 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6347 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6348 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6349 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6350 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6351 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6352 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6353 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6354 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6355 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6356 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6357 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6358 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6359 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6360 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6361 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6362 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6363 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6364 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6365 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6366 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6367 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6368 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6369 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6370 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6371 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6372 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6373 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6374 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6375 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6376 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6377 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6378 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6379 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6380 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6381 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6382 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6383 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6384 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6385 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6386 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6387 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6388 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6389 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6390 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6391 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6392 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6393 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6394 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6395 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6396 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6397 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6398 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6399 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6400 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6401 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6402 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6403 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6404 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6405 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6406 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6407 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6408 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6409 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6410 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6411 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6412 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6413 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6414 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6415 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6416 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6417 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6418 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6419 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6420 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6421 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6422 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6423 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6424 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6425 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6426 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6427 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6428 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6429 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6430 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6431 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6432 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6433 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6434 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6435 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6436 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6437 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6438 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6439 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6440 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6441 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6442 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6443 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6444 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6445 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6446 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6447 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6448 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6449 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6450 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6451 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6452 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6453 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6454 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6455 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6456 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6457 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6458 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6459 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6460 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6461 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6462 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6463 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6464 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6465 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6466 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6467 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6468 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6469 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6470 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6471 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6472 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6473 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6474 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6475 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6476 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6477 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6478 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6479 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6480 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6481 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6482 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6483 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6484 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6485 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6486 * sysdeps/ieee754/k_standard.c: Likewise.
6487 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6488 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6489 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6490 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6491 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6492 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6493 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6494 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6495 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6496 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6497 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6498 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6499 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6500 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6501 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6502 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6503 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6504 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6505 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6506 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6507 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6508 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6509 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6510 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6511 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6512 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6513 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6514 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6515 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6516 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6517 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6518 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6519 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6520 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6521 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6522 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6523 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6524 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6525 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6526 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6527 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6528 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6529 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6530 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6531 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6532 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6533 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6534 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6535 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6536 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6537 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6538 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6539 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6540 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6541 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6542 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6543 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6544 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6545 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6546 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6547 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6548 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6549 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6550 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6551 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6552 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6553 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6554 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6555 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6556 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6557 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6558 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6559 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6560 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6561 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6562 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6563 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6564 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6565 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6566 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6567 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6568 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6569 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6570 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6571 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6572 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6573 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6574 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6575 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6576 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6577 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6578 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6579 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6580 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6581 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6582 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6583 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6584 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6585 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6586 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6587 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6588 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6589 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6590 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6591 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6592 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6593 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6594 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6595 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6596 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6597 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6598 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6599 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6600 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6601 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6602 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6603 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6604 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6605 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6606 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6607 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6608 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6609 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6610 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6611 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6612 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6613 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6614 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6615 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6616 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6617 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6618 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6619 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6620 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6621 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6622 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6623 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6624 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6625 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6626 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6627 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6628 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6629 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6630 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6631 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6632 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6633 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6634 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6635 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6636 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6637 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6638 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6639 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6640 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6641 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6642 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6643 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6644 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6645 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6646 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6647 * sysdeps/ieee754/s_lib_version.c: Likewise.
6648 * sysdeps/ieee754/s_matherr.c: Likewise.
6649 * sysdeps/ieee754/s_signgam.c: Likewise.
6650 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6651 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6652 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6653 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6654 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6655 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6656 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6657 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6658 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6659 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6660 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6661 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6662 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6663 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6664 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6665 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6666 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6667 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6668 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6669 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6670 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 6671
1991fa03
JM
66722012-03-09 Joseph Myers <joseph@codesourcery.com>
6673
6674 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6675 * sunrpc/rpc_main.c: Likewise.
6676 * sunrpc/rpc_svcout.c: Likewise.
6677
60d6f5a6
DM
66782012-03-09 David S. Miller <davem@davemloft.net>
6679
6680 * include/math_private.h: New file.
6681
4962050e
JM
66822012-03-09 Joseph Myers <joseph@codesourcery.com>
6683
02a6f887
JM
6684 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6685 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6686 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6687 from <bits/socket_type.h>.
6688 (enum __socket_type): Don't define here.
6689 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6690 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6691 bits/socket_type.h.
6692
c6e013c1
JM
6693 [BZ #13566]
6694 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6695 checking __USE_GNU.
6696
4962050e
JM
6697 * Makerules ($(inst_includedir)/%.h): New rule.
6698 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6699 (install-others): Remove variable setting.
6700 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6701
38842f45
RH
67022012-03-08 Richard Henderson <rth@twiddle.net>
6703
67bb6da6
RH
6704 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6705 from macro to inline function; merge with the
6706 !__LIBC_INTERNAL_MATH_INLINES version.
6707 (__ieee754_sqrtf): Likewise.
6708
15194b4b
RH
6709 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6710 to inline function.
6711 (__rintf, __floor, __floorf): Likewise.
6712
64e21ede
RH
6713 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6714 macro to inline function.
6715 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6716
38842f45
RH
6717 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6718 not <math/math_private.h>.
6719
c64bf5fe
DM
67202012-03-08 David S. Miller <davem@davemloft.net>
6721
6722 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6723 copyright year.
6724 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6725
82d86f28
TS
67262012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6727
6728 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6729 normalization.
6730 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6731 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6732
aea5d727
UD
67332012-03-08 Ulrich Drepper <drepper@gmail.com>
6734
6735 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6736 be defined individually, they must be defined as a block. Define
6737 S for printing a string instead of hidint the different by using a
6738 macro for adding the 'l'.
6739 * stdio-common/tst-fphex-wide.c: Adjust.
6740
70bca0a3
MP
67412012-03-07 Marek Polacek <polacek@redhat.com>
6742
6743 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6744
65b81130
MP
67452012-03-08 Marek Polacek <polacek@redhat.com>
6746
6747 [BZ #13806]
6748 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6749 * stdio-common/tst-fphex.c: Define a few macros to make the
6750 test reusable. Use them.
6751 * stdio-common/tst-fphex-wide.c: New file.
6752
07037eeb
JM
67532012-03-08 Joseph Myers <joseph@codesourcery.com>
6754
a7a93d50
JM
6755 [BZ #6911]
6756 * manual/macros.texi (gnusystems): New macro.
6757 (nongnusystems): Likewise.
6758 (gnulinuxhurdsystems): Likewise.
6759 (gnuhurdsystems): Likewise..
6760 (gnulinuxsystems): Likewise.
6761 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6762 variants of the GNU system, not "GNU system".
6763 * manual/conf.texi: Likewise.
6764 * manual/errno.texi: Likewise. Update example of errno macro
6765 expansion.
6766 * manual/filesys.texi: Likewise.
6767 (getumask): Document as specific to GNU/Hurd.
6768 * manual/install.texi: Likewise. Reword some references to
6769 GNU/Linux.
6770 * manual/intro.texi: Likewise.
6771 * manual/io.texi: Likewise.
6772 (File Name Portability): Detail which constraints are inapplicable
6773 to all GNU systems and which are only inapplicable to GNU/Hurd.
6774 * manual/job.texi: Likewise.
6775 * manual/llio.texi: Likewise.
6776 (O_NOCTTY): Document as present on GNU/Linux.
6777 * manual/maint.texi: Likewise.
6778 * manual/memory.texi: Likewise.
6779 * manual/pattern.texi: Likewise.
6780 * manual/pipe.texi: Likewise.
6781 * manual/process.texi: Likewise.
6782 * manual/resource.texi: Likewise.
6783 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6784 child on GNU/Hurd.
6785 * manual/setjmp.texi: Likewise.
6786 * manual/signal.texi: Likewise.
6787 * manual/startup.texi: Likewise.
6788 * manual/stdio.texi: Likewise.
6789 * manual/terminal.texi: Likewise.
6790 (ONLCR): Document as POSIX.
6791 (OXTABS): Document availability on GNU/Linux as XTABS.
6792 (ONOEOT): Document availability separately from other bits.
6793 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6794 * manual/time.texi: Likewise.
6795 * manual/users.texi: Likewise.
6796 * INSTALL: Regenerated.
6797 * sysdeps/gnu/errlist.c: Regenerated.
6798
07037eeb
JM
6799 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6800 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6801 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6802 puts.
6803 * configure: Regenerated.
6804
d1d3431a
JM
68052012-03-07 Joseph Myers <joseph@codesourcery.com>
6806
af6a1e37
JM
6807 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6808 default includes instead of AC_HEADER_CHECK.
6809 * sysdeps/i386/configure: Regenerated.
6810
d1d3431a
JM
6811 [BZ #10716]
6812 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6813 * math/s_cacoshf.c (__cacoshf): Likewise.
6814 * math/s_cacoshl.c (__cacoshl): Likewise.
6815 * math/s_casinh.c (__casinh): Set signs of result from argument.
6816 * math/s_casinhf.c (__casinhf): Likewise.
6817 * math/s_casinhl.c (__casinhl): Likewise.
6818 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6819 (casinh_test): Add more tests.
6820 * sysdeps/i386/fpu/libm-test-ulps: Update.
6821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6822
482ff4da
UD
68232012-03-07 Ulrich Drepper <drepper@gmail.com>
6824
872fda05
UD
6825 * po/zh_TW.po: Update from translation team.
6826
a4300c7a
UD
6827 * login/Makefile (distribute): Remove variable.
6828 * catgets/Makefile: Likewise.
6829 * mach/Makefile: Likewise.
6830 * malloc/Makefile: Likewise.
6831 * misc/Makefile: Likewise.
6832 * iconv/Makefile: Likewise.
6833 * nscd/Makefile: Likewise.
6834 * hurd/Makefile: Likewise.
6835 * manual/Makefile: Likewise.
6836 * locale/Makefile: Likewise.
6837 * intl/Makefile: Likewise.
6838 * conform/Makefile: Likewise.
6839 * nss/Makefile: Likewise.
6840 * time/Makefile: Likewise.
6841 * soft-fp/Makefile: Likewise.
6842 * dirent/Makefile: Likewise.
6843 * gmon/Makefile: Likewise.
6844 * po/Makefile: Likewise.
6845 * rt/Makefile: Likewise.
6846 * socket/Makefile: Likewise.
6847 * math/Makefile: Likewise.
6848 * signal/Makefile: Likewise.
6849 * debug/Makefile: Likewise.
6850 * elf/Makefile: Likewise.
6851 * timezone/Makefile: Likewise.
6852 * stdlib/Makefile: Likewise.
6853 * iconvdata/Makefile: Likewise.
6854 * sunrpc/Makefile: Likewise.
6855 * io/Makefile: Likewise.
6856 * argp/Makefile: Likewise.
6857 * inet/Makefile: Likewise.
6858 * hesiod/Makefile: Likewise.
6859 * grp/Makefile: Likewise.
6860 * csu/Makefile: Likewise.
6861 * wctype/Makefile: Likewise.
6862 * crypt/Makefile: Likewise.
6863 * libio/Makefile: Likewise.
6864 * string/Makefile: Likewise.
6865 * nis/Makefile: Likewise.
6866 * resolv/Makefile: Likewise.
6867 * stdio-common/Makefile: Likewise.
6868 * wcsmbs/Makefile: Likewise.
6869 * dlfcn/Makefile: Likewise.
6870 * posix/Makefile: Likewise.
6871
3b7c4e74 6872 [BZ #6959]
482ff4da
UD
6873 * timezone/Makefile: Don't install timezone files, just the programs
6874 and scripts.
6875
f72ed77d
UD
68762012-03-06 Ulrich Drepper <drepper@gmail.com>
6877
a000466f
UD
6878 * nss/databases.def: Add missing gshadow entry.
6879
f72ed77d
UD
6880 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6881
a53b7a4e
MP
68822012-03-06 Marek Polacek <polacek@redhat.com>
6883
6884 [BZ #13726]
6885 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6886 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6887 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6888 * stdio-common/tst-long-dbl-fphex.c: New file.
6889
e9258400
DM
68902012-03-06 David S. Miller <davem@davemloft.net>
6891
6892 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6893 (set_obp_int): New function.
6894 (get_obp_int): New function.
6895 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
6896 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
6897 Avoid unused variable warnings on 'val' and use builtin_expect.
6898 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
6899 __builtin_expect.
e9258400
DM
6900 (INLINE_CLONE_SYSCALL): Likewise.
6901
3bd2c723
DM
69022012-03-05 David S. Miller <davem@davemloft.net>
6903
6904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6905
bbb78d03
AS
69062012-03-05 Andreas Schwab <schwab@linux-m68k.org>
6907
884c5db4
AS
6908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6909
bbb78d03
AS
6910 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
6911 only for |x| >= 40.
6912 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6913
1c9f702a 69142012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
6915
6916 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
6917 Replace gettimeofday with __vdso_gettimeofday.
6918
7be16f82
RM
6919 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6920 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
6921 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
6922
6923 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
6924 time with __vdso_time.
6925
ed58a00f
JM
69262012-03-05 Joseph Myers <joseph@codesourcery.com>
6927
6928 * manual/lang.texi (size_t): Note types to which size_t may be
6929 equivalent with the GNU C Library, but do not describe when
6930 differences between them are significant.
6931
30ee4ced
AJ
69322012-03-05 Andreas Jaeger <aj@suse.de>
6933
6934 * sysdeps/i386/fpu/libm-test-ulps: Update.
6935
b7cd39e8
JM
69362012-03-05 Joseph Myers <joseph@codesourcery.com>
6937
6938 [BZ #3976]
6939 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
6940 (__ieee754_pow): Save and restore rounding mode and use
6941 round-to-nearest for main computations.
6942 * math/libm-test.inc (pow_test_tonearest): New function.
6943 (pow_test_towardzero): Likewise.
6944 (pow_test_downward): Likewise.
6945 (pow_test_upward): Likewise.
6946 (main): Call the new functions.
6947 * sysdeps/i386/fpu/libm-test-ulps: Update.
6948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
6949
6950 [BZ #3976]
6951 * math/libm-test.inc (cosh_test_tonearest): New function.
6952 (cosh_test_towardzero): Likewise.
6953 (cosh_test_downward): Likewise.
6954 (cosh_test_upward): Likewise.
6955 (sinh_test_tonearest): Likewise.
6956 (sinh_test_towardzero): Likewise.
6957 (sinh_test_downward): Likewise.
6958 (sinh_test_upward): Likewise.
6959 (main): Call the new functions.
6960 * sysdeps/i386/fpu/libm-test-ulps: Update.
6961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6962
6c6a98c9
TV
69632012-03-05 Tom de Vries <tom@codesourcery.com>
6964
6965 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
6966 default stack guard is set in last bytes.
6967 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
6968
21bb2d2e 69692012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 6970
21bb2d2e 6971 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 6972
21bb2d2e
AJ
6973 [BZ #13656]
6974 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
6975 possibly allocate from heap instead of stack.
6976 * stdio-common/bug-vfprintf-nargs.c: New file.
6977 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 6978
c6922934
AS
69792012-03-03 Andreas Schwab <schwab@linux-m68k.org>
6980
6981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6982
bc957d53
MP
69832012-03-03 Marek Polacek <polacek@redhat.com>
6984
6985 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
6986 * math/math_private.h: Likewise.
6987 * stdlib/tst-strtod.c: Likewise.
6988 * sysdeps/i386/i486/bits/atomic.h: Likewise.
6989 * sysdeps/x86_64/bits/atomic.h: Likewise.
6990
6358490d
DM
69912012-03-02 David S. Miller <davem@davemloft.net>
6992
6993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
6994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
6995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
6996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
6997 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
6998 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
6999 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7000 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7001
01ae168d
RM
70022012-03-02 Roland McGrath <roland@hack.frob.com>
7003
d9a17c07
RM
7004 [BZ #13792]
7005 * manual/examples/README: New file, says the example source files
7006 can be used under GPL>=2.
7007 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7008 line containing just "*/".
7009 * manual/examples/add.c: Add copyright header (GPL>=2).
7010 * manual/examples/argp-ex1.c: Likewise.
7011 * manual/examples/argp-ex2.c: Likewise.
7012 * manual/examples/argp-ex3.c: Likewise.
7013 * manual/examples/argp-ex4.c: Likewise.
7014 * manual/examples/atexit.c: Likewise.
7015 * manual/examples/db.c: Likewise.
7016 * manual/examples/dir.c: Likewise.
7017 * manual/examples/dir2.c: Likewise.
7018 * manual/examples/execinfo.c: Likewise.
7019 * manual/examples/filecli.c: Likewise.
7020 * manual/examples/filesrv.c: Likewise.
7021 * manual/examples/fmtmsgexpl.c: Likewise.
7022 * manual/examples/genpass.c: Likewise.
7023 * manual/examples/inetcli.c: Likewise.
7024 * manual/examples/inetsrv.c: Likewise.
7025 * manual/examples/isockad.c: Likewise.
7026 * manual/examples/longopt.c: Likewise.
7027 * manual/examples/memopen.c: Likewise.
7028 * manual/examples/memstrm.c: Likewise.
7029 * manual/examples/mkfsock.c: Likewise.
7030 * manual/examples/mkisock.c: Likewise.
7031 * manual/examples/mygetpass.c: Likewise.
7032 * manual/examples/pipe.c: Likewise.
7033 * manual/examples/popen.c: Likewise.
7034 * manual/examples/rprintf.c: Likewise.
7035 * manual/examples/search.c: Likewise.
7036 * manual/examples/select.c: Likewise.
7037 * manual/examples/setjmp.c: Likewise.
7038 * manual/examples/sigh1.c: Likewise.
7039 * manual/examples/sigusr.c: Likewise.
7040 * manual/examples/stpcpy.c: Likewise.
7041 * manual/examples/strdupa.c: Likewise.
7042 * manual/examples/strftim.c: Likewise.
7043 * manual/examples/strncat.c: Likewise.
7044 * manual/examples/subopt.c: Likewise.
7045 * manual/examples/swapcontext.c: Likewise.
7046 * manual/examples/termios.c: Likewise.
7047 * manual/examples/testopt.c: Likewise.
7048 * manual/examples/testpass.c: Likewise.
7049 * manual/examples/timeval_subtract.c: Likewise.
7050
01ae168d
RM
7051 [BZ #13792]
7052 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7053 function to ...
7054 * manual/timeval_subtract.c.texi: ... here, new file.
7055
49efa33d
DM
70562012-03-02 David S. Miller <davem@davemloft.net>
7057
7058 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7059
28afd92d
JM
70602012-03-02 Joseph Myers <joseph@codesourcery.com>
7061
804360ed
JM
7062 [BZ #3976]
7063 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7064 (__sin): Save and restore rounding mode and use round-to-nearest
7065 for all computations.
7066 (__cos): Save and restore rounding mode and use round-to-nearest
7067 for all computations.
7068 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7069 <fenv.h>.
7070 (tan): Save and restore rounding mode and use round-to-nearest for
7071 all computations.
7072 * math/libm-test.inc (cos_test_tonearest): New function.
7073 (cos_test_towardzero): Likewise.
7074 (cos_test_downward): Likewise.
7075 (cos_test_upward): Likewise.
7076 (sin_test_tonearest): Likewise.
7077 (sin_test_towardzero): Likewise.
7078 (sin_test_downward): Likewise.
7079 (sin_test_upward): Likewise.
7080 (tan_test_tonearest): Likewise.
7081 (tan_test_towardzero): Likewise.
7082 (tan_test_downward): Likewise.
7083 (tan_test_upward): Likewise.
7084 (main): Call the new functions.
7085 * sysdeps/i386/fpu/libm-test-ulps: Update.
7086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7087
a6d06d7b
JM
7088 [BZ #10135]
7089 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7090 small n, then large n, before computing and testing k+n.
7091 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7092 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7093 Likewise.
7094 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7095 Likewise.
7096 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7097 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7098 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7099 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7100 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7101 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7102 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7103 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7104 * math/libm-test.inc (scalbn_test): Add more tests.
7105 (scalbln_test): Likewise.
7106
07e12bb3
JM
7107 * manual/filesys.texi (mode_t): Describe constraints on size and
7108 signedness, not exact equivalence to a particular type.
7109 (ino_t): Likewise.
7110 (ino64_t): Likewise.
7111 (dev_t): Likewise.
7112 (nlink_t): Likewise.
7113 (blkcnt_t): Likewise.
7114 (blkcnt64_t): Likewise.
7115 * manual/llio.texi (off_t): Likewise.
7116
28afd92d
JM
7117 [BZ #3976]
7118 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7119 (__ieee754_exp): Save and restore rounding mode and use
7120 round-to-nearest for all computations.
7121 * math/libm-test.inc (exp_test_tonearest): New function.
7122 (exp_test_towardzero): Likewise.
7123 (exp_test_downward): Likewise.
7124 (exp_test_upward): Likewise.
7125 (main): Call the new functions.
7126 * sysdeps/i386/fpu/libm-test-ulps: Update.
7127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7128
b1eeb65d
CD
71292012-03-01 Chris Demetriou <cgd@google.com>
7130
7131 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7132 have predictable order.
7133
53362a4b
DM
71342012-03-01 David S. Miller <davem@davemloft.net>
7135
3c969083
DM
7136 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7137
759707de
DM
7138 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7139 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7140 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7141 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7142
dfdb8ff2
DM
7143 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7144 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7145 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7147 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7148 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7149 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7150 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7151 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7152
ead89f96
DM
7153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7154
7f66bd07
DM
7155 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7156 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7157 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7158
53362a4b
DM
7159 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7160 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7161 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7162 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7163 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7164 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7165 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7166 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7167 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7168 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7169 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7170 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7171 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7172 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7173 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7174 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7175 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7176 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7177 * sysdeps/sparc/elf/configure: Regenerated.
7178
7b1902cb
JM
71792012-03-01 Joseph Myers <joseph@codesourcery.com>
7180
bec039bc
JM
7181 * configure.in (AS, LD): Require binutils 2.20 or later.
7182 * configure: Regenerated.
7183 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7184 as required minimum version.
7185 * INSTALL: Regenerated.
7186
7b1902cb
JM
7187 [BZ #2541]
7188 [BZ #4108]
7189 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7190 before squaring exponent.
7191 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7192 bottom long double and 27 bits of top long double before squaring
7193 exponent.
7194 * math/libm-test.inc (erfc_test): Add more tests.
7195 * sysdeps/i386/fpu/libm-test-ulps: Update.
7196 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7198
f775c276
KT
71992012-03-01 Kai Tietz <ktietz@redhat.com>
7200
7201 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7202 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7203 containing bit-fields.
7204 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7205 * soft-fp/single.h (_FP_UNION_S): Likewise.
7206 * soft-fp/double.h (_FP_UNION_D): Likewise.
7207
5b8a4d4a
JM
72082012-02-29 Joseph Myers <joseph@codesourcery.com>
7209
0bab47b6
JM
7210 [BZ #13786]
7211 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7212 not include ../strcmp.S.
7213 [USE_AS_STRNCASECMP_L]: Likewise.
7214 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7215 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7216 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7217 (__strncasecmp_l_ia32): Define as alias to
7218 __strncasecmp_l_nonascii.
7219
0fcad3e2
JM
7220 [BZ #5794]
7221 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7222 * sysdeps/i386/fpu/libm-test-ulps: Update.
7223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7224
5b8a4d4a
JM
7225 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7227
8fdceb2e
JL
72282012-02-29 Jeff Law <law@redhat.com>
7229
7230 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7231 out of bounds read.
7232
1f393a11
MP
72332012-02-29 Marek Polacek <polacek@redhat.com>
7234
7235 [BZ #13706]
7236 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7237 * elf/Makefile: Add rules to run tst-unused-dep.out.
7238
8847f037
DM
72392012-02-28 David S. Miller <davem@davemloft.net>
7240
7241 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7242 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7243 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7244 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7245 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7246 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7247
169d7f11
JM
72482012-02-29 Joseph Myers <joseph@codesourcery.com>
7249
7250 * math/libm-test.inc (llround_test): Move one test from
7251 lround_test. Use TEST_f_L in moved test.
7252 (lround_test): Move misplaced test to llround_test. Add testcase
7253 from bug 2561.
7254
39adf059
UD
72552012-02-28 Ulrich Drepper <drepper@gmail.com>
7256
7257 * sysdeps/x86_64/fpu/e_expf.S: New file.
7258 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7259
71b5d1c5
SB
72602012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7261
7262 [BZ #13637]
7263 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7264 of remain_len that may cause incomplete multi-byte character and
7265 false match.
7266 * posix/bug-regex33.c: New file.
7267 * posix/Makefile (tests): Add bug-regex33.
7268
1f77f049
JM
72692012-02-28 Joseph Myers <joseph@codesourcery.com>
7270
7271 * manual/macros.texi: New file.
7272 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7273 * manual/libc.texinfo: Include macros.texi.
7274 * manual/creatute.texi: Likewise.
7275 * manual/install.texi: Likewise.
7276 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7277 @glibcadj{} in references to the GNU C Library.
7278 * manual/charset.texi: Likewise.
7279 * manual/conf.texi: Likewise.
7280 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7281 when not using those macros.
7282 * manual/creature.texi: Likewise.
7283 * manual/crypt.texi: Likewise.
7284 * manual/errno.texi: Likewise.
7285 * manual/filesys.texi: Likewise.
7286 * manual/header.texi: Likewise.
7287 * manual/install.texi: Likewise.
7288 * manual/intro.texi: Likewise.
7289 * manual/io.texi: Likewise.
7290 * manual/job.texi: Likewise.
7291 * manual/lang.texi: Likewise.
7292 * manual/libc.texiinfo: Likewise.
7293 * manual/llio.texi: Likewise.
7294 * manual/locale.texi: Likewise.
7295 * manual/maint.texi: Likewise.
7296 * manual/math.texi: Likewise.
7297 * manual/memory.texi: Likewise.
7298 * manual/message.texi: Likewise.
7299 * manual/nss.texi: Likewise.
7300 * manual/pattern.texi: Likewise.
7301 * manual/process.texi: Likewise.
7302 * manual/resource.texi: Likewise.
7303 * manual/search.texi: Likewise.
7304 * manual/setjmp.texi: Likewise.
7305 * manual/signal.texi: Likewise.
7306 * manual/socket.texi: Likewise.
7307 * manual/startup.texi: Likewise.
7308 * manual/stdio.texi: Likewise.
7309 * manual/string.texi: Likewise.
7310 * manual/sysinfo.texi: Likewise.
7311 * manual/syslog.texi: Likewise.
7312 * manual/terminal.texi: Likewise.
7313 * manual/time.texi: Likewise.
7314 * manual/users.texi: Likewise.
7315 * INSTALL: Regenerated.
7316 * NOTES: Regenerated.
d40c5d54 7317 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7318
450bf206
AS
73192012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7320
7321 * include/dirent.h: Include <dirstream.h> before
7322 <dirent/dirent.h>.
7323
741a235b
DM
73242012-02-28 David S. Miller <davem@davemloft.net>
7325
7326 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7327 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7328 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7329 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7330
d6b5aa58
DM
73312012-02-27 David S. Miller <davem@davemloft.net>
7332
1aff59a3
DM
7333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7335 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7336 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7337
d6b5aa58
DM
7338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7339 frame pointer instead of stack pointer relative arg slot.
7340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7341 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7342 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7343
433f48bf
CD
73442012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7345
7346 [BZ #3992]
7347 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7348
d674b76d
DM
73492012-02-27 David S. Miller <davem@davemloft.net>
7350
7351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7355 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7356 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7357 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7358 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7359
0e7727f7
JM
73602012-02-27 Joseph Myers <joseph@codesourcery.com>
7361
7362 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7363 later. Allow versions 5-9.
43be4ca2 7364 * configure: Regenerated.
0e7727f7
JM
7365 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7366 required minimum version and 4.6 as recommended version. Do not
7367 mention bugs in GCC 2.7 and 2.8.
43be4ca2 7368 * INSTALL: Regenerated.
0e7727f7 7369
a78bc654
DM
73702012-02-27 David S. Miller <davem@davemloft.net>
7371
428d5830
DM
7372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7376 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7377 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7378 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7379 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7380
a78bc654
DM
7381 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7382 manipulate bits before adding and subtracting TWO112[sx].
7383 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7384
4579f81c
RM
73852012-02-27 Roland McGrath <roland@hack.frob.com>
7386
36c8acb4
RM
7387 [BZ #13775]
7388 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7389 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7390 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7391 being in POSIX, because they are in 1003.1-2008.
7392
84ad622b
RM
7393 * rt/tst-aio.c: Include <fcntl.h>.
7394 * rt/tst-aio7.c: Likewise.
7395 * rt/tst-aio64.c: Likewise.
7396
4579f81c
RM
7397 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7398
abd923db
JM
73992012-02-27 Joseph Myers <joseph@codesourcery.com>
7400
7401 * manual/install.texi (--with-headers): Describe headers as
7402 interface headers, not private headers.
7403 (Specific advice for GNU/Linux systems): Describe use of headers
7404 from "make headers_install", not private headers from older
7405 kernels.
43be4ca2 7406 * INSTALL: Regenerated.
abd923db
JM
7407 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7408 Change to 2.6.19.
7409 * sysdeps/unix/sysv/linux/configure: Regenerated.
7410
6664049b
JM
7411 * manual/llio.texi (fclean): Remove documentation.
7412
bb8b6697
JM
7413 * manual/Makefile (libc-texi-generated): New variable. Include
7414 version.texi.
7415 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7416 $(libc-texi-generated), not duplicated list of files.
7417 (version.texi, stamp-version): New rules.
7418 (realclean): Remove $(libc-texi-generated), not individual files
7419 from that list. Do not remove dir-add.texinfo.
7420 * manual/libc.texinfo: Comment out uses of edition numbers and
7421 references to printed manual. Remove last-updated dates.
7422 (EDITION): Comment out.
7423 (ISBN): Likewise.
7424 (VERSION, UPDATED): Remove.
7425 (version.texi): Include.
7426
12e5c3b9
AS
74272012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7428
7429 * sysdeps/posix/spawni.c: Include <signal.h>.
7430 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7431 * sysdeps/pthread/aio_fsync.c: Likewise.
7432
4efeffc1 74332012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 7434
ba63ba08
UD
7435 * conform/Makefile (tests): Run only when not cross-compiling and
7436 when fast-check is not defined.
7437
d94a4670
UD
7438 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7439 * conform/data/limits.h-data: Fixes for POSIX2008.
7440 * conform/run-conformtest.sh: Run all tests.
7441 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7442 headers.
7443 * include/bits/dlfcn.h: Likewise.
7444 * include/langinfo.h: Likewise.
7445 * include/monetary.h: Likewise.
7446 * include/sys/poll.h: Likewise.
7447
7448 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7449 for __USE_GNU.
7450 * posix/spawn.h: Define __need_sigset_t.
7451 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7452 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7453 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7454 to get sigevent_t only.
7455 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7456 only for __USE_GNU.
7457 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7458 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7459 process_vm_writev only for __USE_GNU.
7460 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
7461
7462 * conform/Makefile: For now ignore errors from run-conformtest.
7463 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7464 POSIX to avoid namespace pollution. Don't prepend headers.
7465 * conform/data/aio.h-data: Fixes for POSIX testing.
7466 * conform/data/fcntl.h-data: Likewise.
7467 * conform/data/glob.h-data: Likewise.
7468 * conform/data/grp.h-data: Likewise.
7469 * conform/data/pthread.h-data: Likewise.
7470 * conform/data/pwd.h-data: Likewise.
7471 * conform/data/signal.h-data: Likewise.
7472 * conform/data/spawn.h-data: Likewise.
7473 * conform/data/stdio.h-data: Likewise.
7474 * conform/data/stdlib.h-data: Likewise.
7475 * conform/data/stropts.h-data: Likewise.
7476 * conform/data/sys/mman.h-data: Likewise.
7477 * conform/data/sys/stat.h-data: Likewise.
7478 * conform/data/sys/types.h-data: Likewise.
7479 * conform/data/sys/wait.h-data: Likewise.
7480 * conform/data/time.h-data: Likewise.
7481 * conform/data/unistd.h-data: Likewise.
7482 * conform/data/utime.h-data: Likewise.
7483
7484 * io/sys/stat.h: fchmod was always in POSIX.
7485 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7486 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7487 * rt/aio.h: Define __need_timespec before including <time.h>.
7488 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7489 struct. Add forward declaration of pthread_attr_t and use it in
7490 sigevent.
7491 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7492 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7493 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7494 always remove CLK_TCK definition.
7495
c20105c3
AS
74962012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7497
7498 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7499
7a270350
UD
75002012-02-25 Ulrich Drepper <drepper@gmail.com>
7501
31341567
UD
7502 * conform/run-conformtest.sh: New file.
7503 * conform/Makefile: Run run-conformtest for tests.
7504 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7505 support.
7506
7507 * conform/data/uchar.h-data: New file.
7508 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7509 * conform/data/arpa/inet.h-data: Likewise.
7510 * conform/data/assert.h-data: Likewise.
7511 * conform/data/complex.h-data: Likewise.
7512 * conform/data/cpio.h-data: Likewise.
7513 * conform/data/ctype.h-data: Likewise.
7514 * conform/data/dirent.h-data: Likewise.
7515 * conform/data/dlfcn.h-data: Likewise.
7516 * conform/data/errno.h-data: Likewise.
7517 * conform/data/fcntl.h-data: Likewise.
7518 * conform/data/float.h-data: Likewise.
7519 * conform/data/fmtmsg.h-data: Likewise.
7520 * conform/data/fnmatch.h-data: Likewise.
7521 * conform/data/ftw.h-data: Likewise.
7522 * conform/data/glob.h-data: Likewise.
7523 * conform/data/grp.h-data: Likewise.
7524 * conform/data/iconv.h-data: Likewise.
7525 * conform/data/inttypes.h-data: Likewise.
7526 * conform/data/langinfo.h-data: Likewise.
7527 * conform/data/libgen.h-data: Likewise.
7528 * conform/data/limits.h-data: Likewise.
7529 * conform/data/locale.h-data: Likewise.
7530 * conform/data/math.h-data: Likewise.
7531 * conform/data/monetary.h-data: Likewise.
7532 * conform/data/mqueue.h-data: Likewise.
7533 * conform/data/ndbm.h-data: Likewise.
7534 * conform/data/net/if.h-data: Likewise.
7535 * conform/data/netdb.h-data: Likewise.
7536 * conform/data/netinet/in.h-data: Likewise.
7537 * conform/data/nl_types.h-data: Likewise.
7538 * conform/data/poll.h-data: Likewise.
7539 * conform/data/pthread.h-data: Likewise.
7540 * conform/data/pwd.h-data: Likewise.
7541 * conform/data/regex.h-data: Likewise.
7542 * conform/data/sched.h-data: Likewise.
7543 * conform/data/search.h-data: Likewise.
7544 * conform/data/semaphore.h-data: Likewise.
7545 * conform/data/setjmp.h-data: Likewise.
7546 * conform/data/signal.h-data: Likewise.
7547 * conform/data/spawn.h-data: Likewise.
7548 * conform/data/stdarg.h-data: Likewise.
7549 * conform/data/stdio.h-data: Likewise.
7550 * conform/data/stdlib.h-data: Likewise.
7551 * conform/data/string.h-data: Likewise.
7552 * conform/data/strings.h-data: Likewise.
7553 * conform/data/stropts.h-data: Likewise.
7554 * conform/data/sys/ipc.h-data: Likewise.
7555 * conform/data/sys/mman.h-data: Likewise.
7556 * conform/data/sys/msg.h-data: Likewise.
7557 * conform/data/sys/resource.h-data: Likewise.
7558 * conform/data/sys/select.h-data: Likewise.
7559 * conform/data/sys/sem.h-data: Likewise.
7560 * conform/data/sys/shm.h-data: Likewise.
7561 * conform/data/sys/socket.h-data: Likewise.
7562 * conform/data/sys/stat.h-data: Likewise.
7563 * conform/data/sys/statvfs.h-data: Likewise.
7564 * conform/data/sys/time.h-data: Likewise.
7565 * conform/data/sys/timeb.h-data: Likewise.
7566 * conform/data/sys/times.h-data: Likewise.
7567 * conform/data/sys/types.h-data: Likewise.
7568 * conform/data/sys/uio.h-data: Likewise.
7569 * conform/data/sys/un.h-data: Likewise.
7570 * conform/data/sys/utsname.h-data: Likewise.
7571 * conform/data/sys/wait.h-data: Likewise.
7572 * conform/data/syslog.h-data: Likewise.
7573 * conform/data/tar.h-data: Likewise.
7574 * conform/data/termios.h-data: Likewise.
7575 * conform/data/utime.h-data: Likewise.
7576 * conform/data/utmpx.h-data: Likewise.
7577 * conform/data/varargs.h-data: Likewise.
7578 * conform/data/wchar.h-data: Likewise.
7579 * conform/data/wctype.h-data: Likewise.
7580 * conform/data/wordexp.h-data: Likewise.
7581
7582 * include/stropts.h: New file.
7583 * include/uchar.h: New file.
7584 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7585 * include/assert.h: Likewise.
7586 * include/ctype.h: Likewise.
7587 * include/dirent.h: Likewise.
7588 * include/dlfcn.h: Likewise.
7589 * include/fcntl.h: Likewise.
7590 * include/fnmatch.h: Likewise.
7591 * include/glob.h: Likewise.
7592 * include/grp.h: Likewise.
7593 * include/libio.h: Likewise.
7594 * include/locale.h: Likewise.
7595 * include/math.h: Likewise.
7596 * include/net/if.h: Likewise.
7597 * include/netdb.h: Likewise.
7598 * include/netinet/in.h: Likewise.
7599 * include/pthread.h: Likewise.
7600 * include/pwd.h: Likewise.
7601 * include/regex.h: Likewise.
7602 * include/sched.h: Likewise.
7603 * include/search.h: Likewise.
7604 * include/setjmp.h: Likewise.
7605 * include/signal.h: Likewise.
7606 * include/stdio.h: Likewise.
7607 * include/stdlib.h: Likewise.
7608 * include/string.h: Likewise.
7609 * include/sys/cdefs.h: Likewise.
7610 * include/sys/mman.h: Likewise.
7611 * include/sys/msg.h: Likewise.
7612 * include/sys/resource.h: Likewise.
7613 * include/sys/select.h: Likewise.
7614 * include/sys/socket.h: Likewise.
7615 * include/sys/stat.h: Likewise.
7616 * include/sys/statvfs.h: Likewise.
7617 * include/sys/time.h: Likewise.
7618 * include/sys/times.h: Likewise.
7619 * include/sys/uio.h: Likewise.
7620 * include/sys/utsname.h: Likewise.
7621 * include/sys/wait.h: Likewise.
7622 * include/termios.h: Likewise.
7623 * include/time.h: Likewise.
7624 * include/ulimit.h: Likewise.
7625 * include/unistd.h: Likewise.
7626 * include/utime.h: Likewise.
7627 * include/wchar.h: Likewise.
7628 * include/wctype.h: Likewise.
7629 * include/wordexp.h: Likewise.
7630
7631 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7632
7a270350
UD
7633 * time/time.h: TIME_UTC must be a macro.
7634 Make timespec_get available for ISO C11 only as well.
7635
7724defc
UD
76362012-02-24 Ulrich Drepper <drepper@gmail.com>
7637
7638 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7639 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7640
6b1d1d46
JM
76412012-02-24 Joseph Myers <joseph@codesourcery.com>
7642
7643 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 7644
0f8bbd69
JM
76452012-02-24 Joseph Myers <joseph@codesourcery.com>
7646
7647 * manual/texinfo.tex: Update to version 2012-01-19.16.
7648
66ab80bc
JM
76492012-02-24 Joseph Myers <joseph@codesourcery.com>
7650
7651 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7652
74981cc5
RM
76532012-02-24 Roland McGrath <roland@hack.frob.com>
7654
ee968201
RM
7655 [BZ #13738]
7656 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7657 * manual/fdl-1.3.texi: New file.
7658 * manual/fdl-1.1.texi: File removed.
7659
74981cc5
RM
7660 [BZ #13738]
7661 * manual/libc.texinfo (FDL_VERSION): New @set.
7662 Use it for mention of FDL in cover text.
7663 (Documentation License): Use it in @include file name.
7664
7bb764bc
JM
76652012-02-22 Joseph Myers <joseph@codesourcery.com>
7666 Roland McGrath <roland@hack.frob.com>
7667
7668 [BZ #5461]
7669 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7670 not LONG_LONG_MAX and LONG_LONG_MIN.
7671 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7672 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7673 name.
7674 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7675
6cbeae47
JM
76762012-02-22 Joseph Myers <joseph@codesourcery.com>
7677
7678 [BZ #2547]
7679 [BZ #11365]
7680 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7681 manipulate bits before adding and subtracting TWO23[sx].
7682 * math/libm-test.inc (nearbyint_test): Add more tests.
7683
fe45ce09
JM
76842012-02-22 Joseph Myers <joseph@codesourcery.com>
7685
7686 [BZ #2548]
7687 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7688 bits before adding and subtracting TWO23[sx].
7689 * math/libm-test.inc (rint_test): Add more tests.
7690 (rint_test_tonearest): Likewise.
7691 (rint_test_towardzero): Likewise.
7692 (rint_test_downward): Likewise.
7693 (rint_test_upward: Likewise.
7694
ff3b3d82
JM
76952012-02-22 Joseph Myers <joseph@codesourcery.com>
7696
7697 [BZ #10110]
7698 * include/stdc-predef.h: New file. Extracted from features.h.
7699 * include/features.h: Include stdc-predef.h.
7700 * Makefile (headers): Add stdc-predef.h.
7701 * CONFORMANCE (Compiler limitations): Update.
7702
ef0aab35
JM
77032012-02-22 Joseph Myers <joseph@codesourcery.com>
7704
7705 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7706
58639409
DM
77072012-02-21 David S. Miller <davem@davemloft.net>
7708
7709 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7710 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7711
c0e70b25
DM
77122012-02-20 David S. Miller <davem@davemloft.net>
7713
7714 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7715 using a normal save/restore sequence, rather than allocating a
7716 dummy stack frame just to store a frame pointer and restore.
7717 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7718
fb06851d
JM
77192012-02-21 Joseph Myers <joseph@codesourcery.com>
7720
7721 * manual/install.texi: Fix stray word in line-wrapped comment.
7722
7a8b71c3
DM
77232012-02-20 David S. Miller <davem@davemloft.net>
7724
d510c123
DM
7725 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7726 both binutils and gcc support GOTDATA.
7727
0722d7c2
DM
7728 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7729 "rd %pc" in the PIC register setup sequences.
7730
3d2b3019
DM
7731 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7732 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7733 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7734 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7735 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7736 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7737 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7738 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7739 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7740 (SYSCALL_ERROR_HANDLER): Likewise.
7741 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7742 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7743 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7744 (SYSCALL_ERROR_HANDLER): Likewise.
7745
c80098a9
DM
7746 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7747 (HAVE_GCC_GOTDATA): New.
7748 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7749 relocation support in both binutils and gcc.
7750 * sysdeps/sparc/elf/configure: Regenerate.
7751
3a2545a0
DM
7752 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7753 * sysdeps/sparc/sparc32/elf/configure: Delete.
7754 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7755 * sysdeps/sparc/sparc64/elf/configure: Delete.
7756 * sysdeps/sparc/elf/configure.in: New file.
7757 * sysdeps/sparc/elf/configure: Generate.
7758
7a8b71c3
DM
7759 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7760 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7761 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7762 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7763 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7764
f1e86fca
JM
77652012-02-21 Joseph Myers <joseph@codesourcery.com>
7766
7767 * manual/install.texi: Do not mention specific glibc version
7768 numbers.
7769 * manual/libc.texinfo (VERSION, UPDATED): Update.
7770 (@copying): Use @copyright{} and range of years.
7771
0e7dfaef
JM
77722012-02-21 Joseph Myers <joseph@codesourcery.com>
7773
7774 [BZ #13695]
7775 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7776 [crti.S not in sysdirs] (generated): Do not append.
7777 [crti.S not in sysdirs] (omit-deps): Likewise.
7778 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7779 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7780 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7781 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7782 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7783 Likewise.
7784 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7785 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7786 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7787 * csu/defs.awk: Remove file.
7788 * sysdeps/generic/initfini.c: Likewise.
7789 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7790 variable.
7791 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7792 Likewise.
7793
599af3ca
JM
77942012-02-20 Joseph Myers <joseph@codesourcery.com>
7795
7796 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7797 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7798 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7799 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7800 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7801 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7802 <bits/epoll.h>.
7803 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7804 (__EPOLL_PACKED): Define to empty if not defined by
7805 <bits/epoll.h>.
7806 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7807 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7808 bits/epoll.h.
7809
0e499750
JM
78102012-02-20 Joseph Myers <joseph@codesourcery.com>
7811
7812 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7813 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7814 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7815 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7816 <bits/timerfd.h>.
7817 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7818 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7819 bits/timerfd.h.
7820
5ad91f6e
JM
78212012-02-20 Joseph Myers <joseph@codesourcery.com>
7822
7823 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7824 in C locale.
7825 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7826 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7827 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7829
06b99b02
AJ
78302012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7831
7832 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7833 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7834
7638c0fd
AS
78352012-02-19 Andreas Schwab <schwab@linux-m68k.org>
7836
7837 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
7838 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
7839 defined.
7840 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
7841 Likewise.
7842 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7843 entry for 2.16.
7844
92221550
AJ
78452012-02-19 Aurelien Jarno <aurelien@aurel32.net>
7846
7847 * math/w_acos.c: Use non-signaling floating-point comparisons.
7848 * math/w_acosf.c: Likewise.
7849 * math/w_acosh.c: Likewise.
7850 * math/w_acoshf.c: Likewise.
7851 * math/w_acoshl.c: Likewise.
7852 * math/w_acosl.c: Likewise.
7853 * math/w_asin.c: Likewise.
7854 * math/w_asinf.c: Likewise.
7855 * math/w_asinl.c: Likewise.
7856 * math/w_atanh.c: Likewise.
7857 * math/w_atanhf.c: Likewise.
7858 * math/w_atanhl.c: Likewise.
7859 * math/w_exp2.c: Likewise.
7860 * math/w_exp2f.c: Likewise.
7861 * math/w_exp2l.c: Likewise.
7862 * math/w_j0.c: Likewise.
7863 * math/w_j0f.c: Likewise.
7864 * math/w_j0l.c: Likewise.
7865 * math/w_j1.c: Likewise.
7866 * math/w_j1f.c: Likewise.
7867 * math/w_j1l.c: Likewise.
7868 * math/w_jn.c: Likewise.
7869 * math/w_jnf.c: Likewise.
7870 * math/w_log.c: Likewise.
7871 * math/w_log10.c: Likewise.
7872 * math/w_log10f.c: Likewise.
7873 * math/w_log10l.c: Likewise.
7874 * math/w_log2.c: Likewise.
7875 * math/w_log2f.c: Likewise.
7876 * math/w_log2l.c: Likewise.
7877 * math/w_logf.c: Likewise.
7878 * math/w_logl.c: Likewise.
7879 * math/w_sqrt.c: Likewise.
7880 * math/w_sqrtf.c: Likewise.
7881 * math/w_sqrtl.c: Likewise.
7882 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7883 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7884 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7885 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7886 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7887
ebaf36eb
JM
78882012-02-19 Joseph Myers <joseph@codesourcery.com>
7889
7890 [BZ #9739]
7891 * manual/string.texi (strnlen): Use correct parameter name in
7892 equivalent expression.
7893
71c254a6
JM
78942012-02-19 Joseph Myers <joseph@codesourcery.com>
7895
7896 [BZ #11174]
7897 * manual/users.texi (seteuid): Consistently use neweuid for
7898 argument name.
7899
16d2c631
JM
79002012-02-19 Joseph Myers <joseph@codesourcery.com>
7901
7902 [BZ #13704]
7903 * manual/nss.texi (Services in the NSS configuration): Correct
7904 list of services in example configuration file.
7905
cd837b09
NB
79062012-02-19 Nick Bowler <nbowler@draconx.ca>
7907
7908 [BZ #11322]
7909 * manual/arith.texi: Remove statements about negative zero
7910 behaving identically to zero.
7911
02c4bbad
JM
79122012-02-18 Joseph Myers <joseph@codesourcery.com>
7913
7914 [BZ #5993]
7915 * manual/install.texi: Do not document upgrading from libc5.
7916
366842e7
JM
79172012-02-18 Joseph Myers <joseph@codesourcery.com>
7918
7919 [BZ #4596]
7920 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
7921
dd54084d
DM
79222012-02-18 David S. Miller <davem@davemloft.net>
7923
7924 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
7925 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
7926 %o7 across the call.
7927 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
7928 instead.
7929 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
7930 SETUP_PIC_REG_LEAF.
7931 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7932 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
7933 * sysdeps/sparc/crtn.S: Likewise.
7934
2bcc53a3
UD
79352012-02-17 Ulrich Drepper <drepper@gmail.com>
7936
7937 * aout/Makefile: Remove.
7938
09c093b5
RK
79392012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
7940
7941 [BZ #13058]
7942 * manual/examples/argp-ex1.c (main): Format definition in GNU
7943 style.
7944 * manual/examples/argp-ex2.c (main): Likewise.
7945 * manual/examples/argp-ex3.c (main): Likewise.
7946 * manual/examples/argp-ex4.c (main): Likewise.
7947 * manual/examples/longopt.c (main): Use new-style prototype
7948 definition.
7949 * manual/examples/strncat.c (main): Specify return type and use
7950 (void) for arguments.
7951 * manual/examples/subopt.c (main): Use char **argv argument.
7952
2ee633a2
JM
79532012-02-17 Joseph Myers <joseph@codesourcery.com>
7954
7955 [BZ #5077]
7956 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
7957 rounding modes.
7958
0520adde
FB
79592012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
7960
7961 [BZ #6907]
7962 * manual/string.texi (strchr): Change when strchrnul is
7963 recommended.
7964
3f4081cd
DGM
79652012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
7966
7967 [BZ #174]
7968 * manual/locale.texi (setlocale): Document LOCPATH.
7969
d1b10e78
JM
79702012-02-17 Joseph Myers <joseph@codesourcery.com>
7971
7972 [BZ #10210]
7973 * manual/process.texi (execle): Move @dots{} before last argument.
7974
79c6869c
PB
79752012-02-17 Paul Bolle <pebolle@tiscali.nl>
7976
7977 [BZ #12047]
7978 * manual/charset.texi (Generic Charset Conversion): Fix typo
7979 (LC_TYPE -> LC_CTYPE).
7980
cc6e48bc
NB
79812012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
7982
7983 [BZ #5805]
7984 * manual/arith.texi (scalbn): Use @var{} on parameter names.
7985 (scalbnf): Likewise.
7986 (scalbnl): Likewise.
7987 (scalbln): Likewise.
7988 (scalblnf): Likewise.
7989 (scalblnl): Likewise.
7990 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
7991 (vwarnx): Likewise.
7992 (verr): Likewise.
7993 (verrx): Likewise.
7994 * manual/filesys.texi (telldir): Use braces around return type.
7995 * manual/llio.texi (mmap): Add space after comma.
7996 (mmap64): Likewise.
7997 * manual/math.texi (jn): Use @var{} on parameter names.
7998 (jnf): Likewise.
7999 (jnl): Likewise.
8000 (yn): Likewise.
8001 (ynf): Likewise.
8002 (ynl): Likewise.
8003 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8004 line.
8005 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8006 "...".
8007 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8008 (sched_get_priority_max): Likewise.
8009 * manual/signal.texi (sigvec): Add space after comma.
8010 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8011 names.
8012 (if_indextoname): Likewise.
8013 (if_freenameindex): Likewise.
8014 (sendto): Use ',' instead of '.' in prototype.
8015 * manual/startup.texi (syscall): Use @dots{} instead of literal
8016 "...".
8017 * manual/stdio.texi (__fpending): Separate initial words of
8018 paragraph from @deftypefun line.
8019 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8020 "...".
8021 (vsyslog): Use @var{} on parameter names.
8022 * manual/terminal.texi (stty): Use @var{} on parameter names.
8023 * manual/users.texi (getutmp): Use @var{} on parameter names.
8024 (getutmpx): Likewise.
8025
5b23062f
JM
80262012-02-17 Joseph Myers <joseph@codesourcery.com>
8027
8028 [BZ #6884]
8029 * manual/stdio.texi (fopen): Fix typos in description of
8030 ",ccs=STRING".
8031
8dee4833
AJ
80322012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8033
8034 [BZ #4026]
8035 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8036 get clock_id definition.
8037
9078ce93
TS
80382012-02-17 Thomas Schwinge <thomas@schwinge.name>
8039
8040 [BZ #4822]
8041 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8042 (madvise): Cast every argument to void on its own.
8043
3835c55f
JM
80442012-02-17 Joseph Myers <joseph@codesourcery.com>
8045
8046 [BZ #9902]
8047 * manual/startup.texi (Exit Status): Fix typo.
8048
35c47e37
JM
80492012-02-17 Joseph Myers <joseph@codesourcery.com>
8050
8051 [BZ #10140]
8052 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8053 * manual/examples/argp-ex2.c: Likewise.
8054 * manual/examples/argp-ex3.c: Likewise.
8055
e3b69ca7
RH
80562012-02-16 Richard Henderson <rth@redhat.com>
8057
8058 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8059 * sysdeps/s390/s390-32/initfini.c: Remove.
8060 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8061 * sysdeps/s390/s390-64/initfini.c: Remove.
8062
df83af67
KK
80632012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8064
8065 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8066 compiler output for sysdeps/generic/initfini.c.
8067 * sysdeps/sh/elf/initfini.c: Remove file.
8068
f63f3380
DM
80692012-02-16 David S. Miller <davem@davemloft.net>
8070
fb59b3a4
DM
8071 [BZ #11494]
8072 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8073
f63f3380
DM
8074 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8075 * sysdeps/sparc/crti.S: New file.
8076 * sysdeps/sparc/crtn.S: New file.
8077 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8078 * sysdeps/sparc/sparc64/Makefile: Likewise.
8079
df6a4a4a
MF
80802012-02-15 Mike Frysinger <vapier@gentoo.org>
8081
6dd8f3dc 8082 [BZ #3335]
df6a4a4a
MF
8083 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8084
1cac7236
RM
80852012-02-15 Roland McGrath <roland@hack.frob.com>
8086
d2c736f8
RM
8087 [BZ #4822]
8088 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8089
1cac7236
RM
8090 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8091 (write, read, close): Likewise.
8092 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8093
8e475601
JM
80942012-02-15 Joseph Myers <joseph@codesourcery.com>
8095
8096 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8097 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8098 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8099 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8100 <bits/signalfd.h>.
8101 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8102 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8103 bits/signalfd.h.
8104
ed656b40
MP
81052012-02-14 Marek Polacek <polacek@redhat.com>
8106
8107 * sysdeps/x86_64/crti.S: New file.
8108 * sysdeps/x86_64/crtn.S: New file.
8109 * sysdeps/x86_64/elf/initfini.c: Remove file.
8110
2a979d3a
JM
81112012-02-13 Joseph Myers <joseph@codesourcery.com>
8112
8113 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8114 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8115 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8116 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8117 <bits/inotify.h>.
8118 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8119 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8120 bits/inotify.h.
8121
2a418ac3
JM
81222012-02-13 Joseph Myers <joseph@codesourcery.com>
8123
8124 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8125 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8126 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8127 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8128 <bits/eventfd.h>.
8129 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8130 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8131 bits/eventfd.h.
8132
fb779be7
TS
81332012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8134
e19e83c5
RM
8135 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8136 __feraiseexcept instead of feraiseexcept.
7c35ffed 8137
fb779be7
TS
8138 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8139 nanosleep invocations.
8140 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8141 strings, and add error checking for a nanosleep invocations.
8142
59ba27a6
PE
81432012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8144
8145 Replace FSF snail mail address with URLs, as per GNU coding standards.
8146 Most of the snail mail addresses were wrong anyway, and omitting
8147 them makes the source code easier to maintain. Almost all of the
8148 changes are to license notices and to locale LC_IDENTIFICATION
8149 addresses, except for this one:
8150 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8151 not its snail mail address.
8152
57b957eb
RH
81532012-02-09 Richard Henderson <rth@twiddle.net>
8154
af850b1c
RH
8155 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8156 of kernel-features.h.
8157
57b957eb
RH
8158 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8159
6b73181a
MP
81602012-02-08 Marek Polacek <polacek@redhat.com>
8161
8162 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8163 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8164 * sysdeps/gnu/_G_config.h: Likewise.
8165 * sysdeps/generic/_G_config.h: Likewise.
8166
26ecc33a
AS
81672012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8168
6c6dbc63
AS
8169 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8170 tests.
8171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8172
e216c012
AS
8173 * sysdeps/powerpc/powerpc32/crti.S: New file.
8174 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8175 * sysdeps/powerpc/powerpc64/crti.S: New file.
8176 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8177
26ecc33a
AS
8178 * Makeconfig (have-initfini): Don't set.
8179 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8180 * configure.in (nopic_initfini): Don't substitute.
8181 * config.h.in (HAVE_INITFINI): Don't #undef.
8182 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8183 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8184
3add8e13
JM
81852012-02-08 Joseph Myers <joseph@codesourcery.com>
8186
8187 Support crti.S and crtn.S provided directly by architectures.
8188 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8189 [crti.S in sysdirs] (omit-deps): Likewise.
8190 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8191 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8192 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8193 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8194 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8195 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8196 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8197 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8198 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8199 compiler output for sysdeps/generic/initfini.c.
8200 * sysdeps/i386/elf/Makefile: Remove file.
8201 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8202
a22f12b4
MP
82032012-02-07 Marek Polacek <polacek@redhat.com>
8204
8205 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8206 * sysdeps/gnu/_G_config.h: Likewise.
8207 * sysdeps/mach/hurd/_G_config.h: Likewise.
8208
148cf100
MP
82092012-02-07 Marek Polacek <polacek@redhat.com>
8210
8211 * math/Makefile (tests): Add tst-CMPLX2.
8212 * math/tst-CMPLX2.c: New file.
8213
cfdc0dd7
AS
82142012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8215
84ba42c4
AS
8216 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8217
cfdc0dd7
AS
8218 * math/libm-test.inc (jn_test): Add missing L suffix.
8219
622c86f4
MP
82202012-02-06 Marek Polacek <polacek@redhat.com>
8221
8222 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8223 * sysdeps/i386/fpu/e_powf.S: Likewise.
8224 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8225 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8226 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8227 * sysdeps/i386/fpu/e_pow.S: Likewise.
8228 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8229 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8230 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8231 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8232 * sysdeps/i386/fpu/e_log2.S: Likewise.
8233 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8234 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8235 * sysdeps/i386/fpu/e_powl.S: Likewise.
8236 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8237 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8238 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8239 * sysdeps/i386/fpu/e_logl.S: Likewise.
8240 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8241 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8242 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8243 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8244 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8245 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8246 * sysdeps/i386/fpu/e_log.S: Likewise.
8247 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8248 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8249 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8250 * sysdeps/i386/fpu/e_logf.S: Likewise.
8251 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8252 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8253 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8254 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8255 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8256 * sysdeps/i386/fpu/e_log10.S: Likewise.
8257 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8258 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8259 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8260 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8261 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8262 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8263 * sysdeps/i386/asm-syntax.h: Likewise.
8264 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8265 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8266 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8267 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8268 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8269 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8270 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8271 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8272 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8273 * sysdeps/powerpc/sysdep.h: Likewise.
8274 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8275 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8276
d4a54ac6
JM
82772012-02-06 Joseph Myers <joseph@codesourcery.com>
8278
8279 [BZ #411]
8280 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8281
314054ea
JM
82822012-02-06 Joseph Myers <joseph@codesourcery.com>
8283
8284 * sysdeps/i386/sysdep.h: Include <features.h>.
8285 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8286 version.
8287
d8e0ca50
JM
82882012-02-05 Joseph Myers <joseph@codesourcery.com>
8289
8290 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8291 Define.
8292 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8293 LOAD_PIC_REG_STR.
8294
b1da7dd9
JM
82952012-02-03 Joseph Myers <joseph@codesourcery.com>
8296
8297 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8298 (SETUP_PIC_REG): Use GET_PC_THUNK.
8299 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8300 macro.
8301
9a1d9254
JM
83022012-02-03 Joseph Myers <joseph@codesourcery.com>
8303
8304 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8305 for non-PIC compilation.
8306 (SETUP_PIC_REG): Add .p2align directive.
8307 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8308 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8309 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8310 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8311 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8312 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8313 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8314 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8315 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8316 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8317 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8318 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8319 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8320 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8321 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8322 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8323 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8324 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8325 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8326 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8327 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8328 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8329 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8330 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8331 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8332 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8333 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8334 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8335 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8336 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8337 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8338 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8339 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8340 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8341 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8342 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8343 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8344 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8345 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8346 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8347 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8348
65dc3b75
JM
83492012-02-03 Joseph Myers <joseph@codesourcery.com>
8350
8351 * math/tst-CMPLX.c: Include <stdio.h>.
8352
d55bf177
JM
83532012-01-31 Joseph Myers <joseph@codesourcery.com>
8354
8355 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8356 float.
8357 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8358 * sysdeps/sparc/bits/mathdef.h: Likewise.
8359
69db4f8f
MP
83602012-01-31 Marek Polacek <polacek@redhat.com>
8361
8362 * libio/libio.h: Don't define _PARAMS.
8363 * locale/programs/config.h: Don't define PARAMS.
8364 * stdlib/strtol_l.c: Likewise.
8365 (__strtol_l): Remove PARAMS from the prototype.
8366
41b81892
UD
83672012-01-31 Ulrich Drepper <drepper@gmail.com>
8368
3b49edc0
UD
8369 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8370 names. Just use the correct names. Remove unnecessary wrapper
8371 functions.
8372 * malloc/arena.c: Likewise.
8373 * malloc/hooks.c: Likewise.
8374
41b81892
UD
8375 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8376 ARENA_TEST says not to. Simplify test for creation of a new arena.
8377 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8378
27a25b6e
UD
83792012-01-30 Ulrich Drepper <drepper@gmail.com>
8380
8381 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8382 into tail calls.
8383 (update_get_addr): New function.
8384 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8385 GET_ADDR_MODULE parameter.
8386
c8a89e7d
JM
83872012-01-30 Joseph Myers <joseph@codesourcery.com>
8388
8389 * crypt/cert.c: Remove __STDC__ conditionals.
8390 * crypt/crypt-entry.c: Likewise.
8391 * crypt/crypt_util.c: Likewise.
8392 * libio/filedoalloc.c: Likewise.
8393 * libio/fileops.c: Likewise.
8394 * libio/genops.c: Likewise.
8395 * libio/iofclose.c: Likewise.
8396 * libio/iofdopen.c: Likewise.
8397 * libio/iofopen.c: Likewise.
8398 * libio/iofopen64.c: Likewise.
8399 * libio/iogetdelim.c: Likewise.
8400 * libio/iopopen.c: Likewise.
8401 * libio/obprintf.c: Likewise.
8402 * libio/oldfileops.c: Likewise.
8403 * libio/oldiofclose.c: Likewise.
8404 * libio/oldiofdopen.c: Likewise.
8405 * libio/oldiofopen.c: Likewise.
8406 * libio/oldiopopen.c: Likewise.
8407 * libio/wfiledoalloc.c: Likewise.
8408 * libio/wgenops.c: Likewise.
8409 * locale/programs/xmalloc.c: Likewise.
8410 * misc/syslog.c: Likewise.
8411 * stdio-common/xbug.c: Likewise.
8412 * string/memchr.c: Likewise.
8413 * string/memcmp.c: Likewise.
8414 * string/memrchr.c: Likewise.
8415 * string/rawmemchr.c: Likewise.
8416 * sysdeps/posix/getcwd.c: Likewise.
8417 * time/strftime_l.c: Likewise.
8418
3b100462
JM
84192012-01-30 Joseph Myers <joseph@codesourcery.com>
8420
8421 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
8422 * config.make.in (config-cflags-sse2avx): Define.
8423 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8424 Fix typo.
8425
607998af
CM
84262012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8427
8428 * scripts/config.guess: Update from upstream config git repository.
8429 * scripts/config.sub: Likewise.
8430
3601428f
CM
84312012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8432
3ac8b282
CM
8433 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8434 (EM_NUM): Update.
8435 (R_TILEPRO_*, R_TILEGX_*): New macros.
8436
e034841e
CM
8437 * scripts/firstversions.awk: Fix bug in version range handling.
8438
540d7568
CM
8439 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8440
3601428f
CM
8441 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8442
463de862
CM
8443 * include/sys/epoll.h: New file.
8444 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8445 libc_hidden_def.
8446
73139a76
UD
84472012-01-28 Ulrich Drepper <drepper@gmail.com>
8448
96bc5b45
UD
8449 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8450 Avoid unnecessary __WORDSIZE == 64 test.
8451 (fmaxf): Use VEX format if possible.
8452 (fmax): Likewise.
8453 (fminf): Likewise.
8454 (fmin): Likewise.
8455
56f6f6a2
UD
8456 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8457 * math/math_private.h: Remove libc_fegetround* and
8458 libc_fesetround*.
8459 * sysdeps/i386/configure.in: Check for -msse2avx.
8460 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8461 also if SSE2AVX is defined.
8462 Remove libc_fegetround* and libc_fesetround*.
8463 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8464 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8465 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8466 of HAS_YMM_USABLE.
8467 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8468 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8469 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8470 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8471 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8472
73139a76
UD
8473 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8474
d73f93a4
AZ
84752012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8476
8477 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8478 size is not set.
8479 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8480
6ee65ed6
UD
84812012-01-27 Ulrich Drepper <drepper@gmail.com>
8482
8483 [BZ #13618]
8484 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8485 relocation.
8486 * Makeconfig (libm): Define.
8487 * elf/Makefile: Add rules to build and run tst-relsort1.
8488 * elf/tst-relsort1.c: New file.
8489 * elf/tst-relsort1mod1.c: New file.
8490 * elf/tst-relsort1mod2.c: New file.
8491
8db21882
JM
84922012-01-27 Joseph Myers <joseph@codesourcery.com>
8493
8494 * math/s_ldexp.c: Remove __STDC__ conditionals.
8495 * math/s_ldexpf.c: Likewise.
8496 * math/s_ldexpl.c: Likewise.
8497 * math/s_nextafter.c: Likewise.
8498 * math/s_nexttowardf.c: Likewise.
8499 * math/s_significand.c: Likewise.
8500 * math/s_significandf.c: Likewise.
8501 * math/s_significandl.c: Likewise.
8502 * math/w_jnl.c: Likewise.
8503 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8504 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8505 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8506 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8507 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8508 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8509 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8510 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8511 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8512 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8513 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8514 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8515 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8516 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8517 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8518 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8519 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8520 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8521 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8522 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8523 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8524 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8525 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8526 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8527 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8528 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8529 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8530 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8531 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8532 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8533 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8534 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8535 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8536 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8537 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8538 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8539 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8540 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8541 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8542 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8543 * sysdeps/ieee754/k_standard.c: Likewise.
8544 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8545 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8546 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8547 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8548 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8549 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8550 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8551 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8552 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8553 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8554 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8555 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8556 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8557 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8558 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8559 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8560 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8561 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8562 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8563 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8564 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8565 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8566 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8567 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8568 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8569 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8570 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8571 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8572 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8573 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8574 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8575 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8576 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8577 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8578 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8579 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8580 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8581 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8582 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8583 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8584 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8585 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8586 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8587 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8588 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8589 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8590 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8591 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8592 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8593 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8594 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8595 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8596 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8597 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8598 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8599 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8600 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8601 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8602 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8603 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8604 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8605 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8606 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8607 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8608 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8609 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8610 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8611 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8612 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8613 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8614 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8615 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8616 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8617 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8618 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8619 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8620 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8621 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8622 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8623 * sysdeps/ieee754/s_matherr.c: Likewise.
8624 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8625 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8626 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8627 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8628
965a54a4
JM
86292012-01-26 Joseph Myers <joseph@codesourcery.com>
8630
8631 * crypt/md5.h: Remove __STDC__ conditionals.
8632 * libio/libioP.h: Likewise.
8633 * locale/programs/config.h: Likewise.
8634 * sysdeps/generic/sysdep.h: Likewise.
8635 * sysdeps/i386/asm-syntax.h: Likewise.
8636 * sysdeps/s390/asm-syntax.h: Likewise.
8637 * sysdeps/unix/sysdep.h: Likewise.
8638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8640
7071ad79
JM
86412012-01-26 Joseph Myers <joseph@codesourcery.com>
8642
8643 * libio/libio.h: Remove __STDC__ conditionals.
8644 * malloc/obstack.h: Likewise.
8645 * math/complex.h: Likewise.
8646 * math/math.h: Likewise.
8647 * sysdeps/generic/_G_config.h: Likewise.
8648 * sysdeps/gnu/_G_config.h: Likewise.
8649 * sysdeps/mach/hurd/_G_config.h: Likewise.
8650 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8651 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8652 * sysdeps/sparc/bits/mathdef.h: Likewise.
8653
afc5ed09
UD
86542012-01-26 Ulrich Drepper <drepper@gmail.com>
8655
8656 [BZ #13583]
8657 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 8658 Clean up HAS_* macros.
afc5ed09 8659 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
8660 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8661 possible.
8662 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8663 HAS_AVX.
8664 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8665 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8666 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8667 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8668 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 8669
bdb6de1d
JM
86702012-01-25 Joseph Myers <joseph@codesourcery.com>
8671
8672 * elf/tst-unique3.cc (gets): Remove declaration.
8673 * elf/tst-unique3lib.cc (gets): Likewise.
8674 * elf/tst-unique3lib2.cc (gets): Likewise.
8675 * elf/tst-unique4.cc (gets): Likewise.
8676
b15549e6
UD
86772012-01-24 Ulrich Drepper <drepper@gmail.com>
8678
8679 * include/stdio.h: Add C++ protection. Add gets declarations and
8680 definitions.
8681 * debug/tst-chk1.c: Don't declare gets here.
8682 * stdio-common/tst-gets.c: Likewise.
8683
a037381f
JM
86842012-01-24 Joseph Myers <joseph@codesourcery.com>
8685
8686 * posix/glob: Remove directory.
8687
f1d4aa75
JM
86882012-01-24 Joseph Myers <joseph@codesourcery.com>
8689
8690 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8691
81c0c964
PT
86922012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8693
8694 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8695 of the non-standard EPFNOSUPPORT.
8696
0ea698ae
ST
86972011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8698
8699 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8700 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8701 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8702
d220b117
UD
87032012-01-21 Ulrich Drepper <drepper@gmail.com>
8704
8705 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8706
3e1aa84e
UD
87072012-01-20 Ulrich Drepper <drepper@gmail.com>
8708
8709 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8710 transient errors.
8711 * nscd/grpcache.c (cache_addgr): Likewise.
8712 * nscd/hstcache.c (cache_addhst): Likewise.
8713 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8714 * nscd/pwdcache.c (cache_addpw): Likewise.
8715 * nscd/servicescache.c (cache_addserv): Likewise.
8716
400aa020
UD
87172012-01-16 Ulrich Drepper <drepper@gmail.com>
8718
d77e7869
UD
8719 * malloc/malloc.c: Various cleanups.
8720 * malloc/hooks.c: Likewise.
8721
400aa020
UD
8722 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8723 * stdlib/bug-fmtmsg1.c: New file.
8724
8725 * stdlib/fmtmsg.c (init): Add missing unlock.
8726 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8727
e0a309cf
MP
87282012-01-12 Marek Polacek <polacek@redhat.com>
8729
8730 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8731 and _GNU_SOURCE.
8732
929d11c7
WS
87332012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8734
8735 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8736 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8737 macro to ensure uniqueness of label name.
8738 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8739 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8740
41d0e869
UD
87412012-01-11 Ulrich Drepper <drepper@gmail.com>
8742
0cc5ed3b
UD
8743 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8744
41d0e869
UD
8745 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8746 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8747 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8748 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8749
a47a831a
UD
87502012-01-10 Ulrich Drepper <drepper@gmail.com>
8751
daa891c0
UD
8752 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8753
8754 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8755 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8756 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8757
e58ef0f2
UD
8758 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8759
a47a831a 8760 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
8761 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8762 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 8763 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
8764
8765 * math/bits/math-finite.h: Add ldexp support.
8766
a0bfc9c7
MP
87672012-01-10 Marek Polacek <polacek@redhat.com>
8768
8769 * locale/programs/localedef.h (show_archive_content): Add noreturn
8770 attribute.
8771
d6e97a1d
UD
87722012-01-09 Ulrich Drepper <drepper@gmail.com>
8773
8774 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8775
d5835c26
UD
87762012-01-08 Ulrich Drepper <drepper@gmail.com>
8777
e5f484c6
UD
8778 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8779
d5835c26
UD
8780 * io/Makefile (headers): Add bits/poll2.h.
8781
d1f741e9
WS
87822011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8783
8784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8785 typo #include statement.
8786
ec09c1c4
UD
87872012-01-08 Ulrich Drepper <drepper@gmail.com>
8788
8789 * include/sys/cdefs.h: Define __attribute_alloc_size.
8790 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8791 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8792 * elf/pldd.c: Likewise.
8793 * iconv/iconv_charmap.c: Likewise.
8794 * iconv/iconvconfig.c: Likewise.
8795 * iconv/strtab.c: Likewise.
8796 * locale/programs/locale.c: Likewise.
8797 * locale/programs/localedef.h: Likewise.
8798 * locale/programs/simple-hash.c: Likewise.
8799 * nscd/nscd.h: Likewise.
8800 * nss/makedb.c: Likewise.
8801 * sysdeps/generic/ldconfig.h: Likewise.
8802 * locale/programs/localedef.c: Remove xmalloc prototype.
8803 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8804
20b38e03
PP
88052012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8806
8807 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8808 appropriate.
8809
a0da5fe1
UD
88102012-01-08 Ulrich Drepper <drepper@gmail.com>
8811
1d5a644a 8812 * math/Makefile (tests): Add tst-CMPLX.
669704fd 8813 * math/tst-CMPLX.c: New file.
1d5a644a 8814
8784a6db
UD
8815 * math/complex.h (CMPLXL): Fix typo.
8816
d9a216c0
UD
8817 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8818 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8819 GLIBC_2.16.
8820 * debug/tst-chk1.c: Add poll and ppoll tests.
8821 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8822 * include/sys/poll.h: Add hidden proto for ppoll.
8823 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8824 * sysdeps/mach/hurd/ppoll.c: Likewise.
8825 * io/ppoll.c: Likewise.
8826 * debug/poll_chk.c: New file.
8827 * debug/ppoll_chk.c: New file.
8828 * include/bits/poll2.h: New file.
8829 * io/bits/poll2.h: New file.
8830
ac097f5c
UD
8831 [BZ #1350]
8832 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8833
2119dcfa
UD
8834 * configure.in: static is always set to yes. Remove.
8835 * config.make.in: Don't set build-static.
8836 * Makeconfig: Remove use of build-static.
8837 * dlfcn/Makefile: Likewise.
8838 * elf/Makefile: Likewise.
8839 * math/Makefile: Likewise.
8840 * misc/Makefile: Likewise.
8841 * nptl/Makefile: Likewise.
8842 * sysdeps/mach/hurd/Makefile: Likewise.
8843
121766a9
UD
8844 * configure.in: PWD_P is not used anymore.
8845 * config.make.in: Remove PWD_P entry.
8846
51a1d39c 8847 * configure.in: Remove last remnants of RANLIB.
8720d066 8848 No need to check for signed size_t anymore.
215f4bdc
UD
8849 Don't set libc_commonpagesize and libc_relro_required here for Alpha
8850 and IA-64.
3857022a 8851 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
8852 * aclocal.m4: Likewise.
8853
d3ed7225
UD
8854 * wcsmbs/mbrtoc16.c: Implement using towc function.
8855 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8856 * wcsmbs/wcsmbsload.c: Likewise.
8857 * iconv/gconv_simple.c: Likewise.
8858 * iconv/gconv_int.h: Likewise.
8859 * iconv/gconv_builtin.h: Likewise.
8860 * iconv/iconv_prog.c: Remove CHAR16 handling.
8861
8862 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8863
8864 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8865
a0da5fe1
UD
8866 * configure.in: Remove --with-elf and --enable-bounded options.
8867 Dont set base_machine for ia64. More non-ELF conditions removed.
8868 Remove testing and setting of leading underscore information.
8869 * config.make.in (build-bounded): Set to no.
8870 * config.h.in: Remove NO_UNDERSCORES entry.
8871 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8872 them.
8873 * csu/start.c: Remove !NO_UNDERSCORE code.
8874 * locale/localeinfo.h: Likewise.
8875 * sysdeps/generic/machine-gmon.h: Likewise.
8876 * sysdeps/generic/sysdep.h: Likewise.
8877 * sysdeps/i386/sysdep.h: Likewise.
8878 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8879 * sysdeps/mach/sysdep.h: Likewise.
8880 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8881 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8882 * sysdeps/sh/sysdep.h: Likewise.
8883 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8884 * sysdeps/unix/i386/sysdep.S: Likewise.
8885 * sysdeps/unix/sparc/start.c: Likewise.
8886 * sysdeps/unix/sparc/sysdep.S: Likewise.
8887 * sysdeps/unix/sparc/sysdep.h: Likewise.
8888 * sysdeps/unix/start.c: Likewise.
8889 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8890 * sysdeps/x86_64/sysdep.h: Likewise.
8891
df78418a
UD
88922012-01-07 Ulrich Drepper <drepper@gmail.com>
8893
a784e502
UD
8894 [BZ #13553]
8895 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
8896 for non-gcc.
8897 * argp/argp-fmtstream.h: Use const instead __const.
8898 * argp/argp.h: Likewise.
8899 * assert/assert.h: Likewise.
8900 * bits/fenv.h: Likewise.
8901 * bits/sched.h: Likewise.
8902 * bits/sigset.h: Likewise.
8903 * bits/sigthread.h: Likewise.
8904 * catgets/nl_types.h: Likewise.
8905 * conform/data/pthread.h-data: Likewise.
8906 * crypt/crypt-private.h: Likewise.
8907 * crypt/crypt.h: Likewise.
8908 * crypt/crypt_util.c: Likewise.
8909 * ctype/ctype.h: Likewise.
8910 * debug/execinfo.h: Likewise.
8911 * debug/mbsnrtowcs_chk.c: Likewise.
8912 * debug/mbsrtowcs_chk.c: Likewise.
8913 * debug/wcsnrtombs_chk.c: Likewise.
8914 * debug/wcsrtombs_chk.c: Likewise.
8915 * debug/wcstombs_chk.c: Likewise.
8916 * dirent/dirent.h: Likewise.
8917 * dlfcn/dlfcn.h: Likewise.
8918 * elf/neededtest4.c: Likewise.
8919 * grp/grp.h: Likewise.
8920 * gshadow/gshadow.h: Likewise.
8921 * iconv/gconv.h: Likewise.
8922 * iconv/gconv_int.h: Likewise.
8923 * iconv/gconv_simple.c: Likewise.
8924 * iconv/iconv.h: Likewise.
8925 * iconv/loop.c: Likewise.
8926 * iconv/skeleton.c: Likewise.
8927 * include/aio.h: Likewise.
8928 * include/aliases.h: Likewise.
8929 * include/argz.h: Likewise.
8930 * include/arpa/inet.h: Likewise.
8931 * include/assert.h: Likewise.
8932 * include/dirent.h: Likewise.
8933 * include/dlfcn.h: Likewise.
8934 * include/execinfo.h: Likewise.
8935 * include/fcntl.h: Likewise.
8936 * include/fenv.h: Likewise.
8937 * include/glob.h: Likewise.
8938 * include/grp.h: Likewise.
8939 * include/libintl.h: Likewise.
8940 * include/mntent.h: Likewise.
8941 * include/netdb.h: Likewise.
8942 * include/pwd.h: Likewise.
8943 * include/rpc/netdb.h: Likewise.
8944 * include/sched.h: Likewise.
8945 * include/search.h: Likewise.
8946 * include/shadow.h: Likewise.
8947 * include/signal.h: Likewise.
8948 * include/stdio.h: Likewise.
8949 * include/stdlib.h: Likewise.
8950 * include/string.h: Likewise.
8951 * include/sys/socket.h: Likewise.
8952 * include/sys/stat.h: Likewise.
8953 * include/sys/statfs.h: Likewise.
8954 * include/sys/statvfs.h: Likewise.
8955 * include/sys/syslog.h: Likewise.
8956 * include/sys/time.h: Likewise.
8957 * include/sys/uio.h: Likewise.
8958 * include/time.h: Likewise.
8959 * include/unistd.h: Likewise.
8960 * include/utmp.h: Likewise.
8961 * include/wchar.h: Likewise.
8962 * include/wctype.h: Likewise.
8963 * inet/aliases.h: Likewise.
8964 * inet/arpa/inet.h: Likewise.
8965 * inet/netinet/ether.h: Likewise.
8966 * inet/netinet/in.h: Likewise.
8967 * intl/libintl.h: Likewise.
8968 * io/bits/fcntl2.h: Likewise.
8969 * io/fcntl.h: Likewise.
8970 * io/ftw.h: Likewise.
8971 * io/sys/poll.h: Likewise.
8972 * io/sys/stat.h: Likewise.
8973 * io/sys/statfs.h: Likewise.
8974 * io/sys/statvfs.h: Likewise.
8975 * io/utime.h: Likewise.
8976 * libio/bits/stdio.h: Likewise.
8977 * libio/bits/stdio2.h: Likewise.
8978 * libio/libio.h: Likewise.
8979 * libio/libioP.h: Likewise.
8980 * libio/stdio.h: Likewise.
8981 * locale/lc-ctype.c: Likewise.
8982 * locale/locale.h: Likewise.
8983 * login/utmp.h: Likewise.
8984 * malloc/arena.c: Likewise.
8985 * malloc/malloc.c: Likewise.
8986 * malloc/malloc.h: Likewise.
8987 * malloc/mcheck.c: Likewise.
8988 * malloc/mtrace.c: Likewise.
8989 * math/bits/mathcalls.h: Likewise.
8990 * math/fenv.h: Likewise.
8991 * math/math_private.h: Likewise.
8992 * misc/bits/error.h: Likewise.
8993 * misc/bits/syslog.h: Likewise.
8994 * misc/err.h: Likewise.
8995 * misc/error.h: Likewise.
8996 * misc/fstab.h: Likewise.
8997 * misc/mntent.h: Likewise.
8998 * misc/regexp.h: Likewise.
8999 * misc/search.h: Likewise.
9000 * misc/sgtty.h: Likewise.
9001 * misc/sys/mman.h: Likewise.
9002 * misc/sys/syslog.h: Likewise.
9003 * misc/sys/uio.h: Likewise.
9004 * misc/sys/xattr.h: Likewise.
9005 * misc/ttyent.h: Likewise.
9006 * nis/rpcsvc/ypclnt.h: Likewise.
9007 * nss/nss.h: Likewise.
9008 * posix/bits/unistd.h: Likewise.
9009 * posix/fnmatch.h: Likewise.
9010 * posix/glob.h: Likewise.
9011 * posix/sched.h: Likewise.
9012 * posix/spawn.h: Likewise.
9013 * posix/sys/wait.h: Likewise.
9014 * posix/unistd.h: Likewise.
9015 * posix/wordexp.h: Likewise.
9016 * pwd/pwd.h: Likewise.
9017 * resolv/netdb.h: Likewise.
9018 * resource/sys/resource.h: Likewise.
9019 * rt/aio.h: Likewise.
9020 * rt/bits/mqueue2.h: Likewise.
9021 * rt/mqueue.h: Likewise.
9022 * shadow/shadow.h: Likewise.
9023 * signal/signal.h: Likewise.
9024 * socket/send.c: Likewise.
9025 * socket/sendto.c: Likewise.
9026 * socket/sys/socket.h: Likewise.
9027 * stdio-common/printf.h: Likewise.
9028 * stdlib/bits/stdlib.h: Likewise.
9029 * stdlib/fmtmsg.h: Likewise.
9030 * stdlib/monetary.h: Likewise.
9031 * stdlib/stdlib.h: Likewise.
9032 * stdlib/ucontext.h: Likewise.
9033 * streams/stropts.h: Likewise.
9034 * string/argz.h: Likewise.
9035 * string/bits/string2.h: Likewise.
9036 * string/string.h: Likewise.
9037 * string/strings.h: Likewise.
9038 * sunrpc/rpc/auth.h: Likewise.
9039 * sunrpc/rpc/auth_des.h: Likewise.
9040 * sunrpc/rpc/clnt.h: Likewise.
9041 * sunrpc/rpc/netdb.h: Likewise.
9042 * sunrpc/rpc/pmap_clnt.h: Likewise.
9043 * sunrpc/rpc/xdr.h: Likewise.
9044 * sysdeps/generic/inttypes.h: Likewise.
9045 * sysdeps/generic/net/if.h: Likewise.
9046 * sysdeps/generic/sys/swap.h: Likewise.
9047 * sysdeps/gnu/net/if.h: Likewise.
9048 * sysdeps/gnu/utmpx.h: Likewise.
9049 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9050 * sysdeps/i386/i486/bits/string.h: Likewise.
9051 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9052 * sysdeps/s390/bits/string.h: Likewise.
9053 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9054 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9055 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9056 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9057 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9058 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9059 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9060 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9061 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9062 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9063 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9064 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9065 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9066 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9067 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9068 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9069 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9070 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9071 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9072 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9073 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9074 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9075 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9076 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9077 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9078 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9079 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9080 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9081 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9082 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9083 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9084 * sysvipc/sys/ipc.h: Likewise.
9085 * sysvipc/sys/msg.h: Likewise.
9086 * sysvipc/sys/sem.h: Likewise.
9087 * sysvipc/sys/shm.h: Likewise.
9088 * termios/termios.h: Likewise.
9089 * time/sys/time.h: Likewise.
9090 * time/time.h: Likewise.
9091 * wcsmbs/bits/wchar2.h: Likewise.
9092 * wcsmbs/uchar.h: Likewise.
9093 * wcsmbs/wchar.h: Likewise.
9094 * wctype/wctype.h: Likewise.
9095
0269750c
UD
9096 [BZ #13551]
9097 * Makeconfig: Remove all but ELF support including AIX support.
9098 * Makerules: Likewise.
9099 * config.h.in: Likewise.
9100 * config.make.in: Likewise.
9101 * configure: Likewise.
9102 * configure.in: Likewise.
9103 * csu/Makefile: Likewise.
9104 * csu/version.c: Likewise.
9105 * debug/Makefile: Likewise.
9106 * dlfcn/Makefile: Likewise.
9107 * elf/Makefile: Likewise.
9108 * extra-lib.mk: Likewise.
9109 * iconv/Makefile: Likewise.
9110 * include/libc-symbols.h: Likewise.
9111 * include/shlib-compat.h: Likewise.
9112 * resolv/Makefile: Likewise.
9113 * resolv/res_libc.c: Likewise.
9114 * rt/Makefile: Likewise.
9115 * sysdeps/i386/asm-syntax.h: Likewise.
9116 * sysdeps/i386/sysdep.h: Likewise.
9117 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9118 * sysdeps/mach/sysdep.h: Likewise.
9119 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9120 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9121 * sysdeps/s390/asm-syntax.h: Likewise.
9122 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9123 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9124 * sysdeps/sh/sysdep.h: Likewise.
9125 * sysdeps/unix/sparc/sysdep.h: Likewise.
9126 * sysdeps/wordsize-32/divdi3.c: Likewise.
9127 * sysdeps/x86_64/sysdep.h: Likewise.
9128
00bbd29b
UD
9129 * argp/Versions: Remove _argp_unlock_xxx.
9130
9131 [BZ #13559]
9132 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9133 * abilist/libBrokenLocale.abilist: Likewise.
9134 * abilist/libanl.abilist: Likewise.
9135 * abilist/libc.abilist: Likewise.
9136 * abilist/libcrypt.abilist: Likewise.
9137 * abilist/libdl.abilist: Likewise.
9138 * abilist/libm.abilist: Likewise.
9139 * abilist/libnsl.abilist: Likewise.
9140 * abilist/libpthread.abilist: Likewise.
9141 * abilist/libresolv.abilist: Likewise.
9142 * abilist/librt.abilist: Likewise.
9143 * abilist/libthread_db.abilist: Likewise.
9144 * abilist/libutil.abilist: Likewise.
9145 * abilist/libnss_db.abilist: New file.
9146
9147 * scripts/abilist.awk: Add support for indirect functions.
9148
a2693a0e
UD
9149 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9150
3f05895f
UD
9151 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9152
ecb6fb48
UD
9153 * shlib-versions: Remove entries for ports architectures.
9154
664f8cb9
UD
9155 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9156 files in ports.
9157 * elf/stackguard-macros.h: Remove support for IA-64.
9158 * elf/tst-auditmod1.c: Likewise.
9159 * sysdeps/generic/ldsodefs.h: Likewise.
9160
7ae81d88
UD
9161 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9162 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9163 configure files.
9164
bdeba135
UD
9165 [BZ #13552]
9166 * configure.in: Remove --enable-omitfp support.
9167 * FAQ.in: Adjust.
9168 * config.make.in: Likewise.
9169 * Makeconfig: Likewise.
9170 * manual/install.texi: Likewise.
9171
d75a0a62
UD
9172 In case anyone cares, the IA-64 architecture could move to ports.
9173 * sysdeps/ia64/*: Removed.
9174 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9175 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9176
dcc9756b
UD
9177 [BZ #13555]
9178 * configure.in: Remove entries for unsupported architectures.
9179
d3761ebc 9180 [BZ #13533]
9954432e
UD
9181 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9182 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9183 routines.
9184 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9185 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9186 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9187 fall back to using wcrtomb.
9188 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9189 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9190 renaming.
9191 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9192 * wcsmbs/tst-c16c32-1.c: New file.
9193
9194 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9195 local variable.
9196
c3a87236
UD
9197 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9198
28926a1b
UD
9199 * elf/tst-unique3.cc: Add explicit declaration of gets.
9200 * elf/tst-unique3lib.cc: Likewise.
9201 * elf/tst-unique3lib2.cc: Likewise.
9202 * elf/tst-unique4.cc: Likewise.
9203
df78418a
UD
9204 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9205
8ecd6b2a
JM
92062012-01-06 Joseph Myers <joseph@codesourcery.com>
9207
9208 [BZ #13566]
9209 * assert/assert.h (static_assert): Don't define for C++.
9210 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9211 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9212
9f115170
UD
92132012-01-03 Ulrich Drepper <drepper@gmail.com>
9214
5e0d0300
UD
9215 * iconv/loop.c (single loop): Fix assertion in storing of
9216 remaining bytes.
9217
9f115170
UD
9218 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9219
81fb02b0
UD
92202012-01-01 Ulrich Drepper <drepper@gmail.com>
9221
9222 * posix/getconf.c: Update copyright year.
9223 * nss/getent.c: Likewise.
a316c1f6 9224 * nss/makedb.c: Likewise.
81fb02b0
UD
9225 * iconv/iconvconfig.c: Likewise.
9226 * iconv/iconv_prog.c: Likewise.
9227 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9228 * elf/pldd.c: Likewise.
9229 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9230 * catgets/gencat.c: Likewise.
9231 * csu/version.c: Likewise.
9232 * elf/ldd.bash.in: Likewise.
9233 * elf/sprof.c (print_version): Likewise.
9234 * locale/programs/locale.c: Likewise.
9235 * locale/programs/localedef.c: Likewise.
a316c1f6 9236 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9237 * nscd/nscd.c (print_version): Likewise.
9238 * debug/xtrace.sh: Likewise.
9239 * malloc/memusage.sh: Likewise.
9240 * malloc/mtrace.pl: Likewise.
9241 * debug/catchsegv.sh: Likewise.
9242
2ba92745
JJ
92432011-12-30 Jakub Jelinek <jakub@redhat.com>
9244
9245 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9246 pure attribute.
9247
dadebdae
UD
92482011-12-24 Ulrich Drepper <drepper@gmail.com>
9249
d3761ebc 9250 [BZ #13533]
db6af3eb
UD
9251 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9252 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9253 transformations.
9254 * iconv/gconv_int.h: Likewise.
9255 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9256 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9257 from libc for GLIBC_2.16.
9258 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9259 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9260 * wcsmbs/uchar.h: Really define mbstate_t.
9261 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9262 * wcsmbs/c16rtomb.c: New file.
9263 * wcsmbs/mbrtoc16.c: New file.
9264 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9265 for C/POSIX locale.
9266 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9267 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9268
dadebdae
UD
9269 * wcsmbs/wchar.h: Add missing __restrict.
9270
67371b56
UD
92712011-12-23 Ulrich Drepper <drepper@gmail.com>
9272
74033a25
UD
9273 [BZ #13532]
9274 * time/Makefile (routines): Add timespec_get.
9275 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9276 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9277 timespec for ISO C11.
9278 * time/timespec_get.c: New file.
9279 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9280 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9281
380d7e87
UD
9282 [BZ #13531]
9283 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9284 * stdlib/stdlib.h: Declare aligned_alloc.
9285 * Versions.def: Add GLIBC_2.16 for libc.
9286 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9287
4e9e7a35
UD
9288 [BZ 13527]
9289 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9290 ISO C11.
9291
380d7e87 9292 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9293 code.
9294
03a71829
UD
9295 [BZ #13528]
9296 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9297
839e283e
UD
9298 [BZ #13529]
9299 * assert/assert.h (static_assert): Define.
9300
ce5294e2 9301 * version.h: Update for 2.16 development version.
90fa7312 9302
8d44e150 9303 [BZ #13526]
d7809905
UD
9304 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9305 _ISOC11_SOURCE.
9306
c0da14cd
UD
9307 * version.h (RELEASE): Bump for 2.15 release.
9308 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9309
530a3249
MP
9310 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9311 Patch by Marek Polacek <mpolacek@redhat.com>.
9312
67371b56
UD
9313 * bits/byteswap.h: Protect long long constants with __extension__.
9314 * sysdeps/i386/bits/byteswap.h: Likewise.
9315 * sysdeps/ia64/bits/byteswap.h: Likewise.
9316 * sysdeps/s390/bits/byteswap.h: Likewise.
9317 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9318
15db4de1
LD
93192011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9320
9321 [BZ #13540]
bbe315ea
LD
9322 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9323 destination buffer.
15db4de1
LD
9324 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9325
2b2596b1
MP
93262011-12-23 Marek Polacek <polacek@redhat.com>
9327
9328 * elf/dl-addr.c (determine_info): Add inline keyword.
9329 * elf/tst-auditmod4b.c (check_avx): Likewise.
9330 * elf/tst-auditmod6b.c (check_avx): Likewise.
9331 * elf/tst-auditmod6c.c (check_avx): Likewise.
9332 * elf/tst-auditmod7b.c (check_avx): Likewise.
9333
70c6c246
UD
93342011-12-23 Ulrich Drepper <drepper@gmail.com>
9335
9336 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9337 !__SSE_MATH__.
9338
c044cf14
LD
93392011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9340
15db4de1 9341 [BZ #13540]
c044cf14
LD
9342 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9343 processing for last bytes.
9344
6b13d9d9
BH
93452011-08-06 Bruno Haible <bruno@clisp.org>
9346
d455f537
BH
9347 [BZ #13061]
9348 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9349 U+0385, not to U+1FEE.
9350
6b13d9d9
BH
9351 [BZ #13062]
9352 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9353 entry for U+00A5 U+0301.
9354
db910efd
UD
93552011-12-22 Ulrich Drepper <drepper@gmail.com>
9356
27deeafc
UD
9357 [BZ #13166]
9358 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9359 buffer for the output is too small.
9360
aed9d171
UD
9361 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9362 optimization.
9363
db910efd
UD
9364 [BZ #13185]
9365 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9366 SSE flags if possible.
9367
2bd779ae
LD
93682011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9369
e7f9dac3 9370 [BZ #13540]
2bd779ae
LD
9371 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9372 processing for last bytes.
9373
154bfc16
JM
93742011-12-22 Joseph Myers <joseph@codesourcery.com>
9375
9376 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9377 (syscall-list-default-options, syscall-list-default-condition)
9378 (syscall-list-includes): Define.
9379 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9380 list of ABIs and options and #if conditions for each ABI. Do not
9381 handle common syscalls between ABIs specially.
9382 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9383 Remove.
9384 (syscall-list-variants, syscall-list-32bit-options)
9385 (syscall-list-32bit-condition, syscall-list-64bit-options)
9386 (syscall-list-64bit-condition): Define.
9387 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9388 (syscall-list-variants, syscall-list-32bit-options)
9389 (syscall-list-32bit-condition, syscall-list-64bit-options)
9390 (syscall-list-64bit-condition): Define.
9391 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9392 Remove.
9393 (syscall-list-variants, syscall-list-32bit-options)
9394 (syscall-list-32bit-condition, syscall-list-64bit-options)
9395 (syscall-list-64bit-condition): Define.
9396 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9397 Remove.
9398 (syscall-list-variants, syscall-list-32bit-options)
9399 (syscall-list-32bit-condition, syscall-list-64bit-options)
9400 (syscall-list-64bit-condition): Define.
9401
21eaf3a5
UD
94022011-12-22 Ulrich Drepper <drepper@gmail.com>
9403
16c6f992
UD
9404 * locale/iso-639.def: Add brx entry.
9405
41043168
UD
9406 [BZ #13328]
9407 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9408 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9409
21eaf3a5
UD
9410 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9411 __feraiseexcept_renamed.
9412
e3a851a2
UD
94132011-12-21 Ulrich Drepper <drepper@gmail.com>
9414
4920765e
UD
9415 [BZ #13538]
9416 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9417 EPOLLET with unsigned values.
9418 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9419 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9420
e3a851a2
UD
9421 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9422 to large cancellation.
9423 * math/s_cacoshf.c: Likewise.
9424 * math/s_cacoshl.c: Likewise.
9425
b27e24b8
RK
94262011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9427
9428 [BZ #13305]
aebefeee 9429 [BZ #12786]
b27e24b8
RK
9430 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9431 * math/s_cacoshf.c: Likewise.
9432 * math/s_cacoshl.c: Likewise.
9433
ee190f67
UD
94342011-12-21 Ulrich Drepper <drepper@gmail.com>
9435
9436 [BZ #13439]
9437 * iconv/gconv.h: Define __GCONV_SWAP.
9438 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9439 * iconvdata/utf-16.c: Likewise.
9440 * iconvdata/utf-32.c: Likewise.
9441
707f25df
AS
94422011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9443
9444 [BZ #13524]
9445 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9446 numerator after shifting it by one limb.
9447
d2daaa1e
RÁE
94482011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9449
9450 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9451 under [__USE_EXTERN_INLINES].
9452
a4647e72
UD
94532011-12-17 Ulrich Drepper <drepper@gmail.com>
9454
9455 [BZ #13446]
9456 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9457
f0b264f1
AZ
94582011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9459
9460 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9461 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9462 optimized code.
9463 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9464 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9465 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9466 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9467 for strncasecmp/strncasecmp_l compilation.
9468 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9469 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9470
8ef4f244
MP
94712011-12-08 Marek Polacek <mpolacek@redhat.com>
9472
9473 [BZ #13484]
9474 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9475 of __asm__.
9476
97ac2654
UD
94772011-12-17 Ulrich Drepper <drepper@gmail.com>
9478
9479 [BZ #13506]
9480 * time/tzfile.c (__tzfile_read): Check values from file header.
9481
91d2a845
WS
94822011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9483
9484 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9485 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9486 * powerpc/powerpc32/dl-start.S: Likewise.
9487 * powerpc/powerpc32/elf/start.S: Likewise.
9488 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9489 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9490 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9491 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9492 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9493 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9494 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9495 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9496 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9497 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9498 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9499 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9500 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9501 * powerpc/powerpc32/memset.S: Likewise.
9502 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9503 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9504 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9505 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9506 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9507 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9508 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9509 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9510 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9511 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9512 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9513 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9514 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9515
a1267ba1
AZ
95162011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9517
9518 * math/libm-test.inc: Added more nearbyint tests.
9519 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9520 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9521 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9522 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9523
ad8ac1bd
RL
95242011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9525
9526 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9527 FD_CLOEXEC.
9528
1d3e4b61
UD
95292011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9530
9531 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9532 Add wcscpy-ssse3 wcscpy-c.
9533 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9534 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9535 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9536 * sysdeps/x86_64/wcschr.S: New file.
9537 * sysdeps/x86_64/wcsrchr.S: New file.
9538 * string/test-strcmp.c: Remove checking of wcscmp function for
9539 wrong alignments.
9540 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9541 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9542 wcsrchr-sse2 wcsrchr-c.
9543 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9544 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9545 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9546 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9547 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9548 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9549 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9550 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9551 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9552 * wcsmbc/wcschr.c (WCSCHR): New macro.
9553
5b330a2d
UD
95542011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9555
9556 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9557 * wcsmbs/test-wcsrchr.c: New file.
9558 * string/test-strrchr.c: Add wcsrchr support.
9559 (WIDE): New macro.
9560 * wcsmbs/test-wcscpy.c: New file.
9561 * string/test-strcpy.c: Add wcscpy support.
9562 (WIDE): New macro.
26428b7c 9563
f039c043
UD
95642011-12-10 Ulrich Drepper <drepper@gmail.com>
9565
9566 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9567 the inner loop.
9568
850fb039
AS
95692011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9570
9571 [BZ #13472]
9572 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9573
4efbd5cb
UD
95742011-12-04 Ulrich Drepper <drepper@gmail.com>
9575
52ff5dd0 9576 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 9577 Minor optimizations.
52ff5dd0 9578
4efbd5cb
UD
9579 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9580 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9581 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9582
8a426e12
UD
95832011-12-03 Ulrich Drepper <drepper@gmail.com>
9584
aff2453d
UD
9585 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9586 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9587 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9588 for gcc to avoid warnings.
9589 * inet/Makefile (tests): Add tst-checks.
9590 * inet/tst-checks.c: New file.
9591
9592 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9593 warning.
9594
9595 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9596 __wmemcmp_sse2.
9597
9598 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9599 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9600
8a426e12
UD
9601 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9602
9bea3473
UD
96032011-12-02 Ulrich Drepper <drepper@gmail.com>
9604
3a965496
UD
9605 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9606 problem.
9607
9bea3473
UD
9608 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9609
f101631b
UD
96102011-11-29 Joseph Myers <joseph@codesourcery.com>
9611
9612 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9613 conditional on GCC version.
9614 (__arch_compare_and_exchange_val_8_acq)
9615 (__arch_compare_and_exchange_val_16_acq)
9616 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9617 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9618 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9619
a98275aa
UD
96202011-12-02 Joseph Myers <joseph@codesourcery.com>
9621
9622 * sysdeps/sh/backtrace.c: New file.
9623
d4cc29a2
AS
96242011-12-02 Andreas Schwab <schwab@redhat.com>
9625
9626 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9627 parenthesis.
9628
6257af2d
AS
96292011-12-01 Andreas Schwab <schwab@redhat.com>
9630
9631 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9632 falling back to utime.
9633
b5f44c1a
AS
96342011-11-30 Andreas Schwab <schwab@redhat.com>
9635
9636 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9637 expectations for float.
9638
f3a6cc0a
AS
96392011-11-29 Andreas Schwab <schwab@redhat.com>
9640
9641 * locale/weight.h (findidx): Add parameter len.
9642 * locale/weightwc.h (findidx): Likewise.
9643 * posix/fnmatch_loop.c (FCT): Adjust caller.
9644 * posix/regcomp.c (build_equiv_class): Likewise.
9645 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9646 * posix/regexec.c (check_node_accept_bytes): Likewise.
9647 * string/strcoll_l.c (STRCOLL): Likewise.
9648 * string/strxfrm_l.c (STRXFRM): Likewise.
9649
9d65ea3a
UD
96502011-11-17 Ulrich Drepper <drepper@gmail.com>
9651
9652 * Makefile.in: Remove CVSOPT handling.
9653 * configure.in: Remove use of AC_REVISION.
9654 * iconvdata/Makefile (distribute): No need to filter out CVS.
9655 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9656 handling.
9657
5583a086
AS
96582011-11-16 Andreas Schwab <schwab@redhat.com>
9659
9660 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9661 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9662 [USE_AS_STRNCASECMP_L]: Likewise.
9663 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9664 NO_TLS_DIRECT_SEG_REFS.
9665 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9666 Fix argument offsets for non-PIC.
9667 [USE_AS_STRNCASECMP_L]: Likewise.
9668 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9669 NO_TLS_DIRECT_SEG_REFS.
9670
d62a8200
UD
96712011-11-15 Ulrich Drepper <drepper@gmail.com>
9672
9d65ea3a 9673 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
9674 O_CLOEXEC.
9675 * locale/loadlocale.c (_nl_load_locale): Likewise.
9676
09f93bd3
AS
96772011-11-15 Andreas Schwab <schwab@redhat.com>
9678
446514f9
AS
9679 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9680 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9681 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9682 (SYSCALL_GETTIME): Set errno on error.
9683
09f93bd3
AS
9684 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9685 count references to noai6ai_cached.
9686
312be3f9
UD
96872011-11-15 Ulrich Drepper <drepper@gmail.com>
9688
9689 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9690
9691 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9692 FD_CLOEXEC for /proc/self/maps.
9693
9694 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9695 FD_CLOEXEC for /proc/meminfo.
9696
9697 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9698 gai.conf.
9699
9700 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9701 FD_CLOEXEC for given file.
9702
9703 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9704
9705 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9706 FD_CLOEXEC for /etc/hosts.
9707 (_gethtent): Likewise.
9708
9709 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9710
9711 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9712 cancellation and set FD_CLOEXEC for /etc/netgroup.
9713
9714 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9715 reading /etc/publickey.
9716
9717 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9718 allow cancellation when reading /etc/group.
9719
9720 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9721 cancellation.
9722 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9723
9724 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9725 when using data file.
9726
9727 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9728
9729 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9730 (write_nis_obj): Use "c" and "e" in fopen.
9731
9732 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9733
9734 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9735
9736 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9737
9738 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9739
9740 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9741 locale.alias.
9742
9743 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9744
9745 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9746
9747 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9748
9749 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9750 file parsing and set FD_CLOEXEC.
9751
82af0fa8
UD
97522011-11-14 Ulrich Drepper <drepper@gmail.com>
9753
9754 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9755
a5fb313c
AS
97562011-11-14 Andreas Schwab <schwab@redhat.com>
9757
9758 * malloc/arena.c (arena_get2): Don't call reused_arena when
9759 _int_new_arena failed.
9760
6abf3465
UD
97612011-11-14 Ulrich Drepper <drepper@gmail.com>
9762
9763 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9764 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9765 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9766 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9767 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9768 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9769 to compile strcasecmp and strncasecmp.
9770 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9771 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9772
9773 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9774
76e3966e
UD
97752011-11-13 Ulrich Drepper <drepper@gmail.com>
9776
9777 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9778 locale-defines.sym to gen-as-const-headers.
9779 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9780 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9781 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9782 to compile strcasecmp and strncasecmp.
9783 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9784 strcasecmp_l and strncasecmp_l.
9785 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9786 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9787 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9788 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9789 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9790 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9791 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9792 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9793 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9794 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9795 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9796
ab26144e
UD
97972011-11-12 Ulrich Drepper <drepper@gmail.com>
9798
7edb22ef
UD
9799 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9800 result of SYSDEP_GETTIME_CPU to retval.
9801 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9802 parameter list to macro. Remove trailing semicolon. Adjust users.
9803
9694fc44
UD
9804 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9805 variable.
9806
8ad89ef8
UD
9807 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9808 mantissa words.
9809 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9810
0c822ef9
UD
9811 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9812 from unused variable.
9813
874e0564
UD
9814 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9815 DWARF definitions.
9816 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9817 for assembling.
9818
3a2edc79
UD
9819 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9820 over namespaces.
9821
f3c2577f
UD
9822 * sunrpc/rpc_prot.c (rejected): Fix case value.
9823
294ce126
UD
9824 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9825 unsigned long long int to avoid warnings in shift.
9826
5e2b63c6
UD
9827 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9828 of use of trans.
9829 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9830 variable tmp.
9831
e7f4b08e
UD
9832 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9833 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9834 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9835
ab26144e
UD
9836 * nis/nis_table.c (nis_list): Use variable of correct type for
9837 result of __follow_path call.
9838
8a6d5255
AZ
98392011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9840
9841 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
9842 of math functions ceil, trunc, floor, round, and sqrt, when
9843 avaliable on the platform.
9844 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9845 name clash.
9846 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9847 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9848 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9849
aaddc98c
MP
98502011-10-30 Marek Polacek <mpolacek@redhat.com>
9851
9852 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9853 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9854
95b7042b
RM
98552011-11-11 Roland McGrath <roland@hack.frob.com>
9856
9857 * include/unistd.h: Fix __readlink return type.
9858 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9859
57769839
UD
98602011-11-11 Ulrich Drepper <drepper@gmail.com>
9861
9862 * stdlib/ucontext.h: Undo last change for makecontext.
9863
edc5984d
AS
98642011-11-11 Andreas Schwab <schwab@redhat.com>
9865
98591e58
AS
9866 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9867
edc5984d
AS
9868 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9869 * setjmp/setjmp.h: Mark functions as non-leaf.
9870 * setjmp/bits/setjmp2.h: Likewise.
9871 * stdlib/ucontext.h: Likewise.
9872
77cdc054
AS
98732011-11-10 Andreas Schwab <schwab@redhat.com>
9874
9875 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9876 (reused_arena): Don't check arena limit.
9877 (arena_get2): Atomically check arena limit.
9878
fe72eebd
UD
98792011-11-08 Ulrich Drepper <drepper@gmail.com>
9880
5f078c32
UD
9881 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9882 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9883
fe72eebd
UD
9884 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9885 instructions.
9886
ae1bc2fa
AS
98872011-11-07 Andreas Schwab <schwab@redhat.com>
9888
7583a88d
AS
9889 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9890 handler when locking.
9891
ae1bc2fa
AS
9892 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9893 Fix size of allocated buffer.
9894
10fb0bfa
AS
98952011-11-04 Andreas Schwab <schwab@redhat.com>
9896
998832a4
AS
9897 [BZ #10103]
9898 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
9899 declarations for long double functions.
9900 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
9901
10fb0bfa
AS
9902 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
9903
3d7ba52b
AS
99042011-11-03 Andreas Schwab <schwab@redhat.com>
9905
a9ae54a1
AS
9906 * nscd/nscd.c (main): Don't start AVC thread until credentials are
9907 installed.
9908
3d7ba52b
AS
9909 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
9910 is disabled.
9911
bc8db248
ST
99122011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9913
9914 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
9915
45b96dd6
AS
99162011-11-01 Andreas Schwab <schwab@linux-m68k.org>
9917
647776f6
AS
9918 * include/alloca.h (stackinfo_alloca_round): Define.
9919 (extend_alloca): Use it.
9920 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
9921 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
9922 here.
9923
d91a8b93
AS
9924 * scripts/check-local-headers.sh: Ignore libaudit.h.
9925
45b96dd6
AS
9926 * nscd/Makefile (extra-objs): Make recursively expanded.
9927
432d41ce
UD
99282011-11-01 Ulrich Drepper <drepper@gmail.com>
9929
34372fc6
UD
9930 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
9931 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9932
fadb59f8
UD
9933 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
9934 * posix/tst-rfc3484-2.c: Likewise.
9935 * posix/tst-rfc3484-3.c: Likewise.
9936
78239589
UD
9937 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9938 process_vm_writev.
9939 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
9940 process_vm_writev.
9941 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
9942 process_vm_writev from libc using GLIBC_2.15 version.
9943
432d41ce
UD
9944 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
9945
02f9c6cf
PP
99462011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9947
9948 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
9949 stack usage.
9950
3a2c0242
UD
99512011-10-31 Ulrich Drepper <drepper@gmail.com>
9952
f4ec4833
UD
9953 [BZ #13367]
9954 * nss/getent.c (initgroups_keys): Show error message in case no group
9955 names are given.
9956
3a2c0242
UD
9957 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
9958 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
9959 __bump_nl_timestamp.
9960 * nscd/connections (nscd_init): When host database is served open
9961 netlink socket and request notification about configuration changes.
9962 (main_loop_poll): Track netlink file descriptor and bump timestamp
9963 in case data becomes available.
9964 (main_loop_epoll): Likewise.
9965 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
9966 (database_pers_head): Add extra_data fileds.
9967 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
9968 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
9969 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
9970 Adjust caller.
9971 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
9972 in6ai data, call __free_in6ai.
9973 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
9974 Add -DHAVE_NETLINK.
9975 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
9976 interface information. Reuse previous data if netlink timestamp
9977 is not changed.
9978 (__bump_nl_timestamp): New function.
9979 (__free_in6ai): New function.
9980
636064eb
UD
99812011-10-30 Ulrich Drepper <drepper@gmail.com>
9982
9983 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
9984 close_not_cancel_no_status here.
9985 (__check_pf): Reorganize code a bit to not call close twice if OOM.
9986
9beb2334
UD
99872011-10-29 Ulrich Drepper <drepper@gmail.com>
9988
6ef76f3b
UD
9989 [BZ #13276]
9990 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
9991 return value.
9992
0ffc4f3e 9993 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
9994 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
9995 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
9996
cb95113e
UD
99972011-07-03 Andreas Jaeger <aj@suse.de>
9998
9999 [BZ #10709]
10000 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10001 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10002 * math/libm-test.inc (sin_test): Add test case.
10003
a1b560ff
UD
100042011-10-29 Ulrich Drepper <drepper@gmail.com>
10005
c9aaface
UD
10006 [BZ #13337]
10007 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10008 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10009
d272e7f1
UD
10010 * elf/chroot_canon.c (chroot_canon): Cleanups.
10011
1bc33071
UD
10012 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10013
1760874d
TJ
10014 [BZ #13335]
10015 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10016 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10017
51d91b18
UD
10018 * string/test-strchr.c: Make usable for strchrnul testing.
10019 * string/test-strchrnul.c: New file.
10020 * string/Makefile (strop-tests): Add strchrnul.
10021
a1b560ff 10022 * po/it.po: Update from translation team.
b611fb81 10023 * po/es.po: Likewise.
a1b560ff 10024
a5b81e1f
UD
100252011-10-28 Ulrich Drepper <drepper@gmail.com>
10026
fd52bc6d
UD
10027 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10028 the three constants needed as parameters. Drop the others.
10029 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10030 __m128i_strloadu_tolower.
52e4b9eb
UD
10031 Create and initialize variable zero and use it in all the places
10032 where _mm_setzero_si128 was used.
fd52bc6d 10033
a5b81e1f
UD
10034 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10035 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10036 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10037 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10038 anymore.
10039 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10040 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10041 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10042 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10043 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10044 __mpranred, __mptan.
10045 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10046 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10047 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10048 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10049 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10050 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10051 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10052 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10053 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10054
b4343346
AS
100552011-10-28 Andreas Schwab <schwab@redhat.com>
10056
0c92d8a8
AS
10057 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10058 redefine if SHARED.
10059 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10060
b4343346
AS
10061 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10062 wide char related routines to wcsmbs subdir.
10063
3871f58f
AS
100642011-10-27 Andreas Schwab <schwab@redhat.com>
10065
10066 [BZ #13344]
10067 * misc/sys/cdefs.h (__THROWNL): Define.
10068 * posix/unistd.h: Use __THREADNL instead of __THREAD
10069 for memory synchronization functions.
10070
94d44d9f
RM
100712011-10-26 Roland McGrath <roland@hack.frob.com>
10072
21b64b15 10073 [BZ #13349]
94d44d9f
RM
10074 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10075 doesn't exist.
10076 * manual/stdio.texi (Obstack Streams): Node removed.
10077
f6ce9294
AS
100782011-10-26 Andreas Schwab <schwab@redhat.com>
10079
80479147
AS
10080 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10081 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10082 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10083
f6ce9294
AS
10084 * math/math_private.h (math_force_eval): Allow non-addressable
10085 arguments.
10086 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10087
618280a1
UD
100882011-10-25 Ulrich Drepper <drepper@gmail.com>
10089
e0016b11
UD
10090 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10091 file is not needed.
10092
10093 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10094 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10095 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10096 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10097 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10098 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10099 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10100 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10101 Add AVX variants.
10102 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10103 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10104 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10105 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10106 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10107 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10108 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10109 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10110 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10111 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10112 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10113 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10114 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10115 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10116 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10117 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10118 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10119 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10120 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10121
10122 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10123 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10124
618280a1
UD
10125 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10126 place. Use VEX encoding when compiling for AVX.
10127
37822576
AS
101282011-10-25 Andreas Schwab <schwab@redhat.com>
10129
1f1e1947
AS
10130 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10131 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10132
37822576
AS
10133 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10134
31ea014d
UD
101352011-10-25 Ulrich Drepper <drepper@gmail.com>
10136
d7826aa1 10137 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10138 useless if() expression.
d7826aa1
UD
10139 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10140 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10141 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10142 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10143 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10144 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10145 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10146 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10147 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10148 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10149 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10150 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10151 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10152 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10153 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10154 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10155 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10156 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10157 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10158
31ea014d
UD
10159 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10160
16437fec
AS
101612011-10-25 Andreas Schwab <schwab@redhat.com>
10162
10163 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10164 condition.
10165 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10166
31d3cc00
UD
101672011-10-25 Ulrich Drepper <drepper@gmail.com>
10168
10169 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10170 .text section. Avoid duplicate constants.
10171 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10172 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10173 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10174 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10175 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10176 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10177 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10178 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10179 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10180 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10181 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10182 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10183 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10184 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10185 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10186 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10187 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10188 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10189 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10190 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10191 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10192 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10193 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10194 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10195 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10196 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10197 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10198 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10199 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10200 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10201 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10202 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10203 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10204 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10205 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10206 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10207 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10208 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10209 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10210 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10211 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10212 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10213 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10214 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10215 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10216
58985aa9
UD
102172011-10-24 Ulrich Drepper <drepper@gmail.com>
10218
202c9deb
UD
10219 * sysdeps/x86_64/dla.h: Move to ...
10220 * sysdeps/x86_64/fpu/dla.h: ...here.
10221 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10222 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10223
af968f62
UD
10224 * config.make.in: Add have-mfma4 entry.
10225 * configure.in: Substitute libc_cv_cc_fma4.
10226 * math/Makefile (dbl-only-routines): Add sincostab.
10227 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10228 Use __sincostab not sincos.
10229 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10230 name is a macro.
10231 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10232 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10233 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10234 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10235 using __copysign.
10236 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10237 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10238 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10239 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10240 and __inv.
10241 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10242 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10243 __copysign.
10244 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10245 define aliases when function name is a macro.
10246 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10247 sysdeps/ieee754/dbl-64/sincos.tbl.
10248 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10249 fma4-enabled routines.
10250 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10251 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10252 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10253 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10254 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10255 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10256 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10257 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10258 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10259 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10260 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10261 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10262 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10263 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10264 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10265 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10266 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10267 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10268 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10269 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10270 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10271 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10272 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10273 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10274 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10275 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10276 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10277 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10278 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10279 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10280
58985aa9
UD
10281 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10282 rename.
10283 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10284 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10285 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10286 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10287 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10288 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10289 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10290 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10291
a201fbcf
AS
102922011-10-24 Andreas Schwab <schwab@redhat.com>
10293
10294 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10295
fc2ee42a
LD
102962011-10-23 Ulrich Drepper <drepper@gmail.com>
10297
bb3129bd
UD
10298 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10299
0275fff8
UD
10300 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10301 prediction.
10302 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10303
2fa2ae85
UD
10304 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10305 Remove unused variable magic_bits.
10306 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10307
fc2ee42a
LD
10308 * string/strnlen.c: Define and use STRNLEN macro.
10309 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10310 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10311 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10312 * wcsmbs/wcslen.c: Define and use WCSLEN.
10313 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10314 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10315 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10316 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10317 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10318 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10319 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10320
ce7dd29f
LD
103212011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10322
10323 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10324 strnlen-sse2-no-bsf.
10325 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10326 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10327 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10328 Add strnlen support.
10329 (USE_AS_STRNLEN): New macro.
10330 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10331 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10332 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10333 * sysdeps/x86_64/wcslen.S: New file.
10334
979c70a3
MZ
103352011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10336
10337 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10338 XMM-moves are used for copying on small sizes.
10339
2d09f82f
LD
103402011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10341
10342 * wcsmbs/Makefile (strop-tests): Add wcschr.
10343 * wcsmbs/test-wcschr.c: New file.
10344 * string/test-strchr.c: Update.
10345 Add wcschr support.
10346 (WIDE): New macro.
10347
619fccca
LD
103482011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10349
2d09f82f 10350 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
10351 * wcsmbs/test-wcslen.c: New file.
10352 * string/test-strlen.c: Update.
10353 Add wcslen support.
10354 (WIDE): New macro.
10355
09f699ea
UD
103562011-10-23 Ulrich Drepper <drepper@gmail.com>
10357
10358 * po/it.po: Update from translation team.
10359
95584d3b
LD
103602011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10361
10362 * sysdeps/x86_64/wcscmp.S: Update.
10363 Fix wrong comparison semantics.
10364 wcscmp shall use signed comparison not unsigned.
10365 Don't use substraction to avoid overflow bug.
10366 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10367 * wcsmbc/wcscmp.c: Likewise.
10368 * string/test-strcmp.c: Likewise.
10369 Add new tests to check cases with negative values.
10370
c8b3296b
UD
103712011-10-23 Ulrich Drepper <drepper@gmail.com>
10372
10373 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10374 * sysdeps/x86_64/dla.h: ...here. New file.
10375 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10376 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10377 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10378 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10379 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10380 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10381 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10382 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10383 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10384
246ad57a
AS
103852011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10386
10387 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10388 __ynl_finite aliases.
10389
a1a87169
UD
103902011-10-22 Ulrich Drepper <drepper@gmail.com>
10391
0d355eb7
UD
10392 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10393
a1a87169
UD
10394 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10395 define DLA_FMA.
10396 [DLA_FMA] (EMULV): Use DLA_FMA.
10397 [DLA_FMA] (MUL12): Use EMULV.
10398 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10399 that are not needed.
10400 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10401 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10402 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10403 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10404 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10405 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10406 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10407
ee2aafe0
AS
104082011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10409
10410 * math/s_nan.c: Undef __nan.
10411 * math/s_nanf.c: Undef __nanf.
10412 * math/s_nanl.c: Undef __nanl.
10413 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10414 "math_private.h".
10415
bc62c2fb
UD
104162011-10-22 Ulrich Drepper <drepper@gmail.com>
10417
77425c63
UD
10418 * math/s_catan.c: Add branch predictions.
10419 * math/s_catanf.c: Likewise.
10420 * math/s_catanh.c: Likewise.
10421 * math/s_catanhf.c: Likewise.
10422 * math/s_catanhl.c: Likewise.
10423 * math/s_catanl.c: Likewise.
10424 * math/s_cexp.c: Likewise.
10425 * math/s_cexpf.c: Likewise.
10426 * math/s_cexpl.c: Likewise.
10427 * math/s_clog.c: Likewise.
10428 * math/s_clog10.c: Likewise.
10429 * math/s_clog10f.c: Likewise.
10430 * math/s_clog10l.c: Likewise.
10431 * math/s_clogf.c: Likewise.
10432 * math/s_clogl.c: Likewise.
10433 * math/s_csqrt.c: Likewise.
10434 * math/s_csqrtf.c: Likewise.
10435 * math/s_csqrtl.c: Likewise.
10436 * math/s_ctanf.c: Likewise.
10437 * math/s_ctanh.c: Likewise.
10438 * math/s_ctanhf.c: Likewise.
10439 * math/s_ctanhl.c: Likewise.
10440 * math/s_ctanl.c: Likewise.
10441
bc62c2fb
UD
10442 * math/math_private.h: Define __nan, __nanf, __nanl.
10443 * math/s_cacosh.c: Include <math_private.h>.
10444 * math/s_cacoshl.c: Likewise.
10445 * math/s_casinh.c: Likewise.
10446 * math/s_casinhf.c: Likewise.
10447 * math/s_casinhl.c: Likewise.
10448 * math/s_ccos.c: Rely entire on ccosh.
10449 * math/s_ccosf.c: Rely entire on ccoshf.
10450 * math/s_ccosl.c: Rely entirely on ccoshl.
10451 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10452 Remove tests for FE_INVALID.
10453 * math/s_ccoshf.c: Likewise.
10454 * math/s_ccoshl.c: Likewise.
10455 * math/s_csin.c: Likewise.
10456 * math/s_csinf.c: Likewise.
10457 * math/s_csinh.c Likewise.
10458 * math/s_csinhf.c: Likewise.
10459 * math/s_csinhl.c: Likewise.
10460 * math/s_csinl.c: Likewise.
10461 * math/s_ctan.c: Likewise.
10462 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10463 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10464 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10465
8ec250a4
UD
104662011-10-21 Ulrich Drepper <drepper@gmail.com>
10467
c196fed8
UD
10468 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10469 compilation problems.
10470
8ec250a4
UD
10471 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10472 __builtin_expect.
10473
8d4f46c6
UD
104742011-10-20 Ulrich Drepper <drepper@gmail.com>
10475
ed72b654
UD
10476 * sysdeps/i386/configure.in: Test for -mfma4 option.
10477 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10478 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10479 COMMON_CPUID_INDEX_80000001.
10480 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10481 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10482 use it if FMA3 is not supported.
10483 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10484
8d4f46c6
UD
10485 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10486 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10487
d45c60c2
AS
104882011-10-20 Andreas Schwab <schwab@redhat.com>
10489
10490 [BZ #12892]
10491 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10492 it would create a cycle with a link time dependency.
10493
d9a4d2ab
UD
104942011-10-19 Ulrich Drepper <drepper@gmail.com>
10495
855d1560
UD
10496 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10497 instruction.
10498 * string/Makefile (strop-tests): Add rawmemchr.
10499 * string/test-rawmemchr.c: New file.
10500
d9a4d2ab
UD
10501 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10502 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10503 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10504 when compiling str{,n}casecmp and when AVX is available. Hook up
10505 new optimized code in initializers.
10506
8f3b1ffe
AS
105072011-10-19 Andreas Schwab <schwab@redhat.com>
10508
10509 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10510 __feraiseexcept instead of feraiseexcept.
10511
d38f1dba
UD
105122011-10-18 Ulrich Drepper <drepper@gmail.com>
10513
d9a8d0ab
UD
10514 * math/math_private.h: Define defaults for libc_fetestexcept and
10515 libc_feupdateenv.
10516 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10517 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10518 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10519 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10520 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10521 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10522 libc_fetestexcept and libc_feupdateenv.
10523
4855e3dd
UD
10524 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10525 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10526 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10527 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10528 libc_feholdexcept_setround.
10529
581d30e3
UD
10530 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10531 Add s_nearbyint-c and s_nearbyintf-c.
10532 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10533 nearbyintf inlines.
10534 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10535 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10536 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10537 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10538
d38f1dba
UD
10539 * math/math_private.h: Define defaults for libc_fegetround,
10540 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10541 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10542 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10543 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10544 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10545 standard functions.
10546 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10547 Remove comments and hacks for old compiler versions.
10548 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10549 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10550 libc_feholdexceptl.
10551
caa6c9d8
AS
105522011-10-18 Andreas Schwab <schwab@redhat.com>
10553
10554 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
10555 (__feraiseexcept_renamed): Add __NTH.
10556 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
10557 namespace violations.
10558
97c066e6
UD
105592011-10-17 Ulrich Drepper <drepper@gmail.com>
10560
99ce7b04
UD
10561 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10562
1004d182
UD
10563 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10564
228a984d
UD
10565 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10566 recently added interfaces.
10567 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10568
c8553a6a
UD
10569 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10570 about macro parameter expansion.
10571
ed22dcf6
UD
10572 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10573 __NO_MATH_INLINES is defined. Cleanups.
10574
10575 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10576 and __floorf is target has SSE4.1.
10577 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10578 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10579 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10580 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10581
b171c137
UD
10582 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10583 name.
10584 (floorf): Likewise.
10585
97c066e6
UD
10586 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10587
629f62ef
AS
105882011-10-17 Andreas Schwab <schwab@redhat.com>
10589
49a43d80
AS
10590 * misc/sys/cdefs.h: Fix last change.
10591
629f62ef
AS
10592 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10593 database lookup.
10594
e453f6cd
UD
105952011-10-16 Ulrich Drepper <drepper@gmail.com>
10596
aa78043a
UD
10597 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10598
ad0f5cad
UD
10599 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10600 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10601 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10602 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10603 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10604 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10605 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10606 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10607 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10608 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10609 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10610 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10611 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10612 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10613 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10614 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10615 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10616 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10617 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10618 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10619 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10620 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10621
10622 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10623 ceil, ceilf, floor, floorf.
10624
10625 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10626 Perform IRELATIVE relocations last.
10627
e453f6cd
UD
10628 * elf/do-rel.h: Add another parameter nrelative, replacing the
10629 local variable with the same name. Change name of the function
10630 to end in Rel or Rela (uppercase).
10631 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10632 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10633 elf_dynamic_do_##reloc function.
10634
fd5bdc09
UD
106352011-10-15 Ulrich Drepper <drepper@gmail.com>
10636
79b195b5
UD
10637 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10638 is sufficient, at least on modern CPUs.
10639
d4a28569
UD
10640 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10641
b61099b5
UD
10642 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10643 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10644
bcf01e6d
UD
10645 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10646 __expl_finite.
10647 * math/bits/math-finite.h: Add entries for exp.
10648 * math/e_expl.c: Add __*_finite alias.
10649 * sysdeps/i386/fpu/e_exp.S: Likewise.
10650 * sysdeps/i386/fpu/e_expf.S: Likewise.
10651 * sysdeps/i386/fpu/e_expl.c: Likewise.
10652 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10653 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10654 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10655 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10656 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10657 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10658 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10659
ba1a0d59
UD
10660 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10661 is sufficient, at least on modern CPUs.
10662
fd5bdc09
UD
10663 * ctype/ctype-info.c (__ctype_init): Define.
10664 * include/ctype.h (__ctype_init): Declare.
10665 (__ctype_b_loc): The variable is always initialized.
10666 (__ctype_toupper_loc): Likewise.
10667 (__ctype_tolower_loc): Likewise.
10668 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10669 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10670
7872cfb0
AS
106712011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10672
b468825a
AS
10673 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10674
7872cfb0
AS
10675 * configure.in: Also look in $cxxmachine/include for C++ system
10676 headers.
10677
be13f7bf
LD
106782011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10679
10680 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10681 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10682 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10683 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10684 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10685 (USE_AS_WMEMCMP): New macro.
10686 Fixing indents.
10687 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10688 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10689 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10690 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10691 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10692 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10693 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10694 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10695 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10696 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10697 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10698 (USE_AS_WMEMCMP): New macro.
10699 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10700 * sysdeps/string/test-memcmp.c: Update.
10701 Fix simple_wmemcmp.
10702 Add new tests.
10703 * wcsmbs/wmemcmp.c: Update.
10704 (WMEMCMP): New macro.
10705 Fix overflow bug.
10706
556a2007
AJ
107072011-10-12 Andreas Jaeger <aj@suse.de>
10708
10709 [BZ #13268]
10710 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10711
538faaa7
UD
107122011-10-15 Ulrich Drepper <drepper@gmail.com>
10713
ab6737ff
UD
10714 * libio/iofwide.c (do_length): Avoid warning.
10715
538faaa7
UD
10716 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10717
396a21b1
UD
107182011-10-14 Ulrich Drepper <drepper@gmail.com>
10719
cdf2901f
UD
10720 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10721
38ad40ce
UD
10722 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10723 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10724 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10725 * sysdeps/i386/i686/fpu/e_log.S: New file.
10726 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10727 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10728
396a21b1
UD
10729 * ctype/ctype.h: Add support for inlined isXXX functions when
10730 compiling C++ code.
10731
6b1f68c9
AS
107322011-10-14 Andreas Schwab <schwab@redhat.com>
10733
349290c0
AS
10734 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10735
6b1f68c9
AS
10736 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10737
f2282d42
RM
107382011-10-13 Roland McGrath <roland@hack.frob.com>
10739
10740 [BZ #13291]
10741 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10742
5298ffa8
AS
107432011-10-13 Andreas Schwab <schwab@redhat.com>
10744
714fad23
AS
10745 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10746 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10747 feraiseexcept.
10748
81dcc7fb
AS
10749 * sysdeps/x86_64/memrchr.S: Check for zero size.
10750
5298ffa8
AS
10751 * string/stratcliff.c: Add memrchr tests.
10752
951fbcec
LD
107532011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10754
10755 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10756 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10757 rawmemchr-sse2 rawmemchr-sse2-bsf.
10758 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10759 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10760 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10761 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10762 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10763 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10764 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10765 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10766 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10767 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10768 * string/memrchr.c (MEMRCHR): New macro.
10769
0ac5ae23
UD
107702011-10-12 Ulrich Drepper <drepper@gmail.com>
10771
10772 Add integration with gcc's -ffinite-math-only and optimize wrapper
10773 functions in libm.
10774 * Versions.def: Define GLIBC_2.15 version for libm.
10775 * math/Makefile (headers): Add bits/math-finite.h.
10776 * math/bits/math-finite.h: New file.
10777 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10778 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10779 * math/e_acoshl.c: Add __*_finite alias.
10780 * math/e_acosl.c: Likewise.
10781 * math/e_asinl.c: Likewise.
10782 * math/e_atan2l.c: Likewise.
10783 * math/e_atanhl.c: Likewise.
10784 * math/e_coshl.c: Likewise.
10785 * math/e_exp10.c: Likewise.
10786 * math/e_exp10f.c: Likewise.
10787 * math/e_exp10l.c: Likewise.
10788 * math/e_exp2l.c: Likewise.
10789 * math/e_fmodl.c: Likewise.
10790 * math/e_gammal_r.c: Likewise.
10791 * math/e_hypotl.c: Likewise.
10792 * math/e_j0l.c: Likewise.
10793 * math/e_j1l.c: Likewise.
10794 * math/e_jnl.c: Likewise.
10795 * math/e_lgammal_r.c: Likewise.
10796 * math/e_log10l.c: Likewise.
10797 * math/e_log2l.c: Likewise.
10798 * math/e_logl.c: Likewise.
10799 * math/e_powl.c: Likewise.
10800 * math/e_sinhl.c: Likewise.
10801 * math/e_sqrtl.c: Likewise.
10802 * math/e_scalb.c: Completely rewritten and optimized.
10803 * math/e_scalbf.c: Likewise.
10804 * math/e_scalbl.c: Likewise.
10805 * math/w_acos.c: Likewise.
10806 * math/w_acosf.c: Likewise.
10807 * math/w_acosl.c: Likewise.
10808 * math/w_acosh.c: Likewise.
10809 * math/w_acoshf.c: Likewise.
10810 * math/w_acoshl.c: Likewise.
10811 * math/w_asin.c: Likewise.
10812 * math/w_asinf.c: Likewise.
10813 * math/w_asinl.c: Likewise.
10814 * math/w_atan2.c: Likewise.
10815 * math/w_atan2f.c: Likewise.
10816 * math/w_atan2l.c: Likewise.
10817 * math/w_atanh.c: Likewise.
10818 * math/w_atanhf.c: Likewise.
10819 * math/w_atanhl.c: Likewise.
10820 * math/w_exp10.c: Likewise.
10821 * math/w_exp10f.c: Likewise.
10822 * math/w_exp10l.c: Likewise.
10823 * math/w_fmod.c: Likewise.
10824 * math/w_fmodf.c: Likewise.
10825 * math/w_fmodl.c: Likewise.
10826 * math/w_j0.c: Likewise.
10827 * math/w_j0f.c: Likewise.
10828 * math/w_j0l.c: Likewise.
10829 * math/w_j1.c: Likewise.
10830 * math/w_j1f.c: Likewise.
10831 * math/w_j1l.c: Likewise.
10832 * math/w_jn.c: Likewise.
10833 * math/w_jnf.c: Likewise.
10834 * math/w_log.c: Likewise.
10835 * math/w_logf.c: Likewise.
10836 * math/w_logl.c: Likewise.
10837 * math/w_log10.c: Likewise.
10838 * math/w_log10f.c: Likewise.
10839 * math/w_log10l.c: Likewise.
10840 * math/w_log2.c: Likewise.
10841 * math/w_log2f.c: Likewise.
10842 * math/w_log2l.c: Likewise.
10843 * math/w_pow.c: Likewise.
10844 * math/w_powf.c: Likewise.
10845 * math/w_powl.c: Likewise.
10846 * math/w_remainder.c: Likewise.
10847 * math/w_remainderf.c: Likewise.
10848 * math/w_remainderl.c: Likewise.
10849 * math/w_scalb.c: Likewise.
10850 * math/w_scalbf.c: Likewise.
10851 * math/w_scalbl.c: Likewise.
10852 * math/w_sqrt.c: Likewise.
10853 * math/w_sqrtf.c: Likewise.
10854 * math/w_sqrtl.c: Likewise.
10855 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10856 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10857 used.
10858 * math/math_private.h: Declare __kernel_standard_f.
10859 * math/w_cosh.c: Remove cruft and optimize a bit.
10860 * math/w_coshf.c: Likewise.
10861 * math/w_coshl.c: Likewise.
10862 * math/w_exp2.c: Likewise.
10863 * math/w_exp2f.c: Likewise.
10864 * math/w_exp2l.c: Likewise.
10865 * math/w_hypot.c: Likewise.
10866 * math/w_hypotf.c: Likewise.
10867 * math/w_hypotl.c: Likewise.
10868 * math/w_lgamma.c: Likewise.
10869 * math/w_lgamma_r.c: Likewise.
10870 * math/w_lgammaf.c: Likewise.
10871 * math/w_lgammaf_r.c: Likewise.
10872 * math/w_lgammal.c: Likewise.
10873 * math/w_lgammal_r.c: Likewise.
10874 * math/w_sinh.c: Likewise.
10875 * math/w_sinhf.c: Likewise.
10876 * math/w_sinhl.c: Likewise.
10877 * math/w_tgamma.c: Likewise.
10878 * math/w_tgammaf.c: Likewise.
10879 * math/w_tgammal.c: Likewise.
10880 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10881 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10882 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10883 Minor optimizations. Pretty printing. Remove cruft.
10884 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10885 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10886 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10887 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10888 * sysdeps/i386/fpu/e_acosl.c: Likewise.
10889 * sysdeps/i386/fpu/e_asin.S: Likewise.
10890 * sysdeps/i386/fpu/e_asinf.S: Likewise.
10891 * sysdeps/i386/fpu/e_atan2.S: Likewise.
10892 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
10893 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
10894 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10895 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10896 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10897 * sysdeps/i386/fpu/e_exp10.S: Likewise.
10898 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
10899 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
10900 * sysdeps/i386/fpu/e_exp2.S: Likewise.
10901 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
10902 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
10903 * sysdeps/i386/fpu/e_fmod.S: Likewise.
10904 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
10905 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
10906 * sysdeps/i386/fpu/e_hypot.S: Likewise.
10907 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
10908 * sysdeps/i386/fpu/e_log.S: Likewise.
10909 * sysdeps/i386/fpu/e_log10.S: Likewise.
10910 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10911 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10912 * sysdeps/i386/fpu/e_log2.S: Likewise.
10913 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10914 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10915 * sysdeps/i386/fpu/e_logf.S: Likewise.
10916 * sysdeps/i386/fpu/e_logl.S: Likewise.
10917 * sysdeps/i386/fpu/e_pow.S: Likewise.
10918 * sysdeps/i386/fpu/e_powf.S: Likewise.
10919 * sysdeps/i386/fpu/e_powl.S: Likewise.
10920 * sysdeps/i386/fpu/e_remainder.S: Likewise.
10921 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
10922 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
10923 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10924 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10925 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10926 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
10927 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
10928 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
10929 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10930 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10931 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10932 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10933 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10934 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10935 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10936 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10937 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10938 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10939 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10940 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10941 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10942 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10943 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10944 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10945 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10946 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10947 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10948 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10949 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10950 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10951 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10952 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10953 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10954 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10955 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10956 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10957 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10958 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10959 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10960 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10961 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10962 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10963 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10964 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10965 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10966 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10967 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10968 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10969 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10970 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10971 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10972 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10973 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10974 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10975 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10976 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10977 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10978 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10979 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10980 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10981 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10982 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10983 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10984 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10985 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10986 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10987 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10988 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10989 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10990 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10991 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10992 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10993 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10994 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10995 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10996 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10997 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10998 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10999 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11000 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11001 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11002 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11003 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11004 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11005 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11006 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11007 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11008 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11009 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11010 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11011 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11012 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11013 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11014 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11015 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11016 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11017 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11018 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11019 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11020 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11021 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11022 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11023 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11024 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11025 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11026 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11027 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11028 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11029 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11030 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11031 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11032 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11033 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11034 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11035 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11036 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11037 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11038 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11039 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11040 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11041 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11042 (__isnanf): Likewise.
11043 (__isinf_ns): Likewise.
11044 (__isinf_nsf): Likewise.
11045 (__finite): Likewise.
11046 (__finitef): Likewise.
11047 (__ieee754_sqrt): Define as macro.
11048 (__ieee754_sqrtf): Define as macro.
11049 (__ieee754_sqrtl): Define as macro.
11050 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11051 inlined copy.
11052 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11053 __FINITE_MATH_ONLY__ consistent.
11054 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11055
12cc2fcd
AS
110562011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11057
a843a204
AS
11058 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11059 of rawmemchr.
11060
12cc2fcd
AS
11061 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11062
c853acd5
UD
110632011-10-09 Ulrich Drepper <drepper@gmail.com>
11064
11065 * po/ja.po: Update from translation team.
11066
c658d255
RM
110672011-10-08 Roland McGrath <roland@hack.frob.com>
11068
110946e4
RM
11069 * locale/programs/locarchive.c (prepare_address_space): New function.
11070 (create_archive, enlarge_archive, open_archive): Use it.
11071
50604220
RM
11072 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11073 inside [SHARED], where it is used.
11074
c658d255
RM
11075 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11076
11077 * nss/getent.c (netgroup_keys): Remove unused variable.
11078 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11079
6a621eb7
UD
110802011-10-08 Ulrich Drepper <drepper@gmail.com>
11081
7edb55ce
UD
11082 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11083 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11084 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11085 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11086 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11087 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11088 * math/Makefile (libm-calls): Add s_isinf_ns.
11089 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11090 * math/multc3.c: Likewise.
11091 * math/s_casin.c: Likewise.
11092 * math/s_casinf.c: Likewise.
11093 * math/s_casinl.c: Likewise.
11094 * math/s_ccos.c: Likewise.
11095 * math/s_ccosf.c: Likewise.
11096 * math/s_ccosl.c: Likewise.
11097 * math/s_ctan.c: Likewise.
11098 * math/s_ctanf.c: Likewise.
11099 * math/s_ctanh.c: Likewise.
11100 * math/s_ctanhf.c: Likewise.
11101 * math/s_ctanhl.c: Likewise.
11102 * math/s_ctanl.c: Likewise.
11103 * math/w_fmod.c: Likewise.
11104 * math/w_fmodf.c: Likewise.
11105 * math/w_fmodl.c: Likewise.
11106 * math/w_remainder.c: Likewise.
11107 * math/w_remainderf.c: Likewise.
11108 * math/w_remainderl.c: Likewise.
11109 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11110 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11111 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11112 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11113 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11114 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11115 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11116 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11117
187da0ae
UD
11118 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11119 of the number.
11120 * stdio-common/printf_fphex.c: Likewise.
11121 * stdio-common/printf_size.c: Likewise.
11122
9277c064
UD
11123 * math/e_exp10.c: Include math_private.h using <...> not "...".
11124 * math/e_exp10f.c: Likewise.
11125 * math/e_exp10l.c: Likewise.
11126 * math/e_exp2l.c: Likewise.
11127 * math/e_j0l.c: Likewise.
11128 * math/e_j1l.c: Likewise.
11129 * math/e_jnl.c: Likewise.
11130 * math/e_lgammal_r.c: Likewise.
11131 * math/e_rem_pio2l.c: Likewise.
11132 * math/e_scalb.c: Likewise.
11133 * math/e_scalbf.c: Likewise.
11134 * math/e_scalbl.c: Likewise.
11135 * math/k_cosl.c: Likewise.
11136 * math/k_sinl.c: Likewise.
11137 * math/k_tanl.c: Likewise.
11138 * math/s_cacoshf.c: Likewise.
11139 * math/s_catan.c: Likewise.
11140 * math/s_catanf.c: Likewise.
11141 * math/s_catanh.c: Likewise.
11142 * math/s_catanhf.c: Likewise.
11143 * math/s_catanhl.c: Likewise.
11144 * math/s_catanl.c: Likewise.
11145 * math/s_ccosh.c: Likewise.
11146 * math/s_ccoshf.c: Likewise.
11147 * math/s_ccoshl.c: Likewise.
11148 * math/s_cexp.c: Likewise.
11149 * math/s_cexpf.c: Likewise.
11150 * math/s_cexpl.c: Likewise.
11151 * math/s_clog.c: Likewise.
11152 * math/s_clog10.c: Likewise.
11153 * math/s_clog10f.c: Likewise.
11154 * math/s_clog10l.c: Likewise.
11155 * math/s_clogf.c: Likewise.
11156 * math/s_clogl.c: Likewise.
11157 * math/s_csin.c: Likewise.
11158 * math/s_csinf.c: Likewise.
11159 * math/s_csinh.c: Likewise.
11160 * math/s_csinhf.c: Likewise.
11161 * math/s_csinhl.c: Likewise.
11162 * math/s_csinl.c: Likewise.
11163 * math/s_csqrt.c: Likewise.
11164 * math/s_csqrtf.c: Likewise.
11165 * math/s_csqrtl.c: Likewise.
11166 * math/s_ctan.c: Likewise.
11167 * math/s_ctanf.c: Likewise.
11168 * math/s_ctanh.c: Likewise.
11169 * math/s_ctanhf.c: Likewise.
11170 * math/s_ctanhl.c: Likewise.
11171 * math/s_ctanl.c: Likewise.
11172 * math/s_ldexp.c: Likewise.
11173 * math/s_ldexpf.c: Likewise.
11174 * math/s_ldexpl.c: Likewise.
11175 * math/s_significand.c: Likewise.
11176 * math/s_significandf.c: Likewise.
11177 * math/s_significandl.c: Likewise.
11178 * math/w_acos.c: Likewise.
11179 * math/w_acosf.c: Likewise.
11180 * math/w_acosh.c: Likewise.
11181 * math/w_acoshf.c: Likewise.
11182 * math/w_acoshl.c: Likewise.
11183 * math/w_acosl.c: Likewise.
11184 * math/w_asin.c: Likewise.
11185 * math/w_asinf.c: Likewise.
11186 * math/w_asinl.c: Likewise.
11187 * math/w_atan2.c: Likewise.
11188 * math/w_atan2f.c: Likewise.
11189 * math/w_atan2l.c: Likewise.
11190 * math/w_atanh.c: Likewise.
11191 * math/w_atanhf.c: Likewise.
11192 * math/w_atanhl.c: Likewise.
11193 * math/w_cosh.c: Likewise.
11194 * math/w_coshf.c: Likewise.
11195 * math/w_coshl.c: Likewise.
11196 * math/w_dremf.c: Likewise.
11197 * math/w_exp10.c: Likewise.
11198 * math/w_exp10f.c: Likewise.
11199 * math/w_exp10l.c: Likewise.
11200 * math/w_exp2.c: Likewise.
11201 * math/w_exp2f.c: Likewise.
11202 * math/w_fmod.c: Likewise.
11203 * math/w_fmodf.c: Likewise.
11204 * math/w_fmodl.c: Likewise.
11205 * math/w_hypot.c: Likewise.
11206 * math/w_hypotf.c: Likewise.
11207 * math/w_hypotl.c: Likewise.
11208 * math/w_j0.c: Likewise.
11209 * math/w_j0f.c: Likewise.
11210 * math/w_j0l.c: Likewise.
11211 * math/w_j1.c: Likewise.
11212 * math/w_j1f.c: Likewise.
11213 * math/w_j1l.c: Likewise.
11214 * math/w_jn.c: Likewise.
11215 * math/w_jnf.c: Likewise.
11216 * math/w_jnl.c: Likewise.
11217 * math/w_lgamma.c: Likewise.
11218 * math/w_lgamma_r.c: Likewise.
11219 * math/w_lgammaf.c: Likewise.
11220 * math/w_lgammaf_r.c: Likewise.
11221 * math/w_lgammal.c: Likewise.
11222 * math/w_lgammal_r.c: Likewise.
11223 * math/w_log.c: Likewise.
11224 * math/w_log10.c: Likewise.
11225 * math/w_log10f.c: Likewise.
11226 * math/w_log10l.c: Likewise.
11227 * math/w_log2.c: Likewise.
11228 * math/w_log2f.c: Likewise.
11229 * math/w_log2l.c: Likewise.
11230 * math/w_logf.c: Likewise.
11231 * math/w_logl.c: Likewise.
11232 * math/w_pow.c: Likewise.
11233 * math/w_powf.c: Likewise.
11234 * math/w_powl.c: Likewise.
11235 * math/w_remainder.c: Likewise.
11236 * math/w_remainderf.c: Likewise.
11237 * math/w_remainderl.c: Likewise.
11238 * math/w_scalb.c: Likewise.
11239 * math/w_scalbf.c: Likewise.
11240 * math/w_scalbl.c: Likewise.
11241 * math/w_sinh.c: Likewise.
11242 * math/w_sinhf.c: Likewise.
11243 * math/w_sinhl.c: Likewise.
11244 * math/w_sqrt.c: Likewise.
11245 * math/w_sqrtf.c: Likewise.
11246 * math/w_sqrtl.c: Likewise.
11247 * math/w_tgamma.c: Likewise.
11248 * math/w_tgammaf.c: Likewise.
11249 * math/w_tgammal.c: Likewise.
11250
6a621eb7
UD
11251 * po/ja.po: Update from translation team.
11252
bf582445
AJ
112532011-09-29 Andreas Jaeger <aj@suse.de>
11254
f9efbf3a
AJ
11255 [BZ #13179]
11256 * sunrpc/netname.c (netname2host): Fix logic.
11257
bf582445
AJ
11258 [BZ #6779]
11259 [BZ #6783]
11260 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11261 correctly.
11262 * math/w_remainder.c (__remainder): Likewise.
11263 * math/w_remainderf.c (__remainderf): Likewise.
11264 * math/libm-test.inc (remainder_test): Add test cases.
11265
48693bea
AK
112662011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11267
11268 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11269 sdiv_qrnnd.
11270
42622229
LD
112712011-10-07 Ulrich Drepper <drepper@gmail.com>
11272
11273 * string/test-memcmp.c: Avoid unncessary #defines.
11274 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11275
093ecf92
LD
112762011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11277
11278 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11279 Use new sse2 version for core i3 - i7 as it's faster
11280 than sse42 version.
11281 (bit_Prefer_PMINUB_for_stringop): New.
11282 * sysdeps/x86_64/rawmemchr.S: Update.
11283 Replace with faster SSE2 version.
11284 * sysdeps/x86_64/memrchr.S: New file.
11285 * sysdeps/x86_64/memchr.S: Update.
11286 Replace with faster SSE2 version.
11287
fde56e5c
MP
112882011-09-12 Marek Polacek <mpolacek@redhat.com>
11289
11290 * elf/dl-load.c (lose): Add cast to avoid warning.
11291
21fd49a9
UD
112922011-10-07 Ulrich Drepper <drepper@gmail.com>
11293
5a06e643
UD
11294 * po/ca.po: Update from translation team.
11295
684ae515
UD
11296 * inet/getnetgrent_r.c: Hook up nscd.
11297 * nscd/Makefile (routines): Add nscd_netgroup.
11298 (nscd-modules): Add netgroupcache.
11299 (CFLAGS-netgroupcache.c): Define.
11300 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11301 (cache_search): Add const to second parameter.
11302 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11303 INNETGR.
11304 (dbs): Add netgrdb entry.
11305 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11306 (verify_persistent_db): Handle netgrdb.
11307 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11308 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11309 GETFDNETGR.
11310 (netgroup_response_header): Define.
11311 (innetgroup_response_header): Define.
11312 (datahead): Add netgroup_response_header and innetgroup_response_header
11313 elements.
11314 * nscd/nscd.conf: Add entries for netgroup cache.
11315 * nscd/nscd.h (dbtype): Add netgrdb.
11316 (_PATH_NSCD_NETGROUP_DB): Define.
11317 (netgroup_iov_disabled): Declare.
11318 (xmalloc, xcalloc, xrealloc): Move declarations here.
11319 (cache_search): Adjust prototype.
11320 Add netgroup-related prototypes.
11321 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11322 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11323 (__nscd_innetgr): Declare.
11324 * nscd/selinux.c (perms): Use access_vector_t as element type and
11325 add netgroup-related initializers.
11326 * nscd/netgroupcache.c: New file.
11327 * nscd/nscd_netgroup.c: New file.
11328 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11329 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11330 For four parameters use innetgr.
11331 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11332 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11333 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11334 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11335
21fd49a9
UD
11336 * nscd/connections.c (register_traced_file): Don't register file
11337 for disabled databases.
11338
054c0457
UD
113392011-10-06 Ulrich Drepper <drepper@gmail.com>
11340
32b63198
UD
11341 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11342
054c0457
UD
11343 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11344 from tree and freeing node.
11345
64031225
JO
113462011-09-25 Jiri Olsa <jolsa@redhat.com>
11347
11348 * nss/nsswitch.c (__nss_database_lookup): Handle
11349 nss_parse_service_list out of memory case.
11350
0490345c
JO
113512011-09-15 Jiri Olsa <jolsa@redhat.com>
11352
11353 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11354 out of memory case.
11355
3a62d00d
AS
113562011-10-04 Andreas Schwab <schwab@redhat.com>
11357
11358 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11359 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11360 pass it down.
11361 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11362 elf_machine_rela, elf_machine_lazy_rel.
11363 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11364 (ELF_DYNAMIC_DO_REL): Likewise.
11365 (ELF_DYNAMIC_DO_RELA): Likewise.
11366 (ELF_DYNAMIC_RELOCATE): Likewise.
11367 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11368 to ELF_DYNAMIC_DO_REL.
11369 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11370 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11371 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11372 elf_machine_rela.
11373 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11374 skip_ifunc, don't call ifunc function if non-zero.
11375 (elf_machine_rela): Likewise.
11376 (elf_machine_lazy_rel): Likewise.
11377 (elf_machine_lazy_rela): Likewise.
11378 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11379 (elf_machine_lazy_rel): Likewise.
11380 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11381 Likewise.
11382 (elf_machine_lazy_rel): Likewise.
11383 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11384 Likewise.
11385 (elf_machine_lazy_rel): Likewise.
11386 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11387 (elf_machine_lazy_rel): Likewise.
11388 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11389 (elf_machine_lazy_rel): Likewise.
11390 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11391 (elf_machine_lazy_rel): Likewise.
11392 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11393 (elf_machine_lazy_rel): Likewise.
11394 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11395 (elf_machine_lazy_rel): Likewise.
11396 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11397 (elf_machine_lazy_rel): Likewise.
11398
68577918
UD
113992011-09-28 Ulrich Drepper <drepper@gmail.com>
11400
11401 * nss/nss_files/files-init.c (_nss_files_init): Use static
11402 initialization for all the *_traced_file variables.
11403
68822d74
AS
114042011-09-28 Andreas Schwab <schwab@redhat.com>
11405
11406 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11407
2056100b
RM
114082011-09-27 Roland McGrath <roland@hack.frob.com>
11409
11410 [BZ #13226]
11411 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11412
32c76b63
AS
114132011-09-27 Andreas Schwab <schwab@redhat.com>
11414
11415 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11416 Reread the line before reparsing it.
11417
bf972c9d
AS
114182011-09-26 Andreas Schwab <schwab@redhat.com>
11419
11420 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11421
e057a1b5
JM
114222011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11423 Maxim Kuvyrkov <maxim@codesourcery.com>
11424 Joseph Myers <joseph@codesourcery.com>
11425
11426 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11427 if needed for __stack_chk_guard.
11428
bc7e1c36
RM
114292011-09-19 Roland McGrath <roland@hack.frob.com>
11430
ecb1482f
RM
11431 * sysdeps/posix/spawni.c (script_execute): Always define it.
11432 It will be optimized away if unused.
11433 (maybe_script_execute): New function.
11434 (__spawni): Call it.
11435
bc7e1c36
RM
11436 * Makerules: Don't include tls.make.
11437 (config-tls): Always set to thread.
11438 * tls.make.c: File removed.
11439
1c3b002b
MF
114402011-09-19 Mike Frysinger <vapier@gentoo.org>
11441
11442 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11443 * config.make.in (CPPFLAGS-config): New substituted variable.
11444
2840865d
UD
114452011-09-15 Ulrich Drepper <drepper@gmail.com>
11446
88738eb6
UD
11447 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11448
cbf645a6 11449 [BZ #13192]
2840865d
UD
11450 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11451 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11452
b402e91a
RM
114532011-09-15 Roland McGrath <roland@hack.frob.com>
11454
11455 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11456 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11457 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11458 (CALL_FAIL): Likewise.
11459 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11460 (CALL_FAIL): Macro removed.
11461 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11462
4c1a1f71
UD
114632011-09-15 Ulrich Drepper <drepper@gmail.com>
11464
11465 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11466 for __FINITE_MATH_ONLY__ == 1.
11467
edc121be
AS
114682011-09-15 Andreas Schwab <schwab@redhat.com>
11469
11470 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11471 __ieee754_sqrt instead of sqrt.
11472 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11473 __ieee754_sqrtf instead of sqrtf.
11474 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11475 __floorf instead of floorf.
11476 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11477 __floorf, __truncf instead of floorf, truncf.
11478
cd205654
UD
114792011-09-14 Ulrich Drepper <drepper@gmail.com>
11480
ee4d0315
UD
11481 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11482
cd205654
UD
11483 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11484 __extern_always_inline.
11485 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11486 32-bit.
11487
48b67d71
AS
114882011-09-14 Andreas Schwab <schwab@redhat.com>
11489
11490 * elf/rtld.c (dl_main): Also relocate in dependency order when
11491 doing symbol dependency testing.
11492
1ae12c75
AS
114932011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11494
11495 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11496 Always define `refsym'.
11497
995a80df
AS
114982011-09-13 Andreas Schwab <schwab@redhat.com>
11499
e529793b
AS
11500 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11501 (__FD_ELT): Renamed from __FDELT.
11502 * misc/bits/select2.h (__FD_ELT): Likewise.
11503 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11504 __FD_MASK instead of __FDELT, __FDMASK.
11505 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11506 Likewise.
11507 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11508 Likewise.
11509
52d4fef8
AS
11510 * elf/Makefile (gen-ldd): Fix pattern.
11511
995a80df
AS
11512 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11513 (init_tls): Likewise.
11514
8682f8b0
UD
115152011-09-12 Ulrich Drepper <drepper@gmail.com>
11516
11517 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11518
de82006d
AS
115192011-09-12 Andreas Schwab <schwab@redhat.com>
11520
a7c8e6a1
AS
11521 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11522 `struct cmsghdr *' instead of `void *'.
11523 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11524 Likewise.
11525
0f31fe77
AS
115262011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11527
11528 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11529 if non-absolute.
11530 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11531 ldd_rewrite_script.
0f31fe77 11532
32b4c839
UD
115332011-09-11 Ulrich Drepper <drepper@gmail.com>
11534
83cd1420
UD
11535 * configure.in: Remove --with-tls option.
11536 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11537 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11538 out in case it is missing.
11539 * sysdeps/ia64/elf/configure.in: Likewise.
11540 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11541 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11542 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11543 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11544 * sysdeps/sh/elf/configure.in: Likewise.
11545 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11546 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11547 * sysdeps/x86_64/elf/configure.in: Likewise.
11548 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11549 * sysdeps/mach/hurd/tls.h: Likewise.
11550
633f745d
UD
11551 [BZ #13067]
11552 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11553
f318beb8
UD
11554 [BZ #13090]
11555 * configure.in: Fix use of AC_INIT.
11556
32b4c839
UD
11557 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11558
3ce1f295
UD
115592011-09-10 Ulrich Drepper <drepper@gmail.com>
11560
bb016596
UD
11561 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11562 __set_errno.
8e58439c
UD
11563 * malloc/hooks.c: Likewise.
11564
aebae053 11565 [BZ #11929]
02d46fc4
UD
11566 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11567 variables statically.
11568 (narenas): Initialize.
11569 (list_lock): Initialize.
bb016596
UD
11570 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11571 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
11572 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11573 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11574 Add initializers to main_arena and mp_.
11575 (malloc_state): Remove pagesize member. Change all users to use
11576 GLRO(dl_pagesize).
11577
11578 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11579 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11580 is always initialized.
11581
22a89187
UD
11582 * malloc/malloc.c: Removed unused configurations and dead code.
11583 * malloc/arena.c: Likewise.
11584 * malloc/hooks.c: Likewise.
02d46fc4 11585 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 11586
d063d164
UD
11587 * include/tls.h: Removed. USE___THREAD must always be defined.
11588 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11589 * elf/dl-libc.c: Likewise.
11590 * elf/dl-tsd.c: Likewise.
11591 * include/errno.h: Likewise.
11592 * include/netdb.h: Likewise.
11593 * include/resolv.h: Likewise.
11594 * inet/herrno-loc.c: Likewise.
11595 * inet/herrno.c: Likewise.
11596 * malloc/arena.c: Likewise.
11597 * malloc/hooks.c: Likewise.
11598 * malloc/malloc.c: Likewise.
11599 * resolv/res-state.c: Likewise.
11600 * resolv/res_libc.c: Likewise.
11601 * sysdeps/i386/dl-machine.h: Likewise.
11602 * sysdeps/ia64/dl-machine.h: Likewise.
11603 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11604 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11605 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11606 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11607 * sysdeps/sh/dl-machine.h: Likewise.
11608 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11609 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11610 * sysdeps/unix/i386/sysdep.S: Likewise.
11611 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11612 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11613 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11614 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11615 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11616 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11617 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11618 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11619 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11620 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11621 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11622 * sysdeps/x86_64/dl-machine.h: Likewise.
11623 * tls.make.c: Likewise.
11624
3ce1f295
UD
11625 * configure.in: Remove --with-__thread option. Make tests for
11626 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11627 tls_model attribute fail if no support is available. Remove
11628 USE_IN_LIBIO.
11629 * Makeconfig: Adjust for dropped configure option. All features are
11630 now mandatory.
11631 * Makerules: Likewise.
11632 * Versions.def: Likewise.
11633 * argp/argp-fmtstream.c: Likewise.
11634 * argp/argp-fmtstream.h: Likewise.
11635 * argp/argp-help.c: Likewise.
11636 * assert/assert.c: Likewise.
11637 * config.h.in: Likewise.
11638 * config.make.in: Likewise.
11639 * configure: Likewise.
11640 * configure.in: Likewise.
11641 * csu/Versions: Likewise.
11642 * csu/init.c: Likewise.
11643 * elf/tst-audit2.c: Likewise.
11644 * elf/tst-tls10.c: Likewise.
11645 * elf/tst-tls10.h: Likewise.
11646 * elf/tst-tls11.c: Likewise.
11647 * elf/tst-tls12.c: Likewise.
11648 * elf/tst-tls14.c: Likewise.
11649 * elf/tst-tlsmod11.c: Likewise.
11650 * elf/tst-tlsmod12.c: Likewise.
11651 * elf/tst-tlsmod13.c: Likewise.
11652 * elf/tst-tlsmod13a.c: Likewise.
11653 * elf/tst-tlsmod14a.c: Likewise.
11654 * elf/tst-tlsmod15b.c: Likewise.
11655 * elf/tst-tlsmod16a.c: Likewise.
11656 * elf/tst-tlsmod16b.c: Likewise.
11657 * elf/tst-tlsmod7.c: Likewise.
11658 * elf/tst-tlsmod8.c: Likewise.
11659 * elf/tst-tlsmod9.c: Likewise.
11660 * gmon/gmon.c: Likewise.
11661 * grp/fgetgrent_r.c: Likewise.
11662 * grp/putgrent.c: Likewise.
11663 * hurd/fopenport.c: Likewise.
11664 * include/libc-symbols.h: Likewise.
11665 * include/tls.h: Likewise.
11666 * intl/gettextP.h: Likewise.
11667 * intl/loadinfo.h: Likewise.
11668 * locale/global-locale.c: Likewise.
11669 * locale/localeinfo.h: Likewise.
11670 * mach/devstream.c: Likewise.
11671 * malloc/arena.c: Likewise.
11672 * malloc/set-freeres.c: Likewise.
11673 * misc/err.c: Likewise.
11674 * misc/getttyent.c: Likewise.
11675 * misc/mntent_r.c: Likewise.
11676 * posix/getopt.c: Likewise.
11677 * posix/wordexp.c: Likewise.
11678 * pwd/fgetpwent_r.c: Likewise.
11679 * resolv/Versions: Likewise.
11680 * resolv/res_hconf.c: Likewise.
11681 * shadow/fgetspent_r.c: Likewise.
11682 * shadow/putspent.c: Likewise.
11683 * stdio-common/printf_fphex.c: Likewise.
11684 * stdio-common/tmpfile.c: Likewise.
11685 * stdlib/abort.c: Likewise.
11686 * stdlib/fmtmsg.c: Likewise.
11687 * sunrpc/auth_unix.c: Likewise.
11688 * sunrpc/clnt_perr.c: Likewise.
11689 * sunrpc/clnt_tcp.c: Likewise.
11690 * sunrpc/clnt_udp.c: Likewise.
11691 * sunrpc/clnt_unix.c: Likewise.
11692 * sunrpc/openchild.c: Likewise.
11693 * sunrpc/svc_simple.c: Likewise.
11694 * sunrpc/svc_tcp.c: Likewise.
11695 * sunrpc/svc_udp.c: Likewise.
11696 * sunrpc/svc_unix.c: Likewise.
11697 * sunrpc/xdr.c: Likewise.
11698 * sunrpc/xdr_array.c: Likewise.
11699 * sunrpc/xdr_rec.c: Likewise.
11700 * sunrpc/xdr_ref.c: Likewise.
11701 * sunrpc/xdr_stdio.c: Likewise.
11702
1248c1c4
PB
117032011-09-09 Ulrich Drepper <drepper@gmail.com>
11704
11705 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11706
117072011-07-03 Andreas Jaeger <aj@suse.de>
11708
11709 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11710 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11711 regenerate with gen-libm-tests.pl.
11712
117132010-05-12 Petr Baudis <pasky@suse.cz>
11714
11715 [BZ #11589]
11716 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11717 around j0() zero points by switching to j1().
11718 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11719 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11720 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11721 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11722
f22e1074
UD
117232011-09-09 Ulrich Drepper <drepper@gmail.com>
11724
f19009c1
UD
11725 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11726 instead of 0.
11727 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11728 instead of 0. .
11729 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11730 Patch in part by Pavel Roskin <proski@gnu.org>.
11731
3f8cc204
UD
11732 [BZ #13138]
11733 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11734 realloc.
11735 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11736 Free memory block if necessary.
11737
f22e1074
UD
11738 [BZ #12847]
11739 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11740 be NULL. Don't lock in this case.
11741
0a2349f9
RM
117422011-09-09 Roland McGrath <roland@hack.frob.com>
11743
11744 * elf/elf.h (ELFOSABI_GNU): New macro.
11745 (ELFOSABI_LINUX): Define to that.
11746
f3cdd467
DZ
117472011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11748
11749 * string/strncat.c (strncat): Undef the symbol in case it has been
11750 defined in bits/string.h.
11751
74718d13
UD
117522011-09-09 Ulrich Drepper <drepper@gmail.com>
11753
633e9e0f
UD
11754 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11755
0a2349f9 11756 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
11757 link map.
11758
f9924780
AJ
117592011-08-17 Andreas Jaeger <aj@suse.de>
11760
11761 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11762
7f5517aa
PP
117632011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11764 Ian Lance Taylor <iant@google.com>
11765
11766 * math/libm-test.inc (lround_test): New testcase.
11767 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11768
762011fe
UD
117692011-09-08 Ulrich Drepper <drepper@gmail.com>
11770
92963737
UD
11771 * Makefile: Remove support for automatic cvs check-ins.
11772 * Makerules: Likewise.
11773 * config.make.in: Likewise.
11774 * configure.in: Likewise.
11775 * intl/Makefile: Likewise.
11776 * locale/Makefile: Likewise.
11777 * po/Makefile: Likewise.
11778 * posix/Makefile: Likewise.
11779 * sysdeps/gnu/Makefile: Likewise.
11780 * sysdeps/mach/hurd/Makefile: Likewise.
11781 * sysdeps/sparc/sparc32/Makefile: Likewise.
11782
b0727fd8
JS
11783 [BZ #13118]
11784 * posix/Makefile (bug-regex32-ENV): Define.
11785 Patch by John Stanley <jpsinthemix@verizon.net>.
11786
a0f33f99
UD
11787 * misc/Makefile (headers): Add bits/select2.h.
11788 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11789 * misc/bits/select2.h: New file.
11790 * include/bits/select2.h: New file.
11791 * debug/Makefile (routines): Add fdelt_chk.
11792 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11793 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11794 FD_ISSET.
11795 * debug/fdelt_chk.c: New file.
11796
762011fe
UD
11797 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11798 * wcsmbs/test-wmemcmp.c: Likewise.
11799 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 11800 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
11801
118022011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11803
11804 * string/Makefile (strop-tests): Add memcmp.
11805 * string/test-wmemcmp.c: New file.
11806 * string/test-memcmp.c: Add wmemcmp support.
11807
7f513ec8
RM
118082011-09-08 Roland McGrath <roland@hack.frob.com>
11809
0442afb4
RM
11810 [BZ #13153]
11811 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11812 2011-07-19 change.
11813
7f513ec8
RM
11814 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11815 garbage value in a __mach_port_mod_refs call in the cases of the
11816 task-self and thread-self ports.
11817
a12b2239
ST
118182011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11819
11820 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11821
610f9ab4
AS
118222011-09-08 Andreas Schwab <schwab@redhat.com>
11823
7f513ec8 11824 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 11825
48882a1a
LD
118262011-09-07 Ulrich Drepper <drepper@gmail.com>
11827
b49865be
UD
11828 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11829
fdc86bc9
UD
11830 * elf/dl-libc.c (dlerror_run): Pass back error code from
11831 dl_catch_error.
11832
c966526a
UD
11833 [BZ #13123]
11834 * elf/dl-load.c (lose): Free l_origin if it is valid.
11835
48882a1a
LD
11836 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11837 names.
11838 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11839 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11840 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11841 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11842 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11843 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11844
77a2a8b4
AZ
118452011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11846
11847 * sysdeps/powerpc/fpu/e_hypot.c: New file.
11848 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11849 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11850 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11851 * sysdeps/powerpc/fpu/k_cosf.c: New file.
11852 * sysdeps/powerpc/fpu/k_sinf.c: New file.
11853 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11854 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11855 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11856 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11857
24f579d8
AM
118582011-08-15 Alan Modra <amodra@gmail.com>
11859
11860 [BZ #13092]
11861 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11862 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11863 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11864 ppc_mcount to static-only-routines.
11865 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11866 __mcount_internal.
11867 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11868 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11869
3d4837df
UD
118702011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11871
11872 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11873 for finite and infinity parameters.
11874
22700377
WS
118752011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11876
11877 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11878 and add nop instructions for throughput optimization.
11879 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11880
5025581e
WS
118812011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
11882
11883 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11884 aligned copy for power7 with vector-scalar instructions.
11885 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11886
08a300c9
L
118872011-07-24 H.J. Lu <hongjiu.lu@intel.com>
11888
11889 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11890 AVX check.
11891
59178ef9
AS
118922011-09-07 Andreas Schwab <schwab@redhat.com>
11893
11894 [BZ #13144]
11895 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
11896 last change.
11897
e38ba7ab
UD
118982011-09-07 Ulrich Drepper <drepper@gmail.com>
11899
11900 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11901 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11902 syscall wrapper around clock_gettime in __vdso_clock_gettime.
11903 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
11904 clock_gettime.
11905
d53a73ac
UD
119062011-09-06 Ulrich Drepper <drepper@gmail.com>
11907
fc8bffcc
UD
11908 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
11909 Forgot to demangle the pointer.
11910
ceaa0c5d
UD
11911 * sysdeps/i386/sysdep.h: Define atom_text_section.
11912 * sysdeps/x86_64/sysdep.h: Likewise.
11913 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
11914 section with atom_text_section.
11915 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11916 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11917 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11918 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11919 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
11920
a77d3c17
UD
11921 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
11922 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
11923 already be defined. Change to take two parameters and don't assign
11924 result to variable. Adjust all users.
11925 Define INTERNAL_GETTIME if not already defined.
11926 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
11927 call.
11928 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
11929 HAVE_CLOCK_GETTIME_VSYSCALL.
11930 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
11931
d53a73ac
UD
11932 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
11933 gettimeofday vsyscall, just use time.
11934
a8f84144
AS
119352011-09-06 Andreas Schwab <schwab@redhat.com>
11936
11937 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
11938 <errno.h>.
11939
ef606249
UD
119402011-09-06 Ulrich Drepper <drepper@gmail.com>
11941
11942 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
11943 syscall on x86-64.
11944 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
11945 syscall.
11946 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11947 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
11948 syscall if possible.
11949
6585cb60
UD
119502011-09-05 Ulrich Drepper <drepper@gmail.com>
11951
11952 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
11953 e_ident. Don't pass to find_mapsXX.
11954 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
11955
a5f524e4
LD
119562011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11957
11958 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11959 strchr-sse2-no-bsf strrchr-sse2-no-bsf
11960 * sysdeps/x86_64/multiarch/strchr.S: Update.
11961 Check bit_slow_BSF bit.
11962 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11963 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
11964 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
11965
554881ef
UD
119662011-09-05 Ulrich Drepper <drepper@gmail.com>
11967
d96de963
UD
11968 [BZ #13134]
11969 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
11970 before glibc 2.15.
11971 (tryshell): Define.
11972 (__spawni): Change last parameter to be flag. Test
11973 SPAWN_XFLAGS_USE_PATH flag to use path or not.
11974 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
11975 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
11976 * posix/spawni.c: Likewise.
11977 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
11978 * posix/spawnp.c: Likewise. Change normal version to use
11979 SPAWN_XFLAGS_USE_PATH.
11980 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
11981 SPAWN_XFLAGS_TRY_SHELL.
11982
d48e5868
UD
11983 [BZ #13150]
11984 * posix/glob.h: Remove gcc 1.x support.
11985
554881ef
UD
11986 [BZ #13068]
11987 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
11988
693fb948
LD
119892011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11990
11991 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11992 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
11993 strrchr-sse2-bsf
11994 * sysdeps/i386/i686/multiarch/strchr.S: New file.
11995 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
11996 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
11997 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
11998 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
11999 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12000
1b48c537
UD
120012011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12002
49d42c37
UD
12003 * sysdeps/x86_64/wcscmp.S: New file.
12004
1b48c537
UD
12005 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12006 wcscmp-c wcscmp-sse2
12007 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12008 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12009 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12010 * wcsmbs/wcscmp.c: Allow renaming.
12011
15c95c5d
DM
120122011-09-05 David S. Miller <davem@davemloft.net>
12013
12014 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12015 stack slot, rather than the struct return pointer slot.
12016 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12017 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12019 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12020
2f0ad8f3
UD
120212011-09-05 Ulrich Drepper <drepper@gmail.com>
12022
d88ae418
UD
12023 * po/ja.po: Update from translation team.
12024
2f0ad8f3
UD
12025 [BZ #13144]
12026 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12027 kernel in 64-bit binaries.
12028
5f4318d1
DM
120292011-09-01 David S. Miller <davem@davemloft.net>
12030
12031 * elf/elf.h (HWCAP_SPARC_*): Move to..
12032 * sysdeps/sparc/sysdep.h: this new file and add new values.
12033 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12034 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12035 _DL_HWCAP_COUNT to 24.
12036 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12037 entries.
12038 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12039 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12040 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12041 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12042 instead of magic constants.
12043 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12044
3ba57516
DM
120452011-08-31 David S. Miller <davem@davemloft.net>
12046
12047 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12048 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12049 Reimplement to do errno handling inline.
12050 (SYSCALL_ERROR_HANDLER): New macro.
12051 (__SYSCALL_STRING): Do not do errno handling in asm.
12052 (__CLONE_SYSCALL_STRING): Delete.
12053 (__INTERNAL_SYSCALL_STRING): Delete.
12054 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12055 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12056 (PSEUDO): Reimplement to do errno handling inline.
12057 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12058 (SYSCALL_ERROR_HANDLER): New macro.
12059 (__SYSCALL_STRING): Do not do errno handling in asm.
12060 (__CLONE_SYSCALL_STRING): Delete.
12061 (__INTERNAL_SYSCALL_STRING): Delete.
12062 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12063 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12064 i386.
12065 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12066 (inline_syscall*): Add 'err' argument.
12067 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12068 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12069 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12070 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12071
12072 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12073 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12074
2bc17433
AS
120752011-08-30 Andreas Schwab <schwab@redhat.com>
12076
12077 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12078
fbeb5f4d
JO
120792011-08-29 Jiri Olsa <jolsa@redhat.com>
12080
12081 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12082 directive.
12083
ad69cc26
DM
120842011-08-24 David S. Miller <davem@davemloft.net>
12085
12086 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12087
39dd69df
AS
120882011-08-24 Andreas Schwab <schwab@redhat.com>
12089
12090 * elf/Makefile: Add rules to build and run unload8 test.
12091 * elf/unload8.c: New file.
12092 * elf/unload8mod1.c: New file.
12093 * elf/unload8mod1x.c: New file.
12094 * elf/unload8mod2.c: New file.
12095 * elf/unload8mod3.c: New file.
12096
12097 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12098 it wasn't used.
12099
2c0b250a
DM
121002011-08-23 David S. Miller <davem@davemloft.net>
12101
12102 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12103 subtract stack bias.
12104 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12105 %sp not %fp in calculations.
12106 (_JMPBUF_UNWINDS_ADJ): Likewise.
12107
22044b48
DM
12108 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12109 (aio_suspend): Call it to force an exception region around the
12110 AIO_MISC_WAIT() invocation.
12111
2cae4995
AS
121122011-08-23 Andreas Schwab <schwab@redhat.com>
12113
12114 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12115 backslash.
12116
873a772e
AJ
121172011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12118
12119 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12120 protection macro.
12121 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12122 and <dl-machine.h>.
12123 (Elf64_FuncDesc): Remove.
12124
25ad0df1
DM
121252011-08-22 David S. Miller <davem@davemloft.net>
12126
12127 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12128 sigaltstack check, add missing cfi directives.
12129 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12130 missing cfi directives, and sigaltstack handling.
12131
e888bcbe
AS
121322011-08-16 Andreas Schwab <schwab@redhat.com>
12133
12134 [BZ #11724]
12135 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12136 object is seen twice.
12137 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12138
12139 * elf/Makefile (distribute): Add tst-initorder2.c.
12140 (tests): Add tst-initorder2.
12141 (modules-names): Add tst-initorder2a tst-initorder2b
12142 tst-initorder2c tst-initorder2d. Add rules to build them.
12143 ($(objpfx)tst-initorder2.out): New rule.
12144 * elf/tst-initorder2.c: New file.
12145 * elf/tst-initorder2.exp: New file.
12146
87162f46
AS
121472011-08-22 Andreas Schwab <schwab@redhat.com>
12148
70538b7f
AS
12149 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12150
f55ffe58
AS
12151 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12152 dependencies back to end of function.
12153
87162f46
AS
12154 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12155 $(elfobjdir)/ld.so.
12156
91b392a4
UD
121572011-08-21 Ulrich Drepper <drepper@gmail.com>
12158
12159 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12160 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12161 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12162 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12163 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12164 of __vdso_gettimeofday.
12165 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12166 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12167 attribute_hidden.
12168 (_libc_vdso_platform_setup): Remove initialization of
12169 __vdso_gettimeofday and __vdso_time.
12170
5c43483f
UD
121712011-08-20 Ulrich Drepper <drepper@gmail.com>
12172
775a77e7
UD
12173 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12174 and fgetc_unlocked.
12175 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12176 getc_unlocked.
89f447ed 12177
49c74ba9
UD
12178 * elf/dl-open.c (add_to_global): Report additions to the global scope
12179 for LD_DEBUG=scopes.
12180 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12181 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12182
5c43483f
UD
12183 [BZ #13114]
12184 * stdio-common/Makefile (tests): Add bug24.
12185 * stdio-common/bug24.c: New file.
12186
a101b025
AJ
121872011-08-19 Andreas Jaeger <aj@suse.de>
12188
12189 [BZ #13114]
12190 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12191 non-existant file when using close-on-exec mode.
12192
c88f1766
UD
121932011-08-20 Ulrich Drepper <drepper@gmail.com>
12194
0276a718
UD
12195 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12196 the very first instruction.
12197
c88f1766
UD
12198 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12199 the CFI state in the end.
12200 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12201 inclusion of dl-trampoline.h.
12202 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12203
51ccffa0
AS
122042011-08-19 Andreas Schwab <schwab@redhat.com>
12205
94d7165f
AS
12206 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12207 expectations for long double.
12208
51ccffa0
AS
12209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12210 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12211
fd708658 122122011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12213
12214 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12215 artificual limit depends upon the system page size.
12216
44f0a71e
UD
122172011-08-17 Ulrich Drepper <drepper@gmail.com>
12218
12219 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12220 * resolv/Makefile: Define CFLAGS-libresolv.
12221
8de79a24
AS
122222011-08-17 Andreas Schwab <schwab@redhat.com>
12223
12224 * nss/makedb.c (compute_tables): Make variables used in nested
12225 function static.
12226
27724598
UD
122272011-08-17 Ulrich Drepper <drepper@gmail.com>
12228
c5305d88
UD
12229 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12230 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12231 if buffer was too small.
12232
27724598
UD
12233 * elf/pldd.c (main): Attach to all threads in the process.
12234 Rewrite /proc handling to use *at functions.
12235
076fe015
UD
122362011-08-16 Ulrich Drepper <drepper@gmail.com>
12237
174baab3
UD
12238 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12239 specifies first scope to show.
12240 (dl_open_worker): Update callers. Move printing scope of new
12241 object to before the relocation.
44f0a71e 12242 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12243 * sysdeps/generic/ldsodefs.h: Update declaration.
12244
076fe015
UD
12245 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12246 string for the scope number.
12247
a60df2c3
UD
122482011-08-14 Ulrich Drepper <drepper@gmail.com>
12249
12250 * nscd/servicescache.c (cache_addserv): Make sure written is always
12251 initialized.
12252
5e4287d1
RM
122532011-08-14 Roland McGrath <roland@hack.frob.com>
12254
85ae0589
RM
12255 * sysdeps/i386/i486/bits/atomic.h
12256 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12257 statement expression, so as to suppress "set but not used" warning.
12258 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12259
69f63097
RM
12260 * string/strncat.c (STRNCAT): Use prototype definition.
12261
675456ef
RM
12262 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12263 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12264 -Iprograms here.
12265 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12266 (localedef-modules): Add localedef.
12267 (locale-modules): Add locale.
12268
5e4287d1
RM
12269 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12270 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12271 to avoid a warning.
12272
9c96ff23
DM
122732011-08-14 David S. Miller <davem@davemloft.net>
12274
12275 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12276 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12277
f9ddf089
UD
122782011-08-13 Ulrich Drepper <drepper@gmail.com>
12279
44f0a71e 12280 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12281 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12282 * elf/rtld.c (dl_main): Set l_name of vDSO.
12283 Call _dl_show_scope when DL_DEBUG_SCOPES.
12284 (process_dl_debug): Recognize scopes flag and also set it for all.
12285 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12286 Declare _dl_show_scope.
12287
1dc27704
UD
12288 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12289 (do_dlopen): Pass caller_dlopen to dl_open.
12290 (__libc_dlopen_mode): Initialize caller_dlopen.
12291
f9ddf089
UD
12292 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12293 of libc. Make tolower call locale-independent. Optimize a bit by
12294 using isdigit instead of isalnum.
12295 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12296
9ac533d3
UD
122972011-08-12 Ulrich Drepper <drepper@gmail.com>
12298
12299 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12300 was a dependency or dynamically loaded.
12301
89edf2e9
UD
123022011-08-11 Ulrich Drepper <drepper@gmail.com>
12303
8e999d29
UD
12304 * intl/l10nflist.c: Allow architecture-specific pop function.
12305 * sysdeps/x86_64/l10nflist.c: New file.
12306
89edf2e9
UD
12307 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12308 classification.
12309
14d96785
AS
123102011-08-10 Andreas Schwab <schwab@redhat.com>
12311
12312 * include/dirent.h: Add libc_hidden_proto for scandirat and
12313 scandirat64. Don't declare __scandirat64.
12314 * dirent/scandirat.c: Add libc_hidden_def.
12315 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12316 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12317
6761ac04
DM
123182011-08-10 David S. Miller <davem@davemloft.net>
12319
12320 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12321 enum.
12322 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12323 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12324 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12325
c55fbd1e
UD
123262011-08-09 Ulrich Drepper <drepper@gmail.com>
12327
12328 * Versions.def [libc]: Add GLIBC_2.15.
12329 * dirent/Makefile (routines): Add scandirat and scandirat64.
12330 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12331 GLIBC_2.15.
12332 * dirent/dirent.h: Declare scandirat and scandirat64.
12333 * dirent/scandirat.c: New file.
12334 * dirent/scandirat64.c: New file.
12335 * sysdeps/wordsize-64/scandirat.c: New file.
12336 * sysdeps/wordsize-64/scandirat64.c: New file.
12337 * dirent/opendir.c: Define opendirat.
12338 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12339 using scandirat.
12340 * dirent/scandir64.c: Adjust for scandir.c change.
12341 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12342 __scandirat64, and __scandir_cancel_handler.
12343 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12344 additional parameter and use openat instead of open (outside of ld.so).
12345 Add new __opendir as wrapper around __opendirat.
12346 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12347 here without requiring old scandirat implementation.
12348
879165f2
UD
123492011-08-08 Ulrich Drepper <drepper@gmail.com>
12350
12351 * dirent/scandir.c (cancel_handler): Renamed to
12352 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12353 defined. Adjust users.
12354 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12355 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12356
cb7e923b
UD
123572011-08-04 Ulrich Drepper <drepper@gmail.com>
12358
16292edd
UD
12359 * string/test-string.h (IMPL): Use __STRING to expand name and then
12360 stringify it.
12361
cb7e923b
UD
12362 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12363 of cleanups.
12364
cff82933
LD
123652011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12366
12367 * string/Makefile: Update.
12368 (strop-tests): Append strncat.
12369 * string/test-wcscmp.c: New file.
12370 New comprehensive test for wcscmp.
12371 * string/test-strcmp.c: Update.
12372 (WIDE): New define.
12373
9be9bfcc
AS
123742011-07-22 Andreas Schwab <schwab@redhat.com>
12375
12376 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12377 line.
12378
2e96f1c7
AS
123792011-07-26 Andreas Schwab <schwab@redhat.com>
12380
12381 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12382 encoding to ACE if AI_IDN.
12383
85188888
JJ
123842011-08-01 Jakub Jelinek <jakub@redhat.com>
12385
12386 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12387 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12388
5fa16e9b
LD
123892011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12390
12391 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12392 Fix overflow bug in strncat.
12393 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12394
12395 * string/test-strncat.c: Update.
12396 Add new tests for checking overflow bugs.
12397
123982011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12399
12400 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12401 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12402 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12403 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12404 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12405 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12406 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12407 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12408 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12409
12410 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12411 (USE_AS_STRCAT): Define.
12412 Add strcat and strncat support.
12413 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12414
8c1a459f
AS
124152011-07-25 Andreas Schwab <schwab@redhat.com>
12416
12417 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12418 __n bigger than INT_MAX+1.
12419 (__strncmp_g): Likewise.
12420
bba33c28
UD
124212011-07-23 Ulrich Drepper <drepper@gmail.com>
12422
798be72d
UD
12423 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12424 * libio/stido.h: Likewise.
12425
8accd4dc
UD
12426 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12427 (AF_NFC): Define.
12428 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12429 (AF_NFC): Define.
12430
cbff0d96
UD
12431 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12432 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12433 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12434 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12435 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12436
9191c04a
UD
12437 [BZ #13021]
12438 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12439 installed.
12440
bba33c28
UD
12441 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12442 typo.
12443 (_dl_x86_64_save_sse): Likewise.
12444
90f139dd
UD
124452011-07-22 Ulrich Drepper <drepper@gmail.com>
12446
1aae088a
UD
12447 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12448 OSXSAVE.
12449 (_dl_x86_64_save_sse): Likewise.
12450
8e2045f5
UD
12451 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12452
90f139dd
UD
12453 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12454
1d002f25
AS
124552011-07-21 Andreas Schwab <schwab@redhat.com>
12456
12457 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12458 change.
12459 (_dl_x86_64_save_sse): Use correct AVX check.
12460
21137f89
UD
124612011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12462
12463 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12464 bug in strncpy/strncat.
12465 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12466
a65c0b7a
UD
124672011-07-21 Ulrich Drepper <drepper@gmail.com>
12468
12469 * string/tester.c (test_strcat): Add tests for different alignments
12470 of source and destination.
12471 (test_strncat): Likewise.
12472
6986b98a
UD
124732011-07-20 Ulrich Drepper <drepper@gmail.com>
12474
90bb2039
UD
12475 [BZ #12852]
12476 * posix/glob.c (glob): Check passed in values before using them in
12477 expressions to avoid some overflows.
12478 (glob_in_dir): Likewise.
12479
5644ef54
UD
12480 [BZ #13007]
12481 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12482 check for AVX enablement so that we don't crash with old kernels and
12483 new hardware.
12484 * elf/tst-audit4.c: Add same checks here.
12485 * elf/tst-audit6.c: Likewise.
12486
12487 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 12488
bfc9dc9b
AS
124892011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12490
12491 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12492
702e64bb
UD
124932011-07-20 Ulrich Drepper <drepper@gmail.com>
12494
12495 * po/cs.po: Update from translation team.
12496 * po/bg.po: Likewise.
12497
295e904f
MP
124982011-07-12 Marek Polacek <mpolacek@redhat.com>
12499
12500 * misc/sys/cdefs.h: Add support for const attribute.
12501 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12502 to gnu_dev_{major,minor,makedev} functions.
12503
3ff94596
MP
125042011-07-20 Marek Polacek <mpolacek@redhat.com>
12505
12506 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12507
28b59fca
AS
125082011-07-20 Andreas Schwab <schwab@redhat.com>
12509
12510 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12511 strlen results.
12512
19df733e
AK
125132011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12514
12515 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12516 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12517 register in order to avoid conflicts with the soft frame pointer
12518 being held in r11 when necessary.
12519 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12520 (INTERNAL_VSYSCALL_NCS): Likewise.
12521
c8835729
MP
125222011-07-14 Marek Polacek <mpolacek@redhat.com>
12523
12524 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12525 * elf/dl-fini.c (_dl_fini): Adjust caller.
12526 * elf/dl-close.c (_dl_close_worker): Likewise.
12527 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12528
b902330c
MP
125292011-07-15 Marek Polacek <mpolacek@redhat.com>
12530
8991e135
MP
12531 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12532 "aux_cache->nlibs < 0".
12533
b902330c
MP
12534 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12535 in the reload-count case.
12536
99710781
LD
125372011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12538
12539 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12540 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12541 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12542 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12543 * sysdeps/x86_64/multiarch/strcat.S: New file.
12544 * sysdeps/x86_64/multiarch/strncat.S: New file.
12545 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12546 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12547 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12548 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12549 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12550 (USE_AS_STRCAT): Define.
12551 Add strcat and strncat support.
12552 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12553 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12554 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12555 * string/strncat.c: Update.
12556 (USE_AS_STRNCAT): Define.
12557 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12558 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12559 and i7.
12560 * sysdeps/x86_64/multiarch/init-arch.h
12561 (bit_Prefer_PMINUB_for_stringop): New.
12562 (index_Prefer_PMINUB_for_stringop): Likewise.
12563 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12564 bit_Prefer_PMINUB_for_stringop.
12565
7dc6bd90
UD
125662011-07-19 Ulrich Drepper <drepper@gmail.com>
12567
12568 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12569 buffer64.
12570 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12571 of casting of buffer.
12572 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12573 buffer32 and buffer64.
12574 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12575 writes instead of casting of buffer.
12576 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12577 buffer32.
12578 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12579 casting of buffer.
12580
e0e72284
AS
125812011-07-19 Andreas Schwab <schwab@redhat.com>
12582
12583 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12584
feb1eb0b
UD
125852011-07-19 Ulrich Drepper <drepper@gmail.com>
12586
12587 * nscd/nscd.c (termination_handler): Don't do anything for a database
12588 if it has not yet been initialized.
12589
298711ff
UD
125902011-07-18 Ulrich Drepper <drepper@gmail.com>
12591
12592 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12593
125942011-07-15 Marek Polacek <mpolacek@redhat.com>
12595
12596 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12597
f9d68389
UD
125982011-07-18 Ulrich Drepper <drepper@gmail.com>
12599
12600 * po/nl.po: Update from translation team.
12601 * po/sv.po: Likewise.
12602
db290cf5
RM
126032011-07-16 Roland McGrath <roland@hack.frob.com>
12604
12605 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12606 now disallowed by GCC.
5c550700 12607
fd5e21c7
RM
12608 * configure.in (use-default-link): Default to yes if a test -shared
12609 link meets our qualifications.
12610 * configure: Regenerated.
12611
5c550700
RM
12612 * config.make.in (output-format): New variable.
12613 * configure.in: Check for ld --print-output-format support.
12614 * configure: Regenerated.
12615 * Makerules ($(common-objpfx)format.lds)
12616 [$(output-format) != unknown]: Just use $(output-format),
12617 instead of the linker-script munging.
12618
9fa2c032
RM
126192011-07-14 Roland McGrath <roland@hack.frob.com>
12620
a6928d51
RM
12621 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12622 of $(common-objpfx)shlib.lds.
12623 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12624
661607b3
RM
12625 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12626 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12627
9fa2c032
RM
12628 * configure.in (-z relro check): Adjust test code to add a large
12629 writable data section after it.
12630 * configure: Regenerated.
12631
defe9061
RM
126322011-07-11 Roland McGrath <roland@hack.frob.com>
12633
12634 * configure.in (-z relro check): Fix test code to make the variable
12635 truly const.
12636 * configure: Regenerated.
12637
319b9ad4
UD
126382011-07-11 Ulrich Drepper <drepper@gmail.com>
12639
12640 * nscd/nscd.h (struct traced_file): Define.
12641 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12642 elements. Add traced_files.
12643 (inotify_fd): Declare.
12644 (register_traced_file): Declare.
12645 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12646 (inotify_fd): Export.
12647 (resolv_conf_descr): Remove.
12648 (nscd_init): Move inotify descriptor creation to main.
12649 Don't register files for notification here.
12650 (register_traced_file): New function.
12651 (invalidate_cache): Don't use reset_res to determine whether to call
12652 res_init, go through the list of registered files.
12653 (main_loop_poll): The inotify descriptors are now stored in the
12654 structures for the traced files.
12655 (main_loop_epoll): Likewise
12656 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12657 to __nss_disable_nscd.
12658 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12659 for a database anymore. Check the records for all the registered
12660 files instead.
12661 * nss/Makefile (libnss_files-routines): Add files-init.
12662 (libnss_db-routines): Add db-init.
12663 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12664 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12665 * nss/nss_db/db-init.c: New file.
12666 * nss/nss_files/files-init.c: New file.
12667 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12668 __nss_lookup_function.
12669 (__nss_lookup_function): Call nss_load_library.
12670 (nss_load_all_libraries): New function.
12671 (__nss_disable_nscd): Take parameter with callback function for files
12672 to register. Set is_nscd. Load all the DSOs for the NSS modules
12673 used for the cached services.
12674 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12675 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12676 options for features to all the files in nscd.
12677
12678 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12679
23bee3e8
RM
126802011-07-10 Roland McGrath <roland@hack.frob.com>
12681
12682 * csu/elf-init.c (__libc_csu_init): Comment typo.
12683
46a5b7f0
UD
126842011-07-09 Ulrich Drepper <drepper@gmail.com>
12685
12686 * po/pl.po: Update from translation team.
12687 * po/ja.po: Likewise.
12688 * po/ru.po: Likewise.
12689 * po/ko.po: Likewise.
12690 * po/fr.po: Likewise.
12691
d30cf5bb
RM
126922011-07-09 Roland McGrath <roland@hack.frob.com>
12693
113ddea4
RM
12694 * configure.in (.ctors/.dtors header and trailer check):
12695 Use an empirical test on a built program.
12696 * configure: Regenerated.
12697
574920b4
RM
12698 * configure.in (-z relro check): Use an empirical test on a built DSO.
12699 Detect, but do not require, on ia64.
12700 * configure: Regenerated.
12701
d30cf5bb
RM
12702 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12703 Update tests that use readelf to use $READELF instead.
12704 * configure: Regenerated.
12705
8538fdb3
UD
127062011-07-08 Ulrich Drepper <drepper@gmail.com>
12707
12708 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12709 if the result is not used.
12710
04d08991
AJ
127112011-07-05 Andreas Jaeger <aj@suse.de>
12712
12713 [BZ#9696]
12714 * stdlib/tst-strtod.c: Add testcase.
12715
de283087
AD
127162011-07-07 Ulrich Drepper <drepper@gmail.com>
12717
4e5f31c8 12718 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 12719 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
12720 The latter has a higher limit. Take additional parameter to pass to
12721 the new function.
12722 (__pathconf): Pass file to __statfs_link_max.
12723 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12724 __statfs_link_max.
12725 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12726 __statfs_link_max.
12727
de283087
AD
12728 [BZ #12868]
12729 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12730 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12731 Handle Lustre.
12732 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12733 (__statfs_filesize_max): Likewise.
12734 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12735
c75fa153
AJ
127362011-07-05 Andreas Jaeger <aj@suse.de>
12737
12738 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12739
1a544854
UD
127402011-07-06 Marek Polacek <mpolacek@redhat.com>
12741
12742 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12743 `status' variable.
12744 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12745 Likewise.
12746
6f0eec67
UD
127472011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12748
12749 * Makefile (strop-tests): Add strncat.
12750 * string/test-strncat.c: New file.
12751
aae30307
UD
127522011-06-30 Marek Polacek <mpolacek@redhat.com>
12753
12754 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12755
c0cfb5eb
UD
127562011-06-21 Andreas Jaeger <aj@suse.de>
12757
12758 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12759 Copy rule from iconvdata/Makefile.
12760
01636b21
UD
127612011-07-06 Ulrich Drepper <drepper@gmail.com>
12762
12763 [BZ #12922]
12764 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12765 but no long options are defined, just return 'W'.
12766
9895c8bc
UD
127672011-06-22 Marek Polacek <mpolacek@redhat.com>
12768
12769 [BZ #9696]
12770 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12771
5d4cf042
UD
127722011-07-06 Ulrich Drepper <drepper@gmail.com>
12773
12774 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12775 netgroups to read.
960e5535 12776 (innetgr): Likewise.
5d4cf042 12777
751eb97e
RM
127782011-07-05 Roland McGrath <roland@hack.frob.com>
12779
12780 * config.make.in (install_root): Default to $(DESTDIR).
12781
f15f1e45
UD
127822011-07-05 Ulrich Drepper <drepper@gmail.com>
12783
12784 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12785
4e34ac6a
RM
127862011-07-02 Roland McGrath <roland@hack.frob.com>
12787
5e9b6af4
RM
12788 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12789
84f9ea0f
RM
12790 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12791 containing directory rather than embedding absolute directory names.
12792
ea5ee9f7
RM
12793 * scripts/check-local-headers.sh: Rewritten using awk.
12794 Match by word, not by line. Print error messages for matches.
12795 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12796
1b74661a
RM
12797 * Makerules [shlib-lds-flags empty]:
12798 ($(common-objpfx)libc_pic.opts): New target.
12799 ($(common-objpfx)libc_pic.os.clean): New target.
12800 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12801
12802 * config.make.in (OBJCOPY): New variable.
12803 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12804 * configure: Regenerated.
12805
f781ef40
RM
12806 * config.make.in (use-default-link): New variable.
12807 * configure.in (use_default_link): Grok --with-default-link to set it.
12808 * configure: Regenerated.
12809 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12810 (shlib-lds, shlib-lds-flags): Define to empty.
12811
2d4fa81e
RM
12812 * Makerules (shlib-lds): New variable.
12813 (shlib-lds-flags): New variable.
12814 (build-shlib, build-moduile, build-module-asneeded): Use it.
12815 ($(common-objpfx)libc.so): Use $(shlib-lds).
12816 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12817 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12818
31fffa6b
RM
12819 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12820 DT_FLAGS/DT_FLAGS_1 with zero flags.
12821
4e34ac6a
RM
12822 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12823 linker script munging.
12824
fcfc776b
UD
128252011-07-02 Ulrich Drepper <drepper@gmail.com>
12826
12827 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12828 as 128-bit value.
12829 * crypt/sha512.c (sha512_process_block): Perform total addition using
12830 128-bit if possible.
12831 (__sha512_finish_ctx): Likewise.
12832 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12833 as 64-bit value.
12834 * crypt/sha256.c (SWAP64): Define.
12835 (sha256_process_block): Perform total addition using 64-bit if
12836 possible.
12837 (__sha256_finish_ctx): Likewise.
12838
99231d9a
UD
128392011-07-01 Ulrich Drepper <drepper@gmail.com>
12840
12841 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
12842 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12843 * nscd/hstcache.c (cache_addhst): Likewise.
12844 * nscd/grpcache.c (cache_addgr): Likewise.
12845 * nscd/aicache.c (addhstaiX): Likewise
12846 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12847
445b4a53
TK
128482011-07-01 Thorsten Kukuk <kukuk@suse.de>
12849
12850 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12851 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12852 * nscd/hstcache.c (cache_addhst): Likewise.
12853 * nscd/grpcache.c (cache_addgr): Likewise.
12854 * nscd/aicache.c (addhstaiX): Likewise
12855
6d4d8e8e
AS
128562011-07-01 Andreas Schwab <schwab@redhat.com>
12857
12858 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12859 domain only when needed.
12860
89f654c5
AS
128612011-06-30 Andreas Schwab <schwab@redhat.com>
12862
12863 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12864 is always restored.
12865
cf3b23ff
UD
128662011-06-29 Ulrich Drepper <drepper@gmail.com>
12867
12868 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12869 are re-adding the entry.
12870 * nscd/servicescache.c (cache_addserv): Likewise.
12871
751626f9
AJ
128722011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12873
12874 * sysdeps/generic/dl-irel.h: fix protection against multiple
12875 inclusions.
12876 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12877
9113ea1f
UD
128782011-06-28 Ulrich Drepper <drepper@gmail.com>
12879
5c0b8d90
UD
12880 [BZ #12935]
12881 * malloc/memusage.sh: Fix quoting in message.
12882 * debug/xtrace.sh: Likewise.
12883
9113ea1f
UD
12884 * configure.in: Remove support for --experimental-malloc option, make
12885 it the default.
12886 * config.make.in: Likewise.
12887 * malloc/Makefile: Likewise.
12888
a4172181
AS
128892011-06-27 Andreas Schwab <schwab@redhat.com>
12890
12891 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12892 two-byte characters.
12893
78a7eee7
RM
128942011-06-27 Roland McGrath <roland@hack.frob.com>
12895
62bede13
RM
12896 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
12897 AC_CACHE_CHECK invocation.
12898 * configure: Regenerated.
12899
78a7eee7
RM
12900 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
12901
5ce33a62
UD
129022011-06-27 Ulrich Drepper <drepper@gmail.com>
12903
034807a9
UD
12904 [BZ #12350]
12905 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
12906 bit from old_res_options.
12907
4902da17
UD
12908 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
12909
5ce33a62
UD
12910 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
12911 value type for setfct.
12912
c2344f56
L
129132011-06-23 H.J. Lu <hongjiu.lu@intel.com>
12914
12915 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12916 __gettimeofday instead of gettimeofday.
12917
68468076
UD
129182011-06-26 Ulrich Drepper <drepper@gmail.com>
12919
12920 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
12921
acb0d739
L
129222011-06-24 H.J. Lu <hongjiu.lu@intel.com>
12923
12924 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
12925
12926 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
12927 info.
12928
8912479f
L
129292011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12930
12931 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12932 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12933 strcpy-sse2-unaligned strncpy-sse2-unaligned
12934 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
12935 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
12936 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
12937 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
12938 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
12939 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
12940 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
12941 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
12942 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
12943 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
12944 (STRCPY): Support SSE2 and SSSE3 versions.
12945
d5495a11
UD
129462011-06-24 Ulrich Drepper <drepper@gmail.com>
12947
12948 [BZ #12874]
12949 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
12950 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
12951 kernels which artificially limit size of requests.
12952
0b1cbaae
L
129532011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12954
12955 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12956 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12957 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
12958 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
12959 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
12960 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
12961 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
12962 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
12963 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
12964 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
12965 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
12966 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
12967 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
12968 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
12969 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
12970 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12971 Enable unaligned load optimization for Intel Core i3, i5 and i7
12972 processors.
12973 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
12974 Define.
12975 (index_Fast_Unaligned_Load): Define.
12976 (HAS_FAST_UNALIGNED_LOAD): Define.
12977
07f494a0
MP
129782011-06-23 Marek Polacek <mpolacek@redhat.com>
12979
12980 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
12981
fa3fc0fe
UD
129822011-06-22 Ulrich Drepper <drepper@gmail.com>
12983
12984 [BZ #12907]
12985 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
12986 until it is clear that the information is realy needed.
12987 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
12988
e12df166
AS
129892011-06-22 Andreas Schwab <schwab@redhat.com>
12990
12991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
12992
852eb34d
UD
129932011-06-22 Ulrich Drepper <drepper@gmail.com>
12994
84e2a551
UD
12995 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12996 /sys/devices/system/cpu/online if it is usable.
12997
852eb34d
UD
12998 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
12999 reading the information from the /proc filesystem to once a second.
13000
6e502e19
UD
130012011-06-21 Andreas Jaeger <aj@suse.de>
13002
13003 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13004 NULL after inclusion of kernel headers.
13005
75d39ff2
UD
130062011-06-21 Ulrich Drepper <drepper@gmail.com>
13007
51f9aa6a
UD
13008 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13009 calls to internal_setent.
13010
c0244a9d
UD
13011 [BZ #12885]
13012 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13013 addresses using gethostbyname4_r ignore IPv4 addresses.
13014
c5e3c2ae
UD
13015 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13016 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13017
75d39ff2
UD
13018 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13019
42675c6f
DM
130202011-06-20 David S. Miller <davem@davemloft.net>
13021
13022 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13023 inclusions.
13024 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13025
13026 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13027 (elf_irel): Use it.
13028 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13029 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13030 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13031 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13032 * sysdeps/x86_64/dl-irel.h: Likewise.
13033
13034 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13035 * elf/dl-sym.c: Likewise.
13036
57912a71
UD
130372011-06-15 Ulrich Drepper <drepper@gmail.com>
13038
13039 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13040 need to dereference resplen2.
13041
ee22793d
AS
130422011-06-14 Andreas Schwab <schwab@redhat.com>
13043
13044 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13045
a9e836b0
UD
130462011-06-15 Ulrich Drepper <drepper@gmail.com>
13047
77fb9117
UD
13048 * Makeconfig: Define vardbdir and inst_vardbdir.
13049 * nss/Makefile: Add rules to install db-Makefile.
13050
40c1b22c
UD
13051 * nss/nss_db/db-XXX.c: Cleanup.
13052
9f2da732
UD
13053 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13054 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13055 GLIBC_PRIVATE.
13056 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13057 * nss/makedb.c: Implement -g option to specify that value strings
13058 are generated and should not be added to table iterated over for
13059 get*ent calls.
13060 * nss/nss_db/db-initgroups.c: New file.
13061
82e9a1f7
UD
13062 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13063 interface.
13064
c41af17e
UD
13065 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13066 (internal_getgrouplist): Adjust to name change.
13067 Update use_initgroups_entry if this is not the first call.
13068 * nss/databases.def: Add initgroups entry.
13069
a9e836b0
UD
13070 * nss/makedb.c (compute_tables): Check result of multiple hash table
13071 sizes to minimize maximum chain length.
13072
2666d441
UD
130732011-06-14 Ulrich Drepper <drepper@gmail.com>
13074
13075 * Versions.def: Add entry for libnss_db.
13076 * shlib-versions: Likewise.
13077 * nss/Makefile: Add rules to build libnss_db.
13078 * nss/Versions: Add libnss_db information. Organize libnss_files
13079 entries better.
13080 * nss/db-Makefile: Add gshadow support. Change rules for the new
13081 makedb progra. Some minor improvements to generate smaller files.
13082 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13083 here from...
13084 * nss/makedb.c: ...here.
13085 Improve database format to be smaller and require less memory at
13086 runtime.
13087 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13088 db anymore.
13089 * nss/nss_db/db-netgrp.c: Likewise.
13090 * nss/nss_db/db-open.c: Likewise.
13091 * nss/nss_files/flies-XXX.x: Adjust comments.
13092 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13093 * nss/nss_files/files-grp.c: Likewise.
13094 * nss/nss_files/files-hosts.c: Likewise.
13095 * nss/nss_files/files-network.c: Likewise.
13096 * nss/nss_files/files-proto.c: Likewise.
13097 * nss/nss_files/files-pwd.c: Likewise.
13098 * nss/nss_files/files-rpc.c: Likewise.
13099 * nss/nss_files/files-service.c: Likewise.
13100 * nss/nss_files/files-sgrp.c: Likewise.
13101 * nss/nss_files/files-spwd.c: Likewise.
13102 * nss/nss_db/db-alias.c: Removed.
13103 * nss/nss_db/dummy-db.h: Removed.
13104
9ee76b5a
UD
131052011-06-02 Ulrich Drepper <drepper@gmail.com>
13106
13107 * nss/makedb.c: Rewritten to not use database library.
13108 * nss/Makefile: Update to build new makedb program.
13109
c71ca1f8
AJ
131102011-06-14 Andreas Jaeger <aj@suse.de>
13111
13112 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13113 memset declaration.
13114
3154bfb8
UD
131152011-06-10 Andreas Schwab <schwab@redhat.com>
13116
13117 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13118 tmpbuf.
13119
b350afab
RM
131202011-06-10 Roland McGrath <roland@hack.frob.com>
13121
decd4e50
RM
13122 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13123 * elf/Makefile ($(objpfx)ld.so): Likewise.
13124
5615eaf2
RM
13125 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13126 Don't list ld.so twice in dependencies.
13127
13128 * posix/bug-regex31.c: Include <stdlib.h>.
13129
13130 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13131
13132 * nis/nss_compat/compat-spwd.c
13133 (getspent_next_nss_netgr): Remove unused variable.
13134 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13135
13136 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13137 nonmembers" output to use the right array.
13138
13139 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13140
13141 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13142
13143 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13144 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13145 * catgets/gencat.c (read_input_file): Likewise.
13146 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13147
13148 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13149 variable definition inside #if's controlling its use.
13150
13151 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13152
13153 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13154
13155 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13156
13157 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13158 unreachable code.
13159
13160 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13161
b68e08db
RM
13162 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13163 * configure: Regenerated.
13164
b350afab
RM
13165 * Makerules: Revert last change.
13166 * elf/Makefile: Likewise.
13167
28368601
RM
131682011-06-09 Roland McGrath <roland@hack.frob.com>
13169
13170 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13171 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13172 (reloc-link): Likewise.
13173
11988f8f
UD
131742011-06-09 Ulrich Drepper <drepper@gmail.com>
13175
13176 * elf/Makefile: Add rules to build pldd.
13177 * elf/pldd.c: New file.
13178 * elf/pldd-xx.c: New file.
13179
e80fab37
UD
131802011-06-07 Ulrich Drepper <drepper@gmail.com>
13181
13182 * version.h: Update for 2.15 development version.
13183
9b849836
DM
131842011-06-07 David S. Miller <davem@davemloft.net>
13185
13186 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13187 ifuncs.
13188 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13189 elf_machine_lazy_rel): Likewise.
13190 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13191 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13192 elf_machine_lazy_rel): Likewise.
13193 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13194 dl_hwcap via passed in argument.
13195 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13196 Likewise.
13197
5a31b283
AK
131982011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13199
13200 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13201
069e52f8
RM
132022011-06-06 Roland McGrath <roland@hack.frob.com>
13203
13204 [BZ #12849]
13205 * manual/fdl-1.1.texi: New file, verbatim from:
13206 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13207 * manual/lgpl-2.1.texi: New file, verbatim from:
13208 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13209 * manual/Makefile (licenses): New variable, list those new file names.
13210 (texis): Use it.
13211 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13212
13213 * manual/fdl.texi: File removed.
13214 * manual/lesser.texi: File removed.
13215 * manual/libc.texinfo (Copying, Documentation License):
13216 Use new @include file names, put @appendix directive before @include.
13217
f16846a5
JJ
132182011-06-04 Jakub Jelinek <jakub@redhat.com>
13219
13220 [BZ #12841]
13221 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13222 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13223 (mq_open): Add __NTH.
13224
3d29045b
L
132252011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13226
13227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13228 Assume Intel Core i3/i5/i7 processor if AVX is available.
13229
8c297311
UD
132302011-05-31 Ulrich Drepper <drepper@gmail.com>
13231
13232 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13233 typo.
13234
c8fc0c91
UD
132352011-05-31 Andreas Schwab <schwab@redhat.com>
13236
13237 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13238 memory. Use alloca_account. Fix memory leak when retrying.
13239
5b27a807
UD
132402011-05-31 Ulrich Drepper <drepper@gmail.com>
13241
356f8bc6
UD
13242 * version.h (RELEASE): Bump for 2.14 release.
13243 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13244
5b27a807
UD
13245 * config.make.in (RANLIB): Remove entry.
13246
01f16ab0
UD
132472011-05-30 Ulrich Drepper <drepper@gmail.com>
13248
41fce8bd
UD
13249 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13250 (libc.pot): Work around missing support for .ksh extension in xgettext.
13251
4769ae77
UD
13252 [BZ #12684]
13253 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13254 if both request failed.
13255 (send_dg): In case of server errors clear resplen or *resplen2.
13256
6b1e7d19
UD
13257 [BZ #12454]
13258 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13259 when there are multiple maps.
13260 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13261 (_dl_fini): Remove test here.
13262
01f16ab0
UD
13263 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13264
b1ebd700
UD
132652011-05-29 Ulrich Drepper <drepper@gmail.com>
13266
7ae22829
UD
13267 [BZ #12350]
13268 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13269 bit from old_res_options.
13270 (gaih_inet): Likewise.
13271
553149f6 13272 [BZ #11099]
18a84741 13273 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13274 as signed.
13275
652ffab1
UD
13276 * resolv/res_init.c (res_setoptions): Make the code more compact.
13277
16985fd0
UD
13278 [BZ #11558]
13279 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13280 set RES_USEVC.
13281
0464f746
UD
13282 [BZ #11634]
13283 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13284
7d17596c
UD
13285 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13286
cf6bbbd7
UD
13287 [BZ #11781]
13288 * malloc/malloc.h: Declare malloc hook variables as volatile.
13289
13f1ab36
UD
13290 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13291 in last patch.
13292
b1ebd700
UD
13293 [BZ #11799]
13294 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13295 raise in the comment.
80e2212d
UD
13296 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13297 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13298 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13299
ce67228d
UD
133002011-05-28 Ulrich Drepper <drepper@gmail.com>
13301
8887a920
UD
13302 [BZ #12811]
13303 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13304 grow the buffers more if it already has to be sufficient.
13305 (build_wcs_upper_buffer): Likewise.
13306 * posix/regexec.c (check_matching): Likewise.
13307 (clean_state_log_if_needed): Likewise.
13308 (extend_buffers): Don't enlarge buffers beyond size of the input
13309 buffer.
13310 Patches mostly by Emil Wojak <emil@wojak.eu>.
13311 * posix/bug-regex32.c: New file.
13312 * posix/Makefile (tests): Add bug-regex32.
13313
4f031072
UD
13314 * locale/findlocale.c (_nl_find_locale): Return right away if
13315 _nl_explode_name failed.
13316 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13317
d0478f0c
UD
13318 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13319
de81b246
UD
13320 * debug/xtrace.sh: Unify messages.
13321 * malloc/memusage.sh: Likewise.
13322
c738465a
UD
13323 [BZ #12813]
13324 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13325 time symbol from vDSO. Substitute with vsyscall if not available.
13326 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13327 __vdso_time.
13328
f1f929d7
UD
13329 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13330 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13331 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13332 Add sendmmsg and internal_sendmmsg.
13333 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13334 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13335 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13336
ce67228d
UD
13337 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13338 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13339 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13340
e57420c6
UD
133412011-05-27 Ulrich Drepper <drepper@gmail.com>
13342
a8509ca5
UD
13343 [BZ #12813]
13344 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13345 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13346 available.
13347 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13348 __vdso_getcpu.
13349
e57420c6
UD
13350 [BZ #12814]
13351 * iconvdata/Makefile (tests): Add bug-iconv9.
13352 * iconvdata/bug-iconv9.c: New file.
13353
4d07db15
AS
133542011-05-27 Andreas Schwab <schwab@redhat.com>
13355
13356 [BZ #12814]
13357 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13358
ea486f69
JJ
133592011-05-25 Jakub Jelinek <jakub@redhat.com>
13360
13361 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13362 (struct user_regs_struct): Change intcs field back to cs.
13363
6f038433
UD
133642011-05-25 Ulrich Drepper <drepper@gmail.com>
13365
13366 * po/ja.po: Update from translation team.
13367
67f86a25
UD
133682011-05-23 Ulrich Drepper <drepper@gmail.com>
13369
13370 [BZ #12795]
13371 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13372 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13373
def7fbd6
AS
133742011-05-20 Andreas Schwab <schwab@redhat.com>
13375
13376 * stdlib/longlong.h: Update from GCC.
13377
f50ef8f1
AS
133782011-05-23 Andreas Schwab <schwab@redhat.com>
13379
13380 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13381 parameter name.
13382 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13383 Add parameter name.
13384 (__sysconf): Pass it down.
13385
de7ce8f1
UD
133862011-05-22 Ulrich Drepper <drepper@gmail.com>
13387
f2962a71
UD
13388 [BZ #12671]
13389 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13390 some situations.
13391 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13392 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13393 add in in __libc_use_alloca calls. Adjust callers.
13394 (glob): Use malloc in some situations.
13395
de7ce8f1
UD
13396 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13397 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13398 pltexit.
13399
aec84f53
UD
134002011-05-21 Ulrich Drepper <drepper@gmail.com>
13401
05bb4a68
UD
13402 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13403 and CLOCK_BOOTTIME_ALARM.
13404
7ea72f99
UD
13405 [BZ #12782]
13406 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13407 is returned.
13408
7e4afad5
UD
13409 * string/_strerror.c (__strerror_r): Print negative errors as signed
13410 numbers.
13411
8e211fec
UD
13412 [BZ #12777]
13413 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13414 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13415 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13416
f7d82dc9
UD
13417 * configure.in: Fix typo in redirection and correct removal of test
13418 files in two cases.
13419
cc9e536d
UD
13420 [BZ #12788]
13421 * locale/setlocale.c (new_composite_name): Fix test to check for
13422 identical name of all categories.
13423
aec84f53
UD
13424 [BZ #12792]
13425 * libio/filedoalloc.c (local_isatty): New function.
13426 (_IO_file_doallocate): Use local_isatty.
13427 * stdio-common/perror.c (perror): In case a new stream is used
13428 forward the stream error.
13429 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13430 error flag.
13431
78e64fdc
RT
134322011-05-20 Ulrich Drepper <drepper@gmail.com>
13433
34a9094f
UD
13434 [BZ #11869]
13435 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13436 alloca.
13437 * include/alloca.h (extend_alloca_account): Define.
13438
78e64fdc
RT
13439 [BZ #11857]
13440 * posix/regex.h: Fix comments with documentation of user-accessible
13441 fields after compilation and describe correct free'ing of pattern
13442 after re_compile_pattern.
13443 Patch by Reuben Thomas <rrt@sc3d.org>.
13444
457bddfc
RA
134452011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13446
13447 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13448 and -mno-altivec to prevent the compiler from using Altivec and/or
13449 VSX instructions when the corresponding registers are not available.
13450
a4527b51
AS
134512011-05-19 Andreas Schwab <schwab@redhat.com>
13452
13453 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13454
ed690b2f
UD
134552011-05-19 Ulrich Drepper <drepper@gmail.com>
13456
13457 * libio/freopen.c (freopen): Use __dup2, not dup2.
13458 * libio/freopen64.c (freopen64): Likewise.
13459
8db73634
L
134602011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13461
13462 [BZ #12775]
13463 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13464 * math/Makefile (tests): Add test-powl.
13465 (CFLAGS-test-powl.c): Define.
13466 * math/test-powl.c: New file.
13467
0a197a9d
L
134682011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13469
13470 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13471
ee30c380
UD
134722011-05-17 Ulrich Drepper <drepper@gmail.com>
13473
13474 [BZ #11837]
13475 * iconvdata/gb18030.c: Update to GB18020-2005.
13476
6ce75379
UD
134772011-05-16 Ulrich Drepper <drepper@gmail.com>
13478
a4b89fd8
AR
13479 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13480 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13481 Patch by Aharon Robbins <arnold@skeeve.com>.
13482
ea389b12
UD
13483 [BZ #11892]
13484 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13485 on the stack.
13486
68a3f91f
UD
13487 [BZ #11895]
13488 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13489 through underflows.
13490
15cc7dd1
UD
13491 [BZ #12766]
13492 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13493 point to strings before performing equality test for error_one_per_line
13494 mode.
13495
f3799213
UD
13496 [BZ #11697]
13497 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13498
d79a9c94
UD
13499 [BZ #11820]
13500 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13501 (struct user_fpregs_struct): Avoid __uint*_t types.
13502
56e5eb46
UD
13503 [BZ #6420]
13504 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13505 symbol info. Use it instead of calling _dl_addr locally.
13506 (lock_and_info): New function.
13507 (tr_freehook): Call lock_and_info and pass symbol info as additional
13508 parameter to tr_where.
13509 (tr_mallochook): Likewise.
13510 (tr_reallochook): Likewise.
13511 (tr_memalignhook): Likewise.
13512
6ce75379
UD
13513 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13514 used and couldn't be at all thread-safe.
13515
f8a3b5bf
UD
135162011-05-15 Ulrich Drepper <drepper@gmail.com>
13517
94b7cc37
UD
13518 * libio/freopen.c (freopen): Don't close old file descriptor
13519 before the new one is opened. Instead dup the new file descriptor
13520 to the old one after the new stream is created.
13521 * libio/freopen64.c (freopen64): Likewise.
13522 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13523 * libio/fileops.c (_IO_new_file_close_it): Handle new
13524 _IO_FLAGS2_NOCLOSE flag.
13525 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13526 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13527 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13528 _IO_FLAGS2_NOCLOSE flag.
13529 * include/unistd.h: Add hidden_proto for dup3.
13530 Define __have_dup3.
13531 * io/dup3.c: Define hidden symbol.
13532 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13533
bd25564e
UD
13534 [BZ #7101]
13535 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13536 when an incomplete long option is used.
13537 * posix/tst-getopt_long1.c: New file.
13538 * posix/Makefile (tests): Add tst-getopt_long1.
13539
c84cfef4
UD
13540 [BZ #10138]
13541 * scripts/config.guess: Update from autoconf-2.68.
13542 * scripts/config.sub: Likewise.
13543
3b85df27
UD
13544 [BZ #10157]
13545 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13546 tests into ...
13547 (has_cpuclock): ...this. New function.
13548 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13549 macro here based on has_cpuclock code.
13550
15a856b1
UD
13551 [BZ #10149]
13552 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13553 First byte (not low byte) is now always NUL.
13554 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13555
05f399e6
UD
13556 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13557 Use non-cancelable interfaces.
13558
10a52685 13559 [BZ #9809]
94ecc67d
UD
13560 * locale/iso-639.def: Add entry for Sorani.
13561
f8a3b5bf
UD
13562 [BZ #11901]
13563 * include/stdlib.h: Move include protection to the right place.
13564 Define abort_msg_s. Declare __abort_msg with it.
13565 * stdlib/abort.c (__abort_msg): Adjust type.
13566 * assert/assert.c (__assert_fail_base): New function. Majority
13567 of code from __assert_fail. Allocate memory for __abort_msg with
13568 mmap.
13569 (__assert_fail): Now call __assert_fail_base.
13570 * assert/assert-perr.c: Remove bulk of implementation. Use
13571 __assert_fail_base.
13572 * include/assert.hL Declare __assert_fail_base.
13573 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13574 mmap.
13575 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13576
1af4e298
UD
135772011-05-14 Ulrich Drepper <drepper@gmail.com>
13578
f8a3b5bf 13579 [BZ #11952]
d26dfc60
MG
13580 [BZ #12453]
13581 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13582 until all modules are registered in the DTV.
13583 * elf/Makefile: Add rules to build and run tst-tls19.
13584 * elf/tst-tls19.c: New file.
13585 * elf/tst-tls19mod1.c: New file.
13586 * elf/tst-tls19mod2.c: New file.
13587 * elf/tst-tls19mod3.c: New file.
13588 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13589
2fc54d6f
UD
13590 [BZ #12083]
13591 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13592 correctly.
13593
98d76b46
UD
13594 [BZ #12601]
13595 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13596 two-byte sequence errors.
13597 * iconvdata/Makefile (tests): Add bug-iconv8.
13598 * iconvdata/bug-iconv8.c: New file.
13599
da3c19ef
UD
13600 [BZ #12626]
13601 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13602 buf2 definition.
13603
ca408c15
UD
13604 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13605
d6f67f7d
UD
13606 [BZ #12432]
13607 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13608 (dummy_getcfa): New function.
13609 (init): Get _Unwind_GetCFA address, use dummy if not found.
13610 (backtrace_helper): In recursion check, also check whether CFA changes.
13611 (__backtrace): Completely initialize arg.
13612
1af4e298 13613 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
13614 storing incomplete byte sequence in state object. Avoid testing for
13615 guaranteed too small input if we know there is enough data available.
1af4e298 13616
da62f81b
AS
136172011-05-11 Andreas Schwab <schwab@redhat.com>
13618
13619 * Makeconfig (+link-pie): Indent.
13620 * Rules (binaries-pie): Define if $(have-fpie) and
13621 $(build-shared).
13622 (binaries-shared): Also filter out $(binaries-pie).
13623 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13624 * nscd/Makefile (others-pie): Add nscd.
13625 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13626 ($(objpfx)nscd): Remove command override.
13627 * login/Makefile (others-pie): Add pt_chown.
13628 ($(objpfx)pt_chown): Remove command override.
13629 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13630 remove command overrides.
13631
fcabc0f8
UD
136322011-05-13 Ulrich Drepper <drepper@gmail.com>
13633
20030ae6
UD
13634 * libio/tst_putwc.c: Fix error messages.
13635
fcabc0f8
UD
13636 [BZ #12724]
13637 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13638 currently writing and seek to current position when not.
13639 * libio/Makefile (tests): Add bug-fclose1.
13640 * libio/bug-fclose1.c: New file.
13641
320a5dc0
PB
136422011-05-12 Ulrich Drepper <drepper@gmail.com>
13643
13644 [BZ #12511]
13645 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13646 don't set DF_1_NODELETE here.
13647 (do_lookup_x): When entering new entry test for copy relocation
13648 and if necessary set DF_1_NODELETE flag.
13649 * elf/tst-unique4.cc: New file.
13650 * elf/tst-unique4.h: New file.
13651 * elf/tst-unique4lib.cc: New file.
13652 * elf/Makefile: Add rules to build and run tst-unique4.
13653 Patch by Piotr Bury <pbury@goahead.com>.
13654
22836f52
UD
136552011-05-11 Ulrich Drepper <drepper@gmail.com>
13656
f574184a
UD
13657 [BZ #12052]
13658 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13659
e1fb097f
UD
13660 [BZ #12625]
13661 * misc/mntent_r.c (addmntent): Flush the stream after the output
13662
22836f52
UD
13663 [BZ #12393]
13664 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13665 (is_trusted_path_normalize): Skip initial colon. Append slash
13666 to empty buffer. Duplicate is_trusted_path code but allow
13667 constructed patch to be prefix.
13668 (is_dst): Allow $ORIGIN followed by /.
13669 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13670 Correct testing of result of is_trusted_path_normalize
13671 (decompose_rpath): Fix warning.
13672
7b3b0b2a
UD
136732011-05-10 Ulrich Drepper <drepper@gmail.com>
13674
13675 [BZ #11257]
13676 * grp/initgroups.c (internal_getgrouplist): When we found the service
13677 list through the initgroups entry in nsswitch.conf do not always
13678 continue on a successful lookup. Don't always use the
eac80ce2 13679 __nss_group_database value if it is set.
7b3b0b2a
UD
13680 * nss/nsswitch.conf (initgroups): Change action for successful db
13681 lookup to continue for compatibility.
13682
2a81eaa5
UD
136832011-05-09 Ulrich Drepper <drepper@gmail.com>
13684
be97a69e
UD
13685 [BZ #11532]
13686 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13687 and CP774 modules.
13688 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13689 and CP774 modules.
13690 * iconvdata/tst-tables.sh: Likewise.
13691 * iconvdata/cp770.c: New file.
13692 * iconvdata/cp771.c: New file.
13693 * iconvdata/cp772.c: New file.
13694 * iconvdata/cp773.c: New file.
13695 * iconvdata/cp774.c: New file.
13696 * iconvdata/testdata/CP770: New file.
13697 * iconvdata/testdata/CP770..UTF8: New file.
13698 * iconvdata/testdata/CP771: New file.
13699 * iconvdata/testdata/CP771..UTF8: New file.
13700 * iconvdata/testdata/CP772: New file.
13701 * iconvdata/testdata/CP772..UTF8: New file.
13702 * iconvdata/testdata/CP773: New file.
13703 * iconvdata/testdata/CP773..UTF8: New file.
13704 * iconvdata/testdata/CP774: New file.
13705 * iconvdata/testdata/CP774..UTF8: New file.
13706
13707 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13708 END CHARMAP line.
13709 * iconvdata/gen-8bit-gap.sh: Likewise.
13710 * iconvdata/gen-8bit.sh: Likewise.
13711
c1e9e399
UD
13712 * locale/iso-639.def: Add ary entry.
13713
24c55fb3 13714 [BZ #11258]
96b4b1b0
UD
13715 * locale/C-translit.h.in: Add U20A1 transliteration.
13716
bdc2f971
KB
13717 [BZ #12178]
13718 * locale/iso-639.def: Add wae entry.
13719 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13720
2952b117
UD
13721 [BZ #12545]
13722 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13723 for n.
13724
2a81eaa5
UD
13725 [BZ #12711]
13726 * locale/C-translit.h.in: Add entry for U20B9.
13727 Patch by pravin.d.s@gmail.com.
13728
28377d1b
UD
137292011-05-08 Ulrich Drepper <drepper@gmail.com>
13730
7fb90fb8
UD
13731 [BZ #12713]
13732 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13733 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
13734 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13735 in rtld. Use *stat64.
7fb90fb8 13736 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 13737 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 13738 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
13739 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13740 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13741 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13742 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13743 __fstatat64 macros.
7fb90fb8
UD
13744 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13745 * dirent/rewinddir.c: Add libc_hidden_def.
13746 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 13747 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 13748
28377d1b
UD
13749 * include/dirent.h (__alloc_dir): Add flags parameter.
13750 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13751 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13752 __alloc_dir.
13753 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13754 from fdopendir if O_CLOEXEC is already set.
13755
66bdbaa4
AM
137562011-03-15 Alan Modra <amodra@gmail.com>
13757
13758 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13759 l_tls_firstbyte_offset non-zero. Save padding offset in
13760 l_tls_firstbyte_offset for later use.
13761 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13762 freeing static tls block.
13763
95721191
JN
137642011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13765
13766 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13767 where #ifdef was intended. The intent is to prevent ARG_MAX from
13768 being defined by the kernel headers.
13769
f87dfb1f
UD
137702011-05-07 Ulrich Drepper <drepper@gmail.com>
13771
13772 [BZ #12734]
13773 * resolv/resolv.h: Define RES_NOTLDQUERY.
13774 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13775 no-tld-query and set RES_NOTLDQUERY.
13776 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13777 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13778 modern BIND to search name as TLD unless forbidden.
13779
47c3cd7a
UD
137802011-05-07 Petr Baudis <pasky@suse.cz>
13781 Ulrich Drepper <drepper@gmail.com>
13782
13783 [BZ #12393]
13784 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13785 (is_trusted_path): ...to here.
c1e9ea35 13786 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 13787 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 13788 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 13789
8a35c912
PP
137902011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13791
13792 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13793 __BEGIN/__END_DECLS.
13794
acd41f47
UD
137952011-05-06 Ulrich Drepper <drepper@gmail.com>
13796
13797 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13798 NSS_STATUS_NOTFOUND if no record was found.
13799
597df647
AS
138002011-05-05 Andreas Schwab <schwab@redhat.com>
13801
13802 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13803 (headers-not-in-tirpc): Remove rpc/netdb.h
13804 * resolv/netdb.h: Revert last change.
13805
b9af1301
PP
138062011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13807
13808 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13809 circular dependency between libgcc.a and libc.a.
13810
4e34d5f5
AS
138112011-05-05 Andreas Schwab <schwab@redhat.com>
13812
13813 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13814 * nis/Makefile: Don't install rpcsvc/*.
13815 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13816 instead of <rpc/types.h>.
13817 (MAXHOSTNAMELEN): Define.
13818
00ee369c
AS
138192011-05-03 Andreas Schwab <schwab@redhat.com>
13820
13821 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13822
0b592a30
MB
138232011-04-28 Maciej Babinski <mbabinski@google.com>
13824
13825 [BZ #12714]
13826 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13827 gethostbyname4_r when IPv6 results are possible.
13828
6e04cbbe
UD
138292011-05-02 Ulrich Drepper <drepper@gmail.com>
13830
13831 [BZ #12723]
13832 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13833 _PC_PIPE_BUF handling.
13834
e4ecafe0
BH
138352011-04-30 Bruno Haible <bruno@clisp.org>
13836
13837 [BZ #12717]
13838 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
13839 * resolv/netdb.h (getnameinfo): Change type of flags parameter
13840 to 'int'.
13841 * inet/getnameinfo.c (getnameinfo): Likewise.
13842
125ee683
UD
138432011-04-29 Ulrich Drepper <drepper@gmail.com>
13844
13845 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13846 to groups setting in database lookup.
13847 * nss/nsswitch.conf: Add initgroups entry.
13848
b722481a
EB
138492011-04-22 Ulrich Drepper <drepper@gmail.com>
13850
13851 [BZ #12685]
13852 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13853 mode string.
13854 Patch by Eric Blake <eblake@redhat.com>.
13855
4df46dbd
L
138562011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13857
13858 * sunrpc/Makefile (need-export-routines): Add svc_run.
13859 (routines): Remove svc_run.
13860 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13861 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13862 * sunrpc/svc_run.c (svc_run): Likewise.
13863 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13864
e84142d2
UD
138652011-04-21 Ulrich Drepper <drepper@gmail.com>
13866
13867 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13868 problem in reallocation in last patch.
13869
877175d8
UD
138702011-04-20 Ulrich Drepper <drepper@gmail.com>
13871
13872 * sunrpc/Makefile: Move inclusion of Rules.
13873
ab8eed78
UD
138742011-04-19 Ulrich Drepper <drepper@gmail.com>
13875
13876 * nss/nss_files/files-initgroups.c: New file.
13877 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13878 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13879 _nss_files_initgroups_dyn.
13880
e3d8f584
RS
138812011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
13882
13883 * elf/elf.h (R_ARM_IRELATIVE): Define.
13884
af190f45
UD
138852011-04-19 Ulrich Drepper <drepper@gmail.com>
13886
13887 * po/ru.po: Update from translation team.
13888
53cf59ef
UD
138892011-04-17 Ulrich Drepper <drepper@gmail.com>
13890
13891 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
13892 dependencies.
13893
4c559bcd
MF
138942011-02-06 Mike Frysinger <vapier@gentoo.org>
13895
13896 [BZ #12653]
13897 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
13898 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
13899 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13900 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13901 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13902
4420675c
AS
139032011-03-28 Andreas Schwab <schwab@linux-m68k.org>
13904
13905 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
13906 differing bytes.
13907 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13908 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13909 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13910
75ea32ab
UD
139112011-04-17 Ulrich Drepper <drepper@gmail.com>
13912
13913 [BZ #12420]
13914 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
13915 storing it.
13916 * stdlib/bug-getcontext.c: New file.
13917 * stdlib/Makefile: Add rules to build and run bug-getcontext.
13918
27390476
AK
139192011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13920
13921 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
13922 instructions into .machine "z9-109".
13923 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13924 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13925
10442705
AK
139262011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13927
13928 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
13929 between environment variables and auxiliary vector.
13930
7b57bfe5
UD
139312011-04-16 Ulrich Drepper <drepper@gmail.com>
13932
13933 * Makefile: Add rules to build linkobj/libc.so.
13934 * include/libc-symbols.h: Define libc_hidden_nolink.
13935 * include/rpc/auth.h: Mark functions which are to be hidden.
13936 * include/rpc/auth_des.h: Likewise.
13937 * include/rpc/auth_unix.h: Likewise.
13938 * include/rpc/clnt.h: Likewise.
13939 * include/rpc/des_crypt.h: Likewise.
13940 * include/rpc/key_prot.h: Likewise.
13941 * include/rpc/pmap_clnt.h: Likewise.
13942 * include/rpc/pmap_prot.h: Likewise.
13943 * include/rpc/pmap_rmt.h: Likewise.
13944 * include/rpc/rpc_msg.h: Likewise.
13945 * include/rpc/svc.h: Likewise.
13946 * include/rpc/svc_auth.h: Likewise.
13947 * include/rpc/xdr.h: Likewise.
13948 * nis/Makefile: Link all DSOs against linkobj/libc.so.
13949 * nss/Makefile: Likewise.
13950 * sunrpc/Makefile: Don't install headers. Build library with normal
13951 entry points. Don't build rpcinfo. Link RPC tests appropriately.
13952 * sunrpc/auth_des.c: Hide exported symbols by default, export some
13953 for the compat linking library. Remove use of INTDEF/INTUSE.
13954 * sunrpc/auth_none.c: Likewise.
13955 * sunrpc/auth_unix.c: Likewise.
13956 * sunrpc/authdes_prot.c: Likewise.
13957 * sunrpc/authuxprot.c: Likewise.
13958 * sunrpc/clnt_gen.c: Likewise.
13959 * sunrpc/clnt_perr.c: Likewise.
13960 * sunrpc/clnt_raw.c: Likewise.
13961 * sunrpc/clnt_simp.c: Likewise.
13962 * sunrpc/clnt_tcp.c: Likewise.
13963 * sunrpc/clnt_udp.c: Likewise.
13964 * sunrpc/clnt_unix.c: Likewise.
13965 * sunrpc/des_crypt.c: Likewise.
13966 * sunrpc/des_soft.c: Likewise.
13967 * sunrpc/get_myaddr.c: Likewise.
13968 * sunrpc/key_call.c: Likewise.
13969 * sunrpc/key_prot.c: Likewise.
13970 * sunrpc/netname.c: Likewise.
13971 * sunrpc/pm_getmaps.c: Likewise.
13972 * sunrpc/pm_getport.c: Likewise.
13973 * sunrpc/pmap_clnt.c: Likewise.
13974 * sunrpc/pmap_prot.c: Likewise.
13975 * sunrpc/pmap_prot2.c: Likewise.
13976 * sunrpc/pmap_rmt.c: Likewise.
13977 * sunrpc/publickey.c: Likewise.
13978 * sunrpc/rpc_cmsg.c: Likewise.
13979 * sunrpc/rpc_common.c: Likewise.
13980 * sunrpc/rpc_dtable.c: Likewise.
13981 * sunrpc/rpc_prot.c: Likewise.
13982 * sunrpc/rpc_thread.c: Likewise.
13983 * sunrpc/rtime.c: Likewise.
13984 * sunrpc/svc.c: Likewise.
13985 * sunrpc/svc_auth.c: Likewise.
13986 * sunrpc/svc_authux.c: Likewise.
13987 * sunrpc/svc_raw.c: Likewise.
13988 * sunrpc/svc_run.c: Likewise.
13989 * sunrpc/svc_simple.c: Likewise.
13990 * sunrpc/svc_tcp.c: Likewise.
13991 * sunrpc/svc_udp.c: Likewise.
13992 * sunrpc/svc_unix.c: Likewise.
13993 * sunrpc/svcauth_des.c: Likewise.
13994 * sunrpc/xcrypt.c: Likewise.
13995 * sunrpc/xdr.c: Likewise.
13996 * sunrpc/xdr_array.c: Likewise.
13997 * sunrpc/xdr_float.c: Likewise.
13998 * sunrpc/xdr_intXX_t.c: Likewise.
13999 * sunrpc/xdr_mem.c: Likewise.
14000 * sunrpc/xdr_rec.c: Likewise.
14001 * sunrpc/xdr_ref.c: Likewise.
14002 * sunrpc/xdr_sizeof.c: Likewise.
14003 * sunrpc/xdr_stdio.c: Likewise.
14004
e6c61494
UD
140052011-04-10 Ulrich Drepper <drepper@gmail.com>
14006
14007 [BZ #12650]
14008 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14009 * sysdeps/ia64/dl-tls.h: Likewise.
14010 * sysdeps/powerpc/dl-tls.h: Likewise.
14011 * sysdeps/s390/dl-tls.h: Likewise.
14012 * sysdeps/sh/dl-tls.h: Likewise.
14013 * sysdeps/sparc/dl-tls.h: Likewise.
14014 * sysdeps/x86_64/dl-tls.h: Likewise.
14015 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14016
34fe483e
AS
140172011-03-14 Andreas Schwab <schwab@redhat.com>
14018
14019 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14020 rpath element also skip the following colon.
14021 (expand_dynamic_string_token): Add is_path parameter and pass
14022 down to DL_DST_REQUIRED and _dl_dst_substitute.
14023 (decompose_rpath): Call expand_dynamic_string_token with
14024 non-zero is_path. Ignore empty rpaths.
14025 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14026 with zero is_path.
14027
f12a32e6
AS
140282011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14029
14030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14031 Make cancelable.
14032
38a7d692
UD
140332011-04-09 Ulrich Drepper <drepper@gmail.com>
14034
14035 [BZ #12655]
14036 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14037 Patch by Filipe David Manana <fdmanana@apache.org>.
14038
e451d22b
AS
140392011-04-07 Andreas Schwab <schwab@redhat.com>
14040
14041 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14042 Maintain aligned stack.
14043 (CHECK_RSP): Remove unused macro.
14044
dedc7c7b
UD
140452011-04-03 Ulrich Drepper <drepper@gmail.com>
14046
14047 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14048 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14049
94521213
UD
140502011-04-02 Ulrich Drepper <drepper@gmail.com>
14051
14052 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14053
8cb700c0 14054 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14055
0354e355
L
140562011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14057
14058 [BZ #12518]
14059 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14060 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14061 * sysdeps/x86_64/memmove.c: New file.
14062 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14063 (memcpy): Renamed to ...
14064 (__new_memcpy): This.
14065 (memcpy): Provide GLIBC_2_14 memcpy.
14066 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14067 (memcpy): Provide GLIBC_2_2_5 memcpy.
14068
8593482f
UD
140692011-04-01 Ulrich Drepper <drepper@gmail.com>
14070
14071 [BZ #12631]
14072 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14073
81a5726b
AS
140742011-03-30 Andreas Schwab <schwab@redhat.com>
14075
14076 * misc/syncfs.c: New file.
14077 * misc/Makefile (routines): Add syncfs.
14078 * posix/unistd.h: Declare syncfs.
14079 * sysdeps/unix/syscalls.list: Add syncfs.
14080
00e5419f
AS
140812011-04-01 Andreas Schwab <schwab@redhat.com>
14082
14083 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14084 open_by_handle_at.
14085 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14086 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14087 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14088 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14089 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14090 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14091 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14092
748876bf
UD
140932011-04-01 Ulrich Drepper <drepper@gmail.com>
14094
658e451d
UD
14095 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14096 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14097 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14098 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14099 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14100 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14101 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14102
748876bf
UD
14103 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14104 sync_file_range.c with -fexceptions.
14105 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14106 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14107 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14108 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14109 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14110 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14111 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14112 sync_file_range as cancellation point
14113 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14114 now a wrapper around __call_sync_file_range with cancellation handling.
14115 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14116 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14117 function name to __call_sync_file_range.
14118 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14119 Add call_sync_file_range.
748876bf 14120
6e63d5e1
AS
141212011-04-01 Andreas Schwab <schwab@redhat.com>
14122
14123 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14124 bits/timex.h.
6e63d5e1 14125
46998f74
UD
141262011-04-01 Ulrich Drepper <drepper@gmail.com>
14127
4c1423ed
UD
14128 * iconv/iconv.h: Fix typo in comment.
14129 * io/fcntl.h: Likewise.
14130 * libio/stdio.h: Likewise.
14131 * posix/spawn.h: Likewise.
14132 * posix/unistd.h: Likewise.
14133 * stdlib/stdlib.h: Likewise.
14134 * time/time.h: Likewise.
14135 * wcsmbs/wchar.h: Likewise.
14136
158648c0
UD
14137 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14138 open_by_handle): Add.
14139 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14140 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14141 Augment a few comments.
14142 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14143 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14144 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14145 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14146 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14147 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14148 open_by_handle.
14149
46998f74
UD
14150 * io/fcntl.h (AT_EMPTY_PATH): Define.
14151
83fe108b
UD
141522011-03-30 Ulrich Drepper <drepper@gmail.com>
14153
14154 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14155 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14156 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14157 to...
14158 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14159 * Versions.def: Add GLIBC_2.14.
14160 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14161 Export.
83fe108b 14162
bb242059
UD
141632011-03-22 Ulrich Drepper <drepper@gmail.com>
14164
14165 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14166 round counter.
14167 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14168
c97a1282
L
141692011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14170
14171 [BZ #12597]
14172 * string/test-strncmp.c (do_page_test): New function.
14173 (check2): Likewise.
14174 (test_main): Call check2.
14175 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14176
2a115601
UD
141772011-03-20 Ulrich Drepper <drepper@gmail.com>
14178
14179 [BZ #12587]
14180 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14181 Handle cache information in CPU leaf 4.
14182 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14183
8126d904
UD
141842011-03-18 Ulrich Drepper <drepper@gmail.com>
14185
042c49c6 14186 [BZ #12583]
8126d904
UD
14187 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14188 character representation.
14189 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14190
ccfe366e
RA
141912011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14192
14193 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14194 END(__isnan) to END(__isnanf) to match function entry point/label
14195 EALIGN(__isnanf,...).
14196
c6e13027
JJ
141972011-03-10 Jakub Jelinek <jakub@redhat.com>
14198
14199 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14200
33f85a3f
UD
142012011-03-10 Ulrich Drepper <drepper@gmail.com>
14202
028478fa
UD
14203 [BZ #12510]
14204 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14205 copy from the symbol referenced in the relocation to initialize the
14206 used variable.
14207 Patch by Piotr Bury <pbury@goahead.com>.
14208 * elf/Makefile: Add rules to build and tst-unique3.
14209 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14210 * elf/tst-unique3.cc: New file.
14211 * elf/tst-unique3.h: New file.
14212 * elf/tst-unique3lib.cc: New file.
14213 * elf/tst-unique3lib2.cc: New file.
14214
33f85a3f
UD
14215 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14216
03592fc7
MF
142172011-03-10 Mike Frysinger <vapier@gentoo.org>
14218
14219 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14220 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14221 to _start.
03592fc7 14222
6a5ee102
UD
142232011-03-06 Ulrich Drepper <drepper@gmail.com>
14224
14225 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14226 to-be-loaded object along a path to loader is ld.so.
14227
7e4ba49c
HJ
142282011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14229 Ulrich Drepper <drepper@gmail.com>
14230
14231 * sysdeps/x86_64/memset.S: After aligning destination, code
14232 branches to different locations depending on the value of
14233 misalignment, when multiarch is enabled. Fix this.
14234
142352011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14236
14237 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14238 Set _x86_64_preferred_memory_instruction for AMD processsors.
14239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14240 Set bit_Prefer_SSE_for_memop for AMD processors.
14241
13a804de
UD
142422011-03-04 Ulrich Drepper <drepper@gmail.com>
14243
14244 * libio/fmemopen.c (fmemopen): Optimize a bit.
14245
9d25c392
AS
142462011-03-03 Andreas Schwab <schwab@redhat.com>
14247
14248 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14249
a5543c6a
RM
142502011-03-03 Roland McGrath <roland@redhat.com>
14251
14252 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14253
012d35f7
DM
142542011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14255
7e4ba49c 14256 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14257 __bzero_ultra1 instead of __memset_ultra1.
14258
4bff6e01
AS
142592011-02-23 Andreas Schwab <schwab@redhat.com>
14260 Ulrich Drepper <drepper@gmail.com>
14261
14262 [BZ #12509]
14263 * include/link.h (struct link_map): Add l_orig_initfini.
14264 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14265 returning unsuccessfully.
14266 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14267 close of a file loaded at startup, restore the original l_initfini
14268 list.
14269 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14270 list, store the pointer.
14271 * elf/Makefile ($(objpfx)noload-mem): New rule.
14272 (noload-ENV): Define.
14273 (tests): Add $(objpfx)noload-mem.
14274 * elf/noload.c: Include <memcheck.h>.
14275 (main): Call mtrace. Close all opened handles.
14276
f2092faf
AS
142772011-02-17 Andreas Schwab <schwab@redhat.com>
14278
14279 [BZ #12454]
14280 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14281 dependencies are missing.
14282
6c8a2e88
ST
142832011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14284
f2092faf 14285 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14286 Hurd needs munmap.
14287 * sysdeps/mach/hurd/ifreq.h: New file.
14288
84a42118
PB
142892011-01-27 Petr Baudis <pasky@suse.cz>
14290 Ulrich Drepper <drepper@gmail.com>
14291
071f805e 14292 [BZ 12445]#
84a42118
PB
14293 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14294 to extend_alloca().
14295 * stdio-common/bug23.c: New file.
14296 * stdio-common/Makefile (tests): Add bug23.
14297
e23fe25b
AS
142982010-09-28 Andreas Schwab <schwab@redhat.com>
14299 Ulrich Drepper <drepper@gmail.com>
14300
14301 [BZ #12489]
14302 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14303 before performing relro protection. At old place add assertion
14304 to make sure nothing changed.
14305
d3f02e10
NS
143062011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14307 Glauber de Oliveira Costa <glommer@gmail.com>
14308
14309 * elf/elf.h: Add new ARM TLS relocs.
14310
d55fd7a5
RA
143112011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14312
14313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14314 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14315 cast from r3.
14316 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14317 'tests' variable.
14318 * sysdeps/wordsize-64/tst-writev.c: New file.
14319
2206397e
RA
143202011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14321
14322 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14323 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14324 insns in _dl_start to prevent a TOC reference before relocs are
14325 resolved.
14326
e9433893
UD
143272011-02-15 Ulrich Drepper <drepper@gmail.com>
14328
14329 [BZ #12469]
14330 * Makeconfig: Remove RANLIB definition.
14331 * Makerules: Don't use RANLIB.
14332 * aclocal.m4: Remove ranlib test.
14333 * configure.in: No need to check for ranlib.
14334 * elf/rtld-Rules: Don't use RANLIB.
14335
f75286c6
ST
143362011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14337
8e31c82d
ST
14338 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14339 protection macro.
14340 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14341 inclusion protection macro.
14342
f75286c6
ST
14343 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14344 SIGRTMIN and SIGRTMAX and print information in that case only when
14345 SIGRTMIN is defined.
14346
c1d0e639
JJ
143472011-02-11 Jakub Jelinek <jakub@redhat.com>
14348
14349 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14350 arginfo fn returning -1.
14351
14352 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14353 and thousands string is zero terminated.
14354
edf9294e
AS
143552011-02-03 Andreas Schwab <schwab@redhat.com>
14356
14357 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14358 sysdeps/unix/sysv/linux/bits/socket.h.
14359
2b7e92df
ST
143602011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14361
edf9294e
AS
14362 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14363 (__CPU_COUNT): Remove old macros.
14364 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14365 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14366 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
14367 (__sched_cpualloc, __sched_cpufree): Add declarations.
14368
a4c7ea7b
UD
143692011-02-05 Ulrich Drepper <drepper@gmail.com>
14370
14371 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14372 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14373 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14374 (readdhstai): Return value of addhstaiX call.
14375 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14376 (addgrbyX): Return value returned by cache_addgr.
14377 (readdgrbyname): Return value returned by addgrbyX.
14378 (readdgrbygid): Likewise.
14379 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14380 (addpwbyX): Return value returned by cache_addpw.
14381 (readdpwbyname): Return value returned by addhstbyX.
14382 (readdpwbyuid): Likewise.
14383 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14384 (addservbyX): Return value returned by cache_addserv.
14385 (readdservbyname): Return value returned by addservbyX:
14386 (readdservbyport): Likewise.
14387 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14388 (addhstbyX): Return value returned by cache_addhst.
14389 (readdhstbyname): Return value returned by addhstbyX.
14390 (readdhstbyaddr): Likewise.
14391 (readdhstbynamev6): Likewise.
14392 (readdhstbyaddrv6): Likewise.
14393 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14394 (readdinitgroups): Return value returned by addinitgroupsX.
14395 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14396 (prune_cache): Keep track of timeout value of re-added entries.
14397 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14398 * nscd/nscd.h: Adjust prototypes of readd* functions.
14399
a0bf67cc
RM
144002011-02-04 Roland McGrath <roland@redhat.com>
14401
14402 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14403 (nis_stats): Likewise.
14404 * nis/nis_modify.c (nis_modify): Likewise.
14405 * nis/nis_remove.c (nis_remove): Likewise.
14406 * nis/nis_add.c (nis_add): Likewise.
14407
14408 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14409
14410 * posix/fnmatch_loop.c: Add some consts.
14411
14412 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14413
435b95eb
L
144142011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14415
14416 [BZ #12460]
14417 * config.make.in (config-cflags-novzeroupper): Define.
14418 * configure.in: Substitute libc_cv_cc_novzeroupper.
14419 * elf/Makefile (AVX-CFLAGS): Define.
14420 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14421 (CFLAGS-tst-auditmod4a.c): Likewise.
14422 (CFLAGS-tst-auditmod4b.c): Likewise.
14423 (CFLAGS-tst-auditmod6b.c): Likewise.
14424 (CFLAGS-tst-auditmod6c.c): Likewise.
14425 (CFLAGS-tst-auditmod7b.c): Likewise.
14426 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14427
8517b15e
UD
144282011-02-02 Ulrich Drepper <drepper@gmail.com>
14429
14430 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14431 function to the callback.
14432 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14433
10a656fe
AS
144342011-02-02 Andreas Schwab <schwab@redhat.com>
14435
14436 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14437 of errno.
14438
968dad0a
UD
144392011-01-19 Ulrich Drepper <drepper@gmail.com>
14440
9f94d2ea 14441 [BZ #11724]
968dad0a
UD
14442 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14443 of constructors.
14444 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14445 of destructors.
14446 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14447
14448 [BZ #11724]
14449 * elf/Makefile: Add rules to build and run new test.
14450 * elf/tst-initorder.c: New file.
14451 * elf/tst-initorder.exp: New file.
14452 * elf/tst-initordera1.c: New file.
14453 * elf/tst-initordera2.c: New file.
14454 * elf/tst-initordera3.c: New file.
14455 * elf/tst-initordera4.c: New file.
14456 * elf/tst-initorderb1.c: New file.
14457 * elf/tst-initorderb2.c: New file.
14458 * elf/tst-order-a1.c: New file.
14459 * elf/tst-order-a2.c: New file.
14460 * elf/tst-order-a3.c: New file.
14461 * elf/tst-order-a4.c: New file.
14462 * elf/tst-order-b1.c: New file.
14463 * elf/tst-order-b2.c: New file.
14464 * elf/tst-order-main.c: New file.
14465 New test case by George Gensure <werkt0@gmail.com>.
14466
86e92359
UD
144672010-10-01 Andreas Schwab <schwab@redhat.com>
14468
14469 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14470 decoding ACE if AI_CANONIDN.
14471
5d5732b0
UD
144722011-01-18 Ulrich Drepper <drepper@gmail.com>
14473
14474 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14475
a77e8cbc
UD
144762011-01-17 Ulrich Drepper <drepper@gmail.com>
14477
6392473f
UD
14478 * version.h (RELEASE): Bump for 2.13 release.
14479 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14480
620a0529
UD
14481 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14482
18ba70a5
UD
14483 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14484 MADV_NOHUGEPAGE.
32465c3e
UD
14485 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14486 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14487 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14488 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14489 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14490 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14491
c0dafcf1
UD
14492 * posix/getconf.c: Update copyright year.
14493 * catgets/gencat.c: Likewise.
14494 * csu/version.c: Likewise.
14495 * debug/catchsegv.sh: Likewise.
14496 * debug/xtrace.sh: Likewise.
14497 * elf/ldconfig.c: Likewise.
14498 * elf/ldd.bash.in: Likewise.
14499 * elf/sprof.c (print_version): Likewise.
14500 * iconv/iconv_prog.c: Likewise.
14501 * iconv/iconvconfig.c: Likewise.
14502 * locale/programs/locale.c: Likewise.
14503 * locale/programs/localedef.c: Likewise.
14504 * malloc/memusage.sh: Likewise.
14505 * malloc/mtrace.pl: Likewise.
14506 * nscd/nscd.c (print_version): Likewise.
14507 * nss/getent.c: Likewise.
14508
a77e8cbc
UD
14509 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14510 PF_CAIF, and PF_ALG.
14511 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14512
77e8bddf
AS
145132011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14514
1f20b93a
AS
14515 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14516 (modules-names): Use them.
14517 (ifunc-test-modules, ifunc-pie-tests): Define.
14518 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14519 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14520 (test-extras): Likewise.
14521 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14522 $(compile-command.c).
14523 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14524 (all-built-dso): Define.
14525 (check-textrel.out, check-execstack.out): Depend on it.
14526
77e8bddf
AS
14527 * configure.in: Don't override --enable-multi-arch.
14528
bc425b33
UD
145292011-01-15 Ulrich Drepper <drepper@gmail.com>
14530
14531 [BZ #6812]
14532 * nscd/hstcache.c (tryagain): Define.
14533 (cache_addhst): Return tryagain not notfound for temporary errors.
14534 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14535 failed.
14536
794c3ad3
UD
145372011-01-14 Ulrich Drepper <drepper@gmail.com>
14538
70181fdd
UD
14539 [BZ #10563]
14540 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14541 to make the syscall.
14542 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14543
794c3ad3
UD
14544 [BZ #12378]
14545 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14546 and fall back to matching as normal character if the string ends before
14547 the matching ']' is found. This is what POSIX requires.
14548 * posix/testfnm.c: Adjust test result.
14549 * posix/globtest.sh: Adjust test result. Add new test.
14550 * posix/tst-fnmatch.input: Likewise.
14551 * posix/tst-fnmatch2.c: Add new test.
14552
68dc9497
AS
145532010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14554
14555 * elf/Makefile (check-execstack): Revert last change. Depend on
14556 check-execstack.h.
14557 (check-execstack.h): New target.
14558 (generated): Add check-execstack.h.
14559 * elf/check-execstack.c: Include "check-execstack.h".
14560 (main): Revert last change.
14561 (handle_file): Return zero if GNU_STACK is absent and
14562 DEFAULT_STACK_PERMS doesn't include PF_X.
14563
451f001b
UD
145642011-01-13 Ulrich Drepper <drepper@gmail.com>
14565
cfa28e56
UD
14566 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14567 in child fails because the descriptor is already closed.
8cf8ce17
UD
14568 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14569 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14570 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 14571
1086d70d
UD
14572 [BZ #12397]
14573 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14574 syscall.
14575
451f001b
UD
14576 [BZ #10484]
14577 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14578 temporary buffer used to handle multi lookups locally.
a85b5cb4 14579 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 14580
08769175
UD
145812011-01-12 Ulrich Drepper <drepper@gmail.com>
14582
14583 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14584 loader is ld.so.
14585
5e49c52e
UD
145862011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14587
14588 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14589 alignment for SSE2.
14590
60522a5f
UD
145912011-01-12 Ulrich Drepper <drepper@gmail.com>
14592
14593 [BZ #12394]
14594 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14595 characters. When rounding increased number of integer digits recompute
14596 number of groups.
14597 * stdio-common/tst-grouping.c: New file.
14598 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14599
f257bbd7
UD
146002011-01-09 Ulrich Drepper <drepper@gmail.com>
14601
14602 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14603 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14604
14605 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14606 void.
14607 * bits/select.h: Likewise.
14608
fa9c15cb
UD
146092011-01-08 Ulrich Drepper <drepper@gmail.com>
14610
14611 * po/ja.po: Update from translation team.
14612
16c2895f
DM
146132011-01-04 David S. Miller <davem@sunset.davemloft.net>
14614
14615 [BZ #11155]
14616 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14617 implementation just like for lxstat, fxstatat, et al.
14618
2543fef2
JM
146192010-12-27 Jim Meyering <meyering@redhat.com>
14620
14621 [BZ #12348]
14622 * posix/regexec.c (build_trtable): Return failure indication upon
14623 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14624
98727dbe
UD
146252010-12-25 Ulrich Drepper <drepper@gmail.com>
14626
5bd6dc5c
UD
14627 [BZ #12201]
14628 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14629 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14630 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14631 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14632
97983464
UD
14633 [BZ #12207]
14634 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14635
98727dbe
UD
14636 [BZ #12204]
14637 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14638 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14639
4a531bb0
L
146402010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14641
14642 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14643 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14644 script has SORT_BY_INIT_PRIORITY.
14645 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14646 NO_CTORS_DTORS_SECTIONS is defined.
14647 * elf/soinit.c: Likewise.
14648 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14649 NO_CTORS_DTORS_SECTIONS is defined.
14650 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14651 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14652 * sysdeps/sh/init-first.c: Likewise.
14653 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14654
07eb4b71
UD
146552010-12-24 Ulrich Drepper <drepper@gmail.com>
14656
14657 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14658 always use the slow path.
14659
30950a5f
RA
146602010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14661
14662 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14663 similar rule which adds the sysdep directories to the header search in
14664 order to pick up the correct platform stackinfo.h.
14665 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14666 perform test if it is, otherwise return successfully without testing.
14667 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14668 DEFAULT_STACK_PERMS define in stackinfo.h.
14669 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14670 defined in stackinfo.h.
14671 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14672 DEFAULT_STACK_PERMS defined in stackinfo.h.
14673 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14674 * sysdeps/ia64/stackinfo.h: Likewise.
14675 * sysdeps/s390/stackinfo.h: Likewise.
14676 * sysdeps/sh/stackinfo.h: Likewise.
14677 * sysdeps/sparc/stackinfo.h: Likewise.
14678 * sysdeps/x86_64/stackinfo.h: Likewise.
14679 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14680 PF_X for powerpc64. Retain PF_X for powerpc32.
14681
db753e2c
UD
146822010-12-19 Ulrich Drepper <drepper@gmail.com>
14683
14b697f7
UD
14684 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14685 accurately.
db753e2c
UD
14686 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14687 GETDENTS_64BIT_ALIGNED.
14688
28300719
UD
146892010-12-14 Ulrich Drepper <dreper@gmail.com>
14690
14b697f7 14691 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 14692
4f197237
AS
146932010-12-10 Andreas Schwab <schwab@redhat.com>
14694
dbb0472f
AS
14695 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14696 _GNU_SOURCE.
14697
4f197237
AS
14698 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14699 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14700 Remove __restrict.
14701 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14702 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14703
fb88ac72
UD
147042010-12-09 Ulrich Drepper <drepper@gmail.com>
14705
14706 [BZ #11655]
14707 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14708 are initialized.
14709
42acbb92
JJ
147102010-12-09 Jakub Jelinek <jakub@redhat.com>
14711
14712 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14713
c038d98d
UD
147142010-12-03 Ulrich Drepper <drepper@gmail.com>
14715
14716 * po/it.po: Update from translation team.
14717
3a4a2499
L
147182010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14719
14720 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14721 unused codes.
14722
1e24cf6e
UD
147232010-11-30 Ulrich Drepper <drepper@gmail.com>
14724
14725 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14726
a7690819
AS
147272010-11-24 Andreas Schwab <schwab@redhat.com>
14728
14729 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14730 specially.
14731 (gaih_getanswer_slice): Likewise.
14732
3bf8d1b1
JJ
147332010-10-20 Jakub Jelinek <jakub@redhat.com>
14734
14735 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14736
6db52fbb
PB
147372010-05-31 Petr Baudis <pasky@suse.cz>
14738
14739 [BZ #11149]
14740 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14741 silently even in the chroot mode.
14742
eaca7569
UD
147432010-11-22 Ulrich Drepper <drepper@gmail.com>
14744
14745 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14746 last patch a bit. Pretty printing
14747
3056dcdb
UD
147482010-05-31 Petr Baudis <pasky@suse.cz>
14749
14750 [BZ #10085]
14751 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14752 initialization of skip_initgroups_dyn.
14753
cf7c9078
UD
147542010-11-19 Ulrich Drepper <drepper@gmail.com>
14755
14756 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14757 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14758
a1fb5e3e
UD
147592010-11-16 Ulrich Drepper <drepper@gmail.com>
14760
14761 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14762
3540d66b
AS
147632010-11-11 Andreas Schwab <schwab@redhat.com>
14764
14765 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14766 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14767 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14768 ($(objpfx)tst-fnmatch-mem): New rule.
14769 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14770 * posix/tst-fnmatch.c (main): Call mtrace.
14771
13b69574
L
147722010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14773
14774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14775 Support Intel processor model 6 and model 0x2c.
14776
da93d214
LM
147772010-11-10 Luis Machado <luisgpm@br.ibm.com>
14778
14779 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14780 signed comparison.
14781
8ca52c6e
L
147822010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14783
14784 [BZ #12205]
14785 * string/test-strncasecmp.c (check_result): New function.
14786 (do_one_test): Use it.
14787 (check1): New function.
14788 (test_main): Use it.
14789 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14790 Support strcasecmp and strncasecmp.
14791
69da074d
UD
147922010-11-08 Ulrich Drepper <drepper@gmail.com>
14793
14794 [BZ #12194]
14795 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14796 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14797
ff02d528
L
147982010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14799
14800 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14801 IFUNC support.
14802 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14803 memset-x86-64.
14804 * sysdeps/x86_64/multiarch/bzero.S: New file.
14805 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14806 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14807 * sysdeps/x86_64/multiarch/memset.S: New file.
14808 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14809 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14810 Set bit_Prefer_SSE_for_memop for Intel processors.
14811 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14812 Define.
14813 (index_Prefer_SSE_for_memop): Define.
14814 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14815
344d0b54
LM
148162010-11-04 Luis Machado <luisgpm@br.ibm.com>
14817
14818 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14819 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14820
c0dde15b
UD
148212010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14822
14823 [BZ #12191]
14824 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14825 (__x86_64_raw_data_cache_size_half): Likewise.
14826 (__x86_64_raw_shared_cache_size): Likewise.
14827 (__x86_64_raw_shared_cache_size_half): Likewise.
14828
14829 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14830 (__x86_64_raw_data_cache_size_half): Likewise.
14831 (__x86_64_raw_shared_cache_size): Likewise.
14832 (__x86_64_raw_shared_cache_size_half): Likewise.
14833 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14834 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14835 and __x86_64_raw_shared_cache_size_half. Round
14836 __x86_64_data_cache_size_half, __x86_64_data_cache_size
14837 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
14838 to multiple of 256 bytes.
14839
0e516e0e
MS
148402010-11-03 Ulrich Drepper <drepper@gmail.com>
14841
14842 [BZ #12167]
14843 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14844 of inacessible symlinks. Verify result of symlink before returning it.
14845 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14846 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14847
0e012e87
ER
148482010-10-28 Erich Ritz <erichritz@gmail.com>
14849
14850 * math/math.h (isinf): Fix typo in comment.
14851
de0ff7bc
UD
148522010-11-01 Ulrich Drepper <drepper@gmail.com>
14853
14854 * po/da.po: Update from translation team.
14855
fa41c84d
UD
148562010-10-26 Ulrich Drepper <drepper@gmail.com>
14857
14858 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14859 is added to the list.
14860
f0967738
AK
148612010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14862 Ulrich Drepper <drepper@gmail.com>
14863
14864 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14865 the global list here. Move code to...
14866 (_dl_add_to_namespace_list): ...here. New function.
14867 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14868 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14869 * elf/dl-load.c (lose): Don't remove the element from the list.
14870 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14871 (_dl_map_object): Likewise.
14872
148732010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
14874
14875 [BZ #12159]
14876 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14877 into all bytes of SSE register.
14878 Patch by Richard Li <richardpku@gmail.com>.
14879
f0967738 148802010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
14881
14882 [BZ #12140]
14883 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14884 perturbing.
14885
d0b9e94f
MB
148862010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14887
14888 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14889 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14890 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14891 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
14893 submachine.
14894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14895
8e9f92e9
AS
148962010-10-22 Andreas Schwab <schwab@redhat.com>
14897
14898 * include/dlfcn.h (__RTLD_SECURE): Define.
14899 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
14900 mode & __RTLD_SECURE instead.
14901 (open_path): Rename preloaded parameter to secure.
14902 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
14903 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
14904 * elf/dl-deps.c (openaux): Likewise.
14905 * elf/rtld.c (struct map_args): Remove is_preloaded.
14906 (map_doit): Don't use it.
14907 (dl_main): Likewise.
14908 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
14909 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
14910
bc96fbda
AS
149112010-09-09 Andreas Schwab <schwab@redhat.com>
14912
14913 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
14914 (sysd-rules-targets): Remove duplicates.
14915 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
14916 rtld-%.$o dependency.
14917
22cd1c9b
AS
149182010-10-18 Andreas Schwab <schwab@redhat.com>
14919
14920 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
14921 _dl_map_object do it.
14922
18edac48
UD
149232010-10-19 Ulrich Drepper <drepper@gmail.com>
14924
14925 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
14926 fast fma builtins, define the macros in the C99 standard.
14927 (FP_FAST_FMAF): Likewise.
14928 (FP_FAST_FMAL): Likewise.
14929 * sysdeps/x86_64/bits/mathdef.h: Likewise.
14930
14931 * bits/mathdef.h: Update copyright year.
14932 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14933
d2050124
MM
149342010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
14935
14936 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
14937 builtins, define the macros in the C99 standard.
14938 (FP_FAST_FMAF): Likewise.
14939 (FP_FAST_FMAL): Likewise.
14940 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
14941 multiply/add.
14942 (FP_FAST_FMAF): Likewise.
14943
475facd1
JJ
149442010-10-15 Jakub Jelinek <jakub@redhat.com>
14945
14946 [BZ #3268]
14947 * math/libm-test.inc (fma_test): Some new testcases.
14948 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
14949 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
14950 y and infinite z. Do multiplication by C already in long double.
14951 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
14952 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
14953 y and infinite z. Do bitwise or of inexact bit into u.d.
14954 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
14955 * sysdeps/i386/fpu/s_fmaf.S: Removed.
14956 * sysdeps/i386/fpu/s_fma.S: Removed.
14957 * sysdeps/i386/fpu/s_fmal.S: Removed.
14958
7c08a05c
JJ
149592010-10-16 Jakub Jelinek <jakub@redhat.com>
14960
14961 [BZ #3268]
14962 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
14963 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
14964 computation is not scheduled after fetestexcept. Fix value
14965 of minimum denormal long double.
14966
f3f7372d
JJ
149672010-10-14 Jakub Jelinek <jakub@redhat.com>
14968
14969 [BZ #3268]
14970 * math/libm-test.inc (fma_test): Add some more tests.
14971 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
14972 correctly.
14973
14d43591
AS
149742010-10-15 Andreas Schwab <schwab@redhat.com>
14975
14976 * scripts/data/localplt-s390-linux-gnu.data: New file.
14977 * scripts/data/localplt-s390x-linux-gnu.data: New file.
14978
5e908464
JJ
149792010-10-13 Jakub Jelinek <jakub@redhat.com>
14980
14981 [BZ #3268]
14982 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
14983 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
14984 instead of dbl-64.
14985 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
14986 inlines.
14987 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
14988 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
14989 if one of x and y is very large and the other is subnormal.
14990 * sysdeps/s390/fpu/s_fmaf.c: New file.
14991 * sysdeps/s390/fpu/s_fma.c: New file.
14992 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
14993 * sysdeps/powerpc/fpu/s_fma.S: New file.
14994 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
14995 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
14996 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
14997
149982010-10-12 Jakub Jelinek <jakub@redhat.com>
14999
15000 [BZ #3268]
15001 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15002 fma tests.
15003 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15004 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15005 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15006 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15007 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15008 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15009 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15010
b833d51f
UD
150112010-10-12 Ulrich Drepper <drepper@redhat.com>
15012
15013 [BZ #12078]
15014 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15015 * posix/bug-regex31.input: Add test case.
15016
1751705d
UD
150172010-10-11 Ulrich Drepper <drepper@gmail.com>
15018
e9b9cbf5
UD
15019 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15020 * posix/bug-regex31.input: New file.
15021
15022 [BZ #12078]
15023 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15024 (parse_sub_exp): Fix last change, use postorder.
15025
ef06edbe
UD
15026 * posix/bug-regex31.c: New file.
15027 * posix/Makefile: Add rules to build and run bug-regex31.
15028
a129c80d
UD
15029 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15030
15031 [BZ #12078]
15032 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15033
b76b818e
UD
15034 [BZ #12108]
15035 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15036 to have entries in sys_siglist.
15037
1751705d
UD
15038 [BZ #12093]
15039 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15040 be NULL.
15041
9ff8d36f
JJ
150422010-10-07 Jakub Jelinek <jakub@redhat.com>
15043
15044 [BZ #3268]
15045 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15046 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15047 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15048 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15049 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15050 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15051 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15052 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15053 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15054 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15055 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15056 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15057 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15058 * math/ftestexcept.c (fetestexcept): Likewise.
15059 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15060 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15061 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15062 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15063 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15064 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15065 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15066
af325969
UD
150672010-10-11 Ulrich Drepper <drepper@gmail.com>
15068
c579b202 15069 [BZ #12107]
af325969
UD
15070 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15071 newline.
15072
67a67b95
UD
150732010-10-06 Ulrich Drepper <drepper@gmail.com>
15074
15075 * string/bug-strstr1.c: New file.
15076 * string/Makefile: Add rules to build and run bug-strstr1.
15077
5fb308bc
EB
150782010-10-05 Eric Blake <eblake@redhat.com>
15079
15080 [BZ #12092]
15081 * string/str-two-way.h (two_way_long_needle): Always clear memory
15082 when skipping input due to the shift table.
15083
45db99c7
UD
150842010-10-03 Ulrich Drepper <drepper@gmail.com>
15085
3b111893
UD
15086 [BZ #12005]
15087 * malloc/mcheck.c: Handle large requests.
15088
45db99c7
UD
15089 [BZ #12077]
15090 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15091 for strncmp and strncasecmp.
15092 * string/stratcliff.c: Add tests for strcmp and strncmp.
15093 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15094
cf7a1eb8
NI
150952010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15096
15097 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15098 __set_fpscr.
15099
6484ba5e
AJ
151002010-09-30 Andreas Jaeger <aj@suse.de>
15101
15102 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15103 (CGROUP_SUPER_MAGIC): Define.
15104 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15105 Handle btrfs and cgroup file systems.
15106 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15107 Likewise.
15108
91c42559
LM
151092010-09-27 Luis Machado <luisgpm@br.ibm.com>
15110
15111 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15112 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15113
87a97932
AK
151142010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15115
15116 [BZ #12067]
15117 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15118 trying to locate the ELF header.
15119
c21cc9bc
AS
151202010-09-27 Andreas Schwab <schwab@redhat.com>
15121
15122 [BZ #11611]
15123 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15124 Mask out sign-bit copies when constructing f_fsid.
15125
315970f6
PB
151262010-09-24 Petr Baudis <pasky@suse.cz>
15127
15128 * debug/stack_chk_fail_local.c: Add missing licence exception.
15129 * debug/warning-nop.c: Likewise.
15130
1ac7a2c7
JM
151312010-09-15 Joseph Myers <joseph@codesourcery.com>
15132
15133 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15134 implementing getdents64 using getdents syscall, set d_type if
15135 __ASSUME_GETDENTS32_D_TYPE.
15136
56801c50
AS
151372010-09-16 Andreas Schwab <schwab@redhat.com>
15138
15139 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15140 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15141
dda51327
UD
151422010-09-21 Ulrich Drepper <drepper@redhat.com>
15143
15144 [BZ #12037]
15145 * posix/unistd.h: Undo change of feature selection for ftruncate from
15146 2010-01-11.
15147
8ffcee4a
UD
151482010-09-20 Ulrich Drepper <drepper@redhat.com>
15149
a545ecd9 15150 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15151 detection.
15152
e24f0a8b
AS
151532010-09-20 Andreas Schwab <schwab@redhat.com>
15154
15155 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15156 fanotify_mark.
15157 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15158
7291c56f
AS
151592010-09-14 Andreas Schwab <schwab@redhat.com>
15160
15161 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15162 variables after CHECK_SP call.
15163 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15164
bc5fb037
AS
151652010-09-13 Andreas Schwab <schwab@redhat.com>
15166 Ulrich Drepper <drepper@redhat.com>
15167
15168 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15169 re-relocationg ld.so.
15170 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15171 _dl_init_paths call.
15172 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15173 here anymore.
15174
e66e7419
UD
151752010-09-14 Ulrich Drepper <drepper@redhat.com>
15176
15177 * resolv/res_init.c (__res_vinit): Count the default server we added.
15178
c044aa75
CLT
151792010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15180 Ulrich Drepper <drepper@redhat.com>
15181
15182 [BZ #11968]
15183 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15184 (____longjmp_chk): Use %ebx for saving value across system call.
15185 Add unwind info.
15186
32cf4069
AS
151872010-09-06 Andreas Schwab <schwab@redhat.com>
15188
15189 * manual/Makefile: Don't mix pattern rules with normal rules.
15190
817328ee
AS
151912010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15192
15193 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15194 operation.
15195 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15196 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15197 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15198 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15199 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15200 Likewise.
15201
29fddf61
UD
152022010-09-04 Ulrich Drepper <drepper@redhat.com>
15203
15204 [BZ #11979]
15205 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15206 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15207
0959ffc9
UD
152082010-09-02 Ulrich Drepper <drepper@redhat.com>
15209
15210 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15211 * sysdeps/x86_64/addmul_1.S: Likewise.
15212 * sysdeps/x86_64/lshift.S: Likewise.
15213 * sysdeps/x86_64/mul_1.S: Likewise.
15214 * sysdeps/x86_64/rshift.S: Likewise.
15215 * sysdeps/x86_64/sub_n.S: Likewise.
15216 * sysdeps/x86_64/submul_1.S: Likewise.
15217
ece29840
ST
152182010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15219
0959ffc9
UD
15220 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15221 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15222 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15223 * bits/sched.h [__need_schedparam]
ece29840 15224 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15225 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15226 (__defined_schedparam): Define to 1.
ece29840
ST
15227 (__sched_param): New structure, identical to sched_param.
15228 (__need_schedparam): Undefine.
15229
e53a31fe
MF
152302010-08-31 Mike Frysinger <vapier@gentoo.org>
15231
fdc0c10d
MF
15232 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15233 (epoll_create1): Declare.
15234
e53a31fe
MF
15235 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15236
a726d796
AS
152372010-08-31 Andreas Schwab <schwab@redhat.com>
15238
15239 [BZ #7066]
15240 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15241 shifting retval into place.
15242
2f3e3dc7
UD
152432010-09-01 Ulrich Drepper <drepper@redhat.com>
15244
f2933da9
UD
15245 * nis/rpcsvc/nis.h: Update copyright notice.
15246 * nis/rpcsvc/nis.x: Likewise.
15247 * nis/rpcsvc/nis_callback.h: Likewise.
15248 * nis/rpcsvc/nis_callback.x: Likewise.
15249 * nis/rpcsvc/nis_object.x: Likewise.
15250 * nis/rpcsvc/nis_tags.h: Likewise.
15251 * nis/rpcsvc/yp.h: Likewise.
15252 * nis/rpcsvc/yp.x: Likewise.
15253 * nis/rpcsvc/ypupd.h: Likewise.
15254 * nis/yp_xdr.c: Likewise.
15255 * nis/ypupdate_xdr.c: Likewise.
15256
2f3e3dc7
UD
15257 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15258 mainly the body of pmap_getport. Add parameters to specify timeouts.
15259 (pmap_getport): Use __libc_rpc_getport.
15260 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15261 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15262 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15263
f3dcc2f9
AS
152642010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15265
15266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15267 fanotify_mark.
15268
6d34eb5b
RM
152692010-08-27 Roland McGrath <roland@redhat.com>
15270
15271 * sysdeps/i386/i686/multiarch/Makefile
15272 (CFLAGS-varshift.c): New variable.
15273
9ea3de11
UD
152742010-08-27 Ulrich Drepper <drepper@redhat.com>
15275
c96d23fc
UD
15276 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15277 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15278
9ea3de11
UD
15279 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15280
15281 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15282
623aac7f
L
152832010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15284
15285 * sysdeps/x86_64/strlen.S: Unroll the loop.
15286 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15287 strlen-sse2 strlen-sse2-bsf.
15288 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15289 __strlen_no_bsf if bit_Slow_BSF is set.
15290 (__strlen_sse42): Removed.
15291 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15292 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15293
8b2b7715
RM
152942010-08-25 Roland McGrath <roland@redhat.com>
15295
15296 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15297 * sysdeps/x86_64/multiarch/varshift.c: New file.
15298 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15299 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15300 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15301 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15302
e73015f2
L
153032010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15304
15305 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15306 strlen-sse2 strlen-sse2-bsf.
15307 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15308 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15309 (__strlen_sse2): Removed.
15310 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15311 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15312 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15313 bit_Slow_BSF for Atom.
15314 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15315 (index_Slow_BSF): Define.
15316 (HAS_SLOW_BSF): Define.
15317
df24a73e
UD
153182010-08-25 Ulrich Drepper <drepper@redhat.com>
15319
15320 [BZ #10851]
15321 * resolv/res_init.c (__res_vinit): When no server address at all
15322 is given default to loopback.
15323
f2ac4868
RM
153242010-08-24 Roland McGrath <roland@redhat.com>
15325
09055553
RM
15326 * configure.in: Remove config-name.h generation.
15327 * configure: Regenerated.
15328 * config-name.in: File removed.
15329 * scripts/config-uname.sh: New file.
15330 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15331 ($(objdir)config-name.h): New target.
15332
f2ac4868
RM
15333 * sunrpc/rpc_parse.h: Avoid nested comment.
15334
73f27d5e
RH
153352010-08-24 Richard Henderson <rth@redhat.com>
15336 Ulrich Drepper <drepper@redhat.com>
15337 H.J. Lu <hongjiu.lu@intel.com>
15338
15339 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15340 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15341 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15342 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15343 _mm_alignr_epi8 with _mm_loadu_si128.
15344 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15345 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15346 (__m128i_shift_right): Removed.
15347 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15348 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15349 * sysdeps/x86_64/multiarch/varshift.h: New file.
15350 * sysdeps/x86_64/multiarch/varshift.S: New file.
15351
84b9230c
MF
153522010-08-21 Mike Frysinger <vapier@gentoo.org>
15353
15354 * configure.in: Move assembler checks to before sysdep dir checking.
15355
9bbd0ddc
PB
153562010-08-20 Petr Baudis <pasky@suse.cz>
15357
15358 * LICENSES: Sync the sunrpc license.
15359
9da4bb31
UD
153602010-08-19 Ulrich Drepper <drepper@redhat.com>
15361
a7ab6ec8
UD
15362 * sunrpc/auth_des.c: Update copyright notice once again.
15363 * sunrpc/auth_none.c: Likewise.
15364 * sunrpc/auth_unix.c: Likewise.
15365 * sunrpc/authdes_prot.c: Likewise.
15366 * sunrpc/authuxprot.c: Likewise.
15367 * sunrpc/bindrsvprt.c: Likewise.
15368 * sunrpc/clnt_gen.c: Likewise.
15369 * sunrpc/clnt_perr.c: Likewise.
15370 * sunrpc/clnt_raw.c: Likewise.
15371 * sunrpc/clnt_simp.c: Likewise.
15372 * sunrpc/clnt_tcp.c: Likewise.
15373 * sunrpc/clnt_udp.c: Likewise.
15374 * sunrpc/clnt_unix.c: Likewise.
15375 * sunrpc/des_crypt.c: Likewise.
15376 * sunrpc/des_soft.c: Likewise.
15377 * sunrpc/get_myaddr.c: Likewise.
15378 * sunrpc/getrpcport.c: Likewise.
15379 * sunrpc/key_call.c: Likewise.
15380 * sunrpc/key_prot.c: Likewise.
15381 * sunrpc/openchild.c: Likewise.
15382 * sunrpc/pm_getmaps.c: Likewise.
15383 * sunrpc/pm_getport.c: Likewise.
15384 * sunrpc/pmap_clnt.c: Likewise.
15385 * sunrpc/pmap_prot.c: Likewise.
15386 * sunrpc/pmap_prot2.c: Likewise.
15387 * sunrpc/pmap_rmt.c: Likewise.
15388 * sunrpc/rpc/auth.h: Likewise.
15389 * sunrpc/rpc/auth_unix.h: Likewise.
15390 * sunrpc/rpc/clnt.h: Likewise.
15391 * sunrpc/rpc/des_crypt.h: Likewise.
15392 * sunrpc/rpc/key_prot.h: Likewise.
15393 * sunrpc/rpc/netdb.h: Likewise.
15394 * sunrpc/rpc/pmap_clnt.h: Likewise.
15395 * sunrpc/rpc/pmap_prot.h: Likewise.
15396 * sunrpc/rpc/pmap_rmt.h: Likewise.
15397 * sunrpc/rpc/rpc.h: Likewise.
15398 * sunrpc/rpc/rpc_des.h: Likewise.
15399 * sunrpc/rpc/rpc_msg.h: Likewise.
15400 * sunrpc/rpc/svc.h: Likewise.
15401 * sunrpc/rpc/svc_auth.h: Likewise.
15402 * sunrpc/rpc/types.h: Likewise.
15403 * sunrpc/rpc/xdr.h: Likewise.
15404 * sunrpc/rpc_clntout.c: Likewise.
15405 * sunrpc/rpc_cmsg.c: Likewise.
15406 * sunrpc/rpc_common.c: Likewise.
15407 * sunrpc/rpc_cout.c: Likewise.
15408 * sunrpc/rpc_dtable.c: Likewise.
15409 * sunrpc/rpc_hout.c: Likewise.
15410 * sunrpc/rpc_main.c: Likewise.
15411 * sunrpc/rpc_parse.c: Likewise.
15412 * sunrpc/rpc_parse.h: Likewise.
15413 * sunrpc/rpc_prot.c: Likewise.
15414 * sunrpc/rpc_sample.c: Likewise.
15415 * sunrpc/rpc_scan.c: Likewise.
15416 * sunrpc/rpc_scan.h: Likewise.
15417 * sunrpc/rpc_svcout.c: Likewise.
15418 * sunrpc/rpc_tblout.c: Likewise.
15419 * sunrpc/rpc_util.c: Likewise.
15420 * sunrpc/rpc_util.h: Likewise.
15421 * sunrpc/rpcinfo.c: Likewise.
15422 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15423 * sunrpc/rpcsvc/key_prot.x: Likewise.
15424 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15425 * sunrpc/rpcsvc/mount.x: Likewise.
15426 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15427 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15428 * sunrpc/rpcsvc/rex.x: Likewise.
15429 * sunrpc/rpcsvc/rstat.x: Likewise.
15430 * sunrpc/rpcsvc/rusers.x: Likewise.
15431 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15432 * sunrpc/rpcsvc/spray.x: Likewise.
15433 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15434 * sunrpc/rtime.c: Likewise.
15435 * sunrpc/svc.c: Likewise.
15436 * sunrpc/svc_auth.c: Likewise.
15437 * sunrpc/svc_authux.c: Likewise.
15438 * sunrpc/svc_raw.c: Likewise.
15439 * sunrpc/svc_run.c: Likewise.
15440 * sunrpc/svc_simple.c: Likewise.
15441 * sunrpc/svc_tcp.c: Likewise.
15442 * sunrpc/svc_udp.c: Likewise.
15443 * sunrpc/svc_unix.c: Likewise.
15444 * sunrpc/svcauth_des.c: Likewise.
15445 * sunrpc/xcrypt.c: Likewise.
15446 * sunrpc/xdr.c: Likewise.
15447 * sunrpc/xdr_array.c: Likewise.
15448 * sunrpc/xdr_float.c: Likewise.
15449 * sunrpc/xdr_mem.c: Likewise.
15450 * sunrpc/xdr_rec.c: Likewise.
15451 * sunrpc/xdr_ref.c: Likewise.
15452 * sunrpc/xdr_sizeof.c: Likewise.
15453 * sunrpc/xdr_stdio.c: Likewise.
15454
9da4bb31
UD
15455 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15456 handling.
15457
bdaa77bc
AS
154582010-08-19 Andreas Schwab <schwab@redhat.com>
15459
15460 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15461
fe2f79db
LM
154622010-08-19 Luis Machado <luisgpm@br.ibm.com>
15463
15464 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15465 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15466 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15467 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15468 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15469 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15470 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15471 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15472 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15473 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15474 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15475 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15476 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15477 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15478
b9b42ee0
AB
154792010-07-26 Anton Blanchard <anton@samba.org>
15480
15481 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15482 * malloc/arena.c (heap_trim): Likewise.
15483
1c06ba31
UD
154842010-08-16 Ulrich Drepper <drepper@redhat.com>
15485
15486 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15487 here. Not...
15488 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15489 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15490
f8392f40
L
154912010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15492
15493 * sysdeps/i386/elf/Makefile: New file.
15494
3162f12e
AS
154952010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15496
15497 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15498 from fanotify_init.
15499 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15500 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15501
28c90b2c
UD
155022010-08-15 Ulrich Drepper <drepper@redhat.com>
15503
15504 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15505 of strncasecmp_l.
1feccb6c 15506 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 15507
ca6bb004
UD
155082010-08-14 Ulrich Drepper <drepper@redhat.com>
15509
e9f82e0d
UD
15510 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15511 strncase_l-nonascii.
15512 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15513 Add strncase_l-ssse3.
15514 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15515 * sysdeps/x86_64/strcmp.S: Likewise.
15516 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15517 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15518 * sysdeps/x86_64/strncase.S: New file.
15519 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15520 * sysdeps/x86_64/strncase_l.S: New file.
15521 * string/Makefile (strop-tests): Add strncasecmp.
15522 * string/test-strncasecmp.c: New file.
15523
15524 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15525 warning.
15526
ca6bb004
UD
15527 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15528 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15529
052fa7b3
AS
155302010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15531
15532 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15533
962dba78
UD
155342010-08-12 Ulrich Drepper <drepper@redhat.com>
15535
15536 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15537 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15538 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15539
bebff237
AM
155402010-05-01 Alan Modra <amodra@gmail.com>
15541
15542 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15543 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15544 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15545 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15546 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15547 tidying. Don't tail-call __sigjmp_save for static lib.
15548 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15549 save location.
15550 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15551 (CALL_MCOUNT): Add eh info, and nop after bl.
15552 (TAIL_CALL_SYSCALL_ERROR): New macro.
15553 (PSEUDO_RET): Use it.
15554 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15555 Correct save location of integer regs and cr.
15556 (_dl_profile_resolve): Correct cr save location. Delete nops
15557 after bl when SHARED. Reduce cfi size a little by better
15558 placement of cfi directives.
15559 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15560 make a stack frame. Instead use parm save area as a temp.
15561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15562 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15564 Don't make a stack frame for parent, use parm save area.
15565 Increase child stack frame to 112 bytes. Don't save unused reg,
15566 and adjust reg usage. Set up cfi on error recovery and
15567 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15569 (__makecontext): Add dummy nop after jump to exit.
15570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15571 Use correct parm save area and cr save, reduce stack frame.
15572 Correct cfi for possible PSEUDO_RET frame setup.
15573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15574 Branch to local label emitted by PSEUDO_RET rather than
15575 __syscall_error.
15576
02637374
AS
155772010-08-12 Andreas Schwab <schwab@redhat.com>
15578
15579 [BZ #11904]
15580 * locale/programs/locale.c (print_assignment): New function.
15581 (show_locale_vars): Use it.
15582
c3e2f19b
UD
155832010-08-11 Ulrich Drepper <drepper@redhat.com>
15584
3cdaa6ad
UD
15585 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15586 field.
15587 (struct statfs64): Likewise.
15588 (_STATFS_F_FLAGS): Define.
15589 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15590 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15591 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15592 (ST_VALID): Define locally.
15593 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15594 __statvfs_getflags, use the provided value.
15595 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15596 __ASSUME_STATFS_F_FLAGS.
15597
754f7da3
UD
15598 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15599
10b3bedc
UD
15600 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15601 Add sys/fanotify.h.
15602 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15603 fanotify_mask for GLIBC_2.13.
15604 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15605 fanotify_init and fanotify_mark.
15606 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15607 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15608
c08fb0d7
UD
15609 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15610 Add prlimit.
15611 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15612 prlimit64 for GLIBC_2.13.
15613 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15614 prlimit64.
15615 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15616 syscall.
15617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15618 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15619 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15620 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15621 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15622 add prlimit alias.
15623 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15624
15bac72b
UD
15625 [BZ #11903]
15626 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15627 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15628
c3e2f19b
UD
15629 * nss/Makefile: Add rules to build and run tst-nss-test1.
15630 * shlib-versions: Add entry for libnss_test1.
15631 * nss/nss_test1.c: New file.
15632 * nss/tst-nss-test1.c: New file.
15633
15634 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15635 (__nss_configure_lookup): Set appropriate entry in
15636 __nss_configure_lookup to true.
15637 * nss/nsswitch.h: Define enum with indeces of databases in
15638 databases and __nss_database_custom arrays. Declare
15639 __nss_database_custom.
15640 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15641 to avoid using nscd when custom rules are installed.
15642 * nss/getXXbyYY_r.c: Likewise.
15643 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15644
15645 * nss/nss_files/files-parse.c: Whitespace fixes.
15646
f15ce4d8
UD
156472010-08-09 Ulrich Drepper <drepper@redhat.com>
15648
15649 [BZ #11883]
15650 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15651 * posix/fnmatch_loop.c: Likewise.
15652
d22e4cc9
AK
156532010-07-17 Andi Kleen <ak@linux.intel.com>
15654
15655 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15656 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15657 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15658 * Versions.def [GLIBC_2.13]: Add.
15659
805bc17d
UD
156602010-08-06 Ulrich Drepper <drepper@redhat.com>
15661
15662 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15663 Also fail if tpwd after pwuid call is NULL.
15664
5a42321d
ST
156652010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15666
15667 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15668 when converting to ms.
15669
fd3ebeda
ST
156702010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15671
15672 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15673 EOPNOTSUPP errors with ENOTTY.
15674 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15675 EOPNOTSUPP errors with ENOTTY.
15676
73507d3a
UD
156772010-07-31 Ulrich Drepper <drepper@redhat.com>
15678
15679 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15680 Add strcasecmp_l-ssse3.
15681 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15682 strcasecmp.
15683 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15684 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15685 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15686
fe36dd02
UD
156872010-07-30 Ulrich Drepper <drepper@redhat.com>
15688
66f6765a
UD
15689 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15690
42e08a54
UD
15691 * string/Makefile (strop-tests): Add strcasecmp.
15692 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15693 strcasecmp_l-nonascii.
15694 (gen-as-const-headers): Add locale-defines.sym.
15695 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15696 * sysdeps/x86_64/strcasecmp.S: New file.
15697 * sysdeps/x86_64/strcasecmp_l.S: New file.
15698 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15699 * sysdeps/x86_64/locale-defines.sym: New file.
15700 * string/test-strcasecmp.c: New file.
15701
fe36dd02
UD
15702 * string/test-strcasestr.c: Test both ends of the range of characters.
15703 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15704
48cbc0d6
RM
157052010-07-29 Roland McGrath <roland@redhat.com>
15706
76e6d6bc 15707 [BZ #11856]
48cbc0d6
RM
15708 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15709
880113d9
UD
157102010-07-27 Ulrich Drepper <drepper@redhat.com>
15711
15712 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15713 for ld.so.
15714
deb9cabb
AS
157152010-07-27 Andreas Schwab <schwab@redhat.com>
15716
15717 * manual/memory.texi (Malloc Tunable Parameters): Document
15718 M_PERTURB.
15719
1c7570ff
RM
157202010-07-26 Roland McGrath <roland@redhat.com>
15721
15722 [BZ #11840]
15723 * configure.in (-fgnu89-inline check): Set and substitute
15724 gnu89_inline, not libc_cv_gnu89_inline.
15725 * configure: Regenerated.
15726 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15727
24fb0f88
UD
157282010-07-26 Ulrich Drepper <drepper@redhat.com>
15729
15730 * string/test-strnlen.c: New file.
15731 * string/Makefile (strop-tests): Add strnlen.
15732 * string/tester.c (test_strnlen): Add a few more test cases.
15733 * string/tst-strlen.c: Better error reporting.
15734
15735 * sysdeps/x86_64/strnlen.S: New file.
15736
8e96b93a
UD
157372010-07-24 Ulrich Drepper <drepper@redhat.com>
15738
15739 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15740 lower-latency instructions.
15741
dbc676d4
UD
157422010-07-23 Ulrich Drepper <drepper@redhat.com>
15743
15744 * string/test-strcasestr.c: New file.
15745 * string/test-strstr.c: New file.
15746 * string/Makefile (strop-tests): Add strstr and strcasestr.
15747 * string/str-two-way.h: Don't undefine MAX.
15748 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15749
f6a31e0e
AS
157502010-07-21 Andreas Schwab <schwab@redhat.com>
15751
15752 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15753 strcasestr-nonascii.
15754 (CFLAGS-strcasestr-nonascii.c): Define.
15755 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15756 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15757 Remove unused attribute.
15758
5dbc3b6c
RM
157592010-07-20 Roland McGrath <roland@redhat.com>
15760
15761 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15762 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15763 ld.so.cache was broken. With it, there is no way to disable dsocaps
15764 like LD_HWCAP_MASK can disable hwcaps.
15765
23d101d8
EPM
157662010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15767
15768 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15769
cc9f2e47
UD
157702010-07-16 Ulrich Drepper <drepper@redhat.com>
15771
15772 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15773 call in strcasestr.
15774 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15775 __strcasestr_sse42_nonascii.
15776 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15777 strcasestr-nonascii.c.
15778 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15779
77c1b069
LM
157802010-06-15 Luis Machado <luisgpm@br.ibm.com>
15781
15782 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15783 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15784 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15785 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15786
440566c3
UD
157872010-07-09 Ulrich Drepper <drepper@redhat.com>
15788
15789 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15790 fcntl.
15791
5be9d05d
AS
157922010-07-06 Andreas Schwab <schwab@redhat.com>
15793
c30b7ee2 15794 [BZ #11577]
5be9d05d
AS
15795 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15796 dl_signal_cerror.
15797
8a492a67
UD
157982010-07-06 Ulrich Drepper <drepper@redhat.com>
15799
15800 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15801 _PC_PIPE_BUF using F_GETPIPE_SZ.
15802
713df3d5
RM
158032010-07-05 Roland McGrath <roland@redhat.com>
15804
15805 * manual/arith.texi (Rounding Functions): Fix rint description
15806 implicit in round description.
15807
702e8f14
UD
158082010-07-02 Ulrich Drepper <drepper@redhat.com>
15809
15810 * elf/Makefile: Fix linking for a few tests to make recent linker
15811 happy.
15812
52ed8be9
AS
158132010-06-30 Andreas Schwab <schwab@redhat.com>
15814
15815 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15816 $(common-objpfx)libc_nonshared.a.
15817
f47c9a11
LM
158182010-06-21 Luis Machado <luisgpm@br.ibm.com>
15819
15820 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15821 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15822 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15823 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15824 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15825 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15826 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15827 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
15838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
15840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
15842 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
15843 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15844 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15845 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15846 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15847 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15848 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15849 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15850 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15851 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15852 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15853 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15868
6fb8cbcb
L
158692010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15870
15871 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15872 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15873 * string/memmove.c (memmove): Renamed to ...
15874 (MEMMOVE): ...this. Default to memmove.
15875 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15876 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15877 (END_CHK): Define.
15878 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15879 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15880 mempcpy-ssse3-back memmove-ssse3-back.
15881 * sysdeps/x86_64/multiarch/bcopy.S: New file .
15882 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15883 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15884 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15885 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15886 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15887 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15888 * sysdeps/x86_64/multiarch/memmove.c: New file.
15889 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15890 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15891 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15892 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
15893 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
15894 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
15895 Define.
15896 (index_Fast_Copy_Backward): Define.
15897 (HAS_ARCH_FEATURE): Define.
15898 (HAS_FAST_REP_STRING): Define.
15899 (HAS_FAST_COPY_BACKWARD): Define.
15900
4e733bac 159012010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
15902
15903 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15904 Restore proper fallback handling.
15905
63c4ed22
UD
159062010-06-19 Ulrich Drepper <drepper@redhat.com>
15907
ac2b484c
UD
15908 [BZ #11701]
15909 * posix/group_member.c (__group_member): Correct checking loop.
15910
63c4ed22
UD
15911 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
15912 OOM in getpwuid_r correctly. Return error number when the caller
15913 should return, otherwise -1.
15914 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
15915 call returning > 0 value.
15916 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
15917
765ade4b
AS
159182010-06-07 Andreas Schwab <schwab@redhat.com>
15919
15920 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
15921 libc_nonshared.a from targets in modules-names.
15922
80da2e09
KS
159232010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
15924
15925 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
15926 requires it.
15927
158db122
LM
159282010-06-10 Luis Machado <luisgpm@br.ibm.com>
15929
15930 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
15931 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
15932 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
15933 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
15934
caa78cf8
AS
159352010-06-02 Andreas Schwab <schwab@redhat.com>
15936
15937 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
15938
b2ef2c01
UD
159392010-06-14 Ulrich Drepper <drepper@redhat.com>
15940
15941 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
15942 and F_GETPIPE_SZ.
15943 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15944 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15945 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15946 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15947 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15948 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
15949
fbd643b6
RM
159502010-06-14 Roland McGrath <roland@redhat.com>
15951
15952 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
15953
f32f2869
JJ
159542010-06-07 Jakub Jelinek <jakub@redhat.com>
15955
15956 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
15957 __REDIRECT followed by __THROW.
15958 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
15959 * posix/getopt.h (getopt): Likewise.
15960
2a50c078
EPM
159612010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15962
15963 * hurd/lookup-at.c (__file_name_lookup_at): Accept
15964 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
15965 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
15966 in AT_FLAGS.
15967 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
15968 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
15969
eb5ad2eb
LM
159702010-05-28 Luis Machado <luisgpm@br.ibm.com>
15971
15972 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
15973
3c88fe1e
L
159742010-05-26 H.J. Lu <hongjiu.lu@intel.com>
15975
15976 [BZ #11640]
15977 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15978 Properly check family and model.
15979
d2f73151
TY
159802010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
15981
15982 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
15983
ebd2e13d
LM
159842010-05-24 Luis Machado <luisgpm@br.ibm.com>
15985
15986 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
15987
b32b8b45
UD
159882010-05-21 Ulrich Drepper <drepper@redhat.com>
15989
15990 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
15991 symbol reference.
15992
9acbe24d
AS
159932010-05-19 Andreas Schwab <schwab@redhat.com>
15994
15995 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
15996 symbol reference.
15997
f0ccf6ea
AS
159982010-05-21 Andreas Schwab <schwab@redhat.com>
15999
3d04ff3a
AS
16000 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16001 and internal_recvmmsg.
16002 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16003 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16004 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16005 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16006
f0ccf6ea
AS
16007 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16008 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16009 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16010
5b08ac57
AS
160112010-05-20 Andreas Schwab <schwab@redhat.com>
16012
16013 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16014
4828935d
LM
160152010-05-17 Luis Machado <luisgpm@br.ibm.com>
16016
16017 POWER7 optimizations.
16018 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16019 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16020
373d545e
UD
160212010-05-19 Ulrich Drepper <drepper@redhat.com>
16022
16023 * version.h: Update for 2.13 development version.
16024
21a2b1ae
AS
160252010-05-12 Andrew Stubbs <ams@codesourcery.com>
16026
16027 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16028 exceptions. Return 0.
16029
3f7dcb2b
RM
160302010-05-07 Roland McGrath <roland@redhat.com>
16031
16032 * elf/ldconfig.c (main): Add a const.
16033
5f24d53a 160342010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16035
a160f8d8
UD
16036 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16037 (args_options): Add no-idn option.
16038 (ahosts_keys_int): Add idn_flags to ai_flags.
16039 (parse_option): Handle 'i' option to clear idn_flags.
16040
5f24d53a
UD
16041 * malloc/malloc.c (_int_free): Possible race in the most recently
16042 added check. Only act on the data if no current modification
16043 happened.
265bb1ce
UD
16044
16045See ChangeLog.17 for earlier changes.
This page took 2.038177 seconds and 5 git commands to generate.