]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix the order of my ChangeLog entries
[thirdparty/glibc.git] / ChangeLog
CommitLineData
7728c574
SP
12012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2
f16946dd
SP
3 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5
5704bbcb
SP
6 * stdio-common/tst-put-error.c (do_test): Add newline to the
7 padded test to ensure flush.
8
17aa0516
JL
92012-12-05 Jeff Law <law@redhat.com>
10
11 * sunrpc/etc.rpc (fedfs_admin): Add entry.
12
363313b5
JM
132012-12-05 Joseph Myers <joseph@codesourcery.com>
14
effbd42a
JM
15 * README: Don't refer to ports add-on as distributed separately.
16 Mention AArch64 in list of systems supported in the ports add-on.
17
87600365
JM
18 * LICENSES: Add more non-FSF copyright and license notices.
19
a0d7066a
JM
20 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21 ((unused)).
22
66ca5a5b
JM
23 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24
363313b5
JM
25 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26 10000 as width of padded output.
27
b37984ad
JM
282012-12-04 Joseph Myers <joseph@codesourcery.com>
29
9003570a
JM
30 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31
b37984ad
JM
32 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33 variable LX with __attribute__ ((unused)).
34 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35 Likewise.
36 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
39 with __attribute__ ((unused)).
40
c8df52ec
DM
412012-12-04 David S. Miller <davem@abraco.davemloft.net>
42
43 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
44
b3b099af
JM
452012-12-04 Joseph Myers <joseph@codesourcery.com>
46
c33aa6e3
JM
47 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
48 (CFLAGS-nldbl-acos.c): New variable.
49 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
50 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
51 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
52 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
53 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
54 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
55 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
56 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
57 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
58 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
59 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
60 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
61 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
62 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
63 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
64 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
65 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
66 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
67 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
68 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
69 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
70 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
71 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
72 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
73 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
74 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
75 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
76 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
77 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
78 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
79 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
80 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
81 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
82 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
83 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
84 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
85 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
86 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
87 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
88 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
89 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
90 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
91 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
92 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
93 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
94 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
95 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
96 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
97 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
98 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
99 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
100 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
101 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
102 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
103 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
104 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
105 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
106 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
107 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
108 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
109 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
110 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
111 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
112 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
113 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
114 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
115 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
116 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
117 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
118 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
119 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
120 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
121 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
122 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
123 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
124 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
125 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
126 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
127 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
128 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
129 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
130 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
131 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
132 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
133 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
134 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
135 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
136 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
137 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
138 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
139 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
140 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
141 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
142 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
143 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
144 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
145 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
146
20f0018d
JM
147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
148 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
149
b3b099af
JM
150 [BZ #14914]
151 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
152 whole low double instead of just low 47 bits when splitting values
153 into two parts.
154
029264d1
AM
1552012-12-03 Allan McRae <allan@archlinux.org>
156
157 * manual/stdio.texi (Predefined Printf Handlers): Remove
158 @hsep and @vsep usage.
159
c9d6789e
MF
1602012-12-03 Mike Frysinger <vapier@gentoo.org>
161
162 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
163 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
164
4b7634a5
JL
1652012-12-03 Jeff Law <law@redhat.com>
166
167 * time/sys/time.h (settimeofday): Do not mark TV argument
168 as __nonnull.
169
eb6cbd24
MF
1702012-12-01 Mike Frysinger <vapier@gentoo.org>
171
172 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
173 when currently writing and seek to current position when not.
174 * libio/Makefile (tests): Remove bug-fclose1.
175 * libio/bug-fclose1.c: Delete.
176
f638872a
JM
1772012-12-01 Joseph Myers <joseph@codesourcery.com>
178
179 * manual/arith.texi (feenableexcept): Fix typo.
180 (fedisableexcept): Likewise.
181
48085d14
RM
1822012-11-30 Roland McGrath <roland@hack.frob.com>
183
184 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
185 second, differently-typed declaration, rather than a cast.
186
1a538b9f
SP
1872012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
188
189 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
190 * include/rpc/svc.h: ... here.
191
d07f2ff1 1922012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
193
194 [BZ #13013]
195 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
196 depending n and resplen2 to catch cases where answer
197 equals answerp2.
198
c93ec1f0
CD
1992012-11-29 Carlos O'Donell <carlos@systemhalted.org>
200
201 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
202 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
203
37db69de
MF
2042012-11-29 Mike Frysinger <vapier@gentoo.org>
205
206 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
207
e10c4e4f
RM
2082012-11-29 Roland McGrath <roland@hack.frob.com>
209
210 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
211
2af1b328
JL
2122012-11-28 Jeff Law <law@redhat.com>
213
214 [BZ #13761]
215 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
216 dataset_temporary. Track alloca usage into alloca_used.
217 If dataset is large allocate and release it via malloc/free.
218
111db5b1
FW
2192012-06-04 Florian Weimer <fweimer@redhat.com>
220
f06cc227 221 [BZ #14197]
111db5b1
FW
222 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
223
dd694abd
DM
2242012-11-28 David S. Miller <davem@davemloft.net>
225
226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
227
9984dd01
JM
2282012-11-28 Joseph Myers <joseph@codesourcery.com>
229
230 [BZ #14803]
231 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
232 of pi/2 rounded to nearest to 64 bits.
233 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
234 nearest to 64 bits.
235 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
236 bits.
237
14bc93a9
JL
2382012-11-28 Jeff Law <law@redhat.com>
239 Martin Osvald <mosvald@redhat.com>
240
241 [BZ #14889]
242 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
243 * sunrpc/svc.c: Include time.h.
244 (__svc_accept_failed): New function.
245 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
246 any reason other than EINTR, call __svc_accept_failed.
247 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
248 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
249
e3c6aa3a
AS
2502012-11-28 Andreas Schwab <schwab@suse.de>
251
252 * scripts/abilist.awk: Also handle indirect functions in .opd
253 section.
254
1bead169
JM
2552012-11-28 Joseph Myers <joseph@codesourcery.com>
256
257 [BZ #13881]
258 * sysdeps/x86/fpu/powl_helper.c: New file.
259 * sysdeps/x86/fpu/Makefile: Likewise.
260 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
261 (p3): New object.
262 (__ieee754_powl): Use __powl_helper for finite arguments except
263 integer exponents below 8.
264 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
265 (p3): New object.
266 (__ieee754_powl): Use __powl_helper for finite arguments except
267 integer exponents below 8.
268 * math/libm-test.inc (pow_test): Add more tests and enable some
269 previously disabled tests.
270 * sysdeps/i386/fpu/libm-test-ulps: Update.
271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
272
0817d63d
SP
2732012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
274 Carlos O'Donell <carlos_odonell@mentor.com>
275
276 * nss/makedb.c (is_prime): Assert that input is odd and greater
277 than 4. Note that fact in a comment too.
278 (next_prime): Add 4 to input.
279
de2fd463
SP
2802012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
281
282 [BZ #11741]
283 * libio/Makefile (tests): Add test case tst-fwrite-error.
284 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
285 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
286 * libio/tst-fwrite-error.c: New test case.
287
c515fb51
L
2882012-11-26 H.J. Lu <hongjiu.lu@intel.com>
289
290 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
291 before casting to void *.
292 * include/libc-internal.h (__pointer_type): New macro.
293 (__integer_if_pointer_type_sub): Likewise.
294 (__integer_if_pointer_type): Likewise.
295 (cast_to_integer): Likewise.
296 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
297 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
298 before casting to atomic64_t.
299 (atomic_exchange_acq): Likewise.
300 (__arch_exchange_and_add_body): Likewise.
301 (__arch_add_body): Likewise.
302 (atomic_add_negative): Likewise.
303 (atomic_add_zero): Likewise.
304
4cf77aa9
JM
3052012-11-26 Joseph Myers <joseph@codesourcery.com>
306
307 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
308 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
309 (add_fdes): Likewise.
310 (linear_search_fdes): Likewise.
311 (binary_search_unencoded_fdes): Likewise.
312
d260b3b4
AS
3132012-11-26 Andreas Schwab <schwab@linux-m68k.org>
314
315 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
316
67060746
AC
3172012-11-24 Adam Conrad <adconrad@0c3.net>
318
319 * configure.in: Autodetect C++ header directories.
320 * configure: Regenerated.
321
800938a1
MF
3222012-11-23 Mike Frysinger <vapier@gentoo.org>
323
324 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
325
4e6e34e6
AS
3262012-11-23 Andreas Schwab <schwab@linux-m68k.org>
327
328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
329
7c7feb47
JM
3302012-11-22 Joseph Myers <joseph@codesourcery.com>
331
7184dcdf
JM
332 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
333 LDBL_MANT_DIG == 106]: Disable some tests.
334 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
335 Likewise.
336 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
337 Likewise.
338
0a42601f
JM
339 [BZ #14871]
340 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
341 input for small inputs. Return +/- pi/2 for large inputs.
342 * math/libm-test.inc (atan_test): Add more tests.
343
79c9b9fe
JM
344 * sysdeps/generic/unwind-dw2-fde-glibc.c
345 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
346 __attribute__ ((unused)).
347
c60d3bf2
JM
348 [BZ #14645]
349 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
350 x * y if x and y are nonzero and z is zero.
351
ef1e0867
JM
352 [BZ #14811]
353 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
354 nonzero exponents with absolute value below 0x1p-117 to +/-
355 0x1p-117.
356
1468ded3
JM
357 [BZ #14869]
358 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
359 up arguments below 2**-450, not just those below 2**-500.
360 * math/libm-test.inc (hypot_test): Add another test.
361
8e27e3cc
JM
362 [BZ #14868]
363 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
364 Return a+b for ratio over 2**120, not 2**60.
365 * math/libm-test.inc (hypot_test): Add another test.
366
c9c0279b
JM
367 * math/libm-test.inc (clog_test): Use
368 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
369 (clog10_test): Likewise.
370
7c7feb47
JM
371 [BZ #6778]
372 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
373
fff1530e
AS
3742012-11-22 Andreas Schwab <schwab@suse.de>
375
376 * sysdeps/i386/fpu/libm-test-ulps: Update.
377
94558d30
PT
3782012-11-22 Pino Toscano <toscano.pino@tiscali.it>
379
380 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
381 printf output with newline.
382
7e1be741
L
3832012-11-21 H.J. Lu <hongjiu.lu@intel.com>
384
6bfea974
L
385 [BZ #14865]
386 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
387 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
388 -z nodlopen, -z initfirst and -z execstack support.
389 * configure: Regenerated.
390
7e1be741
L
391 * elf/elf.h (DF_1_NODIRECT): New macro.
392 (DF_1_IGNMULDEF): Likewise.
393 (DF_1_NOKSYMS): Likewise.
394 (DF_1_NOHDR): Likewise.
395 (DF_1_EDITED): Likewise.
396 (DF_1_NORELOC): Likewise.
397 (DF_1_SYMINTPOSE): Likewise.
398 (DF_1_GLOBAUDIT): Likewise.
399 (DF_1_SINGLETON): Likewise.
400 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
401 DT_1_SUPPORTED_MASK bits.
402 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
403
105ce2ce
CD
4042012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
405
406 * sysdeps/unix/make-syscalls.sh: Document prefixes.
407
123be9de
TS
4082012-11-20 Thomas Schwinge <thomas@codesourcery.com>
409
d072f3f7
TS
410 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
411 macro.
412
123be9de
TS
413 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
414 (sendmmsg): Move declarations...
415 * socket/sys/socket.h: ... here.
416 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
417 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
418 include it from...
419 * socket/recvmmsg.c: ... this new file.
420 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
421 (sendmmsg): Rename to __sendmmsg, create weak alias and make
422 definition of __sendmmsg hidden.
423 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
424 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
425 Move ENOSYS stub into and include it from...
426 * socket/sendmmsg.c: ... this new file.
427 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
428 (sysdep_routines): Move recvmmsg and sendmmsg...
429 * socket/Makefile (routines): ... here.
430 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
431 (GLIBC_PRIVATE): Add __sendmmsg.
432 * include/sys/socket.h (__sendmmsg): Add declarations.
433 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
434 sendmmsg.
435
cf9a5d18
JM
4362012-11-20 Joseph Myers <joseph@codesourcery.com>
437
438 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
439 variable I1 with __attribute__ ((unused)).
440 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
441
ecd4caf9
JM
4422012-11-19 Joseph Myers <joseph@codesourcery.com>
443
be14d48f
JM
444 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
445 DUMMY variables with __attribute__ ((unused)).
446
ecd4caf9
JM
447 * bits/byteswap.h: Include <bits/types.h>.
448 (__bswap_64): Use __uint64_t instead of unsigned long long int.
449
986cab95
PT
4502012-11-19 Pino Toscano <toscano.pino@tiscali.it>
451
452 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
453 string_t. Do not manually set errno.
454 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
455 length with __strnlen. Make sure to both set errno and return it on
456 failure.
457
6d33cc9d
DM
4582012-11-19 David S. Miller <davem@davemloft.net>
459
460 With help from Joseph Myers.
461 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
462 very large arguments properly.
463 * math/libm-test.inc (atan_test): New tests.
464 (atan2_test): New tests.
465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
466 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
467
ee663277
JM
4682012-11-19 Joseph Myers <joseph@codesourcery.com>
469
877f2d8e
JM
470 [BZ #14856]
471 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
472 Define to 3.
473
116fc08a
JM
474 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
475 [POSIX] (EADDRNOTAVAIL): Likewise.
476 [POSIX] (EAFNOSUPPORT): Likewise.
477 [POSIX] (EALREADY): Likewise.
478 [POSIX] (ECONNABORTED): Likewise.
479 [POSIX] (ECONNREFUSED): Likewise.
480 [POSIX] (ECONNRESET): Likewise.
481 [POSIX] (EDESTADDRREQ): Likewise.
482 [POSIX] (EDQUOT): Likewise.
483 [POSIX] (EHOSTUNREACH): Likewise.
484 [POSIX] (EIDRM): Likewise.
485 [POSIX] (EISCONN): Likewise.
486 [POSIX] (ELOOP): Likewise.
487 [POSIX] (EMULTIHOP): Likewise.
488 [POSIX] (ENETDOWN): Likewise.
489 [POSIX] (ENETUNREACH): Likewise.
490 [POSIX] (ENOBUFS): Likewise.
491 [POSIX] (ENODATA): Likewise.
492 [POSIX] (ENOLINK): Likewise.
493 [POSIX] (ENOMSG): Likewise.
494 [POSIX] (ENOPROTOOPT): Likewise.
495 [POSIX] (ENOSR): Likewise.
496 [POSIX] (ENOSTR): Likewise.
497 [POSIX] (ENOTCONN): Likewise.
498 [POSIX] (ENOTSOCK): Likewise.
499 [POSIX] (EOPNOTSUPP): Likewise.
500 [POSIX] (EOVERFLOW): Likewise.
501 [POSIX] (EPROTO): Likewise.
502 [POSIX] (EPROTONOSUPPORT): Likewise.
503 [POSIX] (EPROTOTYPE): Likewise.
504 [POSIX] (ESTALE): Likewise.
505 [POSIX] (ETIME): Likewise.
506 [POSIX] (ETXTBSY): Likewise.
507 [POSIX] (EWOULDBLOCK): Likewise.
508 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
509 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
510 [POSIX] (SEEK_CUR): Likewise.
511 [POSIX] (SEEK_END): Likewise.
512 [POSIX || UNIX98] (mode_t): Do not require.
513 [POSIX] (off_t): Likewise.
514 [POSIX] (pid_t): Likewise.
515 [POSIX] (sys/stat.h): Do not allow header.
516 [POSIX] (unistd.h): Likewise.
517 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
518 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
519 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
520 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
521 require.
522 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
523 sigevent): Specify elements.
524 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
525 entry.
526 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
527 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
528
a483863f
JM
529 * conform/data/cpio.h-data [POSIX]: Disable whole file.
530 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
531 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
532 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
533 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
534 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
535 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
536 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
537 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
538 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
539 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
540 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
541 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
542 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
543 Likewise.
544 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
545 Likewise.
546 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
547 Likewise.
548 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
549 Likewise.
550 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
551 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
552 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
553 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
554 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
555 Specify lower bound on value.
556 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
557 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
558 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
559 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
560 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
561 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
562 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
563 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
564 value.
565 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
566 as optional.
567 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
568 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
569 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
570 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
571 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
572 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
573 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
574 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
575 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
576 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
577 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
578 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
579 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
580 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
581 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
582 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
583 entry.
584 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
585 optional.
586 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
587 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
588 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
589 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
590 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
591 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
592 Likewise.
593 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
594 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
595 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
596 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
597 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
598 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
599 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
600 as optional.
601 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
602 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
603 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
604 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
605 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
606 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
607 specify as optional.
608 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
609 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
610 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
611 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
612 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
613 [XPG3] (NL_LANGMAX): Likewise.
614 [POSIX || XPG3] (NL_MSGMAX): Likewise.
615 [POSIX || XPG3] (NL_NMAX): Likewise.
616 [POSIX || XPG3] (NL_SETMAX): Likewise.
617 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
618 [XPG3] (NZERO): Likewise.
619 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
620 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
621 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
622 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
623 (REG_ERANGE): Expect.
624 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
625 optional-constant.
626 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
627 Use (void) in prototype.
628 [POSIX] (*_t): Allow.
629 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
630 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
631 (WRDE_BADVAL): Expect.
632
5ba924e3
JM
633 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
634 expect.
635 [XPG3 || XPG4] (O_RSYNC): Likewise.
636 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
637 Likewise.
638 [XPG3 || XPG4] (pthread_sigmask): Likewise.
639 [XPG3 || XPG4] (sigqueue): Likewise.
640 [XPG3 || XPG4] (sigtimedwait): Likewise.
641 [XPG3 || XPG4] (sigwaitinfo): Likewise.
642 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
643 [XPG3 || XPG4] (vsnprintf): Likewise.
644 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
645 Likewise.
646 [XPG3 || XPG4] (blksize_t): Likewise.
647 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
648 Likewise.
649 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
650 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
651 [XPG3 || XPG4] (struct itimerspec): Likewise.
652 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
653 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
654 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
655 [XPG3 || XPG4] (clockid_t): Likewise.
656 [XPG3 || XPG4] (timer_t): Likewise.
657 [XPG3 || XPG4] (clock_getres): Likewise.
658 [XPG3 || XPG4] (clock_gettime): Likewise.
659 [XPG3 || XPG4] (clock_settime): Likewise.
660 [XPG3 || XPG4] (nanosleep): Likewise.
661 [XPG3 || XPG4] (timer_create): Likewise.
662 [XPG3 || XPG4] (timer_delete): Likewise.
663 [XPG3 || XPG4] (timer_gettime): Likewise.
664 [XPG3 || XPG4] (timer_getoverrun): Likewise.
665 [XPG3 || XPG4] (timer_settime): Likewise.
666 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
667 [XPG3 || XPG4] (getlogin_r): Likewise.
668 [XPG3 || XPG4] (pread): Likewise.
669 [XPG3 || XPG4] (pthread_atfork): Likewise.
670 [XPG3 || XPG4] (pwrite): Likewise.
671
ee663277
JM
672 [BZ #14835]
673 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
674 <bits/siginfo.h>.
675
942caa16
PT
6762012-11-19 Pino Toscano <toscano.pino@tiscali.it>
677
e19af380
PT
678 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
679 finalizing MALLSTREAM.
680
942caa16
PT
681 * sysdeps/mach/hurd/syncfs.c: New file.
682
cfde9b46
SP
6832012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
684
685 [BZ #14719]
686 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
687 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
688 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
689 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
690 (_nss_dns_gethostbyname4_r): Likewise.
691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
692 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
693
f6da27e5
PH
6942012-11-19 Peng Haitao <penght@cn.fujitsu.com>
695
696 [BZ #13763]
697 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
698
6665d4a2
SM
6992012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
700
1f51ee92
SM
701 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
702 * elf/cache.c (print_entry): Print ",AArch64" for
703 FLAG_AARCH64_LIB64
704
6665d4a2
SM
705 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
706 * elf/cache.c (print_entry): Print ",hard-float" for
707 FLAG_ARM_LIBHF.
708
05b227bd
DM
7092012-11-18 David S. Miller <davem@davemloft.net>
710
711 With help from Joseph Myers.
712 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
713 cutoff to 2**-13.
714 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
715 cutoff to 2**-25.
716 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
717 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
718 small.
719 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
720 * math/libm-test.inc (y0_test): New tests.
721 (y1_test): New tests.
722 * sysdeps/i386/fpu/libm-test-ulps: Update.
723 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
725
786b0b67
AS
7262012-11-18 Andreas Schwab <schwab@linux-m68k.org>
727
728 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
729 64-bit targets.
730 * configure: Regenerated.
731
8e18b86d
DM
7322012-11-17 David S. Miller <davem@davemloft.net>
733
734 [BZ #14811]
735 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
736 nonzero exponents with absolute value below 0x1p-128 to +/-
737 0x1p-128.
738
531f1ae0
JM
7392012-11-17 Joseph Myers <joseph@codesourcery.com>
740
12df29e2
JM
741 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
742
150dc1a0
JM
743 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
744
531f1ae0
JM
745 * posix/getconf-speclist.c: New file.
746 * posix/posix-envs.def: Likewise.
747 * posix/confstr.c (START_ENV_GROUP): New macro.
748 (END_ENV_GROUP): Likewise.
749 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
750 (KNOWN_PRESENT_ENV_STRING): Likewise.
751 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
752 (UNKNOWN_ENVIRONMENT): Likewise.
753 (confstr): Include posix-envs.def instead of handling
754 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
755 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
756 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
757 (END_ENV_GROUP): Likewise.
758 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
759 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
760 (UNKNOWN_ENVIRONMENT): Likewise.
761 (__sysconf): Include posix-envs.def instead of handling associated
762 cases directly here.
763 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
764 preprocessing getconf-speclist.c rather than running getconf or
765 generating empty file.
766
a93f9cbc
PT
7672012-11-16 Pino Toscano <toscano.pino@tiscali.it>
768
769 * scripts/check-local-headers.sh: Ignore 'mach' headers.
770
d64d9f87
AL
7712012-11-16 Andrej Lajovic <natrij@gmail.com>
772
773 [BZ #14672]
774 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
775
447885eb
DM
7762012-11-16 David S. Miller <davem@davemloft.net>
777
778 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
779 smaller than LDBL_EPSILON/2.0L, just return xm1.
780
bcbf9830
L
7812012-11-16 H.J. Lu <hongjiu.lu@intel.com>
782
783 * elf/tst-array1.c (init): Set constructor priority to 1000.
784 (fini): Set destructor priority to 1000.
785 * elf/tst-array2dep.c: Likewise.
786
2b766585
SP
7872012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
788
789 [BZ #11741]
790 * libio/fileops.c (_IO_new_file_write): Correctly return error.
791 (_IO_new_file_xsputn): Also return EOF if none of the input
792 data was written when overflow failed.
793 * libio/iopadn.c (_IO_padn): Likewise.
794 * libio/iowpadn.c (_IO_wpadn): Likewise.
795 * stdio-common/tst-put-error.c: Add copyright notice.
796 (do_test): Add case for printing padded string.
797 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
798 _IO_padn returned error.
799 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
800 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
801 return EOF.
802
b1848fde
SP
8032012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
804
805 * libio/libioP.h: Add comment note that the references to C++
806 bits are now obsolete.
807
2fd89785
MS
8082012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
809
810 * math/libm-test.inc (check_complex): Use asprintf.
811
e3ea5409
JM
8122012-11-14 Joseph Myers <joseph@codesourcery.com>
813
814 * debug/pcprofiledump.c (print_version): Update copyright year.
815 * malloc/memusagestat.c (print_version): Likewise.
816
2e64d265
L
8172012-11-14 H.J. Lu <hongjiu.lu@intel.com>
818
819 [BZ #14831]
820 * elf/Makefile (tests): Add tst-audit8.
821 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
822 ($(objpfx)tst-audit8.out): New target.
823 (tst-audit8-ENV): New variable.
824 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
825 audit if l_reloc_result is NULL.
826 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
827 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
828 * elf/tst-audit8.c: New file.
829
c485e4d2
MS
8302012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
831
832 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
833 * misc/Makefile (CFLAGS-select.c): Define.
834 * posix/Makefile (CFLAGS-pause.c): Define.
835
3a0d900a
DM
8362012-11-13 David S. Miller <davem@davemloft.net>
837
838 * crypt/Makefile: Move test targets after toplevel Rules
839 inclusion. Grab any necessary sysdep routines when linking.
840 * crypt/md5.c (md5_process_block): Remove define, we will always
841 name it __md5_process_block.
842 (md5_finish_ctx): Update md5_process_block call.
843 (md5_stream): Likewise.
844 (md5_process_bytes): Likewise.
845 (md5_process_block): Rename to __md5_process_block and move to ...
846 * crypt/md5-block.c: ... here.
847 * crypt/sha256.c (sha256_process_block): Move to ...
848 * crypt/sha256-block.c: ... here.
849 * crypt/sha512.c (sha512_process_block): Move to ...
850 * crypt/sha512-block.c: ... here.
851 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
852 path.
853 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
854 * sysdeps/sparc/sparc64/multiarch/Makefile
855 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
856 crypt subdir.
857 (localedef-aux): Add md5 crypto assembler when in locale subdir.
858 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
859 multiarch changes.
860 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
861 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
862 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
863 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
864 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
865 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
866 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
867 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
868 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
869 file.
870 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
871 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
872 file.
873 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
874
8ca89318
JM
8752012-11-13 Joseph Myers <joseph@codesourcery.com>
876
e27d476a
JM
877 * timezone/tzselect.ksh: Update from tzcode git revision
878 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
879 * timezone/zdump.c: Likewise.
880 * timezone/zic.c: Likewise.
881 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
882 in TZVERSION setting, not $(PKGVERSION).
883 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
884 REPORT_BUGS_TO settings.
885
8ca89318
JM
886 [BZ #14838]
887 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
888 macro.
889
47594329
MS
8902012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
891
892 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
893 detection to immediately after _FP_ROUND().
894 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
895 bits are 0.
896
640ac3f1
DM
8972012-11-11 David S. Miller <davem@davemloft.net>
898
899 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
900 inttypes.h
901 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
902 __close rather than their public counterparts.
903
3d2577bb
JM
9042012-11-10 Joseph Myers <joseph@codesourcery.com>
905
906 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
907 file.
908 [UNIX98] (sem_timedwait): Do not expect.
909 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
910 [XPG4 || UNIX98] (sockatmark): Do not expect.
911 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
912 (clock_getcpuclockid): Do not expect.
913 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
914 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
915 Do not expect.
916 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
917 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
918 [UNIX98] (vwscanf): Likewise.
919 [UNIX98] (vswscanf): Likewise.
920
fb1ae1ee
JM
9212012-11-09 Joseph Myers <joseph@codesourcery.com>
922
9ec6f8bd
JM
923 * timezone/version.h: Remove file.
924 * timezone/README: Do not refer to version.h.
925 * timezone/Makefile ($(objpfx)zic.o): New dependency on
926 $(objpfx)version.h.
927 ($(objpfx)zdump.o): Likewise.
c3f81911 928 ($(objpfx)version.h): New target.
9ec6f8bd 929
0aa8f8a1
JM
930 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
931 2012i.
932 * timezone/README: Don't mention modification to tzselect.ksh.
933 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
934 work on unmodified tzselect.ksh. Substitute version numbers in
935 tzselect.ksh.
936
4e87147f
JM
937 * Makefile (format-me): Remove.
938 (INSTALL): Adjust indentation. Use commands directly instead of
939 using $(format-me).
940
8b748aed
JM
941 * aclocal.m4 (ACX_PKGVERSION): New macro.
942 (ACX_BUGURL): Likewise.
943 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
944 (PKGVERSION): New AC_DEFINE_UNQUOTED.
945 (REPORT_BUGS_TO): Likewise.
946 * configure: Regenerated.
947 * config.h.in (PKGVERSION): New macro.
948 (REPORT_BUGS_TO): Likewise.
949 * config.make.in (PKGVERSION): New variable.
950 (PKGVERSION_TEXI): Likewise.
951 (REPORT_BUGS_TO): Likewise.
952 (REPORT_BUGS_TEXI): Likewise.
953 * Makefile (format-me): Use -I$(common-objpfx)manual.
954 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
955 ($(common-objpfx)manual/%): New target.
956 (manual/%): Remove target.
957 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
958 (print_version): Use PKGVERSION.
959 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
960 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
961 and REPORT_BUGS_TO.
962 ($(objpfx)xtrace): Likewise.
963 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
964 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
965 (print_version): Use PKGVERSION.
966 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
967 (do_version): Use PKGVERSION.
968 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
969 REPORT_BUGS_TO.
970 (common-ldd-rewrite): Likewise.
971 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
972 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
973 (print_version): Use PKGVERSION.
974 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
975 * elf/pldd.c (argp_program_bug_address): Remove variable.
976 (more_help): New function.
977 (argp): Use more_help.
978 (print_version): Use PKGVERSION.
979 * elf/sln.c (main): Use PKGVERSION.
980 (usage): Use REPORT_BUGS_TO.
981 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
982 (top level): Use PKGVERSION.
983 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
984 (print_version): Use PKGVERSION.
985 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
986 (print_version): Use PKGVERSION.
987 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
988 (print_version): Use PKGVERSION.
989 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
990 (print_version): Use PKGVERSION.
991 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
992 (print_version): Use PKGVERSION.
993 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
994 (print_version): Use PKGVERSION.
995 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
996 and BUGURL.
997 ($(objpfx)memusage): Likewise.
998 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
999 (do_version): Use PKGVERSION.
1000 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1001 (print_version): Use PKGVERSION.
1002 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1003 ($PKGVERSION): New variable.
1004 ($REPORT_BUGS_TO): Likewise.
1005 (usage): Use $REPORT_BUGS_TO.
1006 (top level): Use $PKGVERSION.
1007 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1008 ($(objpfx)pkgvers.texi): New rule.
1009 ($(objpfx)stamp-pkgvers): Likewise.
1010 * manual/install.texi: Include pkgvers.texi.
1011 (--with-pkgversion): Document new configure option.
1012 (--with-bugurl): Likewise.
1013 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1014 than necessarily for this particular distribution. Use
1015 REPORT_BUGS_TO for where to report bugs.
1016 * INSTALL: Regenerated.
1017 * manual/libc.texinfo: Include pkgvers.texi.
1018 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1019 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1020 (print_version): Use PKGVERSION.
1021 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1022 (print_version): Use PKGVERSION.
1023 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1024 (print_version): Use PKGVERSION.
1025 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1026 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1027 macro.
1028 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1029 (print_version): Use PKGVERSION.
1030 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1031 (print_version): Use PKGVERSION.
1032 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1033 and PKGVERSION.
1034
92e4b6a9
JM
1035 * timezone/checktab.awk: Update from tzcode 2012i.
1036 * timezone/ialloc.c: Likewise.
1037 * timezone/private.h: Likewise.
1038 * timezone/scheck.c: Likewise.
1039 * timezone/tzfile.h: Likewise.
1040 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1041 (TZVERSION): Hardcode tzcode version number.
1042 * timezone/zdump.c: Update from tzcode 2012i.
1043 * timezone/zic.c: Likewise.
1044 * timezone/version.h: New file.
1045 * timezone/README: Describe version.h. Update upstream location.
1046
9bde902c
JM
1047 [BZ #14824]
1048 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1049 (mktemp): Enable declaration.
1050 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1051 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1052 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1053 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1054 Likewise.
1055 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1056 Likewise.
1057 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1058 Likewise.
1059 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1060 Likewise.
1061 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1062 Likewise.
1063 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1064 Likewise.
1065
fb1ae1ee
JM
1066 [BZ #14821]
1067 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1068 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1069 for copies of such integer values.
1070 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1071 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1072
2c1adbcb
AJ
10732012-11-09 Andreas Jaeger <aj@suse.de>
1074
1075 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1076 definitions and declarations that are provided by
1077 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1078
d0f8457e
AK
10792012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1080
1081 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1082 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1083 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1084 definition.
1085
57241e26
MS
10862012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1087
1088 * elf/elf.h: Update comment before AArch64 relocations.
1089
60e8270d
DM
10902012-11-07 David S. Miller <davem@davemloft.net>
1091
1092 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1093 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1094 (__start_context): Declare.
1095 (__makecontext_ret): Delete.
1096 (__makecontext): Hook up __start_context instead of
1097 __makecontext_ret.
1098 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1099 (sysdep_routines): Add __start_context when in stdlib.
1100
0fbb0fbc
JM
11012012-11-07 Joseph Myers <joseph@codesourcery.com>
1102
1103 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1104 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1105 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1106 hardcoded "nm".
1107 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1108 (READELF): New variable. Use it instead of hardcoded "readelf".
1109
eb48db7e
L
11102012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1111
1112 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1113 * sysdeps/x86/Makefile: Here.
1114 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1115 * sysdeps/x86/tst-xmmymm.sh: This.
1116
05bcf62a
JM
11172012-11-07 Joseph Myers <joseph@codesourcery.com>
1118
c4b6cf53
JM
1119 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1120 expectations.
1121 [UNIX98] (pthread_barrier_t): Do not expect.
1122 [UNIX98] (pthread_barrierattr_t): Likewise.
1123 [UNIX98] (pthread_spinlock_t): Likewise.
1124 [UNIX98] (pthread_barrier_destroy): Likewise.
1125 [UNIX98] (pthread_barrier_init): Likewise.
1126 [UNIX98] (pthread_barrier_wait): Likewise.
1127 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1128 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1129 [UNIX98] (pthread_barrierattr_init): Likewise.
1130 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1131 [UNIX98] (pthread_getcpuclockid): Likewise.
1132 [UNIX98] (pthread_mutex_timedlock): Likewise.
1133 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1134 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1135 [UNIX98] (pthread_sigmask): Likewise.
1136 [UNIX98] (pthread_spin_destroy): Likewise.
1137 [UNIX98] (pthread_spin_init): Likewise.
1138 [UNIX98] (pthread_spin_lock): Likewise.
1139 [UNIX98] (pthread_spin_trylock): Likewise.
1140 [UNIX98] (pthread_spin_unlock): Likewise.
1141 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1142 Do not expect.
1143 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1144 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1145 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1146 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1147 [XPG3 || XPG4] (pthread_key_t): Likewise.
1148 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1149 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1150 [XPG3 || XPG4] (pthread_once_t): Likewise.
1151 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1152 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1153 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1154 [XPG3 || XPG4] (pthread_t): Likewise.
1155
cbe6e120
JM
1156 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1157 not expect.
1158 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1159
1b126443
JM
1160 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1161 Change function return type to int.
1162
b961a573
JM
1163 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1164 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1165 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1166 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1167 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1168 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1169 [!POSIX] (posix_madvise): Likewise.
1170 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1171 && !UNIX98].
1172 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1173 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1174 (mode_t): Likewise.
1175 (posix_mem_offset): Likewise.
1176 (posix_typed_mem_get_info): Likewise.
1177 (posix_typed_mem_open): Likewise.
1178
9e188909
JM
1179 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1180 Change condition to [XOPEN2K8].
1181
05bcf62a
JM
1182 * conform/conformtest.pl: Preprocess allow-header data with -x c
1183 instead of from stdin.
1184 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1185 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1186 [C99-based standards] (cerfc): Likewise.
1187 [C99-based standards] (cexp2): Likewise.
1188 [C99-based standards] (cexpm1): Likewise.
1189 [C99-based standards] (clog10): Likewise.
1190 [C99-based standards] (clog1p): Likewise.
1191 [C99-based standards] (clog2): Likewise.
1192 [C99-based standards] (clgamma): Likewise.
1193 [C99-based standards] (ctgamma): Likewise.
1194 [C99-based standards] (cerff): Likewise.
1195 [C99-based standards] (cerfcf): Likewise.
1196 [C99-based standards] (cexp2f): Likewise.
1197 [C99-based standards] (cexpm1f): Likewise.
1198 [C99-based standards] (clog10f): Likewise.
1199 [C99-based standards] (clog1pf): Likewise.
1200 [C99-based standards] (clog2f): Likewise.
1201 [C99-based standards] (clgammaf): Likewise.
1202 [C99-based standards] (ctgammaf): Likewise.
1203 [C99-based standards] (cerfl): Likewise.
1204 [C99-based standards] (cerfcl): Likewise.
1205 [C99-based standards] (cexp2l): Likewise.
1206 [C99-based standards] (cexpm1l): Likewise.
1207 [C99-based standards] (clog10l): Likewise.
1208 [C99-based standards] (clog1pl): Likewise.
1209 [C99-based standards] (clog2l): Likewise.
1210 [C99-based standards] (clgammal): Likewise.
1211 [C99-based standards] (ctgammal): Likewise.
1212 * conform/data/inttypes.h-data [C99-based standards]: Include
1213 stdint.h-data. Remove all expectations for stdint.h contents.
1214 [C99-based standards] (PRI*): Do not allow.
1215 [C99-based standards] (SCN*): Likewise.
1216 [C99-based standards] (*_t): Likewise.
1217 [C99-based-standards] (PRId8): Expect macro.
1218 [C99-based-standards] (PRIi8): Likewise.
1219 [C99-based-standards] (PRIo8): Likewise.
1220 [C99-based-standards] (PRIu8): Likewise.
1221 [C99-based-standards] (PRIx8): Likewise.
1222 [C99-based-standards] (PRIX8): Likewise.
1223 [C99-based-standards] (SCNd8): Likewise.
1224 [C99-based-standards] (SCNi8): Likewise.
1225 [C99-based-standards] (SCNo8): Likewise.
1226 [C99-based-standards] (SCNu8): Likewise.
1227 [C99-based-standards] (SCNx8): Likewise.
1228 [C99-based-standards] (PRIdLEAST8): Likewise.
1229 [C99-based-standards] (PRIiLEAST8): Likewise.
1230 [C99-based-standards] (PRIoLEAST8): Likewise.
1231 [C99-based-standards] (PRIuLEAST8): Likewise.
1232 [C99-based-standards] (PRIxLEAST8): Likewise.
1233 [C99-based-standards] (PRIXLEAST8): Likewise.
1234 [C99-based-standards] (SCNdLEAST8): Likewise.
1235 [C99-based-standards] (SCNiLEAST8): Likewise.
1236 [C99-based-standards] (SCNoLEAST8): Likewise.
1237 [C99-based-standards] (SCNuLEAST8): Likewise.
1238 [C99-based-standards] (SCNxLEAST8): Likewise.
1239 [C99-based-standards] (PRIdFAST8): Likewise.
1240 [C99-based-standards] (PRIiFAST8): Likewise.
1241 [C99-based-standards] (PRIoFAST8): Likewise.
1242 [C99-based-standards] (PRIuFAST8): Likewise.
1243 [C99-based-standards] (PRIxFAST8): Likewise.
1244 [C99-based-standards] (PRIXFAST8): Likewise.
1245 [C99-based-standards] (SCNdFAST8): Likewise.
1246 [C99-based-standards] (SCNiFAST8): Likewise.
1247 [C99-based-standards] (SCNoFAST8): Likewise.
1248 [C99-based-standards] (SCNuFAST8): Likewise.
1249 [C99-based-standards] (SCNxFAST8): Likewise.
1250 [C99-based-standards] (PRId16): Likewise.
1251 [C99-based-standards] (PRIi16): Likewise.
1252 [C99-based-standards] (PRIo16): Likewise.
1253 [C99-based-standards] (PRIu16): Likewise.
1254 [C99-based-standards] (PRIx16): Likewise.
1255 [C99-based-standards] (PRIX16): Likewise.
1256 [C99-based-standards] (SCNd16): Likewise.
1257 [C99-based-standards] (SCNi16): Likewise.
1258 [C99-based-standards] (SCNo16): Likewise.
1259 [C99-based-standards] (SCNu16): Likewise.
1260 [C99-based-standards] (SCNx16): Likewise.
1261 [C99-based-standards] (PRIdLEAST16): Likewise.
1262 [C99-based-standards] (PRIiLEAST16): Likewise.
1263 [C99-based-standards] (PRIoLEAST16): Likewise.
1264 [C99-based-standards] (PRIuLEAST16): Likewise.
1265 [C99-based-standards] (PRIxLEAST16): Likewise.
1266 [C99-based-standards] (PRIXLEAST16): Likewise.
1267 [C99-based-standards] (SCNdLEAST16): Likewise.
1268 [C99-based-standards] (SCNiLEAST16): Likewise.
1269 [C99-based-standards] (SCNoLEAST16): Likewise.
1270 [C99-based-standards] (SCNuLEAST16): Likewise.
1271 [C99-based-standards] (SCNxLEAST16): Likewise.
1272 [C99-based-standards] (PRIdFAST16): Likewise.
1273 [C99-based-standards] (PRIiFAST16): Likewise.
1274 [C99-based-standards] (PRIoFAST16): Likewise.
1275 [C99-based-standards] (PRIuFAST16): Likewise.
1276 [C99-based-standards] (PRIxFAST16): Likewise.
1277 [C99-based-standards] (PRIXFAST16): Likewise.
1278 [C99-based-standards] (SCNdFAST16): Likewise.
1279 [C99-based-standards] (SCNiFAST16): Likewise.
1280 [C99-based-standards] (SCNoFAST16): Likewise.
1281 [C99-based-standards] (SCNuFAST16): Likewise.
1282 [C99-based-standards] (SCNxFAST16): Likewise.
1283 [C99-based-standards] (PRId32): Likewise.
1284 [C99-based-standards] (PRIi32): Likewise.
1285 [C99-based-standards] (PRIo32): Likewise.
1286 [C99-based-standards] (PRIu32): Likewise.
1287 [C99-based-standards] (PRIx32): Likewise.
1288 [C99-based-standards] (PRIX32): Likewise.
1289 [C99-based-standards] (SCNd32): Likewise.
1290 [C99-based-standards] (SCNi32): Likewise.
1291 [C99-based-standards] (SCNo32): Likewise.
1292 [C99-based-standards] (SCNu32): Likewise.
1293 [C99-based-standards] (SCNx32): Likewise.
1294 [C99-based-standards] (PRIdLEAST32): Likewise.
1295 [C99-based-standards] (PRIiLEAST32): Likewise.
1296 [C99-based-standards] (PRIoLEAST32): Likewise.
1297 [C99-based-standards] (PRIuLEAST32): Likewise.
1298 [C99-based-standards] (PRIxLEAST32): Likewise.
1299 [C99-based-standards] (PRIXLEAST32): Likewise.
1300 [C99-based-standards] (SCNdLEAST32): Likewise.
1301 [C99-based-standards] (SCNiLEAST32): Likewise.
1302 [C99-based-standards] (SCNoLEAST32): Likewise.
1303 [C99-based-standards] (SCNuLEAST32): Likewise.
1304 [C99-based-standards] (SCNxLEAST32): Likewise.
1305 [C99-based-standards] (PRIdFAST32): Likewise.
1306 [C99-based-standards] (PRIiFAST32): Likewise.
1307 [C99-based-standards] (PRIoFAST32): Likewise.
1308 [C99-based-standards] (PRIuFAST32): Likewise.
1309 [C99-based-standards] (PRIxFAST32): Likewise.
1310 [C99-based-standards] (PRIXFAST32): Likewise.
1311 [C99-based-standards] (SCNdFAST32): Likewise.
1312 [C99-based-standards] (SCNiFAST32): Likewise.
1313 [C99-based-standards] (SCNoFAST32): Likewise.
1314 [C99-based-standards] (SCNuFAST32): Likewise.
1315 [C99-based-standards] (SCNxFAST32): Likewise.
1316 [C99-based-standards] (PRId64): Likewise.
1317 [C99-based-standards] (PRIi64): Likewise.
1318 [C99-based-standards] (PRIo64): Likewise.
1319 [C99-based-standards] (PRIu64): Likewise.
1320 [C99-based-standards] (PRIx64): Likewise.
1321 [C99-based-standards] (PRIX64): Likewise.
1322 [C99-based-standards] (SCNd64): Likewise.
1323 [C99-based-standards] (SCNi64): Likewise.
1324 [C99-based-standards] (SCNo64): Likewise.
1325 [C99-based-standards] (SCNu64): Likewise.
1326 [C99-based-standards] (SCNx64): Likewise.
1327 [C99-based-standards] (PRIdLEAST64): Likewise.
1328 [C99-based-standards] (PRIiLEAST64): Likewise.
1329 [C99-based-standards] (PRIoLEAST64): Likewise.
1330 [C99-based-standards] (PRIuLEAST64): Likewise.
1331 [C99-based-standards] (PRIxLEAST64): Likewise.
1332 [C99-based-standards] (PRIXLEAST64): Likewise.
1333 [C99-based-standards] (SCNdLEAST64): Likewise.
1334 [C99-based-standards] (SCNiLEAST64): Likewise.
1335 [C99-based-standards] (SCNoLEAST64): Likewise.
1336 [C99-based-standards] (SCNuLEAST64): Likewise.
1337 [C99-based-standards] (SCNxLEAST64): Likewise.
1338 [C99-based-standards] (PRIdFAST64): Likewise.
1339 [C99-based-standards] (PRIiFAST64): Likewise.
1340 [C99-based-standards] (PRIoFAST64): Likewise.
1341 [C99-based-standards] (PRIuFAST64): Likewise.
1342 [C99-based-standards] (PRIxFAST64): Likewise.
1343 [C99-based-standards] (PRIXFAST64): Likewise.
1344 [C99-based-standards] (SCNdFAST64): Likewise.
1345 [C99-based-standards] (SCNiFAST64): Likewise.
1346 [C99-based-standards] (SCNoFAST64): Likewise.
1347 [C99-based-standards] (SCNuFAST64): Likewise.
1348 [C99-based-standards] (SCNxFAST64): Likewise.
1349 [C99-based-standards] (PRIdMAX): Likewise.
1350 [C99-based-standards] (PRIiMAX): Likewise.
1351 [C99-based-standards] (PRIoMAX): Likewise.
1352 [C99-based-standards] (PRIuMAX): Likewise.
1353 [C99-based-standards] (PRIxMAX): Likewise.
1354 [C99-based-standards] (PRIXMAX): Likewise.
1355 [C99-based-standards] (SCNdMAX): Likewise.
1356 [C99-based-standards] (SCNiMAX): Likewise.
1357 [C99-based-standards] (SCNoMAX): Likewise.
1358 [C99-based-standards] (SCNuMAX): Likewise.
1359 [C99-based-standards] (SCNxMAX): Likewise.
1360 [C99-based-standards] (PRIdPTR): Likewise.
1361 [C99-based-standards] (PRIiPTR): Likewise.
1362 [C99-based-standards] (PRIoPTR): Likewise.
1363 [C99-based-standards] (PRIuPTR): Likewise.
1364 [C99-based-standards] (PRIxPTR): Likewise.
1365 [C99-based-standards] (PRIXPTR): Likewise.
1366 [C99-based-standards] (SCNdPTR): Likewise.
1367 [C99-based-standards] (SCNiPTR): Likewise.
1368 [C99-based-standards] (SCNoPTR): Likewise.
1369 [C99-based-standards] (SCNuPTR): Likewise.
1370 [C99-based-standards] (SCNxPTR): Likewise.
1371 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1372 allow.
1373 * conform/data/stdint.h-data: Update comments to clarify
1374 requirements.
1375 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1376 type.
1377 [C99-based standards] (INT8_MAX): Likewise.
1378 [C99-based standards] (INT16_MIN): Likewise.
1379 [C99-based standards] (INT16_MAX): Likewise.
1380 [C99-based standards] (INT32_MIN): Likewise.
1381 [C99-based standards] (INT32_MAX): Likewise.
1382 [C99-based standards] (INT64_MIN): Likewise.
1383 [C99-based standards] (INT64_MAX): Likewise.
1384 [C99-based standards] (UINT8_MAX): Likewise.
1385 [C99-based standards] (UINT16_MAX): Likewise.
1386 [C99-based standards] (UINT32_MAX): Likewise.
1387 [C99-based standards] (UINT64_MAX): Likewise.
1388 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1389 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1390 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1391 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1392 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1393 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1394 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1395 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1396 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1397 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1398 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1399 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1400 [C99-based standards] (INT_FAST8_MIN): Likewise.
1401 [C99-based standards] (INT_FAST8_MAX): Likewise.
1402 [C99-based standards] (INT_FAST16_MIN): Likewise.
1403 [C99-based standards] (INT_FAST16_MAX): Likewise.
1404 [C99-based standards] (INT_FAST32_MIN): Likewise.
1405 [C99-based standards] (INT_FAST32_MAX): Likewise.
1406 [C99-based standards] (INT_FAST64_MIN): Likewise.
1407 [C99-based standards] (INT_FAST64_MAX): Likewise.
1408 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1409 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1410 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1411 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1412 [C99-based standards] (INTPTR_MIN): Likewise.
1413 [C99-based standards] (INTPTR_MAX): Likewise.
1414 [C99-based standards] (UINTPTR_MAX): Likewise.
1415 [C99-based standards] (INTMAX_MIN): Likewise.
1416 [C99-based standards] (INTMAX_MAX): Likewise.
1417 [C99-based standards] (UINTMAX_MAX): Likewise.
1418 [C99-based standards] (PTRDIFF_MIN): Likewise.
1419 [C99-based standards] (PTRDIFF_MAX): Likewise.
1420 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1421 [C99-based standards] (SIZE_MAX): Likewise.
1422 [C99-based standards] (WCHAR_MAX): Likewise.
1423 [C99-based standards] (WINT_MAX): Likewise.
1424 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1425 constraint on value.
1426 [C99-based standards] (WCHAR_MIN): Likewise.
1427 [C99-based standards] (WINT_MIN): Likewise.
1428 [C99-based standards] (*_t): Allow.
1429 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1430 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1431 Include math.h-data and complex.h-data. Remove all expectations
1432 of math.h and complex.h contents.
1433 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1434 at end of line.
1435 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1436 (struct tm): Expect tag.
1437 [C99-based-standards] (wcstof): Expect function.
1438 [C99-based-standards] (wcstold): Likewise.
1439 [C99-based-standards] (wcstoll): Likewise.
1440 [C99-based-standards] (wcstoull): Likewise.
1441 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1442 macro-int-constant. Specify type.
1443 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1444 constraint on value.
1445 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1446 Specify type.
1447 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1448 Specify value.
1449 [ISO C standards]: Do not allow headers.
1450 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1451 wcs[abcdefghijklmnopqrstuvwxyz]*.
1452 [ISO C standards] (*_t): Do not allow.
1453 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1454 Expect function.
1455 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1456 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1457 Specify type.
1458 [ISO C standards]: Do not allow headers.
1459 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1460 is[abcdefghijklmnopqrstuvwxyz]*.
1461 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1462 to[abcdefghijklmnopqrstuvwxyz]*.
1463 [ISO C standards] (*_t): Do not allow.
1464 * conform/data/stdalign.h-data: New file.
1465 * conform/data/stdbool.h-data: Likewise.
1466 * conform/data/stdnoreturn.h-data: Likewise.
1467
7514feb8
RM
14682012-11-07 Roland McGrath <roland@hack.frob.com>
1469
1470 [BZ #14815]
1471 * manual/filesys.texi (Directory Entries): Typo fix.
1472 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1473
19b2ecfc
MS
14742012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1475
1476 * elf/elf.h (EM_AARCH64): New macro.
1477 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1478 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1479 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1480 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1481 (R_AARCH64_TLSDESC): Likewise.
1482 (NT_ARM_TLS): Likewise.
1483 (NT_ARM_HW_BREAK): Likewise.
1484 (NT_ARM_HW_WATCH): Likewise.
1485
60e235ee
JM
14862012-11-07 Joseph Myers <joseph@codesourcery.com>
1487
1488 [BZ #14811]
1489 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1490 (__ieee754_powl): Saturate nonzero exponents with absolute value
1491 below 0x1p-79 to +/- 0x1p-79.
1492 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1493 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1494 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1495 nonzero exponents with absolute value below 0x1p-32 to +/-
1496 0x1p-32.
1497 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1498 (__ieee754_powl): Saturate nonzero exponents with absolute value
1499 below 0x1p-79 to +/- 0x1p-79.
1500 * math/libm-test.inc (pow_test): Add more tests.
1501
0ab234b7
AK
15022012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1503
1504 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1505 _dl_s390_cap_flags with kernel. Increase string length.
1506 (_dl_s390_platforms): Add z196 and zEC12.
1507
45832f74
JM
15082012-11-07 Joseph Myers <joseph@codesourcery.com>
1509
1510 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1511 Change XOPEN21K to XOPEN2K.
1512
19218757
MK
15132012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1514
1515 * string/memmove.c: Use memcpy when possible.
1516
c5f45721
AJ
15172012-11-06 Andreas Jaeger <aj@suse.de>
1518
1519 * po/eo.po: Update from translation team.
1520
82477c28
JM
15212012-11-06 Joseph Myers <joseph@codesourcery.com>
1522
1523 [BZ #14793]
1524 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1525 exponent and small x and y exponents, scale x or y up. Increase
1526 by 2 the exponent used in scaling up.
1527 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1528 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1529 * math/libm-test.inc (fma_test): Add more tests.
1530 (fma_test_towardzero): Likewise.
1531 (fma_test_downward): Likewise.
1532 (fma_test_upward): Likewise.
1533
99252c8c
JM
15342012-11-05 Joseph Myers <joseph@codesourcery.com>
1535
acfa885f
JM
1536 [BZ #14805]
1537 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1538 fenv_t *.
1539
99252c8c
JM
1540 [BZ #14801]
1541 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1542 namespace for names of struct fields.
1543 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1544 fenv_t fields.
1545 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1546 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1547
d6d98dea
ST
15482012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1549
1550 [BZ #3665]
1551 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1552
e10bb107
TS
15532012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1554
1555 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1556 PTR_DEMANGLE.
1557
1558 [BZ #5246]
1559 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1560 PTR_DEMANGLE.
1561
a0c2940d
JM
15622012-11-04 Joseph Myers <joseph@codesourcery.com>
1563
1564 [BZ #14797]
1565 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1566 definitely overflow as x * y not x * y + z.
1567 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1568 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1569 * math/libm-test.inc (fma_test): Add more tests.
1570 (fma_test_towardzero): Likewise.
1571 (fma_test_downward): Likewise.
1572 (fma_test_upward): Likewise.
1573
b830319d
TS
15742012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1575
1576 [BZ #157]
1577
1578 * include/stub-tag.h: Remove file.
1579 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1580 '#include' of it.
1581 * manual/maint.texi (Porting): Don't reference it.
1582 * Makerules ($(objpfx)stubs): Likewise.
1583 * dirent/closedir.c: Don't include <stub-tag.h>.
1584 * dirent/dirfd.c: Likewise.
1585 * dirent/fdopendir.c: Likewise.
1586 * dirent/getdents.c: Likewise.
1587 * dirent/getdents64.c: Likewise.
1588 * dirent/opendir.c: Likewise.
1589 * dirent/readdir.c: Likewise.
1590 * dirent/readdir64.c: Likewise.
1591 * dirent/readdir64_r.c: Likewise.
1592 * dirent/readdir_r.c: Likewise.
1593 * dirent/rewinddir.c: Likewise.
1594 * dirent/seekdir.c: Likewise.
1595 * dirent/telldir.c: Likewise.
1596 * gmon/profil.c: Likewise.
1597 * grp/setgroups.c: Likewise.
1598 * inet/if_index.c: Likewise.
1599 * io/access.c: Likewise.
1600 * io/chdir.c: Likewise.
1601 * io/chmod.c: Likewise.
1602 * io/chown.c: Likewise.
1603 * io/close.c: Likewise.
1604 * io/dup.c: Likewise.
1605 * io/dup2.c: Likewise.
1606 * io/dup3.c: Likewise.
1607 * io/euidaccess.c: Likewise.
1608 * io/faccessat.c: Likewise.
1609 * io/fchdir.c: Likewise.
1610 * io/fchmod.c: Likewise.
1611 * io/fchmodat.c: Likewise.
1612 * io/fchown.c: Likewise.
1613 * io/fchownat.c: Likewise.
1614 * io/fcntl.c: Likewise.
1615 * io/flock.c: Likewise.
1616 * io/fstatfs.c: Likewise.
1617 * io/fstatfs64.c: Likewise.
1618 * io/fstatvfs.c: Likewise.
1619 * io/fstatvfs64.c: Likewise.
1620 * io/futimens.c: Likewise.
1621 * io/fxstat.c: Likewise.
1622 * io/fxstat64.c: Likewise.
1623 * io/fxstatat.c: Likewise.
1624 * io/fxstatat64.c: Likewise.
1625 * io/getcwd.c: Likewise.
1626 * io/isatty.c: Likewise.
1627 * io/lchmod.c: Likewise.
1628 * io/lchown.c: Likewise.
1629 * io/link.c: Likewise.
1630 * io/linkat.c: Likewise.
1631 * io/lseek.c: Likewise.
1632 * io/lseek64.c: Likewise.
1633 * io/lxstat64.c: Likewise.
1634 * io/mkdir.c: Likewise.
1635 * io/mkdirat.c: Likewise.
1636 * io/mkfifo.c: Likewise.
1637 * io/mkfifoat.c: Likewise.
1638 * io/open.c: Likewise.
1639 * io/open64.c: Likewise.
1640 * io/openat.c: Likewise.
1641 * io/openat64.c: Likewise.
1642 * io/pipe.c: Likewise.
1643 * io/pipe2.c: Likewise.
1644 * io/poll.c: Likewise.
1645 * io/posix_fadvise.c: Likewise.
1646 * io/posix_fadvise64.c: Likewise.
1647 * io/posix_fallocate.c: Likewise.
1648 * io/posix_fallocate64.c: Likewise.
1649 * io/read.c: Likewise.
1650 * io/readlink.c: Likewise.
1651 * io/readlinkat.c: Likewise.
1652 * io/rmdir.c: Likewise.
1653 * io/sendfile.c: Likewise.
1654 * io/sendfile64.c: Likewise.
1655 * io/statfs.c: Likewise.
1656 * io/statfs64.c: Likewise.
1657 * io/statvfs.c: Likewise.
1658 * io/statvfs64.c: Likewise.
1659 * io/symlink.c: Likewise.
1660 * io/symlinkat.c: Likewise.
1661 * io/ttyname.c: Likewise.
1662 * io/ttyname_r.c: Likewise.
1663 * io/umask.c: Likewise.
1664 * io/unlink.c: Likewise.
1665 * io/unlinkat.c: Likewise.
1666 * io/utime.c: Likewise.
1667 * io/utimensat.c: Likewise.
1668 * io/write.c: Likewise.
1669 * io/xmknod.c: Likewise.
1670 * io/xmknodat.c: Likewise.
1671 * io/xstat.c: Likewise.
1672 * io/xstat64.c: Likewise.
1673 * login/getpt.c: Likewise.
1674 * login/grantpt.c: Likewise.
1675 * login/unlockpt.c: Likewise.
1676 * math/e_acoshl.c: Likewise.
1677 * math/e_acosl.c: Likewise.
1678 * math/e_asinl.c: Likewise.
1679 * math/e_atan2l.c: Likewise.
1680 * math/e_atanhl.c: Likewise.
1681 * math/e_coshl.c: Likewise.
1682 * math/e_expl.c: Likewise.
1683 * math/e_fmodl.c: Likewise.
1684 * math/e_gammal_r.c: Likewise.
1685 * math/e_hypotl.c: Likewise.
1686 * math/e_j0l.c: Likewise.
1687 * math/e_j1l.c: Likewise.
1688 * math/e_jnl.c: Likewise.
1689 * math/e_lgammal_r.c: Likewise.
1690 * math/e_log10l.c: Likewise.
1691 * math/e_log2l.c: Likewise.
1692 * math/e_logl.c: Likewise.
1693 * math/e_powl.c: Likewise.
1694 * math/e_rem_pio2l.c: Likewise.
1695 * math/e_sinhl.c: Likewise.
1696 * math/e_sqrtl.c: Likewise.
1697 * math/fclrexcpt.c: Likewise.
1698 * math/fedisblxcpt.c: Likewise.
1699 * math/feenablxcpt.c: Likewise.
1700 * math/fegetenv.c: Likewise.
1701 * math/fegetexcept.c: Likewise.
1702 * math/fegetround.c: Likewise.
1703 * math/feholdexcpt.c: Likewise.
1704 * math/fesetenv.c: Likewise.
1705 * math/fesetround.c: Likewise.
1706 * math/feupdateenv.c: Likewise.
1707 * math/fgetexcptflg.c: Likewise.
1708 * math/fraiseexcpt.c: Likewise.
1709 * math/fsetexcptflg.c: Likewise.
1710 * math/ftestexcept.c: Likewise.
1711 * math/k_cosl.c: Likewise.
1712 * math/k_rem_pio2l.c: Likewise.
1713 * math/k_sinl.c: Likewise.
1714 * math/k_tanl.c: Likewise.
1715 * math/s_asinhl.c: Likewise.
1716 * math/s_atanl.c: Likewise.
1717 * math/s_cbrtl.c: Likewise.
1718 * math/s_erfl.c: Likewise.
1719 * math/s_expm1l.c: Likewise.
1720 * math/s_log1pl.c: Likewise.
1721 * math/s_tanhl.c: Likewise.
1722 * misc/acct.c: Likewise.
1723 * misc/brk.c: Likewise.
1724 * misc/chflags.c: Likewise.
1725 * misc/chroot.c: Likewise.
1726 * misc/fchflags.c: Likewise.
1727 * misc/fgetxattr.c: Likewise.
1728 * misc/flistxattr.c: Likewise.
1729 * misc/fremovexattr.c: Likewise.
1730 * misc/fsetxattr.c: Likewise.
1731 * misc/fsync.c: Likewise.
1732 * misc/ftruncate.c: Likewise.
1733 * misc/futimes.c: Likewise.
1734 * misc/futimesat.c: Likewise.
1735 * misc/getdomain.c: Likewise.
1736 * misc/getdtsz.c: Likewise.
1737 * misc/gethostid.c: Likewise.
1738 * misc/gethostname.c: Likewise.
1739 * misc/getloadavg.c: Likewise.
1740 * misc/getpagesize.c: Likewise.
1741 * misc/getsysstats.c: Likewise.
1742 * misc/getxattr.c: Likewise.
1743 * misc/gtty.c: Likewise.
1744 * misc/ioctl.c: Likewise.
1745 * misc/lgetxattr.c: Likewise.
1746 * misc/listxattr.c: Likewise.
1747 * misc/llistxattr.c: Likewise.
1748 * misc/lremovexattr.c: Likewise.
1749 * misc/lsetxattr.c: Likewise.
1750 * misc/lutimes.c: Likewise.
1751 * misc/madvise.c: Likewise.
1752 * misc/mincore.c: Likewise.
1753 * misc/mlock.c: Likewise.
1754 * misc/mlockall.c: Likewise.
1755 * misc/mmap.c: Likewise.
1756 * misc/mprotect.c: Likewise.
1757 * misc/msync.c: Likewise.
1758 * misc/munlock.c: Likewise.
1759 * misc/munlockall.c: Likewise.
1760 * misc/munmap.c: Likewise.
1761 * misc/preadv.c: Likewise.
1762 * misc/preadv64.c: Likewise.
1763 * misc/ptrace.c: Likewise.
1764 * misc/pwritev.c: Likewise.
1765 * misc/pwritev64.c: Likewise.
1766 * misc/readv.c: Likewise.
1767 * misc/reboot.c: Likewise.
1768 * misc/remap_file_pages.c: Likewise.
1769 * misc/removexattr.c: Likewise.
1770 * misc/revoke.c: Likewise.
1771 * misc/select.c: Likewise.
1772 * misc/setdomain.c: Likewise.
1773 * misc/setegid.c: Likewise.
1774 * misc/seteuid.c: Likewise.
1775 * misc/sethostid.c: Likewise.
1776 * misc/sethostname.c: Likewise.
1777 * misc/setregid.c: Likewise.
1778 * misc/setreuid.c: Likewise.
1779 * misc/setxattr.c: Likewise.
1780 * misc/sstk.c: Likewise.
1781 * misc/stty.c: Likewise.
1782 * misc/swapoff.c: Likewise.
1783 * misc/swapon.c: Likewise.
1784 * misc/sync.c: Likewise.
1785 * misc/syncfs.c: Likewise.
1786 * misc/syscall.c: Likewise.
1787 * misc/truncate.c: Likewise.
1788 * misc/ualarm.c: Likewise.
1789 * misc/usleep.c: Likewise.
1790 * misc/ustat.c: Likewise.
1791 * misc/utimes.c: Likewise.
1792 * misc/vhangup.c: Likewise.
1793 * misc/writev.c: Likewise.
1794 * posix/_exit.c: Likewise.
1795 * posix/alarm.c: Likewise.
1796 * posix/execve.c: Likewise.
1797 * posix/fexecve.c: Likewise.
1798 * posix/fork.c: Likewise.
1799 * posix/fpathconf.c: Likewise.
1800 * posix/getaddrinfo.c: Likewise.
1801 * posix/getegid.c: Likewise.
1802 * posix/geteuid.c: Likewise.
1803 * posix/getgid.c: Likewise.
1804 * posix/getgroups.c: Likewise.
1805 * posix/getlogin.c: Likewise.
1806 * posix/getlogin_r.c: Likewise.
1807 * posix/getpgid.c: Likewise.
1808 * posix/getpid.c: Likewise.
1809 * posix/getppid.c: Likewise.
1810 * posix/getresgid.c: Likewise.
1811 * posix/getresuid.c: Likewise.
1812 * posix/getsid.c: Likewise.
1813 * posix/getuid.c: Likewise.
1814 * posix/glob64.c: Likewise.
1815 * posix/nanosleep.c: Likewise.
1816 * posix/pathconf.c: Likewise.
1817 * posix/pause.c: Likewise.
1818 * posix/posix_madvise.c: Likewise.
1819 * posix/pread.c: Likewise.
1820 * posix/pread64.c: Likewise.
1821 * posix/pwrite.c: Likewise.
1822 * posix/pwrite64.c: Likewise.
1823 * posix/sched_getaffinity.c: Likewise.
1824 * posix/sched_getp.c: Likewise.
1825 * posix/sched_gets.c: Likewise.
1826 * posix/sched_primax.c: Likewise.
1827 * posix/sched_primin.c: Likewise.
1828 * posix/sched_rr_gi.c: Likewise.
1829 * posix/sched_setaffinity.c: Likewise.
1830 * posix/sched_setp.c: Likewise.
1831 * posix/sched_sets.c: Likewise.
1832 * posix/sched_yield.c: Likewise.
1833 * posix/setgid.c: Likewise.
1834 * posix/setlogin.c: Likewise.
1835 * posix/setpgid.c: Likewise.
1836 * posix/setresgid.c: Likewise.
1837 * posix/setresuid.c: Likewise.
1838 * posix/setsid.c: Likewise.
1839 * posix/setuid.c: Likewise.
1840 * posix/sleep.c: Likewise.
1841 * posix/spawni.c: Likewise.
1842 * posix/sysconf.c: Likewise.
1843 * posix/times.c: Likewise.
1844 * posix/wait.c: Likewise.
1845 * posix/wait3.c: Likewise.
1846 * posix/wait4.c: Likewise.
1847 * posix/waitpid.c: Likewise.
1848 * resolv/gai_sigqueue.c: Likewise.
1849 * resource/getpriority.c: Likewise.
1850 * resource/getrlimit.c: Likewise.
1851 * resource/getrusage.c: Likewise.
1852 * resource/nice.c: Likewise.
1853 * resource/setpriority.c: Likewise.
1854 * resource/setrlimit.c: Likewise.
1855 * resource/ulimit.c: Likewise.
1856 * rt/aio_cancel.c: Likewise.
1857 * rt/aio_fsync.c: Likewise.
1858 * rt/aio_read.c: Likewise.
1859 * rt/aio_sigqueue.c: Likewise.
1860 * rt/aio_suspend.c: Likewise.
1861 * rt/aio_write.c: Likewise.
1862 * rt/clock_getres.c: Likewise.
1863 * rt/clock_gettime.c: Likewise.
1864 * rt/clock_nanosleep.c: Likewise.
1865 * rt/clock_settime.c: Likewise.
1866 * rt/lio_listio.c: Likewise.
1867 * rt/mq_close.c: Likewise.
1868 * rt/mq_getattr.c: Likewise.
1869 * rt/mq_notify.c: Likewise.
1870 * rt/mq_open.c: Likewise.
1871 * rt/mq_receive.c: Likewise.
1872 * rt/mq_send.c: Likewise.
1873 * rt/mq_setattr.c: Likewise.
1874 * rt/mq_timedreceive.c: Likewise.
1875 * rt/mq_timedsend.c: Likewise.
1876 * rt/mq_unlink.c: Likewise.
1877 * rt/shm_open.c: Likewise.
1878 * rt/shm_unlink.c: Likewise.
1879 * rt/timer_create.c: Likewise.
1880 * rt/timer_delete.c: Likewise.
1881 * rt/timer_getoverr.c: Likewise.
1882 * rt/timer_gettime.c: Likewise.
1883 * rt/timer_settime.c: Likewise.
1884 * setjmp/__longjmp.c: Likewise.
1885 * setjmp/setjmp.c: Likewise.
1886 * signal/kill.c: Likewise.
1887 * signal/killpg.c: Likewise.
1888 * signal/raise.c: Likewise.
1889 * signal/sigaction.c: Likewise.
1890 * signal/sigaltstack.c: Likewise.
1891 * signal/sigblock.c: Likewise.
1892 * signal/sigignore.c: Likewise.
1893 * signal/sigintr.c: Likewise.
1894 * signal/signal.c: Likewise.
1895 * signal/sigpause.c: Likewise.
1896 * signal/sigpending.c: Likewise.
1897 * signal/sigqueue.c: Likewise.
1898 * signal/sigreturn.c: Likewise.
1899 * signal/sigset.c: Likewise.
1900 * signal/sigsetmask.c: Likewise.
1901 * signal/sigstack.c: Likewise.
1902 * signal/sigsuspend.c: Likewise.
1903 * signal/sigtimedwait.c: Likewise.
1904 * signal/sigvec.c: Likewise.
1905 * signal/sigwait.c: Likewise.
1906 * signal/sigwaitinfo.c: Likewise.
1907 * signal/sysv_signal.c: Likewise.
1908 * socket/accept.c: Likewise.
1909 * socket/accept4.c: Likewise.
1910 * socket/bind.c: Likewise.
1911 * socket/connect.c: Likewise.
1912 * socket/getpeername.c: Likewise.
1913 * socket/getsockname.c: Likewise.
1914 * socket/getsockopt.c: Likewise.
1915 * socket/isfdtype.c: Likewise.
1916 * socket/listen.c: Likewise.
1917 * socket/recv.c: Likewise.
1918 * socket/recvfrom.c: Likewise.
1919 * socket/recvmsg.c: Likewise.
1920 * socket/send.c: Likewise.
1921 * socket/sendmsg.c: Likewise.
1922 * socket/sendto.c: Likewise.
1923 * socket/setsockopt.c: Likewise.
1924 * socket/shutdown.c: Likewise.
1925 * socket/sockatmark.c: Likewise.
1926 * socket/socket.c: Likewise.
1927 * socket/socketpair.c: Likewise.
1928 * stdio-common/ctermid.c: Likewise.
1929 * stdio-common/cuserid.c: Likewise.
1930 * stdio-common/remove.c: Likewise.
1931 * stdio-common/rename.c: Likewise.
1932 * stdio-common/renameat.c: Likewise.
1933 * stdio-common/tempname.c: Likewise.
1934 * stdlib/getcontext.c: Likewise.
1935 * stdlib/makecontext.c: Likewise.
1936 * stdlib/setcontext.c: Likewise.
1937 * stdlib/swapcontext.c: Likewise.
1938 * stdlib/system.c: Likewise.
1939 * streams/fattach.c: Likewise.
1940 * streams/fdetach.c: Likewise.
1941 * streams/getmsg.c: Likewise.
1942 * streams/getpmsg.c: Likewise.
1943 * streams/putmsg.c: Likewise.
1944 * streams/putpmsg.c: Likewise.
1945 * sysdeps/unix/bsd/getpt.c: Likewise.
1946 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1947 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1948 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1950 Likewise.
1951 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1952 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1953 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1954 * sysvipc/msgctl.c: Likewise.
1955 * sysvipc/msgget.c: Likewise.
1956 * sysvipc/msgrcv.c: Likewise.
1957 * sysvipc/msgsnd.c: Likewise.
1958 * sysvipc/semctl.c: Likewise.
1959 * sysvipc/semget.c: Likewise.
1960 * sysvipc/semop.c: Likewise.
1961 * sysvipc/semtimedop.c: Likewise.
1962 * sysvipc/shmat.c: Likewise.
1963 * sysvipc/shmctl.c: Likewise.
1964 * sysvipc/shmdt.c: Likewise.
1965 * sysvipc/shmget.c: Likewise.
1966 * termios/tcdrain.c: Likewise.
1967 * termios/tcflow.c: Likewise.
1968 * termios/tcflush.c: Likewise.
1969 * termios/tcgetattr.c: Likewise.
1970 * termios/tcgetpgrp.c: Likewise.
1971 * termios/tcsendbrk.c: Likewise.
1972 * termios/tcsetattr.c: Likewise.
1973 * termios/tcsetpgrp.c: Likewise.
1974 * time/adjtime.c: Likewise.
1975 * time/clock.c: Likewise.
1976 * time/getitimer.c: Likewise.
1977 * time/gettimeofday.c: Likewise.
1978 * time/setitimer.c: Likewise.
1979 * time/settimeofday.c: Likewise.
1980 * time/stime.c: Likewise.
1981 * time/time.c: Likewise.
1982
19832012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 1984
a20492cf
PT
1985 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1986 /usr/old/bin.
1987
72e182e3
PT
1988 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1989 instead of spaces.
1990 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1991
fbeafede
JM
19922012-11-03 Joseph Myers <joseph@codesourcery.com>
1993
5b5b04d6
JM
1994 [BZ #14796]
1995 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1996 FE_TONEAREST before applying Dekker multiplication and Knuth
1997 addition. Clear inexact exceptions and check for exact zero
1998 results afterwards.
1999 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2000 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2001 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2002 * math/libm-test.inc (fma_test): Add more tests.
2003 (fma_test_towardzero): Likewise.
2004 (fma_test_downward): Likewise.
2005 (fma_test_upward): Likewise.
2006 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2007 function.
2008 (libc_fesetround): New macro.
2009 (libc_fesetroundf): Likewise.
2010 (libc_fesetroundl): Likewise.
2011 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2012 function.
2013 (libc_fesetround_387): Likewise.
2014 (libc_fesetroundf): New macro.
2015 (libc_fesetround): Likewise.
2016 (libc_fesetroundl): Likewise.
2017 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2018 function.
2019 (libc_fesetroundf): New macro.
2020 (libc_fesetround): Likewise.
2021 (libc_fesetroundl): Likewise.
2022 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2023 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2024 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2025 libm_hidden_ver.
2026 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2027 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2028 libm_hidden_def.
2029 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2030 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2031 libm_hidden_ver.
2032 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2033 libm_hidden_def.
2034
fbeafede
JM
2035 [BZ #3439]
2036 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2037 integer constant usable in #if and use that to give value to enum
2038 constant.
2039 (FE_DIVBYZERO): Likewise.
2040 (FE_UNDERFLOW): Likewise.
2041 (FE_OVERFLOW): Likewise.
2042 (FE_INVALID): Likewise.
2043 (FE_INVALID_SNAN): Likewise.
2044 (FE_INVALID_ISI): Likewise.
2045 (FE_INVALID_IDI): Likewise.
2046 (FE_INVALID_ZDZ): Likewise.
2047 (FE_INVALID_IMZ): Likewise.
2048 (FE_INVALID_COMPARE): Likewise.
2049 (FE_INVALID_SOFTWARE): Likewise.
2050 (FE_INVALID_SQRT): Likewise.
2051 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2052 (FE_TONEAREST): Likewise.
2053 (FE_TOWARDZERO): Likewise.
2054 (FE_UPWARD): Likewise.
2055 (FE_DOWNWARD): Likewise.
2056 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2057 (FE_DIVBYZERO): Likewise.
2058 (FE_OVERFLOW): Likewise.
2059 (FE_UNDERFLOW): Likewise.
2060 (FE_INEXACT): Likewise.
2061 (FE_TONEAREST): Likewise.
2062 (FE_DOWNWARD): Likewise.
2063 (FE_UPWARD): Likewise.
2064 (FE_TOWARDZERO): Likewise.
2065 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2066 (FE_UNDERFLOW): Likewise.
2067 (FE_OVERFLOW): Likewise.
2068 (FE_DIVBYZERO): Likewise.
2069 (FE_INVALID): Likewise.
2070 (FE_TONEAREST): Likewise.
2071 (FE_TOWARDZERO): Likewise.
2072 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2073 (FE_OVERFLOW): Likewise.
2074 (FE_UNDERFLOW): Likewise.
2075 (FE_DIVBYZERO): Likewise.
2076 (FE_INEXACT): Likewise.
2077 (FE_TONEAREST): Likewise.
2078 (FE_TOWARDZERO): Likewise.
2079 (FE_UPWARD): Likewise.
2080 (FE_DOWNWARD): Likewise.
2081 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2082 (FE_DIVBYZERO): Likewise.
2083 (FE_OVERFLOW): Likewise.
2084 (FE_UNDERFLOW): Likewise.
2085 (FE_INEXACT): Likewise.
2086 (FE_TONEAREST): Likewise.
2087 (FE_DOWNWARD): Likewise.
2088 (FE_UPWARD): Likewise.
2089 (FE_TOWARDZERO): Likewise.
2090
105ca950
CM
20912012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2092
2093 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2094
a542b389
AS
20952012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2096
2097 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2098 commands. Quote $PWD.
2099 (blacklist_exports): Don't use remove_newlines. Replace "declare
2100 -x" by "export".
2101 (remove_newlines): Remove.
2102
f62c8abc
L
21032012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2104
2105 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2106 * stdlib/stdlib.h (atof): Moved to ...
2107 * include/bits/stdlib-float.h: Here. New file.
2108 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2109 * stdlib/bits/stdlib-float.h: New file.
2110 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2111 -mno-sse -mno-mmx.
2112 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2113 <xmmintrin.h>.
2114
0155d5b2
JM
21152012-11-02 Joseph Myers <joseph@codesourcery.com>
2116
a68d0680
JM
2117 * conform/conformtest.pl (@headers): Add fenv.h.
2118 * conform/data/fenv.h-data: New file.
2119 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2120 include of <math/fenv.h>.
2121
caf7f573
JM
2122 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2123 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2124 && !UNIX98]. Enables tests for XOPEN2K8.
2125 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2126 POSIX2008]: Likewise.
2127
6c073ad6
JM
2128 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2129 (struct rusage): Do not expect type or its members.
2130
0155d5b2
JM
2131 [BZ #3439]
2132 * math/math.h (FP_NAN): Define macro to integer constant usable in
2133 #if and use that to give value to enum constant.
2134 (FP_INFINITE): Likewise.
2135 (FP_ZERO): Likewise.
2136 (FP_SUBNORMAL): Likewise.
2137 (FP_NORMAL): Likewise.
2138
b5dcacb4
AS
21392012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2140
2141 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2142 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2143 arguments.
2144
f7934be8
RM
21452012-11-02 Roland McGrath <roland@hack.frob.com>
2146
2147 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2148 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2149 autoconf-time if not.
2150 * configure.in: Remove AC_PREREQ.
2151
d7d08bde
TMQMF
21522012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2153
2154 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2155 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2156 of the internal implementation.
2157
dcdae19a
JM
21582012-11-02 Joseph Myers <joseph@codesourcery.com>
2159
2160 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2161 except include of <misc/sys/syslog.h>.
2162
d6cffd3e
AS
21632012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2164
2165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2166 function returns with a NULL context exit with zero.
2167
b3563932
TMQMF
21682012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2169
2170 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2171
b288a93d
L
21722012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2173
2174 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2175 (run_program_cmd): This.
2176 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2177 (tst_langinfo): New variable. Use it.
2178
a2421a68
SAS
21792012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2180
2181 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2182 floating point opcodes.
2183
6f796e1b
TS
21842012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2185
7402596b
TS
2186 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2187 variable.
2188
d0d4f868
TS
2189 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2190
6f796e1b
TS
2191 * sysdeps/mach/hurd/powerpc: Remove directory.
2192 * sysdeps/mach/powerpc: Likewise.
2193
4da224a2
AS
21942012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2195
2196 * scripts/check-local-headers.sh: Ignore c++ headers.
2197
341dd673
TS
21982012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2199
2200 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2201 __libc_cleanup_region_start argument.
2202
473611b2
JM
22032012-11-01 Joseph Myers <joseph@codesourcery.com>
2204
2205 [BZ #14784]
2206 [BZ #14785]
2207 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2208 x * y using scaling, not as x * y + z.
2209 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2210 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2211 * math/libm-test.inc (fma_test): Add more tests.
2212 (fma_test_towardzero): Likewise.
2213 (fma_test_downward): Likewise.
2214 (fma_test_upward): Likewise.
2215
4078da3d
TS
22162012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2217
2218 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2219
903252aa
JM
22202012-10-31 Joseph Myers <joseph@codesourcery.com>
2221
2222 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2223 New variable.
2224
cbc818d0
TS
22252012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2226
2227 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2228
5a03cb1e
AS
22292012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2230
2231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2232 Fix sort order.
2233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2234 Likewise.
2235
90aff2ff
TMQMF
22362012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2237
2238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2239 Fix the order of the list for glibc 2.17.
2240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2241 Likewise.
2242
1818fcb7
AS
22432012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2244
2245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2246
ef82f4da
JM
22472012-10-31 Joseph Myers <joseph@codesourcery.com>
2248
16a0e2ec
JM
2249 [BZ #14610]
2250 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2251 for low part of x being zero before using __atanl (y).
2252 * math/libm-test.inc (atan2_test): Add another test.
2253
0eb69512
JM
2254 * manual/install.texi (Configuring and compiling): Document
2255 general use of test-wrapper and test-wrapper-env.
2256 * INSTALL: Regenerated.
2257
ef82f4da
JM
2258 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2259 (__fma): Do not extract and scale down low bits on after-rounding
2260 systems when result rounded to normal precision would have normal
2261 exponent.
2262 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2263 (__fmal): Do not extract and scale down low bits on after-rounding
2264 systems when result rounded to normal precision would have normal
2265 exponent.
2266 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2267 (__fmal): Do not extract and scale down low bits on after-rounding
2268 systems when result rounded to normal precision would have normal
2269 exponent.
2270 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2271 macro.
2272 (fma_test): Add more tests.
2273 (fma_test_towardzero): Likewise.
2274 (fma_test_downward): Likewise.
2275 (fma_test_upward): Likewise.
2276
954ef0d9
L
22772012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2278
2279 * sysdeps/i386/tininess.h: Renamed to ...
2280 * sysdeps/x86/tininess.h: This.
2281 * sysdeps/x86_64/tininess.h: Removed.
2282
df61ffb2
JM
22832012-10-30 Joseph Myers <joseph@codesourcery.com>
2284
2285 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2286 input. Use $(build-program-cmd).
2287 ($(objpfx)tst-array1-static.out): Likewise.
2288 ($(objpfx)tst-array2.out): Likewise.
2289 ($(objpfx)tst-array3.out): Likewise.
2290 ($(objpfx)tst-array4.out): Likewise.
2291 ($(objpfx)tst-array5.out): Likewise.
2292 ($(objpfx)tst-array5-static.out): Likewise.
2293
01767843
CM
22942012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2295
47cc1490
CM
2296 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2297 if defined.
2298
01767843
CM
2299 * nss/nsswitch.h (nss_interface_function): Provide new
2300 macro for use with NSS functions.
2301 * grp/initgroups.c: Use new macro.
2302 * nss/getXXbyYY.c: Likewise.
2303 * nss/getXXbyYY_r.c: Likewise.
2304 * nss/getXXent.c: Likewise.
2305 * nss/getXXent_r.c: Likewise.
2306 * sysdeps/posix/getaddrinfo.c: Likewise.
2307
8321aa97
AJ
23082012-10-30 Andreas Jaeger <aj@suse.de>
2309
2310 * po/ru.po: Update Russion translation from translation project.
2311
2a27fd6d
JM
23122012-10-30 Joseph Myers <joseph@codesourcery.com>
2313
8627a232
JM
2314 [BZ #14152]
2315 [BZ #14783]
2316 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2317 result and shift together with sticky bit instead of replicating
2318 round-to-nearest rounding.
2319 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2320 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2321 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2322 missing underflow exceptions.
2323 (fma_test_towardzero): Add more tests.
2324 (fma_test_downward): Likewise.
2325 (fma_test_upward): Likewise.
2326
2a27fd6d
JM
2327 [BZ #14047]
2328 * sysdeps/generic/tininess.h: New file.
2329 * sysdeps/i386/tininess.h: Likewise.
2330 * sysdeps/sh/tininess.h: Likewise.
2331 * sysdeps/x86_64/tininess.h: Likewise.
2332 * stdlib/tst-strtod-underflow.c: Likewise.
2333 * stdlib/tst-tininess.c: Likewise.
2334 * stdlib/strtod_l.c: Include <tininess.h>.
2335 (round_and_return): Do not set errno for exact underflow cases.
2336 Force an underflow exception when setting errno for underflow.
2337 Determine underflow based on rounding to normal precision if
2338 TININESS_AFTER_ROUNDING.
2339 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2340 ERANGE for exact underflow cases.
2341 * stdlib/Makefile (tests): Add tst-tininess and
2342 tst-strtod-underflow.
2343 ($(objpfx)tst-tininess): Use $(link-libm).
2344 ($(objpfx)tst-strtod-underflow): Likewise.
2345
e7170363
AJ
23462012-10-30 Andreas Jaeger <aj@suse.de>
2347
e5088dc6
AJ
2348 [BZ#14767]
2349 * elf/Makefile (tests): Remove conditional for have-initfini-array
2350 since this is now always required and the variable does not exist
2351 anymore.
2352 (tests-static): Likewise.
2353 (modules-names): Likewise.
2354
e7170363 2355 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
2356
2357 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2358 merged with constructor/destructor.
2359 (init_array): Likewise.
2360 * elf/tst-array2dep.c (fini_array): Likewise.
2361 (init_array): Likewise.
2362
60457d8a
MF
23632012-10-29 Mike Frysinger <vapier@gentoo.org>
2364
2365 * manual/message.texi: Delete @cartouche tags.
2366
8bece752
PT
23672012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2368
94ce799f
PT
2369 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2370 EOPNOTSUPP.
2371 * sysdeps/mach/hurd/fsync.c: Likewise.
2372
8bece752
PT
2373 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2374 [_POSIX_REALTIME_SIGNALS]: Change condition to
2375 [_POSIX_REALTIME_SIGNALS > 0].
2376
86ebe6b1
AJ
23772012-10-27 Andreas Jaeger <aj@suse.de>
2378
2379 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2380 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2381 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2382 [__WORDSIZE != 64]: Likewise.
2383
54399c08
L
23842012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2385
2386 * iconvdata/tst-table.sh: Remove ${SHELL}.
2387 * iconvdata/tst-tables.sh: Likewise.
2388
e2211bed
DM
23892012-10-25 David S. Miller <davem@davemloft.net>
2390
2391 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2392 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2393 of strtoull.
2394
f303f97c
DM
2395 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2396 ifunc-impl-list.c
2397 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2398 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2399 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2400 file.
2401
1e9d84cd
RM
24022012-10-25 Roland McGrath <roland@hack.frob.com>
2403
2404 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2405 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2406 __getdirentries.
2407
df381762
JM
24082012-10-25 Joseph Myers <joseph@codesourcery.com>
2409 Jim Blandy <jimb@codesourcery.com>
2410
2411 * scripts/cross-test-ssh.sh: New file.
2412 * manual/install.texi (Configuring and compiling): Document use of
2413 cross-test-ssh.sh.
2414 * INSTALL: Regenerated.
2415
bff64913
PT
24162012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2417
2418 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2419 EOPNOTSUPP.
2420
25fe8932
JM
24212012-10-25 Joseph Myers <joseph@codesourcery.com>
2422
2423 * Makeconfig (run-program-prefix): Fix comment.
2424
cc1290d0
JM
24252012-10-24 Joseph Myers <joseph@codesourcery.com>
2426 Jim Blandy <jimb@codesourcery.com>
2427
2428 * Makeconfig (test-wrapper): New variable,
2429 (test-wrapper-env): Likewise.
2430 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2431 (run-built-tests): Define to yes.
2432 (run-program-prefix): Use $(test-wrapper).
2433 (built-program-cmd): Likewise.
2434 * Rules (make-test-out): Use $(test-wrapper-env) and
2435 $(host-built-program-cmd).
2436 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2437 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2438 tst-pathopt.sh.
2439 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2440 $(test-wrapper-env) to tst-rtld-load-self.sh.
2441 ($(objpfx)order2.out): Use $(test-wrapper).
2442 ($(objpfx)tst-initorder.out): Likewise.
2443 ($(objpfx)tst-initorder2.out): Likewise.
2444 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2445 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2446 (test_wrapper_env): New variable. Use it to run ld.so.
2447 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2448 Use it to run ld.so.
2449 (test_wrapper_env): Likewise.
2450 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2451 $(test-wrapper) to run-iconv-test.sh.
2452 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2453 (ICONV): Use $test_wrapper.
2454 * posix/Makefile ($(objpfx)globtest.out): Pass
2455 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2456 globtest.sh, not $(run-program-prefix).
2457 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2458 (test_wrapper): Likewise.
2459 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2460 set together with run_via_rtld_prefix.
2461 (run_program_prefix): Define in terms of test_wrapper and
2462 run_via_rtld_prefix.
2463
6e6249d0
RM
24642012-10-24 Roland McGrath <roland@hack.frob.com>
2465
2466 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2467 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2468 Targets removed.
2469
2470 [BZ #14743]
2471 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2472 Declare __clock_getres, __clock_gettime, __clock_settime,
2473 __clock_nanosleep, and __clock_getcpuclockid.
2474 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2475 Remove librt_hidden_def (clock_gettime).
2476 * sysdeps/unix/clock_gettime.c: Likewise.
2477 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2478 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2479 * rt/clock_getres.c: Define __clock_getres as an alias.
2480 * sysdeps/posix/clock_getres.c: Likewise.
2481 * rt/clock_settime.c: Define __clock_settime as an alias.
2482 * sysdeps/unix/clock_settime.c: Likewise.
2483 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2484 * sysdeps/unix/clock_nanosleep.c: Likewise.
2485 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2486 * rt/clock-compat.c: New file.
2487 * rt/Makefile (librt-routines): Add clock-compat and move
2488 $(clock-routines) to ...
2489 (routines): ... here, new variable.
2490 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2491 Don't add get_clockfreq here.
2492 * rt/Versions (libc: GLIBC_2.17): New version set.
2493 Add clock_* symbols here.
2494 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2495 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2496 (GLIBC_2.17): Add clock_* symbols.
2497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2499 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2501 Likewise.
2502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2503 Likewise.
2504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2505 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2508 * NEWS: Mention the move.
2509
2510 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2511 Use __open, __read, __close rather than their public counterparts.
2512 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2513 (__get_clockfreq_via_cpuinfo): Likewise.
2514 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2515 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2516
2517 * config.h.in (HAVE_IFUNC): New #undef.
2518 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2519 was successful.
2520 * configure: Regenerated.
2521
0cae3f4b
MF
25222012-10-24 Mike Frysinger <vapier@gentoo.org>
2523
2524 * configure.in: Move READELF check to start of file.
2525 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2526 libc_cv_asm_gnu_indirect_function in the process.
2527 * configure: Regenerated.
2528
8175a253
MF
25292012-10-24 Mike Frysinger <vapier@gentoo.org>
2530
2531 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2532 send the output to /dev/null.
2533 (libc_cv_cc_with_libunwind): Likewise.
2534 (libc_cv_as_noexecstack): Likewise.
2535 * configure: Regenerate.
2536
0708a7d1
JM
25372012-10-24 Joseph Myers <joseph@codesourcery.com>
2538
10b40d85
JM
2539 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2540
0708a7d1
JM
2541 * posix/globtest.sh (TMPDIR): Do not set.
2542 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2543 (testout): Likewise.
2544
9fddec1a
AJ
25452012-10-24 Andreas Jaeger <aj@suse.de>
2546
3a8db22f
AJ
2547 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2548 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2549 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2550 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2551 posix_fadvise64, posix_fallocate64.
2552
9fddec1a
AJ
2553 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2554 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2555 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2556 Likewise.
2557 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2558 Likewise.
2559 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2560
2561 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2562 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2563 <bits/fcntl-linux.h>.
2564 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2565
2566 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2567 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2568 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2569 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2570 [__WORDSIZE != 64]: Likewise.
2571
ebfd1bbd
JM
25722012-10-23 Joseph Myers <joseph@codesourcery.com>
2573
03ac099f
JM
2574 * Makeconfig (run-built-tests): New variable.
2575 * Rules [$(cross-compiling) = yes]: Change condition to
2576 [$(run-built-tests) = no].
2577 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2578 to [$(run-built-tests) = yes].
2579 * elf/Makefile [$(cross-compiling) = no]: Likewise
2580 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2581 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2582 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2583 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2584 * io/Makefile [$(cross-compiling) = no]: Likewise.
2585 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2586 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2587 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2588 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2589 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2590 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2591 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2592 * string/Makefile [$(cross-compiling) = no]: Likewise.
2593
ebfd1bbd
JM
2594 * posix/Makefile ($(objpfx)globtest.out): Pass
2595 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2596 $(rtld-installed-name).
2597 * posix/globtest.sh (elf_objpfx): Remove variable.
2598 (rtld_installed_name): Likewise.
2599 (library_path): Likewise.
2600 (run_program_prefix): New variable. Use for running globtest
2601 binary.
2602
166bca24
JB
26032012-10-23 Jim Blandy <jimb@codesourcery.com>
2604 Joseph Myers <joseph@codesourcery.com>
2605
2606 * Makeconfig (host-built-program-cmd): New variable.
2607 * elf/Makefile (tst-stackguard1-ARGS): Use
2608 $(host-built-program-cmd).
2609 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2610 (tst-spawn-ARGS): Likewise.
2611 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2612
88866099
JM
26132012-10-23 Joseph Myers <joseph@codesourcery.com>
2614 Jim Blandy <jimb@codesourcery.com>
2615
2616 * Makeconfig (run-via-rtld-prefix): New variable.
2617 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2618 (built-program-cmd): Likewise.
2619
b4b4c296
AJ
26202012-10-22 Andreas Jaeger <aj@suse.de>
2621
2622 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2623 __O_RSYNC if it exists, otherwise to O_SYNC.
2624
6fb54a22
JB
26252012-10-22 Jim Blandy <jimb@codesourcery.com>
2626 Joseph Myers <joseph@codesourcery.com>
2627
2628 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2629 /dev/null.
2630 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2631 from /dev/null
2632 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2633 /dev/null.
2634
481b90b9
AJ
26352012-10-22 Andreas Jaeger <aj@suse.de>
2636
2a0e2669
AJ
2637 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2638 Define always.
2639 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2640
76e38f9a
AJ
2641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2642 bits/fcntl-linux.h.
2643
7cd37b43
AJ
2644 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2645 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2646
481b90b9
AJ
2647 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2648 to __O_LARGEFILE.
2649 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2650 to __O_LARGEFILE.
2651
aba75984
JB
26522012-10-21 Jim Blandy <jimb@codesourcery.com>
2653 Joseph Myers <joseph@codesourcery.com>
2654
2655 * config.make.in (NM): New variable.
2656
88d4247f
AJ
26572012-10-21 Andreas Jaeger <aj@suse.de>
2658
2659 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2660 definitions and declarations that are provided by
2661 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2662
f2eed205
L
26632012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2664
2665 [BZ #14683]
2666 * elf/Makefile (tests-static): Add tst-leaks1-static.
2667 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2668 ($(objpfx)tst-leaks1-static): New rule.
2669 ($(objpfx)tst-leaks1-static-mem): Likewise.
2670 (tst-leaks1-static-ENV): New macro.
2671 * elf/dl-open.c (dl_open_worker): Check the main application
2672 only if SHARED is defined.
2673 * elf/tst-leaks1-static.c: New file.
2674
335e6931
AJ
26752012-10-20 Andreas Jaeger <aj@suse.de>
2676
2677 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2678 generic values for Linux.
2679 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2680 and declarations that are provided by <bits/fcntl-linux.h> and
2681 include <bits/fcntl-linux.h>.
2682 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2683 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2684
ac5c94d3
RM
26852012-10-20 Roland McGrath <roland@hack.frob.com>
2686
2687 * io/fcntl.h: Move include of <bits/types.h> to the top and
2688 include it unconditionally.
2689
de54b33a
L
26902012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2691
228cfb01
L
2692 * wcsmbs/Makefile (tests-ifunc): New variable.
2693 (tests): Add $(tests-ifunc).
2694 * wcsmbs/test-wcschr-ifunc.c: New file.
2695 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2696 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2697 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2698 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2699 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2700
69f07e5f
L
2701 * string/Makefile (tests-ifunc): New variable.
2702 (tests): Add $(tests-ifunc).
2703 * string/test-memccpy.c (TEST_NAME): New macro.
2704 * string/test-memchr.c (TEST_NAME): Likewise.
2705 * string/test-memcmp.c (TEST_NAME): Likewise.
2706 * string/test-memcpy.c (TEST_NAME): Likewise.
2707 * string/test-memmem.c (TEST_NAME): Likewise.
2708 * string/test-memmove.c (TEST_NAME): Likewise.
2709 * string/test-memset.c (TEST_NAME): Likewise.
2710 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2711 * string/test-stpcpy.c (TEST_NAME): Likewise.
2712 * string/test-stpncpy.c (TEST_NAME): Likewise.
2713 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2714 * string/test-strcasestr.c (TEST_NAME): Likewise.
2715 * string/test-strcat.c (TEST_NAME): Likewise.
2716 * string/test-strchr.c (TEST_NAME): Likewise.
2717 * string/test-strcmp.c(TEST_NAME): Likewise.
2718 * string/test-strcpy.c (TEST_NAME): Likewise.
2719 * string/test-strcspn.c (TEST_NAME): Likewise.
2720 * string/test-strlen.c (TEST_NAME): Likewise.
2721 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2722 * string/test-strncmp.c (TEST_NAME): Likewise.
2723 * string/test-strncpy.c (TEST_NAME): Likewise.
2724 * string/test-strnlen.c (TEST_NAME): Likewise.
2725 * string/test-strpbrk.c (TEST_NAME): Likewise.
2726 * string/test-strrchr.c (TEST_NAME): Likewise.
2727 * string/test-strspn.c (TEST_NAME): Likewise.
2728 * string/test-strstr.c (TEST_NAME): Likewise.
2729 * string/test-bcopy-ifunc.c: New file.
2730 * string/test-bzero-ifunc.c: Likewise.
2731 * string/test-memccpy-ifunc.c: Likewise.
2732 * string/test-memchr-ifunc.c: Likewise.
2733 * string/test-memcmp-ifunc.c: Likewise.
2734 * string/test-memcpy-ifunc.c: Likewise.
2735 * string/test-memmem-ifunc.c: Likewise.
2736 * string/test-memmove-ifunc.c: Likewise.
2737 * string/test-mempcpy-ifunc.c: Likewise.
2738 * string/test-memset-ifunc.c: Likewise.
2739 * string/test-rawmemchr-ifunc.c: Likewise.
2740 * string/test-stpcpy-ifunc.c: Likewise.
2741 * string/test-stpncpy-ifunc.c: Likewise.
2742 * string/test-strcasecmp-ifunc.c: Likewise.
2743 * string/test-strcasestr-ifunc.c: Likewise.
2744 * string/test-strcat-ifunc.c: Likewise.
2745 * string/test-strchr-ifunc.c: Likewise.
2746 * string/test-strchrnul-ifunc.c: Likewise.
2747 * string/test-strcmp-ifunc.c: Likewise.
2748 * string/test-strcpy-ifunc.c: Likewise.
2749 * string/test-strcspn-ifunc.c: Likewise.
2750 * string/test-strlen-ifunc.c: Likewise.
2751 * string/test-strncasecmp-ifunc.c: Likewise.
2752 * string/test-strncat-ifunc.c: Likewise.
2753 * string/test-strncmp-ifunc.c: Likewise.
2754 * string/test-strncpy-ifunc.c: Likewise.
2755 * string/test-strnlen-ifunc.c: Likewise.
2756 * string/test-strpbrk-ifunc.c: Likewise.
2757 * string/test-strrchr-ifunc.c: Likewise.
2758 * string/test-strspn-ifunc.c: Likewise.
2759 * string/test-strstr-ifunc.c: Likewise.
2760
de54b33a
L
2761 * debug/Makefile (tests-ifunc): New variable.
2762 (tests): Add $(tests-ifunc).
2763 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2764 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2765 * debug/test-stpcpy_chk-ifunc.c: New file.
2766 * debug/test-strcpy_chk-ifunc.c: Likewise.
2767
88481c16
SP
27682012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2769
2770 [BZ #13601]
2771 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2772 header is not read in.
2773
135948bd
JM
27742012-10-19 Joseph Myers <joseph@codesourcery.com>
2775
89f1c388
JM
2776 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2777 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2778 directly. Pass built executable to script as
2779 $(built-program-cmd).
2780 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2781 $testprogram without using LD_LIBRARY_PATH and $ldso.
2782
e40a0d21
JM
2783 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2784 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2785 $(rtld-installed-name).
2786 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2787 (rtld_installed_name): Likewise.
2788 (library_path): Likewise.
2789 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2790 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2791 $(run-program-prefix) to tst-tables.sh.
2792 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2793 it to run tst-table-from and tst-table-to.
2794 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2795 Pass it to tst-table.sh.
2796 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2797 $(run-program-prefix) to tst-gettext.sh.
2798 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2799 tst-translit.sh.
2800 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2801 tst-gettext2.sh.
2802 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2803 to run tst-gettext.
2804 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2805 to run tst-gettext2.
2806 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2807 to run tst-translit.
2808 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2809 $(run-program-prefix) to tst-mtrace.sh.
2810 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2811 to run tst-mtrace.
2812 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2813 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2814 $(rtld-installed-name).
2815 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2816 (rtld_installed_name): Likewise.
2817 (run_program_prefix): New variable. Use it to run wordexp-test.
2818
728e272a
JM
2819 * Makeconfig (ARCH): Remove all definitions.
2820 (machine): Likewise.
2821 [ARCH]: Remove conditional code.
2822 [!objdir]: Give error.
2823 [!objdir] (objpfx): Remove.
2824 [!objdir] (common-objpfx): Likewise.
2825 [!objdir] (common-objdir): Likewise.
2826 * configure.in (config_makefile): Remove. Hardcode Makefile in
2827 AC_CONFIG_FILES call.
2828 * configure: Regenerated.
2829
d528cdcf
JM
2830 [BZ #13888]
2831 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2832 or TMPDIR.
2833 (testout): Likewise.
2834
135948bd
JM
2835 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2836 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2837 $(rtld-installed-name).
2838 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2839 (rtld_installed_name): Likwise.
2840 (runit): Remove function.
2841 (run_getconf): New variable, Use it for running getconf binary.
2842
38c78296
L
28432012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2844
2845 [BZ #14716]
2846 * string/test-memmem.c (check_result): New function.
2847 (do_one_test): Use it.
2848 (check1): New function.
2849 (test_main): Use it.
2850
d077f65f
MT
28512012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2852
2853 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2854
ced52c71
JM
28552012-10-18 Joseph Myers <joseph@codesourcery.com>
2856
2857 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2858 (_G_LSEEK64): Likewise.
2859 (_G_MMAP64): Likewise.
2860 (_G_FSTAT64): Likewise.
2861 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2862 (_G_LSEEK64): Likewise.
2863 (_G_MMAP64): Likewise.
2864 (_G_FSTAT64): Likewise.
2865 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2866 unconditional. Call __mmap64 directly.
2867 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2868 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2869 __lseek64 directly.
2870 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2871 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2872 __mmap64 directly.
2873 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2874 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2875 __lseek64 directly.
2876 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2877 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2878 __lseek64 directly.
2879 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2880 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2881 __lseek64 directly.
2882 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2883 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2884 __fxstat64 directly.
2885 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2886 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2887 unconditional.
2888 (freopen64) [!_G_OPEN64]: Remove conditional code.
2889 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2890 unconditional.
2891 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2892 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2893 unconditional.
2894 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2895 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2896 unconditional.
2897 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2898 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2899 unconditional.
2900 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2901 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2902 unconditional.
2903 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2904 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2905 unconditional.
2906 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2907 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2908 unconditional.
2909 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2910
b741de23
SP
29112012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2912
2913 [BZ #12140]
2914 * manual/memory.texi (Malloc Tunable Parameters): Add note
2915 about free list pointers overwriting some perturb bytes.
2916 Wording suggested by Roland McGrath.
2917
f9b9d9c9
JM
29182012-10-17 Joseph Myers <joseph@codesourcery.com>
2919
2920 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2921 (lgamma_test): Likewise.
2922 (tgamma_test): Likewise.
2923
172a631a
FW
29242012-10-16 Florian Weimer <fweimer@redhat.com>
2925
2926 [BZ #14700]
2927 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2928 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2929
e9f37252
MK
29302012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2931
2932 * NEWS: Mention BZ #14716.
2933 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2934 when removing AVAILABLE1_USES_J macro.
2935
d394eb74
L
29362012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2937
2938 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2939 (__bswap_64): __uint64_t for unsigned 64-bit int.
2940
ca38dc17
AS
29412012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2942
2943 * include/string.h (memmem): Declare libc hidden alias.
2944 * string/memmem.c (memmem): Define libc hidden alias.
2945 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2946 __read, __close instead of open, read, close.
2947
9a387d1f
L
29482012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2949
ac49ecaf
L
2950 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2951 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2952 global and hidden.
2953 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2954 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2955 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2956 Likewise.
2957 (__rawmemchr_sse2): Likewise.
2958 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2959 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2960 (__strchr_sse2): Likewise.
2961 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2962 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2963 (__strcasecmp_sse2): Likewise.
2964 (__strncasecmp_sse2): Likewise.
2965 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2966 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2967 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2968 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2969 (__strrchr_sse2): Likewise.
2970 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2971 ifunc-impl-list.c.
2972 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2973 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2974 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2975 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2976 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2977 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2978 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2979 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2980 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2981 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2982 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2983 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2984 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2985 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2986 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2987 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2988 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2989 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2990 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2991 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2992 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2993 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2994 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2995 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2996 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2997 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2998 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2999 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3000 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3001 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3002
b090e8ea
L
3003 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3004 global and hidden.
3005 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3006 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3007 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3008 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3009 Likewise.
3010 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3011 Likewise.
3012 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3013 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3014 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3015 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3016 ifunc-impl-list.c.
3017 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3018 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3019 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3020 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3021 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3022 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3023 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3024 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3025 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3026 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3027 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3028 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3029 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3030 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3031 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3032 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3033 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3034 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3035 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3036 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3037 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3038 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3039 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3040 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3041 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3042 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3043 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3044 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3045 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3046 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3047 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3048 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3049 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3050 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3051 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3052 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3053 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3054 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3055 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3056 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3057 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3058
11dd4af6
L
3059 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3060 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3061 * include/ifunc-impl-list.h: New file.
3062 * misc/ifunc-impl-list.c: Likewise.
3063 * misc/Makefile (routines): Add ifunc-impl-list.
3064 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3065 * string/test-string.h: Include <ifunc-impl-list.h>.
3066 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3067 impl_array): New variables.
3068 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3069 are defined.
3070 (test_init): Call __libc_ifunc_impl_list to initialize
3071 func_list if TEST_IFUNC and TEST_NAME are defined.
3072
9a387d1f
L
3073 * string/Makefile (strop-tests): Add bcopy and bzero.
3074 * string/test-bcopy.c: New file.
3075 * string/test-bzero.c: Likewise.
3076 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3077 defined.
3078 * string/test-memset.c: Support bzero test if TEST_BZERO is
3079 defined.
3080 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3081 __libc_memmove.
3082 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3083 __libc_memset.
3084 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3085 of memset.
3086
472371b9
JM
30872012-10-10 Joseph Myers <joseph@codesourcery.com>
3088
1e4a9536
JM
3089 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3090 * configure: Regenerated.
3091
d173d12e
JM
3092 * Makeconfig (+link-static-before-libc): Don't include
3093 $(link-static-libc).
3094
472371b9
JM
3095 * libio/libio.h (_IO_pos_t): Remove.
3096
89a3ad0b
AO
30972012-10-10 Alexandre Oliva <aoliva@redhat.com>
3098
3099 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3100 McGrath.
3101
e7451425
AO
31022012-10-10 Alexandre Oliva <aoliva@redhat.com>
3103
3104 * crypt/crypt-entry.c: Include fips-private.h.
3105 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3106 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3107 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3108 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3109
4ba74a35
AO
31102012-10-10 Alexandre Oliva <aoliva@redhat.com>
3111
3112 * crypt/crypt-private.h: Include stdbool.h.
3113 (_ufc_setup_salt_r): Return bool.
3114 * crypt/crypt-entry.c: Include errno.h.
3115 (__crypt_r): Return NULL with EINVAL for bad salt.
3116 * crypt/crypt_util.c (bad_for_salt): New.
3117 (_ufc_setup_salt_r): Check that salt is long enough and within
3118 the specified alphabet.
3119 * crypt/badsalttest.c: New file.
3120 * crypt/Makefile (tests): Add it.
3121 ($(objpfx)badsalttest): New.
3122
f96f1242
MK
31232012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3124
3125 * NEWS: Add entry for BZ #14602.
3126
0e8e0c1c
JM
31272012-10-09 Joseph Myers <joseph@codesourcery.com>
3128
3129 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3130 type-generic.
3131 * math/libm-test.inc: Update comment listing what functions and
3132 macros are tested.
3133 (isgreater_test): New function.
3134 (isgreaterequal_test): Likewise.
3135 (isless_test): Likewise.
3136 (islessequal_test): Likewise.
3137 (islessgreater_test): Likewise.
3138 (isunordered_test): Likewise.
3139 (main): Call the new functions.
3140
273edc5e
RM
31412012-10-09 Roland McGrath <roland@hack.frob.com>
3142
b8493de0
RM
3143 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3144 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3145 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3146 * sysdeps/i386/configure: Regenerated.
3147 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3148 * sysdeps/mach/configure: Regenerated.
3149 * sysdeps/mach/hurd/configure: Regenerated.
3150 * sysdeps/powerpc/configure: Regenerated.
3151 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3152 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3153 * sysdeps/s390/s390-32/configure: Regenerated.
3154 * sysdeps/s390/s390-64/configure: Regenerated.
3155 * sysdeps/sh/configure: Regenerated.
3156 * sysdeps/sparc/configure: Regenerated.
3157 * sysdeps/unix/sysv/linux/configure: Regenerated.
3158 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3159 * sysdeps/x86_64/configure: Regenerated.
3160
273edc5e
RM
3161 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3162 defined. Don't check if MAP is NULL.
3163
c8450f70
JM
31642012-10-09 Joseph Myers <joseph@codesourcery.com>
3165
3166 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3167 (_G_stat64): Likewise.
3168 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3169 (_G_stat64): Likewise.
3170 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3171 instead of struct _G_stat64.
3172 * libio/fileops.c (mmap_remap_check): Likewise.
3173 (decide_maybe_mmap): Likewise.
3174 (_IO_new_file_seekoff): Likewise.
3175 (_IO_file_stat): Likewise.
3176 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3177 _G_off64_t.
3178 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3179 instead of struct _G_stat64.
3180 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3181
57e605ba
MK
31822012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3183
3184 [BZ #14602]
3185 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3186 Replace with ...
3187 (CHECK_EOL): New macro.
3188 (two_way_short_needle): Check beginning of haystack for EOL. Use
3189 CHECK_EOL.
3190 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3191 Replace with CHECK_EOL.
3192 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3193 Replace with CHECK_EOL.
3194
ef1bb361
JM
31952012-10-08 Joseph Myers <joseph@codesourcery.com>
3196
3197 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3198 type-generic.
3199 * math/libm-test.inc: Update comment listing what functions and
3200 macros are tested.
3201 (finite_test): New function.
3202 (isinf_test): Likewise.
3203 (isnan_test): Likewise.
3204 (fpclassify_test): Test subnormal input.
3205 (isfinite_test): Likewise.
3206 (isnormal_test): Likewise.
3207 (main): Call the new functions.
3208
55f11534
JN
32092012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3210
3211 [BZ #14660]
3212 * Makerules (%.dynsym): Force C locale when running
3213 $(OBJDUMP) --dynamic-syms.
3214
1ab29350
AS
32152012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3216
3217 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3218 <stdint.h>.
3219
f1ecb7ef
DM
32202012-10-06 David S. Miller <davem@davemloft.net>
3221
3222 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3223 upper 32-bits of the length value in %o2 since we use branch-on-register
3224 tests which consider the entire 64-bit register.
3225
5d41d91a
L
32262012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3227
3228 * string/test-strstr.c (check2): Add a test for page boundary.
3229
3baddb72
DM
32302012-10-05 David S. Miller <davem@davemloft.net>
3231
3232 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3233 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3234 file.
3235 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3236 sysdep_routines.
3237 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3238 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3239 and bzero when HWCAP_SPARC_CRYPTO is present.
3240
9cee5585
L
32412012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3242
d7e0dab9
L
3243 [BZ #14602]
3244 * string/test-strstr.c (check2): New function.
3245 (test_main): Call check2.
3246
03759f47
L
3247 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3248 and bug-strchr1.
3249 * string/bug-strcasestr1.c (do_test): Moved to ...
3250 * string/test-strcasestr.c (check1): Here. New function.
3251 (do_one_test): Break out result checking code into ...
3252 (check_result): This. New function.
3253 (do_one_test): Call check_result.
3254 (test_main): Call check1.
3255 * string/bug-strchr1.c (do_test): Moved to ...
3256 * string/test-strchr.c (check1): Here. New function.
3257 (do_one_test): Break out result checking code into ...
3258 (check_result): This. New function.
3259 (do_one_test): Call check_result.
3260 (test_main): Call check1.
3261 * string/bug-strstr1.c (main): Moved to ...
3262 * string/test-strchr.c (check1): Here. New function.
3263 (do_one_test): Break out result checking code into ...
3264 (check_result): This. New function.
3265 (do_one_test): Call check_result.
3266 (test_main): Call check1.
3267 * string/bug-strcasestr1.c: Removed.
3268 * string/bug-strchr1.c: Likewise.
3269 * string/bug-strstr1.c: Likewise.
3270
53cea63e
L
3271 * elf/Makefile (dl-routines): Add hwcaps.
3272 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3273 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3274 (_dl_important_hwcaps): Moved to ...
3275 * elf/dl-hwcaps.c: Here. New file.
3276 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3277
9cee5585 3278 [BZ #14557]
bb859b06
L
3279 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3280 if IS_IN_rtld isn't defined.
3281
9cee5585
L
3282 * elf/dl-support.c (_dl_sysinfo_map): New.
3283 Include "get-dynamic-info.h" and "setup-vdso.h".
3284 (_dl_non_dynamic_init): Call setup_vdso.
3285 * elf/dynamic-link.h: Don't include <assert.h>.
3286 (elf_get_dynamic_info): Moved to ...
3287 * elf/get-dynamic-info.h: Here. New file.
3288 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3289 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3290 * elf/setup-vdso.h: Here. New file.
3291 * elf/rtld.c: Include "setup-vdso.h".
3292 (dl_main): Call setup_vdso.
3293
23c31b76
JM
32942012-10-05 Joseph Myers <joseph@codesourcery.com>
3295
28234b07
JM
3296 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3297 creal in comment listing functions tested. List finite, isinf,
3298 isnan, isless, islessequal, isgreater, isgreaterequal,
3299 islessgreater, isunordered, lgamma_r and pow10 as functions and
3300 macros not tested. Mention which functions not tested are aliases
3301 for other functions. Fix typo. Note that signs of NaNs are not
3302 tested.
3303
23c31b76
JM
3304 * scripts/config.guess: Update from config.git.
3305 * scripts/config.sub: Likewise.
3306
9043e228
RM
33072012-10-04 Roland McGrath <roland@hack.frob.com>
3308
3309 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3310 * misc/madvise.c (madvise): Renamed to __madvise.
3311 Make madvise a weak alias.
3312 * include/sys/mman.h: Declare __madvise.
3313 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3314 * sysdeps/unix/syscalls.list
3315 (madvise): Make __madvise the strong name, and madvise a weak alias.
3316 * sysdeps/unix/sysv/linux/syscalls.list
3317 (madvise, mmap): Remove redundant entries.
3318 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3319 * malloc/malloc.c (mtrim): Likewise.
3320 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3321
f57f8055
RM
33222012-10-03 Roland McGrath <roland@hack.frob.com>
3323
3324 * sysdeps/mach/hurd/dl-cache.c: File removed.
3325 * config.h.in (USE_LDCONFIG): New #undef.
3326 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3327 * configure: Regenerated.
3328 * elf/Makefile (dl-routines): Add dl-cache only under
3329 [$(use-ldconfig) = yes].
3330 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3331 cache on [USE_LDCONFIG].
3332 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3333 [USE_LDCONFIG].
3334 * elf/rtld.c (dl_main): Likewise.
3335
5bb0c10a
PT
33362012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3337
3338 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3339 _SC_LEVEL4_CACHE_LINESIZE.
3340
010188c6
RM
33412012-10-03 Roland McGrath <roland@hack.frob.com>
3342
3343 * sysdeps/unix/bsd/confstr.h: File removed.
3344
b6c5ec07
AO
33452012-10-02 Alexandre Oliva <aoliva@redhat.com>
3346
3347 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3348 sys/sdt-config.h.
3349
408223d4
RM
33502012-10-02 Roland McGrath <roland@hack.frob.com>
3351
3352 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3353 Make 'mapoff' field ElfW(Off) rather than off_t.
3354
bb9510dc
DL
33552012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3356
fc997c6e
DL
3357 * nscd/Makefile: Remove nscd-cflags and all its users.
3358 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3359 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3360
bb9510dc
DL
3361 [BZ #10631]
3362 * malloc.c (malloc_printerr): Clarify error message.
3363
05699367
L
33642012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3365
3366 [BZ #14648]
3367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3368 Set bit_FMA_Usable if FMA is supported.
3369 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3370 macro.
3371 (bit_FMA4_Usable): Updated.
3372 (index_FMA_Usable): New macro.
3373 (CPUID_FMA): Likewise
3374 (HAS_FMA): Defined with bit_FMA_Usable.
3375
51367701
RM
33762012-10-01 Roland McGrath <roland@hack.frob.com>
3377
3378 * bits/types.h (__swblk_t): Type removed.
3379 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3380 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3381 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3382 (__SWBLK_T_TYPE): Likewise.
3383 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3384 (__SWBLK_T_TYPE): Likewise.
3385 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3386 (__SWBLK_T_TYPE): Likewise.
3387 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3388 (__SWBLK_T_TYPE): Likewise.
3389
4d57bf63 33902012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 3391 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
3392
3393 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3394 (xdr_mapname): Use YPMAXMAP as maxsize.
3395 (xdr_peername): Use YPMAXPEER as maxsize.
3396 (xdr_keydat): Use YPAXRECORD as maxsize.
3397 (xdr_valdat): Use YPMAXRECORD as maxsize.
3398
93c65d43
RM
33992012-10-01 Roland McGrath <roland@hack.frob.com>
3400
497a03d6
RM
3401 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3402
93c65d43
RM
3403 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3404 * csu/init-first.c: ... here.
3405 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3406 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3407 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3408 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3409 * sysdeps/i386/init-first.c: File removed.
3410 * sysdeps/sh/init-first.c: File removed.
3411
bec749fd
JM
34122012-10-01 Joseph Myers <joseph@codesourcery.com>
3413
3414 [BZ #14645]
3415 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3416 if x * y might underflow to zero and z is zero.
3417 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3418 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3419 * math/libm-test.inc (min_subnorm_value): New variable.
3420 (fma_test): Add more tests.
3421 (fma_test_towardzero): Likewise.
3422 (fma_test_downward): Likewise
3423 (fma_test_upward): Likewise.
3424 (initialize): Set min_subnorm_value.
3425
8ec5b013
JM
34262012-09-29 Joseph Myers <joseph@codesourcery.com>
3427
3428 [BZ #14638]
3429 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3430 0 + 0.
3431 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3432 mode for addition resulting in exact zero.
3433 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3434 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3435 exact 0 + 0.
3436 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3437 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3438 * math/libm-test.inc (fma_test): Add more tests.
3439 (fma_test_towardzero): New function.
3440 (fma_test_downward): Likewise.
3441 (fma_test_upward): Likewise.
3442 (main): Call the new functions.
3443
b1fa802e
DM
34442012-09-28 David S. Miller <davem@davemloft.net>
3445
3446 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3447
d3b9fd9e
RM
34482012-09-28 Roland McGrath <roland@hack.frob.com>
3449
ea4d37b3
RM
3450 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3451 instead of SIGALRM.
3452
ac51c949
RM
3453 * sysdeps/gnu/_G_config.h: Moved to ...
3454 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3455 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3456 * sysdeps/generic/_G_config.h: ... here.
3457
28c195f7
RM
3458 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3459
848917f9
RM
3460 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3461
6bacf05b
RM
3462 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3463 Conditionalize target on [libnss_test1.so-version].
3464
91363dbb
RM
3465 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3466
cc87f7d8
RM
3467 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3468 (elfobjdir): Move out of conditionals.
3469
b1c608fe
RM
3470 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3471 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3472 (__nss_lookup_function): Conditionalize label remove_from_tree on
3473 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 3474
1d9a6d96
DM
34752012-09-28 David S. Miller <davem@davemloft.net>
3476
3477 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3478 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3479 file.
3480 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3481 sysdep_routines.
3482 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3483 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3484 when HWCAP_SPARC_CRYPTO is present.
3485
72581615
PT
34862012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3487
3488 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3489
715a900c
JL
34902012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3491
3492 [BZ #6530]
3493 * stdio-common/vfprintf.c (process_string_arg): Revert
3494 2000-07-22 change.
3495
34962011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3497
3498 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3499 for testcase.
3500 * stdio-common/tst-sprintf.c: Include <locale.h>
3501 (main): Test sprintf's handling of incomplete multibyte
3502 characters.
3503
9bac1d86
L
35042012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3505
3506 * elf/dl-runtime.c (VERSYMIDX): Removed.
3507 * elf/dl-version.c (VERSYMIDX): Likewise.
3508 * elf/do-rel.h (VERSYMIDX): Likewise.
3509 (VALIDX): Likewise.
3510 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3511 * elf/rtld.c (VALIDX): Likewise.
3512 (ADDRIDX): Likewise.
9bac1d86
L
3513 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3514 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3515 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
3516 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3517 (VALIDX): Likewise.
3518 (ADDRIDX): Likewise.
9bac1d86 3519
b31606c0
PT
35202012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3521
3522 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3523
11541177
JL
35242012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3525
3526 [BZ #11438]
3527 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3528 to global scope.
3529 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3530 addresses are in the same scope as 192.0.2/24.
3531 * posix/gai.conf: Document new scope table defaults.
3532
adb26fae
SP
35332012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3534
3535 [BZ #5298]
3536 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3537 for ftell. Compute offsets from write pointers instead.
3538 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3539
4573c6b0
SP
35402012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3541
3542 [BZ #14543]
3543 * libio/Makefile (tests): New test case tst-fseek.
3544 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3545 combination works in wide mode.
3546 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3547 state when the external buffer state changes.
3548
aa9bbfe6
DM
35492012-09-27 David S. Miller <davem@davemloft.net>
3550
3551 [BZ #14376]
3552 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3553 pass reloc->r_addend in as the 'high' argument to
3554 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3555
784421e7
DM
3556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3557
c39bc8b8
PT
35582012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3559
3560 * rt/tst-aio2.c: Include <pthread.h>.
3561 * rt/tst-aio3.c: Likewise.
3562
1ccc2399
SE
35632012-09-27 Steve Ellcey <sellcey@mips.com>
3564
3565 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3566
31ed4153
L
35672012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3568
25f5f885
L
3569 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3570 contents on [SHARED].
31ed4153 3571
b7bfe116
MP
35722012-09-26 Marek Polacek <polacek@redhat.com>
3573
3574 [BZ #14530]
3575 [BZ #13741]
3576 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3577 for C++ and GCC <4.3 as well as for non GCC compilers.
3578
43c4edba
MT
35792012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3580
3581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3582
6a1bf82f
RM
35832012-09-25 Roland McGrath <roland@hack.frob.com>
3584
3585 * Makefile.in (all, install): Declare with .PHONY.
3586 Reported by Michael Hope <michael.hope@linaro.org>.
3587
8ad11b9a
TMQMF
35882012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3589
3590 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3591 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3592 system header.
3593 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3594 Likewise.
3595 (sydep_routines): Add the new and the internal functions.
3596 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3597 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3599 (GLIBC_2.17): Add the new function.
3600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3601 (GLIBC_2.17): Likewise.
3602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3603 (GLIBC_2.17): Likewise.
3604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3605 (GLIBC_2.17): Likewise.
3606 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3607
7e2fca8d
AM
36082012-09-25 Alan Modra <amodra@gmail.com>
3609
3610 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3611 Add release barrier before setting once_control to say
3612 initialisation is done. Add hints on lwarx. Use macro in
3613 place of isync.
3614 (clear_once_control): Add release barrier.
3615
b87c4b24
JM
36162012-09-25 Joseph Myers <joseph@codesourcery.com>
3617
d032e0d2
JM
3618 [BZ #13629]
3619 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3620 specially.
3621 * math/s_clog10.c (__clog10): Likewise.
3622 * math/s_clog10f.c (__clog10f): Likewise.
3623 * math/s_clog10l.c (__clog10l): Likewise.
3624 * math/s_clogf.c (__clogf): Likewise.
3625 * math/s_clogl.c (__clogl): Likewise.
3626 * math/Makefile (libm-calls): Add x2y2m1.
3627 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3628 (__x2y2m1): Likewise.
3629 (__x2y2m1l): Likewise.
3630 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3631 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3632 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3633 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3634 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3635 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3636 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3637 * sysdeps/i386/fpu/libm-test-ulps: Update.
3638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3639
b87c4b24
JM
3640 [BZ #14621]
3641 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3642 int as type of variable DEPTH.
3643 (glob): Use size_t instead of int as type of variables NEWCOUNT
3644 and OLD_PATHC.
3645
6d3bf199
LD
36462012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3647
22bf5c17
LD
3648 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3649 Add s_sincosf-sse2.
3650 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3651 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3652 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3653 macros for using routine as __sincosf_ia32.
3654 Use macro for function declaration and weak_alias.
3655 * sysdeps/i386/fpu/libm-test-ulps: Update.
3656
3657 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3658 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3659
3660 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
3661 subnormal argument.
3662 * math/s_cexpf.c (__cexpf): Likewise.
3663 * math/s_csinf.c (__csinf): Likewise.
3664 * math/s_csinhf.c (__csinhf): Likewise.
3665 * math/s_ctanf.c (__ctanf): Likewise.
3666 * math/s_ctanhf.c (__ctanhf): Likewise.
3667 * math/s_ccosh.c (__ccoshf): Likewise.
3668 * math/s_cexp.c (__cexpl): Likewise.
3669 * math/s_csin.c (__csin): Likewise.
3670 * math/s_csinh.c (__csinh): Likewise.
3671 * math/s_ctan.c (__ctan): Likewise.
3672 * math/s_ctanh.c (ctanh): Likewise.
3673 * math/s_ccoshl.c (__ccoshl): Likewise.
3674 * math/s_cexpl.c (__cexpl): Likewise.
3675 * math/s_csinl.c (__csinl): Likewise.
3676 * math/s_csinhl.c (__csinhl): Likewise.
3677 * math/s_ctanl.c (__ctanl): Likewise.
3678 * math/s_ctanhl.c (__ctanhl): Likewise.
3679
203e5603
JM
36802012-09-25 Joseph Myers <joseph@codesourcery.com>
3681
3682 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3683 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3684 (_IO_off_t): Define to __off_t, not _G_off_t.
3685 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3686 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3687 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3688 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3689 type of __dummy and __dummy2 fields.
3690 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3691 (_G_ssize_t): Likewise.
3692 (_G_off_t): Likewise.
3693 (_G_pid_t): Likewise.
3694 (_G_uid_t): Likewise.
3695 (_G_wchar_t): Likewise.
3696 (_G_wint_t): Likewise.
3697 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3698 (_G_ssize_t): Likewise.
3699 (_G_off_t): Likewise.
3700 (_G_pid_t): Likewise.
3701 (_G_uid_t): Likewise.
3702 (_G_wchar_t): Likewise.
3703 (_G_wint_t): Likewise.
3704 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3705 (_G_ssize_t): Likewise.
3706 (_G_off_t): Likewise.
3707 (_G_pid_t): Likewise.
3708 (_G_uid_t): Likewise.
3709 (_G_wchar_t): Likewise.
3710 (_G_wint_t): Likewise.
3711
9fab36eb
SP
37122012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3713
3714 * malloc/arena.c: Include malloc-sysdep.h.
3715 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3716 is sufficient to shrink the heap or an unmap is needed.
3717 * sysdeps/generic/malloc-sysdep.h: New file. Define
3718 new function check_may_shrink_heap.
3719 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3720 new function check_may_shrink_heap.
3721
2b4f00d1
SP
37222012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3723
3724 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3725 comments.
3726
9a9028b1
DL
37272012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3728
57c69bef
DL
3729 * catgets/test-gencat.sh: Add "set -e".
3730 * elf/tst-pathopt.sh: Likewise.
3731 * grp/tst_fgetgrent.sh: Likewise.
3732 * iconvdata/run-iconv-test.sh: Likewise.
3733 * intl/tst-gettext.sh: Likewise.
3734 * intl/tst-gettext2.sh: Likewise.
3735 * intl/tst-gettext4.sh: Likewise.
3736 * intl/tst-gettext6.sh: Likewise.
3737 * intl/tst-translit.sh: Likewise.
3738 * io/ftwtest-sh: Likewise.
3739 * libio/test-freopen.sh: Likewise.
3740 * malloc/tst-mtrace.sh: Likewise.
3741 * posix/globtest.sh: Likewise.
3742 * posix/tst-getconf.sh: Likewise.
3743 * posix/wordexp-tst.sh: Likewise.
3744 * stdio-common/tst-printf.sh: Likewise.
3745 * stdio-common/tst-unbputc.sh: Likewise.
3746 * stdlib/tst-fmtmsg.sh: Likewise.
3747 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3748 * catgets/Makefile: Do not specify -e option when running
3749 testsuite shell scripts.
3750 * elf/Makefile: Likewise.
3751 * grp/Makefile: Likewise.
3752 * iconvdata/Makefile: Likewise.
3753 * intl/Makefile: Likewise.
3754 * io/Makefile: Likewise.
3755 * libio/Makefile: Likewise.
3756 * malloc/Makefile: Likewise.
3757 * posix/Makefile: Likewise.
3758 * stdio-common/Makefile: Likewise.
3759 * stdlib/Makefile: Likewise.
3760 * sysdeps/x86_64/Makefile: Likewise.
3761
9a9028b1
DL
3762 * io/ftwtest-sh: Add copyright header.
3763 * posix/globtest.sh: Likewise.
3764 * posix/tst-getconf.sh: Likewise.
3765 * posix/wordexp-tst.sh: Likewise.
3766 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3767
ced6f16e
L
37682012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3769
94b32c39
L
3770 [BZ #13679]
3771 * Makeconfig (+link): Defined as $(+link-static) if
3772 $(build-shared) isn't yes.
3773 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3774 isn't yes.
3775 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3776
189e935b
L
3777 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3778
ced6f16e
L
3779 [BZ #14562]
3780 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3781 new chunk size with MALLOC_ALIGN_MASK.
3782
a9f8e53a
JM
37832012-09-24 Joseph Myers <joseph@codesourcery.com>
3784
3785 [BZ #5044]
3786 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3787 <rounding-mode.h>.
3788 (__printf_fphex): Determine rounding using get_rounding_mode and
3789 round_away.
3790 * stdio-common/tst-printf-round.c (struct hex_test): New
3791 structure.
3792 (hex_tests): New variable.
3793 (test_hex_in_one_mode): New function.
3794 (do_test): Also run tests for hex float output.
3795
43153109
JM
37962012-09-21 Joseph Myers <joseph@codesourcery.com>
3797
3798 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3799 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3800 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3801 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3802 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3803 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3804 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3805 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3806
8a26625d
JM
38072012-09-20 Joseph Myers <joseph@codesourcery.com>
3808
3809 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3810 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3811 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3812 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3813
f3fd569c
DL
38142012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3815
3816 [BZ #14579]
3817 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3818 mode only.
3819 * elf/tst-rtld-load-self.sh: New test.
3820 * elf/Makefile: Run it.
3821
63bbedd4
JM
38222012-09-18 Joseph Myers <joseph@codesourcery.com>
3823
3824 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3825 (tst-writev-ENV): Remove.
3826 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3827
626f8b6a
CM
38282012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3829
3830 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3831
b7aaa4d6
JM
38322012-09-17 Joseph Myers <joseph@codesourcery.com>
3833
3834 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3835 unconditional.
3836 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3837 Likewise.
3838 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3839 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3840 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3841 Likewise.
3842
65513990
L
38432012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3844
3845 [BZ #14587]
3846 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3847 * config.make.in (have-cpp-asm-debuginfo): Removed.
3848 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3849 * configure: Regenerated.
3850
784761be
JM
38512012-09-14 Joseph Myers <joseph@codesourcery.com>
3852
3853 [BZ #5044]
3854 * stdio-common/printf_fp.c: Include <stdbool.h> and
3855 <rounding-mode.h>.
3856 (___printf_fp): Determine rounding using get_rounding_mode and
3857 round_away.
3858 * stdio-common/tst-printf-round.c: New file.
3859 * stdio-common/Makefile (tests): Add tst-printf-round.
3860 (link-libm): New variable.
3861 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3862
9503345f
L
38632012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3864
3865 [BZ #14576]
3866 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3867 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3868 Likewise.
3869 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3870 Likewise.
3871
ad35fc00
JM
38722012-09-13 Joseph Myers <joseph@codesourcery.com>
3873
3874 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3875 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3876 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3877 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3878
6c9b0f68
JM
38792012-09-12 Joseph Myers <joseph@codesourcery.com>
3880
3881 [BZ #14518]
3882 * include/rounding-mode.h: New file.
3883 * sysdeps/generic/get-rounding-mode.h: Likewise.
3884 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3885 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3886 (MAX_VALUE): New macro.
3887 (MIN_VALUE): Likewise.
3888 (overflow_value): New function.
3889 (underflow_value): Likewise.
3890 (round_and_return): Use overflow_value and underflow_value to
3891 determine return values in overflow and underflow cases. Use
3892 round_away to determine rounding depending on rounding mode.
3893 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3894 determine return values in overflow and underflow cases.
3895 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3896 (struct test_results): New structure.
3897 (struct test): Use struct test_results to store expected results
3898 for all rounding modes.
3899 (TEST): Include expected results for all rounding modes.
3900 (test_in_one_mode): New function.
3901 (do_test): Use test_in_one_mode to compute and check results.
3902 Check results for all rounding modes.
3903 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3904 $(link-libm).
3905
19fcedd5
AM
39062012-12-09 Allan McRae <allan@archlinux.org>
3907
1e9d84cd 3908 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 3909
8bbfd2f1
JM
39102012-09-11 Joseph Myers <joseph@codesourcery.com>
3911
3912 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3913 (_G_int32_t): Likewise.
3914 (_G_uint16_t): Likewise.
3915 (_G_uint32_t): Likewise.
3916 (_G_HAVE_BOOL): Likewise.
3917 (_G_HAVE_ATEXIT): Likewise.
3918 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3919 (_G_HAVE_IO_FILE_OPEN): Likewise.
3920 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3921 (_G_int32_t): Likewise.
3922 (_G_uint16_t): Likewise.
3923 (_G_uint32_t): Likewise.
3924 (_G_HAVE_BOOL): Likewise.
3925 (_G_HAVE_ATEXIT): Likewise.
3926 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3927 (_G_HAVE_IO_FILE_OPEN): Likewise.
3928 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3929 (_G_int32_t): Likewise.
3930 (_G_uint16_t): Likewise.
3931 (_G_uint32_t): Likewise.
3932 (_G_HAVE_BOOL): Likewise.
3933 (_G_HAVE_ATEXIT): Likewise.
3934 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3935 (_G_HAVE_IO_FILE_OPEN): Likewise.
3936
b1dc5912
L
39372012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3938
3939 * csu/libc-tls.c: Update copyright years.
3940
0e886ef9
JM
39412012-09-10 Joseph Myers <joseph@codesourcery.com>
3942
28361c5e
JM
3943 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3944 [!_G_USING_THUNKS]: Remove conditional code.
3945 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3946 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3947
0e886ef9
JM
3948 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3949 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3950 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3951 (_G_VTABLE_LABEL_PREFIX): Likewise.
3952 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3953 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3954 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3955 (_G_VTABLE_LABEL_PREFIX): Likewise.
3956 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3957 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3958 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3959 (_G_VTABLE_LABEL_PREFIX): Likewise.
3960 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3961
bcba7aa2
L
39622012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3963
3964 * libio/Makefile: Include ../Makeconfig before tests.
3965 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3966 only if $(build-shared) is yes.
3967
06585ee8
L
3968 * iconv/gconv_db.c: Update copyright years.
3969
80ccd52c
LD
39702012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3971
3972 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3973 unwind info if defined PIC. Fix special cases description.
3974 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3975
3976 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3977 DP_HI_MASK entry.
3978 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3979
691bc9c1
L
39802012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3981
3d9b46b3
L
3982 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3983
de2139a9
L
3984 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3985 is NULL.
3986
5ca78dd0
L
3987 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3988 (LDLIBS-tst-chk4): This.
3989 (LDFLAGS-tst-chk5): Renamed to ...
3990 (LDLIBS-tst-chk5): This.
3991 (LDFLAGS-tst-chk6): Renamed to ...
3992 (LDLIBS-tst-chk6): This.
3993 (LDFLAGS-tst-lfschk4): Renamed to ...
3994 (LDLIBS-tst-lfschk4): This.
3995 (LDFLAGS-tst-lfschk5): Renamed to ...
3996 (LDLIBS-tst-lfschk5): This.
3997 (LDFLAGS-tst-lfschk6): Renamed to ...
3998 (LDLIBS-tst-lfschk6): This.
3999
691bc9c1
L
4000 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4001 on $(common-objpfx)soversions.mk.
4002
65cafb1c
JM
40032012-09-07 Joseph Myers <joseph@codesourcery.com>
4004
4005 [BZ #10014]
4006 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4007 example host name.
4008
c78ab094
SP
40092012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4010
4011 * malloc/arena.c (arena_get_retry): New function that gets
4012 another arena for the caller to try its request on.
4013 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4014 current arena cannot fulfill the request.
4015 (__libc_memalign): Likewise.
4016 (__libc_memalign): Likewise.
4017 (__libc_pvalloc): Likewise.
4018 (__libc_calloc): Likewise.
4019
01f49f59
JT
40202012-09-05 John Tobey <john.tobey@gmail.com>
4021
4022 [BZ #13542]
4023 * manual/arith.texi (Operations on Complex): Fix description
4024 of carg branch cut.
4025
4c23fed5
JM
40262012-09-06 Joseph Myers <joseph@codesourcery.com>
4027
1d3c8572
JM
4028 [BZ #10014]
4029 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4030 host name.
4031
4c23fed5
JM
4032 [BZ #10038]
4033 * manual/memory.texi (Memory): Make order of menu items match
4034 order of sections.
4035
04570aaa
L
40362012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4037
4038 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4039 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4040 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4041
b80af2f4
L
40422012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4043
4044 * csu/libc-tls.c (static_dtv): Renamed to ...
4045 (_dl_static_dtv): This. Make it global.
4046 (_dl_initial_dtv): Removed.
4047 (__libc_setup_tls): Updated.
4048 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4049 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4050 DL_INITIAL_DTV.
4051
2abe9f15
PM
40522012-09-06 Petr Machata <pmachata@redhat.com>
4053
4054 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4055 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4056 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4057 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4058
0948c3af
L
40592012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4060
4061 [BZ #14545]
4062 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4063 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4064 freeing dtv[-1].
4065
a5055ad1
L
40662012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4067
4068 [BZ #14544]
4069 * Makeconfig (link-static-before-libc): Replace $(+prector)
4070 with $(+prectorT).
4071 (link-static-after-libc): Replace $(+postctor) with
4072 $(+postctorT).
4073 (link-bounded): Replace $(+prector)/$(+postctor) with
4074 $(+prectorT)/$(+postctorT).
4075 (+prectorT): New macro.
4076 (+postctorT): Likewise.
4077
ed8c2ecd
JM
40782012-09-06 Joseph Myers <joseph@codesourcery.com>
4079
4080 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4081 (round_str): Handle values above the maximum for IBM long double
4082 as inexact.
4083 * stdlib/tst-strtod-round.c (tests): Regenerated.
4084
14c996c8
AK
40852012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4086
4087 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4088 assembler flag.
4089 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4090 zarch_nohighgprs around the zarch optimized routines.
4091 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4092 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4093 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4094 for zarch.
4095
430d6ce6
DM
40962012-09-05 David S. Miller <davem@davemloft.net>
4097
4098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4099
ff04dda4
DM
4100 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4101 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4102 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4103 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4104 entries.
4105
24d4e01b
AO
41062012-09-05 Alexandre Oliva <aoliva@redhat.com>
4107
4108 * malloc/arena.c: Fold copyright years.
4109 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4110
61d58174
AO
41112012-09-05 Alexandre Oliva <aoliva@redhat.com>
4112
4113 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4114
20196a5e
AO
41152012-09-05 Alexandre Oliva <aoliva@redhat.com>
4116
4117 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4118
5c447383
AO
41192012-09-05 Alexandre Oliva <aoliva@redhat.com>
4120
4121 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4122 change internal state upon failure.
4123
fad64255
AO
41242012-09-05 Alexandre Oliva <aoliva@redhat.com>
4125
4126 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4127 * malloc/memusage.c (mmap): Likewise.
4128 (mmap64, mremap): Likewise. Adjust name in comment.
4129
1ffb8c90
SP
41302012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4131
4132 * libio/fileops.c: Fix typos in comments.
4133 * libio/oldfileops.c: Likewise.
4134 * libio/wfileops.c: Likewise.
4135
6ef9cc37
SP
41362012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4137
4138 [BZ #1349]
4139 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4140 (tst-malloc-usable-ENV): Set environment for test case.
4141 * malloc/hooks.c (malloc_check_get_size): New function to get
4142 requested size.
4143 * malloc/malloc.c (musable): Use malloc_check_get_size.
4144 * malloc/tst-malloc-usable.c: New test case.
4145
4d038ae3
AS
41462012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4147
4148 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4149
c4e85184
AM
41502012-09-05 Allan McRae <allan@archlinux.org>
4151
b9dafc56 4152 [BZ #13966]
c4e85184
AM
4153 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4154 determine header location.
4155 * configure: Regenerated.
4156
e1343020
AS
41572012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4158
4159 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4160 float format.
4161 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
4162 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4163 format.
e1343020
AS
4164 (test): Regenerate.
4165
0a9f1987
DM
41662012-09-04 David S. Miller <davem@davemloft.net>
4167
4168 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4169 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4170 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4171
29237804
FW
41722012-09-04 Florian Weimer <fweimer@redhat.com>
4173
4174 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4175 failures.
4176
edb3cb88
FW
4177 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4178
60160d83
JM
41792012-09-04 Joseph Myers <joseph@codesourcery.com>
4180
4181 [BZ #9914]
4182 * libio/iogetdelim.c: Include <limits.h>.
4183 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4184 + len + 1 would overflow.
4185
bcd6c8dc
AJ
41862012-09-03 Andreas Jaeger <aj@suse.de>
4187
4188 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4189 * sysdeps/i386/fpu/libm-test-ulps: Update.
4190
4ffffbd2
LD
41912012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4192
4193 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4194 Add s_sinf-sse2, s_conf-sse2.
4195
4196 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4197 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4198 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4199 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4200
4201 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4202 for using routine as __sinf_ia32.
4203 Use macro for function declaration and weak_alias.
4204 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4205 for using routine as __cosf_ia32.
4206 Use macro for function declaration and weak_alias.
4207
4208 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4209 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4210
4211 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4212 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4213 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4214
4215 * math/libm-test.inc (cos_test): Add more test cases.
4216 (sin_test): Likewise.
4217 (sincos_test): Likewise.
4218
511fa286
AK
42192012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4220
4221 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4222 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4223 hidden.
4224 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4225
5f30cfec
L
42262012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4227
4228 [BZ #14538]
4229 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4230 first element of the GOT.
4231 (elf_machine_load_address): Return the difference between
4232 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4233
0786794f
AM
42342012-09-01 Allan McRae <allan@archlinux.org>
4235
5f30cfec
L
4236 [BZ #13412]
4237 * configure.in (AWK): Require gawk version 3.0 or later.
4238 * configure: Regenerated.
0786794f 4239
26889eac
JM
42402012-09-01 Joseph Myers <joseph@codesourcery.com>
4241
4242 * sysdeps/unix/sysv/linux/kernel-features.h
4243 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4244 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4245 [__NR_clock_getres]: Make code unconditional.
4246 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4247 (clock_getcpuclockid): Remove code left unreachable by removal of
4248 conditionals.
4249 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4250 code unconditional.
4251 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4252 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4253 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4254 Make code unconditional.
4255 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4256 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4257 * sysdeps/unix/sysv/linux/clock_settime.c
4258 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4259 conditional code.
4260 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4261 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4262
d22e28b0
L
42632012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4264
4265 [BZ #14476]
4266 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4267 scripts/test-installation.pl.
4268
4269 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4270 and $ld_so_version if it is set.
4271
050af9c4
SP
42722012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4273
4274 [BZ #14516]
4275 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4276 failure if reading from procfs failed.
4277 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4278
ad845c0b
JM
42792012-08-27 Joseph Myers <joseph@codesourcery.com>
4280
4281 * sysdeps/unix/sysv/linux/kernel-features.h
4282 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4283 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4284 Remove conditional code.
4285 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4286 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4287 Remove conditional code.
4288 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4289 * sysdeps/unix/sysv/linux/i386/fxstat.c
4290 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4291 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4292 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4293 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4294 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4295 * sysdeps/unix/sysv/linux/i386/lxstat.c
4296 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4297 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4298 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4299 Remove conditional code.
4300 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4301 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4302 Remove conditional code.
4303 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4304 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4305 <kernel-features.h>.
4306 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4307 Remove.
4308 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4309 Remove conditional code.
4310 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4311 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4312 Remove conditional.
4313
5dbf56af
MF
43142012-08-27 Mike Frysinger <vapier@gentoo.org>
4315
4316 [BZ #5400]
4317 * NEWS: Add fixed bug number.
4318
d6e70f43
JM
43192012-08-27 Joseph Myers <joseph@codesourcery.com>
4320
7efb4737
JM
4321 [BZ #14519]
4322 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4323 underflowing exponent in case of negative sign.
4324 * stdlib/tst-strtod-round-data: Add more tests.
4325 * stdlib/tst-strtod-round.c (tests): Regenerated.
4326
af92131a
JM
4327 [BZ #3479]
4328 * stdlib/strtod_l.c (NDIG): Remove.
4329 (HEXNDIG): Likewise.
4330 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4331 smallest representable value.
4332 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4333 lie within an exact representation of 1/2 ulp of the result.
4334 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4335 unconditionally.
4336 (TENS_P9_IDX): Define unconditionally.
4337 (TENS_P9_SIZE): Likewise.
4338 (TENS_P10_IDX): Likewise.
4339 (TENS_P10_SIZE): Likewise.
4340 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4341 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4342 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4343 entries for 10^2^13 and 10^2^14.
4344 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4345 (TENS_P13_IDX): Define.
4346 (TENS_P13_SIZE): Likewise.
4347 (TENS_P14_IDX): Likewise.
4348 (TENS_P14_SIZE): Likewise.
4349 (_fpioconst_pow10): Change array size to
4350 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4351 unconditional.
4352 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4353 1024]: Add entries for 10^2^13 and 10^2^14.
4354 [LAST_POW10 > _LAST_POW10]: Remove #error.
4355 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4356 (_fpioconst_pow10): Change array size to
4357 FPIOCONST_POW10_ARRAY_SIZE.
4358 * stdlib/gen-fpioconst.c: New file.
4359 * stdlib/gen-tst-strtod-round.c: Likewise.
4360 * stdlib/tst-strtod-round-data: Likewise.
4361 * stdlib/tst-strtod-round.c: Likewise.
4362 * stdlib/Makefile (tests): Add tst-strtod-round.
4363
d6e70f43
JM
4364 [BZ #14459]
4365 * stdlib/strtod_l.c: Include <stdint.h>.
4366 (NDEBUG): Do not define.
4367 (round_and_return): Change EXPONENT parameter to type intmax_t.
4368 Rearrange calculations to avoid internal overflow possibilities.
4369 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4370 Rearrange calculations to avoid internal overflow possibilities.
4371 Assert that number fits inside MPNSIZE limbs.
4372 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4373 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4374 calculations and add assertions to avoid internal overflow
4375 possibilities. Add casts to avoid signed/unsigned operations.
4376 * stdlib/tst-strtod-overflow.c: New file.
4377 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4378
1f529f7d
MP
43792012-08-25 Marek Polacek <polacek@redhat.com>
4380
4381 * time/time.h: Fix some typos in comments.
4382
59a629f1
RM
43832012-08-23 Roland McGrath <roland@hack.frob.com>
4384
4385 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4386 * posix/tst-rfc3484-2.c: Likewise.
4387 * posix/tst-rfc3484-3.c: Likewise.
4388
d3bafbc9
SM
43892012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4390
4391 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4392 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4393
4efcc022
JM
43942012-08-23 Joseph Myers <joseph@codesourcery.com>
4395
4396 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4397 #include of fxstatat64.c.
4398
3cc3ef96
RM
43992012-08-22 Roland McGrath <roland@hack.frob.com>
4400
f04e2132
RM
4401 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4402 * shadow/getspent_r.c: Likewise.
4403 * shadow/getspnam.c: Likewise.
4404 * shadow/getspnam_r.c: Likewise.
4405 * gshadow/getsgent.c: Likewise.
4406 * gshadow/getsgent_r.c: Likewise.
4407 * gshadow/getsgnam.c: Likewise.
4408 * gshadow/getsgnam_r.c: Likewise.
4409 * inet/getnetbyad.c: Likewise.
4410 * inet/getnetbyad_r.c: Likewise.
4411 * inet/getnetbynm.c: Likewise.
4412 * inet/getnetbynm_r.c: Likewise.
4413 * inet/getnetent.c: Likewise.
4414 * inet/getnetent_r.c: Likewise.
4415 * inet/getproto.c: Likewise.
4416 * inet/getproto_r.c: Likewise.
4417 * inet/getprtent.c: Likewise.
4418 * inet/getprtent_r.c: Likewise.
4419 * inet/getprtname.c: Likewise.
4420 * inet/getprtname_r.c: Likewise.
4421 * inet/getrpcbyname.c: Likewise.
4422 * inet/getrpcbyname_r.c: Likewise.
4423 * inet/getrpcbynumber.c: Likewise.
4424 * inet/getrpcbynumber_r.c: Likewise.
4425 * inet/getrpcent.c: Likewise.
4426 * inet/getrpcent_r.c: Likewise.
4427 * inet/getaliasent.c: Likewise.
4428 * inet/getaliasent_r.c: Likewise.
4429 * inet/getaliasname.c: Likewise.
4430 * inet/getaliasname_r.c: Likewise.
4431 * nscd/getgrgid_r.c: Likewise.
4432 * nscd/getgrnam_r.c: Likewise.
4433 * nscd/gethstbyad_r.c: Likewise.
4434 * nscd/gethstbynm3_r.c: Likewise.
4435 * nscd/getpwnam_r.c: Likewise.
4436 * nscd/getpwuid_r.c: Likewise.
4437 * nscd/getsrvbynm_r.c: Likewise.
4438 * nscd/getsrvbypt_r.c: Likewise.
4439 * nscd/gai.c: Likewise.
4440
c53d909c
RM
4441 * configure.in (build_nscd): New substituted variable, set
4442 by --disable-build-nscd and defaults to $use_nscd.
4443 * configure: Regenerated.
4444 * config.make.in (build-nscd): New substituted variable.
4445 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4446 Change conditional to require [$(build-nscd) = yes] as well.
4447 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4448
3cc3ef96
RM
4449 [BZ# 13696]
4450 * configure.in (use_nscd): New substituted variable, set by
4451 --disable-nscd. If enabled, define USE_NSCD.
4452 * configure: Regenerated.
4453 * config.h.in: Add USE_NSCD.
4454 * config.make.in (use-nscd): New substituted variable.
4455 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4456 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4457 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4458 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4459 (CFLAGS-getgrnam_r.c): Likewise.
4460 (CFLAGS-initgroups.c): Likewise.
4461 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4462 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4463 Variables removed.
4464 * inet/getnetgrent_r.c
4465 (nscd_setnetgrent): New function, broken out of ...
4466 (setnetgrent): ... here. Call it.
4467 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4468 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4469 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4470 * nscd/Makefile (routines, aux): Move definitions after include of
4471 Makeconfig. Conditionalize on [$(use-nscd) != no].
4472 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4473 Conditionalize on [USE_NSCD].
4474 (is_nscd, nscd_init_cb): Likewise.
4475 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4476 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4477 * nss/nss_db/db-init.c: Likewise.
4478 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4479 [USE_NSCD].
4480 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4481 (make_request): Use it.
4482 (cache_valid_p): New function.
4483 (__check_pf): Use it.
4484 * NEWS: Add item for --disable-nscd.
4485
07e51550
DL
44862012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4487
4488 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4489 to support sed >= 4.2.1-20-ga9bf076.
4490 * configure: Regenerated.
4491
35a5b08b
RM
44922012-08-22 Roland McGrath <roland@hack.frob.com>
4493
4494 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4495 Conditionalize whole body on [IREL].
4496
8479f23a
JL
44972012-08-22 Jeff Law <law@redhat.com>
4498
4499 [BZ #14505]
4500 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4501 if the family is PF_UNSPEC.
4502
48da0b21
MF
45032012-08-22 Mike Frysinger <vapier@gentoo.org>
4504
4505 * Makerules (lib-version): Rename from V.
4506 (install-lib-nosubdir): Change V to lib-version.
4507
15d0da8c
WS
45082012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4509
4510 [BZ #14252]
4511 * powerpc32/power6/wcschr.c: New file.
4512 * powerpc32/power6/wcscpy.c: New file.
4513 * powerpc32/power6/wcsrchr.c: New file.
4514 * powerpc64/power6/wcschr.c: New file.
4515 * powerpc64/power6/wcscpy.c: New file.
4516 * powerpc64/power6/wcsrchr.c: New file.
4517
bcca0895
MK
45182012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4519
4520 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4521 (two_way_short_needle): Use it.
5a4aaa33
RM
4522 * string/strstr.c (AVAILABLE1_USES_J): Define.
4523 * string/strcasestr.c: Likewise.
99677e57
MK
4524
4525 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4526 array references.
4527 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4528
400726de
MK
4529 [BZ #11607]
4530 * NEWS: Add an entry.
4531 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4532 define their defaults.
4533 (two_way_short_needle): Detect end-of-string on-the-fly.
4534 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4535 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4536 * string/bug-strcasestr1.c: New test.
4537 * string/Makefile: Run it.
4538
20a71f2c
MK
45392012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4540
4541 [BZ #11607]
4542 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4543 the first character.
4544
21ad0558
RM
45452012-08-21 Roland McGrath <roland@hack.frob.com>
4546
4547 * csu/elf-init.c (__libc_csu_irel): Function removed.
4548 * csu/libc-start.c (apply_irel): New function.
4549 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4550
0e1d9911
JM
45512012-08-21 Joseph Myers <joseph@codesourcery.com>
4552
4553 * sysdeps/unix/sysv/linux/kernel-features.h
4554 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4555 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4556 <kernel-features.h>.
4557 [__NR_fadvise64_64]: Make code unconditional.
4558 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4559 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4560 !__NR_fadvise64_64)]: Likewise.
4561 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4562 !__NR_fadvise64_64))]: Likewise.
4563 [__NR_fadvise64]: Make code unconditional.
4564 [!__NR_fadvise64]: Remove conditional code.
4565 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4566 <kernel-features.h>.
4567 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4568 unconditional.
4569 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4570 conditional code.
4571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4572 not include <kernel-features.h>.
4573 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4574 unconditional.
4575 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4576 conditional code.
4577 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4578 include <kernel-features.h>.
4579 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4580 unconditional.
4581 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4582 conditional code.
4583
14a50c9d
WS
45842012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4585
4586 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4587 slight instruction rearrangements per scrollpipe analysis.
4588 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4589
c0f4faf0
RM
45902012-08-20 Roland McGrath <roland@hack.frob.com>
4591
696da859
RM
4592 * manual/syslog.texi (syslog; vsyslog, closelog):
4593 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4594 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4595
c0f4faf0
RM
4596 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4597 DSOCAPS to match condition on defining it.
4598
348363b2
JM
45992012-08-20 Joseph Myers <joseph@codesourcery.com>
4600
a35cbf28
JM
4601 * sysdeps/unix/sysv/linux/kernel-features.h
4602 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4604 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4605 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4607 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4608 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4610 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4611 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4612
445f7ecd
JM
4613 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4614 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4615
348363b2
JM
4616 * sysdeps/unix/sysv/linux/kernel-features.h
4617 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4618 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4619 unconditional.
4620 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4621 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4622 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4623 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4624 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4625 Make code unconditional.
4626 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4627 (__mmap64) [!__NR_mmap2]: Likewise.
4628 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4629 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4630 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4631 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4632 [__NR_mmap2]: Make code unconditional.
4633 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4634 (__mmap64) [!__NR_mmap2]: Likewise.
4635
bc5bc0e5
AK
46362012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4637
4638 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4639
88d506de
AJ
46402012-08-18 Andreas Jaeger <aj@suse.de>
4641
4642 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4643
493387d2
MF
46442012-08-18 Mike Frysinger <vapier@gentoo.org>
4645
4646 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4647 * include/unistd.h (__have_sock_cloexec): Likewise.
4648 (__have_pipe2): Likewise.
4649 (__have_dup3): Likewise.
4650
a277af22
MF
46512012-08-18 Mike Frysinger <vapier@gentoo.org>
4652
4653 [BZ #9685]
4654 * include/unistd.h (__have_pipe2): Change define into an extern int.
4655 (__have_dup3): Likewise.
4656 * socket/have_sock_cloexec.c: Include fcntl.h.
4657 (__have_pipe2): New variable.
4658 (__have_dup3): Likewise.
4659
fdab8fd3
MF
46602012-08-17 Mike Frysinger <vapier@gentoo.org>
4661
4662 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4663
31035e80
MP
46642012-08-17 Marek Polacek <polacek@redhat.com>
4665
4666 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4667 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4668
3bd9e993
RM
46692012-08-17 Roland McGrath <roland@hack.frob.com>
4670
c91c505f
RM
4671 * configure.in: Add AC_SUBST for sysheaders.
4672 * configure: Regenerated.
4673 * config.make.in (sysheaders): New substituted variable.
4674
7c6f9d53
RM
4675 * sysdeps/unix/mkfifo.c: Moved ...
4676 * sysdeps/posix/mkfifo.c: ... here.
4677 * sysdeps/unix/mkfifoat.c: Moved ...
4678 * sysdeps/posix/mkfifoat.c: ... here.
4679
4680 * sysdeps/unix/utime.c: Moved ...
4681 * sysdeps/posix/utime.c: ... here.
4682
4683 * sysdeps/unix/time.c: Moved ...
4684 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
4685 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4686 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
4687
4688 * sysdeps/unix/nice.c: Moved ...
4689 * sysdeps/posix/nice.c: ... here.
4690
4691 * sysdeps/unix/alarm.c: Moved ...
4692 * sysdeps/posix/alarm.c: ... here.
4693
3bd9e993
RM
4694 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4695
d1f09384
JL
46962012-08-17 Jeff Law <law@redhat.com>
4697
4698 * intl/Makefile (codeset_mo): New variable.
4699 ($(codeset_mo)): New target.
4700 (tst-codeset.out): Depend on that. Remove explicit rule.
4701 (tst-gettext3.out, tst-gettext5.out): Likewise.
4702 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4703 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4704 * intl/tst-codeset.sh: Remove.
4705 * intl/tst-gettext3.sh: Likewise.
4706 * intl/tst-gettext5.sh: Likewise.
4707
2ae1ae5c
RM
47082012-08-17 Roland McGrath <roland@hack.frob.com>
4709
c31fdb83
RM
4710 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4711 * sysdeps/unix/syscalls.list: ... here.
4712
a0844057
RM
4713 * sysdeps/posix/getaddrinfo.c
4714 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4715 (gaiconf_init, gaiconf_reload): Use them.
4716 [!_STATBUF_ST_NSEC]
4717 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4718 Define using time_t rather than struct timespec.
4719
750c1f2a
RM
4720 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4721 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4722 Macros removed.
4723 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4724 [!NO_THREADS].
4725 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4726 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4727 Likewise.
4728
2ae1ae5c
RM
4729 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4730 __libc_cleanup_push argument.
4731
e66a42f5
RM
4732 * bits/param.h: New file.
4733 * misc/sys/param.h: New file.
4734 * include/sys/param.h: New file.
4735 * misc/Makefile (headers): Add bits/param.h.
4736 * sysdeps/generic/sys/param.h: File removed.
4737 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4738 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4739 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 4740 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 4741
b7c08a66
RM
4742 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4743 last change.
4744
b2e1c562
RM
4745 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4746 [_IO_MTSAFE_IO].
4747 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4748 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4749 New macros.
4750
c75ccd4c
RM
4751 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4752 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4753 rather than -D_IO_MTSAFE_IO conditionally.
4754 * stdio-common/Makefile (CPPFLAGS): Likewise.
4755 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4756 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4757 Use $(libio-mtsafe).
4758 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4759 of -D_IO_MTSAFE_IO.
4760 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4761 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4762 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4763 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4764 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4765 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4766 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4767 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4768 (CFLAGS-fread_u_chk.c): Likewise.
4769 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4770 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4771 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4772 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4773 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4774 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4775 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4776 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4777 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4778
4779 * libio/Makefile: Test [$(libc-reentrant) = yes]
4780 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4781
4782 * Makeconfig
4783 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4784 * sysdeps/pthread/configure: File removed.
4785 * sysdeps/pthread/Makeconfig: New file.
4786 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4787 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4788
d9195db8
GB
47892012-08-16 Gary Benson <gbenson@redhat.com>
4790
4791 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4792 unmapping the first object in a namespace.
4793
86466cd9
RM
47942012-08-16 Roland McGrath <roland@hack.frob.com>
4795
4796 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4797 (__internal_setnetgrent): ... this. Add internal_function to
4798 definition. Add libc_hidden_def.
4799 (setnetgrent): Update caller.
4800 (internal_endnetgrent): Renamed to ...
4801 (__internal_endnetgrent): ... this. Add internal_function to
4802 definition. Add libc_hidden_def.
4803 (endnetgrent): Update caller.
4804 (internal_getnetgrent_r): Renamed to ...
4805 (__internal_getnetgrent_r): ... this. Add internal_function to
4806 definition. Add libc_hidden_def.
4807 (__getnetgrent_r): Update caller.
4808 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4809
c3c8283c
JM
48102012-08-16 Joseph Myers <joseph@codesourcery.com>
4811
4812 * stdlib/longlong.h: Update from GCC.
4813
db1ee0a8
RM
48142012-08-16 Roland McGrath <roland@hack.frob.com>
4815
4816 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4817 on _QL, which is set by umul_ppmm but never used.
4818 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4819 variables, which are set by GMP macros but never used.
4820 * stdio-common/_itowa.c (_itowa): Likewise.
4821 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4822 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4823
30f69637
CD
48242012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4825
4826 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4827 struct La_sh_regs is not constant.
4828 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4829 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4830 and struct La_sparc64_regs are not constant.
4831
93a78ac4
JM
48322012-08-16 Joseph Myers <joseph@codesourcery.com>
4833
4834 * sysdeps/unix/sysv/linux/kernel-features.h
4835 (__ASSUME_POSIX_TIMERS): Remove.
4836 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4837 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4838 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4839 Make code unconditional.
4840 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4841 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4842 Make code unconditional.
4843 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4844 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4845 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4846 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4847 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4848 Make code unconditional.
4849 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4850 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4851 (__libc_missing_posix_timers): Remove.
4852
dd924cd7
RM
48532012-08-15 Roland McGrath <roland@hack.frob.com>
4854
4b4f2771
RM
4855 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4856 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4857
601c888b
RM
4858 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4859
176790a7
RM
4860 * elf/dl-sym.c: Include <stdlib.h>.
4861
329bc018
RM
4862 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4863 constants, which avoids warnings in 32-bit builds.
4864
e04e272d
RM
4865 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4866 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4867
952bf94a
RM
4868 * misc/lseek.c: File moved to ...
4869 * io/lseek.c: ... here.
4870
7c99b50a
RM
4871 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4872
dd924cd7
RM
4873 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4874 shifting LEN more than 31 bits at once.
4875
b3f479a8
LD
48762012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4877
4878 [BZ #14195]
8c4ae0d4
RM
4879 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4880 segmentation fault for a case of two empty input strings.
b3f479a8
LD
4881 * string/test-strncasecmp.c (check1): Renamed to...
4882 (bz12205): ...this.
4883 (bz14195): Add new testcase for two empty input strings and N > 0.
4884 (test_main): Call new testcase, adapt for renamed function.
4885
9c55864e
AJ
48862012-08-15 Andreas Jaeger <aj@suse.de>
4887
4888 [BZ #14090]
4889 * crypt/md5test2.c: New test, based on test supplied by Serge
4890 Belyshev <belyshev@depni.sinp.msu.ru>.
4891 * crypt/Makefile (xtests): Add md5test-giant..
4892 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4893
02dcb6c5
PE
48942012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4895
4896 [BZ #14090]
4897 * crypt/md5.c (md5_process_block): Don't assume the buffer
4898 length is less than 2**32.
4899 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4900 length is less than 2**64.
4901
a3f95dcc
RM
49022012-08-15 Roland McGrath <roland@hack.frob.com>
4903
be75d758
RM
4904 * string/str-two-way.h: Include <sys/param.h>.
4905 (MAX): Macro removed.
4906
7312ca90
RM
4907 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4908 Move #define and #undef of memmove to just before and after
4909 including <string.h>.
4910
9a0a5486
RM
4911 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4912 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4913 and after including <string.h>. Move declarations of
4914 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4915 to before #include "string/memmove.c".
4916
67cc348d
RM
4917 * include/dirent.h: Declare __getdirentries.
4918
a3f95dcc
RM
4919 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4920 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4921
ca98e171
MF
49222012-08-14 Mike Frysinger <vapier@gentoo.org>
4923
4924 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4925 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4926 * sysdeps/i386/configure: Regenerated.
4927 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4928 STABS_CURRENT_FILE, and STABS_FUN.
4929 (END): Remove call to STABS_FUN_END.
4930 (STABS_CURRENT_FILE1): Delete.
4931 (STABS_CURRENT_FILE): Likewise.
4932 (STABS_FUN): Likewise.
4933 (STABS_FUN_END): Likewise.
4934 (STABS_FUN2): Likewise.
4935 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4936 * sysdeps/x86_64/configure: Regenerated.
4937
5908bf46
RM
49382012-08-14 Roland McGrath <roland@hack.frob.com>
4939
4940 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 4941 * elf/dl-lookup.c: Likewise.
5908bf46 4942
f2c05b9e
JM
49432012-08-14 Joseph Myers <joseph@codesourcery.com>
4944
4945 * sysdeps/unix/sysv/linux/kernel-features.h
4946 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4947 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4948 unconditionally.
4949 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4950 unconditionally.
4951 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4952 condition on __ASSUME_CLONE_THREAD_FLAGS.
4953
e11f5155
AJ
49542012-08-14 Andreas Jaeger <aj@suse.de>
4955
4956 * sysdeps/i386/fpu/libm-test-ulps: Update.
4957
51a9ba86
MK
49582012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4959
2fdd4f78
AJ
4960 * include/atomic.h (atomic_exchange_and_add): Split into ...
4961 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4962 New atomic macros.
51a9ba86 4963
ba6cba9e
MT
49642012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4965
4966 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4967
42443a47
JL
49682012-08-13 Jeff Law <law@redhat.com>
4969
4970 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4971 null byte in the output string.
4972
121dce05
JM
49732012-08-10 Joseph Myers <joseph@codesourcery.com>
4974
4975 * sysdeps/unix/sysv/linux/kernel-features.h
4976 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4977 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4978 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4979 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4980 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4981 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4982 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4983
bf51f568
JL
49842012-08-09 Jeff Law <law@redhat.com>
4985
4986 [BZ #13939]
4987 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4988 When avoid_arena is set, don't retry in the that arena. Pick the
4989 next one, whatever it might be.
4990 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4991 (arena_lock): Pass in new parameter to arena_get2.
4992 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4993 arena_get2.
4994 (__libc_malloc): Unify retrying after main arena failure with
4995 __libc_memalign version.
4996 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4997
f85fa270
L
49982012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4999
5000 [BZ #14166]
5001 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5002 to __redirect_strstr.
5003 (__strstr_sse42): Use typeof __redirect_strstr.
5004 (__strstr_ia32): Likewise.
5005 (__libc_strstr): New prototype.
5006 (strstr): Renamed to ...
5007 (__libc_strstr): This.
5008 (strstr): New strong alias of __libc_strstr.
5009 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5010 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5011 __redirect_time.
5012 Include <time.h>.
5013 (__libc_time): New prototype.
5014 (time_ifunc): Replace time with __libc_time.
5015 (time): New strong alias and hidden definition of __libc_time.
5016 (__GI_time): Remove strong alias.
5017 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5018 Include <stddef.h>.
5019 (memmove): Redefined to __redirect_memmove.
5020 (__memmove_sse2): Use typeof __redirect_memmove.
5021 (__memmove_ssse3): Likewise.
5022 (__memmove_ssse3_back): Likewise.
5023 (__libc_memmove): New prototype.
5024 (memmove): Renamed to ...
5025 (__libc_memmove): This.
5026 (memmove): New strong alias of __libc_memmove.
5027
33b4a91e
MS
50282012-08-08 Mark Salter <msalter@redhat.com>
5029
5030 * elf/elf.h
5031 (R_MN10300_TLS_GD): Define.
5032 (R_MN10300_TLS_LD): Likewise.
5033 (R_MN10300_TLS_LDO): Likewise.
5034 (R_MN10300_TLS_GOTIE): Likewise.
5035 (R_MN10300_TLS_IE): Likewise.
5036 (R_MN10300_TLS_LE): Likewise.
5037 (R_MN10300_TLS_DTPMOD): Likewise.
5038 (R_MN10300_TLS_DTPOFF): Likewise.
5039 (R_MN10300_TLS_TPOFF): Likewise.
5040 (R_MN10300_SYM_DIFF): Likewise.
5041 (R_MN10300_ALIGN): Likewise.
5042 (R_MN10300_NUM): Update.
5043
b36137f1
JM
50442012-08-08 Joseph Myers <joseph@codesourcery.com>
5045
5046 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5047 Remove.
5048
cdd915fd
RM
50492012-08-08 Roland McGrath <roland@hack.frob.com>
5050
a2433aac
RM
5051 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5052
cdd915fd
RM
5053 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5054 sysdeps/unix -> sysdeps/posix move.
5055 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5056
bf9b740a
AM
50572012-08-07 Allan McRae <allan@archlinux.org>
5058
5059 [BZ #14303]
5060 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5061 (SUNOS_CPP): Likewise.
5062 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5063 not found.
5064 (open_input): Call CPP using execvp.
5065
93df14ee
JM
50662012-08-07 Joseph Myers <joseph@codesourcery.com>
5067
5068 * sysdeps/unix/sysv/linux/kernel-features.h
5069 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5070 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5071 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5072 (__ASSUME_WAITID_SYSCALL): Likewise.
5073 * sysdeps/unix/sysv/linux/dl-execstack.c
5074 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5075 code unconditional.
5076 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5077 conditional code.
5078 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5079 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5080 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5081 code.
5082 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5083 unconditional.
5084 [__ASSUME_WAITID_SYSCALL]: Likewise.
5085 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5086
d34689de
RM
50872012-08-07 Roland McGrath <roland@hack.frob.com>
5088
a281decc
RM
5089 * sysdeps/unix/closedir.c: Renamed to ...
5090 * sysdeps/posix/closedir.c: ... here.
5091 * sysdeps/unix/dirfd.c: Renamed to ...
5092 * sysdeps/posix/dirfd.c: ... here.
5093 * sysdeps/unix/dirstream.h: Renamed to ...
5094 * sysdeps/posix/dirstream.h: ... here.
5095 * sysdeps/unix/fdopendir.c: Renamed to ...
5096 * sysdeps/posix/fdopendir.c: ... here.
5097 * sysdeps/unix/opendir.c: Renamed to ...
5098 * sysdeps/posix/opendir.c: ... here.
5099 * sysdeps/unix/readdir.c: Renamed to ...
5100 * sysdeps/posix/readdir.c: ... here.
5101 * sysdeps/unix/readdir_r.c: Renamed to ...
5102 * sysdeps/posix/readdir_r.c: ... here.
5103 * sysdeps/unix/rewinddir.c: Renamed to ...
5104 * sysdeps/posix/rewinddir.c: ... here.
5105 * sysdeps/unix/seekdir.c: Renamed to ...
5106 * sysdeps/posix/seekdir.c: ... here.
5107 * sysdeps/unix/telldir.c: Renamed to ...
5108 * sysdeps/posix/telldir.c: ... here.
5109 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5110 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5111 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5112 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5113
22895b47
RM
5114 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5115 * bits/fcntl.h: ... here.
5116
707a53b6
RM
5117 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5118 not 0.
5119 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5120 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5121 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5122 (struct flock): Move l_start, l_len to the beginning.
5123 Use __pid_t for l_pid.
5124 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5125 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5126 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5127 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5128 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5129 [__USE_LARGEFILE64] (struct flock64): New type.
5130 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5131
f0bd3e25
RM
5132 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5133 * bits/dirent.h: ... here.
5134
d34689de
RM
5135 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5136 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5137
6dad2c06
JM
51382012-08-07 Joseph Myers <joseph@codesourcery.com>
5139
5140 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5141 Change from 2.6.0 to 2.6.16.
5142 * sysdeps/unix/sysv/linux/configure: Regenerated.
5143 * sysdeps/unix/sysv/linux/kernel-features.h
5144 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5145 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5146 version.
5147 (__ASSUME_UTIMES): Likewise.
5148 (__ASSUME_CLONE_STOPPED): Remove.
5149 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5150 architectures, not kernel version.
5151 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5152 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5153 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5154 (__ASSUME_WAITID_SYSCALL): Likewise.
5155 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5156 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5157 * README: State 2.6.16 as minimum Linux kernel version. Do not
5158 refer to older versions.
5159
03af9520
RM
51602012-08-06 Roland McGrath <roland@hack.frob.com>
5161
8e49df1d
RM
5162 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5163 Define alphasort64 as an alias.
5164 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5165 Define versionsort64 as an alias.
5166 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5167 Define scandir64 as an alias.
5168 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5169 Define scandirat64 as an alias.
5170 * dirent/alphasort64.c (alphasort64):
5171 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5172 * dirent/versionsort64.c: Likewise.
5173 * dirent/scandir64.c: Likewise.
5174 * dirent/scandirat64.c: Likewise.
5175 * sysdeps/wordsize-64/alphasort.c: File removed.
5176 * sysdeps/wordsize-64/alphasort64.c: File removed.
5177 * sysdeps/wordsize-64/scandir.c: File removed.
5178 * sysdeps/wordsize-64/scandir64.c: File removed.
5179 * sysdeps/wordsize-64/scandirat.c: File removed.
5180 * sysdeps/wordsize-64/scandirat64.c: File removed.
5181 * sysdeps/wordsize-64/versionsort.c: File removed.
5182 * sysdeps/wordsize-64/versionsort64.c: File removed.
5183 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5184 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5185 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5186 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5187 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5188 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5189 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5190 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5191
5192 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5193 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5194 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5195 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5196 [defined __arch64__ || defined __sparcv9]
5197 (__INO_T_MATCHES_INO64_T): New macro.
5198 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5199 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5200 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5201 * sysdeps/unix/sysv/linux/bits/dirent.h
5202 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5203 (_DIRENT_MATCHES_DIRENT64): New macro.
5204
03af9520
RM
5205 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5206 Define lockf64 as an alias.
5207 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5208 Define fseeko64 as an alias.
5209 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5210 Define ftello64 as an alias.
5211 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5212 Define _IO_fgetpos64 and fgetpos64 as aliases.
5213 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5214 Define _IO_fsetpos64 and fsetpos64 as aliases.
5215 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5216 Conditionalize body on this.
5217 * libio/fseeko64.c: Likewise.
5218 * libio/ftello64.c: Likewise.
5219 * libio/iofgetpos64.c: Likewise.
5220 * libio/iofsetpos64.c: Likewise.
5221 * sysdeps/wordsize-64/lockf.c: File removed.
5222 * sysdeps/wordsize-64/lockf64.c: File removed.
5223 * sysdeps/wordsize-64/fseeko.c: File removed.
5224 * sysdeps/wordsize-64/fseeko64.c: File removed.
5225 * sysdeps/wordsize-64/ftello.c: File removed.
5226 * sysdeps/wordsize-64/ftello64.c: File removed.
5227 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5228 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5229 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5230 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5231 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5232 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5233 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5234 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5235 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5236 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5237 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5238 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5239 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5240 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5241
5242 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5243 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5244 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5245 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5246 [defined __arch64__ || defined __sparcv9]
5247 (__OFF_T_MATCHES_OFF64_T): New macro.
5248 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5249 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5250 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5251 (__OFF_T_MATCHES_OFF64_T): New macro.
5252
c5757acd
L
52532012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5254
5255 * stdlib/secure-getenv.c (__secure_getenv): Replace
5256 GLIBC_2_16 with GLIBC_2_17.
5257
3a31811e
L
52582012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5259
5260 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5261 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5262
faa2bccb
DM
52632012-08-03 David S. Miller <davem@davemloft.net>
5264
5265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5266
85fe1997
JM
52672012-08-03 Joseph Myers <joseph@codesourcery.com>
5268
5269 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5270 Remove.
5271 (__ASSUME_CORRECT_SI_PID): Likewise.
5272 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5273 (__ASSUME_TMPFS_NAME): Likewise.
5274 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5275 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5276 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5277 (HAVE_AUX_SECURE): Make definition unconditional.
5278 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5279 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5280
4f75b7a0
RM
52812012-08-03 Roland McGrath <roland@hack.frob.com>
5282
5283 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5284 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5285 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5286 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5287 __eloop_threshold instead of SYMLOOP_MAX.
5288
5289 * sysdeps/generic/eloop-threshold.h: New file.
5290 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5291 of MAXSYMLINKS.
5292 * elf/chroot_canon.c (chroot_canon): Likewise.
5293
7aab07e4
JM
52942012-08-03 Joseph Myers <joseph@codesourcery.com>
5295
5296 [BZ #13717]
5297 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5298 Change to 2.6.0 everywhere.
5299 * sysdeps/unix/sysv/linux/configure: Regenerated.
5300 * sysdeps/unix/sysv/linux/kernel-features.h
5301 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5302 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5303 kernel versions.
5304 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5305 (__ASSUME_FUTEX_REQUEUE): Remove.
5306 (__ASSUME_STATFS64): Define unconditionally.
5307 (__ASSUME_AT_SECURE): Likewise.
5308 (__ASSUME_CORRECT_SI_PID): Likewise.
5309 (__ASSUME_TGKILL): Define without depending on kernel version for
5310 i386.
5311 (__ASSUME_UTIMES): Likewise.
5312 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5313 kernel version.
5314 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5315 (__ASSUME_TMPFS_NAME): Likewise.
5316 * README: Update reference to Linux kernel versions.
5317
b67e9372
MP
53182012-08-02 Marek Polacek <polacek@redhat.com>
5319
1f529f7d 5320 [BZ# 14150]
b67e9372
MP
5321 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5322 libc_cv_asm_type_prefix with %.
5323 * configure: Regenerated.
d2441631
RM
5324 * include/libc-symbols.h: Remove comment about
5325 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
5326 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5327 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5328 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5329 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5330 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5331 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5332 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5333 * elf/tst-unique2mod1.c: Likewise.
5334 * elf/tst-unique1mod2.c: Likewise.
5335 * elf/tst-unique1mod1.c: Likewise.
5336 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5337 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5338 Replace ASM_TYPE_DIRECTIVE with .type.
5339 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5340 * sysdeps/i386/sysdep.h: Likewise.
5341 * sysdeps/x86_64/sysdep.h: Likewise.
5342 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
5343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5344 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 5345 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
5346 * sysdeps/powerpc/powerpc32/sysdep.h:
5347 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
5348 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5349 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5350 * sysdeps/i386/fpu/e_powf.S: Likewise.
5351 * sysdeps/i386/fpu/e_expl.S: Likewise.
5352 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5353 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5354 * sysdeps/i386/fpu/e_pow.S: Likewise.
5355 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5356 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5357 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5358 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5359 * sysdeps/i386/fpu/e_log2.S: Likewise.
5360 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5361 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5362 * sysdeps/i386/fpu/e_powl.S: Likewise.
5363 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5364 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5365 * sysdeps/i386/fpu/e_logl.S: Likewise.
5366 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5367 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5368 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5369 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5370 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5371 * sysdeps/i386/fpu/e_log.S: Likewise.
5372 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5373 * sysdeps/i386/fpu/e_logf.S: Likewise.
5374 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5375 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5376 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5377 * sysdeps/i386/fpu/e_log10.S: Likewise.
5378 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5379 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5380 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5381 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5382 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5383 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5384 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5385 * sysdeps/i386/i686/strtok.S: Likewise.
5386 * sysdeps/i386/i386-mcount.S: Likewise.
5387 * sysdeps/i386/strtok.S: Likewise.
5388 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5389 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5390 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5391 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5392 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5393 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5394 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5395 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5396 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5397 * sysdeps/x86_64/_mcount.S: Likewise.
5398 * sysdeps/x86_64/strtok.S: Likewise.
5399 * sysdeps/sh/_mcount.S: Likewise.
5400
2747bf9a
RM
54012012-08-01 Roland McGrath <roland@hack.frob.com>
5402
5403 * libio/iofopen.c: Include <fcntl.h>.
5404 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5405 (_IO_fopen64, fopen64): Define as aliases.
5406 * libio/iofopen64.c: Include <fcntl.h>.
5407 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5408 Conditionalize body on this.
5409 * sysdeps/wordsize-64/iofopen.c: File removed.
5410 * sysdeps/wordsize-64/iofopen64.c: File removed.
5411
3fb791b8
MP
54122012-08-01 Marek Polacek <polacek@redhat.com>
5413
5414 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5415 Use dlfcn directly instead of a variable.
5416 (binfmt-subdir): Do not define.
5417 (dlfcn): Likewise.
5418
a9f1039f
JM
54192012-08-01 Joseph Myers <joseph@codesourcery.com>
5420
23bddc06
JM
5421 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5422 Remove all definitions.
5423 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5424 <kernel-features.h>.
5425 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5426 (miss_F_GETOWN_EX): Remove all definitions.
5427 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5428 macro definition.
5429 [!__ASSUME_FCNTL64]: Remove conditional code.
5430 [__ASSUME_FCNTL64]: Make code unconditional.
5431 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5432 <kernel-features.h>.
5433 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5434 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5435 (lockf64) [__NR_fcntl64]: Make code unconditional.
5436 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5437
a9f1039f
JM
5438 * sysdeps/unix/sysv/linux/kernel-features.h
5439 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5440 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5441 Make code unconditional.
5442 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5443 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5445 [__NR_vfork]: Make code unconditional.
5446 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5447 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5449 [__NR_vfork]: Make code unconditional.
5450 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5451 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5452
09c0ee5f
RM
54532012-08-01 Roland McGrath <roland@hack.frob.com>
5454
48aec5b9
RM
5455 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5456 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5457
cd97c966
RM
5458 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5459 Define mkstemp64 as an alias.
3f55550c
RM
5460 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5461 Define mkstemps64 as an alias.
cd97c966
RM
5462 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5463 Define mkostemp64 as an alias.
b8625cfc
RM
5464 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5465 Define mkostemps64 as an alias.
cd97c966
RM
5466 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5467 Conditionalize body on this.
5468 * misc/mkostemp64.c: Likewise.
b8625cfc 5469 * misc/mkostemps64.c: Likewise.
3f55550c 5470 * misc/mkstemps64.c: Likewise.
cd97c966
RM
5471 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5472 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5473 * sysdeps/wordsize-64/mkostemp.c: File removed.
5474 * sysdeps/wordsize-64/mkstemp.c: File removed.
5475 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5476 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5477 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5478 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5479
09c0ee5f
RM
5480 [BZ #14138]
5481 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5482 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5483 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5484 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5485
5486 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5487 compat_symbol macros from <shlib-compat.h> rather than the underlying
5488 default_symbol_version and symbol_version macros, so that DEFAULT
5489 lines in shlib-versions are respected.
5490 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5491
7e66ee51
FW
54922012-08-01 Florian Weimer <fweimer@redhat.com>
5493
5494 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5495 Declare with warn_unused_result.
5496 (setgid, setregid, setegid, setresgid): Likewise.
5497 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5498 Likewise.
5499 * WUR-REPORT: Remove set*id functions.
5500
d2a54255
PT
55012012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5502
5503 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5504
7ecdb005
RM
55052012-07-31 Roland McGrath <roland@hack.frob.com>
5506
789bd351
RM
5507 * include/sys/socket.h (__libc_accept, __libc_accept4):
5508 Add attribute_hidden.
5509 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5510
40ce302d
RM
5511 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5512 use of PTR_MANGLE.
5513 * inet/getnetgrent_r.c (setup): Likewise.
5514
7ecdb005
RM
5515 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5516
e2eabb2c
DM
55172012-07-31 David S. Miller <davem@davemloft.net>
5518
5519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5520
d0419dbf
JM
55212012-07-31 Joseph Myers <joseph@codesourcery.com>
5522
5523 [BZ #13629]
5524 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5525 value between 1.0 and 2.0 and smaller part has absolute value less
5526 than 1.0.
5527 * math/s_clog10.c (__clog10): Likewise.
5528 * math/s_clog10f.c (__clog10f): Likewise.
5529 * math/s_clog10l.c (__clog10l): Likewise.
5530 * math/s_clogf.c (__clogf): Likewise.
5531 * math/s_clogl.c (__clogl): Likewise.
5532 * math/libm-test.inc (clog_test): Add more tests.
5533 (clog10_test): Likewise.
5534 * sysdeps/i386/fpu/libm-test-ulps: Update.
5535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5536
2bc13872
FW
55372012-07-31 Florian Weimer <fweimer@redhat.com>
5538
5539 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5540 Exit with zero in case no suitable GID is found, and write a
5541 message to standard error.
5542
bea9b193
RM
55432012-07-30 Roland McGrath <roland@hack.frob.com>
5544
5545 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5546 rather than to 1.
5547 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5548 (MAXPATHLEN): Removed.
5549 (NOGROUP, NODEV): New macros.
5550 (setbit, clrbit, isset, isclr): New macros.
5551 (howmany, roundup, powerof2): New macros.
5552 (DEV_BSIZE): New macro.
5553
5554 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5555 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5556
5557 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5558 definition on [!__NO_LONG_DOUBLE_MATH].
5559
5560 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5561 PTR_MANGLE and PTR_DEMANGLE.
5562
5563 * socket/accept4.c (accept4): Rename to __libc_accept4.
5564 Define accept4 as a weak alias.
5565
5566 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5567 on [_DIRENT_HAVE_D_TYPE].
5568 * io/ftw.c (ftw_dir): Likewise.
5569
5570 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5571
5572 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5573
5574 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5575 Use the BSD numbers rather than the arbitrary ones we had.
5576 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5577 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5578 (SIGXCPU, SIGXFSZ): New macros.
5579 (_NSIG): Now 32.
5580
5581 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5582 initializer on [_LIBC_REENTRANT].
5583
5584 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5585 definitions inside [_POSIX_MAPPED_FILES].
5586
5587 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5588
5589 * dirent/opendir.c: Include <fcntl.h>.
5590
5591 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5592 (__libc_getspecific): Likewise.
5593 (__libc_key_create): Likewise.
5594
5595 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5596 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5597 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5598 (tmpfile64): Define as alias.
5599 * sysdeps/wordsize-64/tmpfile.c: File removed.
5600 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5601 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5602 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5603
5604 * stdio-common/vfscanf.c: Include <stdbool.h>.
5605 * nss/makedb.c: Likewise.
5606 * stdio-common/_i18n_number.h: Likewise.
5607 * argp/argp-help.c: Likewise.
5608 * posix/wordexp.c: Likewise.
5609 * sysdeps/posix/spawni.c: Likewise.
5610 * nss/nss_files/files-initgroups.c: Likewise.
5611 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5612 * nss/nss_files/files-initgroups.c: Likewise.
5613 * nss/nss_db/db-netgrp.c: Likewise.
5614 * nss/nss_db/db-initgroups.c: Likewise.
5615 * io/fchmodat.c: Include <sys/stat.h>.
5616
5617 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5618 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5619
5620 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5621 [HAVE_MMAP].
5622
5623 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5624 Add multiple inclusion protection.
5625
e5abc686
DM
56262012-07-27 David S. Miller <davem@davemloft.net>
5627
5628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5629
815e6fa3
GB
56302012-07-27 Gary Benson <gbenson@redhat.com>
5631
5632 [BZ #14298]
5633 * elf/rtld.c: Include <stap-probe.h>.
5634 (dl_main): Added static probes "init_start" and "init_complete".
5635 * elf/dl-load.c: Include <stap-probe.h>.
5636 (lose): Take new parameter "nsid".
5637 Added static probe "map_failed".
5638 (_dl_map_object_from_fd): Pass namespace id to lose.
5639 Added static probe "map_start".
5640 (open_verify): Pass namespace id to lose.
5641 * elf/dl-open.c: Include <stap-probe.h>.
5642 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5643 and "reloc_complete".
5644 * elf/dl-close.c: Include <stap-probe.h>.
5645 (_dl_close_worker): Added static probes "unmap_start" and
5646 "unmap_complete".
5647 * elf/rtld-debugger-interface.txt: New file documenting the above.
5648
9f98c16c
RM
56492012-07-26 Roland McGrath <roland@hack.frob.com>
5650
5651 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5652 rather than a string variable.
5653 * sunrpc/rpc_main.c (h_output): Likewise.
5654 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5655
f3c22df3
PT
56562012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5657
5658 * inet/check_native.c: New file.
5659
3129cfc6
JM
56602012-07-26 Joseph Myers <joseph@codesourcery.com>
5661
da865e95
JM
5662 [BZ #13629]
5663 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5664 if larger part has absolute value 1.0.
5665 * math/s_clog10.c (__clog10): Likewise.
5666 * math/s_clog10f.c (__clog10f): Likewise.
5667 * math/s_clog10l.c (__clog10l): Likewise.
5668 * math/s_clogf.c (__clogf): Likewise.
5669 * math/s_clogl.c (__clogl): Likewise.
5670 * math/libm-test.inc (clog_test): Add more tests.
5671 (clog10_test): Likewise.
5672 * sysdeps/i386/fpu/libm-test-ulps: Update.
5673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5674
3129cfc6
JM
5675 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5676 (pltexit): Likewise.
5677 (La_regs): Likewise.
5678 (La_retval): Likewise.
5679 (int_retval): Likewise.
5680 Update #error for removed macros to refer only to definitions in
5681 tst-audit.h.
5682 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5683 macro.
5684 (pltexit): Likewise.
5685 (La_regs): Likewise.
5686 (La_retval): Likewise.
5687 (int_retval): Likewise.
5688 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5689 macro.
5690 (pltexit): Likewise.
5691 (La_regs): Likewise.
5692 (La_retval): Likewise.
5693 (int_retval): Likewise.
5694 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5695 macro.
5696 (pltexit): Likewise.
5697 (La_regs): Likewise.
5698 (La_retval): Likewise.
5699 (int_retval): Likewise.
5700 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5701 macro.
5702 (pltexit): Likewise.
5703 (La_regs): Likewise.
5704 (La_retval): Likewise.
5705 (int_retval): Likewise.
5706 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5707 macro.
5708 (pltexit): Likewise.
5709 (La_regs): Likewise.
5710 (La_retval): Likewise.
5711 (int_retval): Likewise.
5712 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5713 macro.
5714 (pltexit): Likewise.
5715 (La_regs): Likewise.
5716 (La_retval): Likewise.
5717 (int_retval): Likewise.
5718 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5719 macro definitions in tst-audit.h.
5720 * sysdeps/i386/tst-audit.h: New file.
5721 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5722 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5723 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5724 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5725 * sysdeps/sh/tst-audit.h: Likewise.
5726 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5727 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5728 * sysdeps/x86_64/tst-audit.h: Likewise.
5729
bfc07087
AJ
57302012-07-26 Andreas Jaeger <aj@suse.de>
5731
b1b2aaf8
AJ
5732 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5733 ptrace.
5734
5735 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5736 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5737 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5738 PTRACE_O_MASK.
5739 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5740 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5741 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5742
bfc07087
AJ
5743 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5744 value.
5745
5746 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5747 _sigsys.
5748 (si_call_addr, si_syscall, si_arch): Define new macro.
5749 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5750 _sigsys.
5751 (si_call_addr, si_syscall, si_arch): Define new marcro.
5752 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5753 _sigsys.
5754 (si_call_addr, si_syscall, si_arch): Define new macro.
5755 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5756 _sigsys.
5757 (si_call_addr, si_syscall, si_arch): Define new macro.
5758
89b4b02f
JM
57592012-07-25 Joseph Myers <joseph@codesourcery.com>
5760
5761 [BZ #13717]
5762 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5763 Change to 2.4.21 where previously 2.4.1.
5764 * sysdeps/unix/sysv/linux/configure: Regenerated.
5765 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5766 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5767 Linux kernel version.
5768 (__ASSUME_STD_AUXV): Remove.
5769 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5770 kernel version.
5771 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5772 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5773 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5774 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5775 (__ASSUME_NETLINK_SUPPORT): Likewise.
5776 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5777 (__no_netlink_support): Remove conditional definition.
5778 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5779 Remove.
5780 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5781 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5782 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5783 (if_nameindex_ioctl): Remove.
5784 (if_nameindex_netlink): Do not handle __no_netlink_support.
5785 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5786 code.
5787 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5788 Remove conditional code.
5789 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5790 code.
5791 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5792 unconditional.
5793 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5794 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5795 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5796 Remove.
5797 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5798 [!__ASSUME_STD_AUXV]: Remove conditional code.
5799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5800 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5801 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5803 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5804 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5805 code.
5806 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5808 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5809 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5810 conditional code.
5811 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5813 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5814 code.
5815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5816 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5817 conditional code.
5818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5819 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5820 code unconditional.
5821 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5822 conditional code.
5823 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5824 unconditional.
5825 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5826 conditional code.
5827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5828 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5829 unconditional.
5830 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5831 conditional code.
5832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5833 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5834 code unconditional.
5835 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5836 conditional code.
5837 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5838 unconditional.
5839 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5840 conditional code.
5841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5842 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5843 code unconditional.
5844 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5845 conditional code.
5846 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5847 unconditional.
5848 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5849 conditional code.
5850
842a39cd
AS
58512012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5852
5853 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5854 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5855 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5856 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5857 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5858 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5859 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5860 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5861 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5862 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5863 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5864 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5865 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5866 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5867 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5868 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5869 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5870 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5871 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5872 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5873 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5874 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5875 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5876
84b3fd84
FW
58772012-07-25 Florian Weimer <fweimer@redhat.com>
5878
5879 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
5880 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5881 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5882 Introduce __libc_secure_getenv.
0c7936d5
FW
5883 * stdlib/Versions (2.17): Add secure_getenv
5884 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5885 * stdlib/secure-getenv.c: Rename __secure_getenv to
5886 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5887 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
5888 * stdlib/tst-secure-getenv.c: New.
5889 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
5890 * manual/startup.texi (Environment Access): Document
5891 secure_getenv.
84b3fd84
FW
5892 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5893 __libc_secure_getenv.
5894 * inet/ruserpass.c (ruserpass): Likewise.
5895 * malloc/mtrace.c (mtrace): Likewise.
5896 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 5897 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
5898 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5899 * sysdeps/posix/tempname.c: Likewise. Evaluate
5900 HAVE_SECURE_GETENV.
5901 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 5902 __secure_getenv to __libc_secure_getenv.
84b3fd84 5903 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
5904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5905 Likewise.
5906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5907 Likewise.
5908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5910 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 5915
56e49b71
JM
59162012-07-25 Joseph Myers <joseph@codesourcery.com>
5917
5918 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5919 (struct La_i86_retval): Likewise.
5920 (struct La_x86_64_regs): Likewise.
5921 (struct La_x86_64_retval): Likewise.
5922 (struct La_x32_regs): Likewise.
5923 (struct La_x32_retval): Likewise.
5924 (struct La_ppc32_regs): Likewise.
5925 (struct La_ppc32_retval): Likewise.
5926 (struct La_ppc64_regs): Likewise.
5927 (struct La_ppc64_retval): Likewise.
5928 (struct La_sh_regs): Likewise.
5929 (struct La_sh_retval): Likewise.
5930 (struct La_s390_32_regs): Likewise.
5931 (struct La_s390_32_retval): Likewise.
5932 (struct La_s390_64_regs): Likewise.
5933 (struct La_s390_64_retval): Likewise.
5934 (struct La_sparc32_regs): Likewise.
5935 (struct La_sparc32_retval): Likewise.
5936 (struct La_sparc64_regs): Likewise.
5937 (struct La_sparc64_retval): Likewise.
5938 (struct audit_ifaces): Remove architecture-specific pltenter and
5939 pltexit members.
5940 * sysdeps/i386/ldsodefs.h: New file.
5941 * sysdeps/powerpc/ldsodefs.h: Likewise.
5942 * sysdeps/s390/ldsodefs.h: Likewise.
5943 * sysdeps/sh/ldsodefs.h: Likewise.
5944 * sysdeps/sparc/ldsodefs.h: Likewise.
5945 * sysdeps/x86_64/ldsodefs.h: Likewise.
5946
354691b7
MP
59472012-07-25 Marek Polacek <polacek@redhat.com>
5948
5949 [BZ #6808]
5950 * math/libm-test.inc (yn_test): Add another test.
5951 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5952 to ERANGE when the result is +-Inf.
5953 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5954 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5955 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5956 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5957
bf9e2071
JM
59582012-07-24 Joseph Myers <joseph@codesourcery.com>
5959
5960 * conform/data/time.h-data (NULL): Use macro-constant. Require
5961 equal to 0.
5962 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5963 clock_t.
5964 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5965
57633811
TS
59662012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5967
5968 * configure.in <sysdeps resolving>: Correct printing
5969 Implies_before.
5970 * configure: Regenerate.
5971
c23c33b0
TS
59722012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5973
5974 * math/w_ilogb.c: Include <limits.h>.
5975 * math/w_ilogbl.c: Likewise.
5976
b5982523
JM
59772012-07-20 Joseph Myers <joseph@codesourcery.com>
5978
5979 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5980 va_copy. Document allowing for unavailable va_copy only as
5981 pre-C99 compatibility.
5982 * manual/string.texi (Copying and Concatenation): Use va_copy
5983 instead of __va_copy in concat example.
5984
ac4ea442
PT
59852012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5986
5987 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5988 (__sendto): Use create_address_port. Initialize APORT and deallocate
5989 it if not null.
5990
f98eafbd
PT
5991 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5992 with O_NOLINK passed to __file_name_lookup.
5993
898c7aab
PT
5994 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5995 with O_NOLINK passed to __file_name_lookup.
5996
0ced335a
PT
5997 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5998 negative N or less than NGIDS.
5999
b3404dbd
PT
6000 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6001 type to string_t. Set ERANGE as errno and return it if NAME is not big
6002 enough. Use memcpy instead of strncpy.
6003
0f48659e
JM
60042012-07-20 Joseph Myers <joseph@codesourcery.com>
6005
6006 * elf/Makefile (check-data): Remove.
6007 (localplt.data): New vpath directive.
6008 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6009 instead of $(check-data).
6010 * scripts/data/localplt-generic.data: Move to ...
6011 * sysdeps/generic/localplt.data: ... here.
6012 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6013 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6014 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6016 ... here.
6017 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6019 ... here.
6020 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6022 ... here.
6023 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6025 ... here.
6026 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6028 ... here.
6029 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6031 ... here.
6032
d37cbdaa
AZ
60332012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6034
6035 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6036 PPC32 and PPC64 files.
6037 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6038 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6039
46f85fc2
AK
60402012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6041
6042 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6043 __makecontext_ret to ...
6044 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6045 ... here and call exit if uc_link is NULL. New file.
6046 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6047 __makecontext_ret.S.
6048 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6049 __makecontext_ret to ...
6050 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6051 ... here and call exit if uc_link is NULL. New file.
6052 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6053 __makecontext_ret.S.
6054
08f43f9b
AK
60552012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6056
6057 * elf/elf.h (R_390_IRELATIVE): New definition.
6058 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6059 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6060 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6061 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6062 (elf_machine_lazy_rel): Likewise.
6063 * sysdeps/s390/dl-irel.h: New file.
6064 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6065 * sysdeps/s390/s390-64/memset.S: New asm code.
6066 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6067 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6068 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6069 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6070 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6071 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6072 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6073 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6074 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6075 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6076 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6077 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6078 * sysdeps/s390/s390-32/memset.S: New asm code.
6079 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6080
3b05db33
MP
60812012-07-17 Marek Polacek <polacek@redhat.com>
6082
6083 [BZ #14349]
6084 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6085 * sysdeps/s390/s390-64/configure.in: Likewise.
6086 * sysdeps/sparc/configure.in: Likewise.
6087 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6088 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6089 * sysdeps/i386/configure.in: Likewise.
6090 * sysdeps/x86_64/configure.in: Likewise.
6091 * sysdeps/sh/configure.in: Likewise.
6092 * sysdeps/s390/s390-32/configure: Regenerated.
6093 * sysdeps/s390/s390-64/configure: Likewise.
6094 * sysdeps/x86_64/configure: Likewise.
6095 * sysdeps/sh/configure: Likewise.
6096 * sysdeps/powerpc/powerpc64/configure: Likewise.
6097 * sysdeps/powerpc/powerpc32/configure: Likewise.
6098 * sysdeps/sparc/configure: Likwise.
6099 * sysdeps/i386/configure: Likewise.
6100
a66877c6
MP
6101 * elf/dl-open.c: Comment fixes.
6102
cfc82fd8
JM
61032012-07-17 Joseph Myers <joseph@codesourcery.com>
6104
bd29910a
JM
6105 * Makefile [CXX] (check-data): Remove.
6106 [CXX] (c++-types.data): New vpath directive.
6107 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6108 vpath. Do not allow for C++ type data being missing.
6109 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6110 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6111 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6112 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6113 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6114 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6115 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6117 ... here.
6118 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6120 ... here.
6121 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6123 ... here.
6124 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6126 ... here.
6127 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6129 ... here.
6130 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6132 ... here.
6133 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6135 ... here.
6136 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6138
cfc82fd8
JM
6139 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6140 definitions to architecture-specific files.
6141 (TLS_IE): Likewise.
6142 (TLS_LD): Likewise.
6143 (TLS_GD): Likewise.
6144 * sysdeps/i386/tls-macros.h: New file.
6145 * sysdeps/powerpc/tls-macros.h: Likewise.
6146 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6147 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6148 * sysdeps/sh/tls-macros.h: Likewise.
6149 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6150 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6151 * sysdeps/x86_64/tls-macros.h: Likewise.
6152
f7db3170
TS
61532012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6154
07cbfc23
TS
6155 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6156 zero value for regular exit case.
6157
f7db3170
TS
6158 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6159 (__start_context): Preserve zero value for regular exit case.
6160
dc97c227
TS
61612012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6162 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6163
6164 * manual/setjmp.texi (setcontext): Clarify normal process
6165 termination when uc_link is the null pointer.
6166 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6167 exit call.
6168
d0cd7d02
AS
61692012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6170
6171 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6172 preprocessor. Test for each exception mask separately.
6173
dd318934
AJ
61742012-07-16 Andreas Jaeger <aj@suse.de>
6175
6176 * po/ru.po: Update from translation team.
6177
8048311a
JM
61782012-07-15 Joseph Myers <joseph@codesourcery.com>
6179
6180 * conform/data/string.h-data (NULL): Use macro-constant. Require
6181 equal to 0.
6182 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6183 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6184 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6185 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6186 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6187
b637d46e
AJ
61882012-07-13 Andreas Jaeger <aj@suse.de>
6189
6190 * po/fr.po: Update from translation team.
6191
541428fe
MP
61922012-07-12 Marek Polacek <polacek@redhat.com>
6193
6194 [BZ #14173]
6195 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6196 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6197 loop condition.
6198
ec332e94
JM
61992012-07-12 Joseph Myers <joseph@codesourcery.com>
6200
6201 [BZ #13717]
6202 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6203 Change to 2.4.1 where previously 2.4.0.
6204 * sysdeps/unix/sysv/linux/configure: Regenerated.
6205 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6206 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6207 version.
6208 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6209 (__ASSUME_AT_CLKTCK): Remove.
6210 (__ASSUME_AT_PAGESIZE): Likewise.
6211 (__ASSUME_AT_XID): Likewise.
6212 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6213 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6214 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6215 unconditionally.
6216 (HAVE_AUX_PAGESIZE): Likewise.
6217 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6218 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6219 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6220
7b6e99be
JB
62212012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6222
6223 [BZ #14307]
6224 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6225 the temporary buffer used to invoke __gethostbyname2_r,
6226 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6227 host_data / struct gaih_addrtuple.
6228 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6229 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6230 header file nss/nsswitch.h.
6231 * nss/nsswitch.h (global scope): Add definition of implementation
6232 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6233 resolv/nss_dns/dns-host.c).
6234
608404eb
AJ
62352012-07-11 Andreas Jaeger <aj@suse.de>
6236
6237 * po/fr.po: Update from translation team.
6238
71220aca
AJ
6239 * po/sv.po: Update from translation team
6240 * po/fr.po: Another update from translation team.
6241
28cfe843
AZ
62422012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6243
6244 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6245 for subnormals or multiply small sinh result by itself.
6246 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6248
6b90f981
DM
62492012-07-11 David S. Miller <davem@davemloft.net>
6250
6251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6252
c6825772
AS
62532012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6254
6255 [BZ #14347]
6256 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6257 (INTERNAL_MARK): Shift it here.
6258
7b8e0d49
MP
62592012-07-10 Marek Polacek <polacek@redhat.com>
6260
6261 [BZ #14151]
6262 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6263 libc_cv_asm_global_directive with .globl.
6264 * configure: Regenerated.
6265 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6266 with .globl.
6267 * sysdeps/i386/configure: Regenerated.
6268 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6269 with .globl.
6270 * sysdeps/x86_64/configure: Regenerated.
6271 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6272 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6273 * elf/tst-unique2mod2.c: Likewise.
6274 * elf/tst-unique2mod1.c: Likewise.
6275 * elf/tst-unique1mod2.c: Likewise.
6276 * elf/tst-unique1mod1.c: Likewise.
6277 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6278 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6279 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6280 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6281 * sysdeps/mach/sysdep.h: Likewise.
6282 * sysdeps/i386/sysdep.h: Likewise.
6283 * sysdeps/i386/i386-mcount.S: Likewise.
6284 * sysdeps/x86_64/_mcount.S: Likewise.
6285 * sysdeps/x86_64/sysdep.h: Likewise.
6286 * sysdeps/sh/_mcount.S: Likewise.
6287 * sysdeps/sh/sysdep.h: Likewise.
6288 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6289 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6290 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6291 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6292 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6293 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6294 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6295 * locale/localeinfo.h: Likewise.
6296 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6297 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6298
6c55cda3
RM
62992012-07-09 Roland McGrath <roland@hack.frob.com>
6300
6301 [BZ #14336]
6302 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6303 system".
6304 * manual/message.texi (The Uniforum approach): Likewise.
6305 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6306 (glibc iconv Implementation): Likewise.
6307
638a572e
JM
63082012-07-09 Joseph Myers <joseph@codesourcery.com>
6309
6310 [BZ #14337]
6311 * math/s_clog.c (__clog): Avoid scaling a value down where that
6312 could result in underflow.
6313 * math/s_clog10.c (__clog10): Likewise.
6314 * math/s_clog10f.c (__clog10f): Likewise.
6315 * math/s_clog10l.c (__clog10l): Likewise.
6316 * math/s_clogf.c (__clogf): Likewise.
6317 * math/s_clogl.c (__clogl): Likewise.
6318 * math/libm-test.inc (clog_test): Add more tests.
6319 (clog10_test): Likewise.
6320 * sysdeps/i386/fpu/libm-test-ulps: Update.
6321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6322
261f4859
AS
63232012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6324
0abaf3e4
AS
6325 [BZ #14283]
6326 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6327 by 7 not 8 to examine high bit of fractional part.
6328
261f4859
AS
6329 [BZ #14042]
6330 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6331 for call to __mcount_internal.
6332 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6333 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6334 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6335
f17ac40d
JM
63362012-07-06 Joseph Myers <joseph@codesourcery.com>
6337
9ad63c23
JM
6338 [BZ #14154]
6339 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6340 approximation for values within 0x1p-13f of an odd multiple of
6341 pi/4.
6342 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6343 exception. Add more tests.
6344 * sysdeps/i386/fpu/libm-test-ulps: Update.
6345
f17ac40d
JM
6346 [BZ #6778]
6347 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6348 inputs and return -1 for them. Do not check for +Inf in case not
6349 reachable for +Inf.
6350 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6351 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6352 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6353 and return -1 for them. Do not check for +Inf in case not
6354 reachable for +Inf.
6355 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6356 define.
6357 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6358 and return -1 for them. Do not check for +Inf in case not
6359 reachable for +Inf.
6360 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6361 spurious underflow.
6362 * sysdeps/i386/fpu/libm-test-ulps: Update.
6363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6364
fb21f89b
MF
63652012-07-06 Mike Frysinger <vapier@gentoo.org>
6366
6367 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6368
cdfe2c5e
JM
63692012-07-05 Joseph Myers <joseph@codesourcery.com>
6370
6371 [BZ #14157]
6372 [BZ #14331]
6373 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6374 could result in spurious underflow. Scale down values above
6375 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6376 * math/s_csqrtf.c (__csqrtf): Likewise.
6377 * math/s_csqrtl.c (__csqrtl): Likewise.
6378 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6379 spurious underflow.
6380 * sysdeps/i386/fpu/libm-test-ulps: Update.
6381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6382
70d35b67
AS
63832012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6384
704bc459
AS
6385 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6386 xopen-msg.sed.
6387 * catgets/xopen-msg.awk: New file.
6388 * catgets/xopen-msg.sed: Removed.
6389
70d35b67
AS
6390 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6391 po2text.sed.
6392 * intl/po2test.awk: New file.
6393 * intl/po2test.sed: Removed.
6394
ca61cf32
JM
63952012-07-04 Joseph Myers <joseph@codesourcery.com>
6396
6397 [BZ #14328]
6398 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6399 or multiply small sinh result by itself.
6400 * math/s_ctanf.c (__ctanf): Likewise.
6401 * math/s_ctanh.c (__ctanh): Likewise.
6402 * math/s_ctanhf.c (__ctanhf): Likewise.
6403 * math/s_ctanhl.c (__ctanhl): Likewise.
6404 * math/s_ctanl.c (__ctanl): Likewise.
6405 * math/libm-test.inc (ctan_test_tonearest): New function.
6406 (ctan_test_towardzero): Likewise.
6407 (ctan_test_downward): Likewise.
6408 (ctan_test_upward): Likewise.
6409 (ctanh_test_tonearest): Likewise.
6410 (ctanh_test_towardzero): Likewise.
6411 (ctanh_test_downward): Likewise.
6412 (ctanh_test_upward): Likewise.
6413 (main): Call these new functions.
6414 * sysdeps/i386/fpu/libm-test-ulps: Update.
6415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6416
ca48a46a
MF
64172012-07-03 Mike Frysinger <vapier@gentoo.org>
6418
6419 * .gitignore: Delete /ports entry.
6420
9d63d37d
AJ
64212012-07-03 Andreas Jaeger <aj@suse.de>
6422
6423 * po/bg.po: Update from translation team.
6424 * po/cs.po: Likewise.
6425 * po/de.po: Likewise.
6426 * po/hr.po: Likewise.
6427 * po/nl.pl: Likewise.
6428 * po/pl.po: Likewise.
6429 * po/vi.po: Likewise.
6430
370ca3d2
JM
64312012-07-03 Joseph Myers <joseph@codesourcery.com>
6432
95f5a9a8
JM
6433 * Makeconfig [!+link] (+link-before-libc): New variable.
6434 [!+link] (+link-after-libc): Likewise.
6435 [!+link] (+link-tests): Likewise.
6436 [!+link] (+link): Define in terms of $(+link-before-libc) and
6437 $(+link-after-libc).
6438 [!+link-static] (+link-static-before-libc): New variable.
6439 [!+link-static] (+link-static-after-libc): Likewise.
6440 [!+link-static] (+link-static-tests): Likewise.
6441 [!+link-static] (+link-static): Define in terms of
6442 $(+link-static-before-libc) and $(+link-static-after-libc).
6443 [build-shared] (link-libc-before-gnulib): New variable.
6444 [build-shared] (link-libc-tests): Likewise.
6445 [build-shared] (link-libc): Define in terms of
6446 $(link-libc-before-gnulib).
6447 [!build-shared] (link-libc-tests): New variable.
6448 (link-libc-static-tests): New variable.
6449 [!gnulib] (gnulib-arch): New variable.
6450 [!gnulib] (gnulib-tests): Likewise.
6451 [!gnulib] (static-gnulib-arch): Likewise.
6452 [!gnulib] (static-gnulib-tests): Likewise.
6453 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6454 Define with "=" instead of ":=".
6455 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6456 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6457 * Rules (binaries-all-notests): New variable.
6458 (binaries-all-tests): Likewise.
6459 (binaries-static-notests): Likewise.
6460 (binaries-static-tests): Likewise.
6461 (binaries-all): Define using $(binaries-all-notests) and
6462 $(binaries-all-tests).
6463 (binaries-static): Define using $(binaries-static-notests) and
6464 $(binaries-static-tests).
6465 (binaries-shared-tests): New variable.
6466 (binaries-shared-notests): Likewise.
6467 (binaries-shared): Remove variable.
6468 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6469 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6470 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6471 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6472 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6473 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6474 * elf/Makefile (sln-modules): New variable.
6475 (extra-objs): Add $(sln-modules:=.o).
6476 (ldconfig-modules): Add static-stubs.
6477 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6478 * elf/static-stubs.c: New file.
6479
7a845b2c
JM
6480 [BZ #14283]
6481 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6482 by 7 not 8 to examine high bit of fractional part. Use volatile
6483 variables when splitting into final array of floats if
6484 __FLT_EVAL_METHOD__ != 0.
6485 * math/libm-test.inc (cos_test): Add another test.
6486 (sin_test): Likewise.
6487 * sysdeps/i386/fpu/libm-test-ulps: Update.
6488
e2283f38
JM
6489 [BZ #14273]
6490 * math/libm-test.inc (cosh_test): Add more tests.
6491
370ca3d2
JM
6492 * version.h (RELEASE): Set to "development".
6493 (VERSION): Set to "2.16.90".
6494
ee9247c3
CD
64952012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6496
6497 * NEWS: Update copyright. Remove last-updated date.
6498 Mention math library bug fixes and timezone data changes.
6499 * README: Mention GNU/Hurd, x32, and HPPA support status.
6500
4648c381
TS
65012012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6502
6503 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6504
aac78a43
AJ
65052012-06-27 Andreas Jaeger <aj@suse.de>
6506
6507 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6508
ed3dbfad
AJ
65092012-06-25 Andreas Jaeger <aj@suse.de>
6510
6511 * sysdeps/s390/fpu/libm-test-ulps: Update.
6512
4d0ee855
AS
65132012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6514 Thomas Schwinge <thomas@codesourcery.com>
6515
6516 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6517 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6518 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6519 fanotify_mark.
6520
af1bce34
TS
65212012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6522
a9fa33ba
TS
6523 * sysdeps/mach/start.c: Remove file.
6524 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6525 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6526 * sysdeps/sh/init-first.c: Likewise.
6527
58f902b8
TS
6528 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6529 registers for frame unwinding purposes, add CFI directives.
6530 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6531 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6532 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6533 Likewise.
6534
1518f58b
TS
6535 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6536 __fortify_fail returning.
6537 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6538
db9b5059
TS
6539 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6540 sysdeps/sh/____longjmp_chk.S.
6541 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6542 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6543 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6544 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6545
967705fe
TS
6546 * sysdeps/sh/abort-instr.h: New file.
6547 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6548 process in case exit returns.
6549
a9def8c4
TS
6550 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6551 initialize the GOT register before use.
6552
2a649725
TS
6553 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6554 calculation of ARGC > 4.
6555
af1bce34
TS
6556 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6557 meaningful names to some local labels.
6558
d230f50a
KK
65592012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6560 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6561
6562 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6563 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6564 (__arch_compare_and_exchange_val_16_acq): Likewise.
6565 (__arch_compare_and_exchange_val_32_acq): Likewise.
6566 (atomic_exchange_and_add): Fix gUSA sequence.
6567 (atomic_add): Likewise.
6568 (atomic_add_negative): Likewise.
6569 (atomic_add_zero): Likewise.
6570 (atomic_bit_test_set): Likewise.
6571
0479b305
AS
65722012-06-22 Andreas Schwab <schwab@redhat.com>
6573
6574 [BZ #13579]
6575 * include/link.h (struct link_map): Add l_free_initfini.
6576 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6577 l_initfini.
6578 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6579 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6580 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6581 set.
6582
0e3933b9
CD
65832012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6584
6585 * configure.in: Use AC_LANG_SOURCE.
6586 * configure: Regenerate.
6587
4248b1b1
RM
65882012-06-22 Roland McGrath <roland@hack.frob.com>
6589
6590 * configure.in (libc_cv_localstatedir): New substituted variable.
6591 * configure: Regenerated.
6592 * config.make.in (localstatedir): New variable, substituted from
6593 libc_cv_localstatedir.
6594 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6595 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6596 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6597 * sysdeps/gnu/configure: Regenerated.
6598
006dd861
JL
65992012-06-21 Jeff Law <law@redhat.com>
6600
6601 [BZ #14277]
6602 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6603 free. Simplify list management for _LIBC case.
6604
79662d42
JM
66052012-06-21 Joseph Myers <joseph@codesourcery.com>
6606
b7abb4bf
JM
6607 [BZ #14273]
6608 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6609 Clear sign bit of 64-bit integer value before comparing against
6610 overflow value.
6611
79662d42
JM
6612 * sysdeps/mach/configure: Regenerated.
6613
1f150908
L
66142012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6615
6616 [BZ #14278]
6617 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6618
28363bbf
JL
66192012-06-21 Jeff Law <law@redhat.com>
6620
6621 [BZ #13882]
6622 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6623 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 6624 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
6625 * elf/dl-open.c (dl_open_worker): Likewise.
6626
09615db4
CD
66272012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6628
6629 * scripts/list-sources.sh: Scan PORTS for translations.
6630 * po/libc.pot: Regenerated.
6631
2174c6dd
AJ
66322012-06-21 Andreas Jaeger <aj@suse.de>
6633
6634 [BZ #12194]
6635 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6636 warning.
6637 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6638 * bits/byteswap-16.h (__bswap_16): Likewise.
6639 * bits/byteswap.h (__bswap_constant_16): Likewise.
6640
3ee947b1
L
66412012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6642
6643 [BZ #14117]
a2f34833
L
6644 * sysdeps/i386/fpu_control.h: Removed.
6645 * sysdeps/x86_64/fpu_control.h: Moved to ...
6646 * sysdeps/x86/fpu_control.h: Here.
6647
3ee947b1
L
6648 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6649 (_FPU_SETCW): Likewise.
6650
ed1825f8
L
66512012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6652
25f1282a
L
6653 [BZ #14117]
6654 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6655 * sysdeps/x86/fpu/bits/mathinline.h: This.
6656 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6657
ed1825f8
L
6658 [BZ #14050]
6659 [BZ #14117]
6660 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6661 functions if __x86_64__ is defined.
6662
36d54b74
CLT
66632012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6664
6665 * string/endian.h: Add !__ASSEMBLER__ condition for including
6666 conversion interfaces.
6667
10285c21
JM
66682012-06-15 Joseph Myers <joseph@codesourcery.com>
6669
6670 [BZ #14241]
6671 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6672 of ABS(x) in calculating zero to negative powers other than odd
6673 integers.
6674 * math/libm-test.inc (pow_test): Add more tests.
6675
06c5abbd
AJ
66762012-06-15 Andreas Jaeger <aj@suse.de>
6677
6678 * manual/contrib.texi (Contributors): Update entry of Liubov
6679 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6680 Machado Filho.
6681
a3aeac40
CH
66822012-06-15 Cyril Hrubis <metan@ucw.cz>
6683
6684 * string/string.h: Add __wur to GNU version of strerror_r.
6685
49bdf4c1
L
66862012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6687
6688 [BZ #14229]
6689 * string/Makefile (tests): Add tst-strtok_r.
6690 * string/tst-strtok_r.c: New file.
6691 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6692 RAX_LP/RDX_LP on SAVE_PTR.
6693
834f9b8d
RM
66942012-06-14 Roland McGrath <roland@hack.frob.com>
6695
6696 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6697
75fa1921
JM
66982012-06-14 Joseph Myers <joseph@codesourcery.com>
6699
6700 * libm_test.inc (csqrt_test): Allow more spurious underflow
6701 exceptions.
6702 (j0_test): Likewise.
6703 (j1_test): Likewise.
6704 (y0_test): Likewise.
6705 (y1_test): Likewise.
6706
771766df
CD
67072012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6708
6709 * po/Makefile (libc.pot): Use UTF-8 charset.
6710
ceb9e56b
PP
67112012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6712
6713 [BZ #14210]
6714 Suppress sign-conversion warning from FD_SET.
6715 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6716 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6717 not unsigned long int.
6718 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6719
ddb28975
L
67202012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6721
6722 [BZ #14050]
6723 [BZ #14117]
6724 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6725 __extern_always_inline instead of __extern_inline.
6726 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6727 (__signbit): Likewise.
6728 (__signbitl): Support C++ namespace.
6729 (lrintf): New inline function.
6730 (lrint): Likewise.
6731 (llrintf): Likewise.
6732 (llrint): Likewise.
6733 (fmaxf): Likewise.
6734 (fmax): Likewise.
6735 (fminf): Likewise.
6736 (fmin): Likewise.
6737 (rint): Likewise.
6738 (rintf): Likewise.
6739 (ceil): Likewise.
6740 (ceilf): Likewise.
6741 (floor): Likewise.
6742 (floorf): Likewise.
6743 (nearbyint): Likewise.
6744 (nearbyintf): Likewise.
6745
d7b4fb26
TS
67462012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6747
6748 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6749 non-default versions.
6750
eb55f5c2
RM
67512012-06-11 Roland McGrath <roland@hack.frob.com>
6752
6753 [BZ #14218]
6754 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6755
366af02c
TS
67562012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6757
99ff6e5c
TS
6758 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6759 (FE_UPWARD, FE_DOWNWARD): Don't define.
6760 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6761 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6762
366af02c
TS
6763 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6764 reading it.
6765 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6766 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6767
793ea851
KK
67682012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6769
6770 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6771 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6772 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6773 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6774
a728a38f
L
67752012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6776
6777 [BZ #14117]
c08010c7
L
6778 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6779 * sysdeps/i386/fpu/Implies: New file.
6780 * sysdeps/x86_64/fpu/Implies: Likewise.
6781 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6782 * sysdeps/x86/fpu/bits/fenv.h: This.
6783
a728a38f
L
6784 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6785 __SSE_MATH__.
6786
6e230d11
SP
67872012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6788
6789 [BZ #14134]
6790 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6791 character 0xffff that matches the last element of the
6792 conversion table.
6793
1b671feb
AZ
67942012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6795
6796 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6797 fmodl commit.
6798
6043738b
AZ
67992012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6800
6801 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6802 values higher than 25.6283.
6803
34ae0b32
AZ
68042012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6805
6806 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6807 subnormal exponent extraction and add some __builtin_expect.
6808 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6809 Fix for subnormal mantissa calculation.
6810
1214ec8f
MF
68112012-06-04 Mike Frysinger <vapier@gentoo.org>
6812
6813 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6814 cpu2 is -1 and errno is not ENOSYS.
6815
f3d1f93c
L
68162012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6817
6818 [BZ #14117]
0e4a3cd7
L
6819 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6820 * sysdeps/x86/bits/string.h: This.
6821 * sysdeps/x86_64/bits/string.h: Removed.
6822
6704c645
L
6823 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6824 if not compiling for x86-64, but compiling for >= i486.
6825
48495318
L
6826 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6827 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6828
14adcbfc
L
6829 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6830 New macro from Linux kernel 3.4.0.
6831 (FP_XSTATE_MAGIC2): Likewise.
6832 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6833 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6834 (struct _fpx_sw_bytes): New struct.
6835 (struct _xsave_hdr): Likewise.
6836 (struct _ymmh_state): Likewise.
6837 (struct _xstate): Likewise.
6838
68e408ab
L
6839 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6840 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6841 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6842 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6843 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6844 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6845
f3d1f93c
L
6846 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6847 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6848 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6849 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6850 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6851 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6852
d9dc34cd
TMQMF
68532012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6854
6855 [BZ #13743]
6856 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6857 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6858 (sysdep_headers): Include sys/platform/ppc.h.
6859 * sysdeps/powerpc/test-gettimebase.c: Test for
6860 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6861 * manual/Makefile (appendices): Include platform.texi.
6862 * manual/contrib.texi (Contributors): Update @node pointers.
6863 * manual/maint.texi (Maintenance): Likewise.
6864 (Platform): New node.
6865 * manual/platform.texi: New file. Document the new features.
6866
4af3879c
SP
68672012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6868 Jakub Jelinek <jakub@redhat.com>
6869
6870 [BZ #14188]
6871 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6872 where __builtin_expect is unavailable.
6873
2fd6ff13
DM
68742012-06-03 David S. Miller <davem@davemloft.net>
6875
6876 * stdlib/longlong.h: Updated from GCC.
6877
173f7220
AS
68782012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6879
6880 [BZ #14042]
6881 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6882 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6883 __mcount_internal.
6884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6885 (GLIBC_2.16): Likewise.
6886
f34a1c6f
L
68872012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6888
6889 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6890
88a4576f
JM
68912012-06-01 Joseph Myers <joseph@codesourcery.com>
6892
ea32bcdd
JM
6893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6894 (default-abi): New variable.
6895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6896 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6897 variable.
6898 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6899 Likewise.
6900 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6901 Likewise.
6902 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6903 Likewise.
6904
88a4576f
JM
6905 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6906 definition. Document in comment.
6907
402fe938
DM
69082012-06-01 David S. Miller <davem@davemloft.net>
6909
6910 * stdlib/longlong.h: Updated from GCC.
6911
3553723f
L
69122012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6913
6914 [BZ #14117]
3bd872c4
L
6915 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6916 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6917 sys/debugreg.h sys/io.h here.
6918 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6919 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6920 sys/io.h.
6921 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6922 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6923 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6924 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6925 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6926 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6927
3553723f
L
6928 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6929 Define only if __x86_64__ is defined.
6930
4842e4fe
JM
69312012-06-01 Joseph Myers <joseph@codesourcery.com>
6932
c5bfe3d5
JM
6933 [BZ #14048]
6934 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6935 Use int64_t for variable i.
6936 * math/libm-test.inc (fmod_test): Add more tests.
6937
4842e4fe
JM
6938 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6939 z computation is not scheduled after fetestexcept.
6940 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6941 Use math_force_eval instead of asm to ensure calculation scheduled
6942 before exception test.
6943 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6944 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6945
efb73488
AJ
69462012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6947
6948 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6949 computation is not scheduled after fetestexcept.
6950
29bcce7c
L
69512012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6952
6953 [BZ #14117]
6954 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6955 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6956
73a68f94
AZ
69572012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6958
6959 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6960 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6961
67b6df78
L
69622012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6963
edf2933a 6964 [BZ #14117]
ebc64a18
L
6965 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6966 <bits/wordsize.h>.
6967 (__WCHAR_MIN): Support __WORDSIZE == 64.
6968 (__WCHAR_MAX): Likewise.
6969
edf2933a
L
6970 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6971 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6972
57c6cf40
L
6973 [BZ #14183]
6974 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6975 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6976
67b6df78 6977 [BZ #14117]
8eb6281e
L
6978 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6979 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6980
aac639f4
L
6981 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6982 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6983
67b6df78
L
6984 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6985 Defined to 1 if __x86_64__ isn't defined.
6986 (_STAT_VER_LINUX_OLD): New.
6987 (st_atime): Remove duplicate.
6988 (st_mtime): Likewise.
6989 (st_ctime): Likewise.
6990
1c2cfe81
DM
69912012-05-31 David S. Miller <davem@davemloft.net>
6992
6993 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6994 entries.
6995
5be8418c
AS
69962012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6997
e7725326
AS
6998 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6999 gen-libm-test.pl.
7000
5be8418c
AS
7001 [BZ #14132]
7002 * elf/dl-reloc.c: Include <_itoa.h>.
7003 (_dl_reloc_bad_type): Remove use of INTUSE.
7004 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7005 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7006 * stdio-common/psiginfo.c (psiginfo): Likewise.
7007 * stdio-common/psignal.c (psignal): Likewise.
7008 * string/strsignal.c (strsignal): Likewise.
7009 * include/signal.h (_sys_siglist): Declare hidden proto.
7010 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7011 INTVARDEF with libc_hidden_data_def.
7012 * stdio-common/itoa-udigits.c: Likewise.
7013 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7014 (_itoa_lower_digits_internal): Remove declaration.
7015 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7016 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7017 (_sys_sigabbrev_internal): Remove aliases.
7018 (_sys_siglist): Define hidden alias.
7019
507352f1
MT
70202012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7021
7022 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7023 bits/sysctl.h.
7024
42bbb1c3
L
70252012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7026
7027 [BZ #14117]
6bd784b6
L
7028 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7029 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7030
8bca20f0
L
7031 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7032 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7033 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7034 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7035 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7036 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7037
f9e890a9
L
7038 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7039 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7040 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7041
471101a1
L
7042 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7043 with __addr.
7044 (insw): Likewise.
7045 (insl): Likewise.
7046 (outsb): Likewise.
7047 (outsw): Likewise.
7048 (outsl): Likewise.
7049
6451c862
L
7050 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7051 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7052 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7053
a254b8c9
L
7054 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7055 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7056 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7057 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7058 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7059 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7060
b8dfdd92
L
7061 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7062 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7063
578cd270
L
7064 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7065 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7066
de662f5f
L
7067 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7068 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7069 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7070
25653439
L
7071 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7072 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7073 to ...
7074 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7075
6bad24a0
L
7076 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7077 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7078 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7079
42bbb1c3
L
7080 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7081 for x86-64.
7082 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7083
2d10d547
JM
70842012-05-31 Joseph Myers <joseph@codesourcery.com>
7085
7086 * math/math.h (M_El): Use two more decimal places.
7087 (M_LOG2El): Likewise.
7088 (M_LOG10El): Likewise.
7089 (M_LN2l): Likewise.
7090 (M_LN10l): Likewise.
7091 (M_PIl): Likewise.
7092 (M_PI_2l): Likewise.
7093 (M_PI_4l): Likewise.
7094 (M_1_PIl): Likewise.
7095 (M_2_PIl): Likewise.
7096 (M_2_SQRTPIl): Likewise.
7097 (M_SQRT2l): Likewise.
7098 (M_SQRT1_2l): Likewise.
7099
f230c29b
DM
71002012-05-31 David S. Miller <davem@davemloft.net>
7101
7102 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7103 values between float registers.
7104 * sysdeps/sparc/sparc64/memset.S: Likewise.
7105 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7106
fed806c3
MF
71072012-05-31 Mike Frysinger <vapier@gentoo.org>
7108
7109 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7110 -D_FORTIFY_SOURCE=1.
7111 (CPPFLAGS-tst-longjmp_chk.c): Define.
7112 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7113 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7114 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7115 CFLAGS-tst-wchar-h.c.
7116
30917259
MP
71172012-05-31 Marek Polacek <polacek@redhat.com>
7118
7119 [BZ #14132]
7120 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7121 __endmntent_internal): Remove declaration.
7122 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7123 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7124 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7125
1c58d5dc
DM
71262012-05-30 David S. Miller <davem@davemloft.net>
7127
7128 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7129 (___Q_simulate_exceptions): Use real FP ops rather than writing
7130 into the %fsr.
7131 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7132 Likewise.
7133
7dc00e0d
L
71342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7135
7136 [BZ #14117]
0bd53985
L
7137 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7138 * sysdeps/x86/bits/xtitypes.h: This.
7139
3a257e66
L
7140 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7141 * sysdeps/x86/bits/wordsize.h: This.
7142
62f62904
L
7143 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7144 * sysdeps/x86/bits/huge_vall.h: This.
7145
404fe9d9
L
7146 * sysdeps/i386/bits/select.h: Removed.
7147 * sysdeps/x86_64/bits/select.h: Renamed to ...
7148 * sysdeps/x86/bits/select.h: This.
7149
d48d0446
L
7150 * sysdeps/i386/bits/setjmp.h: Removed.
7151 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7152 * sysdeps/x86/bits/setjmp.h: This.
7153
7dc00e0d
L
7154 * sysdeps/i386/bits/mathdef.h: Removed.
7155 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7156 * sysdeps/x86/bits/mathdef.h: This.
7157
03277f8f
AS
71582012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7159
7160 [BZ #14132]
7161 * include/sys/socket.h (__connect_internal)
7162 (__libc_sa_len_internal): Remove declaration.
7163 (__connect, __libc_sa_len): Declare hidden_proto.
7164 (SA_LEN): Remove use of INTUSE.
7165 * socket/connect.c: Add libc_hidden_def.
7166 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7167 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7168 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7169 alias.
7170 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7171 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7172 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7173 of adding _internal alias.
7174
13764867
L
71752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7176
7177 [BZ #14117]
6bd97696
L
7178 * sysdeps/i386/bits/link.h: Removed.
7179 * sysdeps/i386/bits/linkmap.h: Likewise.
7180 * sysdeps/x86_64/bits/link.h: Renamed to ...
7181 * sysdeps/x86/bits/link.h: This.
7182 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7183 * sysdeps/x86/bits/linkmap.h: This.
7184
f726f0bb
L
7185 * sysdeps/i386/bits/endian.h: Removed.
7186 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7187 * sysdeps/x86/bits/endian.h: This.
7188
13764867
L
7189 * sysdeps/i386/bits/byteswap.h: Removed.
7190 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7191 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7192 * sysdeps/x86/bits/byteswap.h: This.
7193 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7194 * sysdeps/x86/bits/byteswap-16.h: This.
7195 * sysdeps/i386/Implies: Add x86.
7196 * sysdeps/x86_64/Implies: Likewise.
7197
ae251b0b
DM
71982012-05-30 David S. Miller <davem@davemloft.net>
7199
7200 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7201 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7202 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7203 (FP_TRAPPING_EXCEPTIONS): Define.
7204 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7205 (FP_TRAPPING_EXCEPTIONS): Define.
7206 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7207 subnormals only when inexact has been signalled or underflow
7208 exceptions are enabled.
7209 (_FP_PACK_CANONICAL): Likewise.
7210
d5c90867
L
72112012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7212
7213 [BZ #14183]
7214 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7215 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7216
63f1549e
RH
72172012-05-30 Richard Henderson <rth@twiddle.net>
7218
8d8f2279
RH
7219 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7220 with #ifndef NOT_IN_libc.
7221
63f1549e
RH
7222 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7223 marked to avoid plt entry.
7224
0ab0291b
L
72252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7226
7227 [BZ #14112]
7228 * Makeconfig (default-abi): New macro.
7229 (abi-includes): Likewise.
7230 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7231 $(abi-$(default-abi)-lib-soname) for soname if defined.
7232 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7233 abi-variants.
7234 * Makefile (installed-stubs): Likewise.
7235 * include/stubs-biarch.h: Removed.
7236 * scripts/lib-names.awk: Only handle one library at a time.
7237 * scripts/soversions.awk: Remove WORDSIZE support.
7238 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7239 entries.
7240 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7241 Removed.
7242 (syscall-list-default-condition): Likewise.
7243 (syscall-list-default-condition): Likewise.
7244 (syscall-list-includes): Likewise.
7245 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7246 syscall-list-* with abi-*. Handle undefined abi-variants.
7247 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7248 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7249 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7250 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7251 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7252 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7253 Removed.
7254 (syscall-list-32-options): Likewise.
7255 (syscall-list-32-condition): Likewise.
7256 (syscall-list-64-options): Likewise.
7257 (syscall-list-64-condition): Likewise.
7258 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7259 macro.
7260 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7261 Renamed to ...
7262 (abi-*): This.
7263 (abi-64-ld-soname): New macro.
7264 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7265 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7266 Renamed to ...
7267 (abi-*): This.
7268 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7269 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7270
4da0431d
JM
72712012-05-30 Joseph Myers <joseph@codesourcery.com>
7272
3a85279c
JM
7273 * sysdeps/unix/sysv/linux/kernel-features.h
7274 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7275 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7276 include <kernel-features.h>.
7277 [!__NR_ftruncate64]: Remove conditional code.
7278 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7279 [__NR_ftruncate64]: Make code unconditional.
7280 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7281 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7282 include <kernel-features.h>.
7283 [!__NR_ftruncate64]: Remove conditional code.
7284 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7285 [__NR_ftruncate64]: Make code unconditional.
7286 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7288 include <kernel-features.h>.
7289 [!__NR_ftruncate64]: Remove conditional code.
7290 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7291 [__NR_ftruncate64]: Make code unconditional.
7292 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7294 include <kernel-features.h>.
7295 [!__NR_ftruncate64]: Remove conditional code.
7296 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7297 [__NR_ftruncate64]: Make code unconditional.
7298 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7299
4da0431d
JM
7300 * configure.in (libc_cv_fpie): Weaken to a compile test using
7301 LIBC_TRY_CC_OPTION.
7302 * configure: Regenerated.
7303
11ef492c
AK
73042012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7305
7306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7310 Refreshed.
7311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7317 Refreshed.
7318
d66ef399
DM
73192012-05-27 David S. Miller <davem@davemloft.net>
7320
7321 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7322 (___Q_zero): New.
7323 (__Q_simulate_exceptions): Return void. Change to simulate
7324 exceptions by writing into the %fsr.
7325 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7326 (__Qp_handle_exceptions): Likewise.
7327 (numbers): Delete.
7328 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7329 __Qp_handle_exceptions.
7330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7331 __Qp_handle_exceptions.
7332 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7333 as unused and give dummy FP_RND_NEAREST initializer.
7334 (FP_INHIBIT_RESULTS): Define.
7335 (___Q_simulate_exceptions): Update declaration.
7336 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7337 formatting.
7338 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7339 as unused and give dummy FP_RND_NEAREST initializer.
7340 (__Qp_handle_exceptions): Update declaration.
7341 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7342 formatting.
7343
04fb54b5
TS
73442012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7345
7346 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7347 the temporary FPU control word.
7348 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7349 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7350 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7351 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7352 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7353 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7354 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7355 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7356 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7357 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7358 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7359
3f99608f
KK
73602012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7361
7362 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7363 fields.
7364
65a4de4e
CLT
73652012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7366
7367 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7368 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7369 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7370 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7371 Likewise.
7372 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7373 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7374 Likewise.
7375
15749d40
UD
73762012-05-27 Ulrich Drepper <drepper@gmail.com>
7377
7378 * po/h.po: Update from translation team.
7379
25dbcb27
AS
73802012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7381
3d3f8e55
AS
7382 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7383
25dbcb27
AS
7384 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7385 handling of denormals.
7386 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7387 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7388 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7389 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7390 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7391 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7392 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7393 Likewise.
7394
7ad47a80 73952012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
7396
7397 [BZ #14152]
7398 * math/libm-test.inc (fma_test): Don't always expect underflow
7399 exception.
7400
9c6ea9fa
SP
74012012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7402
7403 [BZ #12416]
7404 * elf/tst-execstack.c: Include stackinfo.h.
7405 (do_test): Adjust test case to ensure that pthread_getattr_np
7406 behaviour remains the same after marking stack executable.
7407
a8239222
JM
74082012-05-25 Joseph Myers <joseph@codesourcery.com>
7409
7410 * sysdeps/unix/sysv/linux/kernel-features.h
7411 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7412 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7413 kernel-features.h.
7414 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7415 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7416 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7417 kernel-features.h.
7418 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7419 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7420
918b5606
L
74212012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7422
7423 * configure.in: Define the default includes to being none.
7424 * configure: Regenerated.
7425
3a097cc7
RM
74262012-05-25 Roland McGrath <roland@hack.frob.com>
7427
8422c9a5
RM
7428 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7429 * sysdeps/x86_64/setjmp.S: Likewise.
7430 * sysdeps/i386/bsd-setjmp.S: Likewise.
7431 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7432 * sysdeps/i386/setjmp.S: Likewise.
7433 * sysdeps/i386/__longjmp.S: Likewise.
7434 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7435 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7436
3a097cc7
RM
7437 * include/stap-probe.h: New file.
7438 * configure.in: Handle --enable-systemtap.
7439 * configure: Regenerated.
7440 * config.h.in (USE_STAP_PROBE): New #undef.
7441 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7442 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7443 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7444
21708942
JM
74452012-05-25 Joseph Myers <joseph@codesourcery.com>
7446
7447 [BZ #13717]
7448 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7449 to 2.4.0 where earlier.
7450 * sysdeps/unix/sysv/linux/configure: Regenerated.
7451 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7452 <kernel-features.h>.
7453 [__ASSUME_32BITUIDS]: Make code unconditional.
7454 [!__ASSUME_32BITUIDS]: Remove conditional code.
7455 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7456 <kernel-features.h>.
7457 [__ASSUME_32BITUIDS]: Make code unconditional.
7458 [!__ASSUME_32BITUIDS]: Remove conditional code.
7459 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7460 [__ASSUME_32BITUIDS]: Make code unconditional.
7461 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7462 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7463 <kernel-features.h>.
7464 [__ASSUME_32BITUIDS]: Make code unconditional.
7465 [!__ASSUME_32BITUIDS]: Remove conditional code.
7466 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7467 <kernel-features.h>.
7468 [__ASSUME_32BITUIDS]: Make code unconditional.
7469 [!__ASSUME_32BITUIDS]: Remove conditional code.
7470 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7471 <kernel-features.h>.
7472 [__ASSUME_32BITUIDS]: Make code unconditional.
7473 [!__ASSUME_32BITUIDS]: Remove conditional code.
7474 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7475 <kernel-features.h>.
7476 [__ASSUME_32BITUIDS]: Make code unconditional.
7477 [!__ASSUME_32BITUIDS]: Remove conditional code.
7478 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7479 <kernel-features.h>.
7480 [__ASSUME_32BITUIDS]: Make code unconditional.
7481 [!__ASSUME_32BITUIDS]: Remove conditional code.
7482 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7483 <kernel-features.h>.
7484 [__ASSUME_32BITUIDS]: Make code unconditional.
7485 [!__ASSUME_32BITUIDS]: Remove conditional code.
7486 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7487 <kernel-features.h>.
7488 [__ASSUME_32BITUIDS]: Make code unconditional.
7489 [!__ASSUME_32BITUIDS]: Remove conditional code.
7490 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7491 <kernel-features.h>.
7492 [__ASSUME_32BITUIDS]: Make code unconditional.
7493 [!__ASSUME_32BITUIDS]: Remove conditional code.
7494 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7495 <kernel-features.h>.
7496 [__ASSUME_32BITUIDS]: Make code unconditional.
7497 [!__ASSUME_32BITUIDS]: Remove conditional code.
7498 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7499 <kernel-features.h>.
7500 [__ASSUME_32BITUIDS]: Make code unconditional.
7501 [!__ASSUME_32BITUIDS]: Remove conditional code.
7502 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7503 <kernel-features.h>.
7504 [__NR_setresgid] (__setresgid): Do not declare.
7505 [__ASSUME_32BITUIDS]: Make code unconditional.
7506 [!__ASSUME_32BITUIDS]: Remove conditional code.
7507 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7508 <kernel-features.h>.
7509 [__NR_setresuid] (__setresuid): Do not declare.
7510 [__ASSUME_32BITUIDS]: Make code unconditional.
7511 [!__ASSUME_32BITUIDS]: Remove conditional code.
7512 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7513 <kernel-features.h>.
7514 [__ASSUME_32BITUIDS]: Make code unconditional.
7515 [!__ASSUME_32BITUIDS]: Remove conditional code.
7516 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7517 <kernel-features.h>.
7518 [__ASSUME_32BITUIDS]: Make code unconditional.
7519 [!__ASSUME_32BITUIDS]: Remove conditional code.
7520 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7521 <kernel-features.h>.
7522 [__ASSUME_32BITUIDS]: Make code unconditional.
7523 [!__ASSUME_32BITUIDS]: Remove conditional code.
7524 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7525 <kernel-features.h>.
7526 [__ASSUME_32BITUIDS]: Make code unconditional.
7527 [!__ASSUME_32BITUIDS]: Remove conditional code.
7528 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7529 <kernel-features.h>.
7530 [__ASSUME_32BITUIDS]: Make code unconditional.
7531 [!__ASSUME_32BITUIDS]: Remove conditional code.
7532 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7533 <kernel-features.h>.
7534 [__ASSUME_32BITUIDS]: Make code unconditional.
7535 [!__ASSUME_32BITUIDS]: Remove conditional code.
7536 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7537 <kernel-features.h>.
7538 [__ASSUME_32BITUIDS]: Make code unconditional.
7539 [!__ASSUME_32BITUIDS]: Remove conditional code.
7540 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7541 <kernel-features.h>.
7542 [__ASSUME_32BITUIDS]: Make code unconditional.
7543 [!__ASSUME_32BITUIDS]: Remove conditional code.
7544 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7545 <kernel-features.h>.
7546 [__ASSUME_32BITUIDS]: Make code unconditional.
7547 [!__ASSUME_32BITUIDS]: Remove conditional code.
7548 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7549 <kernel-features.h>.
7550 [__ASSUME_32BITUIDS]: Make code unconditional.
7551 [!__ASSUME_32BITUIDS]: Remove conditional code.
7552 * sysdeps/unix/sysv/linux/kernel-features.h
7553 (__ASSUME_SETRESUID_SYSCALL): Remove.
7554 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7555 (__ASSUME_32BITUIDS): Likewise.
7556 (__ASSUME_LDT_WORKS): Likewise.
7557 (__ASSUME_O_DIRECTORY): Likewise.
7558 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7559 architecture but not kernel version.
7560 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7561 (__ASSUME_MMAP2_SYSCALL): Likewise.
7562 (__ASSUME_STAT64_SYSCALL): Likewise.
7563 (__ASSUME_IPC64): Likewise.
7564 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7565 <kernel-features.h>.
7566 [__ASSUME_32BITUIDS]: Make code unconditional.
7567 [!__ASSUME_32BITUIDS]: Remove conditional code.
7568 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7569 <kernel-features.h>.
7570 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7571 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7572 132096]: Remove conditional code.
7573 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7574 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7575 <kernel-features.h>.
7576 [__ASSUME_32BITUIDS]: Make code unconditional.
7577 [!__ASSUME_32BITUIDS]: Remove conditional code.
7578 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7579 <kernel-features.h>.
7580 [__ASSUME_32BITUIDS]: Make code unconditional.
7581 [!__ASSUME_32BITUIDS]: Remove conditional code.
7582 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7583 <kernel-features.h>.
7584 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7585 unconditional.
7586 (__setresgid): Do not declare.
7587 [__ASSUME_32BITUIDS]: Make code unconditional.
7588 [!__ASSUME_32BITUIDS]: Remove conditional code.
7589 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7590 <kernel-features.h>.
7591 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7592 unconditional.
7593 (__setresuid): Do not declare.
7594 [__ASSUME_32BITUIDS]: Make code unconditional.
7595 [!__ASSUME_32BITUIDS]: Remove conditional code.
7596 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7597 <kernel-features.h>.
7598 [__ASSUME_32BITUIDS]: Make code unconditional.
7599 [!__ASSUME_32BITUIDS]: Remove conditional code.
7600 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7601 <kernel-features.h>.
7602 [__ASSUME_32BITUIDS]: Make code unconditional.
7603 [!__ASSUME_32BITUIDS]: Remove conditional code.
7604
a386f1cc
RH
76052012-05-25 Richard Henderson <rth@twiddle.net>
7606
7607 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7608 dl_hwcap to ifunc resolver.
7609 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7610 elf_ifunc_invoke.
7611 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7612 dl_hwcap to ifunc resolver.
7613 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7614
b6550497
JM
76152012-05-24 Joseph Myers <joseph@codesourcery.com>
7616
7617 [BZ #14153]
7618 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7619 for |x| <= 2**-26, not 2**-57.
7620 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7621 exception.
7622
b0bc23a1
JL
76232012-05-24 Jeff Law <law@redhat.com>
7624
7625 * stdio-common/Makefile (tests): Add bug25.
7626 * stdio-common/bug25.c: New test.
7627
347c92e9
L
76282012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7629
7630 [BZ #13576]
7631 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7632 multiple of MALLOC_ALIGNMENT in size.
7633 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7634
6bcc8b3f
JM
76352012-05-24 Joseph Myers <joseph@codesourcery.com>
7636
7637 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7638 Require >= 256.
7639 (FILENAME_MAX): Use macro-int-constant.
7640 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7641 (_IOFBF): Use macro-int-constant.
7642 (_IOLBF): Likewise.
7643 (_IONBF): Likewise.
7644 (SEEK_CUR): Likewise.
7645 (SEEK_END): Likewise.
7646 (SEEK_SET): Likewise.
7647 (TMP_MAX): Likewise.
7648 (EOF): Use macro-int-constant. Require < 0.
7649 (NULL): Use macro-constant. Require == 0.
7650 (stdin): Require type to be FILE *.
7651 (stdout): Likewise.
7652 (stderr): Likewise.
7653 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7654 macro-int-constant.
7655 (EXIT_SUCCESS): Likewise.
7656 (NULL): Use macro-constant. Require == 0.
7657 (RAND_MAX): Use macro-int-constant.
7658 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7659 [C99-based standards] (strtof): Require function.
7660 [C99-based standards] (strtold): Likewise.
7661 [C99-based standards] (strtoll): Likewise.
7662 [C99-based standards] (strtoull): Likewise.
7663 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7664 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7665 [ISO || ISO99 || ISO11] (math.h): Likewise.
7666 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7667 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7668 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7669
d18ea0c5
AS
76702012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7671
7672 [BZ #14132]
56d25bb8
AS
7673 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7674 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7675 * intl/dgettext.c (DCGETTEXT): Likewise.
7676 * intl/gettext.c (DCGETTEXT): Likewise.
7677 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7678 * posix/regex_internal.h (gettext): Likewise.
7679 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7680 Remove declaration.
7681 * include/argz.h (__argz_count_internal)
7682 (__argz_stringify_internal): Remove declaration.
7683 (__argz_count, __argz_stringify): Declare hidden proto.
7684 * intl/dcgettext.c: Remove use of INTDEF.
7685 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7686 * string/argz-stringify.c: Likewise.
7687 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7688 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7689 Declare hidden proto.
d18ea0c5
AS
7690 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7691 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7692 Declare hidden proto.
7693 * include/stdio.h (__asprintf_internal): Don't declare.
7694 (__asprintf): Don't define as macro. Declare hidden proto.
7695 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7696 (__fsetlocking): Declare hidden proto.
7697 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7698 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7699 hidden proto.
7700 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7701 (_IO_setlinebuf): Remove use of INTUSE.
7702 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7703 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7704 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7705 Remove declaration.
7706 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7707 (_IO_do_flush): Remove use of INTUSE.
7708 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7709 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7710 (_IO_adjust_column, _IO_least_wmarker)
7711 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7712 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7713 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7714 (_IO_default_doallocate, _IO_wdefault_doallocate)
7715 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7716 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7717 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7718 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7719 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7720 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7721 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7722 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7723 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7724 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7725 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7726 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7727 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7728 proto.
7729 (_IO_flush_all_internal, _IO_adjust_column_internal)
7730 (_IO_default_uflow_internal, _IO_default_finish_internal)
7731 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7732 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7733 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7734 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7735 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7736 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7737 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7738 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7739 (_IO_file_close_internal, _IO_file_close_it_internal)
7740 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7741 (_IO_file_init_internal, _IO_file_attach_internal)
7742 (_IO_file_fopen_internal, _IO_file_read_internal)
7743 (_IO_file_sync_internal, _IO_file_seek_internal)
7744 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7745 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7746 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7747 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7748 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7749 (_IO_list_all_internal, _IO_link_in_internal)
7750 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7751 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7752 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7753 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7754 (_IO_do_write_internal, _IO_padn_internal)
7755 (_IO_getline_info_internal, _IO_getline_internal)
7756 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7757 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7758 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7759 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7760 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7761 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7762 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7763 with libc_hidden_ver, remove use of INTUSE.
7764 * libio/genops.c: Likewise.
7765 * libio/freopen.c: Likewise.
7766 * libio/freopen64.c: Likewise.
7767 * libio/iofclose.c: Likewise.
7768 * libio/iofdopen.c: Likewise.
7769 * libio/iofflush.c: Likewise.
7770 * libio/iofflush_u.c: Likewise.
7771 * libio/iofgets.c: Likewise.
7772 * libio/iofgets_u.c: Likewise.
7773 * libio/iofopen.c: Likewise.
7774 * libio/iofopncook.c: Likewise.
7775 * libio/iofread.c: Likewise.
7776 * libio/iofread_u.c: Likewise.
7777 * libio/ioftell.c: Likewise.
7778 * libio/iofwrite.c: Likewise.
7779 * libio/iogetline.c: Likewise.
7780 * libio/iogets.c: Likewise.
7781 * libio/iogetwline.c: Likewise.
7782 * libio/iopadn.c: Likewise.
7783 * libio/iopopen.c: Likewise.
7784 * libio/ioseekoff.c: Likewise.
7785 * libio/ioseekpos.c: Likewise.
7786 * libio/iosetbuffer.c: Likewise.
7787 * libio/iosetvbuf.c: Likewise.
7788 * libio/ioungetc.c: Likewise.
7789 * libio/ioungetwc.c: Likewise.
7790 * libio/iovdprintf.c: Likewise.
7791 * libio/iovsprintf.c: Likewise.
7792 * libio/iovsscanf.c: Likewise.
7793 * libio/memstream.c: Likewise.
7794 * libio/obprintf.c: Likewise.
7795 * libio/oldfileops.c: Likewise.
7796 * libio/oldiofclose.c: Likewise.
7797 * libio/oldiofdopen.c: Likewise.
7798 * libio/oldiofopen.c: Likewise.
7799 * libio/oldiopopen.c: Likewise.
7800 * libio/oldstdfiles.c: Likewise.
7801 * libio/putc.c: Likewise.
7802 * libio/setbuf.c: Likewise.
7803 * libio/setlinebuf.c: Likewise.
7804 * libio/stdfiles.c: Likewise.
7805 * libio/strops.c: Likewise.
7806 * libio/vasprintf.c: Likewise.
7807 * libio/vscanf.c: Likewise.
7808 * libio/vsnprintf.c: Likewise.
7809 * libio/vswprintf.c: Likewise.
7810 * libio/wfiledoalloc.c: Likewise.
7811 * libio/wfileops.c: Likewise.
7812 * libio/wgenops.c: Likewise.
7813 * libio/wmemstream.c: Likewise.
7814 * libio/wstrops.c: Likewise.
7815 * libio/__fpurge.c: Likewise.
7816 * libio/__fsetlocking.c: Likewise.
7817 * assert/assert.c: Likewise.
7818 * debug/fgets_chk.c: Likewise.
7819 * debug/fgets_u_chk.c: Likewise.
7820 * debug/fread_chk.c: Likewise.
7821 * debug/fread_u_chk.c: Likewise.
7822 * debug/gets_chk.c: Likewise.
7823 * debug/obprintf_chk.c: Likewise.
7824 * debug/vasprintf_chk.c: Likewise.
7825 * debug/vdprintf_chk.c: Likewise.
7826 * debug/vsnprintf_chk.c: Likewise.
7827 * debug/vsprintf_chk.c: Likewise.
7828 * malloc/mtrace.c: Likewise.
7829 * misc/error.c: Likewise.
7830 * misc/syslog.c: Likewise.
7831 * stdio-common/asprintf.c: Likewise.
7832 * stdio-common/fxprintf.c: Likewise.
7833 * stdio-common/getw.c: Likewise.
7834 * stdio-common/isoc99_fscanf.c: Likewise.
7835 * stdio-common/isoc99_scanf.c: Likewise.
7836 * stdio-common/isoc99_vfscanf.c: Likewise.
7837 * stdio-common/isoc99_vscanf.c: Likewise.
7838 * stdio-common/isoc99_vsscanf.c: Likewise.
7839 * stdio-common/printf-prs.c: Likewise.
7840 * stdio-common/printf_fp.c: Likewise.
7841 * stdio-common/printf_fphex.c: Likewise.
7842 * stdio-common/printf_size.c: Likewise.
7843 * stdio-common/putw.c: Likewise.
7844 * stdio-common/scanf.c: Likewise.
7845 * stdio-common/sprintf.c: Likewise.
7846 * stdio-common/tmpfile.c: Likewise.
7847 * stdio-common/vfprintf.c: Likewise.
7848 * stdio-common/vfscanf.c: Likewise.
7849 * stdlib/strfmon_l.c: Likewise.
7850 * sunrpc/openchild.c: Likewise.
7851 * sunrpc/xdr_stdio.c: Likewise.
7852 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7853 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7854
d6c33fda
RM
78552012-05-24 Roland McGrath <roland@hack.frob.com>
7856
c1487492
RM
7857 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7858
7859 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7860 in the third column, to generate for the shared library an IFUNC
7861 that uses _dl_vdso_vsym.
7862 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7863 * Makeconfig (object-suffixes-noshared): New variable.
7864
7865 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7866 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7867 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7868 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7869
d6c33fda
RM
7870 [BZ #14132]
7871 * include/sys/time.h (__gettimeofday): Remove macro.
7872 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7873 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7874 Remove INTDEF.
7875 (__gettimeofday): Add libc_hidden_def.
7876 (gettimeofday): Add libc_hidden_weak.
7877 * sysdeps/mach/gettimeofday.c: Likewise.
7878 * sysdeps/posix/gettimeofday.c: Likewise.
7879 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7880 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7881 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7882 (__gettimeofday_internal): Remove strong_alias.
7883 (__gettimeofday): Add libc_hidden_def.
7884 (gettimeofday): Add libc_hidden_weak.
7885 * sysdeps/unix/syscalls.list (gettimeofday):
7886 Remove __gettimeofday_internal alias.
7887
b5a2bbe6
L
78882012-05-24 Daniel Jacobowitz <drow@false.org>
7889 H.J. Lu <hongjiu.lu@intel.com>
7890
7891 [BZ #12495]
7892 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7893 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7894 (largebin_index_32_big): New.
7895 (largebin_index): Use it for 16-byte alignment.
7896 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7897 correction with front_misalign.
7898
cfba4fda
L
78992012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7900
7f907421
L
7901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7903 Likewise.
7904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7905 Likewise.
7906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7907 Likewise.
7908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7909 Likewise.
7910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7911 Likewise.
7912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7913 Likewise.
7914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7915 Likewise.
7916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7917 Likewise.
7918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7919 Likewise.
7920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7921 Likewise.
7922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7923 Likewise.
7924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7925 Likewise.
7926
cfba4fda
L
7927 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7928 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7929
80bad0cc
JM
79302012-05-24 Joseph Myers <joseph@codesourcery.com>
7931
7a25eb06
JM
7932 [BZ #10846]
7933 [BZ #14036]
7934 * math/libm-test.inc (exp_test): Add test from bug 14036.
7935 (pow_test): Add test from bug 10846.
7936
795405f9
JM
7937 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7938 and other flags.
7939 (special_function): Do not include flags in test name.
7940 (parse_args): Likewise.
7941 * sysdeps/i386/fpu/libm-test-ulps: Update.
7942 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7943 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7944 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7946
80bad0cc
JM
7947 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7948 exceptions.
7949 * math/libm-test.inc ("Philosophy"): Update comment about
7950 exception testing.
7951 (UNDERFLOW_EXCEPTION): New macro.
7952 (UNDERFLOW_EXCEPTION_OK): Likewise.
7953 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7954 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7955 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7956 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7957 (INVALID_EXCEPTION_OK): Update value.
7958 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7959 (OVERFLOW_EXCEPTION_OK): Likewise.
7960 (IGNORE_ZERO_INF_SIGN): Likewise.
7961 (test_exceptions): Handle underflow exceptions.
7962 (acos_test): Update for underflow exception expectations.
7963 (cexp_test): Likewise.
7964 (clog_test): Likewise.
7965 (clog10_test): Likewise.
7966 (csqrt_test): Likewise.
7967 (ctan_test): Likewise.
7968 (ctanh_test): Likewise.
7969 (exp_test): Likewise.
7970 (exp10_test): Likewise.
7971 (exp2_test): Likewise.
7972 (expm1_test): Likewise.
7973 (fma_test): Likewise.
7974 (j0_test): Likewise.
7975 (jn_test): Likewise.
7976 (nexttoward_test): Likewise.
7977 (pow_test): Likewise.
7978 (scalbn_test): Likewise.
7979 (scalbln_test): Likewise.
7980 (tan_test): Likewise.
7981 (y1_test): Likewise.
7982 * sysdeps/i386/fpu/libm-test-ulps: Update.
7983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7984
9e0e3d0b
DM
79852012-05-23 David S. Miller <davem@davemloft.net>
7986
7987 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7988 (__libc_sigaction): Remove unused local variables.
7989
ccd0a08f
L
79902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7991
7992 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7993
62bdf9a6
PE
79942012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7995
f8591f80
PE
7996 mktime: avoid signed integer overflow
7997 * time/mktime.c (__mktime_internal): Do not mishandle the case
7998 where diff == INT_MIN.
7999
94c7d826
PE
8000 mktime: simplify computation of average
8001 * time/mktime.c (ranged_convert): Use new time_t_avg function
8002 instead of rolling our own (probably-slower) code.
8003
ce73d683
PE
8004 mktime: do not assume signed right shift propagates sign bit
8005 * time/mktime.c (isdst_differ): New static function.
8006 (__mktime_internal): No need to normalize tm_isdst now.
8007 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8008 tm_isdst values.
8009
72a22e59
PE
8010 mktime: merge another wrapv change from gnulib
8011 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8012 from some compilers.
8013
68605433
PE
8014 mktime: remove incorrect attempt at unusual arithmetics
8015 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8016 The code didn't really work on such machines anyway.
8017 (TYPE_MINIMUM): Assume two's complement.
8018 (twos_complement_arithmetic): Verify that long_int and time_t
8019 are two's complement (or unsigned, in the latter case).
8020
03cf7fe3
PE
8021 mktime: check signed shifts on long_int and time_t, too
8022 * time/mktime.c (SHR): Check that shifts work as desired
8023 on the types long_int and time_t too, as SHR is used on
8024 such types.
8025
f04dfbc2
PE
8026 mktime: do not assume 'long' is wide enough
8027 * time/mktime.c (verify): Move decl up.
8028 (long_int): New type.
8029 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8030 to remove assumption in the code that 'long' is wide enough to
8031 store year values. This assumption is not true on x32 and on
8032 some non-glibc platforms.
8033
62bdf9a6
PE
8034 mktime: merge wrapv change from gnulib
8035 * time/mktime.c (WRAPV): New macro.
8036 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8037 (guess_time_tm, __mktime_internal): Do not assume that signed
8038 integer overflow wraps around; modern compilers generate code
8039 where this assumption is no longer valid.
8040
5e292e4f
L
80412012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8042
8043 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8044 Replace "jmp L(pseudo_end)" with "ret".
8045 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8046 Likewise.
8047
8caf8c87
AJ
80482012-05-23 Andreas Jaeger <aj@suse.de>
8049
8050 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8051 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8052
1a09dc56
AJ
80532012-05-23 Andreas Jaeger <aj@suse.de>
8054 Maximilian Attems <max@stro.at>
8055
8056 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8057 New macros.
8058
1c87aba0
L
80592012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8060
8061 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8062 code so that pseudo_end is just ret and the stack pointer is
8063 correct also for static library in error case.
8064
40e45bd5
JM
80652012-05-23 Joseph Myers <joseph@codesourcery.com>
8066
c2670533
JM
8067 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8068 move to syscalls.list.
8069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8073
40e45bd5
JM
8074 * manual/install.texi (Running make install): Do not mention Linux
8075 kernel version for which pt_chown is not needed.
8076 (Linux): Do not mention problems with nscd with 2.0 kernels.
8077 * INSTALL: Regenerated.
8078
be08eda5
AJ
80792012-05-23 Andreas Jaeger <aj@suse.de>
8080
8081 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8082 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8083 macro.
8084 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8085 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8086 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8087 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8088 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8089 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8090 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8091 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8092 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8093 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8094 * sysdeps/unix/sysv/linux/bits/in.h
8095 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8096
a6a056bb
RM
80972012-05-22 Roland McGrath <roland@hack.frob.com>
8098
8099 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8100 (PREPARE_VERSION): Just use assert instead, it will be elided
8101 under [NDEBUG] anyway.
8102
c9009328
L
81032012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8104
8105 * sysdeps/unix/sysv/linux/Makefile: Include
8106 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 8107 (sysdep_routines): Remove sysctl.
c9009328
L
8108 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8109 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8110 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8111 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8112 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8113
73338355
AJ
81142012-05-22 Andreas Jaeger <aj@suse.de>
8115
8116 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8117 that pseudo_end is just ret and the stack pointer is correct also
8118 for static library in error case.
8119
d44638b0
PP
81202012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8121
8122 [BZ #14122]
8123 * nss/nsswitch.c (defconfig_entries): New variable.
8124 (__nss_database_lookup): Don't leak defconfig entries.
8125 (nss_parse_service_list): Don't leak on error paths.
8126 (free_database_entries): New function.
8127 (free_defconfig): New function.
8128 (free_mem): Move common code to free_database_entries.
8129
31a39bd8
L
81302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8131
da0331a8
L
8132 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8133 Add arch_prctl.
8134 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8135
31a39bd8
L
8136 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8137 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8138 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8139 New macro.
8140 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8141 (INTERNAL_SYSCALL_TYPES): Likewise.
8142 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8143 (LOAD_REGS_TYPES_[1-6]): Likewise.
8144 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8145 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8146
45470df3
AZ
81472012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8148
8149 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8150 copysignl for GLIBC_2_0.
8151 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8152 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8153 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8154 logbl for GLIBC_2_0.
8155 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8156 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8157
98a61bcb
L
81582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8159
a4f6e481
L
8160 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8161 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8162
f63d5db6
L
8163 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8164 Use "neg %eax".
8165
98a61bcb
L
8166 * time/mktime.c: Update copyright years.
8167
95770f14
PE
81682012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8169
6226efbd
PE
8170 mktime: merge comment-quoting-style change from gnulib
8171 * time/mktime.c: Quote 'like this' in comments.
8172 The GNU coding standards suggest that we no longer quote `like this',
8173 as "`" and "'" are typically rendered asymmetrically nowadays.
8174 The typical gnulib style is to quote 'like this' when quoting
8175 code, and "like this" when quoting English.
8176
b99e4f78
PE
8177 * time/mktime.c (compile-command): Add "-I.".
8178
643e01e6
PE
8179 mktime: merge mktime-internal.h change from gnulib
8180 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8181
2554247d
PE
8182 mktime: merge time_r change from gnulib
8183 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8184
826dd0ab
PE
8185 mktime: merge DEBUG change from gnulib
8186 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8187 case system <time.h> has a #define.
8188
bd83aabe
PE
8189 mktime: merge <sys/types.h> change from gnulib
8190 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8191 since <time.t> is now guaranteed to define time_t.
8192
95770f14
PE
8193 mktime: merge HAVE_CONFIG_H change from gnulib
8194 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8195
5e1a27a9
L
81962012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8197
0e44a77e
L
8198 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8199 Use "neg %eax".
8200
5e1a27a9
L
8201 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8202 __rlim_t cast.
8203 (struct rusage): Use anonymous union to pad each field to
8204 __syscall_slong_t.
8205
46259bec
DM
82062012-05-21 David S. Miller <davem@davemloft.net>
8207
8208 * Makefules (o-iterator): Remove .s cases.
8209 (compile-command.s): Delete.
8210 (COMPILE.s): Delete.
8211 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8212
59f0c22e
JM
82132012-05-21 Joseph Myers <joseph@codesourcery.com>
8214
8215 * configure.in (libc_cv_predef_stack_protector): Only consider
8216 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8217 * configure: Regenerated.
8218
20c07380
L
82192012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8220
bbb3154b
L
8221 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8222 New macro. Use R*LP on int and pointer.
8223 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
8224 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8225 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
8226 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8227
20c07380
L
8228 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8229 [__WORDSIZE_TIME64_COMPAT32] instead of
8230 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8231 (struct utmp): Likewise.
8232 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8233 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8234 Renamed to ...
8235 (__WORDSIZE_TIME64_COMPAT32): This.
8236 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8237 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8238 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8239 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8240 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8241 (__WORDSIZE_TIME64_COMPAT32): New macro.
8242
d8d1017e
AJ
82432012-05-21 Andreas Jaeger <aj@suse.de>
8244
8245 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8246 only if [SHARED]. Add prototype for __wcschr_ia32.
8247
6c7fb145
RM
82482012-05-21 Roland McGrath <roland@hack.frob.com>
8249
8250 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8251 of %rbp unmolested in the jmp_buf while mangling the low bits.
8252 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8253 unmolested high bits of %rbp while demangling the low bits.
8254 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8255
66274218
AJ
82562012-05-21 Andreas Jaeger <aj@suse.de>
8257
07c58f8f
AJ
8258 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8259 * sunrpc/svc_simple.c: Use it for registerrpc.
8260 * sunrpc/xcrypt.c: Use it for passwd2des.
8261
66274218
AJ
8262 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8263
61f65140
L
82642012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8265
8266 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8267 Don't define if [__SYSCALL_WORDSIZE != 32].
8268 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8269 New macro.
8270
5fefb436
AJ
82712012-05-21 Bruno Haible <bruno@clisp.org>
8272 Andreas Jaeger <aj@suse.de>
8273
8274 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8275 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8276 inptr and inend for must_buffer_ch.
8277 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8278 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8279 * stdio-common/Makefile (tests): Remove bug15.
8280 (bug15-ENV): Remove macro.
8281 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8282 anymore.
8283
d8e272ab
AJ
82842012-05-19 Andreas Jaeger <aj@suse.de>
8285 Roland McGrath <roland@hack.frob.com>
8286
8287 * manual/contrib.texi: Completely rewritten. It contains now an
8288 alphabetical list of contributors and their contributions.
8289
4a56a162
RH
82902012-05-21 Richard Henderson <rth@twiddle.net>
8291
8292 * misc/getauxval.c (__getauxval): Use unsigned long int.
8293 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8294 (getauxval): Use unsigned long int.
8295
d024d23c
L
82962012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8297
8298 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8299
cbc00a03
RM
83002012-05-21 Roland McGrath <roland@hack.frob.com>
8301
8302 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8303 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8304 __alignof__ (long double).
8305
478143fa
AZ
83062012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8307
8308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8309
c7683a6d
RH
83102012-05-20 Richard Henderson <rth@twiddle.net>
8311
8312 * misc/getauxval.c: New file.
8313 * misc/sys/auxv.h: New file.
8314 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8315 (routines): Add getauxval.
8316 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8317 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8318 * elf/dl-sysdep.c (_dl_auxv): Remove.
8319 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8320 * elf/dl-support.c (_dl_auxv): New variable.
8321 (_dl_aux_init): Initialize it.
8322 * manual/startup.texi (Auxiliary Vector): New node.
8323 * sysdeps/generic/bits/hwcap.h: New file.
8324 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8325 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8326 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8327 * sysdeps/sparc/sysdep.h: ... here. Include it.
8328 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8329 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
8330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8331 Update.
c7683a6d
RH
8332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8335 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8339 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8340
a6f1845d
AZ
83412012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8342
8343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8344
cbcbe830
DM
83452012-05-19 David S. Miller <davem@davemloft.net>
8346
8347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8348
e0b16cc2
JM
83492012-05-19 Joseph Myers <joseph@codesourcery.com>
8350
8351 [BZ #14123]
8352 * math/s_ccosh.c: Include <float.h>
8353 (__ccosh): Avoid internal overflow calculating sinh and cosh
8354 values before multiplying by sin and cos values.
8355 * math/s_ccoshf.c: Likewise.
8356 * math/s_ccoshl.c: Likewise.
8357 * math/s_csin.c: Likewise.
8358 * math/s_csinf.c: Likewise.
8359 * math/s_csinl.c: Likewise.
8360 * math/s_csinh.c: Likewise.
8361 * math/s_csinhf.c: Likewise.
8362 * math/s_csinhl.c: Likewise.
8363 * math/libm-test.inc (ccos_test): Add more tests.
8364 (ccosh_test): Likewise.
8365 (csin_test): Likewise.
8366 (csinh_test): Likewise.
8367 * sysdeps/i386/fpu/libm-test-ulps: Update.
8368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8369
6ad13e08
L
83702012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8371
f66f0ce8
L
8372 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8373 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8374
6ad13e08
L
8375 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8376
b1d072a7
JM
83772012-05-19 Joseph Myers <joseph@codesourcery.com>
8378
8379 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8380 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8381 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8382 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8383 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8384 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8385 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8386 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8387 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8388 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8389 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8390 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8391 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8392 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8393 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8394 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8395 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8396 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8397 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8398 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8399 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8400 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8401 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8402 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8403 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8404 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8405 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8406 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8407 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8408 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8409 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8410
9eae47cb
AJ
84112012-05-18 Andreas Jaeger <aj@suse.de>
8412
8413 * csu/.gitignore: Delete.
8414
bb07f69f
L
84152012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8416
8417 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8418 (timex): Use __syscall_slong_t.
8419
e6bdb741
AJ
84202012-05-18 Andreas Jaeger <aj@suse.de>
8421 Carlos O'Donell <carlos_odonell@mentor.com>
8422
8423 * manual/install.texi (Configuring and compiling): Update
8424 description about files modified in the source directory.
d6c33fda 8425 * INSTALL: Regenerated.
e6bdb741 8426
1b74487e
L
84272012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8428
8429 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8430 value. Use "or" to set return value to -1.
8431 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8432 negate return value.
8433
a88b64b9
TMQMF
84342012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8435
8436 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8437 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8438 failure if the compiler has Graphite support disabled.
8439 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8440 Likewise.
8441 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8442 CFLAGS-memmove.c): Likewise.
8443 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8444 Likewise.
8445
3707636e
L
84462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8447
610b8622
L
8448 * sysdeps/x86_64/x32/_itoa.h: New file.
8449
7cd195df
L
8450 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8451 getdents system call only if kernel and user dirents have the
8452 same d_ino and d_off.
8453
94b07d20
L
8454 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8455 LLONG_MAX != LONG_MAX.
8456 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8457 (_fitoa_word): Likewise.
8458
18298070
L
8459 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8460 years.
8461 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8462 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8463 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8464
553c7ea4
L
8465 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8466 include <bits/wordsize.h>. Check __x86_64__ instead of
8467 __WORDSIZE.
8468 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8469 if __x86_64__ is defined. Use anonymous union on fpstate.
8470
3707636e
L
8471 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8472 anonymous union.
8473
b53ef01a
AS
84742012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8475
37fb1dc0
AS
8476 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8477 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8478 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8479 Refer to _rtld_local_ro instead of _rtld_global_ro.
8480 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8481 Likewise.
8482 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8483 Likewise.
8484 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8485 Likewise.
8486 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8487 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8488 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8489
b53ef01a
AS
8490 * sysdeps/powerpc/powerpc32/dl-machine.c
8491 (__elf_machine_runtime_setup) [PROF]: Don't reference
8492 _dl_prof_resolve.
8493
7a185db2
AJ
84942012-05-18 Andreas Jaeger <aj@suse.de>
8495
8496 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8497 function only available for GCCs before 3.4 since GCC 3.4
8498 introduced a builtin.
8499 (lrint): Likewise.
8500 (llrintf): Likewise.
8501 (llrint): Likewise.
8502 (fmaxf): Likewise.
8503 (fmax): Likewise.
8504 (fminf): Likewise.
8505 (fmin): Likewise.
8506 (rint): Likewise.
8507 (rintf): Likewise.
8508 (nearbyint): Likewise.
8509 (nearbyintf): Likewise.
8510 (ceil): Likewise.
8511 (ceilf): Likewise.
8512 (floor): Likewise.
8513 (floorf): Likewise.
8514
3e5aef87
L
85152012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8516
428bd707
L
8517 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8518 on both fields and cast pointer to __syscall_ulong_t.
8519
3e5aef87
L
8520 * bits/types.h (__fsword_t): New type.
8521 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8522 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8523 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8524 (__FSWORD_T_TYPE): Likewise.
8525 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8526 (__FSWORD_T_TYPE): Likewise.
8527 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8528 (__FSWORD_T_TYPE): Likewise.
8529 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8530 (__FSWORD_T_TYPE): Likewise.
8531 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8532 __SWORD_TYPE with __fsword_t.
8533 (statfs64): Likewise.
8534
1ba7c3dc
DM
85352012-05-17 David S. Miller <davem@davemloft.net>
8536
8537 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8538
59910343
AJ
85392012-05-17 Andreas Jaeger <aj@suse.de>
8540
8541 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8542 warning.
8543
2e4c1e9e
L
85442012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8545
8546 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8547
de7f5ce7
AJ
85482012-05-17 Andreas Jaeger <aj@suse.de>
8549
8550 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8551 when it is used.
8552
286abc3d
CM
85532012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8554
8555 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8556
477cc68e
L
85572012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8558
8559 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8560 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8561
1a0994f5
CD
85622012-05-17 Andreas Jaeger <aj@suse.de>
8563 Carlos O'Donell <carlos_odonell@mentor.com>
8564
8565 [BZ #14059]
8566 * sysdeps/x86_64/multiarch/init-arch.h
8567 (bit_YMM_Usable): Rename to...
8568 (bit_AVX_Usable): ... this.
8569 (bit_FMA4_Usable): New macro.
8570 (bit_XMM_state): New macro.
8571 (bit_YMM_state): New macro.
8572 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8573 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8574 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8575 (CPUID_OSXSAVE): New macro.
8576 (CPUID_AVX): New macro.
8577 (CPUID_FMA4): New macro.
8578 (index_YMM_Usable): Rename to...
8579 (index_AVX_Usable): ... this.
8580 (HAS_AVX): Use HAS_ARCH_FEATURE.
8581 (HAS_FMA4): Likewise.
8582 (HAS_YMM_USABLE): Remove.
8583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8584 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8585 are present.
8586 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8587 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8588 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8589 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8590 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8591
0af797de
CM
85922012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8593
8594 * math/libm-test.c: Support platforms without multiple rounding modes.
8595 * math/bug-nextafter.c: Support platforms without FP exceptions.
8596 * math/bug-nexttoward.c: Likewise.
8597 * math/test-fenv.c: Likewise.
8598 * math/test-misc.c: Likewise.
8599 * stdlib/bug-getcontext.c: Likewise.
8600
e39745ff
AJ
86012012-05-17 Andreas Jaeger <aj@suse.de>
8602
8603 * manual/examples/search.c (critter_cmp): Change signature to
8604 avoid warnings.
8605 * manual/string.texi (Collation Functions): Likewise.
8606
48970aba
L
86072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8608
8609 * bits/types.h: Fold copyright years.
8610 * bits/typesizes.h: Likewise.
8611 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8612 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8613 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8614 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8615 * time/time.h: Likewise.
8616
bedee953
PP
86172012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8618
8619 [BZ #208]
8620 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8621 in instead of returning them. Return void.
8622 (__libc_mallinfo): Accumulate over all arenas.
8623 (__malloc_stats): Adjust for change in int_mallinfo interface.
8624
61653dfb
RM
86252012-05-16 Roland McGrath <roland@hack.frob.com>
8626
30b99d79
RM
8627 [BZ #10375]
8628 * configure.in (NM): Add AC_CHECK_TOOL for it.
8629 (libc_extra_cflags): New substituted variable.
8630 Check for -fstack-protector being used implicitly.
8631 * configure: Regenerated.
8632 * config.make.in (config-extra-cflags): New variable,
8633 gets @libc_extra_cflags@.
8634 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8635
61653dfb
RM
8636 [BZ #10375]
8637 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8638 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8639 * configure: Regenerated.
8640 * config.make.in (CPPUNDEFS): New substituted variable.
8641 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8642 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8643 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8644
661768bb
L
86452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8646
8647 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8648 (mq_attr): Use __syscall_slong_t.
8649
d4261567
L
86502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8651
8652 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8653 Check __x86_64__ instead of __WORDSIZE.
8654 (_STAT_VER_LINUX): Likewise.
8655 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8656 __syscall_ulong_t and __syscall_slong_t.
8657 (stat64): Likewise.
8658
cf3ff365
L
86592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8660
8661 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8662
76cf3e4d
L
86632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8664
8665 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8666
a637753a
L
86672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8668
8669 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8670 __syscall_ulong_t.
8671
d5e05119
L
8672 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8673 include <bits/wordsize.h>. Check __x86_64__ instead of
8674 __WORDSIZE.
8675 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8676 defined.
8677 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8678
f62ee380
L
8679 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8680 include <bits/wordsize.h>. Check __x86_64__ instead of
8681 __WORDSIZE.
8682 (user_regs_struct): Use "__extension__ unsigned long long"
8683 instead of "unsigned long" if __x86_64__ is defined.
8684 (user): Likewise. Pad after pointer field if __ILP32__ is
8685 defined.
8686
4e124ced
JM
86872012-05-16 Joseph Myers <joseph@codesourcery.com>
8688
6a3951a0
JM
8689 * configure.in (makeinfo): Require version 4.5 or later. Allow
8690 versions 5 to 9.
8691 * configure: Regenerated.
8692 * manual/install.texi (texinfo): Increase version requirement to
8693 4.5 or later.
8694 * INSTALL: Regenerated.
8695
4e124ced
JM
8696 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8697
953ca31a
L
86982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8699
8700 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8701
617aca05
L
8702 * sysdeps/x86_64/x32/ffs.c: New file.
8703
5762f7ae
L
8704 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8705 __syscall_ulong_t.
8706 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8707 defined. Use __syscall_ulong_t.
8708 (shminfo): Use __syscall_ulong_t.
8709 (shm_info): Likewise.
8710
a26b6856
L
8711 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8712 __syscall_ulong_t.
8713
cb2b9ef7
L
8714 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8715 <bits/wordsize.h>.
8716 (msgqnum_t): Use __syscall_ulong_t.
8717 (msglen_t): Likewise.
8718 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8719 __syscall_ulong_t.
8720
34683bb0
L
8721 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8722 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8723
84a68786
L
8724 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8725
48baa5f1
L
8726 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8727 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8728
180be88b
L
8729 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8730 __syscall_slong_t.
8731
5e90c8ad
L
8732 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8733 include <bits/wordsize.h>. Check __x86_64__ instead of
8734 __WORDSIZE.
8735
23dfb58b
L
8736 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8737 "unsigned long long int" if __x86_64__ is defined.
8738 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8739
ce5d54b0
L
8740 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8741 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8742 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8743
13dc9eac
L
8744 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8745 <stdint.h>.
8746 (GET_PC): Cast to uintptr_t first.
8747 (GET_FRAME): Likewise.
8748 (GET_STACK): Likewise.
8749
a7895d15
L
8750 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8751 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8752 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8753 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8754 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8755 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8756 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8757 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8758 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8759 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8760 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8761 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8762 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8763 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8764 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8765 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8766 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8767 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8768 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8769 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8770 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8771 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8772 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8773 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8774 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8775 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8776 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8777 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8778 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8779
656416c9
AS
87802012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8781
5bd66283
AS
8782 * Makerules (+depfiles): Also collect depfiles from .oS in
8783 $(extra-objs).
8784 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8785 .oS, $(libnldbl-routines)).
8786
656416c9
AS
8787 * Makerules (native-compile-mkdep-flags): Define.
8788 * sunrpc/Makefile (extra-objs): Add $(addprefix
8789 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8790 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8791 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8792 calling $(make-target-directory).
8793
a46f2169
L
87942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8795
8796 * bits/types.h (__snseconds_t): Removed.
8797 * time/time.h (struct timespec): Replace __snseconds_t with
8798 __syscall_slong_t.
8799 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8800 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8801 Likewise.
8802 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8803 (__SNSECONDS_T_TYPE): Likewise.
8804 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8805 (__SNSECONDS_T_TYPE): Likewise.
8806 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8807 (__SNSECONDS_T_TYPE): Likewise.
8808
6af6528b
L
88092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8810
8811 * sysdeps/mach/hurd/bits/typesizes.h
8812 (__SYSCALL_SLONG_TYPE): New macro.
8813 (__SYSCALL_ULONG_TYPE): Likewise.
8814
de986b56
L
88152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8816
8817 * bits/types.h (__syscall_slong_t): New type.
8818 (__syscall_ulong_t): Likewise.
8819
8820 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8821 (__SYSCALL_ULONG_TYPE): Likewise.
8822 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8823 (__SYSCALL_SLONG_TYPE): Likewise.
8824 (__SYSCALL_ULONG_TYPE): Likewise.
8825 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8826 (__SYSCALL_SLONG_TYPE): Likewise.
8827 (__SYSCALL_ULONG_TYPE): Likewise.
8828 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8829 (__SYSCALL_SLONG_TYPE): Likewise.
8830 (__SYSCALL_ULONG_TYPE): Likewise.
8831
85736dc7
L
88322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8833
8834 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8835 Add sigaltstack-offsets.sym.
8836 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8837 <sigaltstack-offsets.h>.
8838 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8839 longjmp_msg pointer.
8840 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8841 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8842 signal stack.
8843 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8844
cc03b296
JM
88452012-05-15 Joseph Myers <joseph@codesourcery.com>
8846
a9538892
JM
8847 * elf/stackguard-macros.h: Remove file.
8848 * sysdeps/generic/stackguard-macros.h: New file.
8849 * sysdeps/i386/stackguard-macros.h: Likewise.
8850 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8851 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8852 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8853 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8854 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8855 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8856 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8857 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8858 <elf/stackguard-macros.h>.
8859
cc03b296
JM
8860 [BZ #14109]
8861 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8862 __aligned__ in attribute.
8863 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8864 (gregset_t): Likewise.
8865
93171016
L
88662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8867
8868 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8869 * sysdeps/x86_64/64/Implies-after: Here. New file.
8870 * sysdeps/x86_64/x32/Implies-after: New file.
8871
d86813a0
L
88722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8873
8874 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8875 and access return value for _dl_profile_fixup. Use R10_LP to
8876 load frame size.
8877
2953ec75
L
88782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8879
8880 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8881
3b550e9e
L
88822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8883
8884 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8885 * sysdeps/x86_64/x32/sysdep.h: New file.
8886
eda41706
L
88872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8888
8889 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8890 * sysdeps/x86_64/setjmp.S: Likewise.
8891
9ea01d93
AZ
88922012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8893
8894 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8895 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8896 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8897 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8898 remove unused global constant.
8899
02a91938
CM
89002012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8901
8902 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8903 include of <not-cancel.h>.
8904
6540185f
RM
89052012-05-15 Roland McGrath <roland@hack.frob.com>
8906
8907 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8908
509072a0
AJ
89092012-05-15 Jeff Law <law@redhat.com>
8910 Andreas Jaeger <aj@suse.de>
8911
8912 [BZ #13594]
8913 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8914 out from...
8915 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8916 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8917 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8918 code changing __hst_map_handle.map.
8919
ba75122d
RM
89202012-05-15 Roland McGrath <roland@hack.frob.com>
8921
8922 * configure.in (sysnames): Look for Implies-before and Implies-after
8923 files.
8924 * configure: Regenerated.
8925
890d8bd8
L
89262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8927
8928 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8929 8-byte data alignment with LP_SIZE alignment.
8930
f6ee6623
L
89312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8932
8933 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8934 into R10_LP.
8935
ea2626f6
L
89362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8937
8938 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8939
085f715e
L
89402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8941
8942 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8943 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8944 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8945 Likewise.
8946 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8947
be8498fc
L
89482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8949
8950 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8951 (stackinfo_sub_sp): Likewise.
8952
70bc83b9
L
89532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8954
8955 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8956 RAX_LP.
8957
9bc0b730
L
89582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8959
8960 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8961 into R*_LP.
8962
6d2850e7
L
89632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8964
8965 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8966 sizes into R*_LP.
8967
3cb84561
L
89682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8969
8970 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8971
54e2ed81
L
89722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8973
8974 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8975 into R11_LP and load __x86_64_shared_cache_size_half into
8976 R8_LP.
8977
8a17f349
L
89782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8979
8980 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8981 R8_LP.
8982
777b1eea
AZ
89832012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8984
8985 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8986 logb for POWER7.
8987 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8988 logbf for POWER7.
8989 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8990 logbl for POWER7.
8991 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8992 powerpc32/power7/fpu/s_logb.c via #include.
8993 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8994 powerpc32/power7/fpu/s_logbf.c via #include.
8995 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8996 powerpc32/power7/fpu/s_logbl.c via #include.
8997
d20d4ac2
JM
89982012-05-15 Joseph Myers <joseph@codesourcery.com>
8999
9000 * README.libm: Remove file.
9001
6cdef1ab
L
90022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9003
9004 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9005 count for x32. Use R*_LP and omit operand-size suffix.
9006
0b254d8f
L
90072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9008
9009 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9010 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9011 * sysdeps/x86_64/x32/shlib-versions: New file.
9012
ceb809dc
RM
90132012-05-14 Roland McGrath <roland@hack.frob.com>
9014
9015 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9016 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9017 Use _dl_fatal_printf instead.
9018
37f1abd4
JM
90192012-05-14 Joseph Myers <joseph@codesourcery.com>
9020
9021 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9022 set if not set by the user. Do not allow for being unset.
9023 * sysdeps/unix/sysv/linux/configure: Regenerated.
9024
11de3a33
L
90252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9026
9027 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9028 the `q' suffix from lea and replace .quad with ASM_ADDR.
9029
e02f153a
L
90302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9031
9032 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9033 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9034 instead of $17.
9035 (PTR_DEMANGLE): Likewise.
9036
520ae0fd
L
90372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9038
9039 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9040 (LP_OP): Likewise.
9041 (ASM_ADDR): Likewise.
9042 (RAX_LP): Likewise.
9043 (RBP_LP): Likewise.
9044 (RBX_LP): Likewise.
9045 (RCX_LP): Likewise.
9046 (RDI_LP): Likewise.
9047 (RSI_LP): Likewise.
9048 (RSP_LP): Likewise.
9049 (R8_LP): Likewise.
9050 (R9_LP): Likewise.
9051 (R10_LP): Likewise.
9052 (R10_LP): Likewise.
9053 (R11_LP): Likewise.
9054 (R12_LP): Likewise.
9055 (R13_LP): Likewise.
9056 (R14_LP): Likewise.
9057 (R15_LP): Likewise.
9058
b985be81
L
90592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9060
9061 * sysdeps/x86_64/x32/dl-machine.h: New file.
9062
6a4888ff
AJ
90632012-05-14 Andreas Jaeger <aj@suse.de>
9064
9065 * manual/Makefile (subdir): Remove export of subdir.
9066 (all): Remove target.
9067 (.PHONY): Remove all from list.
9068 (mkinstalldirs): Remove.
9069 (.PHONY): Remove installdirs from list.
9070 ($(inst_infodir)/libc.info): Use make-target-directory.
9071 (installdirs): Remove.
9072 (subdir_%): Remove.
9073 (glibc-targets): Remove.
9074 (lib): Remove.
9075 (stubs): Remove.
9076 ($(objpfx)stubs ../po/manual.pot): Remove.
9077 ($(objpfx)stamp%): Remove.
9078 (make-target-directory): Remove.
9079 (subdir_install): Remove.
9080 (routines): Remove.
9081 (aux): Remove.
9082 (sources): Remove.
9083 (objects): Remove.
9084 (headers): Remove.
9085
9086 [BZ #13750]
9087 * manual/.gitignore: Remove, it's not needed anymore.
9088 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9089 all files in it.
9090 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9091 directory.
9092 (texis): Renamed to $(objpfx)texis.
9093 (texis-path): New, contains path to generated files.
9094 (chapters.%): Use texis-path for complete path, add extra argument
9095 libc-texinfo.sh.
9096 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9097 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9098 (summary,texi, stamp-summary): Use complete path of
9099 files. Generate files in build dir.
9100 (dir-add.texi): Build in build dir.
9101 (libm-err.texi,stamp-libm-err): Likewise.
9102 (version.texi, stamp-version): Likewise.
9103 (.%c.texi): Likewise.
9104 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9105 (mostlyclean): Remove target.
9106 (realclean): Remove target.
9107 (generated): Add new variable with contents from mostlyclean and
9108 realclean, remove entries duplicated in common-mostlyclean, add
9109 stamp-libm-err and stamp-version.
9110 (generated-dirs): Add libc directory.
9111 ($(inst_infodir)/libc.info): Install files from build dir.
9112
9113 * manual/install.texi (Configuring and compiling): Adjust since
9114 the info files are not part of the tar ball anymore.
9115
7ac77294
AJ
91162012-05-14 Andreas Jaeger <aj@suse.de>
9117
9118 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9119 variable.
9120
ffb7875d
JM
91212012-05-14 Joseph Myers <joseph@codesourcery.com>
9122
9123 [BZ #13717]
9124 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9125 to 2.2.0 where earlier.
9126 * sysdeps/unix/sysv/linux/configure: Regenerated.
9127 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9128 Remove conditional code.
9129 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9130 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9131 Remove conditional code.
9132 [!__NR_lchown]: Likewise.
9133 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9134 [__NR_lchown]: Likewise.
9135 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9136 comment referencing __ASSUME_LCHOWN_SYSCALL.
9137 * sysdeps/unix/sysv/linux/i386/sigaction.c
9138 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9139 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9140 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9141 Remove conditional code.
9142 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9143 (__protocol_available): Remove #if 0 code.
9144 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9145 conditional code.
9146 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9147 * sysdeps/unix/sysv/linux/kernel-features.h
9148 (__ASSUME_GETCWD_SYSCALL): Don't define.
9149 (__ASSUME_REALTIME_SIGNALS): Likewise.
9150 (__ASSUME_PREAD_SYSCALL): Likewise.
9151 (__ASSUME_PWRITE_SYSCALL): Likewise.
9152 (__ASSUME_POLL_SYSCALL): Likewise.
9153 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9154 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9155 non-SPARC.
9156 (__ASSUME_SIOCGIFNAME): Don't define.
9157 (__ASSUME_MSG_NOSIGNAL): Likewise.
9158 (__ASSUME_SENDFILE): Define unconditionally.
9159 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9160 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9161 conditional code.
9162 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9163 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9164 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9165 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9166 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9167 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9168 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9170 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9171 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9173 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9174 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9176 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9177 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9179 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9180 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9182 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9183 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9185 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9186 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9188 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9189 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9191 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9192 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9193 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9194 Remove conditional code.
9195 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9196 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9197 Remove conditional code.
9198 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9199 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9200 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9201 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9202 Remove conditional code.
9203 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9204 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9205 Remove conditional code.
9206 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9207 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9208 Remove conditional code.
9209 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9210 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9211 Remove conditional code.
9212 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9213 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9214 Remove conditional code.
9215 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9216 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9217 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9218 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9219 * sysdeps/unix/sysv/linux/sigaction.c
9220 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9221 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9222 * sysdeps/unix/sysv/linux/sigpending.c
9223 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9224 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9225 * sysdeps/unix/sysv/linux/sigprocmask.c
9226 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9227 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9228 * sysdeps/unix/sysv/linux/sigsuspend.c
9229 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9230 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9231 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9232 (__libc_missing_rt_sigs): Remove.
9233 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9234 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9235 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9236 Remove conditional code.
9237 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9238 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9239 return 1.
9240 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9241 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9242 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9243 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9244
1bfb7291
AJ
92452012-05-14 Andreas Jaeger <aj@suse.de>
9246
caae5a81
AJ
9247 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9248 it's not used in glibc.
9249 (__coshm1): Likewise.
9250 (__acosh1p): Likewise.
9251 (__sgn): Likewise.
9252
1bfb7291
AJ
9253 * manual/string.texi (Copying and Concatenation): Add missing
9254 variable in concat example.
9255 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9256
c044d724
L
92572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9258
144c5467 9259 [BZ #14103]
c044d724
L
9260 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9261 __builtin_clzl with __builtin_clzll.
9262
2523c62b
L
92632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9264
9265 [BZ #14104]
9266 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9267 libc_freeres_ptr.
9268
d7bb4c42
LD
92692012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9270
9271 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9272 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9273 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9274 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9275
9dc4e1fb
MF
92762012-05-14 Mike Frysinger <vapier@gentoo.org>
9277
9278 * NEWS: Update ia64 info.
9279
c7df0112
AS
92802012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9281
9282 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9283 used as bcopy.
9284
dc70356c
TS
92852012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9286
9287 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9288 * sysdeps/unix/syscalls.list (dup3): Likewise.
9289 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9290 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9291
9fb1a21f
L
92922012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9293
9294 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9295 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9296
4822a2a5
L
92972012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9298
9299 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9300 thread pointer.
9301 (TLS_IE): Use mov/add instead of movq/addq to load thread
9302 pointer.
9303 (TLS_GD_PREFIX): New.
9304 (TLS_GD): Use it.
9305
842b81d6
DM
93062012-05-11 David S. Miller <davem@davemloft.net>
9307
9308 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9309 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9310 (_FPU_SETCW): Likewise.
9311
1cf463cd
L
93122012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9313
9314 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9315 is 32-byte aligned.
9316
60cc4a18
AS
93172012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9318
9319 [BZ #11837]
9320 * iconvdata/gb18030.c: Update tables.
9321 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9322 characters specially.
9323 (BODY for TO_LOOP): Add encoding of missing ranges.
9324
febb44a4
TS
93252012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9326
9327 [BZ #13673]
9328 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9329 * sysdeps/mach/hurd/dup3.c: Likewise.
9330 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9331 * sysdeps/powerpc/memmove.c:: Likewise.
9332
0a10fb9e
L
93332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9334
9335 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9336 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9337
df8a552f
L
93382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9339
9340 * elf/elf.h (R_X86_64_RELATIVE64): New.
9341 (R_X86_64_NUM): Updated.
9342 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9343 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9344 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9345 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9346 tst-quad1pie tst-quad2pie
9347 (modules-names): Add tst-quadmod1 tst-quadmod2.
9348 ($(objpfx)tst-quad1): New dependency.
9349 ($(objpfx)tst-quad2): Likewise.
9350 ($(objpfx)tst-quad1pie): Likewise.
9351 ($(objpfx)tst-quad2pie): Likewise.
9352 * sysdeps/x86_64/tst-quad1.c: New file.
9353 * sysdeps/x86_64/tst-quad1pie.c: New file.
9354 * sysdeps/x86_64/tst-quad2.c: Likewise.
9355 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9356 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9357 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9358 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9359 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9360
f34d6f84
ST
93612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9362
f42d41d1
ST
9363 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9364 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9365 * streams/stropts.h (t_scalar_t): Define type.
9366
3c3571fc
ST
9367 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9368 (_PATH_PRESERVE): Set to "/var/lib".
9369 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9370
61f06bd3
ST
9371 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9372 instead of int.
9373
918d4d71
ST
9374 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9375 if __dir_mkfile succeeded.
9376
f34d6f84
ST
9377 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9378 checking for _hurd_dtablesize. Unlock it right after having
9379 finished _hurd_dtable allocation.
9380
10589b4a
TS
93812012-05-10 Thomas Schwinge <thomas@schwinge.name>
9382
674cdbc7
TS
9383 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9384 * sysdeps/mach/hurd/configure: Regenerated.
9385 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9386 special-casing to...
9387 * sysdeps/gnu/configure.in: ... this new file.
9388 * sysdeps/unix/sysv/linux/configure: Regenerated.
9389 * sysdeps/gnu/configure: New generated file.
9390
8e41b99f
TS
9391 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9392 for Linux: use nsec instead of usec, as well as:
9393 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9394 members of type struct timespec.
9395 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9396 New macros.
9397 (struct stat64): Likewise.
9398 (_STATBUF_ST_NSEC): New macro.
9399 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9400
10589b4a
TS
9401 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9402 __strtoul_internal rather than strtoul.
9403
63643c85
PT
94042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9405
9406 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9407 and reject them.
9408
3faebe6a
ST
94092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9410
9411 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9412 which preserves existing values.
9413 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9414
c6474b07
PT
94152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9416
9417 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9418 TIMEOUT values. Return EINVAL for NFDS values either negative or
9419 greater than FD_SETSIZE.
9420
1043890b
ST
94212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9422
9423 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9424 allocated, call __vm_protect to finish enabling the existing space, and
9425 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9426 allocate the remainder.
9427
37ed8b9b
PT
94282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9429
9430 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9431 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9432
db653660
ST
94332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9434
37ed8b9b
PT
9435 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9436 sysdeps/mach/hurd/readlink.c.
b29d4053 9437
db653660
ST
9438 * posix/tst-sysconf.c (posix_options): Only use
9439 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9440 _POSIX_SYNCHRONIZED_IO when they are defined
9441 * sysdeps/mach/hurd/bits/posix_opt.h:
9442 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9443 (_XOPEN_REALTIME): Undefine macro.
9444 (_XOPEN_REALTIME_THREADS): Undefine macro.
9445 (_XOPEN_SHM): Undefine macro.
9446 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9447 macro to -1.
9448 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9449 macro to -1.
9450 (_POSIX_ASYNC_IO): Undefine macro.
9451 (_POSIX_PRIORITIZED_IO): Undefine macro.
9452 (_POSIX_SPIN_LOCKS): Define macro to -1.
9453
ee16e894
ST
9454 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9455 SA_NODEFER, SA_RESETHAND.
9456 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9457 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9458 F_DUPFD_CLOEXEC.
9459
6103ae3b
TS
94602012-05-10 Thomas Schwinge <thomas@schwinge.name>
9461
9462 * elf/Makefile (pldd-modules): Define unconditionally.
9463
80b4e5f3
TS
94642012-05-10 Thomas Schwinge <thomas@schwinge.name>
9465
9466 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9467
edadcbd6
ST
94682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9469
9470 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9471 Return ENOENT when name is empty.
9472 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9473
80694780
TS
94742012-05-10 Thomas Schwinge <thomas@schwinge.name>
9475
1792c087
TS
9476 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9477
80694780
TS
9478 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9479
6b645f0d
ST
94802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9481
80694780
TS
9482 Fix mlock in all cases except non-readable pages.
9483 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9484 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 9485
6b645f0d
ST
9486 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9487 (__mkdir): When path is `/', just fail with EEXIST.
9488 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9489
e468f8a3
TS
94902012-05-10 Thomas Schwinge <thomas@schwinge.name>
9491
9492 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9493 <sys/uio.h> (for writev).
9494 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9495 and <sys/param.h> (for MIN).
9496
a4186cff
PT
94972012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9498
9499 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9500 REQUESTED_TIME. Properly set the remaining time and return EINTR
9501 if interrupted.
9502
510bbf14
TS
95032012-05-10 Thomas Schwinge <thomas@schwinge.name>
9504
9505 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9506 Depend on against $(link-rpcuserlibs).
9507
5d5722e8
ST
95082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9509
a4186cff
PT
9510 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9511 (__libc_stack_end): Do not use attribute_relro.
9512 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9513 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 9514 to libthread-provided value.
a4186cff
PT
9515 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9516 attribute_relro.
5d5722e8 9517
37233df9
TS
95182012-05-10 Thomas Schwinge <thomas@schwinge.name>
9519
be971a2b
TS
9520 [BZ #3748]
9521 * bits/libc-lock.h (__libc_once_get): New macro.
9522 * sysdeps/mach/bits/libc-lock.h: Likewise.
9523 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9524 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9525 instead of using implementation details.
9526
37233df9
TS
9527 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9528 * libio/freopen.c: Likewise.
9529 * libio/freopen64.c: Likewise.
9530 * misc/syslog.c: Likewise.
9531 * nscd/connections.c: Likewise.
9532 * nscd/netgroupcache.c: Likewise.
9533 * sysdeps/posix/getcwd.c: Likewise.
9534
38de94a5
RM
95352012-05-10 Roland McGrath <roland@hack.frob.com>
9536
9537 * math/w_ilogbf.c: Add #include <limits.h>.
9538
67530489
ST
95392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9540
a4186cff 9541 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
9542 path instead of returning without unlocking.
9543
67530489
ST
9544 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9545 immediate-write ioctls.
9546 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9547
5aa3a74a
TS
95482012-05-10 Thomas Schwinge <thomas@schwinge.name>
9549
18bad2ae
TS
9550 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9551 __builtin_frame_address instead of making assumptions about the
9552 location of the return address relative to DATA. Force early load of
9553 the return address.
9554 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9555 __builtin_frame_address.
9556
5aa3a74a
TS
9557 dup3 for GNU Hurd.
9558 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9559 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9560 implement dup3 and do some further code clean-ups.
9561 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9562 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9563
ecd0de9a
ST
95642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9565
cd9fa985
ST
9566 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9567
a4186cff
PT
9568 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9569 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9570 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9571 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9572 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9573 d->port.lock.
802ca5a5 9574
a4186cff
PT
9575 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9576 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9577 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 9578
bcf55240
TS
95792012-05-10 Thomas Schwinge <thomas@schwinge.name>
9580
6960eb42
TS
9581 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9582 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9583 definitions.
9584
eb43375f
TS
9585 accept4 for GNU Hurd.
9586 * include/sys/socket.h (__libc_accept4): New prototype.
9587 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9588 to implement __libc_accept4.
9589 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9590 __libc_accept4.
9591 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9592
bcf55240
TS
9593 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9594 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9595 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9596 signal-defines.sym.
9597
6178c55b
ST
95982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9599
a4186cff 9600 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 9601
6f080c2f
TS
96022012-05-10 Thomas Schwinge <thomas@schwinge.name>
9603
9604 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9605 assertion on O_CLOEXEC flag.
9606 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9607 * hurd/intern-fd.c: Likewise.
9608 * hurd/port2fd.c: Likewise.
9609
bcfe3a54
ST
96102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9611
9612 [BZ #3906]
9613 * bits/in.h (IPV6_PKTINFO): Define new macro.
9614 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9615
89c9aa49
AZ
96162012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9617
9618 [BZ #13954]
9619 [BZ #13955]
9620 [BZ #13956]
9621 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9622 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9623 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9624 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9625 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9626 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9627 * math/libm-test.inc (logb_test) : Additional logb tests.
9628
021db4be
AJ
96292012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9630 Andreas Jaeger <aj@suse.de>
9631
9632 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9633 * configure: Regenerated.
9634 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9635 * config.make.in (link-obsolete-rpc): New substituted variable.
9636 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9637 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9638 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9639 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9640 so that libc.a contains the symbols.
9641 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9642 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9643 * sunrpc/auth_none.c: Likewise.
9644 * sunrpc/auth_unix.c: Likewise.
9645 * sunrpc/authdes_prot.c: Likewise.
9646 * sunrpc/authuxprot.c: Likewise.
9647 * sunrpc/clnt_gen.c: Likewise.
9648 * sunrpc/clnt_perr.c: Likewise.
9649 * sunrpc/clnt_raw.c: Likewise.
9650 * sunrpc/clnt_simp.c: Likewise.
9651 * sunrpc/clnt_tcp.c: Likewise.
9652 * sunrpc/clnt_udp.c: Likewise.
9653 * sunrpc/clnt_unix.c: Likewise.
9654 * sunrpc/des_crypt.c: Likewise.
9655 * sunrpc/des_soft.c: Likewise.
9656 * sunrpc/get_myaddr.c: Likewise.
9657 * sunrpc/key_call.c: Likewise.
9658 * sunrpc/key_prot.c: Likewise.
9659 * sunrpc/netname.c: Likewise.
9660 * sunrpc/pm_getmaps.c: Likewise.
9661 * sunrpc/pm_getport.c: Likewise.
9662 * sunrpc/pmap_clnt.c: Likewise.
9663 * sunrpc/pmap_prot.c: Likewise.
9664 * sunrpc/pmap_prot2.c: Likewise.
9665 * sunrpc/pmap_rmt.c: Likewise.
9666 * sunrpc/publickey.c: Likewise.
9667 * sunrpc/rpc_cmsg.c: Likewise.
9668 * sunrpc/rpc_common.c: Likewise.
9669 * sunrpc/rpc_dtable.c: Likewise.
9670 * sunrpc/rpc_prot.c: Likewise.
9671 * sunrpc/rpc_thread.c: Likewise.
9672 * sunrpc/rtime.c: Likewise.
9673 * sunrpc/svc.c: Likewise.
9674 * sunrpc/svc_auth.c: Likewise.
9675 * sunrpc/svc_raw.c: Likewise.
9676 * sunrpc/svc_run.c: Likewise.
9677 * sunrpc/svc_tcp.c: Likewise.
9678 * sunrpc/svc_udp.c: Likewise.
9679 * sunrpc/svc_unix.c: Likewise.
9680 * sunrpc/svcauth_des.c: Likewise.
9681 * sunrpc/xcrypt.c: Likewise.
9682 * sunrpc/xdr.c: Likewise.
9683 * sunrpc/xdr_array.c: Likewise.
9684 * sunrpc/xdr_float.c: Likewise.
9685 * sunrpc/xdr_intXX_t.c: Likewise.
9686 * sunrpc/xdr_mem.c: Likewise.
9687 * sunrpc/xdr_rec.c: Likewise.
9688 * sunrpc/xdr_ref.c: Likewise.
9689 * sunrpc/xdr_sizeof.c: Likewise.
9690 * sunrpc/xdr_stdio.c: Likewise.
9691
b5c086a2
RM
96922012-05-10 Roland McGrath <roland@hack.frob.com>
9693
9694 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9695 change. Update copyright years.
9696
6d74dd09
JM
96972012-05-10 Joseph Myers <joseph@codesourcery.com>
9698
9699 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9700
28e72501
MK
97012012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9702 Joseph Myers <joseph@codesourcery.com>
9703 Paul Pluzhnikov <ppluzhnikov@google.com>
9704
9705 [BZ #14012]
9706 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9707 requiring rpcgen.
9708 [cross-compiling] (extra-libs): Likewise.
9709 [cross-compiling] (extra-libs-others): Likewise.
9710 [cross-compiling] (librpcsvc-routines): Likewise.
9711 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9712 [cross-compiling] (omit-deps): Likewise.
9713 (sunrpc-CPPFLAGS): New variable.
9714 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9715 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9716 (cross-rpcgen-objs): New variable.
9717 (extra-objs): Append $(cross-rpcgen-objs).
9718 ($(cross-rpcgen-objs)): New rule.
9719 ($(objpfx)cross-rpcgen): Likewise.
9720 (rpcgen-cmd): Define to use $(built-program-file). Expand
9721 comment.
9722 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9723 ($(objpfx)x%.stmp): Likewise.
9724 * sunrpc/proto.h [IS_IN_build] (_): Define.
9725 [IS_IN_build] (_libc_intl_domainname): Likewise.
9726
c8c59454
L
97272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9728
9729 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9730 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9731 and R_X86_64_TPOFF64.
9732
6f27cd16
JM
97332012-05-10 Joseph Myers <joseph@codesourcery.com>
9734
9735 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9736 sysdeps/unix/sysv/syscalls.list.
9737 (stime): Likewise.
9738 (utime): Likewise.
9739 * sysdeps/unix/sysv/syscalls.list: Remove file.
9740
02467e1c
PE
97412012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9742
9743 [BZ #3440]
9744 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9745 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9746 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9747 (__LC_IDENTIFICATION): Make these macros useful in #if
9748 expressions, as required by C99.
9749
da392631
AS
97502012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9751
9752 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9753 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9754 after this.
9755
8115f29b
L
97562012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9757
9758 * stdlib/longlong.h: Updated from GCC.
9759
bdd74070
AJ
97602012-05-09 Andreas Jaeger <aj@suse.de>
9761
edfe0dbe
AJ
9762 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9763 default is first entry.
9764 (run_mode): Set type.
9765 (main): Remove informal message about syslog.
9766 (options): Fix typo.
9767
bcfe3a54
ST
9768 [BZ #14053]
9769 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 9770 to asm.
bcfe3a54
ST
9771 (lrint): Likewise.
9772 (llrintf): Likewise.
9773 (llrint): Likewise.
9774 (rint): Likewise.
9775 (rintf): Likewise.
9776 (nearbyint): Likewise.
9777 (nearbyintf): Likewise.
bdd74070 9778
91d8d69e
AJ
97792012-05-09 Andreas Jaeger <aj@suse.de>
9780 Pedro Alves <palves@redhat.com>
9781
9782 * nscd/nscd.c (run_mode): Use enum.
9783 (main): Cleanup coding style issue.
9784
bb90b80b
AJ
97852012-05-09 Alexandre Oliva <aoliva@redhat.com>
9786 Andreas Jaeger <aj@suse.de>
9787
bcfe3a54
ST
9788 * nscd/nscd.c (go_background): Replaced with...
9789 (run_mode): ... this.
bb90b80b 9790 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
9791 (options): Add -F --foreground.
9792 (main): Implement it.
9793 (parse_opt): Parse it.
bb90b80b 9794
1a4b75a1
AJ
97952012-05-09 Andreas Jaeger <aj@suse.de>
9796
9797 [BZ #14083]
9798 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9799 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9800 -Wconversion warning.
9801 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9802 Likewise.
9803
b1cc2472
JM
98042012-05-09 Joseph Myers <joseph@codesourcery.com>
9805
9806 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9807 == 0.
9808 (LC_ALL): Use macro-int-constant.
9809 (LC_COLLATE): Likewise.
9810 (LC_CTYPE): Likewise.
9811 (LC_MESSAGES): Likewise.
9812 (LC_MONETARY): Likewise.
9813 (LC_NUMERIC): Likewise.
9814 (LC_TIME): Likewise.
9815 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9816 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9817 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9818 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9819 Specify type.
9820 [C99-based standards] (float_t): Expect type.
9821 [C99-based standards] (double_t): Expect type.
9822 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9823 type.
9824 [C99-based standards] (HUGE_VALL): Likewise.
9825 [C99-based standards] (INFINITY): Likewise.
9826 [C99-based standards] (NAN): Likewise.
9827 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9828 [C99-based standards] (FP_NAN): Likewise.
9829 [C99-based standards] (FP_NORMAL): Likewise.
9830 [C99-based standards] (FP_SUBNORMAL): Likewise.
9831 [C99-based standards] (FP_ZERO): Likewise.
9832 [C99-based standards] (FP_FAST_FMA): Use
9833 optional-macro-int-constant. Specify type. Require == 1.
9834 [C99-based standards] (FP_FAST_FMAF): Likewise.
9835 [C99-based standards] (FP_FAST_FMAL): Likewise.
9836 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9837 [C99-based standards] (FP_ILOGBNAN): Likewise.
9838 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9839 Specify type.
9840 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9841 [C99-based standards] (math_errhandling): Specify type.
9842 [ISO99 || ISO11] (signgam): Do not allow.
9843 [non-C99-based standards] (copysignf): Do not allow.
9844 [non-C99-based standards] (exp2f): Likewise.
9845 [non-C99-based standards] (log2f): Likewise.
9846 [non-C99-based standards] (modff): Allow.
9847 [non-C99-based standards] (erff): Do not allow.
9848 [non-C99-based standards] (erfcf): Likewise.
9849 [non-C99-based standards] (gammaf): Likewise.
9850 [non-C99-based standards] (hypotf): Likewise.
9851 [non-C99-based standards] (j0f): Likewise.
9852 [non-C99-based standards] (j1f): Likewise.
9853 [non-C99-based standards] (jnf): Likewise.
9854 [non-C99-based standards] (lgammaf): Likewise.
9855 [non-C99-based standards] (tgammaf): Likewise.
9856 [non-C99-based standards] (y0f): Likewise.
9857 [non-C99-based standards] (y1f): Likewise.
9858 [non-C99-based standards] (ynf): Likewise.
9859 [non-C99-based standards] (isnanf): Likewise.
9860 [non-C99-based standards] (acoshf): Likewise.
9861 [non-C99-based standards] (asinhf): Likewise.
9862 [non-C99-based standards] (atanhf): Likewise.
9863 [non-C99-based standards] (cbrtf): Likewise.
9864 [non-C99-based standards] (expm1f): Likewise.
9865 [non-C99-based standards] (ilogbf): Likewise.
9866 [non-C99-based standards] (log1pf): Likewise.
9867 [non-C99-based standards] (logbf): Likewise.
9868 [non-C99-based standards] (nextafterf): Likewise.
9869 [non-C99-based standards] (remainderf): Likewise.
9870 [non-C99-based standards] (rintf): Likewise.
9871 [non-C99-based standards] (scalbf): Likewise.
9872 [non-C99-based standards] (copysignl): Likewise.
9873 [non-C99-based standards] (exp2l): Likewise.
9874 [non-C99-based standards] (log2l): Likewise.
9875 [non-C99-based standards] (modfl): Allow.
9876 [non-C99-based standards] (erfl): Do not allow.
9877 [non-C99-based standards] (erfcl): Likewise.
9878 [non-C99-based standards] (gammal): Likewise.
9879 [non-C99-based standards] (hypotl): Likewise.
9880 [non-C99-based standards] (j0l): Likewise.
9881 [non-C99-based standards] (j1l): Likewise.
9882 [non-C99-based standards] (jnl): Likewise.
9883 [non-C99-based standards] (lgammal): Likewise.
9884 [non-C99-based standards] (tgammal): Likewise.
9885 [non-C99-based standards] (y0l): Likewise.
9886 [non-C99-based standards] (y1l): Likewise.
9887 [non-C99-based standards] (ynl): Likewise.
9888 [non-C99-based standards] (isnanl): Likewise.
9889 [non-C99-based standards] (acoshl): Likewise.
9890 [non-C99-based standards] (asinhl): Likewise.
9891 [non-C99-based standards] (atanhl): Likewise.
9892 [non-C99-based standards] (cbrtl): Likewise.
9893 [non-C99-based standards] (expm1l): Likewise.
9894 [non-C99-based standards] (ilogbl): Likewise.
9895 [non-C99-based standards] (log1pl): Likewise.
9896 [non-C99-based standards] (logbl): Likewise.
9897 [non-C99-based standards] (nextafterl): Likewise.
9898 [non-C99-based standards] (remainderl): Likewise.
9899 [non-C99-based standards] (rintl): Likewise.
9900 [non-C99-based standards] (scalbl): Likewise.
9901 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9902 [non-C99-based standards] (FP_*): Do not allow.
9903 [C99-based standards] (FP_*): Change to
9904 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9905 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9906 allow.
9907 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9908 (SIG_ERR): Likewise.
9909 [X/Open-based standards] (SIG_HOLD): Likewise.
9910 (SIG_IGN): Likewise.
9911 (SIGABRT): Use macro-int-constant. Specify type. Require
9912 positive value.
9913 (SIGFPE): Likewise.
9914 (SIGILL): Likewise.
9915 (SIGINT): Likewise.
9916 (SIGSEGV): Likewise.
9917 (SIGTER): Likewise.
9918 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9919 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9920 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9921 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9922 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9923 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9924 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9925 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9926 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9927 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9928 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9929 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9930 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9931 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9932 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9933 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9934 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9935 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9936 [X/Open-based standards] (SIGTRAP): Likewise.
9937 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9938 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9939 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9940 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9941 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9942 allow.
9943
b9f1922d
IW
99442012-05-08 Ian Wienand <ianw@vmware.com>
9945
9946 [BZ #14080]
9947 * time/tzset.c (__tzset_parse_tz): Update default rules for
9948 daylight time changes in the Energy Policy Act of 2005.
9949
1db86e88
AJ
99502012-05-09 Andreas Jaeger <aj@suse.de>
9951
9952 [BZ #13983]
9953 * elf/ldconfig.c (parse_conf): Change string to make clear that
9954 ldconfig only issued a warning if ld.so.conf does not exist.
9955
dee4a4e3
DM
99562012-05-08 David S. Miller <davem@davemloft.net>
9957
ee0db190
DM
9958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9959 movxtod instead of popping the value on the stack.
9960
dee4a4e3
DM
9961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9962
6a43ec98
CD
99632012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9964
9965 * config.h.in: Add HAVE_ARM_PCS_VFP.
9966
05c2c961
RMG
99672012-05-08 Roland Mc Grath <roland@hack.frob.com>
9968
bcfe3a54
ST
9969 [BZ #13979]
9970 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9971 checking but the checks are disabled for any reason.
05c2c961 9972
4b30f61a
L
99732012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9974
9975 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9976 and ELF64_R_TYPE with ELFW(R_TYPE).
9977
eee2bc67
JM
99782012-05-08 Joseph Myers <joseph@codesourcery.com>
9979
7ea5391a
JM
9980 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9981 (ulimit): Likewise.
9982
eee2bc67
JM
9983 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9984 (settimeofday): Likewise.
9985
abb66a67
MF
99862012-05-08 Mike Frysinger <vapier@gentoo.org>
9987
9988 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9989 a struct th_u2 inside the union, and move tu_block/tu_code into
9990 a new th_u3 union of tu_block/tu_code inside of that. Move
9991 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9992 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9993 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9994 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9995 (th_stuff): Change to th_u1.tu_stuff.
9996 (th_data): Define.
9997 (th_msg): Change to th_u1.th_u2.tu_data.
9998
7f18b530
DM
99992012-05-07 David S. Miller <davem@davemloft.net>
10000
05760585
DM
10001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10002
7f18b530
DM
10003 [BZ #14074]
10004 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10005 (SETUP_PIC_REG): Use it.
10006 (SETUP_PIC_REG_LEAF): Use it.
10007
495fd99f
JM
100082012-05-07 Joseph Myers <joseph@codesourcery.com>
10009
10010 [BZ #13885]
10011 [BZ #13923]
10012 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10013 USE_AS_EXPM1L.
10014 (EXPL_FINITE): Likewise.
10015 (FLDLOG): Likewise.
10016 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10017 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10018 e_expl.S.
10019 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10020 USE_AS_EXPM1L.
10021 (EXPL_FINITE): Likewise.
10022 (FLDLOG): Likewise.
10023 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10024 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10025 e_expl.S.
10026 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10027 test of -max_value argument for long double.
10028 * sysdeps/i386/fpu/libm-test-ulps: Update.
10029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10030
6693d694
DM
100312012-05-06 David S. Miller <davem@davemloft.net>
10032
10033 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10034 quad soft-float symbols whose references which are compiler
10035 generated.
10036 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10037
6c23e11c
JM
100382012-05-06 Joseph Myers <joseph@codesourcery.com>
10039
d8b82cad
JM
10040 [BZ #13884]
10041 [BZ #13914]
10042 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10043 USE_AS_EXP10L.
10044 (EXPL_FINITE): Likewise.
10045 (FLDLOG): Likewise.
10046 (c0): Likewise.
10047 (c1): Likewise.
10048 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10049 Adjust comments for base varying.
10050 (__expl_finite): Change alias to EXPL_FINITE.
10051 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10052 e_expl.S.
10053 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10054 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10055 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10056 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10057 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10058 USE_AS_EXP10L.
10059 (EXPL_FINITE): Likewise.
10060 (FLDLOG): Likewise.
10061 (c0): Likewise.
10062 (c1): Likewise.
10063 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10064 Adjust comments for base varying.
10065 (__expl_finite): Change alias to EXPL_FINITE.
10066 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10067 tests for bugs.
10068 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10069
6c23e11c
JM
10070 [BZ #14064]
10071 * math/libm-test.inc (check_float_internal): Correct ulp
10072 calculation for subnormal expected results.
10073
29ba805c
AJ
100742012-05-06 Andreas Jaeger <aj@suse.de>
10075
10076 * Makeconfig (+math-flags): New, set to -frounding-math.
10077 (+cflags): Add +math-flags so that all of glibc gets compiled with
10078 it.
10079
10080 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10081
7b17aeda
JM
100822012-05-05 Joseph Myers <joseph@codesourcery.com>
10083
5779f134
JM
10084 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10085 Disable one test.
10086
41498f4d
JM
10087 [BZ #13787]
10088 [BZ #13922]
10089 [BZ #14036]
10090 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10091 (__ieee754_expl): Allow for and saturate large arguments.
10092 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10093 (u_threshold): Likewise.
10094 (__exp): Call __ieee754_exp before checking for overflow and
10095 underflow.
10096 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10097 (u_threshold): Likewise.
10098 (__expf): Call __ieee754_expf before checking for overflow and
10099 underflow.
10100 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10101 (u_threshold): Likewise.
10102 (__expl): Call __ieee754_expl before checking for overflow and
10103 underflow.
10104 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10105 (__ieee754_expl): Allow for and saturate large arguments.
10106 * math/libm-test.inc (exp_test): Add another test. Do not allow
10107 missing overflow exception on overflow.
10108 (expm1_test): Do not allow missing overflow exception on overflow.
10109
6698b8bf
JM
10110 * sysdeps/i386/fpu/e_expl.c: Move to ...
10111 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10112 rather than using inline asm.
10113 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10114 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10115 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10116
7b17aeda
JM
10117 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10118 (nice): Likewise.
10119 (poll): Likewise.
10120 (signal): Likewise.
10121 (time): Likewise.
10122 (times): Likewise.
10123
f7c85819
JM
101242012-05-04 Joseph Myers <joseph@codesourcery.com>
10125
10126 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10127 sysdeps/unix/common/syscalls.list.
10128 (fchmod): Likewise.
10129 (fchown): Likewise.
10130 (ftruncate): Likewise.
10131 (getrusage): Likewise.
10132 (gettimeofday): Likewise.
10133 (setpgid): Likewise.
10134 (setregid): Likewise.
10135 (setreuid): Likewise.
10136 (sigaction): Likewise.
10137 (truncate): Likewise.
10138 (vhangup): Likewise.
10139 * sysdeps/unix/common/syscalls.list: Remove file.
10140 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10141 * sysdeps/unix/sysv/linux/Implies: Likewise.
10142
336270d0
L
101432012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10144
10145 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10147 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10148 Moved to ...
10149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10150 Here.
10151 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10152 to ...
10153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10154 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10155 to ...
10156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10157 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10158 to ...
10159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10160 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10161 to ...
10162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10163 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10164 to ...
10165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10166 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10167 to ...
10168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10169 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10170 to ...
10171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10172 Here.
10173 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10174 to ...
10175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10176 Here.
10177 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10178 to ...
10179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10180 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10181 Moved to ...
10182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10183 Here.
10184 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10185 to ...
10186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10187
d128e450
JM
101882012-05-04 Joseph Myers <joseph@codesourcery.com>
10189
fa8ee516
JM
10190 * sysdeps/unix/common/bits/dirent.h: Remove file.
10191 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10192
d128e450
JM
10193 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10194 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10195 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10196 * sysdeps/unix/bsd/isatty.c: Likewise.
10197 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10198 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10199 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10200
ff8faaf0 102012012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 10202
62881be4 10203 [BZ #13563]
31dc8730
AZ
10204 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10205 long double comparison inaccuracies.
10206 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10208
6fef930c
AS
102092012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10210
10211 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10212 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10213
8f203e6c
JM
102142012-05-04 Joseph Myers <joseph@codesourcery.com>
10215
10216 [BZ #14049]
10217 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10218 nonzero digits before rounding a hex value.
10219 * stdlib/tst-strtod.c (tests): Add another test.
10220
5197d9c2
AK
102212012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10222
10223 * sysdeps/s390/fpu/libm-test-ulps: Update.
10224
f0c1dedf
AJ
102252012-05-03 Andreas Jaeger <aj@suse.de>
10226
10227 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10228 does not get optimized out.
10229 (malloc_opt_barrier): New.
10230
a65ef2ae 102312012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 10232 Roland McGrath <roland@hack.frob.com>
a65ef2ae 10233
2b942cb7 10234 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 10235 intermediate file deletion.
2b942cb7 10236 (generated): Add .symlist files.
a65ef2ae 10237
54b71e02
JM
102382012-05-03 Joseph Myers <joseph@codesourcery.com>
10239
10240 [BZ #13775]
10241 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10242 Redirect under this condition.
10243 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10244 [__USE_GNU] (__dprintf_chk): Not under this condition.
10245 [__USE_GNU] (__vdprintf_chk): Likewise.
10246 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10247 under this condition.
10248 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10249 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10250 [__USE_XOPEN2K8] (vdprintf): Likewise.
10251 [__USE_GNU] (__dprintf_chk): Not under this condition.
10252 [__USE_GNU] (__vdprintf_chk): Likewise.
10253 [__USE_GNU] (dprintf): Likewise.
10254 [__USE_GNU] (vdprintf): Likewise.
10255
d3dfcc41
RM
102562012-05-03 Roland McGrath <roland@hack.frob.com>
10257
10258 * elf/Makefile (common-generated): Set this instead of generated for
10259 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10260 $(all-built-dso)-derived lists.
10261
7ac30cc5
AJ
102622012-05-03 Andreas Jaeger <aj@suse.de>
10263
0c51e550
AJ
10264 * sysdeps/i386/fpu/libm-test-ulps: Update.
10265
7ac30cc5
AJ
10266 * FAQ: Removed.
10267 * FAQ.in: Likewise.
10268 * scripts/gen-FAQ.pl: Likewise.
10269 * manual/install.texi (Installation): Point to online location of
10270 FAQ.
10271 * Makefile (files-for-dist): Remove FAQ.
10272 (FAQ): Remove.
10273
d4c2917f
AM
102742012-05-02 Allan McRae <allan@archlinux.org>
10275
10276 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10277 (LDFLAGS-reldepmod5.so): Likewise.
10278 (LDFLAGS-reldep6mod1.so): Likewise.
10279 (LDFLAGS-reldep6mod4.so): Likewise.
10280 (LDFLAGS-reldep8mod3.so): Likewise.
10281 (LDFLAGS-unload4mod1.so): Likewise.
10282 (LDFLAGS-unload4mod2.so): Likewise.
10283 (LDFLAGS-tst-initorder): Likewise.
10284 (LDFLAGS-tst-initordera2.so): Likewise.
10285 (LDFLAGS-tst-initordera3.so): Likewise.
10286 (LDFLAGS-tst-initordera4.so): Likewise.
10287 (LDFLAGS-tst-initorderb2.so): Likewise.
10288 (LDFLAGS-noload): Likewise.
10289 (LDFLAGS-next): Likewise.
10290 (LDFLAGS-order2mod1.so): Likewise.
10291 (LDFLAGS-order2mod2.so): Likewise.
10292 (LDFLAGS-tst-initorder2): Likewise.
10293 (LDFLAGS-tst-initorder2a.so): Likewise.
10294 (LDFLAGS-tst-initorder2b.so): Likewise.
10295 (LDFLAGS-tst-initorder2c.so): Likewise.
10296 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10297
d77f993f
DM
102982012-05-02 David S. Miller <davem@davemloft.net>
10299
10300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10301
171a70b4
PP
103022012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10303
10304 [BZ #14055]
10305 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10306
0be196ad
AJ
103072012-05-02 Andreas Jaeger <aj@suse.de>
10308
10309 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10310 since we manipulate rounding mode.
10311 (CPPFLAGS-test-idouble.c): Likewise.
10312 (CPPFLAGS-test-ifloat.c): Likewise.
10313 (CFLAGS-test-ldouble.c): Likewise.
10314 (CFLAGS-test-double.c): Likewise.
10315 (CFLAGS-test-float.c): Likewise.
10316 (CFLAGS-test-misc.c): Likewise.
10317 (CFLAGS-test-test-fenv.c): Likewise.
10318
4f9d04aa
AZ
103192012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10320
2b942cb7
RM
10321 [BZ #2550]
10322 [BZ #2570]
10323 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10324 comparisons to determine direction to adjust input.
4f9d04aa 10325
82a79e7d
RM
103262012-05-01 Roland McGrath <roland@hack.frob.com>
10327
f5a01ca9
RM
10328 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10329 output to the target.
10330
90fe4186
RM
10331 * scripts/localplt.awk: New file.
10332 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10333 (check-localplt-CFLAGS): Variable removed.
10334 ($(all-built-dso:=.jmprel)): New static pattern rule.
10335 (generated): Add those targets.
10336 (localplt-built-dso): New variable.
10337 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10338
10339 * elf/check-localplt.c: File removed.
10340
82397ed6
RM
10341 * scripts/check-execstack.awk: New file.
10342 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10343 (check-execstack-CFLAGS): Variable removed.
10344 ($(objpfx)check-execstack.h): Target removed.
10345 ($(objpfx)execstack-default): New target.
10346 (generated): Add that instead of check-execstack.h.
10347 ($(all-built-dso:=.phdr)): New static pattern rule.
10348 (generated): Add those targets.
10349 * elf/check-execstack.c: File removed.
10350
82a79e7d
RM
10351 * scripts/check-textrel.awk: New file.
10352 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10353 (check-textrel-CFLAGS): Variable removed.
10354 (all-built-dso): Use := to define.o
10355 ($(all-built-dso:=.dyn)): New static pattern rule.
10356 (generated): Add those targets.
10357 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10358 * config.make.in (READELF): New substituted variable.
10359 * elf/check-textrel.c: File removed.
10360
62fde54f 103612012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 10362
615605c9
JM
10363 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10364 allow.
10365 * conform/data/ctype.h-data [C99-based standards] (isblank):
10366 Expect function.
10367 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10368 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10369 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10370 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10371 Specify type. Require positive value.
10372 (EILSEQ): Likewise.
10373 (ERANGE): Likewise.
10374 [ISO || POSIX] (EILSEQ): Do not expect.
10375 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10376 Specify type. Require positive value.
10377 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10378 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10379 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10380 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10381 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10382 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10383 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10384 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10385 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10386 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10387 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10388 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10389 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10390 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10391 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10392 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10393 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10394 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10395 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10396 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10397 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10398 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10399 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10400 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10401 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10402 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10403 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10404 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10405 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10406 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10407 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10408 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10409 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10410 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10411 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10412 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10413 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10414 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10415 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10416 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10417 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10418 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10419 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10420 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10421 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10422 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10423 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10424 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10425 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10426 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10427 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10428 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10429 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10430 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10431 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10432 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10433 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10434 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10435 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10436 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10437 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10438 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10439 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10440 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10441 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10442 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10443 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10444 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10445 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10446 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10447 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10448 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10449 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10450 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10451 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10452 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10453 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10454 Require >= 2.
10455 (FLT_ROUNDS): Expect as macro, not constant.
10456 (FLT_MANT_DIG): Use macro-int-constant.
10457 (DBL_MANT_DIG): Likewise.
10458 (LDBL_MANT_DIG): Likewise.
10459 (FLT_DIG): Likewise.
10460 (DBL_DIG): Likewise.
10461 (LDBL_DIG): Likewise.
10462 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10463 (DBL_MIN_EXP): Likewise.
10464 (LDBL_MIN_EXP): Likewise.
10465 (FLT_MAX_EXP): Use macro-int-constant.
10466 (DBL_MAX_EXP): Likewise.
10467 (LDBL_MAX_EXP): Likewise.
10468 (FLT_MAX_10_EXP): Likewise.
10469 (DBL_MAX_10_EXP): Likewise.
10470 (LDBL_MAX_10_EXP): Likewise.
10471 (FLT_MAX): Use macro-constant.
10472 (DBL_MAX): Likewise.
10473 (LDBL_MAX): Likewise.
10474 (FLT_EPSILON): Use macro-constant. Give upper bound.
10475 (DBL_EPSILON): Likewise.
10476 (LDBL_EPSILON): Likewise.
10477 (FLT_MIN): Likewise.
10478 (DBL_MIN): Likewise.
10479 (LDBL_MIN): Likewise.
10480 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10481 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10482 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10483 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10484 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10485 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10486 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10487 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10488 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10489 [ISO11] (FLT_TRUE_MIN): Likewise.
10490 [ISO11] (LDBL_TRUE_MIN): Likewise.
10491 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10492 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10493 (SCHAR_MIN): Use macro-int-constant. Specify type.
10494 (SCHAR_MAX): Likewise.
10495 (UCHAR_MAX): Likewise.
10496 (CHAR_MIN): Likewise.
10497 (CHAR_MAX): Likewise.
10498 (MB_LEN_MAX): Use macro-int-constant.
10499 (SHRT_MIN): Use macro-int-constant. Specify type.
10500 (SHRT_MAX): Likewise.
10501 (USHRT_MAX): Likewise.
10502 (INT_MAX): Likewise.
10503 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10504 bound negative.
10505 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10506 bound with "U".
10507 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10508 bound with "L".
10509 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10510 bound negative. Suffix upper bound with "L".
10511 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10512 bound with "UL".
10513 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10514 Specify type.
10515 [C99-based standards] (LLONG_MAX): Likewise.
10516 [C99-based standards] (ULLONG_MAX): Likewise.
10517 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10518 == 0.
10519 [ISO11] (max_align_t): Require type.
10520 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10521
c9140a62
JM
10522 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10523 from $CFLAGS, without defining away __attribute__ calls.
10524 (checknamespace): Use $CFLAGS_namespace.
10525
9af0bf29
JM
10526 * conform/conformtest.pl (@keywords): Only include C99 keywords
10527 for standards based on C99 or C11.
10528
343222a2
JM
10529 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10530 Disable tests.
10531 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10532 UNIX98]: Likewise.
10533
661f8cf0
JM
10534 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10535 usability of symbols in #if.
10536
ee74b9cb
JM
10537 * conform/conformtest.pl: If macro or constant types start
10538 "promoted:", expect the symbol to be of the following type
10539 promoted by the integer promotions.
62fde54f 10540
aafc49b3
JM
10541 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10542 in one place. Also handle "macro-constant".
10543
fefdf574
JM
10544 * conform/conformtest.pl: Only accept expected macro values with
10545 "==". Parse all "macro" lines in one place.
10546 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10547
f2d922fe
JM
10548 * conform/conformtest.pl: Handle braced types on "constant" lines
10549 instead of handling "typed-constant".
10550 * conform/data/signal.h-data: Use "constant" instead of
10551 "typed-constant".
10552
d22956c9
JM
10553 * conform/conformtest.pl: Handle "optional-" at start of lines in
10554 one place rather than duplicating several cases. Handle each
10555 format of "macro" line with initial "optional-".
10556
028e2e38
JM
10557 * conform/conformtest.pl: Only accept expected constant or
10558 optional-constant values with "==". Parse all "constant" lines in
10559 one place. Parse all "optional-constant" lines in one place.
10560 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10561 * conform/data/fmtmsg.h-data: Likewise.
10562 * conform/data/netinet/in.h-data: Likewise.
10563 * conform/data/tar.h-data: Likewise.
10564 * conform/data/limits.h-data: Use "==" form on "constant" and
10565 "optional-constant" lines.
10566
1b8f2850
JM
10567 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10568 Use -std=c99 for XOPEN2K.
10569 (@knownproblems): Remove.
10570 (newtoken): Don't check %isknown.
10571
a05a144b
JM
10572 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10573 Do not expect macro.
10574 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10575 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10576 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10577 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10578 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10579 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10580 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10581 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10582 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10583 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10584 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10585 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10586 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10587 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10588 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10589 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10590 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10591 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10592 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10593 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10594 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10595 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10596 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10597 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10598 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10599 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10600 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10601 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10602 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10603 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10604 [XPG3] (acosh): Likewise.
10605 [XPG3] (asinh): Likewise.
10606 [XPG3] (atanh): Likewise.
10607 [XPG3] (cbrt): Likewise.
10608 [XPG3] (expm1): Likewise.
10609 [XPG3] (ilogb): Likewise.
10610 [XPG3] (log1p): Likewise.
10611 [XPG3] (logb): Likewise.
10612 [XPG3] (nextafter): Likewise.
10613 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10614 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10615 [XPG3] (remainder): Likewise.
10616 [XPG3] (rint): Likewise.
10617 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10618 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10619 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10620 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10621 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10622 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10623 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10624 [UNIX98 || XOPEN2K] (scalb): Expect.
10625 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10626 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10627 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10628 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10629 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10630 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10631 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10632 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10633 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10634 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10635 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10636 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10637 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10638 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10639 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10640 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10641 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10642 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10643 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10644 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10645 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10646 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10647 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10648 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10649 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10650 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10651 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10652 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10653 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10654 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10655 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10656 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10657 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10658 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10659 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10660 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10661 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10662 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10663 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10664 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10665 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10666 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10667 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10668 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10669 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10670 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10671 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10672 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10673 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10674 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10675 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10676 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10677 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10678 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10679 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10680 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10681 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10682 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10683 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10684 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10685 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10686 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10687 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10688 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10689 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10690 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10691 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10692 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10693 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10694 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10695 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10696 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10697 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10698 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10699 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10700 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10701 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10702 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10703 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10704 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10705 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10706 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10707 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10708 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10709 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10710 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10711 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10712 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10713 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10714 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10715 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10716 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10717 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10718 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10719 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10720 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10721 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10722 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10723 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10724 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10725 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10726 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10727 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10728 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10729 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10730 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10731 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10732 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10733 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10734 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10735 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10736 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10737 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10738 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10739 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10740 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10741 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10742 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10743 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10744 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10745 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10746 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10747 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10748 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10749 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10750 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10751 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10752 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10753 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10754 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10755 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10756 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10757 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10758 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10759 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10760 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10761 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10762
73c5ebe3
JM
10763 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10764 _XOPEN_SOURCE_EXTENDED for XPG4.
10765
39c33b6c
JM
10766 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10767
62fde54f
JM
10768 * Makeconfig (localtime): Remove variable.
10769 (inst_localtime-file): Likewise.
10770
0741d64c
AS
107712012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10772
10773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10774 Update.
10775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10776 Update.
10777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10778 Update.
10779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10780 Update.
10781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10782 Update.
10783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10784 Update.
10785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10786 Update.
10787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10788 Update.
10789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10790 Update.
10791
7cb029ee
JM
107922012-05-01 Joseph Myers <joseph@codesourcery.com>
10793
10794 [BZ #2550]
10795 [BZ #2570]
10796 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10797 comparisons to determine direction to adjust input.
10798 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10799 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10800 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10801 Likewise.
10802 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10803 Likewise.
10804 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10805 Likewise.
10806 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10807 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10808 Likewise.
10809 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10810 Likewise.
10811 * math/libm-test.inc (nexttoward_test): Add more tests.
10812
412bd966
AS
108132012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10814
10815 [BZ #14040]
10816 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10817 in version GLIBC_2.1, not GLIBC_2.0.
10818 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10819 Likewise.
10820
9568c0c2
JM
108212012-04-30 Joseph Myers <joseph@codesourcery.com>
10822
adfbc8ac
JM
10823 [BZ #13942]
10824 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10825 (1 - x) * (1 + x).
10826 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10827 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10828 * math/libm-test.inc (acos_test): Add more tests.
10829 (asin_test): Likewise.
10830 * sysdeps/i386/fpu/libm-test-ulps: Update.
10831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10832
5ba3cc69
JM
10833 [BZ #14034]
10834 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10835 of square root.
10836 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10837 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10838 * math/libm-test.inc (acos_test_tonearest): New function.
10839 (acos_test_towardzero): Likewise.
10840 (acos_test_downward): Likewise.
10841 (acos_test_upward): Likewise.
10842 (asin_test_tonearest): Likewise.
10843 (asin_test_towardzero): Likewise.
10844 (asin_test_downward): Likewise.
10845 (asin_test_upward): Likewise.
10846 (main): Call the new functions.
10847 * sysdeps/i386/fpu/libm-test-ulps: Update.
10848 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10849
9568c0c2
JM
10850 [BZ #13884]
10851 [BZ #13924]
10852 * math/e_exp10.c: Include <float.h>.
10853 (__ieee754_exp10): Handle underflow here rather than multiplying
10854 large negative argument by M_LN10.
10855 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10856 of __ieee754_expf.
10857 * math/e_exp10l.c: Include <float.h>.
10858 (__ieee754_exp10l): Handle underflow here rather than multiplying
10859 large negative argument by M_LN10l.
10860 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10861 spurious overflow exception on underflow.
10862
5ac3ea17
MP
108632012-04-29 Marek Polacek <polacek@redhat.com>
10864
10865 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10866 (__fortify_function): New macro.
10867 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10868 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10869 __extern_always_inline.
10870 * libio/bits/stdio2.h: Likewise.
10871 * libio/bits/stdio.h: Likewise.
10872 * string/string.h: Likewise.
10873 * string/bits/string3.h: Likewise.
10874 * include/stdio.h: Likewise.
10875 * stdlib/bits/stdlib.h: Likewise.
10876 * stdlib/stdlib.h: Likewise.
10877 * rt/bits/mqueue2.h: Likewise.
10878 * rt/mqueue.h: Likewise.
10879 * posix/bits/unistd.h: Likewise.
10880 * posix/unistd.h: Likewise.
10881 * io/bits/poll2.h: Likewise.
10882 * io/bits/fcntl2.h: Likewise.
10883 * io/fcntl.h: Likewise.
10884 * io/sys/poll.h: Likewise.
10885 * misc/bits/syslog.h: Likewise.
10886 * misc/bits/syslog-ldbl.h: Likewise.
10887 * misc/sys/syslog.h: Likewise.
10888 * socket/bits/socket2.h: Likewise.
10889 * socket/sys/socket.h: Likewise.
10890 * debug/tst-chk1.c: Likewise.
10891 * wcsmbs/bits/wchar2.h: Likewise.
10892 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10893 * wcsmbs/wchar.h: Likewise.
10894
ecf0ebfb
AJ
108952012-04-29 Andreas Jaeger <aj@suse.de>
10896
10897 * Makerules (tests): Remove enable-check-abi protection.
10898 (check-abi-warn): Remove.
10899 (check-abi-%): Remove check-abi-warn usage.
10900
10901 * configure.in: Remove check-abi configure option.
10902 * configure: Regenerated.
10903 * config.make.in (enable-check-abi): Remove.
10904
6d5c57fa
AS
109052012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10906
24c5d07e 10907 [BZ #14033]
ded5180a
AS
10908 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10909 double functions to double *_finite functions.
10910
7e0d315d
AS
10911 [BZ #13941]
10912 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10913 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10914 LDBL_MIN_EXP.
10915 * stdio-common/Makefile (tests): Add tst-sprintf3.
10916 * stdio-common/tst-sprintf3.c: New file.
10917
6d5c57fa
AS
10918 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10919 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10920
0749ff8b
JM
109212012-04-28 Joseph Myers <joseph@codesourcery.com>
10922
10923 * conform/conformtest.pl: Remove duplicate typed-constant
10924 handling.
10925
8dbd5d7b
DM
109262012-04-28 David S. Miller <davem@davemloft.net>
10927
10928 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10929 (check-abi-%): Remove AWK script prerequisite and explicit
10930 abilist directory.
10931 (check-abi): Rewrite to just diff the symlist with the abilist.
10932 (config-tls, config-abi-config): Delete, no longer used.
10933 (update-abi-%): Remove AWK script and explicit abilist directory.
10934 (update-abi): Rewrite to simply compare and conditionally copy the
10935 symlist and the sysdep abilist file. Remove update-abi-config
10936 checks.
10937 * abilist/ld.abilist: Remove.
10938 * abilist/libBrokenLocale.abilist: Remove.
10939 * abilist/libanl.abilist: Remove.
10940 * abilist/libcrypt.abilist: Remove.
10941 * abilist/libdl.abilist: Remove.
10942 * abilist/librt.abilist: Remove.
10943 * abilist/libthread_db.abilist: Remove.
10944 * abilist/libutil.abilist: Remove.
10945 * scripts/extract-abilist.awk: Remove.
10946 * scripts/merge-abilist.awk: Remove.
10947 * sysdeps/generic/libcidn.abilist: New file.
10948 * sysdeps/generic/libnss_compat.abilist: New file.
10949 * sysdeps/generic/libnss_db.abilist: New file.
10950 * sysdeps/generic/libnss_dns.abilist: New file.
10951 * sysdeps/generic/libnss_files.abilist: New file.
10952 * sysdeps/generic/libnss_hesiod.abilist: New file.
10953 * sysdeps/generic/libnss_nis.abilist: New file.
10954 * sysdeps/generic/libnss_nisplus.abilist: New file.
10955 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10956 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10957 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10958 file.
10959 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10960 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10961 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10962 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10963 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10964 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10965 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10966 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10967 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10968 file.
10969 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10970 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10971 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10972 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10973 file.
10974 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10975 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10976 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10977 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10978 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10979 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10980 file.
10981 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10982 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10983 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10984 file.
10985 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10986 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10987 New file.
10988 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10989 New file.
10990 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10991 New file.
10992 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10993 New file.
10994 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10995 New file.
10996 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10997 New file.
10998 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10999 New file.
11000 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11001 New file.
11002 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11003 New file.
11004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11005 New file.
11006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11007 New file.
11008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11009 New file.
11010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11011 New file.
11012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11013 file.
11014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11015 New file.
11016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11017 New file.
11018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11019 file.
11020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11021 New file.
11022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11023 New file.
11024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11025 file.
11026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11027 New file.
11028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11029 New file.
11030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11031 New file.
11032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11033 New file.
11034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11035 New file.
11036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11037 New file.
11038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11040 file.
11041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11042 New file.
11043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11044 file.
11045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11046 file.
11047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11048 file.
11049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11050 file.
11051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11052 file.
11053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11054 New file.
11055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11056 file.
11057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11058 file.
11059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11060 New file.
11061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11062 file.
11063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11065 file.
11066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11067 New file.
11068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11069 file.
11070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11071 file.
11072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11073 file.
11074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11075 file.
11076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11077 file.
11078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11079 New file.
11080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11081 file.
11082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11083 file.
11084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11085 New file.
11086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11087 file.
11088 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11089 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11090 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11091 file.
11092 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11093 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11094 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11095 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11096 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11097 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11098 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11099 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11100 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11101 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11104 file.
11105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11106 New file.
11107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11108 file.
11109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11110 file.
11111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11112 file.
11113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11114 file.
11115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11116 file.
11117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11118 New file.
11119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11120 New file.
11121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11122 file.
11123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11124 New file.
11125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11126 file.
11127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11129 file.
11130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11131 New file.
11132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11133 file.
11134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11135 file.
11136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11137 file.
11138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11139 file.
11140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11141 file.
11142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11143 New file.
11144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11145 New file.
11146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11147 file.
11148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11149 New file.
11150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11151 file.
11152
41d73a1b
JM
111532012-04-28 Joseph Myers <joseph@codesourcery.com>
11154
11155 * conform/conformtest.pl: Fix typo in handling typed-constant from
11156 allow-header.
11157
28aeeda4
JM
111582012-04-27 Joseph Myers <joseph@codesourcery.com>
11159
adae8f5e
JM
11160 * README: Cut down references to pre-2.6 Linux kernels and
11161 Linuxthreads. Update lists of configurations in libc and ports
11162 and sort alphabetically. Say "or newer" with Linux kernel version
11163 requirements.
11164
28aeeda4
JM
11165 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11166
a462cb63
RA
111672012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11168
11169 [BZ #887]
11170 * math/libm-test.inc (logb_test_downward): New test to expose
11171 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11172 rounding mode.
11173
6ad3493e
JM
111742012-04-27 Joseph Myers <joseph@codesourcery.com>
11175
11176 [BZ #14027]
11177 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11178 to be done.
11179 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11180 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11181
2ce4f015
JM
111822012-04-26 Joseph Myers <joseph@codesourcery.com>
11183
5aeb141a
JM
11184 * sysdeps/unix/i386/brk.S: Remove file.
11185 * sysdeps/unix/i386/dl-brk.S: Likewise.
11186 * sysdeps/unix/i386/pipe.S: Likewise.
11187 * sysdeps/unix/i386/sigreturn.S: Likewise.
11188 * sysdeps/unix/i386/syscall.S: Likewise.
11189 * sysdeps/unix/i386/vfork.S: Likewise.
11190 * sysdeps/unix/i386/wait.S: Likewise.
11191
7143acae
JM
11192 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11193 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11194
2ce4f015
JM
11195 * configure.in (arm*-none*): Do not allow without
11196 --enable-hacker-mode.
11197 (netbsd*): Remove case setting base_os.
11198 (386bsd*): Likewise.
11199 (freebsd*): Likewise.
11200 (bsdi*): Likewise.
11201 (osf*): Likewise.
11202 (sunos*): Likewise.
11203 (ultrix*): Likewise.
11204 (newsos*): Likewise.
11205 (dynix*): Likewise.
11206 (*bsd*): Likewise.
11207 (sysv*): Likewise.
11208 (isc*): Likewise.
11209 (esix*): Likewise.
11210 (sco*): Likewise.
11211 (minix*): Likewise.
11212 (irix4*): Likewise.
11213 (irix6*): Likewise.
11214 (solaris[2-9]*): Likewise.
11215 (none): Likewise.
11216 * configure: Regenerated.
11217
0ac229c8
AZ
112182012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11219
11220 [BZ #11521]
11221 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11222 overflow or cancellation in calculating denominator.
11223 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11224 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11225 down expression to avoid unexpected rounding in newer GCCs.
11226 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11227
33f244f4
DM
112282012-04-26 David S. Miller <davem@davemloft.net>
11229
11230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11231 long-double compat symbols.
11232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11245
cfa1f3e8
DM
112462012-04-25 David S. Miller <davem@davemloft.net>
11247
11248 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11249 HWCAP_* values only after the memory barriers have been defined.
11250 (atomic_full_barrier): Define.
11251 (atomic_read_barrier): Define.
11252 (atomic_write_barrier): Define.
11253
6e236b92
SP
112542012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11255
11256 * shlib-versions: Add libgcc_s version information.
11257 * sysdeps/generic/libgcc_s.h: Remove.
11258 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11259 libgcc_s.h.
11260 * sysdeps/gnu/unwind-resume.c: Likewise.
11261 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11262
aab39a09
DM
112632012-04-25 David S. Miller <davem@davemloft.net>
11264
11265 * sysdeps/unix/sparc/brk.S: Delete.
11266 * sysdeps/unix/sparc/dl-brk.S: Delete.
11267 * sysdeps/unix/sparc/pipe.S: Delete.
11268 * sysdeps/unix/sparc/sysdep.S: Delete.
11269 * sysdeps/unix/sparc/sysdep.h: Delete.
11270 * sysdeps/unix/sparc/vfork.S: Delete.
11271 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11272 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11273 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11274 ret_ERRVAL, r0, r1, MOVE): Define.
11275 (JUMPTARGET): Remove.
11276 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11277 sysdeps/unix/sparc/sysdep.h
11278 (ENTRY, END): Remove.
11279 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11280
a3cc4f48
JM
112812012-04-25 Joseph Myers <joseph@codesourcery.com>
11282
2ed8cda2
JM
11283 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11284 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11285 -DIS_IN_build.
11286
35d76d59
JM
11287 * timezone/README: Update upstream location and email address for
11288 tzcode and tzdata.
11289 * timezone/zdump.c: Update from tzcode 2012b.
11290 * timezone/zic.c: Likewise.
11291
a3cc4f48
JM
11292 * configure.in (libc_cv_as_needed): Remove test.
11293 * configure: Regenerated.
11294 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11295 conditional definition.
11296 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11297 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11298 * config.make.in (have-as-needed): Remove variable.
11299
ceab42c3
SP
113002012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11301 Paul Pluzhnikov <ppluzhnikov@google.com>
11302
11303 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11304 strings correctly.
11305
3ce2865f
CLT
113062012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11307
11308 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11309 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11310 * sysdeps/sh/strlen.S: Likewise.
11311
f37e0d68
JM
113122012-04-24 Joseph Myers <joseph@codesourcery.com>
11313
ae186e9a
JM
11314 * sysdeps/unix/fork.S: Remove file.
11315 * sysdeps/unix/i386/fork.S: Likewise.
11316 * sysdeps/unix/sparc/fork.S: Likewise.
11317
b96914af
JM
11318 * sysdeps/unix/system.c: Remove file.
11319 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11320
f37e0d68
JM
11321 * sysdeps/unix/getegid.S: Remove file.
11322 * sysdeps/unix/geteuid.S: Likewise.
11323
87ef29ca
RM
113242012-04-24 Roland McGrath <roland@hack.frob.com>
11325
83bcd236
RM
11326 * scripts/check-localplt.awk: New file.
11327 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11328 of diff.
11329 * scripts/data/localplt-generic.data: Add a comment.
11330
87ef29ca
RM
11331 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11332 NODE when __dir_mkfile failed.
11333 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11334 Reported by Ludovic Courtès <ludo@gnu.org>.
11335
e5a6e567
AJ
113362012-04-24 Andreas Jaeger <aj@suse.de>
11337
11338 * Makerules (common-clean): Also remove gen-as-const-headers
11339 files.
11340
c1820385
JM
113412012-04-24 Joseph Myers <joseph@codesourcery.com>
11342
11343 * Makerules (native-compile): Do not change working directory for
11344 build. Use $(OUTPUT_OPTION) in command.
11345 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11346
94e02fc4
AZ
113472012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11348
11349 [BZ #13886]
11350 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11351 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11352 * math/libm-test.inc (floor_test): Add more tests.
11353 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11354
3a533ca3
JM
113552012-04-24 Joseph Myers <joseph@codesourcery.com>
11356
940ab4b3
JM
11357 * sysdeps/unix/getdents.c: Remove file.
11358 * sysdeps/unix/sysv/getdents.c: Likewise.
11359 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11360
90e037bd
JM
11361 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11362 sysdeps/unix/mman/syscalls.list.
11363 (mmap): Likewise.
11364 (mprotect): Likewise.
11365 (msync): Likewise.
11366 (munmap): Likewise.
11367 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11368 * sysdeps/unix/mman/syscalls.list: Remove.
11369 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11370
3a533ca3
JM
11371 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11372 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11373 * configure: Regenerated.
11374 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11375 $(libgcc_s_suffix).
11376 * config.make.in (libgcc_s_suffix): Remove variable.
11377
1ad743de
JM
113782012-04-23 Joseph Myers <joseph@codesourcery.com>
11379
4ad451e2
JM
11380 * sysdeps/unix/sysv/gethostname.c: Move to ...
11381 * sysdeps/posix/gethostname.c: ... here.
11382
5e37ce39
JM
11383 * sysdeps/unix/execve.S: Remove file.
11384
1ad743de
JM
11385 * sysdeps/unix/_exit.S: Remove file.
11386
4e681b5b
AJ
113872012-04-23 Andreas Jaeger <aj@suse.de>
11388
11389 [BZ #13739]
11390 * manual/Makefile: Remove make dist support, there's no
11391 need for a stand-alone documentation tar ball.
11392 (TEXI2DVI): Define always, it's not in Makeconfig.
11393 (dist): Removed.
11394 (tar-it): Removed.
11395 (edition): Removed.
11396 (glibc-doc-$(edition).tar): Removed
11397 (%.Z): Removed.
11398 (%.gz): Removed.
11399 (%.uu): Removed.
11400 (ETAGS): Remove, it's in Makeconfig.
11401 (move-if-change): Remove, it's in Makeconfig.
11402
c0baea34
PE
114032013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11404
11405 [BZ #13970]
11406 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11407 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11408 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11409 (strtod_l, strtof_l, strtold_l): Remove __wur.
11410 It is not necessarily an error to ignore strtol's return value.
11411 One can reliably look at the stored endptr to decide whether
11412 the number had valid syntax.
11413
7c0616fa
AJ
114142012-04-21 Andreas Jaeger <aj@suse.de>
11415
803cb6b7 11416 [BZ #13739]
7c0616fa
AJ
11417 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11418
b0fe253f
JM
114192012-04-21 Joseph Myers <joseph@codesourcery.com>
11420
11421 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11422 * sysdeps/unix/sysv/Versions: Remove file.
11423
8280f22d
MT
114242012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11425
11426 [BZ #13927]
11427 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11428
75ce411f 114292012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
11430
11431 [BZ #7064]
11432 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11433 version from __vm86.
11434
097d59fa
JM
114352012-04-20 Joseph Myers <joseph@codesourcery.com>
11436
a90f3bcb
JM
11437 * sysdeps/unix/common/lxstat.c: Remove file.
11438 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11439
edc7ea78
JM
11440 * sysdeps/unix/sysv/Makefile: Remove file.
11441
cb78c221
JM
11442 * sysdeps/unix/sysv/direct.h: Remove file.
11443
efa6a45f
JM
11444 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11445 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11446 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11447 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11448 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11449 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11450 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11451
9c9f2d0c
JM
11452 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11453
4541c83b
JM
11454 * sysdeps/unix/xmknod.c: Remove file.
11455 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11456
f5d153a0
JM
11457 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11458
aa746595
JM
11459 * sysdeps/unix/sysv/i386/time.S: Remove file.
11460
cce5905e
JM
11461 * sysdeps/unix/fxstat.c: Remove file.
11462 * sysdeps/unix/xstat.c: Likewise.
11463 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11464
37fa3841
JM
11465 * sysdeps/unix/sysv/sigaction.c: Remove file.
11466
ff1962a3
JM
11467 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11468 (sysdep_headers): Remove variable.
11469 [termio.h not in sysdep_headers] (generated): Likewise.
11470 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11471 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11472 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11473 * sysdeps/unix/sysv/tcflow.c: Likewise.
11474 * sysdeps/unix/sysv/tcflush.c: Likewise.
11475 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11476 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11477 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11478 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11479 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11480
e7740d31
JM
11481 * sysdeps/unix/siglist.c: Remove file.
11482
ee06f18b
JM
11483 * sysdeps/unix/getppid.S: Remove file.
11484
097d59fa
JM
11485 * sysdeps/unix/mkdir.c: Remove file.
11486 * sysdeps/unix/rmdir.c: Likewise.
11487
ff3d51ec
AS
114882012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11489
11490 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11491 ERR_MAX value.
11492 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11493 errlist-compat value.
11494
50f81fd7
DM
114952012-04-18 David S. Miller <davem@davemloft.net>
11496
11497 * sysdeps/generic/memcopy.h (reg_char): Delete.
11498 * debug/strcat_chk.c: Use char, not reg_char.
11499 * debug/strcpy_chk.c: Likewise.
11500 * debug/strncat_chk.c: Likewise.
11501 * debug/strncpy_chk.c: Likewise.
11502 * string/memchr.c: Likewise.
11503 * string/memrchr.c: Likewise.
11504 * string/rawmemchr.c: Likewise.
11505 * string/strcat.c: Likewise.
11506 * string/strchr.c: Likewise.
11507 * string/strchrnul.c: Likewise.
11508 * string/strcmp.c: Likewise.
11509 * string/strcpy.c: Likewise.
11510 * string/strncat.c: Likewise.
11511 * string/strncmp.c: Likewise.
11512 * string/strncpy.c: Likewise.
11513
8ff41c46
WS
115142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11515
11516 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11517 __builtin_memcopy is called when src and dest ranges are known to not
11518 overlap.
11519
6b652f46
WS
115202012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11521
11522 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11523 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11524 fwd_align_merge macro call.
11525 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11526 bwd_align_merge macro call.
11527 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11528
b282631e
WS
115292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11530
11531 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11532 bwd_align_merge macros.
11533 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11534 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11535 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11536
95aa737c
DM
115372012-04-18 David S. Miller <davem@davemloft.net>
11538
11539 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11540
7a99a614
AJ
115412012-04-18 Andreas Jaeger <aj@suse.de>
11542
11543 [BZ# 6794]
11544 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11545 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11546 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11547
11548 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11549 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11550 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11551
11552 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11553 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11554 Adjust for changed ldbl-128 files.
11555
11556 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11557 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11558 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11559
e5270c23
DM
115602012-04-17 David S. Miller <davem@davemloft.net>
11561
11562 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11563
fb5e92c9
AS
115642012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11565
11566 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11567 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11568 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11569 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11570 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11571 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11572
76da7265
AZ
115732012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11574
11575 [BZ #6794]
11576 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11577 * math/libm-test.inc: Add ilogb errno and exception tests.
11578 * math/w_ilogb.c: New file: ilogb wrapper.
11579 * math/w_ilogbf.c: New file: ilogbf wrapper.
11580 * math/w_ilogbl.c: New file: ilogbl wrapper.
11581 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11582 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11583 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11584 exception being thrown with 0.0 as argument.
11585 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11586 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11587 exception being thrown with 0.0 as argument.
11588 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11589 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11590 exception being thrown with 0.0 as argument.
11591 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11592 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11593 exception being thrown with 0.0 as argument.
11594 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11595 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 11596 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
11597 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11598 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11599 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11600 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11601 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11602 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11603
0396e69d
PB
116042012-04-17 Petr Baudis <pasky@ucw.cz>
11605
11606 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11607 with altivec.
11608
750b5926
MP
116092012-04-16 Marek Polacek <polacek@redhat.com>
11610
11611 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11612
751728a1
MP
116132012-04-16 Marek Polacek <polacek@redhat.com>
11614
11615 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11616 operands of fdivp instruction.
11617
34a27407
L
116182012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11619
11620 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11621 * elf/tst-auditmod3b.c: Likewise.
11622 * elf/tst-auditmod4b.c: Likewise.
11623 * elf/tst-auditmod5b.c: Likewise.
11624 * elf/tst-auditmod6b.c: Likewise.
11625 * elf/tst-auditmod6c.c: Likewise.
11626 * elf/tst-auditmod7b.c: Likewise.
11627 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11628 * sysdeps/x86_64/preconfigure.in: Likewise.
11629 * sysdeps/x86_64/preconfigure: Regenerated.
11630
7e73e17d
L
116312012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11632
11633 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11634 __ILP32__.
11635
c7a6ab72
AB
116362012-04-13 Antoine Balestrat <merkil33@gmail.com>
11637
11638 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11639 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11640
a9e8e0e0
CL
116412012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11642
11643 [BZ #13973]
11644 * locale/iso-639.def: Fix gl language name. Spotted by
11645 Yaron Shahrabani.
11646
ec98af7d
RM
116472012-04-12 Roland McGrath <roland@hack.frob.com>
11648
11649 [BZ #2074]
11650 * libio/libio.h (__io_write_fn): Update comment.
11651
247c3ede
PB
116522012-04-12 Petr Baudis <pasky@ucw.cz>
11653
11654 [BZ #2074]
11655 * stdio.texi (Hook Functions): The user provided writer function
11656 is not allowed to return -1.
11657
55939d6d
DM
116582012-04-11 David S. Miller <davem@davemloft.net>
11659
11660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11661
90020f5a
MF
116622012-04-11 Mike Frysinger <vapier@gentoo.org>
11663
11664 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11665 Add a leading slash to rtkaio.
11666
288f9098
JM
116672012-04-11 Jim Meyering <meyering@redhat.com>
11668
90020f5a
MF
11669 [BZ #11959]
11670 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11671 It is not necessarily an error to ignore fwrite's return
11672 value. One can reliably use ferror to test for errors after
11673 the fact.
288f9098 11674
4be2b570
L
116752012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11676
11677 * bits/types.h (__snseconds_t): New type.
11678 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11679
11680 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11681 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11682 (__SNSECONDS_T_TYPE): Likewise.
11683 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11684 (__SNSECONDS_T_TYPE): Likewise.
11685 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11686 (__SNSECONDS_T_TYPE): Likewise.
11687
288f9098 116882012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
11689
11690 [BZ #2636]
11691 * manual/time.texi (Processor Time): Return type of times is
11692 elapsed real time since an arbitrary point in the past.
11693 (CPU Time): Move CLK_TCK from here...
11694 (Processor Time): ...to here. Correct description.
11695 * manual/conf.texi (Constants for Sysconf): Correct description of
11696 _SC_CLK_TCK.
11697
d7dd4413
DM
116982012-04-10 David S. Miller <davem@davemloft.net>
11699
11700 [BZ #13967]
11701 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11702 where the is a gap between DT_REL(A) and DT_JMPREL.
11703
b46068fc
L
117042012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11705
11706 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11707 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11708 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11709
73d65cc3
SP
117102012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11711
11712 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11713 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11714 (dl_main): Handle --inhibit-cache.
11715 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11716 _dl_inhibit_cache.
11717 * elf/dl-load.c (_dl_map_object): Use it.
11718 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11719
bcc8d661
JM
117202012-04-09 Joseph Myers <joseph@codesourcery.com>
11721
8f9a2fae
JM
11722 [BZ #13872]
11723 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11724 (__ieee754_powl): Saturate large exponents rather than testing for
11725 overflow of y*log2(x).
11726 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11727 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11728 exceptions.
11729
bcc8d661
JM
11730 [BZ #11521]
11731 * math/s_ctan.c: Include <float.h>.
11732 (__ctan): Avoid internal overflow or cancellation in calculating
11733 denominator.
11734 * math/s_ctanf.c: Likewise.
11735 * math/s_ctanl.c: Likewise.
11736 * math/s_ctanh.c: Likewise.
11737 * math/s_ctanhf.c: Likewise.
11738 * math/s_ctanhl.c: Likewise.
11739 * math/libm-test.inc (ctan_test): Add more tests.
11740 (ctanh_test): Likewise.
11741 * sysdeps/i386/fpu/libm-test-ulps: Update.
11742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11743
823fbbb4
AJ
117442012-04-09 Andreas Jaeger <aj@suse.de>
11745
03879793
AJ
11746 [BZ #6894]
11747 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11748 is an optional BSD extension.
11749
823fbbb4
AJ
11750 [BZ #10254]
11751 * manual/stdio.texi (Opening Streams): Document additional fopen
11752 parameters.
11753
8de131cb
RM
117542012-04-09 Roland McGrath <roland@hack.frob.com>
11755
11756 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11757 %eax without telling the compiler.
11758
c0ed9d7d
CD
117592012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11760
11761 [BZ # 13963]
11762 * manual/install.texi: Use sourceware.org.
11763
c483f6b4
JM
117642012-04-09 Joseph Myers <joseph@codesourcery.com>
11765
d7dd9453
JM
11766 [BZ #13873]
11767 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11768 (__ieee754_pow): Generate overflow and underflow using huge*huge
11769 and tiny*tiny rather than just returning constant infinity or zero
11770 for large exponents.
11771 * math/libm-test.inc (pow_test): Require overflow exceptions for
11772 applicable cases of large exponents.
11773
c483f6b4
JM
11774 [BZ #706]
11775 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11776 (__ieee754_pow): Use iterative multiplication algorithm only for
11777 integer exponents with absolute value below 1024. Check for odd
11778 integer exponents when using algorithm for real exponents.
11779 * math/libm-test.inc (pow_test): Add more tests.
11780 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11781
d2de7579
JM
117822012-04-08 Joseph Myers <joseph@codesourcery.com>
11783
11784 [BZ #13705]
11785 * math/libm-test.inc (exp_test): Do not allow overflow exception
11786 on underflow test.
11787
f77f1232
AJ
117882012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11789
11790 [BZ #13705]
11791 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11792 instead of __kernel_standard_f.
11793
3884932b
MF
117942012-04-08 Mike Frysinger <vapier@gentoo.org>
11795
11796 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11797 * sysdeps/x86_64/memset_chk.S: Likewise.
11798
54472e9c
AJ
117992012-04-08 Andreas Jaeger <aj@suse.de>
11800
6ab0fbfc
AJ
11801 [BZ #10153]
11802 * manual/startup.texi (Environment Access): Describe return value
11803 for putenv and setenv.
11804
61efba8c
AJ
11805 [BZ #6895]
11806 * manual/filesys.texi (Directory Entries): Add description for
11807 DT_LNK.
11808
95c3f29a
AJ
11809 [BZ #6890]
11810 * manual/filesys.texi (Directory Entries): Clarify that it's file
11811 system not operating system in the description of DT_UNKNOWN.
11812
54472e9c
AJ
11813 [BZ #6578]
11814 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11815
624254b1
SC
118162012-04-08 Stephen Compall <s11@member.fsf.org>
11817
11818 [BZ #6649]
11819 * manual/llio.texi (Opening and Closing Files): Add cross
11820 reference to explain mode argument.
11821
1e4920e0
MF
118222012-04-07 Mike Frysinger <vapier@gentoo.org>
11823
11824 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11825 * sysdeps/x86_64/memset_chk.S: Likewise.
11826
5ed848f3
DM
118272012-04-07 David S. Miller <davem@davemloft.net>
11828
11829 * elf/elf.h (R_SPARC_WDISP10): Define.
11830 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11831 R_SPARC_SIZE32.
11832 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11833 R_SPARC_SIZE64 and R_SPARC_H34.
11834
96154cd8
CD
118352012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11836
11837 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11838 conditions and remove no longer applicable assertion.
11839
9904dc47
L
118402012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11841
11842 * bits/byteswap.h: Include <features.h>.
11843 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11844 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11845
f8887d0a
L
118462012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11847
11848 * bits/byteswap.h (__bswap_16): Removed.
11849 Include <bits/byteswap-16.h> to get __bswap_16.
11850 * sysdeps/i386/bits/byteswap.h: Likewise.
11851 * sysdeps/s390/bits/byteswap.h: Likewise.
11852 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11853 * bits/byteswap-16.h: New file.
11854 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11855 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11856 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11857 * string/Makefile (headers): Add bits/byteswap-16.h.
11858
62470f60
PP
118592012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11860
11861 [BZ #13895]
11862 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11863 extra indirection.
11864 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11865 * nss/tst-nss-static.c: New.
11866
4dad7bab
RM
118672012-04-06 Robert Millan <rmh@gnu.org>
11868
11869 [BZ #6486]
11870 * manual/llio.texi (File Position Primitive): lseek
11871 refers to WHENCE when it really means OFFSET.
11872
e9142a17
AJ
118732012-04-06 Andreas Jaeger <aj@suse.de>
11874
2c040eff
AJ
11875 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11876 strncmp declarations.
11877
e9142a17
AJ
11878 * abilist/libc.abilist: Add __poll and __ppoll.
11879
ff9f1c5f
DM
118802012-04-05 David S. Miller <davem@davemloft.net>
11881
dcd2ae90
DM
11882 * scripts/check-local-headers.sh: Accept a host triplet in the
11883 path matched by the exclude regexp.
11884
993eb054
DM
11885 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11886 definition.
11887 * sysdeps/powerpc/powerpc32/dl-machine.h
11888 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11889 * sysdeps/s390/s390-32/dl-machine.h
11890 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11891 * sysdeps/sparc/sparc32/dl-machine.h
11892 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11893 * sysdeps/sparc/sparc64/dl-machine.h
11894 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11895
ff9f1c5f
DM
11896 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11897 lazy binding.
48e2e132 11898 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
11899 undefined symbol errors.
11900
48e2e132 11901 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
11902 DT_NEEDED entries.
11903
e80d6f94
MM
119042012-04-05 Michael Matz <matz@suse.de>
11905
11906 [BZ #13592]
11907 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11908
349fa79f
AJ
119092012-04-05 Andreas Jaeger <aj@suse.de>
11910
11911 [BZ #13908]
11912 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11913 comment.
11914
f402708f
KK
119152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11916
11917 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11918 which ROUND is no valid rounding mode.
11919
2ecccfc9
KK
119202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11921
11922 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11923 read again.
11924 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11925
8a53f50f
KK
119262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11927
11928 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11929 an exception using FPU order intentionally.
11930
119312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11932
11933 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11934 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11935 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11936 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11937
d653abb7
SJ
119382012-04-05 Simon Josefsson <simon@josefsson.org>
11939
11940 [BZ #12340]
11941 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11942 EINVAL when BUFLEN is too smal.
11943
c3b1bf7d
TS
119442012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11945
11946 [BZ #13553]
11947 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11948 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11949
b1aa60f3
AJ
119502012-04-03 Andreas Jaeger <aj@suse.de>
11951
c3b1bf7d 11952 [BZ #13938]
67f60a26
AJ
11953 * manual/setjmp.texi (System V contexts): Fix sentence.
11954
b1aa60f3
AJ
11955 [BZ #13926]
11956 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11957 New macro for this case.
11958 [!__GNUC__] (__bswap_64): New inline function for this case.
11959 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11960 * bits/byteswap.h: Likewise.
11961 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11962 ull, guard with __GLIBC_HAVE_LONG_LONG.
11963
11964 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11965 __GLIBC_HAVE_LONG_LONG.
11966
11967 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11968 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11969
39c59c35
TMQMF
119702012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11971
11972 [BZ #13691]
11973 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11974 inptr and inend, rather than using last_ch.
11975
135ffda8
DM
119762012-04-02 David S. Miller <davem@davemloft.net>
11977
11978 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11979 * stdio-common/printf-parse.h (read_int): Change return type to
11980 'int', return -1 on INT_MAX overflow.
11981 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11982 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11983 overflows INT_MAX. Check for overflow of in-format-string precision
11984 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11985 SIZE_MAX not INT_MAX for integer overflow test.
11986 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11987 skip the construct in the format string but do not record anything.
11988 * stdio-common/bug22.c: Adjust to test both width/prevision
11989 INT_MAX overflow as well as total length INT_MAX overflow. Check
11990 explicitly for proper errno values.
11991
228c019e
TS
119922012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11993
302cadd3
TS
11994 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11995 CHAR_MAX.
11996 * string/test-strcmp.c [! WIDE]: Likewise.
11997 * time/tst-mktime2.c: Likewise for INT_MAX.
11998 * string/test-string.h: #include <sys/param.h> for MIN.
11999
228c019e
TS
12000 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12001 * sysdeps/i386/init-first.c (init): Likewise.
12002 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12003 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12004 * sysdeps/sh/init-first.c (init): Likewise.
12005
cfa633f5
UD
120062012-04-01 Ulrich Drepper <drepper@gmail.com>
12007
12008 * po/ru.po: Update from translation team.
d1635ef8 12009 * po/vi.po: Likewise.
cfa633f5 12010
6cd0a5ea
SP
120112012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12012
12013 * resolv/nss_dns/dns-host.c: Merge copyright years.
12014
4b43400f
LD
120152012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12016
12017 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12018 Optimize memcpy with prefetch if
12019 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12020 src, dst pointers have unequal 16 byte alignments.
12021
48c41d04
SP
120222012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12023
12024 [BZ #13928]
12025 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12026 from a CNAME entry and return the minimum ttl for the query.
12027 (gaih_getanswer_slice): Likewise.
12028
b8dc394d
JL
120292012-03-30 Jeff Law <law@redhat.com>
12030
12031 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12032 due to long keys.
12033 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12034 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12035
2f5a5ed0
JL
12036 * resolv/nss_dns/dns-host.c: Update copyright year.
12037
1d39e359
UD
120382012-03-30 Ulrich Drepper <drepper@gmail.com>
12039
c030f70c 12040 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 12041 requests to save a system call. Fix check that all bytes are sent.
c030f70c 12042
1d39e359
UD
12043 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12044 comments for sendmmsg.
12045
120462012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
12047
12048 [BZ #13691]
12049 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12050 with only 1 character between 0x0041 and 0x01b0.
12051 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12052 * wcsmbs/tst-mbsnrtowcs.c: New file.
12053
20fde227
DM
120542012-03-29 David S. Miller <davem@davemloft.net>
12055
12056 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12057 small copies by hand.
12058
984a4237
JL
120592012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12060
12061 [BZ #13761]
12062 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12063 _nss_compat_initgroups_dyn): Fall back to malloc/free
12064 for large group memberships.
12065
18c9d62b
DM
120662012-03-28 David S. Miller <davem@davemloft.net>
12067
88d85d4f
DM
12068 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12069 that branches into memcpy.
12070 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12071 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12072 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12073 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12074 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12075 bits.
12076 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12077 implementation too.
12078 * sysdeps/sparc/mempcpy.S: New file.
12079
e5aa83e1
DM
12080 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12081 the IFUNC routine in the libc case.
12082 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12083
88570753
DM
12084 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12085 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12086 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12087 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12088 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12089 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12090 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12091 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12092
249d7567
DM
12093 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12094 loop to 256 bytes instead of 64 bytes and fix test signedness.
12095
18c9d62b
DM
12096 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12097 * sysdeps/sparc/sparc32/Makefile: rather than here...
12098 * sysdeps/sparc/sparc64/Makefile: and here.
12099
05f3d1f6
UD
121002012-03-28 Ulrich Drepper <drepper@gmail.com>
12101
12102 * malloc/mallocbug.c: Avoid warnings about unused variables.
12103
86ae07a8
JL
121042012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12105
12106 [BZ #13760]
12107 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12108 in the right place. Discard and retry query if response is
12109 larger than input buffer size.
12110
41bf21a1
JM
121112012-03-28 Joseph Myers <joseph@codesourcery.com>
12112
d6270972
JM
12113 [BZ #369]
12114 [BZ #2678]
12115 [BZ #3866]
12116 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12117 x for large integer exponent.
12118 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12119 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12120 sign of result as needed afterwards.
12121 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12122 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12123 result for underflowing pow the same as for overflow.
12124 (__kernel_standard_l): Handle powl overflow and underflow here
12125 rather than calling __kernel_standard.
12126 * math/libm-test.inc (pow_test): Add more tests.
12127
414fca03 12128 [BZ #3868]
41bf21a1
JM
12129 [BZ #13879]
12130 [BZ #13910]
12131 [BZ #13911]
12132 [BZ #13912]
12133 [BZ #13913]
12134 [BZ #13915]
12135 [BZ #13916]
12136 [BZ #13917]
12137 [BZ #13918]
12138 [BZ #13919]
12139 [BZ #13920]
12140 [BZ #13921]
12141 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12142 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12143 (__kernel_standard_l): New function.
12144 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12145 __kernel_standard.
12146 * math/w_acosl.c (__acosl): Likewise.
12147 * math/w_asinl.c (__asinl): Likewise.
12148 * math/w_atan2l.c (__atan2l): Likewise.
12149 * math/w_atanhl.c (__atanhl): Likewise.
12150 * math/w_coshl.c (__coshl): Likewise.
12151 * math/w_exp10l.c (__exp10l): Likewise.
12152 * math/w_exp2l.c (__exp2l): Likewise.
12153 * math/w_fmodl.c (__fmodl): Likewise.
12154 * math/w_hypotl.c (__hypotl): Likewise.
12155 * math/w_j0l.c (__j0l, __y0l): Likewise.
12156 * math/w_j1l.c (__j1l, __y1l): Likewise.
12157 * math/w_jnl.c (__jnl, __ynl): Likewise.
12158 * math/w_lgammal.c (__lgammal): Likewise.
12159 * math/w_log10l.c (__log10l): Likewise.
12160 * math/w_log2l.c (__log2l): Likewise.
12161 * math/w_logl.c (__logl): Likewise.
12162 * math/w_powl.c (__powl): Likewise.
12163 * math/w_remainderl.c (__remainderl): Likewise.
12164 * math/w_scalbl.c (sysv_scalbl): Likewise.
12165 * math/w_sinhl.c (__sinhl): Likewise.
12166 * math/w_sqrtl.c (__sqrtl): Likewise.
12167 * math/w_tgammal.c (__tgammal): Likewise.
12168 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12169 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12170 * math/libm-test.inc (acos_test): Add more tests.
12171 (acosh_test): Likewise.
12172 (asin_test): Likewise.
12173 (atanh_test): Likewise.
12174 (exp_test): Likewise.
12175 (exp10_test): Likewise.
12176 (exp2_test): Likewise.
12177 (expm1_test): Likewise.
12178 (lgamma_test): Likewise.
12179 (log_test): Likewise.
12180 (log10_test): Likewise.
12181 (log1p_test): Likewise.
12182 (log2_test): Likewise.
12183 (pow_test): Do not allow some spurious overflow exceptions.
12184 (sqrt_test): Add more tests.
12185 (tgamma_test): Likewise.
12186 (y0_test): Likewise.
12187 (y1_test): Likewise.
12188 (yn_test): Likewise.
12189
dd62fda6
AB
121902012-03-27 Anton Blanchard <anton@samba.org>
12191
12192 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12193 MAP_HUGETLB.
12194 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12195 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12196 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12197
1e3cdfda
AJ
121982012-03-27 David S. Miller <davem@davemloft.net>
12199
b855ab85
DM
12200 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12201
1e3cdfda
AJ
12202 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12203 have-as-vis3 check.
12204
122052012-03-27 Andreas Jaeger <aj@suse.de>
12206
12207 * sysdeps/x86_64/elf/configure.in: Moved to ...
12208 * sysdeps/x86_64/configure.in: ... here.
12209 * sysdeps/x86_64/elf/start.S: Moved to ...
12210 * sysdeps/x86_64/start.S: ... here.
12211 * sysdeps/x86_64/elf/configure: Delete.
12212
12213 * sysdeps/x86_64/configure.in: Merge contents from
12214 sysdeps/i386/configure.in (without i686 check).
12215
12216 * sysdeps/i386/elf/Versions: Merge into ...
12217 * sysdeps/i386/Versions: ... this.
12218 * sysdeps/i386/elf/Versions: Delete file.
12219 * sysdeps/i386/elf/start.S: Moved to ...
12220 * sysdeps/i386/start.S: ...here.
12221 * sysdeps/i386/elf/configure.in: Merge into...
12222 * sysdeps/i386/configure.in: ...here.
12223 * sysdeps/i386/elf/configure.in: Delete file.
12224 * sysdeps/i386/elf/configure: Delete file.
12225
12226 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12227 * debug/backtracesyms.c: ... here.
12228 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12229 * debug/backtracesymsfd.c: ... here.
12230 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12231 * sysdeps/generic/ifunc-sel.h: ... here.
12232
12233 * sysdeps/unix/i386/start.c: Delete file.
12234 * sysdeps/unix/sparc/start.c: Delete file.
12235 * sysdeps/unix/start.c: Delete file.
12236
12237 * sysdeps/sh/elf/configure.in: Moved to ...
12238 * sysdeps/sh/configure.in: ... here.
12239 * sysdeps/sh/elf/start.S: Moved to ...
12240 * sysdeps/sh/start.S: ... here.
12241 * sysdeps/sh/elf/configure: Delete file.
12242
12243 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12244 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12245 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12246 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12247 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12248 * sysdeps/powerpc/powerpc64/start.S: here.
12249 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12250 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12251 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12252 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12253 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12254
12255 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12256 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12257 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12258 * sysdeps/powerpc/powerpc32/start.S: ... here.
12259 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12260 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12261 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12262
12263 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12264 * sysdeps/powerpc/ifunc-sel.h: ... here.
12265 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12266 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12267
12268 * sysdeps/sparc/elf/configure.in: Moved to ...
12269 * sysdeps/sparc/configure.in: ... here.
12270 * sysdeps/sparc/elf/configure: Delete file.
12271 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12272 * sysdeps/sparc/sparc32/start.S: ... here.
12273 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12274 * sysdeps/sparc/sparc64/start.S: ... here.
12275 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12276 * sysdeps/sparc/sparc32/Makefile: ... this.
12277 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12278 * sysdeps/sparc/sparc64/Makefile: ... this.
12279
12280 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12281 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12282 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12283 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12284 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12285 * sysdeps/s390/s390-32/setjmp.S: ... here.
12286 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12287 * sysdeps/s390/s390-32/configure.in: ... here.
12288 * sysdeps/s390/s390-32/elf/configure: Delete file.
12289 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12290 * sysdeps/s390/s390-32/start.S: ... here.
12291
12292 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12293 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12294 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12295 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12296 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12297 * sysdeps/s390/s390-64/setjmp.S: ... here.
12298 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12299 * sysdeps/s390/s390-64/configure.in: ... here
12300 * sysdeps/s390/s390-64/elf/configure: Delete file.
12301 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12302 * sysdeps/s390/s390-64/start.S: ... here.
12303 * sysdeps/s390/s390-64/elf/configure: Delete.
12304
12305 * configure.in: Remove support for elf directories in sysdeps.
12306
12307 * configure: Regenerated.
12308 * sysdeps/i386/configure: Regenerated.
12309 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12310 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12311 * sysdeps/s390/s390-32/configure: Regenerated.
12312 * sysdeps/s390/s390-64/configure: Regenerated.
12313 * sysdeps/sh/configure: Regenerated.
12314 * sysdeps/sparc/configure: Regenerated.
12315 * sysdeps/x86_64/configure: Regenerated.
12316
a3f61311
AS
123172012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12318
c876e002
AS
12319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12320
a3f61311
AS
12321 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12322 denormal result into account.
12323
ac4c54f0
RM
123242012-03-25 Roland McGrath <roland@hack.frob.com>
12325
12326 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12327 Reported by Allan McRae <allan@archlinux.org>.
12328
6a9b9c02
JL
123292012-03-23 Jeff Law <law@redhat.com>
12330
12331 * nss/getnssent.c (__nss_getent): Fix typo.
12332
4c42a0c1
DM
123332012-03-23 David S. Miller <davem@davemloft.net>
12334
12335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12336
1532c7ac
L
123372012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12338
12339 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12340 to pad to uint64_t for each field.
12341 (dl_tls_index): Replace unsigned long with uint64_t.
12342
3ff42526
PP
123432012-03-23 Daniel Jacobowitz <dmj@google.com>
12344 Paul Pluzhnikov <ppluzhnikov@google.com>
12345
12346 [BZ #6528]
12347 * grp/Makefile (otherlibs): Don't set it.
12348 * inet/Makefile (otherlibs): Likewise.
12349 * login/Makefile (otherlibs): Likewise.
12350 * nscd/Makefile (otherlibs): Likewise.
12351 * posix/Makefile (otherlibs): Likewise.
12352 * pwd/Makefile (otherlibs): Likewise.
12353 * rt/Makefile (otherlibs): Likewise.
12354 * sunrpc/Makefile (otherlibs): Likewise.
12355 * nss/Makefile (otherlibs): Likewise.
12356 Add libnss_files to routines and static-only-routines.
12357 ($(objpfx)getent): Remove rule.
12358 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12359 static-only-routines.
12360
7c69cd14
JM
123612012-03-22 Joseph Myers <joseph@codesourcery.com>
12362
12363 [BZ #13892]
12364 * math/s_cexp.c: Include <float.h>.
12365 (__cexp): Handle exp result overflowing not necessarily
12366 overflowing both real and imaginary parts of result.
12367 * math/s_cexpf.c: Likewise.
12368 * math/s_cexpl.c: Likewise.
12369 * math/libm-test.inc (cexp_test): Add more tests.
12370 * sysdeps/i386/fpu/libm-test-ulps: Update.
12371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12372
81b035fe
L
123732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12374
12375 * include/link.h (ELFW): New macro.
12376 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12377 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12378
1da7940c
L
123792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12380
12381 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12382 with uint64_t.
12383
b749dbb9
L
123842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12385
12386 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12387 declaration.
12388 (struct La_x32_retval): Likewise.
12389
2ff87f3f
L
123902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12391
12392 * sysdeps/x86_64/preconfigure.in: New file.
12393 * sysdeps/x86_64/preconfigure: New generated file.
12394
c0df8e69
JM
123952012-03-22 Joseph Myers <joseph@codesourcery.com>
12396
48e44791
JM
12397 [BZ #13824]
12398 * math/e_exp2l.c: Include <float.h>.
12399 (__ieee754_exp2l): Handle overflow and underflow cases
12400 separately. Only pass fractional part of argument to
12401 __ieee754_expl.
12402 * math/libm-test.inc (exp2_test): Add more tests.
12403
c0df8e69
JM
12404 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12405 negating x to take absolute value.
12406 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12407 Likewise.
12408 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12409 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12410 Likewise.
12411 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12412 computing low part if x was negated.
12413 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12414
c8e43ba7
L
124152012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12416
12417 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12418 la_x32_gnu_pltexit.
12419 (pltexit): Cast int_retval to ptrdiff_t.
12420 * elf/tst-auditmod3b.c: Likewise.
12421 * elf/tst-auditmod4b.c: Likewise.
12422 * elf/tst-auditmod5b.c: Likewise.
12423 * elf/tst-auditmod6b.c: Likewise.
12424 * elf/tst-auditmod6c.c: Likewise.
12425 * elf/tst-auditmod7b.c: Likewise.
12426
12427 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12428 and x32_gnu_pltexit.
12429
12430 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12431 __ELF_NATIVE_CLASS.
12432 (La_x32_regs): New macro.
12433 (La_x32_retval): Likewise.
12434 (la_x32_gnu_pltenter): New function prototype.
12435 (la_x32_gnu_pltexit): Likewise.
12436
7998fa78
AS
124372012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12438
dcb33988
AS
12439 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12440 exponent.
12441
233fc563
AS
12442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12443
7998fa78
AS
12444 * configure.in (libc_cv_cc_nofma): Check for option to disable
12445 generation of FMA instructions.
12446 * configure: Regenerate.
12447 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12448 * sysdeps/ieee754/dbl-64/Makefile: New file.
12449 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12450 Remove brandred-fma4.
12451 (CFLAGS-brandred-fma4.c): Remove.
12452 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12453 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12454 define.
12455 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12456 define.
12457
8e95c99a
L
124582012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12459
12460 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12461 LLONG_MAX != LONG_MAX.
12462 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12463 (_fitoa_word): Likewise.
12464 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12465 LLONG_MAX != LONG_MAX.
12466 * stdio-common/_itowa.h: Include <_itoa.h>.
12467 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12468 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12469 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12470 only if not defined.
12471 (_ITOA_WORD_TYPE): Likewise.
12472 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12473 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12474
6f4db457
DM
124752012-03-21 David S. Miller <davem@davemloft.net>
12476
12477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12478
7785fe5a
L
124792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12480
12481 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12482 of x86_64 when setting libc_cv_slibdir, libdir and
12483 libc_cv_localedir.
12484 * sysdeps/unix/sysv/linux/configure: Regenerated.
12485
4535cd55
JM
124862012-03-21 Joseph Myers <joseph@codesourcery.com>
12487
12488 * manual/lang.texi (Old Varargs): Remove section.
12489 (How Variadic): Update menu.
12490 (va_start): Do not mention varargs.h.
12491
17228132
TS
124922012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12493 Joseph Myers <joseph@codesourcery.com>
12494
12495 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12496 link test.
12497 * configure: Regenerated.
12498
8149f976
TS
124992012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12500
05f3d1f6
UD
12501 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12502 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12503 conformtest.pl
8149f976 12504
1a4ac776
JM
125052012-03-21 Joseph Myers <joseph@codesourcery.com>
12506
be22ce65
JM
12507 * NOTES: Remove.
12508 * Makefile (files-for-dist): Remove NOTES.
12509 (NOTES): Remove rule.
12510 * README: Don't refer to NOTES.
12511 * manual/creature.texi: Don't include macros.texi.
12512 * manual/intro.texi (creature.texi): Remove comment referring to
12513 NOTES.
12514
40b601fb
JM
12515 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12516 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12517 * configure: Regenerated.
12518 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12519 LIBC_TRY_CC_OPTION.
12520 (libc_cv_as_i686): Likewise.
12521 (libc_cv_cc_avx): Likewise.
12522 (libc_cv_cc_sse2avx): Likewise.
12523 (libc_cv_cc_fma4): Likewise.
12524 (libc_cv_cc_novzeroupper): Likewise.
12525 * sysdeps/i386/configure: Regenerated.
12526
1a4ac776
JM
12527 [BZ #13883]
12528 * sysdeps/i386/fpu/s_cexp.S: Remove.
12529 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12530 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12531 * math/libm-test.inc (cexp_test): Add more tests.
12532 * sysdeps/i386/fpu/libm-test-ulps: Update.
12533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12534
a458e7fe
AM
125352012-03-21 Allan McRae <allan@archlinux.org>
12536
12537 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12538
0cb7efc5
JM
125392012-03-21 Joseph Myers <joseph@codesourcery.com>
12540
12541 [BZ #13871]
12542 * math/w_exp2.c: Do not include <float.h>.
12543 (o_threshold, u_threshold): Remove.
12544 (__exp2): Calculate result before checking finiteness and calling
12545 __kernel_standard.
12546 * math/w_exp2f.c: Likewise.
12547 * math/w_exp2l.c: Likewise.
12548 * math/libm-test.inc (exp2_test): Require overflow exception for
12549 1e6 input.
2460d3aa
JM
12550
12551 [BZ #3866]
12552 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12553 range of signed 64-bit integers before using fistpll. Remove
12554 checks for whether integers fit in mantissa bits.
12555 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12556 the range of signed 32-bit integers before using fistpl. Remove
12557 checks for whether integers fit in mantissa bits.
12558 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12559 (__ieee754_powl): Test for y outside the range of signed 64-bit
12560 integers before using fistpll. Reduce 64-bit values to 63-bit
12561 ones as needed.
12562 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12563 divide-by-zero is raised for zero to large negative powers.
12564 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12565 (__ieee754_powl): Test for y outside the range of signed 64-bit
12566 integers before using fistpll. Reduce 64-bit values to 63-bit
12567 ones as needed.
12568 * math/libm-test.inc (pow_test): Add more tests.
12569
eb96ffb0
L
125702012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12571
12572 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12573 <stdio-common/_itoa.h>.
12574 * debug/segfault.c: Likewise.
12575 * elf/dl-cache.c: Likewise.
12576 * elf/dl-minimal.c: Likewise.
12577 * elf/dl-misc.c: Likewise.
12578 * elf/dl-sysdep.c: Likewise.
12579 * elf/dl-version.c: Likewise.
12580 * elf/rtld.c: Likewise.
12581 * hurd/hurdsock.c: Likewise.
12582 * hurd/lookup-retry.c: Likewise.
12583 * malloc/malloc.c: Likewise.
12584 * malloc/mtrace.c: Likewise.
12585 * nscd/nscd_getgr_r.c: Likewise.
12586 * nscd/nscd_getpw_r.c: Likewise.
12587 * nscd/nscd_getserv_r.c: Likewise.
12588 * posix/getopt_init.c: Likewise.
12589 * posix/wordexp.c: Likewise.
12590 * stdio-common/_itoa.c: Likewise.
12591 * stdio-common/printf_fphex.c: Likewise.
12592 * stdio-common/vfprintf.c: Likewise.
12593 * string/_strerror.c: Likewise.
12594 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12595 * sysdeps/i386/i686/hp-timing.h: Likewise.
12596 * sysdeps/mach/_strerror.c: Likewise.
12597 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12598 * sysdeps/mach/hurd/sethostid.c: Likewise.
12599 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12600 * sysdeps/mach/xpg-strerror.c: Likewise.
12601 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12602 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12603 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12604 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12605 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12606 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12607 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12608 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12609 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12610 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12611 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12612 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12613 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12614 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12615 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12616 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12617 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12618 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12619 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12620 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12621 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12622
12623 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12624
12625 * stdio-common/_itoa.h: Moved to ...
12626 * sysdeps/generic/_itoa.h: Here.
12627
12628 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12629
12630 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12631 instead of "_itoa.h" and "_itowa.h".
12632 * stdio-common/vfprintf.: Likewise.
12633
d1af992d
L
126342012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12635
12636 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12637 <bits/wordsize.h>.
12638 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12639 (__signbit): Likwise.
12640 (llrintf): Likwise.
12641 (llrint): Likwise.
12642
114883e0
L
126432012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12644
12645 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12646 __WORDSIZE != 64.
12647
c135cc1b
JM
126482012-03-20 Joseph Myers <joseph@codesourcery.com>
12649
12650 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12651 OVERFLOW_EXCEPTION_OK.
12652 * math/libm-test.inc ("Philosophy"): Update comment about
12653 exception testing.
12654 (OVERFLOW_EXCEPTION): Define.
12655 (OVERFLOW_EXCEPTION_OK): Likewise.
12656 (INVALID_EXCEPTION_OK): Renumber.
12657 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12658 (IGNORE_ZERO_INF_SIGN): Likewise.
12659 (test_exceptions): Handle FE_OVERFLOW.
12660 (exp10_test): Expect overflow exceptions.
12661 (exp2_test): Likewise.
12662 (expm1_test): Likewise.
12663 (nextafter_test): Likewise.
12664 (pow_test): Likewise.
12665 (scalbn_test): Likewise.
12666 (scalbln_test): Likewise.
12667
95443d88
L
126682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12669
12670 * sysdeps/x86_64/bits/atomic.h
12671 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12672 64bit integer.
12673 (atomic_exchange_acq): Likewise.
12674 (__arch_exchange_and_add_body): Likewise.
12675 (__arch_add_body): Likewise.
12676 (atomic_add_negative): Likewise.
12677 (atomic_add_zero): Likewise.
12678
490df6c4
L
126792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12680
c2722551 12681 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
12682 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12683
5e52b189
L
126842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12685
12686 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12687 Check __x86_64__ instead of __WORDSIZE.
12688
a9879d4c
L
126892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12690
12691 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12692
5df98260
DM
126932012-03-19 David S. Miller <davem@davemloft.net>
12694
e1497744
DM
12695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12696
5df98260
DM
12697 * sysdeps/sparc/fpu/fenv_private.h: New file.
12698 * sysdeps/sparc/fpu/math_private.h: Use it.
12699 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12700 Remove.
12701 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12702 (libc_feholdexcept_setroundl): Remove.
12703 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12704 Remove.
12705 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12706 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12707
b4c35121
L
127082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12709
12710 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12711 int64_t instead of long int.
12712 (INSERT_WORDS64): Likwise.
12713
56965fd7
L
127142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12715
12716 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12717 _Unwind_GetCFA return to _Unwind_Ptr first.
12718
83d1aec8
JM
127192012-03-19 Joseph Myers <joseph@codesourcery.com>
12720
1897ad44
JM
12721 [BZ #13629]
12722 * math/s_clog.c: Include <float.h>.
12723 (__clog): Scale large or subnormal inputs.
12724 * math/s_clogf.c: Likewise.
12725 * math/s_clogl.c: Likewise.
12726 * math/s_clog10.c: Include <float.h>.
12727 (M_LOG10_2): Define.
12728 (__clog10): Scale large or subnormal inputs.
12729 * math/s_clog10f.c: Likewise.
12730 * math/s_clog10l.c: Likewise.
12731 * math/libm-test.inc (clog_test): Add more tests.
12732 (clog10_test): Likewise.
12733 * sysdeps/i386/fpu/libm-test-ulps: Update.
12734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12735
7726d6a9
JM
12736 [BZ #11451]
12737 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12738 x and y.
12739 * math/libm-test.inc (atan2_test): Add another test.
12740
83d1aec8
JM
12741 * Makerules (common-objdir-compile): Remove.
12742 * sysdeps/unix/Makefile (config-generated): Do not add
12743 $(unix-generated) to variable.
12744 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12745 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12746 Remove rule.
12747 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12748 Likewise.
12749 [generic bits/local_lim.h] (before-compile): Do not append to
12750 variable.
12751 [generic bits/local_lim.h] (common-generated): Likewise.
12752 [generic sys/param.h] (before-compile): Do not append to variable.
12753 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12754 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12755 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12756 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12757 include.
12758 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12759 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12760 [generic sys/param.h] ($(addprefix
12761 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12762 [generic sys/param.h] (common-generated): Do not append to
12763 variable.
12764 [generic sys/param.h] (sysdep_headers): Likewise.
12765 [generic bits/errno.h] (before-compile): Do not append to
12766 variable.
12767 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12768 rule.
12769 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12770 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12771 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12772 [generic bits/errno.h] (common-generated): Do not append to
12773 variable.
12774 [generic bits/ioctls.h] (before-compile): Do not append to
12775 variable.
12776 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12777 rule.
12778 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12779 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12780 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12781 rule.
12782 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12783 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12784 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12785 [generic bits/ioctls.h] (common-generated): Do not append to
12786 variable.
12787 [generic sys/syscall.h] (syscall.h): Remove variable.
12788 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12789 rule.
12790 [generic sys/syscall.h] (before-compile): Do not append to
12791 variable.
12792 [generic sys/syscall.h] (common-generated): Likewise.
12793 * sysdeps/unix/errnos-tmpl.c: Remove file.
12794 * sysdeps/unix/errnos.awk: Likewise.
12795 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12796 * sysdeps/unix/ioctls.awk: Likewise.
12797 * sysdeps/unix/mk-local_lim.c: Likewise.
12798 * sysdeps/unix/snarf-ioctls: Likewise.
12799
4851a949
RH
128002012-03-19 Richard Henderson <rth@twiddle.net>
12801
bd37f2ee
RH
12802 * sysdeps/i386/fpu/fenv_private.h: New file.
12803 * sysdeps/i386/fpu/math_private.h: Use it.
12804 (math_opt_barrier, math_force_eval): Remove.
12805 (libc_feholdexcept_setround_53bit): Remove.
12806 (libc_feupdateenv_53bit): Remove.
12807 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12808 (math_opt_barrier, math_force_eval): Remove.
12809 (libc_feholdexcept): Remove.
12810 (libc_feholdexcept_setround): Remove.
12811 (libc_fetestexcept, libc_fesetenv): Remove.
12812 (libc_feupdateenv_test): Remove.
12813 (libc_feupdateenv, libc_feholdsetround): Remove.
12814 (libc_feresetround): Remove.
12815
d0adc922
RH
12816 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12817 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12818
0fe0f1f8
RH
12819 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12820 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12821 (libc_feupdateenv_testl): New.
12822 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12823 (libc_feupdateenv_testf): New.
12824 (libc_feupdateenv): Use libc_feupdateenv_test.
12825 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12826 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12827
eb92c487
RH
12828 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12829 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12830 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12831 (libc_feresetround_noex): New.
12832 (libc_feresetround_noexf): New.
12833 (libc_feresetround_noexl): New.
12834 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12835 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12836 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12837 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12838 SET_RESTORE_ROUND.
12839 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12840 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12841 (__cos): Likewise.
12842 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12843 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12844 SET_RESTORE_ROUND_NOEX.
12845 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12846 SET_RESTORE_ROUND_NOEXF.
12847 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12848 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12849 (libc_feholdsetroundf): New.
12850 (libc_feresetround, libc_feresetroundf): New.
12851
7d2e8012
RH
12852 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12853 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12854 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12855
b4dabbb4
RH
12856 * sysdeps/generic/math_private.h: Include <fenv.h>.
12857 (default_libc_feholdexcept): New.
12858 (default_libc_feholdexcept_setround): New.
12859 (default_libc_fesetenv, default_libc_feupdateenv): New.
12860 (libc_feholdexcept): Only define if undefined.
12861 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12862 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12863 (libc_feholdexcept_setroundl): Likewise.
12864 (libc_feholdexcept_setround_53bit): Likewise.
12865 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12866 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12867 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12868 (libc_feupdateenv_53bit): Likewise.
12869 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12870 (libc_feholdexcept): Convert from macro to inline function.
12871 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12872 (libc_fesetenv, libc_feupdateenv): Likewise.
12873
4851a949
RH
12874 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12875 not previously defined.
12876 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12877 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12878 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12879 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12880 * sysdeps/ieee754/flt-32/math_private.h: New file.
12881 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12882 math_private.h below SET_FLOAT_WORD.
12883 (__isnan, __isinf_ns, __finite): Remove.
12884 (__isnanf, __isinf_nsf, __finitef): Remove.
12885
e79d442e
AS
128862012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12887
12888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12889
90b80344
DM
128902012-03-17 David S. Miller <davem@davemloft.net>
12891
12892 [BZ #6471]
12893 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12894 for 2.16.
12895
edc21804
DM
128962012-03-16 David S. Miller <davem@davemloft.net>
12897
77e927af
DM
12898 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12899 warnings.
12900
374976dd
DM
12901 [BZ #6471]
12902 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12903 properly.
12904 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12905 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12906 sysdep_routines when subdir is sysvipc.
12907 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12908 __getshmlba helper.
12909
edc21804
DM
12910 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12911
473c3ef3
L
129122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12913
12914 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12915 [__LP64__].
12916
eb0f39b6
L
129172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12918
12919 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12920 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12921 (__lround): Renamed to ...
12922 (__llround): This. Replace long int with long long int.
12923 Define lround functions as aliases of llround functions.
12924 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12925
6b6cd74b
L
129262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12927
12928 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12929 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12930 adresses to uintptr_t. Replace "long int" and "unsigned long
12931 int" with "greg_t" on va_arg.
12932
f1a77b01
L
129332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12934
12935 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12936 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12937
12938 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12939 Move e_machine check before EI_CLASS check. Handle x32
12940 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12941 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12942 SKIP_EM_IA_64 and include
12943 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12944
12945 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12946 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12947 (add_system_dir): New macro.
12948
12949 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12950 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12951
11b90b9f
JM
129522012-03-16 Joseph Myers <joseph@codesourcery.com>
12953
c36e1d23
JM
12954 [BZ #2551]
12955 [BZ #2552]
12956 [BZ #2553]
12957 [BZ #2554]
12958 [BZ #2562]
12959 [BZ #2563]
12960 [BZ #2565]
12961 [BZ #2566]
12962 [BZ #2576]
12963 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12964 (y0): Likewise.
12965 * math/w_j0f.c (j0f): Likewise.
12966 (y0f): Likewise.
12967 * math/w_j0l.c (__j0l): Likewise.
12968 (__y0l): Likewise.
12969 * math/w_j1.c (j1): Likewise.
12970 (y1): Likewise.
12971 * math/w_j1f.c (j1f): Likewise.
12972 (y1f): Likewise.
12973 * math/w_j1l.c (__j1l): Likewise.
12974 (__y1l): Likewise.
12975 * math/w_jn.c (jn): Likewise.
12976 (yn): Likewise.
12977 * math/w_jnf.c (jnf): Likewise.
12978 (ynf): Likewise.
12979 * math/w_jnl.c (__jnl): Likewise.
12980 (__ynl): Likewise.
12981 * math/libm-test.inc (j0_test): Add more tests.
12982 (j1_test): Likewise.
12983 (jn_test): Likewise. Add trailing semicolon to existing test.
12984 (y0_test): Likewise.
12985 (y1_test): Likewise.
12986 * sysdeps/i386/fpu/libm-test-ulps: Update.
12987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12988
11b90b9f
JM
12989 [BZ #13851]
12990 [BZ #13854]
12991 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12992 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12993 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12994 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12995 (__tanl): Set errno for infinite argument.
12996 * sysdeps/i386/fpu/mptan.c: Remove.
12997 * sysdeps/i386/fpu/s_tan.S: Likewise.
12998 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12999 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13000 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13001 * math/libm-test.inc (tan_test): Add more tests and enable more
13002 tests for double and long double.
13003 * sysdeps/i386/fpu/libm-test-ulps: Update.
13004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13005
6a1bd2a1
JK
130062012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13007
13008 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13009 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13010
10a803e0
RM
130112012-03-16 Roland McGrath <roland@hack.frob.com>
13012
13013 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13014 * configure.in: Use it for both main tree and add-ons.
13015 * configure: Regenerated.
13016
f196c7f7
L
130172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13018
13019 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13020
8848d99d
JM
130212012-03-16 Joseph Myers <joseph@codesourcery.com>
13022
96cbe7f4
JM
13023 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13024 in comment.
13025
8848d99d
JM
13026 [BZ #13851]
13027 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13028 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13029 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13030 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13031 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13032 infinite argument.
13033 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13034 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13035 != 0 for prec == 2.
13036 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13037 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13038 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13039 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13040 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13041 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13042 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13043 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13044 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13045 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13046 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13047 * math/libm-test.inc (cos_test): Add more tests and enable more
13048 tests for long double.
13049 (sin_test): Likewise.
13050 (sincos_test): Likewise.
13051 * sysdeps/i386/fpu/libm-test-ulps: Update.
13052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13053
dd7f4703
DM
130542012-03-16 David S. Miller <davem@davemloft.net>
13055
13056 * sysdeps/sparc/fpu/math_private.h: New file.
13057
006f1daa
DM
130582012-03-15 David S. Miller <davem@davemloft.net>
13059
c0c83bc8
DM
13060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13061 file.
e6a62e18 13062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
13063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13064 file.
e6a62e18
DM
13065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13066 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13070 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13071 sysdep routines.
13072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13073
88cb87d9
DM
13074 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13075 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13076
006f1daa 13077 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
13078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13079 sparc-ifunc.h
006f1daa 13080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
13081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13082 Likewise.
13083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13084 Likewise.
006f1daa
DM
13085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
13088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13089 Likewise.
006f1daa
DM
13090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
13094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13095 Likewise.
13096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13097 Likewise.
006f1daa
DM
13098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13102 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13103 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13104 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13105 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13106 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13107 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13112 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13113 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13114 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13115 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13116 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13117 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13118 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13119 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13120 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13121 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13122
11e0098e
AS
131232012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13124
13125 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13126 scaling.
13127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13128
e85b09d0
AJ
131292012-03-15 Andreas Jaeger <aj@suse.de>
13130
13131 [BZ #13852]
13132 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13133 ieee754/flt-32 implementation for sin, cos and sincos.
13134 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13135 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13136 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13137 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13138 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13139 ieee754/flt-32 implementation for tan.
13140
13141 * math/libm-test.inc (cos_test): Enable some large input tests for
13142 float as well
13143 (sin_test): Likewise.
13144 (sincos_test): Likewise.
13145 (tan_test): Add tests for large input.
13146
13147 * sysdeps/i386/fpu/libm-test-ulps: Update.
13148
81c64153
AJ
131492012-03-15 Andreas Jaeger <aj@suse.de>
13150
13151 [BZ #13658]
13152 * math/libm-test.inc (cos_test): Add more test cases.
13153 (sin_test): Likewise.
13154 (sincos_test): Likewise.
13155
7bbfa5c6
AJ
131562012-03-15 Andreas Jaeger <aj@suse.de>
13157
13158 [BZ #13837]
13159 * math/libm-test.inc (cos_test): Add a test case for large input
13160 value.
13161 (sin_test): Likewise.
13162 (sincos_test): Likewise.
13163
131642012-03-15 Andreas Jaeger <aj@suse.de>,
13165 Joseph Myers <joseph@codesourcery.com>
13166
13167 [BZ #13658]
0671f479 13168 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
13169 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13170 * sysdeps/i386/fpu/branred.c: Likewise.
13171 * sysdeps/i386/fpu/dosincos.c: Likewise.
13172 * sysdeps/i386/fpu/mpa.c: Likewise.
13173 * sysdeps/i386/fpu/s_cos.S: Likewise.
13174 * sysdeps/i386/fpu/s_sin.S: Likewise.
13175 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13176 * sysdeps/i386/fpu/sincos32.c: Likewise.
13177
13178 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13179 Define.
13180 (libc_feupdateenv_53bit): Define.
13181 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13182 Define.
13183 (libc_feupdateenv_53bit): Define.
13184
13185 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13186 53 bit (without extend i386 double precision).
13187
13188 * math/libm-test.inc (sincos_test): Add tests for large input.
13189 (sin): Likewise.
13190 (cos): Likewise.
13191
13192 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13193
9cad04ea
AS
131942012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13195
13196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13197
f7062b9a
DM
131982012-03-15 David S. Miller <davem@davemloft.net>
13199
13200 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13201 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13202 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13203 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13208 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13209 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13210 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
13215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13216 file.
f7062b9a 13217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
13218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13219 file.
f7062b9a 13220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
13221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13222 file.
f7062b9a 13223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
13224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13225 file.
f7062b9a
DM
13226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13227 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13228 fmin/fmax sysdep routines.
13229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13230
7bd951ff
DM
132312012-03-14 David S. Miller <davem@davemloft.net>
13232
559398ab
DM
13233 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13234 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13235 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13237 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13238 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13239 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13240 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13241 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13242 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13243 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13244 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13245 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13246 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13247 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13248 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13249 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13253 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13254 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13255 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13256 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13257 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13258 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13259 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13260 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13261 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13262 routines.
13263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13264 file.
559398ab 13265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
13266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13267 file.
559398ab 13268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
13269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13270 file.
559398ab 13271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
13272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13273 file.
559398ab 13274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
13275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13276 file.
559398ab 13277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
13278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13279 file.
13280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13281 file.
13282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13283 file.
13284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13285 file.
13286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13287 New file.
13288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13289 file.
13290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13291 file.
559398ab 13292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
13293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13294 file.
559398ab 13295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13297 file.
559398ab 13298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
13299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13300 file.
559398ab 13301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
13302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13303 VIS3 routines.
559398ab
DM
13304
13305 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13306 New file.
13307
5a1c1e32
DM
13308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13309
eae47a36
DM
13310 * sysdeps/sparc/configure.in: New file.
13311 * sysdeps/sparc/configure: Generate.
13312 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13313 * configure: Regenerate.
13314 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13315 * config.make.in (have-as-vis3): New.
13316 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13317 available use -Av9d instead of -Av9a.
13318 * sysdeps/sparc/sparc64/Makefile: Likewise.
13319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
13320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13321 New file.
13322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13323 file.
13324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13325 New file.
13326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13327 file.
eae47a36
DM
13328 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13329 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13330 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13331 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13332 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13333
c0c83bc8
DM
13334 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13335 fzeros/fnegs to load 0x80000000 into a float register instead of
13336 using the stack.
7bd951ff
DM
13337 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13338
bd951ccb
JM
133392012-03-14 Joseph Myers <joseph@codesourcery.com>
13340
13341 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13342 bits/syscall.h.
13343 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13344 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13345 ($(inst_includedir)/bits/syscall.h): Remove rule.
13346 ($(objpfx)bits/syscall.d): Include instead of
13347 $(objpfx)syscall-list.d.
13348 (generated): Change syscall-list.h and syscall-list.d to
13349 bits/syscall.h and bits/syscall.d.
13350
bb4e6db2
RM
133512012-03-14 Roland McGrath <roland@hack.frob.com>
13352
13353 [BZ #13846]
13354 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13355
aa4a2ae1
JM
133562012-03-14 Joseph Myers <joseph@codesourcery.com>
13357
e456826d
JM
13358 [BZ #13841]
13359 * math/s_csqrt.c: Include <float.h>.
13360 (__csqrt): Scale large or subnormal inputs.
13361 * math/s_csqrtf.c: Likewise.
13362 * math/s_csqrtl.c: Likewise.
13363 * math/libm-test.inc (csqrt_test): Add more tests.
13364 * sysdeps/i386/fpu/libm-test-ulps: Update.
13365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13366
aa4a2ae1
JM
13367 [BZ #13840]
13368 * math/libm-test.inc (hypot_test): Add more tests.
13369
7c10fd35
DM
133702012-03-13 David S. Miller <davem@davemloft.net>
13371
13372 [BZ #13840]
13373 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13374 double-precision for the calculation instead of scaling.
13375
f453b98b
JM
133762012-03-13 Joseph Myers <joseph@codesourcery.com>
13377
13378 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13379 manipulate bits before adding and subtracting TWO52[sx].
13380 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13381 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13382 Likewise.
13383 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13384
09a3453f
DM
133852012-03-13 David S. Miller <davem@davemloft.net>
13386
8e59da90
DM
13387 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13388 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13389 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13390 rtld-global-offsets.h
13391 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13392
2a8ab7f2
DM
13393 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13394 large parameters.
13395
10f62770
DM
13396 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13397
5f0bdb18
DM
13398 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13399 'err' in the ifdef scope in which it is actually used.
13400
09a3453f
DM
13401 * nss/nss_db/db-init.c: Include string.h
13402
b4b2eb5e
DM
134032012-03-12 David S. Miller <davem@davemloft.net>
13404
98bb2f1c
DM
13405 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13406 masking out of the most significant byte of random value used.
13407 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13408 Fix coding style in previous change.
13409
b4b2eb5e
DM
13410 * sysdeps/unix/sysv/linux/kernel-features.h
13411 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13412 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13413 expression.
13414 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13415 later.
13416
6e226b09
DM
134172012-03-11 David S. Miller <davem@davemloft.net>
13418
a1bcbd40
DM
13419 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13420 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13421 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13422 for 'resultvar' otherwise things get truncated on 64-bit.
13423
cb9d6174
DM
13424 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13425 Fix masking out of the most significant byte of random value used.
13426
6e226b09
DM
13427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13428
058c132d
AS
134292012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13430
13431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13432
2d2cd515
DM
134332012-03-09 David S. Miller <davem@davemloft.net>
13434
13435 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13436 variables with appropriate CPP guards.
13437 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13438 frame pointer, not the stack pointer. Correct layout comments. Fix test
13439 on resulting framesize and the management of the outregs buffer for pltexit.
13440 Preserve floating point return values across _dl_call_pltexit call.
13441 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13442 framesize and the management of the outregs buffer for pltexit.
13443 Preserve floating point return values across _dl_call_pltexit
13444 call.
13445 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13446 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13447 (print_exit): Fix format string for return register value.
13448
9a07f9d0
JM
134492012-03-10 Joseph Myers <joseph@codesourcery.com>
13450
13451 * sunrpc/Makefile (others): Add rpcgen.
13452 ($(objpfx)rpcgen): Remove special build rule and dependency on
13453 libc.
13454 * sunrpc/rpcgen.c: New file.
13455
547b5e30
PE
134562012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13457
c524201a
PE
13458 [BZ #13673]
13459 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13460 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13461 * sysdeps/i386/crti.S: Likewise.
13462 * sysdeps/i386/crtn.S: Likewise.
13463 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13464 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13465 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13466 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13467 * sysdeps/sh/crti.S: Likewise.
13468 * sysdeps/sh/crtn.S: Likewise.
13469 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13470
7b6235f2
PE
13471 [BZ #13673]
13472 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13473 with URL.
13474 * locale/programs/locfile-kw.gperf: Likewise.
13475 * locale/programs/charmap-kw.h: Regenerated.
13476 * locale/programs/locfile-kw.h: Likewise.
13477
547b5e30
PE
13478 [BZ #13673]
13479 * intl/plural.y: Replace FSF snail mail address with URL.
13480 * intl/plural.c: Regenerated.
13481
5f0a5dae
RH
134822012-03-09 Richard Henderson <rth@twiddle.net>
13483
13484 * include/math_private.h: Remove file.
13485 * math/math_private.h: Move file ...
13486 * sysdeps/generic/math_private.h: ... here.
13487
b8c03620
RH
13488 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13489 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13490 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13491
4e234f5d 13492 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
13493 and <math_private.h>.
13494 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13495 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13496 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13497 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13498 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13499 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13500 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13501 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13502 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13503 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13504 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13505 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13506 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13507 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13508 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13509 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13510 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13511 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13512 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13513 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13514 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13515 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13516 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13517 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13518 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13519 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13520 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13521 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13522 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13523 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13524 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13525 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13526 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13527 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13528 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13529 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13530 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13531 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13532 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13533 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13534 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13535 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13536 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13537 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13538 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13539 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13540 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13541 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13542 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13543 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13544 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13545 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13546 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13547 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13548 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13549 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13550 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13551 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13552 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13553 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13554 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13555 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13556 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13557 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13558 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13559 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13560 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13561 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13562 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13563 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13564 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13565 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13566 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13567 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13568 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13569 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13570 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13571 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13572 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13573 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13574 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13575 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13576 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13577 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13578 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13579 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13580 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13581 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13582 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13583 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13584 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13585 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13586 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13587 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13588 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13589 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13590 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13591 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13592 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13593 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13594 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13595 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13596 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13597 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13598 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13599 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13600 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13601 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13602 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13603 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13604 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13605 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13606 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13607 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13608 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13609 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13610 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13611 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13612 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13613 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13614 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13615 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13616 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13617 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13618 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13619 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13620 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13621 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13622 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13623 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13624 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13625 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13626 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13627 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13628 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13629 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13630 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13631 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13632 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13633 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13634 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13635 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13636 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13637 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13638 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13639 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13640 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13641 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13642 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13643 * sysdeps/ieee754/k_standard.c: Likewise.
13644 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13645 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13646 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13647 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13648 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13649 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13650 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13651 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13652 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13653 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13654 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13655 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13656 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13657 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13658 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13659 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13660 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13661 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13662 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13663 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13664 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13665 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13666 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13667 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13668 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13669 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13670 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13671 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13672 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13673 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13674 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13675 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13676 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13677 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13678 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13679 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13680 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13681 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13682 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13683 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13684 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13685 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13686 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13687 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13688 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13689 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13690 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13691 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13692 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13693 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13694 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13695 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13696 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13697 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13698 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13699 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13700 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13701 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13702 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13703 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13704 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13705 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13706 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13707 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13708 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13709 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13710 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13711 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13712 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13713 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13714 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13715 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13716 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13717 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13718 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13719 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13720 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13721 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13722 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13723 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13724 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13725 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13726 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13727 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13728 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13729 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13730 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13731 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13732 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13733 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13734 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13735 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13736 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13737 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13738 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13739 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13740 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13741 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13742 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13743 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13744 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13745 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13746 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13747 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13748 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13749 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13750 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13751 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13752 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13753 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13754 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13755 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13756 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13757 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13758 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13759 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13760 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13761 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13762 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13763 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13764 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13765 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13766 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13767 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13768 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13769 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13770 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13771 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13772 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13773 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13774 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13775 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13776 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13777 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13778 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13779 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13780 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13781 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13782 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13783 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13784 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13785 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13786 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13787 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13788 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13789 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13790 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13791 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13792 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13793 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13794 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13795 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13796 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13797 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13798 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13799 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13800 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13801 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13802 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13803 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13804 * sysdeps/ieee754/s_lib_version.c: Likewise.
13805 * sysdeps/ieee754/s_matherr.c: Likewise.
13806 * sysdeps/ieee754/s_signgam.c: Likewise.
13807 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13808 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13809 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13810 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13811 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13812 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13813 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13814 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13815 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13816 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13817 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13818 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13819 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13820 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13821 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13822 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13823 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13824 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13825 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13826 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13827 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 13828
1991fa03
JM
138292012-03-09 Joseph Myers <joseph@codesourcery.com>
13830
13831 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13832 * sunrpc/rpc_main.c: Likewise.
13833 * sunrpc/rpc_svcout.c: Likewise.
13834
60d6f5a6
DM
138352012-03-09 David S. Miller <davem@davemloft.net>
13836
13837 * include/math_private.h: New file.
13838
4962050e
JM
138392012-03-09 Joseph Myers <joseph@codesourcery.com>
13840
02a6f887
JM
13841 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13842 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13843 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13844 from <bits/socket_type.h>.
13845 (enum __socket_type): Don't define here.
13846 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13847 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13848 bits/socket_type.h.
13849
c6e013c1
JM
13850 [BZ #13566]
13851 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13852 checking __USE_GNU.
13853
4962050e
JM
13854 * Makerules ($(inst_includedir)/%.h): New rule.
13855 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13856 (install-others): Remove variable setting.
13857 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13858
38842f45
RH
138592012-03-08 Richard Henderson <rth@twiddle.net>
13860
67bb6da6
RH
13861 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13862 from macro to inline function; merge with the
13863 !__LIBC_INTERNAL_MATH_INLINES version.
13864 (__ieee754_sqrtf): Likewise.
13865
15194b4b
RH
13866 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13867 to inline function.
13868 (__rintf, __floor, __floorf): Likewise.
13869
64e21ede
RH
13870 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13871 macro to inline function.
13872 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13873
38842f45
RH
13874 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13875 not <math/math_private.h>.
13876
c64bf5fe
DM
138772012-03-08 David S. Miller <davem@davemloft.net>
13878
13879 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13880 copyright year.
13881 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13882
82d86f28
TS
138832012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13884
13885 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13886 normalization.
13887 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13888 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13889
aea5d727
UD
138902012-03-08 Ulrich Drepper <drepper@gmail.com>
13891
13892 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13893 be defined individually, they must be defined as a block. Define
13894 S for printing a string instead of hidint the different by using a
13895 macro for adding the 'l'.
13896 * stdio-common/tst-fphex-wide.c: Adjust.
13897
70bca0a3
MP
138982012-03-07 Marek Polacek <polacek@redhat.com>
13899
13900 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13901
65b81130
MP
139022012-03-08 Marek Polacek <polacek@redhat.com>
13903
13904 [BZ #13806]
13905 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13906 * stdio-common/tst-fphex.c: Define a few macros to make the
13907 test reusable. Use them.
13908 * stdio-common/tst-fphex-wide.c: New file.
13909
07037eeb
JM
139102012-03-08 Joseph Myers <joseph@codesourcery.com>
13911
a7a93d50
JM
13912 [BZ #6911]
13913 * manual/macros.texi (gnusystems): New macro.
13914 (nongnusystems): Likewise.
13915 (gnulinuxhurdsystems): Likewise.
13916 (gnuhurdsystems): Likewise..
13917 (gnulinuxsystems): Likewise.
13918 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13919 variants of the GNU system, not "GNU system".
13920 * manual/conf.texi: Likewise.
13921 * manual/errno.texi: Likewise. Update example of errno macro
13922 expansion.
13923 * manual/filesys.texi: Likewise.
13924 (getumask): Document as specific to GNU/Hurd.
13925 * manual/install.texi: Likewise. Reword some references to
13926 GNU/Linux.
13927 * manual/intro.texi: Likewise.
13928 * manual/io.texi: Likewise.
13929 (File Name Portability): Detail which constraints are inapplicable
13930 to all GNU systems and which are only inapplicable to GNU/Hurd.
13931 * manual/job.texi: Likewise.
13932 * manual/llio.texi: Likewise.
13933 (O_NOCTTY): Document as present on GNU/Linux.
13934 * manual/maint.texi: Likewise.
13935 * manual/memory.texi: Likewise.
13936 * manual/pattern.texi: Likewise.
13937 * manual/pipe.texi: Likewise.
13938 * manual/process.texi: Likewise.
13939 * manual/resource.texi: Likewise.
13940 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13941 child on GNU/Hurd.
13942 * manual/setjmp.texi: Likewise.
13943 * manual/signal.texi: Likewise.
13944 * manual/startup.texi: Likewise.
13945 * manual/stdio.texi: Likewise.
13946 * manual/terminal.texi: Likewise.
13947 (ONLCR): Document as POSIX.
13948 (OXTABS): Document availability on GNU/Linux as XTABS.
13949 (ONOEOT): Document availability separately from other bits.
13950 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13951 * manual/time.texi: Likewise.
13952 * manual/users.texi: Likewise.
13953 * INSTALL: Regenerated.
13954 * sysdeps/gnu/errlist.c: Regenerated.
13955
07037eeb
JM
13956 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13957 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13958 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13959 puts.
13960 * configure: Regenerated.
13961
d1d3431a
JM
139622012-03-07 Joseph Myers <joseph@codesourcery.com>
13963
af6a1e37
JM
13964 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13965 default includes instead of AC_HEADER_CHECK.
13966 * sysdeps/i386/configure: Regenerated.
13967
d1d3431a
JM
13968 [BZ #10716]
13969 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13970 * math/s_cacoshf.c (__cacoshf): Likewise.
13971 * math/s_cacoshl.c (__cacoshl): Likewise.
13972 * math/s_casinh.c (__casinh): Set signs of result from argument.
13973 * math/s_casinhf.c (__casinhf): Likewise.
13974 * math/s_casinhl.c (__casinhl): Likewise.
13975 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13976 (casinh_test): Add more tests.
13977 * sysdeps/i386/fpu/libm-test-ulps: Update.
13978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13979
482ff4da
UD
139802012-03-07 Ulrich Drepper <drepper@gmail.com>
13981
872fda05
UD
13982 * po/zh_TW.po: Update from translation team.
13983
a4300c7a
UD
13984 * login/Makefile (distribute): Remove variable.
13985 * catgets/Makefile: Likewise.
13986 * mach/Makefile: Likewise.
13987 * malloc/Makefile: Likewise.
13988 * misc/Makefile: Likewise.
13989 * iconv/Makefile: Likewise.
13990 * nscd/Makefile: Likewise.
13991 * hurd/Makefile: Likewise.
13992 * manual/Makefile: Likewise.
13993 * locale/Makefile: Likewise.
13994 * intl/Makefile: Likewise.
13995 * conform/Makefile: Likewise.
13996 * nss/Makefile: Likewise.
13997 * time/Makefile: Likewise.
13998 * soft-fp/Makefile: Likewise.
13999 * dirent/Makefile: Likewise.
14000 * gmon/Makefile: Likewise.
14001 * po/Makefile: Likewise.
14002 * rt/Makefile: Likewise.
14003 * socket/Makefile: Likewise.
14004 * math/Makefile: Likewise.
14005 * signal/Makefile: Likewise.
14006 * debug/Makefile: Likewise.
14007 * elf/Makefile: Likewise.
14008 * timezone/Makefile: Likewise.
14009 * stdlib/Makefile: Likewise.
14010 * iconvdata/Makefile: Likewise.
14011 * sunrpc/Makefile: Likewise.
14012 * io/Makefile: Likewise.
14013 * argp/Makefile: Likewise.
14014 * inet/Makefile: Likewise.
14015 * hesiod/Makefile: Likewise.
14016 * grp/Makefile: Likewise.
14017 * csu/Makefile: Likewise.
14018 * wctype/Makefile: Likewise.
14019 * crypt/Makefile: Likewise.
14020 * libio/Makefile: Likewise.
14021 * string/Makefile: Likewise.
14022 * nis/Makefile: Likewise.
14023 * resolv/Makefile: Likewise.
14024 * stdio-common/Makefile: Likewise.
14025 * wcsmbs/Makefile: Likewise.
14026 * dlfcn/Makefile: Likewise.
14027 * posix/Makefile: Likewise.
14028
3b7c4e74 14029 [BZ #6959]
482ff4da
UD
14030 * timezone/Makefile: Don't install timezone files, just the programs
14031 and scripts.
14032
f72ed77d
UD
140332012-03-06 Ulrich Drepper <drepper@gmail.com>
14034
a000466f
UD
14035 * nss/databases.def: Add missing gshadow entry.
14036
f72ed77d
UD
14037 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14038
a53b7a4e
MP
140392012-03-06 Marek Polacek <polacek@redhat.com>
14040
14041 [BZ #13726]
14042 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14043 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14044 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14045 * stdio-common/tst-long-dbl-fphex.c: New file.
14046
e9258400
DM
140472012-03-06 David S. Miller <davem@davemloft.net>
14048
14049 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14050 (set_obp_int): New function.
14051 (get_obp_int): New function.
14052 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
14053 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14054 Avoid unused variable warnings on 'val' and use builtin_expect.
14055 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14056 __builtin_expect.
e9258400
DM
14057 (INLINE_CLONE_SYSCALL): Likewise.
14058
3bd2c723
DM
140592012-03-05 David S. Miller <davem@davemloft.net>
14060
14061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14062
bbb78d03
AS
140632012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14064
884c5db4
AS
14065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14066
bbb78d03
AS
14067 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14068 only for |x| >= 40.
14069 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14070
1c9f702a 140712012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
14072
14073 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14074 Replace gettimeofday with __vdso_gettimeofday.
14075
7be16f82
RM
14076 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14077 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14078 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
14079
14080 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14081 time with __vdso_time.
14082
ed58a00f
JM
140832012-03-05 Joseph Myers <joseph@codesourcery.com>
14084
14085 * manual/lang.texi (size_t): Note types to which size_t may be
14086 equivalent with the GNU C Library, but do not describe when
14087 differences between them are significant.
14088
30ee4ced
AJ
140892012-03-05 Andreas Jaeger <aj@suse.de>
14090
14091 * sysdeps/i386/fpu/libm-test-ulps: Update.
14092
b7cd39e8
JM
140932012-03-05 Joseph Myers <joseph@codesourcery.com>
14094
14095 [BZ #3976]
14096 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14097 (__ieee754_pow): Save and restore rounding mode and use
14098 round-to-nearest for main computations.
14099 * math/libm-test.inc (pow_test_tonearest): New function.
14100 (pow_test_towardzero): Likewise.
14101 (pow_test_downward): Likewise.
14102 (pow_test_upward): Likewise.
14103 (main): Call the new functions.
14104 * sysdeps/i386/fpu/libm-test-ulps: Update.
14105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
14106
14107 [BZ #3976]
14108 * math/libm-test.inc (cosh_test_tonearest): New function.
14109 (cosh_test_towardzero): Likewise.
14110 (cosh_test_downward): Likewise.
14111 (cosh_test_upward): Likewise.
14112 (sinh_test_tonearest): Likewise.
14113 (sinh_test_towardzero): Likewise.
14114 (sinh_test_downward): Likewise.
14115 (sinh_test_upward): Likewise.
14116 (main): Call the new functions.
14117 * sysdeps/i386/fpu/libm-test-ulps: Update.
14118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14119
6c6a98c9
TV
141202012-03-05 Tom de Vries <tom@codesourcery.com>
14121
14122 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14123 default stack guard is set in last bytes.
14124 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14125
21bb2d2e 141262012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 14127
21bb2d2e 14128 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 14129
21bb2d2e
AJ
14130 [BZ #13656]
14131 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14132 possibly allocate from heap instead of stack.
14133 * stdio-common/bug-vfprintf-nargs.c: New file.
14134 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 14135
c6922934
AS
141362012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14137
14138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14139
bc957d53
MP
141402012-03-03 Marek Polacek <polacek@redhat.com>
14141
14142 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14143 * math/math_private.h: Likewise.
14144 * stdlib/tst-strtod.c: Likewise.
14145 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14146 * sysdeps/x86_64/bits/atomic.h: Likewise.
14147
6358490d
DM
141482012-03-02 David S. Miller <davem@davemloft.net>
14149
14150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14154 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14155 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14156 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14157 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14158
01ae168d
RM
141592012-03-02 Roland McGrath <roland@hack.frob.com>
14160
d9a17c07
RM
14161 [BZ #13792]
14162 * manual/examples/README: New file, says the example source files
14163 can be used under GPL>=2.
14164 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14165 line containing just "*/".
14166 * manual/examples/add.c: Add copyright header (GPL>=2).
14167 * manual/examples/argp-ex1.c: Likewise.
14168 * manual/examples/argp-ex2.c: Likewise.
14169 * manual/examples/argp-ex3.c: Likewise.
14170 * manual/examples/argp-ex4.c: Likewise.
14171 * manual/examples/atexit.c: Likewise.
14172 * manual/examples/db.c: Likewise.
14173 * manual/examples/dir.c: Likewise.
14174 * manual/examples/dir2.c: Likewise.
14175 * manual/examples/execinfo.c: Likewise.
14176 * manual/examples/filecli.c: Likewise.
14177 * manual/examples/filesrv.c: Likewise.
14178 * manual/examples/fmtmsgexpl.c: Likewise.
14179 * manual/examples/genpass.c: Likewise.
14180 * manual/examples/inetcli.c: Likewise.
14181 * manual/examples/inetsrv.c: Likewise.
14182 * manual/examples/isockad.c: Likewise.
14183 * manual/examples/longopt.c: Likewise.
14184 * manual/examples/memopen.c: Likewise.
14185 * manual/examples/memstrm.c: Likewise.
14186 * manual/examples/mkfsock.c: Likewise.
14187 * manual/examples/mkisock.c: Likewise.
14188 * manual/examples/mygetpass.c: Likewise.
14189 * manual/examples/pipe.c: Likewise.
14190 * manual/examples/popen.c: Likewise.
14191 * manual/examples/rprintf.c: Likewise.
14192 * manual/examples/search.c: Likewise.
14193 * manual/examples/select.c: Likewise.
14194 * manual/examples/setjmp.c: Likewise.
14195 * manual/examples/sigh1.c: Likewise.
14196 * manual/examples/sigusr.c: Likewise.
14197 * manual/examples/stpcpy.c: Likewise.
14198 * manual/examples/strdupa.c: Likewise.
14199 * manual/examples/strftim.c: Likewise.
14200 * manual/examples/strncat.c: Likewise.
14201 * manual/examples/subopt.c: Likewise.
14202 * manual/examples/swapcontext.c: Likewise.
14203 * manual/examples/termios.c: Likewise.
14204 * manual/examples/testopt.c: Likewise.
14205 * manual/examples/testpass.c: Likewise.
14206 * manual/examples/timeval_subtract.c: Likewise.
14207
01ae168d
RM
14208 [BZ #13792]
14209 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14210 function to ...
14211 * manual/timeval_subtract.c.texi: ... here, new file.
14212
49efa33d
DM
142132012-03-02 David S. Miller <davem@davemloft.net>
14214
14215 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14216
28afd92d
JM
142172012-03-02 Joseph Myers <joseph@codesourcery.com>
14218
804360ed
JM
14219 [BZ #3976]
14220 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14221 (__sin): Save and restore rounding mode and use round-to-nearest
14222 for all computations.
14223 (__cos): Save and restore rounding mode and use round-to-nearest
14224 for all computations.
14225 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14226 <fenv.h>.
14227 (tan): Save and restore rounding mode and use round-to-nearest for
14228 all computations.
14229 * math/libm-test.inc (cos_test_tonearest): New function.
14230 (cos_test_towardzero): Likewise.
14231 (cos_test_downward): Likewise.
14232 (cos_test_upward): Likewise.
14233 (sin_test_tonearest): Likewise.
14234 (sin_test_towardzero): Likewise.
14235 (sin_test_downward): Likewise.
14236 (sin_test_upward): Likewise.
14237 (tan_test_tonearest): Likewise.
14238 (tan_test_towardzero): Likewise.
14239 (tan_test_downward): Likewise.
14240 (tan_test_upward): Likewise.
14241 (main): Call the new functions.
14242 * sysdeps/i386/fpu/libm-test-ulps: Update.
14243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14244
a6d06d7b
JM
14245 [BZ #10135]
14246 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14247 small n, then large n, before computing and testing k+n.
14248 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14249 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14250 Likewise.
14251 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14252 Likewise.
14253 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14254 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14255 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14256 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14257 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14258 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14259 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14260 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14261 * math/libm-test.inc (scalbn_test): Add more tests.
14262 (scalbln_test): Likewise.
14263
07e12bb3
JM
14264 * manual/filesys.texi (mode_t): Describe constraints on size and
14265 signedness, not exact equivalence to a particular type.
14266 (ino_t): Likewise.
14267 (ino64_t): Likewise.
14268 (dev_t): Likewise.
14269 (nlink_t): Likewise.
14270 (blkcnt_t): Likewise.
14271 (blkcnt64_t): Likewise.
14272 * manual/llio.texi (off_t): Likewise.
14273
28afd92d
JM
14274 [BZ #3976]
14275 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14276 (__ieee754_exp): Save and restore rounding mode and use
14277 round-to-nearest for all computations.
14278 * math/libm-test.inc (exp_test_tonearest): New function.
14279 (exp_test_towardzero): Likewise.
14280 (exp_test_downward): Likewise.
14281 (exp_test_upward): Likewise.
14282 (main): Call the new functions.
14283 * sysdeps/i386/fpu/libm-test-ulps: Update.
14284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14285
b1eeb65d
CD
142862012-03-01 Chris Demetriou <cgd@google.com>
14287
14288 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14289 have predictable order.
14290
53362a4b
DM
142912012-03-01 David S. Miller <davem@davemloft.net>
14292
3c969083
DM
14293 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14294
759707de
DM
14295 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14296 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14297 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14298 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14299
dfdb8ff2
DM
14300 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14301 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14302 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14304 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14305 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14306 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14307 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14308 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14309
ead89f96
DM
14310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14311
7f66bd07
DM
14312 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14313 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14314 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14315
53362a4b
DM
14316 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14317 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14318 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14319 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14320 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14321 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14322 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14323 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14324 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14325 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14326 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14327 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14328 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14329 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14330 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14331 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14332 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14333 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14334 * sysdeps/sparc/elf/configure: Regenerated.
14335
7b1902cb
JM
143362012-03-01 Joseph Myers <joseph@codesourcery.com>
14337
bec039bc
JM
14338 * configure.in (AS, LD): Require binutils 2.20 or later.
14339 * configure: Regenerated.
14340 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14341 as required minimum version.
14342 * INSTALL: Regenerated.
14343
7b1902cb
JM
14344 [BZ #2541]
14345 [BZ #4108]
14346 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14347 before squaring exponent.
14348 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14349 bottom long double and 27 bits of top long double before squaring
14350 exponent.
14351 * math/libm-test.inc (erfc_test): Add more tests.
14352 * sysdeps/i386/fpu/libm-test-ulps: Update.
14353 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14355
f775c276
KT
143562012-03-01 Kai Tietz <ktietz@redhat.com>
14357
14358 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14359 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14360 containing bit-fields.
14361 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14362 * soft-fp/single.h (_FP_UNION_S): Likewise.
14363 * soft-fp/double.h (_FP_UNION_D): Likewise.
14364
5b8a4d4a
JM
143652012-02-29 Joseph Myers <joseph@codesourcery.com>
14366
0bab47b6
JM
14367 [BZ #13786]
14368 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14369 not include ../strcmp.S.
14370 [USE_AS_STRNCASECMP_L]: Likewise.
14371 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14372 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14373 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14374 (__strncasecmp_l_ia32): Define as alias to
14375 __strncasecmp_l_nonascii.
14376
0fcad3e2
JM
14377 [BZ #5794]
14378 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14379 * sysdeps/i386/fpu/libm-test-ulps: Update.
14380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14381
5b8a4d4a
JM
14382 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14384
8fdceb2e
JL
143852012-02-29 Jeff Law <law@redhat.com>
14386
14387 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14388 out of bounds read.
14389
1f393a11
MP
143902012-02-29 Marek Polacek <polacek@redhat.com>
14391
14392 [BZ #13706]
14393 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14394 * elf/Makefile: Add rules to run tst-unused-dep.out.
14395
8847f037
DM
143962012-02-28 David S. Miller <davem@davemloft.net>
14397
14398 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14399 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14400 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14401 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14402 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14403 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14404
169d7f11
JM
144052012-02-29 Joseph Myers <joseph@codesourcery.com>
14406
14407 * math/libm-test.inc (llround_test): Move one test from
14408 lround_test. Use TEST_f_L in moved test.
14409 (lround_test): Move misplaced test to llround_test. Add testcase
14410 from bug 2561.
14411
39adf059
UD
144122012-02-28 Ulrich Drepper <drepper@gmail.com>
14413
14414 * sysdeps/x86_64/fpu/e_expf.S: New file.
14415 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14416
71b5d1c5
SB
144172012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14418
14419 [BZ #13637]
14420 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14421 of remain_len that may cause incomplete multi-byte character and
14422 false match.
14423 * posix/bug-regex33.c: New file.
14424 * posix/Makefile (tests): Add bug-regex33.
14425
1f77f049
JM
144262012-02-28 Joseph Myers <joseph@codesourcery.com>
14427
14428 * manual/macros.texi: New file.
14429 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14430 * manual/libc.texinfo: Include macros.texi.
14431 * manual/creatute.texi: Likewise.
14432 * manual/install.texi: Likewise.
14433 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14434 @glibcadj{} in references to the GNU C Library.
14435 * manual/charset.texi: Likewise.
14436 * manual/conf.texi: Likewise.
14437 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14438 when not using those macros.
14439 * manual/creature.texi: Likewise.
14440 * manual/crypt.texi: Likewise.
14441 * manual/errno.texi: Likewise.
14442 * manual/filesys.texi: Likewise.
14443 * manual/header.texi: Likewise.
14444 * manual/install.texi: Likewise.
14445 * manual/intro.texi: Likewise.
14446 * manual/io.texi: Likewise.
14447 * manual/job.texi: Likewise.
14448 * manual/lang.texi: Likewise.
14449 * manual/libc.texiinfo: Likewise.
14450 * manual/llio.texi: Likewise.
14451 * manual/locale.texi: Likewise.
14452 * manual/maint.texi: Likewise.
14453 * manual/math.texi: Likewise.
14454 * manual/memory.texi: Likewise.
14455 * manual/message.texi: Likewise.
14456 * manual/nss.texi: Likewise.
14457 * manual/pattern.texi: Likewise.
14458 * manual/process.texi: Likewise.
14459 * manual/resource.texi: Likewise.
14460 * manual/search.texi: Likewise.
14461 * manual/setjmp.texi: Likewise.
14462 * manual/signal.texi: Likewise.
14463 * manual/socket.texi: Likewise.
14464 * manual/startup.texi: Likewise.
14465 * manual/stdio.texi: Likewise.
14466 * manual/string.texi: Likewise.
14467 * manual/sysinfo.texi: Likewise.
14468 * manual/syslog.texi: Likewise.
14469 * manual/terminal.texi: Likewise.
14470 * manual/time.texi: Likewise.
14471 * manual/users.texi: Likewise.
14472 * INSTALL: Regenerated.
14473 * NOTES: Regenerated.
d40c5d54 14474 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 14475
450bf206
AS
144762012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14477
14478 * include/dirent.h: Include <dirstream.h> before
14479 <dirent/dirent.h>.
14480
741a235b
DM
144812012-02-28 David S. Miller <davem@davemloft.net>
14482
14483 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14484 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14485 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14486 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14487
d6b5aa58
DM
144882012-02-27 David S. Miller <davem@davemloft.net>
14489
1aff59a3
DM
14490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14492 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14493 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14494
d6b5aa58
DM
14495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14496 frame pointer instead of stack pointer relative arg slot.
14497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14498 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14499 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14500
433f48bf
CD
145012012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14502
14503 [BZ #3992]
14504 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14505
d674b76d
DM
145062012-02-27 David S. Miller <davem@davemloft.net>
14507
14508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14512 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14513 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14514 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14515 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14516
0e7727f7
JM
145172012-02-27 Joseph Myers <joseph@codesourcery.com>
14518
14519 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14520 later. Allow versions 5-9.
43be4ca2 14521 * configure: Regenerated.
0e7727f7
JM
14522 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14523 required minimum version and 4.6 as recommended version. Do not
14524 mention bugs in GCC 2.7 and 2.8.
43be4ca2 14525 * INSTALL: Regenerated.
0e7727f7 14526
a78bc654
DM
145272012-02-27 David S. Miller <davem@davemloft.net>
14528
428d5830
DM
14529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14533 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14534 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14535 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14536 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14537
a78bc654
DM
14538 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14539 manipulate bits before adding and subtracting TWO112[sx].
14540 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14541
4579f81c
RM
145422012-02-27 Roland McGrath <roland@hack.frob.com>
14543
36c8acb4
RM
14544 [BZ #13775]
14545 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14546 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14547 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14548 being in POSIX, because they are in 1003.1-2008.
14549
84ad622b
RM
14550 * rt/tst-aio.c: Include <fcntl.h>.
14551 * rt/tst-aio7.c: Likewise.
14552 * rt/tst-aio64.c: Likewise.
14553
4579f81c
RM
14554 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14555
abd923db
JM
145562012-02-27 Joseph Myers <joseph@codesourcery.com>
14557
14558 * manual/install.texi (--with-headers): Describe headers as
14559 interface headers, not private headers.
14560 (Specific advice for GNU/Linux systems): Describe use of headers
14561 from "make headers_install", not private headers from older
14562 kernels.
43be4ca2 14563 * INSTALL: Regenerated.
abd923db
JM
14564 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14565 Change to 2.6.19.
14566 * sysdeps/unix/sysv/linux/configure: Regenerated.
14567
6664049b
JM
14568 * manual/llio.texi (fclean): Remove documentation.
14569
bb8b6697
JM
14570 * manual/Makefile (libc-texi-generated): New variable. Include
14571 version.texi.
14572 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14573 $(libc-texi-generated), not duplicated list of files.
14574 (version.texi, stamp-version): New rules.
14575 (realclean): Remove $(libc-texi-generated), not individual files
14576 from that list. Do not remove dir-add.texinfo.
14577 * manual/libc.texinfo: Comment out uses of edition numbers and
14578 references to printed manual. Remove last-updated dates.
14579 (EDITION): Comment out.
14580 (ISBN): Likewise.
14581 (VERSION, UPDATED): Remove.
14582 (version.texi): Include.
14583
12e5c3b9
AS
145842012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14585
14586 * sysdeps/posix/spawni.c: Include <signal.h>.
14587 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14588 * sysdeps/pthread/aio_fsync.c: Likewise.
14589
4efeffc1 145902012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 14591
ba63ba08
UD
14592 * conform/Makefile (tests): Run only when not cross-compiling and
14593 when fast-check is not defined.
14594
d94a4670
UD
14595 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14596 * conform/data/limits.h-data: Fixes for POSIX2008.
14597 * conform/run-conformtest.sh: Run all tests.
14598 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14599 headers.
14600 * include/bits/dlfcn.h: Likewise.
14601 * include/langinfo.h: Likewise.
14602 * include/monetary.h: Likewise.
14603 * include/sys/poll.h: Likewise.
14604
14605 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14606 for __USE_GNU.
14607 * posix/spawn.h: Define __need_sigset_t.
14608 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14609 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14610 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14611 to get sigevent_t only.
14612 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14613 only for __USE_GNU.
14614 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14615 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14616 process_vm_writev only for __USE_GNU.
14617 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
14618
14619 * conform/Makefile: For now ignore errors from run-conformtest.
14620 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14621 POSIX to avoid namespace pollution. Don't prepend headers.
14622 * conform/data/aio.h-data: Fixes for POSIX testing.
14623 * conform/data/fcntl.h-data: Likewise.
14624 * conform/data/glob.h-data: Likewise.
14625 * conform/data/grp.h-data: Likewise.
14626 * conform/data/pthread.h-data: Likewise.
14627 * conform/data/pwd.h-data: Likewise.
14628 * conform/data/signal.h-data: Likewise.
14629 * conform/data/spawn.h-data: Likewise.
14630 * conform/data/stdio.h-data: Likewise.
14631 * conform/data/stdlib.h-data: Likewise.
14632 * conform/data/stropts.h-data: Likewise.
14633 * conform/data/sys/mman.h-data: Likewise.
14634 * conform/data/sys/stat.h-data: Likewise.
14635 * conform/data/sys/types.h-data: Likewise.
14636 * conform/data/sys/wait.h-data: Likewise.
14637 * conform/data/time.h-data: Likewise.
14638 * conform/data/unistd.h-data: Likewise.
14639 * conform/data/utime.h-data: Likewise.
14640
14641 * io/sys/stat.h: fchmod was always in POSIX.
14642 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14643 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14644 * rt/aio.h: Define __need_timespec before including <time.h>.
14645 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14646 struct. Add forward declaration of pthread_attr_t and use it in
14647 sigevent.
14648 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14649 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14650 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14651 always remove CLK_TCK definition.
14652
c20105c3
AS
146532012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14654
14655 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14656
7a270350
UD
146572012-02-25 Ulrich Drepper <drepper@gmail.com>
14658
31341567
UD
14659 * conform/run-conformtest.sh: New file.
14660 * conform/Makefile: Run run-conformtest for tests.
14661 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14662 support.
14663
14664 * conform/data/uchar.h-data: New file.
14665 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14666 * conform/data/arpa/inet.h-data: Likewise.
14667 * conform/data/assert.h-data: Likewise.
14668 * conform/data/complex.h-data: Likewise.
14669 * conform/data/cpio.h-data: Likewise.
14670 * conform/data/ctype.h-data: Likewise.
14671 * conform/data/dirent.h-data: Likewise.
14672 * conform/data/dlfcn.h-data: Likewise.
14673 * conform/data/errno.h-data: Likewise.
14674 * conform/data/fcntl.h-data: Likewise.
14675 * conform/data/float.h-data: Likewise.
14676 * conform/data/fmtmsg.h-data: Likewise.
14677 * conform/data/fnmatch.h-data: Likewise.
14678 * conform/data/ftw.h-data: Likewise.
14679 * conform/data/glob.h-data: Likewise.
14680 * conform/data/grp.h-data: Likewise.
14681 * conform/data/iconv.h-data: Likewise.
14682 * conform/data/inttypes.h-data: Likewise.
14683 * conform/data/langinfo.h-data: Likewise.
14684 * conform/data/libgen.h-data: Likewise.
14685 * conform/data/limits.h-data: Likewise.
14686 * conform/data/locale.h-data: Likewise.
14687 * conform/data/math.h-data: Likewise.
14688 * conform/data/monetary.h-data: Likewise.
14689 * conform/data/mqueue.h-data: Likewise.
14690 * conform/data/ndbm.h-data: Likewise.
14691 * conform/data/net/if.h-data: Likewise.
14692 * conform/data/netdb.h-data: Likewise.
14693 * conform/data/netinet/in.h-data: Likewise.
14694 * conform/data/nl_types.h-data: Likewise.
14695 * conform/data/poll.h-data: Likewise.
14696 * conform/data/pthread.h-data: Likewise.
14697 * conform/data/pwd.h-data: Likewise.
14698 * conform/data/regex.h-data: Likewise.
14699 * conform/data/sched.h-data: Likewise.
14700 * conform/data/search.h-data: Likewise.
14701 * conform/data/semaphore.h-data: Likewise.
14702 * conform/data/setjmp.h-data: Likewise.
14703 * conform/data/signal.h-data: Likewise.
14704 * conform/data/spawn.h-data: Likewise.
14705 * conform/data/stdarg.h-data: Likewise.
14706 * conform/data/stdio.h-data: Likewise.
14707 * conform/data/stdlib.h-data: Likewise.
14708 * conform/data/string.h-data: Likewise.
14709 * conform/data/strings.h-data: Likewise.
14710 * conform/data/stropts.h-data: Likewise.
14711 * conform/data/sys/ipc.h-data: Likewise.
14712 * conform/data/sys/mman.h-data: Likewise.
14713 * conform/data/sys/msg.h-data: Likewise.
14714 * conform/data/sys/resource.h-data: Likewise.
14715 * conform/data/sys/select.h-data: Likewise.
14716 * conform/data/sys/sem.h-data: Likewise.
14717 * conform/data/sys/shm.h-data: Likewise.
14718 * conform/data/sys/socket.h-data: Likewise.
14719 * conform/data/sys/stat.h-data: Likewise.
14720 * conform/data/sys/statvfs.h-data: Likewise.
14721 * conform/data/sys/time.h-data: Likewise.
14722 * conform/data/sys/timeb.h-data: Likewise.
14723 * conform/data/sys/times.h-data: Likewise.
14724 * conform/data/sys/types.h-data: Likewise.
14725 * conform/data/sys/uio.h-data: Likewise.
14726 * conform/data/sys/un.h-data: Likewise.
14727 * conform/data/sys/utsname.h-data: Likewise.
14728 * conform/data/sys/wait.h-data: Likewise.
14729 * conform/data/syslog.h-data: Likewise.
14730 * conform/data/tar.h-data: Likewise.
14731 * conform/data/termios.h-data: Likewise.
14732 * conform/data/utime.h-data: Likewise.
14733 * conform/data/utmpx.h-data: Likewise.
14734 * conform/data/varargs.h-data: Likewise.
14735 * conform/data/wchar.h-data: Likewise.
14736 * conform/data/wctype.h-data: Likewise.
14737 * conform/data/wordexp.h-data: Likewise.
14738
14739 * include/stropts.h: New file.
14740 * include/uchar.h: New file.
14741 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14742 * include/assert.h: Likewise.
14743 * include/ctype.h: Likewise.
14744 * include/dirent.h: Likewise.
14745 * include/dlfcn.h: Likewise.
14746 * include/fcntl.h: Likewise.
14747 * include/fnmatch.h: Likewise.
14748 * include/glob.h: Likewise.
14749 * include/grp.h: Likewise.
14750 * include/libio.h: Likewise.
14751 * include/locale.h: Likewise.
14752 * include/math.h: Likewise.
14753 * include/net/if.h: Likewise.
14754 * include/netdb.h: Likewise.
14755 * include/netinet/in.h: Likewise.
14756 * include/pthread.h: Likewise.
14757 * include/pwd.h: Likewise.
14758 * include/regex.h: Likewise.
14759 * include/sched.h: Likewise.
14760 * include/search.h: Likewise.
14761 * include/setjmp.h: Likewise.
14762 * include/signal.h: Likewise.
14763 * include/stdio.h: Likewise.
14764 * include/stdlib.h: Likewise.
14765 * include/string.h: Likewise.
14766 * include/sys/cdefs.h: Likewise.
14767 * include/sys/mman.h: Likewise.
14768 * include/sys/msg.h: Likewise.
14769 * include/sys/resource.h: Likewise.
14770 * include/sys/select.h: Likewise.
14771 * include/sys/socket.h: Likewise.
14772 * include/sys/stat.h: Likewise.
14773 * include/sys/statvfs.h: Likewise.
14774 * include/sys/time.h: Likewise.
14775 * include/sys/times.h: Likewise.
14776 * include/sys/uio.h: Likewise.
14777 * include/sys/utsname.h: Likewise.
14778 * include/sys/wait.h: Likewise.
14779 * include/termios.h: Likewise.
14780 * include/time.h: Likewise.
14781 * include/ulimit.h: Likewise.
14782 * include/unistd.h: Likewise.
14783 * include/utime.h: Likewise.
14784 * include/wchar.h: Likewise.
14785 * include/wctype.h: Likewise.
14786 * include/wordexp.h: Likewise.
14787
14788 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14789
7a270350
UD
14790 * time/time.h: TIME_UTC must be a macro.
14791 Make timespec_get available for ISO C11 only as well.
14792
7724defc
UD
147932012-02-24 Ulrich Drepper <drepper@gmail.com>
14794
14795 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14796 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14797
6b1d1d46
JM
147982012-02-24 Joseph Myers <joseph@codesourcery.com>
14799
14800 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 14801
0f8bbd69
JM
148022012-02-24 Joseph Myers <joseph@codesourcery.com>
14803
14804 * manual/texinfo.tex: Update to version 2012-01-19.16.
14805
66ab80bc
JM
148062012-02-24 Joseph Myers <joseph@codesourcery.com>
14807
14808 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14809
74981cc5
RM
148102012-02-24 Roland McGrath <roland@hack.frob.com>
14811
ee968201
RM
14812 [BZ #13738]
14813 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14814 * manual/fdl-1.3.texi: New file.
14815 * manual/fdl-1.1.texi: File removed.
14816
74981cc5
RM
14817 [BZ #13738]
14818 * manual/libc.texinfo (FDL_VERSION): New @set.
14819 Use it for mention of FDL in cover text.
14820 (Documentation License): Use it in @include file name.
14821
7bb764bc
JM
148222012-02-22 Joseph Myers <joseph@codesourcery.com>
14823 Roland McGrath <roland@hack.frob.com>
14824
14825 [BZ #5461]
14826 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14827 not LONG_LONG_MAX and LONG_LONG_MIN.
14828 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14829 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14830 name.
14831 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14832
6cbeae47
JM
148332012-02-22 Joseph Myers <joseph@codesourcery.com>
14834
14835 [BZ #2547]
14836 [BZ #11365]
14837 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14838 manipulate bits before adding and subtracting TWO23[sx].
14839 * math/libm-test.inc (nearbyint_test): Add more tests.
14840
fe45ce09
JM
148412012-02-22 Joseph Myers <joseph@codesourcery.com>
14842
14843 [BZ #2548]
14844 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14845 bits before adding and subtracting TWO23[sx].
14846 * math/libm-test.inc (rint_test): Add more tests.
14847 (rint_test_tonearest): Likewise.
14848 (rint_test_towardzero): Likewise.
14849 (rint_test_downward): Likewise.
14850 (rint_test_upward: Likewise.
14851
ff3b3d82
JM
148522012-02-22 Joseph Myers <joseph@codesourcery.com>
14853
14854 [BZ #10110]
14855 * include/stdc-predef.h: New file. Extracted from features.h.
14856 * include/features.h: Include stdc-predef.h.
14857 * Makefile (headers): Add stdc-predef.h.
14858 * CONFORMANCE (Compiler limitations): Update.
14859
ef0aab35
JM
148602012-02-22 Joseph Myers <joseph@codesourcery.com>
14861
14862 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14863
58639409
DM
148642012-02-21 David S. Miller <davem@davemloft.net>
14865
14866 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14867 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14868
c0e70b25
DM
148692012-02-20 David S. Miller <davem@davemloft.net>
14870
14871 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14872 using a normal save/restore sequence, rather than allocating a
14873 dummy stack frame just to store a frame pointer and restore.
14874 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14875
fb06851d
JM
148762012-02-21 Joseph Myers <joseph@codesourcery.com>
14877
14878 * manual/install.texi: Fix stray word in line-wrapped comment.
14879
7a8b71c3
DM
148802012-02-20 David S. Miller <davem@davemloft.net>
14881
d510c123
DM
14882 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14883 both binutils and gcc support GOTDATA.
14884
0722d7c2
DM
14885 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14886 "rd %pc" in the PIC register setup sequences.
14887
3d2b3019
DM
14888 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14889 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14890 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14891 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14892 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14893 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14894 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14895 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14896 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14897 (SYSCALL_ERROR_HANDLER): Likewise.
14898 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14899 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14900 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14901 (SYSCALL_ERROR_HANDLER): Likewise.
14902
c80098a9
DM
14903 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14904 (HAVE_GCC_GOTDATA): New.
14905 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14906 relocation support in both binutils and gcc.
14907 * sysdeps/sparc/elf/configure: Regenerate.
14908
3a2545a0
DM
14909 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14910 * sysdeps/sparc/sparc32/elf/configure: Delete.
14911 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14912 * sysdeps/sparc/sparc64/elf/configure: Delete.
14913 * sysdeps/sparc/elf/configure.in: New file.
14914 * sysdeps/sparc/elf/configure: Generate.
14915
7a8b71c3
DM
14916 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14917 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14918 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14919 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14920 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14921
f1e86fca
JM
149222012-02-21 Joseph Myers <joseph@codesourcery.com>
14923
14924 * manual/install.texi: Do not mention specific glibc version
14925 numbers.
14926 * manual/libc.texinfo (VERSION, UPDATED): Update.
14927 (@copying): Use @copyright{} and range of years.
14928
0e7dfaef
JM
149292012-02-21 Joseph Myers <joseph@codesourcery.com>
14930
14931 [BZ #13695]
14932 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14933 [crti.S not in sysdirs] (generated): Do not append.
14934 [crti.S not in sysdirs] (omit-deps): Likewise.
14935 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14936 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14937 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14938 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14939 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14940 Likewise.
14941 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14942 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14943 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14944 * csu/defs.awk: Remove file.
14945 * sysdeps/generic/initfini.c: Likewise.
14946 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14947 variable.
14948 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14949 Likewise.
14950
599af3ca
JM
149512012-02-20 Joseph Myers <joseph@codesourcery.com>
14952
14953 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14954 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14955 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14956 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14957 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14958 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14959 <bits/epoll.h>.
14960 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14961 (__EPOLL_PACKED): Define to empty if not defined by
14962 <bits/epoll.h>.
14963 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14964 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14965 bits/epoll.h.
14966
0e499750
JM
149672012-02-20 Joseph Myers <joseph@codesourcery.com>
14968
14969 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14970 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14971 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14972 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14973 <bits/timerfd.h>.
14974 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14975 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14976 bits/timerfd.h.
14977
5ad91f6e
JM
149782012-02-20 Joseph Myers <joseph@codesourcery.com>
14979
14980 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14981 in C locale.
14982 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14983 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14984 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14986
06b99b02
AJ
149872012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14988
14989 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14990 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14991
7638c0fd
AS
149922012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14993
14994 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14995 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14996 defined.
14997 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14998 Likewise.
14999 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15000 entry for 2.16.
15001
92221550
AJ
150022012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15003
15004 * math/w_acos.c: Use non-signaling floating-point comparisons.
15005 * math/w_acosf.c: Likewise.
15006 * math/w_acosh.c: Likewise.
15007 * math/w_acoshf.c: Likewise.
15008 * math/w_acoshl.c: Likewise.
15009 * math/w_acosl.c: Likewise.
15010 * math/w_asin.c: Likewise.
15011 * math/w_asinf.c: Likewise.
15012 * math/w_asinl.c: Likewise.
15013 * math/w_atanh.c: Likewise.
15014 * math/w_atanhf.c: Likewise.
15015 * math/w_atanhl.c: Likewise.
15016 * math/w_exp2.c: Likewise.
15017 * math/w_exp2f.c: Likewise.
15018 * math/w_exp2l.c: Likewise.
15019 * math/w_j0.c: Likewise.
15020 * math/w_j0f.c: Likewise.
15021 * math/w_j0l.c: Likewise.
15022 * math/w_j1.c: Likewise.
15023 * math/w_j1f.c: Likewise.
15024 * math/w_j1l.c: Likewise.
15025 * math/w_jn.c: Likewise.
15026 * math/w_jnf.c: Likewise.
15027 * math/w_log.c: Likewise.
15028 * math/w_log10.c: Likewise.
15029 * math/w_log10f.c: Likewise.
15030 * math/w_log10l.c: Likewise.
15031 * math/w_log2.c: Likewise.
15032 * math/w_log2f.c: Likewise.
15033 * math/w_log2l.c: Likewise.
15034 * math/w_logf.c: Likewise.
15035 * math/w_logl.c: Likewise.
15036 * math/w_sqrt.c: Likewise.
15037 * math/w_sqrtf.c: Likewise.
15038 * math/w_sqrtl.c: Likewise.
15039 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15040 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15041 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15042 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15043 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15044
ebaf36eb
JM
150452012-02-19 Joseph Myers <joseph@codesourcery.com>
15046
15047 [BZ #9739]
15048 * manual/string.texi (strnlen): Use correct parameter name in
15049 equivalent expression.
15050
71c254a6
JM
150512012-02-19 Joseph Myers <joseph@codesourcery.com>
15052
15053 [BZ #11174]
15054 * manual/users.texi (seteuid): Consistently use neweuid for
15055 argument name.
15056
16d2c631
JM
150572012-02-19 Joseph Myers <joseph@codesourcery.com>
15058
15059 [BZ #13704]
15060 * manual/nss.texi (Services in the NSS configuration): Correct
15061 list of services in example configuration file.
15062
cd837b09
NB
150632012-02-19 Nick Bowler <nbowler@draconx.ca>
15064
15065 [BZ #11322]
15066 * manual/arith.texi: Remove statements about negative zero
15067 behaving identically to zero.
15068
02c4bbad
JM
150692012-02-18 Joseph Myers <joseph@codesourcery.com>
15070
15071 [BZ #5993]
15072 * manual/install.texi: Do not document upgrading from libc5.
15073
366842e7
JM
150742012-02-18 Joseph Myers <joseph@codesourcery.com>
15075
15076 [BZ #4596]
15077 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15078
dd54084d
DM
150792012-02-18 David S. Miller <davem@davemloft.net>
15080
15081 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15082 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15083 %o7 across the call.
15084 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15085 instead.
15086 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15087 SETUP_PIC_REG_LEAF.
15088 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15089 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15090 * sysdeps/sparc/crtn.S: Likewise.
15091
2bcc53a3
UD
150922012-02-17 Ulrich Drepper <drepper@gmail.com>
15093
15094 * aout/Makefile: Remove.
15095
09c093b5
RK
150962012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15097
15098 [BZ #13058]
15099 * manual/examples/argp-ex1.c (main): Format definition in GNU
15100 style.
15101 * manual/examples/argp-ex2.c (main): Likewise.
15102 * manual/examples/argp-ex3.c (main): Likewise.
15103 * manual/examples/argp-ex4.c (main): Likewise.
15104 * manual/examples/longopt.c (main): Use new-style prototype
15105 definition.
15106 * manual/examples/strncat.c (main): Specify return type and use
15107 (void) for arguments.
15108 * manual/examples/subopt.c (main): Use char **argv argument.
15109
2ee633a2
JM
151102012-02-17 Joseph Myers <joseph@codesourcery.com>
15111
15112 [BZ #5077]
15113 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15114 rounding modes.
15115
0520adde
FB
151162012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15117
15118 [BZ #6907]
15119 * manual/string.texi (strchr): Change when strchrnul is
15120 recommended.
15121
3f4081cd
DGM
151222012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15123
15124 [BZ #174]
15125 * manual/locale.texi (setlocale): Document LOCPATH.
15126
d1b10e78
JM
151272012-02-17 Joseph Myers <joseph@codesourcery.com>
15128
15129 [BZ #10210]
15130 * manual/process.texi (execle): Move @dots{} before last argument.
15131
79c6869c
PB
151322012-02-17 Paul Bolle <pebolle@tiscali.nl>
15133
15134 [BZ #12047]
15135 * manual/charset.texi (Generic Charset Conversion): Fix typo
15136 (LC_TYPE -> LC_CTYPE).
15137
cc6e48bc
NB
151382012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15139
15140 [BZ #5805]
15141 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15142 (scalbnf): Likewise.
15143 (scalbnl): Likewise.
15144 (scalbln): Likewise.
15145 (scalblnf): Likewise.
15146 (scalblnl): Likewise.
15147 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15148 (vwarnx): Likewise.
15149 (verr): Likewise.
15150 (verrx): Likewise.
15151 * manual/filesys.texi (telldir): Use braces around return type.
15152 * manual/llio.texi (mmap): Add space after comma.
15153 (mmap64): Likewise.
15154 * manual/math.texi (jn): Use @var{} on parameter names.
15155 (jnf): Likewise.
15156 (jnl): Likewise.
15157 (yn): Likewise.
15158 (ynf): Likewise.
15159 (ynl): Likewise.
15160 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15161 line.
15162 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15163 "...".
15164 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15165 (sched_get_priority_max): Likewise.
15166 * manual/signal.texi (sigvec): Add space after comma.
15167 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15168 names.
15169 (if_indextoname): Likewise.
15170 (if_freenameindex): Likewise.
15171 (sendto): Use ',' instead of '.' in prototype.
15172 * manual/startup.texi (syscall): Use @dots{} instead of literal
15173 "...".
15174 * manual/stdio.texi (__fpending): Separate initial words of
15175 paragraph from @deftypefun line.
15176 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15177 "...".
15178 (vsyslog): Use @var{} on parameter names.
15179 * manual/terminal.texi (stty): Use @var{} on parameter names.
15180 * manual/users.texi (getutmp): Use @var{} on parameter names.
15181 (getutmpx): Likewise.
15182
5b23062f
JM
151832012-02-17 Joseph Myers <joseph@codesourcery.com>
15184
15185 [BZ #6884]
15186 * manual/stdio.texi (fopen): Fix typos in description of
15187 ",ccs=STRING".
15188
8dee4833
AJ
151892012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15190
15191 [BZ #4026]
15192 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15193 get clock_id definition.
15194
9078ce93
TS
151952012-02-17 Thomas Schwinge <thomas@schwinge.name>
15196
15197 [BZ #4822]
15198 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15199 (madvise): Cast every argument to void on its own.
15200
3835c55f
JM
152012012-02-17 Joseph Myers <joseph@codesourcery.com>
15202
15203 [BZ #9902]
15204 * manual/startup.texi (Exit Status): Fix typo.
15205
35c47e37
JM
152062012-02-17 Joseph Myers <joseph@codesourcery.com>
15207
15208 [BZ #10140]
15209 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15210 * manual/examples/argp-ex2.c: Likewise.
15211 * manual/examples/argp-ex3.c: Likewise.
15212
e3b69ca7
RH
152132012-02-16 Richard Henderson <rth@redhat.com>
15214
15215 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15216 * sysdeps/s390/s390-32/initfini.c: Remove.
15217 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15218 * sysdeps/s390/s390-64/initfini.c: Remove.
15219
df83af67
KK
152202012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15221
15222 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15223 compiler output for sysdeps/generic/initfini.c.
15224 * sysdeps/sh/elf/initfini.c: Remove file.
15225
f63f3380
DM
152262012-02-16 David S. Miller <davem@davemloft.net>
15227
fb59b3a4
DM
15228 [BZ #11494]
15229 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15230
f63f3380
DM
15231 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15232 * sysdeps/sparc/crti.S: New file.
15233 * sysdeps/sparc/crtn.S: New file.
15234 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15235 * sysdeps/sparc/sparc64/Makefile: Likewise.
15236
df6a4a4a
MF
152372012-02-15 Mike Frysinger <vapier@gentoo.org>
15238
6dd8f3dc 15239 [BZ #3335]
df6a4a4a
MF
15240 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15241
1cac7236
RM
152422012-02-15 Roland McGrath <roland@hack.frob.com>
15243
d2c736f8
RM
15244 [BZ #4822]
15245 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15246
1cac7236
RM
15247 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15248 (write, read, close): Likewise.
15249 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15250
8e475601
JM
152512012-02-15 Joseph Myers <joseph@codesourcery.com>
15252
15253 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15254 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15255 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15256 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15257 <bits/signalfd.h>.
15258 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15259 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15260 bits/signalfd.h.
15261
ed656b40
MP
152622012-02-14 Marek Polacek <polacek@redhat.com>
15263
15264 * sysdeps/x86_64/crti.S: New file.
15265 * sysdeps/x86_64/crtn.S: New file.
15266 * sysdeps/x86_64/elf/initfini.c: Remove file.
15267
2a979d3a
JM
152682012-02-13 Joseph Myers <joseph@codesourcery.com>
15269
15270 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15271 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15272 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15273 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15274 <bits/inotify.h>.
15275 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15276 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15277 bits/inotify.h.
15278
2a418ac3
JM
152792012-02-13 Joseph Myers <joseph@codesourcery.com>
15280
15281 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15282 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15283 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15284 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15285 <bits/eventfd.h>.
15286 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15287 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15288 bits/eventfd.h.
15289
fb779be7
TS
152902012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15291
e19e83c5
RM
15292 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15293 __feraiseexcept instead of feraiseexcept.
7c35ffed 15294
fb779be7
TS
15295 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15296 nanosleep invocations.
15297 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15298 strings, and add error checking for a nanosleep invocations.
15299
59ba27a6
PE
153002012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15301
15302 Replace FSF snail mail address with URLs, as per GNU coding standards.
15303 Most of the snail mail addresses were wrong anyway, and omitting
15304 them makes the source code easier to maintain. Almost all of the
15305 changes are to license notices and to locale LC_IDENTIFICATION
15306 addresses, except for this one:
15307 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15308 not its snail mail address.
15309
57b957eb
RH
153102012-02-09 Richard Henderson <rth@twiddle.net>
15311
af850b1c
RH
15312 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15313 of kernel-features.h.
15314
57b957eb
RH
15315 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15316
6b73181a
MP
153172012-02-08 Marek Polacek <polacek@redhat.com>
15318
15319 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15320 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15321 * sysdeps/gnu/_G_config.h: Likewise.
15322 * sysdeps/generic/_G_config.h: Likewise.
15323
26ecc33a
AS
153242012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15325
6c6dbc63
AS
15326 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15327 tests.
15328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15329
e216c012
AS
15330 * sysdeps/powerpc/powerpc32/crti.S: New file.
15331 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15332 * sysdeps/powerpc/powerpc64/crti.S: New file.
15333 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15334
26ecc33a
AS
15335 * Makeconfig (have-initfini): Don't set.
15336 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15337 * configure.in (nopic_initfini): Don't substitute.
15338 * config.h.in (HAVE_INITFINI): Don't #undef.
15339 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15340 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15341
3add8e13
JM
153422012-02-08 Joseph Myers <joseph@codesourcery.com>
15343
15344 Support crti.S and crtn.S provided directly by architectures.
15345 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15346 [crti.S in sysdirs] (omit-deps): Likewise.
15347 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15348 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15349 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15350 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15351 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15352 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15353 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15354 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15355 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15356 compiler output for sysdeps/generic/initfini.c.
15357 * sysdeps/i386/elf/Makefile: Remove file.
15358 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15359
a22f12b4
MP
153602012-02-07 Marek Polacek <polacek@redhat.com>
15361
15362 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15363 * sysdeps/gnu/_G_config.h: Likewise.
15364 * sysdeps/mach/hurd/_G_config.h: Likewise.
15365
148cf100
MP
153662012-02-07 Marek Polacek <polacek@redhat.com>
15367
15368 * math/Makefile (tests): Add tst-CMPLX2.
15369 * math/tst-CMPLX2.c: New file.
15370
cfdc0dd7
AS
153712012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15372
84ba42c4
AS
15373 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15374
cfdc0dd7
AS
15375 * math/libm-test.inc (jn_test): Add missing L suffix.
15376
622c86f4
MP
153772012-02-06 Marek Polacek <polacek@redhat.com>
15378
15379 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15380 * sysdeps/i386/fpu/e_powf.S: Likewise.
15381 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15382 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15383 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15384 * sysdeps/i386/fpu/e_pow.S: Likewise.
15385 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15386 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15387 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15388 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15389 * sysdeps/i386/fpu/e_log2.S: Likewise.
15390 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15391 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15392 * sysdeps/i386/fpu/e_powl.S: Likewise.
15393 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15394 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15395 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15396 * sysdeps/i386/fpu/e_logl.S: Likewise.
15397 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15398 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15399 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15400 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15401 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15402 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15403 * sysdeps/i386/fpu/e_log.S: Likewise.
15404 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15405 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15406 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15407 * sysdeps/i386/fpu/e_logf.S: Likewise.
15408 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15409 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15410 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15411 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15412 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15413 * sysdeps/i386/fpu/e_log10.S: Likewise.
15414 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15415 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15416 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15417 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15418 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15419 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15420 * sysdeps/i386/asm-syntax.h: Likewise.
15421 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15422 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15423 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15424 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15425 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15426 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15427 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15428 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15429 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15430 * sysdeps/powerpc/sysdep.h: Likewise.
15431 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15432 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15433
d4a54ac6
JM
154342012-02-06 Joseph Myers <joseph@codesourcery.com>
15435
15436 [BZ #411]
15437 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15438
314054ea
JM
154392012-02-06 Joseph Myers <joseph@codesourcery.com>
15440
15441 * sysdeps/i386/sysdep.h: Include <features.h>.
15442 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15443 version.
15444
d8e0ca50
JM
154452012-02-05 Joseph Myers <joseph@codesourcery.com>
15446
15447 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15448 Define.
15449 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15450 LOAD_PIC_REG_STR.
15451
b1da7dd9
JM
154522012-02-03 Joseph Myers <joseph@codesourcery.com>
15453
15454 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15455 (SETUP_PIC_REG): Use GET_PC_THUNK.
15456 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15457 macro.
15458
9a1d9254
JM
154592012-02-03 Joseph Myers <joseph@codesourcery.com>
15460
15461 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15462 for non-PIC compilation.
15463 (SETUP_PIC_REG): Add .p2align directive.
15464 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15465 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15466 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15467 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15468 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15469 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15470 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15471 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15472 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15473 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15474 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15475 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15476 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15477 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15478 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15479 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15480 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15481 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15482 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15483 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15484 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15485 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15486 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15487 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15488 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15489 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15490 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15491 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15492 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15493 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15494 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15495 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15496 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15497 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15498 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15499 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15500 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15501 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15502 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15503 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15504 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15505
65dc3b75
JM
155062012-02-03 Joseph Myers <joseph@codesourcery.com>
15507
15508 * math/tst-CMPLX.c: Include <stdio.h>.
15509
d55bf177
JM
155102012-01-31 Joseph Myers <joseph@codesourcery.com>
15511
15512 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15513 float.
15514 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15515 * sysdeps/sparc/bits/mathdef.h: Likewise.
15516
69db4f8f
MP
155172012-01-31 Marek Polacek <polacek@redhat.com>
15518
15519 * libio/libio.h: Don't define _PARAMS.
15520 * locale/programs/config.h: Don't define PARAMS.
15521 * stdlib/strtol_l.c: Likewise.
15522 (__strtol_l): Remove PARAMS from the prototype.
15523
41b81892
UD
155242012-01-31 Ulrich Drepper <drepper@gmail.com>
15525
3b49edc0
UD
15526 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15527 names. Just use the correct names. Remove unnecessary wrapper
15528 functions.
15529 * malloc/arena.c: Likewise.
15530 * malloc/hooks.c: Likewise.
15531
41b81892
UD
15532 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15533 ARENA_TEST says not to. Simplify test for creation of a new arena.
15534 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15535
27a25b6e
UD
155362012-01-30 Ulrich Drepper <drepper@gmail.com>
15537
15538 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15539 into tail calls.
15540 (update_get_addr): New function.
15541 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15542 GET_ADDR_MODULE parameter.
15543
c8a89e7d
JM
155442012-01-30 Joseph Myers <joseph@codesourcery.com>
15545
15546 * crypt/cert.c: Remove __STDC__ conditionals.
15547 * crypt/crypt-entry.c: Likewise.
15548 * crypt/crypt_util.c: Likewise.
15549 * libio/filedoalloc.c: Likewise.
15550 * libio/fileops.c: Likewise.
15551 * libio/genops.c: Likewise.
15552 * libio/iofclose.c: Likewise.
15553 * libio/iofdopen.c: Likewise.
15554 * libio/iofopen.c: Likewise.
15555 * libio/iofopen64.c: Likewise.
15556 * libio/iogetdelim.c: Likewise.
15557 * libio/iopopen.c: Likewise.
15558 * libio/obprintf.c: Likewise.
15559 * libio/oldfileops.c: Likewise.
15560 * libio/oldiofclose.c: Likewise.
15561 * libio/oldiofdopen.c: Likewise.
15562 * libio/oldiofopen.c: Likewise.
15563 * libio/oldiopopen.c: Likewise.
15564 * libio/wfiledoalloc.c: Likewise.
15565 * libio/wgenops.c: Likewise.
15566 * locale/programs/xmalloc.c: Likewise.
15567 * misc/syslog.c: Likewise.
15568 * stdio-common/xbug.c: Likewise.
15569 * string/memchr.c: Likewise.
15570 * string/memcmp.c: Likewise.
15571 * string/memrchr.c: Likewise.
15572 * string/rawmemchr.c: Likewise.
15573 * sysdeps/posix/getcwd.c: Likewise.
15574 * time/strftime_l.c: Likewise.
15575
3b100462
JM
155762012-01-30 Joseph Myers <joseph@codesourcery.com>
15577
15578 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
15579 * config.make.in (config-cflags-sse2avx): Define.
15580 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15581 Fix typo.
15582
607998af
CM
155832012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15584
15585 * scripts/config.guess: Update from upstream config git repository.
15586 * scripts/config.sub: Likewise.
15587
3601428f
CM
155882012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15589
3ac8b282
CM
15590 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15591 (EM_NUM): Update.
15592 (R_TILEPRO_*, R_TILEGX_*): New macros.
15593
e034841e
CM
15594 * scripts/firstversions.awk: Fix bug in version range handling.
15595
540d7568
CM
15596 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15597
3601428f
CM
15598 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15599
463de862
CM
15600 * include/sys/epoll.h: New file.
15601 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15602 libc_hidden_def.
15603
73139a76
UD
156042012-01-28 Ulrich Drepper <drepper@gmail.com>
15605
96bc5b45
UD
15606 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15607 Avoid unnecessary __WORDSIZE == 64 test.
15608 (fmaxf): Use VEX format if possible.
15609 (fmax): Likewise.
15610 (fminf): Likewise.
15611 (fmin): Likewise.
15612
56f6f6a2
UD
15613 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15614 * math/math_private.h: Remove libc_fegetround* and
15615 libc_fesetround*.
15616 * sysdeps/i386/configure.in: Check for -msse2avx.
15617 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15618 also if SSE2AVX is defined.
15619 Remove libc_fegetround* and libc_fesetround*.
15620 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15621 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15622 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15623 of HAS_YMM_USABLE.
15624 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15625 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15626 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15627 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15628 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15629
73139a76
UD
15630 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15631
d73f93a4
AZ
156322012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15633
15634 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15635 size is not set.
15636 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15637
6ee65ed6
UD
156382012-01-27 Ulrich Drepper <drepper@gmail.com>
15639
15640 [BZ #13618]
15641 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15642 relocation.
15643 * Makeconfig (libm): Define.
15644 * elf/Makefile: Add rules to build and run tst-relsort1.
15645 * elf/tst-relsort1.c: New file.
15646 * elf/tst-relsort1mod1.c: New file.
15647 * elf/tst-relsort1mod2.c: New file.
15648
8db21882
JM
156492012-01-27 Joseph Myers <joseph@codesourcery.com>
15650
15651 * math/s_ldexp.c: Remove __STDC__ conditionals.
15652 * math/s_ldexpf.c: Likewise.
15653 * math/s_ldexpl.c: Likewise.
15654 * math/s_nextafter.c: Likewise.
15655 * math/s_nexttowardf.c: Likewise.
15656 * math/s_significand.c: Likewise.
15657 * math/s_significandf.c: Likewise.
15658 * math/s_significandl.c: Likewise.
15659 * math/w_jnl.c: Likewise.
15660 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15661 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15662 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15663 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15664 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15665 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15666 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15667 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15668 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15669 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15670 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15671 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15672 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15673 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15674 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15675 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15676 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15677 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15678 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15679 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15680 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15681 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15682 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15683 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15684 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15685 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15686 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15687 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15688 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15689 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15690 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15691 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15692 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15693 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15694 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15695 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15696 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15697 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15698 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15699 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15700 * sysdeps/ieee754/k_standard.c: Likewise.
15701 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15702 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15703 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15704 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15705 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15706 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15707 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15708 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15709 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15710 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15711 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15712 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15713 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15714 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15715 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15716 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15717 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15718 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15719 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15720 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15721 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15722 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15723 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15724 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15725 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15726 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15727 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15728 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15729 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15730 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15731 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15732 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15733 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15734 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15735 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15736 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15737 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15738 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15739 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15740 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15741 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15742 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15743 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15744 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15745 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15746 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15747 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15748 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15749 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15750 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15751 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15752 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15753 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15754 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15755 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15756 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15757 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15758 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15759 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15760 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15761 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15762 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15763 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15764 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15765 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15766 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15767 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15768 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15769 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15770 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15771 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15772 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15773 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15774 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15775 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15776 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15777 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15778 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15779 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15780 * sysdeps/ieee754/s_matherr.c: Likewise.
15781 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15782 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15783 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15784 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15785
965a54a4
JM
157862012-01-26 Joseph Myers <joseph@codesourcery.com>
15787
15788 * crypt/md5.h: Remove __STDC__ conditionals.
15789 * libio/libioP.h: Likewise.
15790 * locale/programs/config.h: Likewise.
15791 * sysdeps/generic/sysdep.h: Likewise.
15792 * sysdeps/i386/asm-syntax.h: Likewise.
15793 * sysdeps/s390/asm-syntax.h: Likewise.
15794 * sysdeps/unix/sysdep.h: Likewise.
15795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15797
7071ad79
JM
157982012-01-26 Joseph Myers <joseph@codesourcery.com>
15799
15800 * libio/libio.h: Remove __STDC__ conditionals.
15801 * malloc/obstack.h: Likewise.
15802 * math/complex.h: Likewise.
15803 * math/math.h: Likewise.
15804 * sysdeps/generic/_G_config.h: Likewise.
15805 * sysdeps/gnu/_G_config.h: Likewise.
15806 * sysdeps/mach/hurd/_G_config.h: Likewise.
15807 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15808 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15809 * sysdeps/sparc/bits/mathdef.h: Likewise.
15810
afc5ed09
UD
158112012-01-26 Ulrich Drepper <drepper@gmail.com>
15812
15813 [BZ #13583]
15814 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 15815 Clean up HAS_* macros.
afc5ed09 15816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
15817 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15818 possible.
15819 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15820 HAS_AVX.
15821 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15822 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15823 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15824 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15825 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 15826
bdb6de1d
JM
158272012-01-25 Joseph Myers <joseph@codesourcery.com>
15828
15829 * elf/tst-unique3.cc (gets): Remove declaration.
15830 * elf/tst-unique3lib.cc (gets): Likewise.
15831 * elf/tst-unique3lib2.cc (gets): Likewise.
15832 * elf/tst-unique4.cc (gets): Likewise.
15833
b15549e6
UD
158342012-01-24 Ulrich Drepper <drepper@gmail.com>
15835
15836 * include/stdio.h: Add C++ protection. Add gets declarations and
15837 definitions.
15838 * debug/tst-chk1.c: Don't declare gets here.
15839 * stdio-common/tst-gets.c: Likewise.
15840
a037381f
JM
158412012-01-24 Joseph Myers <joseph@codesourcery.com>
15842
15843 * posix/glob: Remove directory.
15844
f1d4aa75
JM
158452012-01-24 Joseph Myers <joseph@codesourcery.com>
15846
15847 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15848
81c0c964
PT
158492012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15850
15851 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15852 of the non-standard EPFNOSUPPORT.
15853
0ea698ae
ST
158542011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15855
15856 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15857 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15858 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15859
d220b117
UD
158602012-01-21 Ulrich Drepper <drepper@gmail.com>
15861
15862 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15863
3e1aa84e
UD
158642012-01-20 Ulrich Drepper <drepper@gmail.com>
15865
15866 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15867 transient errors.
15868 * nscd/grpcache.c (cache_addgr): Likewise.
15869 * nscd/hstcache.c (cache_addhst): Likewise.
15870 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15871 * nscd/pwdcache.c (cache_addpw): Likewise.
15872 * nscd/servicescache.c (cache_addserv): Likewise.
15873
400aa020
UD
158742012-01-16 Ulrich Drepper <drepper@gmail.com>
15875
d77e7869
UD
15876 * malloc/malloc.c: Various cleanups.
15877 * malloc/hooks.c: Likewise.
15878
400aa020
UD
15879 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15880 * stdlib/bug-fmtmsg1.c: New file.
15881
15882 * stdlib/fmtmsg.c (init): Add missing unlock.
15883 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15884
e0a309cf
MP
158852012-01-12 Marek Polacek <polacek@redhat.com>
15886
15887 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15888 and _GNU_SOURCE.
15889
929d11c7
WS
158902012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15891
15892 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15893 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15894 macro to ensure uniqueness of label name.
15895 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15896 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15897
41d0e869
UD
158982012-01-11 Ulrich Drepper <drepper@gmail.com>
15899
0cc5ed3b
UD
15900 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15901
41d0e869
UD
15902 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15903 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15904 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15905 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15906
a47a831a
UD
159072012-01-10 Ulrich Drepper <drepper@gmail.com>
15908
daa891c0
UD
15909 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15910
15911 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15912 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15913 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15914
e58ef0f2
UD
15915 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15916
a47a831a 15917 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
15918 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15919 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 15920 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
15921
15922 * math/bits/math-finite.h: Add ldexp support.
15923
a0bfc9c7
MP
159242012-01-10 Marek Polacek <polacek@redhat.com>
15925
15926 * locale/programs/localedef.h (show_archive_content): Add noreturn
15927 attribute.
15928
d6e97a1d
UD
159292012-01-09 Ulrich Drepper <drepper@gmail.com>
15930
15931 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15932
d5835c26
UD
159332012-01-08 Ulrich Drepper <drepper@gmail.com>
15934
e5f484c6
UD
15935 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15936
d5835c26
UD
15937 * io/Makefile (headers): Add bits/poll2.h.
15938
d1f741e9
WS
159392011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15940
15941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15942 typo #include statement.
15943
ec09c1c4
UD
159442012-01-08 Ulrich Drepper <drepper@gmail.com>
15945
15946 * include/sys/cdefs.h: Define __attribute_alloc_size.
15947 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15948 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15949 * elf/pldd.c: Likewise.
15950 * iconv/iconv_charmap.c: Likewise.
15951 * iconv/iconvconfig.c: Likewise.
15952 * iconv/strtab.c: Likewise.
15953 * locale/programs/locale.c: Likewise.
15954 * locale/programs/localedef.h: Likewise.
15955 * locale/programs/simple-hash.c: Likewise.
15956 * nscd/nscd.h: Likewise.
15957 * nss/makedb.c: Likewise.
15958 * sysdeps/generic/ldconfig.h: Likewise.
15959 * locale/programs/localedef.c: Remove xmalloc prototype.
15960 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15961
20b38e03
PP
159622012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15963
15964 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15965 appropriate.
15966
a0da5fe1
UD
159672012-01-08 Ulrich Drepper <drepper@gmail.com>
15968
1d5a644a 15969 * math/Makefile (tests): Add tst-CMPLX.
669704fd 15970 * math/tst-CMPLX.c: New file.
1d5a644a 15971
8784a6db
UD
15972 * math/complex.h (CMPLXL): Fix typo.
15973
d9a216c0
UD
15974 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15975 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15976 GLIBC_2.16.
15977 * debug/tst-chk1.c: Add poll and ppoll tests.
15978 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15979 * include/sys/poll.h: Add hidden proto for ppoll.
15980 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15981 * sysdeps/mach/hurd/ppoll.c: Likewise.
15982 * io/ppoll.c: Likewise.
15983 * debug/poll_chk.c: New file.
15984 * debug/ppoll_chk.c: New file.
15985 * include/bits/poll2.h: New file.
15986 * io/bits/poll2.h: New file.
15987
ac097f5c
UD
15988 [BZ #1350]
15989 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15990
2119dcfa
UD
15991 * configure.in: static is always set to yes. Remove.
15992 * config.make.in: Don't set build-static.
15993 * Makeconfig: Remove use of build-static.
15994 * dlfcn/Makefile: Likewise.
15995 * elf/Makefile: Likewise.
15996 * math/Makefile: Likewise.
15997 * misc/Makefile: Likewise.
15998 * nptl/Makefile: Likewise.
15999 * sysdeps/mach/hurd/Makefile: Likewise.
16000
121766a9
UD
16001 * configure.in: PWD_P is not used anymore.
16002 * config.make.in: Remove PWD_P entry.
16003
51a1d39c 16004 * configure.in: Remove last remnants of RANLIB.
8720d066 16005 No need to check for signed size_t anymore.
215f4bdc
UD
16006 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16007 and IA-64.
3857022a 16008 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
16009 * aclocal.m4: Likewise.
16010
d3ed7225
UD
16011 * wcsmbs/mbrtoc16.c: Implement using towc function.
16012 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16013 * wcsmbs/wcsmbsload.c: Likewise.
16014 * iconv/gconv_simple.c: Likewise.
16015 * iconv/gconv_int.h: Likewise.
16016 * iconv/gconv_builtin.h: Likewise.
16017 * iconv/iconv_prog.c: Remove CHAR16 handling.
16018
16019 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16020
16021 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16022
a0da5fe1
UD
16023 * configure.in: Remove --with-elf and --enable-bounded options.
16024 Dont set base_machine for ia64. More non-ELF conditions removed.
16025 Remove testing and setting of leading underscore information.
16026 * config.make.in (build-bounded): Set to no.
16027 * config.h.in: Remove NO_UNDERSCORES entry.
16028 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16029 them.
16030 * csu/start.c: Remove !NO_UNDERSCORE code.
16031 * locale/localeinfo.h: Likewise.
16032 * sysdeps/generic/machine-gmon.h: Likewise.
16033 * sysdeps/generic/sysdep.h: Likewise.
16034 * sysdeps/i386/sysdep.h: Likewise.
16035 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16036 * sysdeps/mach/sysdep.h: Likewise.
16037 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16038 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16039 * sysdeps/sh/sysdep.h: Likewise.
16040 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16041 * sysdeps/unix/i386/sysdep.S: Likewise.
16042 * sysdeps/unix/sparc/start.c: Likewise.
16043 * sysdeps/unix/sparc/sysdep.S: Likewise.
16044 * sysdeps/unix/sparc/sysdep.h: Likewise.
16045 * sysdeps/unix/start.c: Likewise.
16046 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16047 * sysdeps/x86_64/sysdep.h: Likewise.
16048
df78418a
UD
160492012-01-07 Ulrich Drepper <drepper@gmail.com>
16050
a784e502
UD
16051 [BZ #13553]
16052 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16053 for non-gcc.
16054 * argp/argp-fmtstream.h: Use const instead __const.
16055 * argp/argp.h: Likewise.
16056 * assert/assert.h: Likewise.
16057 * bits/fenv.h: Likewise.
16058 * bits/sched.h: Likewise.
16059 * bits/sigset.h: Likewise.
16060 * bits/sigthread.h: Likewise.
16061 * catgets/nl_types.h: Likewise.
16062 * conform/data/pthread.h-data: Likewise.
16063 * crypt/crypt-private.h: Likewise.
16064 * crypt/crypt.h: Likewise.
16065 * crypt/crypt_util.c: Likewise.
16066 * ctype/ctype.h: Likewise.
16067 * debug/execinfo.h: Likewise.
16068 * debug/mbsnrtowcs_chk.c: Likewise.
16069 * debug/mbsrtowcs_chk.c: Likewise.
16070 * debug/wcsnrtombs_chk.c: Likewise.
16071 * debug/wcsrtombs_chk.c: Likewise.
16072 * debug/wcstombs_chk.c: Likewise.
16073 * dirent/dirent.h: Likewise.
16074 * dlfcn/dlfcn.h: Likewise.
16075 * elf/neededtest4.c: Likewise.
16076 * grp/grp.h: Likewise.
16077 * gshadow/gshadow.h: Likewise.
16078 * iconv/gconv.h: Likewise.
16079 * iconv/gconv_int.h: Likewise.
16080 * iconv/gconv_simple.c: Likewise.
16081 * iconv/iconv.h: Likewise.
16082 * iconv/loop.c: Likewise.
16083 * iconv/skeleton.c: Likewise.
16084 * include/aio.h: Likewise.
16085 * include/aliases.h: Likewise.
16086 * include/argz.h: Likewise.
16087 * include/arpa/inet.h: Likewise.
16088 * include/assert.h: Likewise.
16089 * include/dirent.h: Likewise.
16090 * include/dlfcn.h: Likewise.
16091 * include/execinfo.h: Likewise.
16092 * include/fcntl.h: Likewise.
16093 * include/fenv.h: Likewise.
16094 * include/glob.h: Likewise.
16095 * include/grp.h: Likewise.
16096 * include/libintl.h: Likewise.
16097 * include/mntent.h: Likewise.
16098 * include/netdb.h: Likewise.
16099 * include/pwd.h: Likewise.
16100 * include/rpc/netdb.h: Likewise.
16101 * include/sched.h: Likewise.
16102 * include/search.h: Likewise.
16103 * include/shadow.h: Likewise.
16104 * include/signal.h: Likewise.
16105 * include/stdio.h: Likewise.
16106 * include/stdlib.h: Likewise.
16107 * include/string.h: Likewise.
16108 * include/sys/socket.h: Likewise.
16109 * include/sys/stat.h: Likewise.
16110 * include/sys/statfs.h: Likewise.
16111 * include/sys/statvfs.h: Likewise.
16112 * include/sys/syslog.h: Likewise.
16113 * include/sys/time.h: Likewise.
16114 * include/sys/uio.h: Likewise.
16115 * include/time.h: Likewise.
16116 * include/unistd.h: Likewise.
16117 * include/utmp.h: Likewise.
16118 * include/wchar.h: Likewise.
16119 * include/wctype.h: Likewise.
16120 * inet/aliases.h: Likewise.
16121 * inet/arpa/inet.h: Likewise.
16122 * inet/netinet/ether.h: Likewise.
16123 * inet/netinet/in.h: Likewise.
16124 * intl/libintl.h: Likewise.
16125 * io/bits/fcntl2.h: Likewise.
16126 * io/fcntl.h: Likewise.
16127 * io/ftw.h: Likewise.
16128 * io/sys/poll.h: Likewise.
16129 * io/sys/stat.h: Likewise.
16130 * io/sys/statfs.h: Likewise.
16131 * io/sys/statvfs.h: Likewise.
16132 * io/utime.h: Likewise.
16133 * libio/bits/stdio.h: Likewise.
16134 * libio/bits/stdio2.h: Likewise.
16135 * libio/libio.h: Likewise.
16136 * libio/libioP.h: Likewise.
16137 * libio/stdio.h: Likewise.
16138 * locale/lc-ctype.c: Likewise.
16139 * locale/locale.h: Likewise.
16140 * login/utmp.h: Likewise.
16141 * malloc/arena.c: Likewise.
16142 * malloc/malloc.c: Likewise.
16143 * malloc/malloc.h: Likewise.
16144 * malloc/mcheck.c: Likewise.
16145 * malloc/mtrace.c: Likewise.
16146 * math/bits/mathcalls.h: Likewise.
16147 * math/fenv.h: Likewise.
16148 * math/math_private.h: Likewise.
16149 * misc/bits/error.h: Likewise.
16150 * misc/bits/syslog.h: Likewise.
16151 * misc/err.h: Likewise.
16152 * misc/error.h: Likewise.
16153 * misc/fstab.h: Likewise.
16154 * misc/mntent.h: Likewise.
16155 * misc/regexp.h: Likewise.
16156 * misc/search.h: Likewise.
16157 * misc/sgtty.h: Likewise.
16158 * misc/sys/mman.h: Likewise.
16159 * misc/sys/syslog.h: Likewise.
16160 * misc/sys/uio.h: Likewise.
16161 * misc/sys/xattr.h: Likewise.
16162 * misc/ttyent.h: Likewise.
16163 * nis/rpcsvc/ypclnt.h: Likewise.
16164 * nss/nss.h: Likewise.
16165 * posix/bits/unistd.h: Likewise.
16166 * posix/fnmatch.h: Likewise.
16167 * posix/glob.h: Likewise.
16168 * posix/sched.h: Likewise.
16169 * posix/spawn.h: Likewise.
16170 * posix/sys/wait.h: Likewise.
16171 * posix/unistd.h: Likewise.
16172 * posix/wordexp.h: Likewise.
16173 * pwd/pwd.h: Likewise.
16174 * resolv/netdb.h: Likewise.
16175 * resource/sys/resource.h: Likewise.
16176 * rt/aio.h: Likewise.
16177 * rt/bits/mqueue2.h: Likewise.
16178 * rt/mqueue.h: Likewise.
16179 * shadow/shadow.h: Likewise.
16180 * signal/signal.h: Likewise.
16181 * socket/send.c: Likewise.
16182 * socket/sendto.c: Likewise.
16183 * socket/sys/socket.h: Likewise.
16184 * stdio-common/printf.h: Likewise.
16185 * stdlib/bits/stdlib.h: Likewise.
16186 * stdlib/fmtmsg.h: Likewise.
16187 * stdlib/monetary.h: Likewise.
16188 * stdlib/stdlib.h: Likewise.
16189 * stdlib/ucontext.h: Likewise.
16190 * streams/stropts.h: Likewise.
16191 * string/argz.h: Likewise.
16192 * string/bits/string2.h: Likewise.
16193 * string/string.h: Likewise.
16194 * string/strings.h: Likewise.
16195 * sunrpc/rpc/auth.h: Likewise.
16196 * sunrpc/rpc/auth_des.h: Likewise.
16197 * sunrpc/rpc/clnt.h: Likewise.
16198 * sunrpc/rpc/netdb.h: Likewise.
16199 * sunrpc/rpc/pmap_clnt.h: Likewise.
16200 * sunrpc/rpc/xdr.h: Likewise.
16201 * sysdeps/generic/inttypes.h: Likewise.
16202 * sysdeps/generic/net/if.h: Likewise.
16203 * sysdeps/generic/sys/swap.h: Likewise.
16204 * sysdeps/gnu/net/if.h: Likewise.
16205 * sysdeps/gnu/utmpx.h: Likewise.
16206 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16207 * sysdeps/i386/i486/bits/string.h: Likewise.
16208 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16209 * sysdeps/s390/bits/string.h: Likewise.
16210 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16211 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16212 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16213 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16214 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16215 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16216 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16217 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16218 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16219 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16220 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16221 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16222 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16223 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16224 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16225 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16226 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16227 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16228 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16229 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16230 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16231 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16232 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16233 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16234 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16235 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16236 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16237 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16238 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16239 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16240 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16241 * sysvipc/sys/ipc.h: Likewise.
16242 * sysvipc/sys/msg.h: Likewise.
16243 * sysvipc/sys/sem.h: Likewise.
16244 * sysvipc/sys/shm.h: Likewise.
16245 * termios/termios.h: Likewise.
16246 * time/sys/time.h: Likewise.
16247 * time/time.h: Likewise.
16248 * wcsmbs/bits/wchar2.h: Likewise.
16249 * wcsmbs/uchar.h: Likewise.
16250 * wcsmbs/wchar.h: Likewise.
16251 * wctype/wctype.h: Likewise.
16252
0269750c
UD
16253 [BZ #13551]
16254 * Makeconfig: Remove all but ELF support including AIX support.
16255 * Makerules: Likewise.
16256 * config.h.in: Likewise.
16257 * config.make.in: Likewise.
16258 * configure: Likewise.
16259 * configure.in: Likewise.
16260 * csu/Makefile: Likewise.
16261 * csu/version.c: Likewise.
16262 * debug/Makefile: Likewise.
16263 * dlfcn/Makefile: Likewise.
16264 * elf/Makefile: Likewise.
16265 * extra-lib.mk: Likewise.
16266 * iconv/Makefile: Likewise.
16267 * include/libc-symbols.h: Likewise.
16268 * include/shlib-compat.h: Likewise.
16269 * resolv/Makefile: Likewise.
16270 * resolv/res_libc.c: Likewise.
16271 * rt/Makefile: Likewise.
16272 * sysdeps/i386/asm-syntax.h: Likewise.
16273 * sysdeps/i386/sysdep.h: Likewise.
16274 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16275 * sysdeps/mach/sysdep.h: Likewise.
16276 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16277 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16278 * sysdeps/s390/asm-syntax.h: Likewise.
16279 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16280 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16281 * sysdeps/sh/sysdep.h: Likewise.
16282 * sysdeps/unix/sparc/sysdep.h: Likewise.
16283 * sysdeps/wordsize-32/divdi3.c: Likewise.
16284 * sysdeps/x86_64/sysdep.h: Likewise.
16285
00bbd29b
UD
16286 * argp/Versions: Remove _argp_unlock_xxx.
16287
16288 [BZ #13559]
16289 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16290 * abilist/libBrokenLocale.abilist: Likewise.
16291 * abilist/libanl.abilist: Likewise.
16292 * abilist/libc.abilist: Likewise.
16293 * abilist/libcrypt.abilist: Likewise.
16294 * abilist/libdl.abilist: Likewise.
16295 * abilist/libm.abilist: Likewise.
16296 * abilist/libnsl.abilist: Likewise.
16297 * abilist/libpthread.abilist: Likewise.
16298 * abilist/libresolv.abilist: Likewise.
16299 * abilist/librt.abilist: Likewise.
16300 * abilist/libthread_db.abilist: Likewise.
16301 * abilist/libutil.abilist: Likewise.
16302 * abilist/libnss_db.abilist: New file.
16303
16304 * scripts/abilist.awk: Add support for indirect functions.
16305
a2693a0e
UD
16306 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16307
3f05895f
UD
16308 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16309
ecb6fb48
UD
16310 * shlib-versions: Remove entries for ports architectures.
16311
664f8cb9
UD
16312 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16313 files in ports.
16314 * elf/stackguard-macros.h: Remove support for IA-64.
16315 * elf/tst-auditmod1.c: Likewise.
16316 * sysdeps/generic/ldsodefs.h: Likewise.
16317
7ae81d88
UD
16318 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16319 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16320 configure files.
16321
bdeba135
UD
16322 [BZ #13552]
16323 * configure.in: Remove --enable-omitfp support.
16324 * FAQ.in: Adjust.
16325 * config.make.in: Likewise.
16326 * Makeconfig: Likewise.
16327 * manual/install.texi: Likewise.
16328
d75a0a62
UD
16329 In case anyone cares, the IA-64 architecture could move to ports.
16330 * sysdeps/ia64/*: Removed.
16331 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 16332 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 16333
dcc9756b
UD
16334 [BZ #13555]
16335 * configure.in: Remove entries for unsupported architectures.
16336
d3761ebc 16337 [BZ #13533]
9954432e
UD
16338 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16339 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16340 routines.
16341 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16342 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16343 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16344 fall back to using wcrtomb.
16345 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16346 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16347 renaming.
16348 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16349 * wcsmbs/tst-c16c32-1.c: New file.
16350
16351 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16352 local variable.
16353
c3a87236
UD
16354 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16355
28926a1b
UD
16356 * elf/tst-unique3.cc: Add explicit declaration of gets.
16357 * elf/tst-unique3lib.cc: Likewise.
16358 * elf/tst-unique3lib2.cc: Likewise.
16359 * elf/tst-unique4.cc: Likewise.
16360
df78418a
UD
16361 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16362
8ecd6b2a
JM
163632012-01-06 Joseph Myers <joseph@codesourcery.com>
16364
16365 [BZ #13566]
16366 * assert/assert.h (static_assert): Don't define for C++.
16367 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16368 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16369
9f115170
UD
163702012-01-03 Ulrich Drepper <drepper@gmail.com>
16371
5e0d0300
UD
16372 * iconv/loop.c (single loop): Fix assertion in storing of
16373 remaining bytes.
16374
9f115170
UD
16375 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16376
81fb02b0
UD
163772012-01-01 Ulrich Drepper <drepper@gmail.com>
16378
16379 * posix/getconf.c: Update copyright year.
16380 * nss/getent.c: Likewise.
a316c1f6 16381 * nss/makedb.c: Likewise.
81fb02b0
UD
16382 * iconv/iconvconfig.c: Likewise.
16383 * iconv/iconv_prog.c: Likewise.
16384 * elf/ldconfig.c: Likewise.
a316c1f6
UD
16385 * elf/pldd.c: Likewise.
16386 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
16387 * catgets/gencat.c: Likewise.
16388 * csu/version.c: Likewise.
16389 * elf/ldd.bash.in: Likewise.
16390 * elf/sprof.c (print_version): Likewise.
16391 * locale/programs/locale.c: Likewise.
16392 * locale/programs/localedef.c: Likewise.
a316c1f6 16393 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
16394 * nscd/nscd.c (print_version): Likewise.
16395 * debug/xtrace.sh: Likewise.
16396 * malloc/memusage.sh: Likewise.
16397 * malloc/mtrace.pl: Likewise.
16398 * debug/catchsegv.sh: Likewise.
16399
2ba92745
JJ
164002011-12-30 Jakub Jelinek <jakub@redhat.com>
16401
16402 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16403 pure attribute.
16404
dadebdae
UD
164052011-12-24 Ulrich Drepper <drepper@gmail.com>
16406
d3761ebc 16407 [BZ #13533]
db6af3eb
UD
16408 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16409 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16410 transformations.
16411 * iconv/gconv_int.h: Likewise.
16412 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16413 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16414 from libc for GLIBC_2.16.
16415 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16416 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16417 * wcsmbs/uchar.h: Really define mbstate_t.
16418 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16419 * wcsmbs/c16rtomb.c: New file.
16420 * wcsmbs/mbrtoc16.c: New file.
16421 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16422 for C/POSIX locale.
16423 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16424 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16425
dadebdae
UD
16426 * wcsmbs/wchar.h: Add missing __restrict.
16427
67371b56
UD
164282011-12-23 Ulrich Drepper <drepper@gmail.com>
16429
74033a25
UD
16430 [BZ #13532]
16431 * time/Makefile (routines): Add timespec_get.
16432 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16433 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16434 timespec for ISO C11.
16435 * time/timespec_get.c: New file.
16436 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16437 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16438
380d7e87
UD
16439 [BZ #13531]
16440 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16441 * stdlib/stdlib.h: Declare aligned_alloc.
16442 * Versions.def: Add GLIBC_2.16 for libc.
16443 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16444
4e9e7a35
UD
16445 [BZ 13527]
16446 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16447 ISO C11.
16448
380d7e87 16449 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
16450 code.
16451
03a71829
UD
16452 [BZ #13528]
16453 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16454
839e283e
UD
16455 [BZ #13529]
16456 * assert/assert.h (static_assert): Define.
16457
ce5294e2 16458 * version.h: Update for 2.16 development version.
90fa7312 16459
8d44e150 16460 [BZ #13526]
d7809905
UD
16461 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16462 _ISOC11_SOURCE.
16463
c0da14cd
UD
16464 * version.h (RELEASE): Bump for 2.15 release.
16465 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16466
530a3249
MP
16467 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16468 Patch by Marek Polacek <mpolacek@redhat.com>.
16469
67371b56
UD
16470 * bits/byteswap.h: Protect long long constants with __extension__.
16471 * sysdeps/i386/bits/byteswap.h: Likewise.
16472 * sysdeps/ia64/bits/byteswap.h: Likewise.
16473 * sysdeps/s390/bits/byteswap.h: Likewise.
16474 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16475
15db4de1
LD
164762011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16477
16478 [BZ #13540]
bbe315ea
LD
16479 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16480 destination buffer.
15db4de1
LD
16481 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16482
2b2596b1
MP
164832011-12-23 Marek Polacek <polacek@redhat.com>
16484
16485 * elf/dl-addr.c (determine_info): Add inline keyword.
16486 * elf/tst-auditmod4b.c (check_avx): Likewise.
16487 * elf/tst-auditmod6b.c (check_avx): Likewise.
16488 * elf/tst-auditmod6c.c (check_avx): Likewise.
16489 * elf/tst-auditmod7b.c (check_avx): Likewise.
16490
70c6c246
UD
164912011-12-23 Ulrich Drepper <drepper@gmail.com>
16492
16493 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16494 !__SSE_MATH__.
16495
c044cf14
LD
164962011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16497
15db4de1 16498 [BZ #13540]
c044cf14
LD
16499 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16500 processing for last bytes.
16501
6b13d9d9
BH
165022011-08-06 Bruno Haible <bruno@clisp.org>
16503
d455f537
BH
16504 [BZ #13061]
16505 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16506 U+0385, not to U+1FEE.
16507
6b13d9d9
BH
16508 [BZ #13062]
16509 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16510 entry for U+00A5 U+0301.
16511
db910efd
UD
165122011-12-22 Ulrich Drepper <drepper@gmail.com>
16513
27deeafc
UD
16514 [BZ #13166]
16515 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16516 buffer for the output is too small.
16517
aed9d171
UD
16518 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16519 optimization.
16520
db910efd
UD
16521 [BZ #13185]
16522 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16523 SSE flags if possible.
16524
2bd779ae
LD
165252011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16526
e7f9dac3 16527 [BZ #13540]
2bd779ae
LD
16528 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16529 processing for last bytes.
16530
154bfc16
JM
165312011-12-22 Joseph Myers <joseph@codesourcery.com>
16532
16533 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16534 (syscall-list-default-options, syscall-list-default-condition)
16535 (syscall-list-includes): Define.
16536 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16537 list of ABIs and options and #if conditions for each ABI. Do not
16538 handle common syscalls between ABIs specially.
16539 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16540 Remove.
16541 (syscall-list-variants, syscall-list-32bit-options)
16542 (syscall-list-32bit-condition, syscall-list-64bit-options)
16543 (syscall-list-64bit-condition): Define.
16544 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16545 (syscall-list-variants, syscall-list-32bit-options)
16546 (syscall-list-32bit-condition, syscall-list-64bit-options)
16547 (syscall-list-64bit-condition): Define.
16548 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16549 Remove.
16550 (syscall-list-variants, syscall-list-32bit-options)
16551 (syscall-list-32bit-condition, syscall-list-64bit-options)
16552 (syscall-list-64bit-condition): Define.
16553 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16554 Remove.
16555 (syscall-list-variants, syscall-list-32bit-options)
16556 (syscall-list-32bit-condition, syscall-list-64bit-options)
16557 (syscall-list-64bit-condition): Define.
16558
21eaf3a5
UD
165592011-12-22 Ulrich Drepper <drepper@gmail.com>
16560
16c6f992
UD
16561 * locale/iso-639.def: Add brx entry.
16562
41043168
UD
16563 [BZ #13328]
16564 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16565 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16566
21eaf3a5
UD
16567 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16568 __feraiseexcept_renamed.
16569
e3a851a2
UD
165702011-12-21 Ulrich Drepper <drepper@gmail.com>
16571
4920765e
UD
16572 [BZ #13538]
16573 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16574 EPOLLET with unsigned values.
16575 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16576 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16577
e3a851a2
UD
16578 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16579 to large cancellation.
16580 * math/s_cacoshf.c: Likewise.
16581 * math/s_cacoshl.c: Likewise.
16582
b27e24b8
RK
165832011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16584
16585 [BZ #13305]
aebefeee 16586 [BZ #12786]
b27e24b8
RK
16587 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16588 * math/s_cacoshf.c: Likewise.
16589 * math/s_cacoshl.c: Likewise.
16590
ee190f67
UD
165912011-12-21 Ulrich Drepper <drepper@gmail.com>
16592
16593 [BZ #13439]
16594 * iconv/gconv.h: Define __GCONV_SWAP.
16595 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16596 * iconvdata/utf-16.c: Likewise.
16597 * iconvdata/utf-32.c: Likewise.
16598
707f25df
AS
165992011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16600
16601 [BZ #13524]
16602 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16603 numerator after shifting it by one limb.
16604
d2daaa1e
RÁE
166052011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16606
16607 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16608 under [__USE_EXTERN_INLINES].
16609
a4647e72
UD
166102011-12-17 Ulrich Drepper <drepper@gmail.com>
16611
16612 [BZ #13446]
16613 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16614
f0b264f1
AZ
166152011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16616
16617 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16618 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16619 optimized code.
16620 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16621 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16622 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16623 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16624 for strncasecmp/strncasecmp_l compilation.
16625 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16626 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16627
8ef4f244
MP
166282011-12-08 Marek Polacek <mpolacek@redhat.com>
16629
16630 [BZ #13484]
16631 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16632 of __asm__.
16633
97ac2654
UD
166342011-12-17 Ulrich Drepper <drepper@gmail.com>
16635
16636 [BZ #13506]
16637 * time/tzfile.c (__tzfile_read): Check values from file header.
16638
91d2a845
WS
166392011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16640
16641 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16642 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16643 * powerpc/powerpc32/dl-start.S: Likewise.
16644 * powerpc/powerpc32/elf/start.S: Likewise.
16645 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16646 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16647 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16648 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16649 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16650 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16651 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16652 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16653 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16654 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16655 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16656 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16657 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16658 * powerpc/powerpc32/memset.S: Likewise.
16659 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16660 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16661 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16662 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16663 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16664 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16665 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16666 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16667 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16668 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16669 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16670 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16671 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16672
a1267ba1
AZ
166732011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16674
16675 * math/libm-test.inc: Added more nearbyint tests.
16676 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16677 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16678 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16679 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16680
ad8ac1bd
RL
166812011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16682
16683 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16684 FD_CLOEXEC.
16685
1d3e4b61
UD
166862011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16687
16688 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16689 Add wcscpy-ssse3 wcscpy-c.
16690 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16691 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16692 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16693 * sysdeps/x86_64/wcschr.S: New file.
16694 * sysdeps/x86_64/wcsrchr.S: New file.
16695 * string/test-strcmp.c: Remove checking of wcscmp function for
16696 wrong alignments.
16697 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16698 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16699 wcsrchr-sse2 wcsrchr-c.
16700 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16701 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16702 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16703 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16704 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16705 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16706 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16707 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16708 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16709 * wcsmbc/wcschr.c (WCSCHR): New macro.
16710
5b330a2d
UD
167112011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16712
16713 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16714 * wcsmbs/test-wcsrchr.c: New file.
16715 * string/test-strrchr.c: Add wcsrchr support.
16716 (WIDE): New macro.
16717 * wcsmbs/test-wcscpy.c: New file.
16718 * string/test-strcpy.c: Add wcscpy support.
16719 (WIDE): New macro.
26428b7c 16720
f039c043
UD
167212011-12-10 Ulrich Drepper <drepper@gmail.com>
16722
16723 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16724 the inner loop.
16725
850fb039
AS
167262011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16727
16728 [BZ #13472]
16729 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16730
4efbd5cb
UD
167312011-12-04 Ulrich Drepper <drepper@gmail.com>
16732
52ff5dd0 16733 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 16734 Minor optimizations.
52ff5dd0 16735
4efbd5cb
UD
16736 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16737 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16738 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16739
8a426e12
UD
167402011-12-03 Ulrich Drepper <drepper@gmail.com>
16741
aff2453d
UD
16742 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16743 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16744 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16745 for gcc to avoid warnings.
16746 * inet/Makefile (tests): Add tst-checks.
16747 * inet/tst-checks.c: New file.
16748
16749 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16750 warning.
16751
16752 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16753 __wmemcmp_sse2.
16754
16755 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16756 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16757
8a426e12
UD
16758 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16759
9bea3473
UD
167602011-12-02 Ulrich Drepper <drepper@gmail.com>
16761
3a965496
UD
16762 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16763 problem.
16764
9bea3473
UD
16765 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16766
f101631b
UD
167672011-11-29 Joseph Myers <joseph@codesourcery.com>
16768
16769 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16770 conditional on GCC version.
16771 (__arch_compare_and_exchange_val_8_acq)
16772 (__arch_compare_and_exchange_val_16_acq)
16773 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16774 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16775 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16776
a98275aa
UD
167772011-12-02 Joseph Myers <joseph@codesourcery.com>
16778
16779 * sysdeps/sh/backtrace.c: New file.
16780
d4cc29a2
AS
167812011-12-02 Andreas Schwab <schwab@redhat.com>
16782
16783 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16784 parenthesis.
16785
6257af2d
AS
167862011-12-01 Andreas Schwab <schwab@redhat.com>
16787
16788 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16789 falling back to utime.
16790
b5f44c1a
AS
167912011-11-30 Andreas Schwab <schwab@redhat.com>
16792
16793 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16794 expectations for float.
16795
f3a6cc0a
AS
167962011-11-29 Andreas Schwab <schwab@redhat.com>
16797
16798 * locale/weight.h (findidx): Add parameter len.
16799 * locale/weightwc.h (findidx): Likewise.
16800 * posix/fnmatch_loop.c (FCT): Adjust caller.
16801 * posix/regcomp.c (build_equiv_class): Likewise.
16802 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16803 * posix/regexec.c (check_node_accept_bytes): Likewise.
16804 * string/strcoll_l.c (STRCOLL): Likewise.
16805 * string/strxfrm_l.c (STRXFRM): Likewise.
16806
9d65ea3a
UD
168072011-11-17 Ulrich Drepper <drepper@gmail.com>
16808
16809 * Makefile.in: Remove CVSOPT handling.
16810 * configure.in: Remove use of AC_REVISION.
16811 * iconvdata/Makefile (distribute): No need to filter out CVS.
16812 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16813 handling.
16814
5583a086
AS
168152011-11-16 Andreas Schwab <schwab@redhat.com>
16816
16817 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16818 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16819 [USE_AS_STRNCASECMP_L]: Likewise.
16820 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16821 NO_TLS_DIRECT_SEG_REFS.
16822 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16823 Fix argument offsets for non-PIC.
16824 [USE_AS_STRNCASECMP_L]: Likewise.
16825 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16826 NO_TLS_DIRECT_SEG_REFS.
16827
d62a8200
UD
168282011-11-15 Ulrich Drepper <drepper@gmail.com>
16829
9d65ea3a 16830 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
16831 O_CLOEXEC.
16832 * locale/loadlocale.c (_nl_load_locale): Likewise.
16833
09f93bd3
AS
168342011-11-15 Andreas Schwab <schwab@redhat.com>
16835
446514f9
AS
16836 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16837 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16838 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16839 (SYSCALL_GETTIME): Set errno on error.
16840
09f93bd3
AS
16841 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16842 count references to noai6ai_cached.
16843
312be3f9
UD
168442011-11-15 Ulrich Drepper <drepper@gmail.com>
16845
16846 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16847
16848 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16849 FD_CLOEXEC for /proc/self/maps.
16850
16851 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16852 FD_CLOEXEC for /proc/meminfo.
16853
16854 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16855 gai.conf.
16856
16857 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16858 FD_CLOEXEC for given file.
16859
16860 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16861
16862 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16863 FD_CLOEXEC for /etc/hosts.
16864 (_gethtent): Likewise.
16865
16866 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16867
16868 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16869 cancellation and set FD_CLOEXEC for /etc/netgroup.
16870
16871 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16872 reading /etc/publickey.
16873
16874 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16875 allow cancellation when reading /etc/group.
16876
16877 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16878 cancellation.
16879 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16880
16881 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16882 when using data file.
16883
16884 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16885
16886 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16887 (write_nis_obj): Use "c" and "e" in fopen.
16888
16889 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16890
16891 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16892
16893 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16894
16895 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16896
16897 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16898 locale.alias.
16899
16900 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16901
16902 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16903
16904 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16905
16906 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16907 file parsing and set FD_CLOEXEC.
16908
82af0fa8
UD
169092011-11-14 Ulrich Drepper <drepper@gmail.com>
16910
16911 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16912
a5fb313c
AS
169132011-11-14 Andreas Schwab <schwab@redhat.com>
16914
16915 * malloc/arena.c (arena_get2): Don't call reused_arena when
16916 _int_new_arena failed.
16917
6abf3465
UD
169182011-11-14 Ulrich Drepper <drepper@gmail.com>
16919
16920 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16921 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16922 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16923 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16924 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16925 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16926 to compile strcasecmp and strncasecmp.
16927 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16928 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16929
16930 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16931
76e3966e
UD
169322011-11-13 Ulrich Drepper <drepper@gmail.com>
16933
16934 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16935 locale-defines.sym to gen-as-const-headers.
16936 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16937 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16938 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16939 to compile strcasecmp and strncasecmp.
16940 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16941 strcasecmp_l and strncasecmp_l.
16942 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16943 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16944 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16945 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16946 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16947 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16948 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16949 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16950 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16951 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16952 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16953
ab26144e
UD
169542011-11-12 Ulrich Drepper <drepper@gmail.com>
16955
7edb22ef
UD
16956 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16957 result of SYSDEP_GETTIME_CPU to retval.
16958 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16959 parameter list to macro. Remove trailing semicolon. Adjust users.
16960
9694fc44
UD
16961 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16962 variable.
16963
8ad89ef8
UD
16964 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16965 mantissa words.
16966 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16967
0c822ef9
UD
16968 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16969 from unused variable.
16970
874e0564
UD
16971 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16972 DWARF definitions.
16973 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16974 for assembling.
16975
3a2edc79
UD
16976 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16977 over namespaces.
16978
f3c2577f
UD
16979 * sunrpc/rpc_prot.c (rejected): Fix case value.
16980
294ce126
UD
16981 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16982 unsigned long long int to avoid warnings in shift.
16983
5e2b63c6
UD
16984 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16985 of use of trans.
16986 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16987 variable tmp.
16988
e7f4b08e
UD
16989 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16990 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16991 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16992
ab26144e
UD
16993 * nis/nis_table.c (nis_list): Use variable of correct type for
16994 result of __follow_path call.
16995
8a6d5255
AZ
169962011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16997
16998 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16999 of math functions ceil, trunc, floor, round, and sqrt, when
17000 avaliable on the platform.
17001 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17002 name clash.
17003 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17004 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17005 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17006
aaddc98c
MP
170072011-10-30 Marek Polacek <mpolacek@redhat.com>
17008
17009 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17010 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17011
95b7042b
RM
170122011-11-11 Roland McGrath <roland@hack.frob.com>
17013
17014 * include/unistd.h: Fix __readlink return type.
17015 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17016
57769839
UD
170172011-11-11 Ulrich Drepper <drepper@gmail.com>
17018
17019 * stdlib/ucontext.h: Undo last change for makecontext.
17020
edc5984d
AS
170212011-11-11 Andreas Schwab <schwab@redhat.com>
17022
98591e58
AS
17023 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17024
edc5984d
AS
17025 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17026 * setjmp/setjmp.h: Mark functions as non-leaf.
17027 * setjmp/bits/setjmp2.h: Likewise.
17028 * stdlib/ucontext.h: Likewise.
17029
77cdc054
AS
170302011-11-10 Andreas Schwab <schwab@redhat.com>
17031
17032 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17033 (reused_arena): Don't check arena limit.
17034 (arena_get2): Atomically check arena limit.
17035
fe72eebd
UD
170362011-11-08 Ulrich Drepper <drepper@gmail.com>
17037
5f078c32
UD
17038 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17039 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17040
fe72eebd
UD
17041 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17042 instructions.
17043
ae1bc2fa
AS
170442011-11-07 Andreas Schwab <schwab@redhat.com>
17045
7583a88d
AS
17046 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17047 handler when locking.
17048
ae1bc2fa
AS
17049 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17050 Fix size of allocated buffer.
17051
10fb0bfa
AS
170522011-11-04 Andreas Schwab <schwab@redhat.com>
17053
998832a4
AS
17054 [BZ #10103]
17055 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17056 declarations for long double functions.
17057 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17058
10fb0bfa
AS
17059 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17060
3d7ba52b
AS
170612011-11-03 Andreas Schwab <schwab@redhat.com>
17062
a9ae54a1
AS
17063 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17064 installed.
17065
3d7ba52b
AS
17066 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17067 is disabled.
17068
bc8db248
ST
170692011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17070
17071 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17072
45b96dd6
AS
170732011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17074
647776f6
AS
17075 * include/alloca.h (stackinfo_alloca_round): Define.
17076 (extend_alloca): Use it.
17077 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17078 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17079 here.
17080
d91a8b93
AS
17081 * scripts/check-local-headers.sh: Ignore libaudit.h.
17082
45b96dd6
AS
17083 * nscd/Makefile (extra-objs): Make recursively expanded.
17084
432d41ce
UD
170852011-11-01 Ulrich Drepper <drepper@gmail.com>
17086
34372fc6
UD
17087 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17088 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17089
fadb59f8
UD
17090 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17091 * posix/tst-rfc3484-2.c: Likewise.
17092 * posix/tst-rfc3484-3.c: Likewise.
17093
78239589
UD
17094 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17095 process_vm_writev.
17096 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17097 process_vm_writev.
17098 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17099 process_vm_writev from libc using GLIBC_2.15 version.
17100
432d41ce
UD
17101 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17102
02f9c6cf
PP
171032011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17104
17105 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17106 stack usage.
17107
3a2c0242
UD
171082011-10-31 Ulrich Drepper <drepper@gmail.com>
17109
f4ec4833
UD
17110 [BZ #13367]
17111 * nss/getent.c (initgroups_keys): Show error message in case no group
17112 names are given.
17113
3a2c0242
UD
17114 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17115 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17116 __bump_nl_timestamp.
17117 * nscd/connections (nscd_init): When host database is served open
17118 netlink socket and request notification about configuration changes.
17119 (main_loop_poll): Track netlink file descriptor and bump timestamp
17120 in case data becomes available.
17121 (main_loop_epoll): Likewise.
17122 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17123 (database_pers_head): Add extra_data fileds.
17124 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17125 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17126 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17127 Adjust caller.
17128 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17129 in6ai data, call __free_in6ai.
17130 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17131 Add -DHAVE_NETLINK.
17132 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17133 interface information. Reuse previous data if netlink timestamp
17134 is not changed.
17135 (__bump_nl_timestamp): New function.
17136 (__free_in6ai): New function.
17137
636064eb
UD
171382011-10-30 Ulrich Drepper <drepper@gmail.com>
17139
17140 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17141 close_not_cancel_no_status here.
17142 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17143
9beb2334
UD
171442011-10-29 Ulrich Drepper <drepper@gmail.com>
17145
6ef76f3b
UD
17146 [BZ #13276]
17147 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17148 return value.
17149
0ffc4f3e 17150 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
17151 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17152 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17153
cb95113e
UD
171542011-07-03 Andreas Jaeger <aj@suse.de>
17155
17156 [BZ #10709]
17157 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17158 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17159 * math/libm-test.inc (sin_test): Add test case.
17160
a1b560ff
UD
171612011-10-29 Ulrich Drepper <drepper@gmail.com>
17162
c9aaface
UD
17163 [BZ #13337]
17164 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17165 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17166
d272e7f1
UD
17167 * elf/chroot_canon.c (chroot_canon): Cleanups.
17168
1bc33071
UD
17169 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17170
1760874d
TJ
17171 [BZ #13335]
17172 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17173 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17174
51d91b18
UD
17175 * string/test-strchr.c: Make usable for strchrnul testing.
17176 * string/test-strchrnul.c: New file.
17177 * string/Makefile (strop-tests): Add strchrnul.
17178
a1b560ff 17179 * po/it.po: Update from translation team.
b611fb81 17180 * po/es.po: Likewise.
a1b560ff 17181
a5b81e1f
UD
171822011-10-28 Ulrich Drepper <drepper@gmail.com>
17183
fd52bc6d
UD
17184 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17185 the three constants needed as parameters. Drop the others.
17186 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17187 __m128i_strloadu_tolower.
52e4b9eb
UD
17188 Create and initialize variable zero and use it in all the places
17189 where _mm_setzero_si128 was used.
fd52bc6d 17190
a5b81e1f
UD
17191 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17192 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17193 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17194 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17195 anymore.
17196 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17197 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17198 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17199 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17200 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17201 __mpranred, __mptan.
17202 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17203 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17204 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17205 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17206 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17207 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17208 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17209 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17210 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17211
b4343346
AS
172122011-10-28 Andreas Schwab <schwab@redhat.com>
17213
0c92d8a8
AS
17214 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17215 redefine if SHARED.
17216 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17217
b4343346
AS
17218 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17219 wide char related routines to wcsmbs subdir.
17220
3871f58f
AS
172212011-10-27 Andreas Schwab <schwab@redhat.com>
17222
17223 [BZ #13344]
17224 * misc/sys/cdefs.h (__THROWNL): Define.
17225 * posix/unistd.h: Use __THREADNL instead of __THREAD
17226 for memory synchronization functions.
17227
94d44d9f
RM
172282011-10-26 Roland McGrath <roland@hack.frob.com>
17229
21b64b15 17230 [BZ #13349]
94d44d9f
RM
17231 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17232 doesn't exist.
17233 * manual/stdio.texi (Obstack Streams): Node removed.
17234
f6ce9294
AS
172352011-10-26 Andreas Schwab <schwab@redhat.com>
17236
80479147
AS
17237 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17238 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17239 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17240
f6ce9294
AS
17241 * math/math_private.h (math_force_eval): Allow non-addressable
17242 arguments.
17243 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17244
618280a1
UD
172452011-10-25 Ulrich Drepper <drepper@gmail.com>
17246
e0016b11
UD
17247 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17248 file is not needed.
17249
17250 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17251 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17252 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17253 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17254 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17255 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17256 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17257 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17258 Add AVX variants.
17259 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17260 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17261 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17262 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17263 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17264 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17265 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17266 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17267 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17268 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17269 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17270 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17271 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17272 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17273 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17274 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17275 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17276 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17277 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17278
17279 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17280 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17281
618280a1
UD
17282 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17283 place. Use VEX encoding when compiling for AVX.
17284
37822576
AS
172852011-10-25 Andreas Schwab <schwab@redhat.com>
17286
1f1e1947
AS
17287 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17288 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17289
37822576
AS
17290 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17291
31ea014d
UD
172922011-10-25 Ulrich Drepper <drepper@gmail.com>
17293
d7826aa1 17294 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 17295 useless if() expression.
d7826aa1
UD
17296 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17297 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17298 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17299 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17300 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17301 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17302 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17303 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17304 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17305 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17306 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17307 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17308 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17309 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17310 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17311 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17312 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17313 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17314 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17315
31ea014d
UD
17316 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17317
16437fec
AS
173182011-10-25 Andreas Schwab <schwab@redhat.com>
17319
17320 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17321 condition.
17322 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17323
31d3cc00
UD
173242011-10-25 Ulrich Drepper <drepper@gmail.com>
17325
17326 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17327 .text section. Avoid duplicate constants.
17328 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17329 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17330 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17331 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17332 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17333 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17334 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17335 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17336 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17337 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17338 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17339 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17340 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17341 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17342 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17343 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17344 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17345 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17346 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17347 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17348 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17349 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17350 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17351 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17352 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17353 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17354 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17355 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17356 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17357 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17358 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17359 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17360 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17361 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17362 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17363 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17364 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17365 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17366 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17367 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17368 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17369 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17370 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17371 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17372 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17373
58985aa9
UD
173742011-10-24 Ulrich Drepper <drepper@gmail.com>
17375
202c9deb
UD
17376 * sysdeps/x86_64/dla.h: Move to ...
17377 * sysdeps/x86_64/fpu/dla.h: ...here.
17378 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17379 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 17380
af968f62
UD
17381 * config.make.in: Add have-mfma4 entry.
17382 * configure.in: Substitute libc_cv_cc_fma4.
17383 * math/Makefile (dbl-only-routines): Add sincostab.
17384 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17385 Use __sincostab not sincos.
17386 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17387 name is a macro.
17388 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17389 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17390 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17391 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17392 using __copysign.
17393 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17394 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17395 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17396 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17397 and __inv.
17398 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17399 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17400 __copysign.
17401 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17402 define aliases when function name is a macro.
17403 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17404 sysdeps/ieee754/dbl-64/sincos.tbl.
17405 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17406 fma4-enabled routines.
17407 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17408 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17409 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17410 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17411 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17412 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17413 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17414 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17415 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17416 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17417 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17418 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17419 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17420 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17421 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17422 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17423 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17424 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17425 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17426 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17427 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17428 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17429 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17430 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17431 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17432 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17433 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17434 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17435 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17436 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17437
58985aa9
UD
17438 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17439 rename.
17440 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17441 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17442 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17443 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17444 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17445 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17446 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17447 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17448
a201fbcf
AS
174492011-10-24 Andreas Schwab <schwab@redhat.com>
17450
17451 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17452
fc2ee42a
LD
174532011-10-23 Ulrich Drepper <drepper@gmail.com>
17454
bb3129bd
UD
17455 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17456
0275fff8
UD
17457 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17458 prediction.
17459 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17460
2fa2ae85
UD
17461 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17462 Remove unused variable magic_bits.
17463 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17464
fc2ee42a
LD
17465 * string/strnlen.c: Define and use STRNLEN macro.
17466 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17467 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17468 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17469 * wcsmbs/wcslen.c: Define and use WCSLEN.
17470 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17471 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17472 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17473 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17474 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17475 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17476 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17477
ce7dd29f
LD
174782011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17479
17480 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17481 strnlen-sse2-no-bsf.
17482 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17483 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17484 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17485 Add strnlen support.
17486 (USE_AS_STRNLEN): New macro.
17487 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17488 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17489 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17490 * sysdeps/x86_64/wcslen.S: New file.
17491
979c70a3
MZ
174922011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17493
17494 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17495 XMM-moves are used for copying on small sizes.
17496
2d09f82f
LD
174972011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17498
17499 * wcsmbs/Makefile (strop-tests): Add wcschr.
17500 * wcsmbs/test-wcschr.c: New file.
17501 * string/test-strchr.c: Update.
17502 Add wcschr support.
17503 (WIDE): New macro.
17504
619fccca
LD
175052011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17506
2d09f82f 17507 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
17508 * wcsmbs/test-wcslen.c: New file.
17509 * string/test-strlen.c: Update.
17510 Add wcslen support.
17511 (WIDE): New macro.
17512
09f699ea
UD
175132011-10-23 Ulrich Drepper <drepper@gmail.com>
17514
17515 * po/it.po: Update from translation team.
17516
95584d3b
LD
175172011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17518
17519 * sysdeps/x86_64/wcscmp.S: Update.
17520 Fix wrong comparison semantics.
17521 wcscmp shall use signed comparison not unsigned.
17522 Don't use substraction to avoid overflow bug.
17523 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17524 * wcsmbc/wcscmp.c: Likewise.
17525 * string/test-strcmp.c: Likewise.
17526 Add new tests to check cases with negative values.
17527
c8b3296b
UD
175282011-10-23 Ulrich Drepper <drepper@gmail.com>
17529
17530 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17531 * sysdeps/x86_64/dla.h: ...here. New file.
17532 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17533 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17534 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17535 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17536 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17537 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17538 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17539 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17540 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17541
246ad57a
AS
175422011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17543
17544 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17545 __ynl_finite aliases.
17546
a1a87169
UD
175472011-10-22 Ulrich Drepper <drepper@gmail.com>
17548
0d355eb7
UD
17549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17550
a1a87169
UD
17551 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17552 define DLA_FMA.
17553 [DLA_FMA] (EMULV): Use DLA_FMA.
17554 [DLA_FMA] (MUL12): Use EMULV.
17555 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17556 that are not needed.
17557 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17558 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17559 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17560 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17561 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17562 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17563 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17564
ee2aafe0
AS
175652011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17566
17567 * math/s_nan.c: Undef __nan.
17568 * math/s_nanf.c: Undef __nanf.
17569 * math/s_nanl.c: Undef __nanl.
17570 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17571 "math_private.h".
17572
bc62c2fb
UD
175732011-10-22 Ulrich Drepper <drepper@gmail.com>
17574
77425c63
UD
17575 * math/s_catan.c: Add branch predictions.
17576 * math/s_catanf.c: Likewise.
17577 * math/s_catanh.c: Likewise.
17578 * math/s_catanhf.c: Likewise.
17579 * math/s_catanhl.c: Likewise.
17580 * math/s_catanl.c: Likewise.
17581 * math/s_cexp.c: Likewise.
17582 * math/s_cexpf.c: Likewise.
17583 * math/s_cexpl.c: Likewise.
17584 * math/s_clog.c: Likewise.
17585 * math/s_clog10.c: Likewise.
17586 * math/s_clog10f.c: Likewise.
17587 * math/s_clog10l.c: Likewise.
17588 * math/s_clogf.c: Likewise.
17589 * math/s_clogl.c: Likewise.
17590 * math/s_csqrt.c: Likewise.
17591 * math/s_csqrtf.c: Likewise.
17592 * math/s_csqrtl.c: Likewise.
17593 * math/s_ctanf.c: Likewise.
17594 * math/s_ctanh.c: Likewise.
17595 * math/s_ctanhf.c: Likewise.
17596 * math/s_ctanhl.c: Likewise.
17597 * math/s_ctanl.c: Likewise.
17598
bc62c2fb
UD
17599 * math/math_private.h: Define __nan, __nanf, __nanl.
17600 * math/s_cacosh.c: Include <math_private.h>.
17601 * math/s_cacoshl.c: Likewise.
17602 * math/s_casinh.c: Likewise.
17603 * math/s_casinhf.c: Likewise.
17604 * math/s_casinhl.c: Likewise.
17605 * math/s_ccos.c: Rely entire on ccosh.
17606 * math/s_ccosf.c: Rely entire on ccoshf.
17607 * math/s_ccosl.c: Rely entirely on ccoshl.
17608 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17609 Remove tests for FE_INVALID.
17610 * math/s_ccoshf.c: Likewise.
17611 * math/s_ccoshl.c: Likewise.
17612 * math/s_csin.c: Likewise.
17613 * math/s_csinf.c: Likewise.
17614 * math/s_csinh.c Likewise.
17615 * math/s_csinhf.c: Likewise.
17616 * math/s_csinhl.c: Likewise.
17617 * math/s_csinl.c: Likewise.
17618 * math/s_ctan.c: Likewise.
17619 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17620 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17621 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17622
8ec250a4
UD
176232011-10-21 Ulrich Drepper <drepper@gmail.com>
17624
c196fed8
UD
17625 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17626 compilation problems.
17627
8ec250a4
UD
17628 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17629 __builtin_expect.
17630
8d4f46c6
UD
176312011-10-20 Ulrich Drepper <drepper@gmail.com>
17632
ed72b654
UD
17633 * sysdeps/i386/configure.in: Test for -mfma4 option.
17634 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17635 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17636 COMMON_CPUID_INDEX_80000001.
17637 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17638 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17639 use it if FMA3 is not supported.
17640 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17641
8d4f46c6
UD
17642 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17643 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17644
d45c60c2
AS
176452011-10-20 Andreas Schwab <schwab@redhat.com>
17646
17647 [BZ #12892]
17648 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17649 it would create a cycle with a link time dependency.
17650
d9a4d2ab
UD
176512011-10-19 Ulrich Drepper <drepper@gmail.com>
17652
855d1560
UD
17653 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17654 instruction.
17655 * string/Makefile (strop-tests): Add rawmemchr.
17656 * string/test-rawmemchr.c: New file.
17657
d9a4d2ab
UD
17658 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17659 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17660 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17661 when compiling str{,n}casecmp and when AVX is available. Hook up
17662 new optimized code in initializers.
17663
8f3b1ffe
AS
176642011-10-19 Andreas Schwab <schwab@redhat.com>
17665
17666 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17667 __feraiseexcept instead of feraiseexcept.
17668
d38f1dba
UD
176692011-10-18 Ulrich Drepper <drepper@gmail.com>
17670
d9a8d0ab
UD
17671 * math/math_private.h: Define defaults for libc_fetestexcept and
17672 libc_feupdateenv.
17673 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17674 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17675 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17676 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17677 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17678 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17679 libc_fetestexcept and libc_feupdateenv.
17680
4855e3dd
UD
17681 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17682 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17683 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17684 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17685 libc_feholdexcept_setround.
17686
581d30e3
UD
17687 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17688 Add s_nearbyint-c and s_nearbyintf-c.
17689 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17690 nearbyintf inlines.
17691 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17692 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17693 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17694 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17695
d38f1dba
UD
17696 * math/math_private.h: Define defaults for libc_fegetround,
17697 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17698 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17699 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17700 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17701 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17702 standard functions.
17703 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17704 Remove comments and hacks for old compiler versions.
17705 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17706 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17707 libc_feholdexceptl.
17708
caa6c9d8
AS
177092011-10-18 Andreas Schwab <schwab@redhat.com>
17710
17711 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
17712 (__feraiseexcept_renamed): Add __NTH.
17713 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
17714 namespace violations.
17715
97c066e6
UD
177162011-10-17 Ulrich Drepper <drepper@gmail.com>
17717
99ce7b04
UD
17718 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17719
1004d182
UD
17720 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17721
228a984d
UD
17722 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17723 recently added interfaces.
17724 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17725
c8553a6a
UD
17726 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17727 about macro parameter expansion.
17728
ed22dcf6
UD
17729 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17730 __NO_MATH_INLINES is defined. Cleanups.
17731
17732 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17733 and __floorf is target has SSE4.1.
17734 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17735 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17736 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17737 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17738
b171c137
UD
17739 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17740 name.
17741 (floorf): Likewise.
17742
97c066e6
UD
17743 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17744
629f62ef
AS
177452011-10-17 Andreas Schwab <schwab@redhat.com>
17746
49a43d80
AS
17747 * misc/sys/cdefs.h: Fix last change.
17748
629f62ef
AS
17749 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17750 database lookup.
17751
e453f6cd
UD
177522011-10-16 Ulrich Drepper <drepper@gmail.com>
17753
aa78043a
UD
17754 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17755
ad0f5cad
UD
17756 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17757 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17758 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17759 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17760 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17761 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17762 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17763 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17764 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17765 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17766 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17767 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17768 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17769 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17770 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17771 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17772 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17773 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17774 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17775 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17776 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17777 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17778
17779 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17780 ceil, ceilf, floor, floorf.
17781
17782 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17783 Perform IRELATIVE relocations last.
17784
e453f6cd
UD
17785 * elf/do-rel.h: Add another parameter nrelative, replacing the
17786 local variable with the same name. Change name of the function
17787 to end in Rel or Rela (uppercase).
17788 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17789 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17790 elf_dynamic_do_##reloc function.
17791
fd5bdc09
UD
177922011-10-15 Ulrich Drepper <drepper@gmail.com>
17793
79b195b5
UD
17794 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17795 is sufficient, at least on modern CPUs.
17796
d4a28569
UD
17797 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17798
b61099b5
UD
17799 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17800 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17801
bcf01e6d
UD
17802 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17803 __expl_finite.
17804 * math/bits/math-finite.h: Add entries for exp.
17805 * math/e_expl.c: Add __*_finite alias.
17806 * sysdeps/i386/fpu/e_exp.S: Likewise.
17807 * sysdeps/i386/fpu/e_expf.S: Likewise.
17808 * sysdeps/i386/fpu/e_expl.c: Likewise.
17809 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17810 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17811 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17812 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17813 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17814 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17815 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17816
ba1a0d59
UD
17817 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17818 is sufficient, at least on modern CPUs.
17819
fd5bdc09
UD
17820 * ctype/ctype-info.c (__ctype_init): Define.
17821 * include/ctype.h (__ctype_init): Declare.
17822 (__ctype_b_loc): The variable is always initialized.
17823 (__ctype_toupper_loc): Likewise.
17824 (__ctype_tolower_loc): Likewise.
17825 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17826 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17827
7872cfb0
AS
178282011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17829
b468825a
AS
17830 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17831
7872cfb0
AS
17832 * configure.in: Also look in $cxxmachine/include for C++ system
17833 headers.
17834
be13f7bf
LD
178352011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17836
17837 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17838 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17839 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17840 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17841 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17842 (USE_AS_WMEMCMP): New macro.
17843 Fixing indents.
17844 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17845 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17846 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17847 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17848 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17849 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17850 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17851 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17852 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17853 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17854 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17855 (USE_AS_WMEMCMP): New macro.
17856 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17857 * sysdeps/string/test-memcmp.c: Update.
17858 Fix simple_wmemcmp.
17859 Add new tests.
17860 * wcsmbs/wmemcmp.c: Update.
17861 (WMEMCMP): New macro.
17862 Fix overflow bug.
17863
556a2007
AJ
178642011-10-12 Andreas Jaeger <aj@suse.de>
17865
17866 [BZ #13268]
17867 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17868
538faaa7
UD
178692011-10-15 Ulrich Drepper <drepper@gmail.com>
17870
ab6737ff
UD
17871 * libio/iofwide.c (do_length): Avoid warning.
17872
538faaa7
UD
17873 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17874
396a21b1
UD
178752011-10-14 Ulrich Drepper <drepper@gmail.com>
17876
cdf2901f
UD
17877 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17878
38ad40ce
UD
17879 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17880 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17881 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17882 * sysdeps/i386/i686/fpu/e_log.S: New file.
17883 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17884 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17885
396a21b1
UD
17886 * ctype/ctype.h: Add support for inlined isXXX functions when
17887 compiling C++ code.
17888
6b1f68c9
AS
178892011-10-14 Andreas Schwab <schwab@redhat.com>
17890
349290c0
AS
17891 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17892
6b1f68c9
AS
17893 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17894
f2282d42
RM
178952011-10-13 Roland McGrath <roland@hack.frob.com>
17896
17897 [BZ #13291]
17898 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17899
5298ffa8
AS
179002011-10-13 Andreas Schwab <schwab@redhat.com>
17901
714fad23
AS
17902 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17903 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17904 feraiseexcept.
17905
81dcc7fb
AS
17906 * sysdeps/x86_64/memrchr.S: Check for zero size.
17907
5298ffa8
AS
17908 * string/stratcliff.c: Add memrchr tests.
17909
951fbcec
LD
179102011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17911
17912 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17913 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17914 rawmemchr-sse2 rawmemchr-sse2-bsf.
17915 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17916 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17917 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17918 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17919 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17920 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17921 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17922 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17923 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17924 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17925 * string/memrchr.c (MEMRCHR): New macro.
17926
0ac5ae23
UD
179272011-10-12 Ulrich Drepper <drepper@gmail.com>
17928
17929 Add integration with gcc's -ffinite-math-only and optimize wrapper
17930 functions in libm.
17931 * Versions.def: Define GLIBC_2.15 version for libm.
17932 * math/Makefile (headers): Add bits/math-finite.h.
17933 * math/bits/math-finite.h: New file.
17934 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17935 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17936 * math/e_acoshl.c: Add __*_finite alias.
17937 * math/e_acosl.c: Likewise.
17938 * math/e_asinl.c: Likewise.
17939 * math/e_atan2l.c: Likewise.
17940 * math/e_atanhl.c: Likewise.
17941 * math/e_coshl.c: Likewise.
17942 * math/e_exp10.c: Likewise.
17943 * math/e_exp10f.c: Likewise.
17944 * math/e_exp10l.c: Likewise.
17945 * math/e_exp2l.c: Likewise.
17946 * math/e_fmodl.c: Likewise.
17947 * math/e_gammal_r.c: Likewise.
17948 * math/e_hypotl.c: Likewise.
17949 * math/e_j0l.c: Likewise.
17950 * math/e_j1l.c: Likewise.
17951 * math/e_jnl.c: Likewise.
17952 * math/e_lgammal_r.c: Likewise.
17953 * math/e_log10l.c: Likewise.
17954 * math/e_log2l.c: Likewise.
17955 * math/e_logl.c: Likewise.
17956 * math/e_powl.c: Likewise.
17957 * math/e_sinhl.c: Likewise.
17958 * math/e_sqrtl.c: Likewise.
17959 * math/e_scalb.c: Completely rewritten and optimized.
17960 * math/e_scalbf.c: Likewise.
17961 * math/e_scalbl.c: Likewise.
17962 * math/w_acos.c: Likewise.
17963 * math/w_acosf.c: Likewise.
17964 * math/w_acosl.c: Likewise.
17965 * math/w_acosh.c: Likewise.
17966 * math/w_acoshf.c: Likewise.
17967 * math/w_acoshl.c: Likewise.
17968 * math/w_asin.c: Likewise.
17969 * math/w_asinf.c: Likewise.
17970 * math/w_asinl.c: Likewise.
17971 * math/w_atan2.c: Likewise.
17972 * math/w_atan2f.c: Likewise.
17973 * math/w_atan2l.c: Likewise.
17974 * math/w_atanh.c: Likewise.
17975 * math/w_atanhf.c: Likewise.
17976 * math/w_atanhl.c: Likewise.
17977 * math/w_exp10.c: Likewise.
17978 * math/w_exp10f.c: Likewise.
17979 * math/w_exp10l.c: Likewise.
17980 * math/w_fmod.c: Likewise.
17981 * math/w_fmodf.c: Likewise.
17982 * math/w_fmodl.c: Likewise.
17983 * math/w_j0.c: Likewise.
17984 * math/w_j0f.c: Likewise.
17985 * math/w_j0l.c: Likewise.
17986 * math/w_j1.c: Likewise.
17987 * math/w_j1f.c: Likewise.
17988 * math/w_j1l.c: Likewise.
17989 * math/w_jn.c: Likewise.
17990 * math/w_jnf.c: Likewise.
17991 * math/w_log.c: Likewise.
17992 * math/w_logf.c: Likewise.
17993 * math/w_logl.c: Likewise.
17994 * math/w_log10.c: Likewise.
17995 * math/w_log10f.c: Likewise.
17996 * math/w_log10l.c: Likewise.
17997 * math/w_log2.c: Likewise.
17998 * math/w_log2f.c: Likewise.
17999 * math/w_log2l.c: Likewise.
18000 * math/w_pow.c: Likewise.
18001 * math/w_powf.c: Likewise.
18002 * math/w_powl.c: Likewise.
18003 * math/w_remainder.c: Likewise.
18004 * math/w_remainderf.c: Likewise.
18005 * math/w_remainderl.c: Likewise.
18006 * math/w_scalb.c: Likewise.
18007 * math/w_scalbf.c: Likewise.
18008 * math/w_scalbl.c: Likewise.
18009 * math/w_sqrt.c: Likewise.
18010 * math/w_sqrtf.c: Likewise.
18011 * math/w_sqrtl.c: Likewise.
18012 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18013 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18014 used.
18015 * math/math_private.h: Declare __kernel_standard_f.
18016 * math/w_cosh.c: Remove cruft and optimize a bit.
18017 * math/w_coshf.c: Likewise.
18018 * math/w_coshl.c: Likewise.
18019 * math/w_exp2.c: Likewise.
18020 * math/w_exp2f.c: Likewise.
18021 * math/w_exp2l.c: Likewise.
18022 * math/w_hypot.c: Likewise.
18023 * math/w_hypotf.c: Likewise.
18024 * math/w_hypotl.c: Likewise.
18025 * math/w_lgamma.c: Likewise.
18026 * math/w_lgamma_r.c: Likewise.
18027 * math/w_lgammaf.c: Likewise.
18028 * math/w_lgammaf_r.c: Likewise.
18029 * math/w_lgammal.c: Likewise.
18030 * math/w_lgammal_r.c: Likewise.
18031 * math/w_sinh.c: Likewise.
18032 * math/w_sinhf.c: Likewise.
18033 * math/w_sinhl.c: Likewise.
18034 * math/w_tgamma.c: Likewise.
18035 * math/w_tgammaf.c: Likewise.
18036 * math/w_tgammal.c: Likewise.
18037 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18038 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18039 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18040 Minor optimizations. Pretty printing. Remove cruft.
18041 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18042 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18043 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18044 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18045 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18046 * sysdeps/i386/fpu/e_asin.S: Likewise.
18047 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18048 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18049 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18050 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18051 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18052 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18053 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18054 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18055 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18056 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18057 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18058 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18059 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18060 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18061 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18062 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18063 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18064 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18065 * sysdeps/i386/fpu/e_log.S: Likewise.
18066 * sysdeps/i386/fpu/e_log10.S: Likewise.
18067 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18068 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18069 * sysdeps/i386/fpu/e_log2.S: Likewise.
18070 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18071 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18072 * sysdeps/i386/fpu/e_logf.S: Likewise.
18073 * sysdeps/i386/fpu/e_logl.S: Likewise.
18074 * sysdeps/i386/fpu/e_pow.S: Likewise.
18075 * sysdeps/i386/fpu/e_powf.S: Likewise.
18076 * sysdeps/i386/fpu/e_powl.S: Likewise.
18077 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18078 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18079 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18080 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18081 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18082 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18083 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18084 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18085 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18086 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18087 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18088 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18089 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18090 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18091 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18092 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18093 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18094 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18095 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18096 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18097 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18098 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18099 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18100 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18101 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18102 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18103 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18104 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18105 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18106 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18107 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18108 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18109 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18110 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18111 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18112 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18113 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18114 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18115 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18116 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18117 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18118 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18119 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18120 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18121 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18122 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18123 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18124 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18125 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18126 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18127 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18128 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18129 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18130 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18131 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18132 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18133 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18134 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18135 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18136 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18137 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18138 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18139 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18140 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18141 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18142 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18143 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18144 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18145 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18146 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18147 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18148 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18149 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18150 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18151 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18152 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18153 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18154 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18155 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18156 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18157 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18158 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18159 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18160 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18161 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18162 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18163 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18164 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18165 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18166 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18167 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18168 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18169 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18170 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18171 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18172 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18173 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18174 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18175 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18176 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18177 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18178 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18179 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18180 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18181 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18182 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18183 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18184 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18185 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18186 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18187 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18188 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18189 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18190 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18191 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18192 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18193 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18194 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18195 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18196 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18197 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18198 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18199 (__isnanf): Likewise.
18200 (__isinf_ns): Likewise.
18201 (__isinf_nsf): Likewise.
18202 (__finite): Likewise.
18203 (__finitef): Likewise.
18204 (__ieee754_sqrt): Define as macro.
18205 (__ieee754_sqrtf): Define as macro.
18206 (__ieee754_sqrtl): Define as macro.
18207 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18208 inlined copy.
18209 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18210 __FINITE_MATH_ONLY__ consistent.
18211 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18212
12cc2fcd
AS
182132011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18214
a843a204
AS
18215 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18216 of rawmemchr.
18217
12cc2fcd
AS
18218 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18219
c853acd5
UD
182202011-10-09 Ulrich Drepper <drepper@gmail.com>
18221
18222 * po/ja.po: Update from translation team.
18223
c658d255
RM
182242011-10-08 Roland McGrath <roland@hack.frob.com>
18225
110946e4
RM
18226 * locale/programs/locarchive.c (prepare_address_space): New function.
18227 (create_archive, enlarge_archive, open_archive): Use it.
18228
50604220
RM
18229 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18230 inside [SHARED], where it is used.
18231
c658d255
RM
18232 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18233
18234 * nss/getent.c (netgroup_keys): Remove unused variable.
18235 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18236
6a621eb7
UD
182372011-10-08 Ulrich Drepper <drepper@gmail.com>
18238
7edb55ce
UD
18239 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18240 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18241 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18242 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18243 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18244 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18245 * math/Makefile (libm-calls): Add s_isinf_ns.
18246 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18247 * math/multc3.c: Likewise.
18248 * math/s_casin.c: Likewise.
18249 * math/s_casinf.c: Likewise.
18250 * math/s_casinl.c: Likewise.
18251 * math/s_ccos.c: Likewise.
18252 * math/s_ccosf.c: Likewise.
18253 * math/s_ccosl.c: Likewise.
18254 * math/s_ctan.c: Likewise.
18255 * math/s_ctanf.c: Likewise.
18256 * math/s_ctanh.c: Likewise.
18257 * math/s_ctanhf.c: Likewise.
18258 * math/s_ctanhl.c: Likewise.
18259 * math/s_ctanl.c: Likewise.
18260 * math/w_fmod.c: Likewise.
18261 * math/w_fmodf.c: Likewise.
18262 * math/w_fmodl.c: Likewise.
18263 * math/w_remainder.c: Likewise.
18264 * math/w_remainderf.c: Likewise.
18265 * math/w_remainderl.c: Likewise.
18266 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18267 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18268 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18269 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18270 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18271 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18272 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18273 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18274
187da0ae
UD
18275 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18276 of the number.
18277 * stdio-common/printf_fphex.c: Likewise.
18278 * stdio-common/printf_size.c: Likewise.
18279
9277c064
UD
18280 * math/e_exp10.c: Include math_private.h using <...> not "...".
18281 * math/e_exp10f.c: Likewise.
18282 * math/e_exp10l.c: Likewise.
18283 * math/e_exp2l.c: Likewise.
18284 * math/e_j0l.c: Likewise.
18285 * math/e_j1l.c: Likewise.
18286 * math/e_jnl.c: Likewise.
18287 * math/e_lgammal_r.c: Likewise.
18288 * math/e_rem_pio2l.c: Likewise.
18289 * math/e_scalb.c: Likewise.
18290 * math/e_scalbf.c: Likewise.
18291 * math/e_scalbl.c: Likewise.
18292 * math/k_cosl.c: Likewise.
18293 * math/k_sinl.c: Likewise.
18294 * math/k_tanl.c: Likewise.
18295 * math/s_cacoshf.c: Likewise.
18296 * math/s_catan.c: Likewise.
18297 * math/s_catanf.c: Likewise.
18298 * math/s_catanh.c: Likewise.
18299 * math/s_catanhf.c: Likewise.
18300 * math/s_catanhl.c: Likewise.
18301 * math/s_catanl.c: Likewise.
18302 * math/s_ccosh.c: Likewise.
18303 * math/s_ccoshf.c: Likewise.
18304 * math/s_ccoshl.c: Likewise.
18305 * math/s_cexp.c: Likewise.
18306 * math/s_cexpf.c: Likewise.
18307 * math/s_cexpl.c: Likewise.
18308 * math/s_clog.c: Likewise.
18309 * math/s_clog10.c: Likewise.
18310 * math/s_clog10f.c: Likewise.
18311 * math/s_clog10l.c: Likewise.
18312 * math/s_clogf.c: Likewise.
18313 * math/s_clogl.c: Likewise.
18314 * math/s_csin.c: Likewise.
18315 * math/s_csinf.c: Likewise.
18316 * math/s_csinh.c: Likewise.
18317 * math/s_csinhf.c: Likewise.
18318 * math/s_csinhl.c: Likewise.
18319 * math/s_csinl.c: Likewise.
18320 * math/s_csqrt.c: Likewise.
18321 * math/s_csqrtf.c: Likewise.
18322 * math/s_csqrtl.c: Likewise.
18323 * math/s_ctan.c: Likewise.
18324 * math/s_ctanf.c: Likewise.
18325 * math/s_ctanh.c: Likewise.
18326 * math/s_ctanhf.c: Likewise.
18327 * math/s_ctanhl.c: Likewise.
18328 * math/s_ctanl.c: Likewise.
18329 * math/s_ldexp.c: Likewise.
18330 * math/s_ldexpf.c: Likewise.
18331 * math/s_ldexpl.c: Likewise.
18332 * math/s_significand.c: Likewise.
18333 * math/s_significandf.c: Likewise.
18334 * math/s_significandl.c: Likewise.
18335 * math/w_acos.c: Likewise.
18336 * math/w_acosf.c: Likewise.
18337 * math/w_acosh.c: Likewise.
18338 * math/w_acoshf.c: Likewise.
18339 * math/w_acoshl.c: Likewise.
18340 * math/w_acosl.c: Likewise.
18341 * math/w_asin.c: Likewise.
18342 * math/w_asinf.c: Likewise.
18343 * math/w_asinl.c: Likewise.
18344 * math/w_atan2.c: Likewise.
18345 * math/w_atan2f.c: Likewise.
18346 * math/w_atan2l.c: Likewise.
18347 * math/w_atanh.c: Likewise.
18348 * math/w_atanhf.c: Likewise.
18349 * math/w_atanhl.c: Likewise.
18350 * math/w_cosh.c: Likewise.
18351 * math/w_coshf.c: Likewise.
18352 * math/w_coshl.c: Likewise.
18353 * math/w_dremf.c: Likewise.
18354 * math/w_exp10.c: Likewise.
18355 * math/w_exp10f.c: Likewise.
18356 * math/w_exp10l.c: Likewise.
18357 * math/w_exp2.c: Likewise.
18358 * math/w_exp2f.c: Likewise.
18359 * math/w_fmod.c: Likewise.
18360 * math/w_fmodf.c: Likewise.
18361 * math/w_fmodl.c: Likewise.
18362 * math/w_hypot.c: Likewise.
18363 * math/w_hypotf.c: Likewise.
18364 * math/w_hypotl.c: Likewise.
18365 * math/w_j0.c: Likewise.
18366 * math/w_j0f.c: Likewise.
18367 * math/w_j0l.c: Likewise.
18368 * math/w_j1.c: Likewise.
18369 * math/w_j1f.c: Likewise.
18370 * math/w_j1l.c: Likewise.
18371 * math/w_jn.c: Likewise.
18372 * math/w_jnf.c: Likewise.
18373 * math/w_jnl.c: Likewise.
18374 * math/w_lgamma.c: Likewise.
18375 * math/w_lgamma_r.c: Likewise.
18376 * math/w_lgammaf.c: Likewise.
18377 * math/w_lgammaf_r.c: Likewise.
18378 * math/w_lgammal.c: Likewise.
18379 * math/w_lgammal_r.c: Likewise.
18380 * math/w_log.c: Likewise.
18381 * math/w_log10.c: Likewise.
18382 * math/w_log10f.c: Likewise.
18383 * math/w_log10l.c: Likewise.
18384 * math/w_log2.c: Likewise.
18385 * math/w_log2f.c: Likewise.
18386 * math/w_log2l.c: Likewise.
18387 * math/w_logf.c: Likewise.
18388 * math/w_logl.c: Likewise.
18389 * math/w_pow.c: Likewise.
18390 * math/w_powf.c: Likewise.
18391 * math/w_powl.c: Likewise.
18392 * math/w_remainder.c: Likewise.
18393 * math/w_remainderf.c: Likewise.
18394 * math/w_remainderl.c: Likewise.
18395 * math/w_scalb.c: Likewise.
18396 * math/w_scalbf.c: Likewise.
18397 * math/w_scalbl.c: Likewise.
18398 * math/w_sinh.c: Likewise.
18399 * math/w_sinhf.c: Likewise.
18400 * math/w_sinhl.c: Likewise.
18401 * math/w_sqrt.c: Likewise.
18402 * math/w_sqrtf.c: Likewise.
18403 * math/w_sqrtl.c: Likewise.
18404 * math/w_tgamma.c: Likewise.
18405 * math/w_tgammaf.c: Likewise.
18406 * math/w_tgammal.c: Likewise.
18407
6a621eb7
UD
18408 * po/ja.po: Update from translation team.
18409
bf582445
AJ
184102011-09-29 Andreas Jaeger <aj@suse.de>
18411
f9efbf3a
AJ
18412 [BZ #13179]
18413 * sunrpc/netname.c (netname2host): Fix logic.
18414
bf582445
AJ
18415 [BZ #6779]
18416 [BZ #6783]
18417 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18418 correctly.
18419 * math/w_remainder.c (__remainder): Likewise.
18420 * math/w_remainderf.c (__remainderf): Likewise.
18421 * math/libm-test.inc (remainder_test): Add test cases.
18422
48693bea
AK
184232011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18424
18425 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18426 sdiv_qrnnd.
18427
42622229
LD
184282011-10-07 Ulrich Drepper <drepper@gmail.com>
18429
18430 * string/test-memcmp.c: Avoid unncessary #defines.
18431 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18432
093ecf92
LD
184332011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18434
18435 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18436 Use new sse2 version for core i3 - i7 as it's faster
18437 than sse42 version.
18438 (bit_Prefer_PMINUB_for_stringop): New.
18439 * sysdeps/x86_64/rawmemchr.S: Update.
18440 Replace with faster SSE2 version.
18441 * sysdeps/x86_64/memrchr.S: New file.
18442 * sysdeps/x86_64/memchr.S: Update.
18443 Replace with faster SSE2 version.
18444
fde56e5c
MP
184452011-09-12 Marek Polacek <mpolacek@redhat.com>
18446
18447 * elf/dl-load.c (lose): Add cast to avoid warning.
18448
21fd49a9
UD
184492011-10-07 Ulrich Drepper <drepper@gmail.com>
18450
5a06e643
UD
18451 * po/ca.po: Update from translation team.
18452
684ae515
UD
18453 * inet/getnetgrent_r.c: Hook up nscd.
18454 * nscd/Makefile (routines): Add nscd_netgroup.
18455 (nscd-modules): Add netgroupcache.
18456 (CFLAGS-netgroupcache.c): Define.
18457 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18458 (cache_search): Add const to second parameter.
18459 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18460 INNETGR.
18461 (dbs): Add netgrdb entry.
18462 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18463 (verify_persistent_db): Handle netgrdb.
18464 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18465 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18466 GETFDNETGR.
18467 (netgroup_response_header): Define.
18468 (innetgroup_response_header): Define.
18469 (datahead): Add netgroup_response_header and innetgroup_response_header
18470 elements.
18471 * nscd/nscd.conf: Add entries for netgroup cache.
18472 * nscd/nscd.h (dbtype): Add netgrdb.
18473 (_PATH_NSCD_NETGROUP_DB): Define.
18474 (netgroup_iov_disabled): Declare.
18475 (xmalloc, xcalloc, xrealloc): Move declarations here.
18476 (cache_search): Adjust prototype.
18477 Add netgroup-related prototypes.
18478 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18479 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18480 (__nscd_innetgr): Declare.
18481 * nscd/selinux.c (perms): Use access_vector_t as element type and
18482 add netgroup-related initializers.
18483 * nscd/netgroupcache.c: New file.
18484 * nscd/nscd_netgroup.c: New file.
18485 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18486 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18487 For four parameters use innetgr.
18488 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18489 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18490 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18491 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18492
21fd49a9
UD
18493 * nscd/connections.c (register_traced_file): Don't register file
18494 for disabled databases.
18495
054c0457
UD
184962011-10-06 Ulrich Drepper <drepper@gmail.com>
18497
32b63198
UD
18498 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18499
054c0457
UD
18500 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18501 from tree and freeing node.
18502
64031225
JO
185032011-09-25 Jiri Olsa <jolsa@redhat.com>
18504
18505 * nss/nsswitch.c (__nss_database_lookup): Handle
18506 nss_parse_service_list out of memory case.
18507
0490345c
JO
185082011-09-15 Jiri Olsa <jolsa@redhat.com>
18509
18510 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18511 out of memory case.
18512
3a62d00d
AS
185132011-10-04 Andreas Schwab <schwab@redhat.com>
18514
18515 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18516 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18517 pass it down.
18518 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18519 elf_machine_rela, elf_machine_lazy_rel.
18520 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18521 (ELF_DYNAMIC_DO_REL): Likewise.
18522 (ELF_DYNAMIC_DO_RELA): Likewise.
18523 (ELF_DYNAMIC_RELOCATE): Likewise.
18524 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18525 to ELF_DYNAMIC_DO_REL.
18526 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18527 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18528 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18529 elf_machine_rela.
18530 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18531 skip_ifunc, don't call ifunc function if non-zero.
18532 (elf_machine_rela): Likewise.
18533 (elf_machine_lazy_rel): Likewise.
18534 (elf_machine_lazy_rela): Likewise.
18535 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18536 (elf_machine_lazy_rel): Likewise.
18537 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18538 Likewise.
18539 (elf_machine_lazy_rel): Likewise.
18540 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18541 Likewise.
18542 (elf_machine_lazy_rel): Likewise.
18543 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18544 (elf_machine_lazy_rel): Likewise.
18545 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18546 (elf_machine_lazy_rel): Likewise.
18547 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18548 (elf_machine_lazy_rel): Likewise.
18549 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18550 (elf_machine_lazy_rel): Likewise.
18551 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18552 (elf_machine_lazy_rel): Likewise.
18553 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18554 (elf_machine_lazy_rel): Likewise.
18555
68577918
UD
185562011-09-28 Ulrich Drepper <drepper@gmail.com>
18557
18558 * nss/nss_files/files-init.c (_nss_files_init): Use static
18559 initialization for all the *_traced_file variables.
18560
68822d74
AS
185612011-09-28 Andreas Schwab <schwab@redhat.com>
18562
18563 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18564
2056100b
RM
185652011-09-27 Roland McGrath <roland@hack.frob.com>
18566
18567 [BZ #13226]
18568 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18569
32c76b63
AS
185702011-09-27 Andreas Schwab <schwab@redhat.com>
18571
18572 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18573 Reread the line before reparsing it.
18574
bf972c9d
AS
185752011-09-26 Andreas Schwab <schwab@redhat.com>
18576
18577 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18578
e057a1b5
JM
185792011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18580 Maxim Kuvyrkov <maxim@codesourcery.com>
18581 Joseph Myers <joseph@codesourcery.com>
18582
18583 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18584 if needed for __stack_chk_guard.
18585
bc7e1c36
RM
185862011-09-19 Roland McGrath <roland@hack.frob.com>
18587
ecb1482f
RM
18588 * sysdeps/posix/spawni.c (script_execute): Always define it.
18589 It will be optimized away if unused.
18590 (maybe_script_execute): New function.
18591 (__spawni): Call it.
18592
bc7e1c36
RM
18593 * Makerules: Don't include tls.make.
18594 (config-tls): Always set to thread.
18595 * tls.make.c: File removed.
18596
1c3b002b
MF
185972011-09-19 Mike Frysinger <vapier@gentoo.org>
18598
18599 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18600 * config.make.in (CPPFLAGS-config): New substituted variable.
18601
2840865d
UD
186022011-09-15 Ulrich Drepper <drepper@gmail.com>
18603
88738eb6
UD
18604 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18605
cbf645a6 18606 [BZ #13192]
2840865d
UD
18607 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18608 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18609
b402e91a
RM
186102011-09-15 Roland McGrath <roland@hack.frob.com>
18611
18612 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18613 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18614 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18615 (CALL_FAIL): Likewise.
18616 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18617 (CALL_FAIL): Macro removed.
18618 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18619
4c1a1f71
UD
186202011-09-15 Ulrich Drepper <drepper@gmail.com>
18621
18622 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18623 for __FINITE_MATH_ONLY__ == 1.
18624
edc121be
AS
186252011-09-15 Andreas Schwab <schwab@redhat.com>
18626
18627 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18628 __ieee754_sqrt instead of sqrt.
18629 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18630 __ieee754_sqrtf instead of sqrtf.
18631 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18632 __floorf instead of floorf.
18633 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18634 __floorf, __truncf instead of floorf, truncf.
18635
cd205654
UD
186362011-09-14 Ulrich Drepper <drepper@gmail.com>
18637
ee4d0315
UD
18638 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18639
cd205654
UD
18640 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18641 __extern_always_inline.
18642 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18643 32-bit.
18644
48b67d71
AS
186452011-09-14 Andreas Schwab <schwab@redhat.com>
18646
18647 * elf/rtld.c (dl_main): Also relocate in dependency order when
18648 doing symbol dependency testing.
18649
1ae12c75
AS
186502011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18651
18652 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18653 Always define `refsym'.
18654
995a80df
AS
186552011-09-13 Andreas Schwab <schwab@redhat.com>
18656
e529793b
AS
18657 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18658 (__FD_ELT): Renamed from __FDELT.
18659 * misc/bits/select2.h (__FD_ELT): Likewise.
18660 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18661 __FD_MASK instead of __FDELT, __FDMASK.
18662 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18663 Likewise.
18664 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18665 Likewise.
18666
52d4fef8
AS
18667 * elf/Makefile (gen-ldd): Fix pattern.
18668
995a80df
AS
18669 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18670 (init_tls): Likewise.
18671
8682f8b0
UD
186722011-09-12 Ulrich Drepper <drepper@gmail.com>
18673
18674 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18675
de82006d
AS
186762011-09-12 Andreas Schwab <schwab@redhat.com>
18677
a7c8e6a1
AS
18678 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18679 `struct cmsghdr *' instead of `void *'.
18680 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18681 Likewise.
18682
0f31fe77
AS
186832011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18684
18685 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18686 if non-absolute.
18687 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18688 ldd_rewrite_script.
0f31fe77 18689
32b4c839
UD
186902011-09-11 Ulrich Drepper <drepper@gmail.com>
18691
83cd1420
UD
18692 * configure.in: Remove --with-tls option.
18693 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18694 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18695 out in case it is missing.
18696 * sysdeps/ia64/elf/configure.in: Likewise.
18697 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18698 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18699 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18700 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18701 * sysdeps/sh/elf/configure.in: Likewise.
18702 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18703 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18704 * sysdeps/x86_64/elf/configure.in: Likewise.
18705 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18706 * sysdeps/mach/hurd/tls.h: Likewise.
18707
633f745d
UD
18708 [BZ #13067]
18709 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18710
f318beb8
UD
18711 [BZ #13090]
18712 * configure.in: Fix use of AC_INIT.
18713
32b4c839
UD
18714 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18715
3ce1f295
UD
187162011-09-10 Ulrich Drepper <drepper@gmail.com>
18717
bb016596
UD
18718 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18719 __set_errno.
8e58439c
UD
18720 * malloc/hooks.c: Likewise.
18721
aebae053 18722 [BZ #11929]
02d46fc4
UD
18723 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18724 variables statically.
18725 (narenas): Initialize.
18726 (list_lock): Initialize.
bb016596
UD
18727 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18728 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
18729 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18730 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18731 Add initializers to main_arena and mp_.
18732 (malloc_state): Remove pagesize member. Change all users to use
18733 GLRO(dl_pagesize).
18734
18735 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18736 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18737 is always initialized.
18738
22a89187
UD
18739 * malloc/malloc.c: Removed unused configurations and dead code.
18740 * malloc/arena.c: Likewise.
18741 * malloc/hooks.c: Likewise.
02d46fc4 18742 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 18743
d063d164
UD
18744 * include/tls.h: Removed. USE___THREAD must always be defined.
18745 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18746 * elf/dl-libc.c: Likewise.
18747 * elf/dl-tsd.c: Likewise.
18748 * include/errno.h: Likewise.
18749 * include/netdb.h: Likewise.
18750 * include/resolv.h: Likewise.
18751 * inet/herrno-loc.c: Likewise.
18752 * inet/herrno.c: Likewise.
18753 * malloc/arena.c: Likewise.
18754 * malloc/hooks.c: Likewise.
18755 * malloc/malloc.c: Likewise.
18756 * resolv/res-state.c: Likewise.
18757 * resolv/res_libc.c: Likewise.
18758 * sysdeps/i386/dl-machine.h: Likewise.
18759 * sysdeps/ia64/dl-machine.h: Likewise.
18760 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18761 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18762 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18763 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18764 * sysdeps/sh/dl-machine.h: Likewise.
18765 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18766 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18767 * sysdeps/unix/i386/sysdep.S: Likewise.
18768 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18769 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18770 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18771 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18772 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18773 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18774 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18775 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18776 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18777 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18778 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18779 * sysdeps/x86_64/dl-machine.h: Likewise.
18780 * tls.make.c: Likewise.
18781
3ce1f295
UD
18782 * configure.in: Remove --with-__thread option. Make tests for
18783 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18784 tls_model attribute fail if no support is available. Remove
18785 USE_IN_LIBIO.
18786 * Makeconfig: Adjust for dropped configure option. All features are
18787 now mandatory.
18788 * Makerules: Likewise.
18789 * Versions.def: Likewise.
18790 * argp/argp-fmtstream.c: Likewise.
18791 * argp/argp-fmtstream.h: Likewise.
18792 * argp/argp-help.c: Likewise.
18793 * assert/assert.c: Likewise.
18794 * config.h.in: Likewise.
18795 * config.make.in: Likewise.
18796 * configure: Likewise.
18797 * configure.in: Likewise.
18798 * csu/Versions: Likewise.
18799 * csu/init.c: Likewise.
18800 * elf/tst-audit2.c: Likewise.
18801 * elf/tst-tls10.c: Likewise.
18802 * elf/tst-tls10.h: Likewise.
18803 * elf/tst-tls11.c: Likewise.
18804 * elf/tst-tls12.c: Likewise.
18805 * elf/tst-tls14.c: Likewise.
18806 * elf/tst-tlsmod11.c: Likewise.
18807 * elf/tst-tlsmod12.c: Likewise.
18808 * elf/tst-tlsmod13.c: Likewise.
18809 * elf/tst-tlsmod13a.c: Likewise.
18810 * elf/tst-tlsmod14a.c: Likewise.
18811 * elf/tst-tlsmod15b.c: Likewise.
18812 * elf/tst-tlsmod16a.c: Likewise.
18813 * elf/tst-tlsmod16b.c: Likewise.
18814 * elf/tst-tlsmod7.c: Likewise.
18815 * elf/tst-tlsmod8.c: Likewise.
18816 * elf/tst-tlsmod9.c: Likewise.
18817 * gmon/gmon.c: Likewise.
18818 * grp/fgetgrent_r.c: Likewise.
18819 * grp/putgrent.c: Likewise.
18820 * hurd/fopenport.c: Likewise.
18821 * include/libc-symbols.h: Likewise.
18822 * include/tls.h: Likewise.
18823 * intl/gettextP.h: Likewise.
18824 * intl/loadinfo.h: Likewise.
18825 * locale/global-locale.c: Likewise.
18826 * locale/localeinfo.h: Likewise.
18827 * mach/devstream.c: Likewise.
18828 * malloc/arena.c: Likewise.
18829 * malloc/set-freeres.c: Likewise.
18830 * misc/err.c: Likewise.
18831 * misc/getttyent.c: Likewise.
18832 * misc/mntent_r.c: Likewise.
18833 * posix/getopt.c: Likewise.
18834 * posix/wordexp.c: Likewise.
18835 * pwd/fgetpwent_r.c: Likewise.
18836 * resolv/Versions: Likewise.
18837 * resolv/res_hconf.c: Likewise.
18838 * shadow/fgetspent_r.c: Likewise.
18839 * shadow/putspent.c: Likewise.
18840 * stdio-common/printf_fphex.c: Likewise.
18841 * stdio-common/tmpfile.c: Likewise.
18842 * stdlib/abort.c: Likewise.
18843 * stdlib/fmtmsg.c: Likewise.
18844 * sunrpc/auth_unix.c: Likewise.
18845 * sunrpc/clnt_perr.c: Likewise.
18846 * sunrpc/clnt_tcp.c: Likewise.
18847 * sunrpc/clnt_udp.c: Likewise.
18848 * sunrpc/clnt_unix.c: Likewise.
18849 * sunrpc/openchild.c: Likewise.
18850 * sunrpc/svc_simple.c: Likewise.
18851 * sunrpc/svc_tcp.c: Likewise.
18852 * sunrpc/svc_udp.c: Likewise.
18853 * sunrpc/svc_unix.c: Likewise.
18854 * sunrpc/xdr.c: Likewise.
18855 * sunrpc/xdr_array.c: Likewise.
18856 * sunrpc/xdr_rec.c: Likewise.
18857 * sunrpc/xdr_ref.c: Likewise.
18858 * sunrpc/xdr_stdio.c: Likewise.
18859
1248c1c4
PB
188602011-09-09 Ulrich Drepper <drepper@gmail.com>
18861
18862 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18863
188642011-07-03 Andreas Jaeger <aj@suse.de>
18865
18866 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18867 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18868 regenerate with gen-libm-tests.pl.
18869
188702010-05-12 Petr Baudis <pasky@suse.cz>
18871
18872 [BZ #11589]
18873 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18874 around j0() zero points by switching to j1().
18875 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18876 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18877 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18878 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18879
f22e1074
UD
188802011-09-09 Ulrich Drepper <drepper@gmail.com>
18881
f19009c1
UD
18882 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18883 instead of 0.
18884 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18885 instead of 0. .
18886 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18887 Patch in part by Pavel Roskin <proski@gnu.org>.
18888
3f8cc204
UD
18889 [BZ #13138]
18890 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18891 realloc.
18892 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18893 Free memory block if necessary.
18894
f22e1074
UD
18895 [BZ #12847]
18896 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18897 be NULL. Don't lock in this case.
18898
0a2349f9
RM
188992011-09-09 Roland McGrath <roland@hack.frob.com>
18900
18901 * elf/elf.h (ELFOSABI_GNU): New macro.
18902 (ELFOSABI_LINUX): Define to that.
18903
f3cdd467
DZ
189042011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18905
18906 * string/strncat.c (strncat): Undef the symbol in case it has been
18907 defined in bits/string.h.
18908
74718d13
UD
189092011-09-09 Ulrich Drepper <drepper@gmail.com>
18910
633e9e0f
UD
18911 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18912
0a2349f9 18913 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
18914 link map.
18915
f9924780
AJ
189162011-08-17 Andreas Jaeger <aj@suse.de>
18917
18918 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18919
7f5517aa
PP
189202011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18921 Ian Lance Taylor <iant@google.com>
18922
18923 * math/libm-test.inc (lround_test): New testcase.
18924 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18925
762011fe
UD
189262011-09-08 Ulrich Drepper <drepper@gmail.com>
18927
92963737
UD
18928 * Makefile: Remove support for automatic cvs check-ins.
18929 * Makerules: Likewise.
18930 * config.make.in: Likewise.
18931 * configure.in: Likewise.
18932 * intl/Makefile: Likewise.
18933 * locale/Makefile: Likewise.
18934 * po/Makefile: Likewise.
18935 * posix/Makefile: Likewise.
18936 * sysdeps/gnu/Makefile: Likewise.
18937 * sysdeps/mach/hurd/Makefile: Likewise.
18938 * sysdeps/sparc/sparc32/Makefile: Likewise.
18939
b0727fd8
JS
18940 [BZ #13118]
18941 * posix/Makefile (bug-regex32-ENV): Define.
18942 Patch by John Stanley <jpsinthemix@verizon.net>.
18943
a0f33f99
UD
18944 * misc/Makefile (headers): Add bits/select2.h.
18945 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18946 * misc/bits/select2.h: New file.
18947 * include/bits/select2.h: New file.
18948 * debug/Makefile (routines): Add fdelt_chk.
18949 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18950 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18951 FD_ISSET.
18952 * debug/fdelt_chk.c: New file.
18953
762011fe
UD
18954 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18955 * wcsmbs/test-wmemcmp.c: Likewise.
18956 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 18957 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
18958
189592011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18960
18961 * string/Makefile (strop-tests): Add memcmp.
18962 * string/test-wmemcmp.c: New file.
18963 * string/test-memcmp.c: Add wmemcmp support.
18964
7f513ec8
RM
189652011-09-08 Roland McGrath <roland@hack.frob.com>
18966
0442afb4
RM
18967 [BZ #13153]
18968 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18969 2011-07-19 change.
18970
7f513ec8
RM
18971 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18972 garbage value in a __mach_port_mod_refs call in the cases of the
18973 task-self and thread-self ports.
18974
a12b2239
ST
189752011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18976
18977 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18978
610f9ab4
AS
189792011-09-08 Andreas Schwab <schwab@redhat.com>
18980
7f513ec8 18981 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 18982
48882a1a
LD
189832011-09-07 Ulrich Drepper <drepper@gmail.com>
18984
b49865be
UD
18985 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18986
fdc86bc9
UD
18987 * elf/dl-libc.c (dlerror_run): Pass back error code from
18988 dl_catch_error.
18989
c966526a
UD
18990 [BZ #13123]
18991 * elf/dl-load.c (lose): Free l_origin if it is valid.
18992
48882a1a
LD
18993 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18994 names.
18995 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18996 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18997 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18998 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18999 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19000 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19001
77a2a8b4
AZ
190022011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19003
19004 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19005 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19006 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19007 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19008 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19009 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19010 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19011 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19012 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19013 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19014
24f579d8
AM
190152011-08-15 Alan Modra <amodra@gmail.com>
19016
19017 [BZ #13092]
19018 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19019 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19020 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19021 ppc_mcount to static-only-routines.
19022 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19023 __mcount_internal.
19024 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19025 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19026
3d4837df
UD
190272011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19028
19029 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19030 for finite and infinity parameters.
19031
22700377
WS
190322011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19033
19034 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19035 and add nop instructions for throughput optimization.
19036 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19037
5025581e
WS
190382011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19039
19040 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19041 aligned copy for power7 with vector-scalar instructions.
19042 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19043
08a300c9
L
190442011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19045
19046 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19047 AVX check.
19048
59178ef9
AS
190492011-09-07 Andreas Schwab <schwab@redhat.com>
19050
19051 [BZ #13144]
19052 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19053 last change.
19054
e38ba7ab
UD
190552011-09-07 Ulrich Drepper <drepper@gmail.com>
19056
19057 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19058 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19059 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19060 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19061 clock_gettime.
19062
d53a73ac
UD
190632011-09-06 Ulrich Drepper <drepper@gmail.com>
19064
fc8bffcc
UD
19065 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19066 Forgot to demangle the pointer.
19067
ceaa0c5d
UD
19068 * sysdeps/i386/sysdep.h: Define atom_text_section.
19069 * sysdeps/x86_64/sysdep.h: Likewise.
19070 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19071 section with atom_text_section.
19072 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19073 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19074 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19075 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19076 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19077
a77d3c17
UD
19078 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19079 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19080 already be defined. Change to take two parameters and don't assign
19081 result to variable. Adjust all users.
19082 Define INTERNAL_GETTIME if not already defined.
19083 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19084 call.
19085 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19086 HAVE_CLOCK_GETTIME_VSYSCALL.
19087 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19088
d53a73ac
UD
19089 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19090 gettimeofday vsyscall, just use time.
19091
a8f84144
AS
190922011-09-06 Andreas Schwab <schwab@redhat.com>
19093
19094 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19095 <errno.h>.
19096
ef606249
UD
190972011-09-06 Ulrich Drepper <drepper@gmail.com>
19098
19099 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19100 syscall on x86-64.
19101 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19102 syscall.
19103 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19104 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19105 syscall if possible.
19106
6585cb60
UD
191072011-09-05 Ulrich Drepper <drepper@gmail.com>
19108
19109 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19110 e_ident. Don't pass to find_mapsXX.
19111 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19112
a5f524e4
LD
191132011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19114
19115 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19116 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19117 * sysdeps/x86_64/multiarch/strchr.S: Update.
19118 Check bit_slow_BSF bit.
19119 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19120 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19121 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19122
554881ef
UD
191232011-09-05 Ulrich Drepper <drepper@gmail.com>
19124
d96de963
UD
19125 [BZ #13134]
19126 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19127 before glibc 2.15.
19128 (tryshell): Define.
19129 (__spawni): Change last parameter to be flag. Test
19130 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19131 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19132 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19133 * posix/spawni.c: Likewise.
19134 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19135 * posix/spawnp.c: Likewise. Change normal version to use
19136 SPAWN_XFLAGS_USE_PATH.
19137 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19138 SPAWN_XFLAGS_TRY_SHELL.
19139
d48e5868
UD
19140 [BZ #13150]
19141 * posix/glob.h: Remove gcc 1.x support.
19142
554881ef
UD
19143 [BZ #13068]
19144 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19145
693fb948
LD
191462011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19147
19148 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19149 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19150 strrchr-sse2-bsf
19151 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19152 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19153 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19154 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19155 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19156 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19157
1b48c537
UD
191582011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19159
49d42c37
UD
19160 * sysdeps/x86_64/wcscmp.S: New file.
19161
1b48c537
UD
19162 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19163 wcscmp-c wcscmp-sse2
19164 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19165 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19166 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19167 * wcsmbs/wcscmp.c: Allow renaming.
19168
15c95c5d
DM
191692011-09-05 David S. Miller <davem@davemloft.net>
19170
19171 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19172 stack slot, rather than the struct return pointer slot.
19173 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19174 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19176 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19177
2f0ad8f3
UD
191782011-09-05 Ulrich Drepper <drepper@gmail.com>
19179
d88ae418
UD
19180 * po/ja.po: Update from translation team.
19181
2f0ad8f3
UD
19182 [BZ #13144]
19183 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19184 kernel in 64-bit binaries.
19185
5f4318d1
DM
191862011-09-01 David S. Miller <davem@davemloft.net>
19187
19188 * elf/elf.h (HWCAP_SPARC_*): Move to..
19189 * sysdeps/sparc/sysdep.h: this new file and add new values.
19190 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19191 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19192 _DL_HWCAP_COUNT to 24.
19193 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19194 entries.
19195 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19196 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19197 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19198 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19199 instead of magic constants.
19200 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19201
3ba57516
DM
192022011-08-31 David S. Miller <davem@davemloft.net>
19203
19204 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19205 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19206 Reimplement to do errno handling inline.
19207 (SYSCALL_ERROR_HANDLER): New macro.
19208 (__SYSCALL_STRING): Do not do errno handling in asm.
19209 (__CLONE_SYSCALL_STRING): Delete.
19210 (__INTERNAL_SYSCALL_STRING): Delete.
19211 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19212 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19213 (PSEUDO): Reimplement to do errno handling inline.
19214 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19215 (SYSCALL_ERROR_HANDLER): New macro.
19216 (__SYSCALL_STRING): Do not do errno handling in asm.
19217 (__CLONE_SYSCALL_STRING): Delete.
19218 (__INTERNAL_SYSCALL_STRING): Delete.
19219 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19220 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19221 i386.
19222 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19223 (inline_syscall*): Add 'err' argument.
19224 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19225 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19226 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19227 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19228
19229 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19230 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19231
2bc17433
AS
192322011-08-30 Andreas Schwab <schwab@redhat.com>
19233
19234 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19235
fbeb5f4d
JO
192362011-08-29 Jiri Olsa <jolsa@redhat.com>
19237
19238 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19239 directive.
19240
ad69cc26
DM
192412011-08-24 David S. Miller <davem@davemloft.net>
19242
19243 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19244
39dd69df
AS
192452011-08-24 Andreas Schwab <schwab@redhat.com>
19246
19247 * elf/Makefile: Add rules to build and run unload8 test.
19248 * elf/unload8.c: New file.
19249 * elf/unload8mod1.c: New file.
19250 * elf/unload8mod1x.c: New file.
19251 * elf/unload8mod2.c: New file.
19252 * elf/unload8mod3.c: New file.
19253
19254 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19255 it wasn't used.
19256
2c0b250a
DM
192572011-08-23 David S. Miller <davem@davemloft.net>
19258
19259 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19260 subtract stack bias.
19261 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19262 %sp not %fp in calculations.
19263 (_JMPBUF_UNWINDS_ADJ): Likewise.
19264
22044b48
DM
19265 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19266 (aio_suspend): Call it to force an exception region around the
19267 AIO_MISC_WAIT() invocation.
19268
2cae4995
AS
192692011-08-23 Andreas Schwab <schwab@redhat.com>
19270
19271 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19272 backslash.
19273
873a772e
AJ
192742011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19275
19276 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19277 protection macro.
19278 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19279 and <dl-machine.h>.
19280 (Elf64_FuncDesc): Remove.
19281
25ad0df1
DM
192822011-08-22 David S. Miller <davem@davemloft.net>
19283
19284 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19285 sigaltstack check, add missing cfi directives.
19286 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19287 missing cfi directives, and sigaltstack handling.
19288
e888bcbe
AS
192892011-08-16 Andreas Schwab <schwab@redhat.com>
19290
19291 [BZ #11724]
19292 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19293 object is seen twice.
19294 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19295
19296 * elf/Makefile (distribute): Add tst-initorder2.c.
19297 (tests): Add tst-initorder2.
19298 (modules-names): Add tst-initorder2a tst-initorder2b
19299 tst-initorder2c tst-initorder2d. Add rules to build them.
19300 ($(objpfx)tst-initorder2.out): New rule.
19301 * elf/tst-initorder2.c: New file.
19302 * elf/tst-initorder2.exp: New file.
19303
87162f46
AS
193042011-08-22 Andreas Schwab <schwab@redhat.com>
19305
70538b7f
AS
19306 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19307
f55ffe58
AS
19308 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19309 dependencies back to end of function.
19310
87162f46
AS
19311 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19312 $(elfobjdir)/ld.so.
19313
91b392a4
UD
193142011-08-21 Ulrich Drepper <drepper@gmail.com>
19315
19316 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19317 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19318 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19319 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19320 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19321 of __vdso_gettimeofday.
19322 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19323 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19324 attribute_hidden.
19325 (_libc_vdso_platform_setup): Remove initialization of
19326 __vdso_gettimeofday and __vdso_time.
19327
5c43483f
UD
193282011-08-20 Ulrich Drepper <drepper@gmail.com>
19329
775a77e7
UD
19330 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19331 and fgetc_unlocked.
19332 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19333 getc_unlocked.
89f447ed 19334
49c74ba9
UD
19335 * elf/dl-open.c (add_to_global): Report additions to the global scope
19336 for LD_DEBUG=scopes.
19337 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 19338 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 19339
5c43483f
UD
19340 [BZ #13114]
19341 * stdio-common/Makefile (tests): Add bug24.
19342 * stdio-common/bug24.c: New file.
19343
a101b025
AJ
193442011-08-19 Andreas Jaeger <aj@suse.de>
19345
19346 [BZ #13114]
19347 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19348 non-existant file when using close-on-exec mode.
19349
c88f1766
UD
193502011-08-20 Ulrich Drepper <drepper@gmail.com>
19351
0276a718
UD
19352 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19353 the very first instruction.
19354
c88f1766
UD
19355 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19356 the CFI state in the end.
19357 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19358 inclusion of dl-trampoline.h.
19359 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19360
51ccffa0
AS
193612011-08-19 Andreas Schwab <schwab@redhat.com>
19362
94d7165f
AS
19363 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19364 expectations for long double.
19365
51ccffa0
AS
19366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19367 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19368
fd708658 193692011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
19370
19371 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19372 artificual limit depends upon the system page size.
19373
44f0a71e
UD
193742011-08-17 Ulrich Drepper <drepper@gmail.com>
19375
19376 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19377 * resolv/Makefile: Define CFLAGS-libresolv.
19378
8de79a24
AS
193792011-08-17 Andreas Schwab <schwab@redhat.com>
19380
19381 * nss/makedb.c (compute_tables): Make variables used in nested
19382 function static.
19383
27724598
UD
193842011-08-17 Ulrich Drepper <drepper@gmail.com>
19385
c5305d88
UD
19386 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19387 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19388 if buffer was too small.
19389
27724598
UD
19390 * elf/pldd.c (main): Attach to all threads in the process.
19391 Rewrite /proc handling to use *at functions.
19392
076fe015
UD
193932011-08-16 Ulrich Drepper <drepper@gmail.com>
19394
174baab3
UD
19395 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19396 specifies first scope to show.
19397 (dl_open_worker): Update callers. Move printing scope of new
19398 object to before the relocation.
44f0a71e 19399 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
19400 * sysdeps/generic/ldsodefs.h: Update declaration.
19401
076fe015
UD
19402 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19403 string for the scope number.
19404
a60df2c3
UD
194052011-08-14 Ulrich Drepper <drepper@gmail.com>
19406
19407 * nscd/servicescache.c (cache_addserv): Make sure written is always
19408 initialized.
19409
5e4287d1
RM
194102011-08-14 Roland McGrath <roland@hack.frob.com>
19411
85ae0589
RM
19412 * sysdeps/i386/i486/bits/atomic.h
19413 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19414 statement expression, so as to suppress "set but not used" warning.
19415 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19416
69f63097
RM
19417 * string/strncat.c (STRNCAT): Use prototype definition.
19418
675456ef
RM
19419 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19420 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19421 -Iprograms here.
19422 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19423 (localedef-modules): Add localedef.
19424 (locale-modules): Add locale.
19425
5e4287d1
RM
19426 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19427 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19428 to avoid a warning.
19429
9c96ff23
DM
194302011-08-14 David S. Miller <davem@davemloft.net>
19431
19432 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19433 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19434
f9ddf089
UD
194352011-08-13 Ulrich Drepper <drepper@gmail.com>
19436
44f0a71e 19437 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
19438 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19439 * elf/rtld.c (dl_main): Set l_name of vDSO.
19440 Call _dl_show_scope when DL_DEBUG_SCOPES.
19441 (process_dl_debug): Recognize scopes flag and also set it for all.
19442 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19443 Declare _dl_show_scope.
19444
1dc27704
UD
19445 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19446 (do_dlopen): Pass caller_dlopen to dl_open.
19447 (__libc_dlopen_mode): Initialize caller_dlopen.
19448
f9ddf089
UD
19449 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19450 of libc. Make tolower call locale-independent. Optimize a bit by
19451 using isdigit instead of isalnum.
19452 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19453
9ac533d3
UD
194542011-08-12 Ulrich Drepper <drepper@gmail.com>
19455
19456 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19457 was a dependency or dynamically loaded.
19458
89edf2e9
UD
194592011-08-11 Ulrich Drepper <drepper@gmail.com>
19460
8e999d29
UD
19461 * intl/l10nflist.c: Allow architecture-specific pop function.
19462 * sysdeps/x86_64/l10nflist.c: New file.
19463
89edf2e9
UD
19464 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19465 classification.
19466
14d96785
AS
194672011-08-10 Andreas Schwab <schwab@redhat.com>
19468
19469 * include/dirent.h: Add libc_hidden_proto for scandirat and
19470 scandirat64. Don't declare __scandirat64.
19471 * dirent/scandirat.c: Add libc_hidden_def.
19472 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19473 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19474
6761ac04
DM
194752011-08-10 David S. Miller <davem@davemloft.net>
19476
19477 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19478 enum.
19479 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19480 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19481 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19482
c55fbd1e
UD
194832011-08-09 Ulrich Drepper <drepper@gmail.com>
19484
19485 * Versions.def [libc]: Add GLIBC_2.15.
19486 * dirent/Makefile (routines): Add scandirat and scandirat64.
19487 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19488 GLIBC_2.15.
19489 * dirent/dirent.h: Declare scandirat and scandirat64.
19490 * dirent/scandirat.c: New file.
19491 * dirent/scandirat64.c: New file.
19492 * sysdeps/wordsize-64/scandirat.c: New file.
19493 * sysdeps/wordsize-64/scandirat64.c: New file.
19494 * dirent/opendir.c: Define opendirat.
19495 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19496 using scandirat.
19497 * dirent/scandir64.c: Adjust for scandir.c change.
19498 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19499 __scandirat64, and __scandir_cancel_handler.
19500 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19501 additional parameter and use openat instead of open (outside of ld.so).
19502 Add new __opendir as wrapper around __opendirat.
19503 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19504 here without requiring old scandirat implementation.
19505
879165f2
UD
195062011-08-08 Ulrich Drepper <drepper@gmail.com>
19507
19508 * dirent/scandir.c (cancel_handler): Renamed to
19509 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19510 defined. Adjust users.
19511 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19512 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19513
cb7e923b
UD
195142011-08-04 Ulrich Drepper <drepper@gmail.com>
19515
16292edd
UD
19516 * string/test-string.h (IMPL): Use __STRING to expand name and then
19517 stringify it.
19518
cb7e923b
UD
19519 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19520 of cleanups.
19521
cff82933
LD
195222011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19523
19524 * string/Makefile: Update.
19525 (strop-tests): Append strncat.
19526 * string/test-wcscmp.c: New file.
19527 New comprehensive test for wcscmp.
19528 * string/test-strcmp.c: Update.
19529 (WIDE): New define.
19530
9be9bfcc
AS
195312011-07-22 Andreas Schwab <schwab@redhat.com>
19532
19533 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19534 line.
19535
2e96f1c7
AS
195362011-07-26 Andreas Schwab <schwab@redhat.com>
19537
19538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19539 encoding to ACE if AI_IDN.
19540
85188888
JJ
195412011-08-01 Jakub Jelinek <jakub@redhat.com>
19542
19543 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19544 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19545
5fa16e9b
LD
195462011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19547
19548 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19549 Fix overflow bug in strncat.
19550 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19551
19552 * string/test-strncat.c: Update.
19553 Add new tests for checking overflow bugs.
19554
195552011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19556
19557 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19558 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19559 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19560 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19561 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19562 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19563 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19564 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19565 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19566
19567 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19568 (USE_AS_STRCAT): Define.
19569 Add strcat and strncat support.
19570 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19571
8c1a459f
AS
195722011-07-25 Andreas Schwab <schwab@redhat.com>
19573
19574 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19575 __n bigger than INT_MAX+1.
19576 (__strncmp_g): Likewise.
19577
bba33c28
UD
195782011-07-23 Ulrich Drepper <drepper@gmail.com>
19579
798be72d
UD
19580 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19581 * libio/stido.h: Likewise.
19582
8accd4dc
UD
19583 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19584 (AF_NFC): Define.
19585 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19586 (AF_NFC): Define.
19587
cbff0d96
UD
19588 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19589 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19590 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19591 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19592 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19593
9191c04a
UD
19594 [BZ #13021]
19595 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19596 installed.
19597
bba33c28
UD
19598 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19599 typo.
19600 (_dl_x86_64_save_sse): Likewise.
19601
90f139dd
UD
196022011-07-22 Ulrich Drepper <drepper@gmail.com>
19603
1aae088a
UD
19604 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19605 OSXSAVE.
19606 (_dl_x86_64_save_sse): Likewise.
19607
8e2045f5
UD
19608 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19609
90f139dd
UD
19610 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19611
1d002f25
AS
196122011-07-21 Andreas Schwab <schwab@redhat.com>
19613
19614 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19615 change.
19616 (_dl_x86_64_save_sse): Use correct AVX check.
19617
21137f89
UD
196182011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19619
19620 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19621 bug in strncpy/strncat.
19622 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19623
a65c0b7a
UD
196242011-07-21 Ulrich Drepper <drepper@gmail.com>
19625
19626 * string/tester.c (test_strcat): Add tests for different alignments
19627 of source and destination.
19628 (test_strncat): Likewise.
19629
6986b98a
UD
196302011-07-20 Ulrich Drepper <drepper@gmail.com>
19631
90bb2039
UD
19632 [BZ #12852]
19633 * posix/glob.c (glob): Check passed in values before using them in
19634 expressions to avoid some overflows.
19635 (glob_in_dir): Likewise.
19636
5644ef54
UD
19637 [BZ #13007]
19638 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19639 check for AVX enablement so that we don't crash with old kernels and
19640 new hardware.
19641 * elf/tst-audit4.c: Add same checks here.
19642 * elf/tst-audit6.c: Likewise.
19643
19644 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 19645
bfc9dc9b
AS
196462011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19647
19648 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19649
702e64bb
UD
196502011-07-20 Ulrich Drepper <drepper@gmail.com>
19651
19652 * po/cs.po: Update from translation team.
19653 * po/bg.po: Likewise.
19654
295e904f
MP
196552011-07-12 Marek Polacek <mpolacek@redhat.com>
19656
19657 * misc/sys/cdefs.h: Add support for const attribute.
19658 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19659 to gnu_dev_{major,minor,makedev} functions.
19660
3ff94596
MP
196612011-07-20 Marek Polacek <mpolacek@redhat.com>
19662
19663 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19664
28b59fca
AS
196652011-07-20 Andreas Schwab <schwab@redhat.com>
19666
19667 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19668 strlen results.
19669
19df733e
AK
196702011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19671
19672 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19673 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19674 register in order to avoid conflicts with the soft frame pointer
19675 being held in r11 when necessary.
19676 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19677 (INTERNAL_VSYSCALL_NCS): Likewise.
19678
c8835729
MP
196792011-07-14 Marek Polacek <mpolacek@redhat.com>
19680
19681 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19682 * elf/dl-fini.c (_dl_fini): Adjust caller.
19683 * elf/dl-close.c (_dl_close_worker): Likewise.
19684 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19685
b902330c
MP
196862011-07-15 Marek Polacek <mpolacek@redhat.com>
19687
8991e135
MP
19688 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19689 "aux_cache->nlibs < 0".
19690
b902330c
MP
19691 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19692 in the reload-count case.
19693
99710781
LD
196942011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19695
19696 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19697 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19698 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19699 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19700 * sysdeps/x86_64/multiarch/strcat.S: New file.
19701 * sysdeps/x86_64/multiarch/strncat.S: New file.
19702 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19703 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19704 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19705 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19706 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19707 (USE_AS_STRCAT): Define.
19708 Add strcat and strncat support.
19709 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19710 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19711 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19712 * string/strncat.c: Update.
19713 (USE_AS_STRNCAT): Define.
19714 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19715 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19716 and i7.
19717 * sysdeps/x86_64/multiarch/init-arch.h
19718 (bit_Prefer_PMINUB_for_stringop): New.
19719 (index_Prefer_PMINUB_for_stringop): Likewise.
19720 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19721 bit_Prefer_PMINUB_for_stringop.
19722
7dc6bd90
UD
197232011-07-19 Ulrich Drepper <drepper@gmail.com>
19724
19725 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19726 buffer64.
19727 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19728 of casting of buffer.
19729 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19730 buffer32 and buffer64.
19731 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19732 writes instead of casting of buffer.
19733 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19734 buffer32.
19735 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19736 casting of buffer.
19737
e0e72284
AS
197382011-07-19 Andreas Schwab <schwab@redhat.com>
19739
19740 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19741
feb1eb0b
UD
197422011-07-19 Ulrich Drepper <drepper@gmail.com>
19743
19744 * nscd/nscd.c (termination_handler): Don't do anything for a database
19745 if it has not yet been initialized.
19746
298711ff
UD
197472011-07-18 Ulrich Drepper <drepper@gmail.com>
19748
19749 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19750
197512011-07-15 Marek Polacek <mpolacek@redhat.com>
19752
19753 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19754
f9d68389
UD
197552011-07-18 Ulrich Drepper <drepper@gmail.com>
19756
19757 * po/nl.po: Update from translation team.
19758 * po/sv.po: Likewise.
19759
db290cf5
RM
197602011-07-16 Roland McGrath <roland@hack.frob.com>
19761
19762 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19763 now disallowed by GCC.
5c550700 19764
fd5e21c7
RM
19765 * configure.in (use-default-link): Default to yes if a test -shared
19766 link meets our qualifications.
19767 * configure: Regenerated.
19768
5c550700
RM
19769 * config.make.in (output-format): New variable.
19770 * configure.in: Check for ld --print-output-format support.
19771 * configure: Regenerated.
19772 * Makerules ($(common-objpfx)format.lds)
19773 [$(output-format) != unknown]: Just use $(output-format),
19774 instead of the linker-script munging.
19775
9fa2c032
RM
197762011-07-14 Roland McGrath <roland@hack.frob.com>
19777
a6928d51
RM
19778 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19779 of $(common-objpfx)shlib.lds.
19780 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19781
661607b3
RM
19782 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19783 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19784
9fa2c032
RM
19785 * configure.in (-z relro check): Adjust test code to add a large
19786 writable data section after it.
19787 * configure: Regenerated.
19788
defe9061
RM
197892011-07-11 Roland McGrath <roland@hack.frob.com>
19790
19791 * configure.in (-z relro check): Fix test code to make the variable
19792 truly const.
19793 * configure: Regenerated.
19794
319b9ad4
UD
197952011-07-11 Ulrich Drepper <drepper@gmail.com>
19796
19797 * nscd/nscd.h (struct traced_file): Define.
19798 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19799 elements. Add traced_files.
19800 (inotify_fd): Declare.
19801 (register_traced_file): Declare.
19802 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19803 (inotify_fd): Export.
19804 (resolv_conf_descr): Remove.
19805 (nscd_init): Move inotify descriptor creation to main.
19806 Don't register files for notification here.
19807 (register_traced_file): New function.
19808 (invalidate_cache): Don't use reset_res to determine whether to call
19809 res_init, go through the list of registered files.
19810 (main_loop_poll): The inotify descriptors are now stored in the
19811 structures for the traced files.
19812 (main_loop_epoll): Likewise
19813 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19814 to __nss_disable_nscd.
19815 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19816 for a database anymore. Check the records for all the registered
19817 files instead.
19818 * nss/Makefile (libnss_files-routines): Add files-init.
19819 (libnss_db-routines): Add db-init.
19820 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19821 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19822 * nss/nss_db/db-init.c: New file.
19823 * nss/nss_files/files-init.c: New file.
19824 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19825 __nss_lookup_function.
19826 (__nss_lookup_function): Call nss_load_library.
19827 (nss_load_all_libraries): New function.
19828 (__nss_disable_nscd): Take parameter with callback function for files
19829 to register. Set is_nscd. Load all the DSOs for the NSS modules
19830 used for the cached services.
19831 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19832 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19833 options for features to all the files in nscd.
19834
19835 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19836
23bee3e8
RM
198372011-07-10 Roland McGrath <roland@hack.frob.com>
19838
19839 * csu/elf-init.c (__libc_csu_init): Comment typo.
19840
46a5b7f0
UD
198412011-07-09 Ulrich Drepper <drepper@gmail.com>
19842
19843 * po/pl.po: Update from translation team.
19844 * po/ja.po: Likewise.
19845 * po/ru.po: Likewise.
19846 * po/ko.po: Likewise.
19847 * po/fr.po: Likewise.
19848
d30cf5bb
RM
198492011-07-09 Roland McGrath <roland@hack.frob.com>
19850
113ddea4
RM
19851 * configure.in (.ctors/.dtors header and trailer check):
19852 Use an empirical test on a built program.
19853 * configure: Regenerated.
19854
574920b4
RM
19855 * configure.in (-z relro check): Use an empirical test on a built DSO.
19856 Detect, but do not require, on ia64.
19857 * configure: Regenerated.
19858
d30cf5bb
RM
19859 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19860 Update tests that use readelf to use $READELF instead.
19861 * configure: Regenerated.
19862
8538fdb3
UD
198632011-07-08 Ulrich Drepper <drepper@gmail.com>
19864
19865 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19866 if the result is not used.
19867
04d08991
AJ
198682011-07-05 Andreas Jaeger <aj@suse.de>
19869
19870 [BZ#9696]
19871 * stdlib/tst-strtod.c: Add testcase.
19872
de283087
AD
198732011-07-07 Ulrich Drepper <drepper@gmail.com>
19874
4e5f31c8 19875 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 19876 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
19877 The latter has a higher limit. Take additional parameter to pass to
19878 the new function.
19879 (__pathconf): Pass file to __statfs_link_max.
19880 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19881 __statfs_link_max.
19882 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19883 __statfs_link_max.
19884
de283087
AD
19885 [BZ #12868]
19886 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19887 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19888 Handle Lustre.
19889 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19890 (__statfs_filesize_max): Likewise.
19891 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19892
c75fa153
AJ
198932011-07-05 Andreas Jaeger <aj@suse.de>
19894
19895 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19896
1a544854
UD
198972011-07-06 Marek Polacek <mpolacek@redhat.com>
19898
19899 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19900 `status' variable.
19901 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19902 Likewise.
19903
6f0eec67
UD
199042011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19905
19906 * Makefile (strop-tests): Add strncat.
19907 * string/test-strncat.c: New file.
19908
aae30307
UD
199092011-06-30 Marek Polacek <mpolacek@redhat.com>
19910
19911 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19912
c0cfb5eb
UD
199132011-06-21 Andreas Jaeger <aj@suse.de>
19914
19915 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19916 Copy rule from iconvdata/Makefile.
19917
01636b21
UD
199182011-07-06 Ulrich Drepper <drepper@gmail.com>
19919
19920 [BZ #12922]
19921 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19922 but no long options are defined, just return 'W'.
19923
9895c8bc
UD
199242011-06-22 Marek Polacek <mpolacek@redhat.com>
19925
19926 [BZ #9696]
19927 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19928
5d4cf042
UD
199292011-07-06 Ulrich Drepper <drepper@gmail.com>
19930
19931 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19932 netgroups to read.
960e5535 19933 (innetgr): Likewise.
5d4cf042 19934
751eb97e
RM
199352011-07-05 Roland McGrath <roland@hack.frob.com>
19936
19937 * config.make.in (install_root): Default to $(DESTDIR).
19938
f15f1e45
UD
199392011-07-05 Ulrich Drepper <drepper@gmail.com>
19940
19941 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19942
4e34ac6a
RM
199432011-07-02 Roland McGrath <roland@hack.frob.com>
19944
5e9b6af4
RM
19945 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19946
84f9ea0f
RM
19947 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19948 containing directory rather than embedding absolute directory names.
19949
ea5ee9f7
RM
19950 * scripts/check-local-headers.sh: Rewritten using awk.
19951 Match by word, not by line. Print error messages for matches.
19952 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19953
1b74661a
RM
19954 * Makerules [shlib-lds-flags empty]:
19955 ($(common-objpfx)libc_pic.opts): New target.
19956 ($(common-objpfx)libc_pic.os.clean): New target.
19957 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19958
19959 * config.make.in (OBJCOPY): New variable.
19960 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19961 * configure: Regenerated.
19962
f781ef40
RM
19963 * config.make.in (use-default-link): New variable.
19964 * configure.in (use_default_link): Grok --with-default-link to set it.
19965 * configure: Regenerated.
19966 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19967 (shlib-lds, shlib-lds-flags): Define to empty.
19968
2d4fa81e
RM
19969 * Makerules (shlib-lds): New variable.
19970 (shlib-lds-flags): New variable.
19971 (build-shlib, build-moduile, build-module-asneeded): Use it.
19972 ($(common-objpfx)libc.so): Use $(shlib-lds).
19973 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19974 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19975
31fffa6b
RM
19976 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19977 DT_FLAGS/DT_FLAGS_1 with zero flags.
19978
4e34ac6a
RM
19979 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19980 linker script munging.
19981
fcfc776b
UD
199822011-07-02 Ulrich Drepper <drepper@gmail.com>
19983
19984 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19985 as 128-bit value.
19986 * crypt/sha512.c (sha512_process_block): Perform total addition using
19987 128-bit if possible.
19988 (__sha512_finish_ctx): Likewise.
19989 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19990 as 64-bit value.
19991 * crypt/sha256.c (SWAP64): Define.
19992 (sha256_process_block): Perform total addition using 64-bit if
19993 possible.
19994 (__sha256_finish_ctx): Likewise.
19995
99231d9a
UD
199962011-07-01 Ulrich Drepper <drepper@gmail.com>
19997
19998 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19999 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20000 * nscd/hstcache.c (cache_addhst): Likewise.
20001 * nscd/grpcache.c (cache_addgr): Likewise.
20002 * nscd/aicache.c (addhstaiX): Likewise
20003 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20004
445b4a53
TK
200052011-07-01 Thorsten Kukuk <kukuk@suse.de>
20006
20007 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20008 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20009 * nscd/hstcache.c (cache_addhst): Likewise.
20010 * nscd/grpcache.c (cache_addgr): Likewise.
20011 * nscd/aicache.c (addhstaiX): Likewise
20012
6d4d8e8e
AS
200132011-07-01 Andreas Schwab <schwab@redhat.com>
20014
20015 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20016 domain only when needed.
20017
89f654c5
AS
200182011-06-30 Andreas Schwab <schwab@redhat.com>
20019
20020 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20021 is always restored.
20022
cf3b23ff
UD
200232011-06-29 Ulrich Drepper <drepper@gmail.com>
20024
20025 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20026 are re-adding the entry.
20027 * nscd/servicescache.c (cache_addserv): Likewise.
20028
751626f9
AJ
200292011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20030
20031 * sysdeps/generic/dl-irel.h: fix protection against multiple
20032 inclusions.
20033 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20034
9113ea1f
UD
200352011-06-28 Ulrich Drepper <drepper@gmail.com>
20036
5c0b8d90
UD
20037 [BZ #12935]
20038 * malloc/memusage.sh: Fix quoting in message.
20039 * debug/xtrace.sh: Likewise.
20040
9113ea1f
UD
20041 * configure.in: Remove support for --experimental-malloc option, make
20042 it the default.
20043 * config.make.in: Likewise.
20044 * malloc/Makefile: Likewise.
20045
a4172181
AS
200462011-06-27 Andreas Schwab <schwab@redhat.com>
20047
20048 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20049 two-byte characters.
20050
78a7eee7
RM
200512011-06-27 Roland McGrath <roland@hack.frob.com>
20052
62bede13
RM
20053 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20054 AC_CACHE_CHECK invocation.
20055 * configure: Regenerated.
20056
78a7eee7
RM
20057 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20058
5ce33a62
UD
200592011-06-27 Ulrich Drepper <drepper@gmail.com>
20060
034807a9
UD
20061 [BZ #12350]
20062 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20063 bit from old_res_options.
20064
4902da17
UD
20065 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20066
5ce33a62
UD
20067 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20068 value type for setfct.
20069
c2344f56
L
200702011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20071
20072 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20073 __gettimeofday instead of gettimeofday.
20074
68468076
UD
200752011-06-26 Ulrich Drepper <drepper@gmail.com>
20076
20077 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20078
acb0d739
L
200792011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20080
20081 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20082
20083 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20084 info.
20085
8912479f
L
200862011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20087
20088 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20089 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20090 strcpy-sse2-unaligned strncpy-sse2-unaligned
20091 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20092 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20093 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20094 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20095 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20096 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20097 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20098 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20099 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20100 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20101 (STRCPY): Support SSE2 and SSSE3 versions.
20102
d5495a11
UD
201032011-06-24 Ulrich Drepper <drepper@gmail.com>
20104
20105 [BZ #12874]
20106 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20107 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20108 kernels which artificially limit size of requests.
20109
0b1cbaae
L
201102011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20111
20112 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20113 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20114 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20115 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20116 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20117 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20118 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20119 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20120 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20121 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20122 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20123 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20124 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20125 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20126 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20127 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20128 Enable unaligned load optimization for Intel Core i3, i5 and i7
20129 processors.
20130 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20131 Define.
20132 (index_Fast_Unaligned_Load): Define.
20133 (HAS_FAST_UNALIGNED_LOAD): Define.
20134
07f494a0
MP
201352011-06-23 Marek Polacek <mpolacek@redhat.com>
20136
20137 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20138
fa3fc0fe
UD
201392011-06-22 Ulrich Drepper <drepper@gmail.com>
20140
20141 [BZ #12907]
20142 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20143 until it is clear that the information is realy needed.
20144 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20145
e12df166
AS
201462011-06-22 Andreas Schwab <schwab@redhat.com>
20147
20148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20149
852eb34d
UD
201502011-06-22 Ulrich Drepper <drepper@gmail.com>
20151
84e2a551
UD
20152 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20153 /sys/devices/system/cpu/online if it is usable.
20154
852eb34d
UD
20155 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20156 reading the information from the /proc filesystem to once a second.
20157
6e502e19
UD
201582011-06-21 Andreas Jaeger <aj@suse.de>
20159
20160 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20161 NULL after inclusion of kernel headers.
20162
75d39ff2
UD
201632011-06-21 Ulrich Drepper <drepper@gmail.com>
20164
51f9aa6a
UD
20165 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20166 calls to internal_setent.
20167
c0244a9d
UD
20168 [BZ #12885]
20169 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20170 addresses using gethostbyname4_r ignore IPv4 addresses.
20171
c5e3c2ae
UD
20172 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20173 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20174
75d39ff2
UD
20175 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20176
42675c6f
DM
201772011-06-20 David S. Miller <davem@davemloft.net>
20178
20179 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20180 inclusions.
20181 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20182
20183 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20184 (elf_irel): Use it.
20185 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20186 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20187 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20188 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20189 * sysdeps/x86_64/dl-irel.h: Likewise.
20190
20191 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20192 * elf/dl-sym.c: Likewise.
20193
57912a71
UD
201942011-06-15 Ulrich Drepper <drepper@gmail.com>
20195
20196 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20197 need to dereference resplen2.
20198
ee22793d
AS
201992011-06-14 Andreas Schwab <schwab@redhat.com>
20200
20201 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20202
a9e836b0
UD
202032011-06-15 Ulrich Drepper <drepper@gmail.com>
20204
77fb9117
UD
20205 * Makeconfig: Define vardbdir and inst_vardbdir.
20206 * nss/Makefile: Add rules to install db-Makefile.
20207
40c1b22c
UD
20208 * nss/nss_db/db-XXX.c: Cleanup.
20209
9f2da732
UD
20210 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20211 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20212 GLIBC_PRIVATE.
20213 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20214 * nss/makedb.c: Implement -g option to specify that value strings
20215 are generated and should not be added to table iterated over for
20216 get*ent calls.
20217 * nss/nss_db/db-initgroups.c: New file.
20218
82e9a1f7
UD
20219 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20220 interface.
20221
c41af17e
UD
20222 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20223 (internal_getgrouplist): Adjust to name change.
20224 Update use_initgroups_entry if this is not the first call.
20225 * nss/databases.def: Add initgroups entry.
20226
a9e836b0
UD
20227 * nss/makedb.c (compute_tables): Check result of multiple hash table
20228 sizes to minimize maximum chain length.
20229
2666d441
UD
202302011-06-14 Ulrich Drepper <drepper@gmail.com>
20231
20232 * Versions.def: Add entry for libnss_db.
20233 * shlib-versions: Likewise.
20234 * nss/Makefile: Add rules to build libnss_db.
20235 * nss/Versions: Add libnss_db information. Organize libnss_files
20236 entries better.
20237 * nss/db-Makefile: Add gshadow support. Change rules for the new
20238 makedb progra. Some minor improvements to generate smaller files.
20239 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20240 here from...
20241 * nss/makedb.c: ...here.
20242 Improve database format to be smaller and require less memory at
20243 runtime.
20244 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20245 db anymore.
20246 * nss/nss_db/db-netgrp.c: Likewise.
20247 * nss/nss_db/db-open.c: Likewise.
20248 * nss/nss_files/flies-XXX.x: Adjust comments.
20249 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20250 * nss/nss_files/files-grp.c: Likewise.
20251 * nss/nss_files/files-hosts.c: Likewise.
20252 * nss/nss_files/files-network.c: Likewise.
20253 * nss/nss_files/files-proto.c: Likewise.
20254 * nss/nss_files/files-pwd.c: Likewise.
20255 * nss/nss_files/files-rpc.c: Likewise.
20256 * nss/nss_files/files-service.c: Likewise.
20257 * nss/nss_files/files-sgrp.c: Likewise.
20258 * nss/nss_files/files-spwd.c: Likewise.
20259 * nss/nss_db/db-alias.c: Removed.
20260 * nss/nss_db/dummy-db.h: Removed.
20261
9ee76b5a
UD
202622011-06-02 Ulrich Drepper <drepper@gmail.com>
20263
20264 * nss/makedb.c: Rewritten to not use database library.
20265 * nss/Makefile: Update to build new makedb program.
20266
c71ca1f8
AJ
202672011-06-14 Andreas Jaeger <aj@suse.de>
20268
20269 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20270 memset declaration.
20271
3154bfb8
UD
202722011-06-10 Andreas Schwab <schwab@redhat.com>
20273
20274 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20275 tmpbuf.
20276
b350afab
RM
202772011-06-10 Roland McGrath <roland@hack.frob.com>
20278
decd4e50
RM
20279 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20280 * elf/Makefile ($(objpfx)ld.so): Likewise.
20281
5615eaf2
RM
20282 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20283 Don't list ld.so twice in dependencies.
20284
20285 * posix/bug-regex31.c: Include <stdlib.h>.
20286
20287 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20288
20289 * nis/nss_compat/compat-spwd.c
20290 (getspent_next_nss_netgr): Remove unused variable.
20291 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20292
20293 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20294 nonmembers" output to use the right array.
20295
20296 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20297
20298 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20299
20300 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20301 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20302 * catgets/gencat.c (read_input_file): Likewise.
20303 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20304
20305 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20306 variable definition inside #if's controlling its use.
20307
20308 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20309
20310 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20311
20312 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20313
20314 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20315 unreachable code.
20316
20317 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20318
b68e08db
RM
20319 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20320 * configure: Regenerated.
20321
b350afab
RM
20322 * Makerules: Revert last change.
20323 * elf/Makefile: Likewise.
20324
28368601
RM
203252011-06-09 Roland McGrath <roland@hack.frob.com>
20326
20327 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20328 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20329 (reloc-link): Likewise.
20330
11988f8f
UD
203312011-06-09 Ulrich Drepper <drepper@gmail.com>
20332
20333 * elf/Makefile: Add rules to build pldd.
20334 * elf/pldd.c: New file.
20335 * elf/pldd-xx.c: New file.
20336
e80fab37
UD
203372011-06-07 Ulrich Drepper <drepper@gmail.com>
20338
20339 * version.h: Update for 2.15 development version.
20340
9b849836
DM
203412011-06-07 David S. Miller <davem@davemloft.net>
20342
20343 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20344 ifuncs.
20345 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20346 elf_machine_lazy_rel): Likewise.
20347 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20348 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20349 elf_machine_lazy_rel): Likewise.
20350 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20351 dl_hwcap via passed in argument.
20352 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20353 Likewise.
20354
5a31b283
AK
203552011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20356
20357 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20358
069e52f8
RM
203592011-06-06 Roland McGrath <roland@hack.frob.com>
20360
20361 [BZ #12849]
20362 * manual/fdl-1.1.texi: New file, verbatim from:
20363 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20364 * manual/lgpl-2.1.texi: New file, verbatim from:
20365 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20366 * manual/Makefile (licenses): New variable, list those new file names.
20367 (texis): Use it.
20368 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20369
20370 * manual/fdl.texi: File removed.
20371 * manual/lesser.texi: File removed.
20372 * manual/libc.texinfo (Copying, Documentation License):
20373 Use new @include file names, put @appendix directive before @include.
20374
f16846a5
JJ
203752011-06-04 Jakub Jelinek <jakub@redhat.com>
20376
20377 [BZ #12841]
20378 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20379 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20380 (mq_open): Add __NTH.
20381
3d29045b
L
203822011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20383
20384 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20385 Assume Intel Core i3/i5/i7 processor if AVX is available.
20386
8c297311
UD
203872011-05-31 Ulrich Drepper <drepper@gmail.com>
20388
20389 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20390 typo.
20391
c8fc0c91
UD
203922011-05-31 Andreas Schwab <schwab@redhat.com>
20393
20394 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20395 memory. Use alloca_account. Fix memory leak when retrying.
20396
5b27a807
UD
203972011-05-31 Ulrich Drepper <drepper@gmail.com>
20398
356f8bc6
UD
20399 * version.h (RELEASE): Bump for 2.14 release.
20400 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20401
5b27a807
UD
20402 * config.make.in (RANLIB): Remove entry.
20403
01f16ab0
UD
204042011-05-30 Ulrich Drepper <drepper@gmail.com>
20405
41fce8bd
UD
20406 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20407 (libc.pot): Work around missing support for .ksh extension in xgettext.
20408
4769ae77
UD
20409 [BZ #12684]
20410 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20411 if both request failed.
20412 (send_dg): In case of server errors clear resplen or *resplen2.
20413
6b1e7d19
UD
20414 [BZ #12454]
20415 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20416 when there are multiple maps.
20417 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20418 (_dl_fini): Remove test here.
20419
01f16ab0
UD
20420 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20421
b1ebd700
UD
204222011-05-29 Ulrich Drepper <drepper@gmail.com>
20423
7ae22829
UD
20424 [BZ #12350]
20425 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20426 bit from old_res_options.
20427 (gaih_inet): Likewise.
20428
553149f6 20429 [BZ #11099]
18a84741 20430 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
20431 as signed.
20432
652ffab1
UD
20433 * resolv/res_init.c (res_setoptions): Make the code more compact.
20434
16985fd0
UD
20435 [BZ #11558]
20436 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20437 set RES_USEVC.
20438
0464f746
UD
20439 [BZ #11634]
20440 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20441
7d17596c
UD
20442 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20443
cf6bbbd7
UD
20444 [BZ #11781]
20445 * malloc/malloc.h: Declare malloc hook variables as volatile.
20446
13f1ab36
UD
20447 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20448 in last patch.
20449
b1ebd700
UD
20450 [BZ #11799]
20451 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 20452 raise in the comment.
80e2212d
UD
20453 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20454 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20455 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 20456
ce67228d
UD
204572011-05-28 Ulrich Drepper <drepper@gmail.com>
20458
8887a920
UD
20459 [BZ #12811]
20460 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20461 grow the buffers more if it already has to be sufficient.
20462 (build_wcs_upper_buffer): Likewise.
20463 * posix/regexec.c (check_matching): Likewise.
20464 (clean_state_log_if_needed): Likewise.
20465 (extend_buffers): Don't enlarge buffers beyond size of the input
20466 buffer.
20467 Patches mostly by Emil Wojak <emil@wojak.eu>.
20468 * posix/bug-regex32.c: New file.
20469 * posix/Makefile (tests): Add bug-regex32.
20470
4f031072
UD
20471 * locale/findlocale.c (_nl_find_locale): Return right away if
20472 _nl_explode_name failed.
20473 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20474
d0478f0c
UD
20475 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20476
de81b246
UD
20477 * debug/xtrace.sh: Unify messages.
20478 * malloc/memusage.sh: Likewise.
20479
c738465a
UD
20480 [BZ #12813]
20481 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20482 time symbol from vDSO. Substitute with vsyscall if not available.
20483 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20484 __vdso_time.
20485
f1f929d7
UD
20486 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20487 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20488 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20489 Add sendmmsg and internal_sendmmsg.
20490 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20491 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20492 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20493
ce67228d
UD
20494 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20495 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20496 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20497
e57420c6
UD
204982011-05-27 Ulrich Drepper <drepper@gmail.com>
20499
a8509ca5
UD
20500 [BZ #12813]
20501 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20502 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20503 available.
20504 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20505 __vdso_getcpu.
20506
e57420c6
UD
20507 [BZ #12814]
20508 * iconvdata/Makefile (tests): Add bug-iconv9.
20509 * iconvdata/bug-iconv9.c: New file.
20510
4d07db15
AS
205112011-05-27 Andreas Schwab <schwab@redhat.com>
20512
20513 [BZ #12814]
20514 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20515
ea486f69
JJ
205162011-05-25 Jakub Jelinek <jakub@redhat.com>
20517
20518 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20519 (struct user_regs_struct): Change intcs field back to cs.
20520
6f038433
UD
205212011-05-25 Ulrich Drepper <drepper@gmail.com>
20522
20523 * po/ja.po: Update from translation team.
20524
67f86a25
UD
205252011-05-23 Ulrich Drepper <drepper@gmail.com>
20526
20527 [BZ #12795]
20528 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20529 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20530
def7fbd6
AS
205312011-05-20 Andreas Schwab <schwab@redhat.com>
20532
20533 * stdlib/longlong.h: Update from GCC.
20534
f50ef8f1
AS
205352011-05-23 Andreas Schwab <schwab@redhat.com>
20536
20537 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20538 parameter name.
20539 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20540 Add parameter name.
20541 (__sysconf): Pass it down.
20542
de7ce8f1
UD
205432011-05-22 Ulrich Drepper <drepper@gmail.com>
20544
f2962a71
UD
20545 [BZ #12671]
20546 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20547 some situations.
20548 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20549 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20550 add in in __libc_use_alloca calls. Adjust callers.
20551 (glob): Use malloc in some situations.
20552
de7ce8f1
UD
20553 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20554 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20555 pltexit.
20556
aec84f53
UD
205572011-05-21 Ulrich Drepper <drepper@gmail.com>
20558
05bb4a68
UD
20559 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20560 and CLOCK_BOOTTIME_ALARM.
20561
7ea72f99
UD
20562 [BZ #12782]
20563 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20564 is returned.
20565
7e4afad5
UD
20566 * string/_strerror.c (__strerror_r): Print negative errors as signed
20567 numbers.
20568
8e211fec
UD
20569 [BZ #12777]
20570 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20571 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20572 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20573
f7d82dc9
UD
20574 * configure.in: Fix typo in redirection and correct removal of test
20575 files in two cases.
20576
cc9e536d
UD
20577 [BZ #12788]
20578 * locale/setlocale.c (new_composite_name): Fix test to check for
20579 identical name of all categories.
20580
aec84f53
UD
20581 [BZ #12792]
20582 * libio/filedoalloc.c (local_isatty): New function.
20583 (_IO_file_doallocate): Use local_isatty.
20584 * stdio-common/perror.c (perror): In case a new stream is used
20585 forward the stream error.
20586 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20587 error flag.
20588
78e64fdc
RT
205892011-05-20 Ulrich Drepper <drepper@gmail.com>
20590
34a9094f
UD
20591 [BZ #11869]
20592 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20593 alloca.
20594 * include/alloca.h (extend_alloca_account): Define.
20595
78e64fdc
RT
20596 [BZ #11857]
20597 * posix/regex.h: Fix comments with documentation of user-accessible
20598 fields after compilation and describe correct free'ing of pattern
20599 after re_compile_pattern.
20600 Patch by Reuben Thomas <rrt@sc3d.org>.
20601
457bddfc
RA
206022011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20603
20604 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20605 and -mno-altivec to prevent the compiler from using Altivec and/or
20606 VSX instructions when the corresponding registers are not available.
20607
a4527b51
AS
206082011-05-19 Andreas Schwab <schwab@redhat.com>
20609
20610 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20611
ed690b2f
UD
206122011-05-19 Ulrich Drepper <drepper@gmail.com>
20613
20614 * libio/freopen.c (freopen): Use __dup2, not dup2.
20615 * libio/freopen64.c (freopen64): Likewise.
20616
8db73634
L
206172011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20618
20619 [BZ #12775]
20620 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20621 * math/Makefile (tests): Add test-powl.
20622 (CFLAGS-test-powl.c): Define.
20623 * math/test-powl.c: New file.
20624
0a197a9d
L
206252011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20626
20627 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20628
ee30c380
UD
206292011-05-17 Ulrich Drepper <drepper@gmail.com>
20630
20631 [BZ #11837]
20632 * iconvdata/gb18030.c: Update to GB18020-2005.
20633
6ce75379
UD
206342011-05-16 Ulrich Drepper <drepper@gmail.com>
20635
a4b89fd8
AR
20636 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20637 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20638 Patch by Aharon Robbins <arnold@skeeve.com>.
20639
ea389b12
UD
20640 [BZ #11892]
20641 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20642 on the stack.
20643
68a3f91f
UD
20644 [BZ #11895]
20645 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20646 through underflows.
20647
15cc7dd1
UD
20648 [BZ #12766]
20649 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20650 point to strings before performing equality test for error_one_per_line
20651 mode.
20652
f3799213
UD
20653 [BZ #11697]
20654 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20655
d79a9c94
UD
20656 [BZ #11820]
20657 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20658 (struct user_fpregs_struct): Avoid __uint*_t types.
20659
56e5eb46
UD
20660 [BZ #6420]
20661 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20662 symbol info. Use it instead of calling _dl_addr locally.
20663 (lock_and_info): New function.
20664 (tr_freehook): Call lock_and_info and pass symbol info as additional
20665 parameter to tr_where.
20666 (tr_mallochook): Likewise.
20667 (tr_reallochook): Likewise.
20668 (tr_memalignhook): Likewise.
20669
6ce75379
UD
20670 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20671 used and couldn't be at all thread-safe.
20672
f8a3b5bf
UD
206732011-05-15 Ulrich Drepper <drepper@gmail.com>
20674
94b7cc37
UD
20675 * libio/freopen.c (freopen): Don't close old file descriptor
20676 before the new one is opened. Instead dup the new file descriptor
20677 to the old one after the new stream is created.
20678 * libio/freopen64.c (freopen64): Likewise.
20679 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20680 * libio/fileops.c (_IO_new_file_close_it): Handle new
20681 _IO_FLAGS2_NOCLOSE flag.
20682 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20683 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20684 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20685 _IO_FLAGS2_NOCLOSE flag.
20686 * include/unistd.h: Add hidden_proto for dup3.
20687 Define __have_dup3.
20688 * io/dup3.c: Define hidden symbol.
20689 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20690
bd25564e
UD
20691 [BZ #7101]
20692 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20693 when an incomplete long option is used.
20694 * posix/tst-getopt_long1.c: New file.
20695 * posix/Makefile (tests): Add tst-getopt_long1.
20696
c84cfef4
UD
20697 [BZ #10138]
20698 * scripts/config.guess: Update from autoconf-2.68.
20699 * scripts/config.sub: Likewise.
20700
3b85df27
UD
20701 [BZ #10157]
20702 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20703 tests into ...
20704 (has_cpuclock): ...this. New function.
20705 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20706 macro here based on has_cpuclock code.
20707
15a856b1
UD
20708 [BZ #10149]
20709 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20710 First byte (not low byte) is now always NUL.
20711 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20712
05f399e6
UD
20713 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20714 Use non-cancelable interfaces.
20715
10a52685 20716 [BZ #9809]
94ecc67d
UD
20717 * locale/iso-639.def: Add entry for Sorani.
20718
f8a3b5bf
UD
20719 [BZ #11901]
20720 * include/stdlib.h: Move include protection to the right place.
20721 Define abort_msg_s. Declare __abort_msg with it.
20722 * stdlib/abort.c (__abort_msg): Adjust type.
20723 * assert/assert.c (__assert_fail_base): New function. Majority
20724 of code from __assert_fail. Allocate memory for __abort_msg with
20725 mmap.
20726 (__assert_fail): Now call __assert_fail_base.
20727 * assert/assert-perr.c: Remove bulk of implementation. Use
20728 __assert_fail_base.
20729 * include/assert.hL Declare __assert_fail_base.
20730 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20731 mmap.
20732 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20733
1af4e298
UD
207342011-05-14 Ulrich Drepper <drepper@gmail.com>
20735
f8a3b5bf 20736 [BZ #11952]
d26dfc60
MG
20737 [BZ #12453]
20738 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20739 until all modules are registered in the DTV.
20740 * elf/Makefile: Add rules to build and run tst-tls19.
20741 * elf/tst-tls19.c: New file.
20742 * elf/tst-tls19mod1.c: New file.
20743 * elf/tst-tls19mod2.c: New file.
20744 * elf/tst-tls19mod3.c: New file.
20745 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20746
2fc54d6f
UD
20747 [BZ #12083]
20748 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20749 correctly.
20750
98d76b46
UD
20751 [BZ #12601]
20752 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20753 two-byte sequence errors.
20754 * iconvdata/Makefile (tests): Add bug-iconv8.
20755 * iconvdata/bug-iconv8.c: New file.
20756
da3c19ef
UD
20757 [BZ #12626]
20758 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20759 buf2 definition.
20760
ca408c15
UD
20761 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20762
d6f67f7d
UD
20763 [BZ #12432]
20764 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20765 (dummy_getcfa): New function.
20766 (init): Get _Unwind_GetCFA address, use dummy if not found.
20767 (backtrace_helper): In recursion check, also check whether CFA changes.
20768 (__backtrace): Completely initialize arg.
20769
1af4e298 20770 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
20771 storing incomplete byte sequence in state object. Avoid testing for
20772 guaranteed too small input if we know there is enough data available.
1af4e298 20773
da62f81b
AS
207742011-05-11 Andreas Schwab <schwab@redhat.com>
20775
20776 * Makeconfig (+link-pie): Indent.
20777 * Rules (binaries-pie): Define if $(have-fpie) and
20778 $(build-shared).
20779 (binaries-shared): Also filter out $(binaries-pie).
20780 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20781 * nscd/Makefile (others-pie): Add nscd.
20782 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20783 ($(objpfx)nscd): Remove command override.
20784 * login/Makefile (others-pie): Add pt_chown.
20785 ($(objpfx)pt_chown): Remove command override.
20786 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20787 remove command overrides.
20788
fcabc0f8
UD
207892011-05-13 Ulrich Drepper <drepper@gmail.com>
20790
20030ae6
UD
20791 * libio/tst_putwc.c: Fix error messages.
20792
fcabc0f8
UD
20793 [BZ #12724]
20794 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20795 currently writing and seek to current position when not.
20796 * libio/Makefile (tests): Add bug-fclose1.
20797 * libio/bug-fclose1.c: New file.
20798
320a5dc0
PB
207992011-05-12 Ulrich Drepper <drepper@gmail.com>
20800
20801 [BZ #12511]
20802 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20803 don't set DF_1_NODELETE here.
20804 (do_lookup_x): When entering new entry test for copy relocation
20805 and if necessary set DF_1_NODELETE flag.
20806 * elf/tst-unique4.cc: New file.
20807 * elf/tst-unique4.h: New file.
20808 * elf/tst-unique4lib.cc: New file.
20809 * elf/Makefile: Add rules to build and run tst-unique4.
20810 Patch by Piotr Bury <pbury@goahead.com>.
20811
22836f52
UD
208122011-05-11 Ulrich Drepper <drepper@gmail.com>
20813
f574184a
UD
20814 [BZ #12052]
20815 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20816
e1fb097f
UD
20817 [BZ #12625]
20818 * misc/mntent_r.c (addmntent): Flush the stream after the output
20819
22836f52
UD
20820 [BZ #12393]
20821 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20822 (is_trusted_path_normalize): Skip initial colon. Append slash
20823 to empty buffer. Duplicate is_trusted_path code but allow
20824 constructed patch to be prefix.
20825 (is_dst): Allow $ORIGIN followed by /.
20826 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20827 Correct testing of result of is_trusted_path_normalize
20828 (decompose_rpath): Fix warning.
20829
7b3b0b2a
UD
208302011-05-10 Ulrich Drepper <drepper@gmail.com>
20831
20832 [BZ #11257]
20833 * grp/initgroups.c (internal_getgrouplist): When we found the service
20834 list through the initgroups entry in nsswitch.conf do not always
20835 continue on a successful lookup. Don't always use the
eac80ce2 20836 __nss_group_database value if it is set.
7b3b0b2a
UD
20837 * nss/nsswitch.conf (initgroups): Change action for successful db
20838 lookup to continue for compatibility.
20839
2a81eaa5
UD
208402011-05-09 Ulrich Drepper <drepper@gmail.com>
20841
be97a69e
UD
20842 [BZ #11532]
20843 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20844 and CP774 modules.
20845 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20846 and CP774 modules.
20847 * iconvdata/tst-tables.sh: Likewise.
20848 * iconvdata/cp770.c: New file.
20849 * iconvdata/cp771.c: New file.
20850 * iconvdata/cp772.c: New file.
20851 * iconvdata/cp773.c: New file.
20852 * iconvdata/cp774.c: New file.
20853 * iconvdata/testdata/CP770: New file.
20854 * iconvdata/testdata/CP770..UTF8: New file.
20855 * iconvdata/testdata/CP771: New file.
20856 * iconvdata/testdata/CP771..UTF8: New file.
20857 * iconvdata/testdata/CP772: New file.
20858 * iconvdata/testdata/CP772..UTF8: New file.
20859 * iconvdata/testdata/CP773: New file.
20860 * iconvdata/testdata/CP773..UTF8: New file.
20861 * iconvdata/testdata/CP774: New file.
20862 * iconvdata/testdata/CP774..UTF8: New file.
20863
20864 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20865 END CHARMAP line.
20866 * iconvdata/gen-8bit-gap.sh: Likewise.
20867 * iconvdata/gen-8bit.sh: Likewise.
20868
c1e9e399
UD
20869 * locale/iso-639.def: Add ary entry.
20870
24c55fb3 20871 [BZ #11258]
96b4b1b0
UD
20872 * locale/C-translit.h.in: Add U20A1 transliteration.
20873
bdc2f971
KB
20874 [BZ #12178]
20875 * locale/iso-639.def: Add wae entry.
20876 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20877
2952b117
UD
20878 [BZ #12545]
20879 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20880 for n.
20881
2a81eaa5
UD
20882 [BZ #12711]
20883 * locale/C-translit.h.in: Add entry for U20B9.
20884 Patch by pravin.d.s@gmail.com.
20885
28377d1b
UD
208862011-05-08 Ulrich Drepper <drepper@gmail.com>
20887
7fb90fb8
UD
20888 [BZ #12713]
20889 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20890 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
20891 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20892 in rtld. Use *stat64.
7fb90fb8 20893 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 20894 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 20895 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
20896 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20897 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20898 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20899 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20900 __fstatat64 macros.
7fb90fb8
UD
20901 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20902 * dirent/rewinddir.c: Add libc_hidden_def.
20903 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 20904 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 20905
28377d1b
UD
20906 * include/dirent.h (__alloc_dir): Add flags parameter.
20907 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20908 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20909 __alloc_dir.
20910 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20911 from fdopendir if O_CLOEXEC is already set.
20912
66bdbaa4
AM
209132011-03-15 Alan Modra <amodra@gmail.com>
20914
20915 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20916 l_tls_firstbyte_offset non-zero. Save padding offset in
20917 l_tls_firstbyte_offset for later use.
20918 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20919 freeing static tls block.
20920
95721191
JN
209212011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20922
20923 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20924 where #ifdef was intended. The intent is to prevent ARG_MAX from
20925 being defined by the kernel headers.
20926
f87dfb1f
UD
209272011-05-07 Ulrich Drepper <drepper@gmail.com>
20928
20929 [BZ #12734]
20930 * resolv/resolv.h: Define RES_NOTLDQUERY.
20931 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20932 no-tld-query and set RES_NOTLDQUERY.
20933 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20934 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20935 modern BIND to search name as TLD unless forbidden.
20936
47c3cd7a
UD
209372011-05-07 Petr Baudis <pasky@suse.cz>
20938 Ulrich Drepper <drepper@gmail.com>
20939
20940 [BZ #12393]
20941 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20942 (is_trusted_path): ...to here.
c1e9ea35 20943 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 20944 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 20945 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 20946
8a35c912
PP
209472011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20948
20949 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20950 __BEGIN/__END_DECLS.
20951
acd41f47
UD
209522011-05-06 Ulrich Drepper <drepper@gmail.com>
20953
20954 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20955 NSS_STATUS_NOTFOUND if no record was found.
20956
597df647
AS
209572011-05-05 Andreas Schwab <schwab@redhat.com>
20958
20959 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20960 (headers-not-in-tirpc): Remove rpc/netdb.h
20961 * resolv/netdb.h: Revert last change.
20962
b9af1301
PP
209632011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20964
20965 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20966 circular dependency between libgcc.a and libc.a.
20967
4e34d5f5
AS
209682011-05-05 Andreas Schwab <schwab@redhat.com>
20969
20970 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20971 * nis/Makefile: Don't install rpcsvc/*.
20972 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20973 instead of <rpc/types.h>.
20974 (MAXHOSTNAMELEN): Define.
20975
00ee369c
AS
209762011-05-03 Andreas Schwab <schwab@redhat.com>
20977
20978 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20979
0b592a30
MB
209802011-04-28 Maciej Babinski <mbabinski@google.com>
20981
20982 [BZ #12714]
20983 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20984 gethostbyname4_r when IPv6 results are possible.
20985
6e04cbbe
UD
209862011-05-02 Ulrich Drepper <drepper@gmail.com>
20987
20988 [BZ #12723]
20989 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20990 _PC_PIPE_BUF handling.
20991
e4ecafe0
BH
209922011-04-30 Bruno Haible <bruno@clisp.org>
20993
20994 [BZ #12717]
20995 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20996 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20997 to 'int'.
20998 * inet/getnameinfo.c (getnameinfo): Likewise.
20999
125ee683
UD
210002011-04-29 Ulrich Drepper <drepper@gmail.com>
21001
21002 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21003 to groups setting in database lookup.
21004 * nss/nsswitch.conf: Add initgroups entry.
21005
b722481a
EB
210062011-04-22 Ulrich Drepper <drepper@gmail.com>
21007
21008 [BZ #12685]
21009 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21010 mode string.
21011 Patch by Eric Blake <eblake@redhat.com>.
21012
4df46dbd
L
210132011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21014
21015 * sunrpc/Makefile (need-export-routines): Add svc_run.
21016 (routines): Remove svc_run.
21017 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21018 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21019 * sunrpc/svc_run.c (svc_run): Likewise.
21020 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21021
e84142d2
UD
210222011-04-21 Ulrich Drepper <drepper@gmail.com>
21023
21024 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21025 problem in reallocation in last patch.
21026
877175d8
UD
210272011-04-20 Ulrich Drepper <drepper@gmail.com>
21028
21029 * sunrpc/Makefile: Move inclusion of Rules.
21030
ab8eed78
UD
210312011-04-19 Ulrich Drepper <drepper@gmail.com>
21032
21033 * nss/nss_files/files-initgroups.c: New file.
21034 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21035 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21036 _nss_files_initgroups_dyn.
21037
e3d8f584
RS
210382011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21039
21040 * elf/elf.h (R_ARM_IRELATIVE): Define.
21041
af190f45
UD
210422011-04-19 Ulrich Drepper <drepper@gmail.com>
21043
21044 * po/ru.po: Update from translation team.
21045
53cf59ef
UD
210462011-04-17 Ulrich Drepper <drepper@gmail.com>
21047
21048 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21049 dependencies.
21050
4c559bcd
MF
210512011-02-06 Mike Frysinger <vapier@gentoo.org>
21052
21053 [BZ #12653]
21054 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21055 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21056 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21057 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21058 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21059
4420675c
AS
210602011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21061
21062 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21063 differing bytes.
21064 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21065 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21066 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21067
75ea32ab
UD
210682011-04-17 Ulrich Drepper <drepper@gmail.com>
21069
21070 [BZ #12420]
21071 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21072 storing it.
21073 * stdlib/bug-getcontext.c: New file.
21074 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21075
27390476
AK
210762011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21077
21078 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21079 instructions into .machine "z9-109".
21080 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21081 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21082
10442705
AK
210832011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21084
21085 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21086 between environment variables and auxiliary vector.
21087
7b57bfe5
UD
210882011-04-16 Ulrich Drepper <drepper@gmail.com>
21089
21090 * Makefile: Add rules to build linkobj/libc.so.
21091 * include/libc-symbols.h: Define libc_hidden_nolink.
21092 * include/rpc/auth.h: Mark functions which are to be hidden.
21093 * include/rpc/auth_des.h: Likewise.
21094 * include/rpc/auth_unix.h: Likewise.
21095 * include/rpc/clnt.h: Likewise.
21096 * include/rpc/des_crypt.h: Likewise.
21097 * include/rpc/key_prot.h: Likewise.
21098 * include/rpc/pmap_clnt.h: Likewise.
21099 * include/rpc/pmap_prot.h: Likewise.
21100 * include/rpc/pmap_rmt.h: Likewise.
21101 * include/rpc/rpc_msg.h: Likewise.
21102 * include/rpc/svc.h: Likewise.
21103 * include/rpc/svc_auth.h: Likewise.
21104 * include/rpc/xdr.h: Likewise.
21105 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21106 * nss/Makefile: Likewise.
21107 * sunrpc/Makefile: Don't install headers. Build library with normal
21108 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21109 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21110 for the compat linking library. Remove use of INTDEF/INTUSE.
21111 * sunrpc/auth_none.c: Likewise.
21112 * sunrpc/auth_unix.c: Likewise.
21113 * sunrpc/authdes_prot.c: Likewise.
21114 * sunrpc/authuxprot.c: Likewise.
21115 * sunrpc/clnt_gen.c: Likewise.
21116 * sunrpc/clnt_perr.c: Likewise.
21117 * sunrpc/clnt_raw.c: Likewise.
21118 * sunrpc/clnt_simp.c: Likewise.
21119 * sunrpc/clnt_tcp.c: Likewise.
21120 * sunrpc/clnt_udp.c: Likewise.
21121 * sunrpc/clnt_unix.c: Likewise.
21122 * sunrpc/des_crypt.c: Likewise.
21123 * sunrpc/des_soft.c: Likewise.
21124 * sunrpc/get_myaddr.c: Likewise.
21125 * sunrpc/key_call.c: Likewise.
21126 * sunrpc/key_prot.c: Likewise.
21127 * sunrpc/netname.c: Likewise.
21128 * sunrpc/pm_getmaps.c: Likewise.
21129 * sunrpc/pm_getport.c: Likewise.
21130 * sunrpc/pmap_clnt.c: Likewise.
21131 * sunrpc/pmap_prot.c: Likewise.
21132 * sunrpc/pmap_prot2.c: Likewise.
21133 * sunrpc/pmap_rmt.c: Likewise.
21134 * sunrpc/publickey.c: Likewise.
21135 * sunrpc/rpc_cmsg.c: Likewise.
21136 * sunrpc/rpc_common.c: Likewise.
21137 * sunrpc/rpc_dtable.c: Likewise.
21138 * sunrpc/rpc_prot.c: Likewise.
21139 * sunrpc/rpc_thread.c: Likewise.
21140 * sunrpc/rtime.c: Likewise.
21141 * sunrpc/svc.c: Likewise.
21142 * sunrpc/svc_auth.c: Likewise.
21143 * sunrpc/svc_authux.c: Likewise.
21144 * sunrpc/svc_raw.c: Likewise.
21145 * sunrpc/svc_run.c: Likewise.
21146 * sunrpc/svc_simple.c: Likewise.
21147 * sunrpc/svc_tcp.c: Likewise.
21148 * sunrpc/svc_udp.c: Likewise.
21149 * sunrpc/svc_unix.c: Likewise.
21150 * sunrpc/svcauth_des.c: Likewise.
21151 * sunrpc/xcrypt.c: Likewise.
21152 * sunrpc/xdr.c: Likewise.
21153 * sunrpc/xdr_array.c: Likewise.
21154 * sunrpc/xdr_float.c: Likewise.
21155 * sunrpc/xdr_intXX_t.c: Likewise.
21156 * sunrpc/xdr_mem.c: Likewise.
21157 * sunrpc/xdr_rec.c: Likewise.
21158 * sunrpc/xdr_ref.c: Likewise.
21159 * sunrpc/xdr_sizeof.c: Likewise.
21160 * sunrpc/xdr_stdio.c: Likewise.
21161
e6c61494
UD
211622011-04-10 Ulrich Drepper <drepper@gmail.com>
21163
21164 [BZ #12650]
21165 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21166 * sysdeps/ia64/dl-tls.h: Likewise.
21167 * sysdeps/powerpc/dl-tls.h: Likewise.
21168 * sysdeps/s390/dl-tls.h: Likewise.
21169 * sysdeps/sh/dl-tls.h: Likewise.
21170 * sysdeps/sparc/dl-tls.h: Likewise.
21171 * sysdeps/x86_64/dl-tls.h: Likewise.
21172 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21173
34fe483e
AS
211742011-03-14 Andreas Schwab <schwab@redhat.com>
21175
21176 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21177 rpath element also skip the following colon.
21178 (expand_dynamic_string_token): Add is_path parameter and pass
21179 down to DL_DST_REQUIRED and _dl_dst_substitute.
21180 (decompose_rpath): Call expand_dynamic_string_token with
21181 non-zero is_path. Ignore empty rpaths.
21182 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21183 with zero is_path.
21184
f12a32e6
AS
211852011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21186
21187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21188 Make cancelable.
21189
38a7d692
UD
211902011-04-09 Ulrich Drepper <drepper@gmail.com>
21191
21192 [BZ #12655]
21193 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21194 Patch by Filipe David Manana <fdmanana@apache.org>.
21195
e451d22b
AS
211962011-04-07 Andreas Schwab <schwab@redhat.com>
21197
21198 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21199 Maintain aligned stack.
21200 (CHECK_RSP): Remove unused macro.
21201
dedc7c7b
UD
212022011-04-03 Ulrich Drepper <drepper@gmail.com>
21203
21204 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21205 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21206
94521213
UD
212072011-04-02 Ulrich Drepper <drepper@gmail.com>
21208
21209 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21210
8cb700c0 21211 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 21212
0354e355
L
212132011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21214
21215 [BZ #12518]
21216 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21217 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21218 * sysdeps/x86_64/memmove.c: New file.
21219 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21220 (memcpy): Renamed to ...
21221 (__new_memcpy): This.
21222 (memcpy): Provide GLIBC_2_14 memcpy.
21223 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21224 (memcpy): Provide GLIBC_2_2_5 memcpy.
21225
8593482f
UD
212262011-04-01 Ulrich Drepper <drepper@gmail.com>
21227
21228 [BZ #12631]
21229 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21230
81a5726b
AS
212312011-03-30 Andreas Schwab <schwab@redhat.com>
21232
21233 * misc/syncfs.c: New file.
21234 * misc/Makefile (routines): Add syncfs.
21235 * posix/unistd.h: Declare syncfs.
21236 * sysdeps/unix/syscalls.list: Add syncfs.
21237
00e5419f
AS
212382011-04-01 Andreas Schwab <schwab@redhat.com>
21239
21240 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21241 open_by_handle_at.
21242 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21243 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21244 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21245 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21246 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21247 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21248 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21249
748876bf
UD
212502011-04-01 Ulrich Drepper <drepper@gmail.com>
21251
658e451d
UD
21252 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21253 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21254 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21255 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21256 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21257 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21258 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21259
748876bf
UD
21260 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21261 sync_file_range.c with -fexceptions.
21262 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21263 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21264 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21265 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21266 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21267 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21268 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
21269 sync_file_range as cancellation point
21270 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21271 now a wrapper around __call_sync_file_range with cancellation handling.
21272 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21273 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21274 function name to __call_sync_file_range.
21275 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21276 Add call_sync_file_range.
748876bf 21277
6e63d5e1
AS
212782011-04-01 Andreas Schwab <schwab@redhat.com>
21279
21280 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 21281 bits/timex.h.
6e63d5e1 21282
46998f74
UD
212832011-04-01 Ulrich Drepper <drepper@gmail.com>
21284
4c1423ed
UD
21285 * iconv/iconv.h: Fix typo in comment.
21286 * io/fcntl.h: Likewise.
21287 * libio/stdio.h: Likewise.
21288 * posix/spawn.h: Likewise.
21289 * posix/unistd.h: Likewise.
21290 * stdlib/stdlib.h: Likewise.
21291 * time/time.h: Likewise.
21292 * wcsmbs/wchar.h: Likewise.
21293
158648c0
UD
21294 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21295 open_by_handle): Add.
21296 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21297 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21298 Augment a few comments.
21299 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21300 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21301 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21302 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21303 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21304 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21305 open_by_handle.
21306
46998f74
UD
21307 * io/fcntl.h (AT_EMPTY_PATH): Define.
21308
83fe108b
UD
213092011-03-30 Ulrich Drepper <drepper@gmail.com>
21310
21311 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21312 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21313 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21314 to...
21315 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
21316 * Versions.def: Add GLIBC_2.14.
21317 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21318 Export.
83fe108b 21319
bb242059
UD
213202011-03-22 Ulrich Drepper <drepper@gmail.com>
21321
21322 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21323 round counter.
21324 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21325
c97a1282
L
213262011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21327
21328 [BZ #12597]
21329 * string/test-strncmp.c (do_page_test): New function.
21330 (check2): Likewise.
21331 (test_main): Call check2.
21332 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21333
2a115601
UD
213342011-03-20 Ulrich Drepper <drepper@gmail.com>
21335
21336 [BZ #12587]
21337 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21338 Handle cache information in CPU leaf 4.
21339 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21340
8126d904
UD
213412011-03-18 Ulrich Drepper <drepper@gmail.com>
21342
042c49c6 21343 [BZ #12583]
8126d904
UD
21344 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21345 character representation.
21346 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21347
ccfe366e
RA
213482011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21349
21350 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21351 END(__isnan) to END(__isnanf) to match function entry point/label
21352 EALIGN(__isnanf,...).
21353
c6e13027
JJ
213542011-03-10 Jakub Jelinek <jakub@redhat.com>
21355
21356 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21357
33f85a3f
UD
213582011-03-10 Ulrich Drepper <drepper@gmail.com>
21359
028478fa
UD
21360 [BZ #12510]
21361 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21362 copy from the symbol referenced in the relocation to initialize the
21363 used variable.
21364 Patch by Piotr Bury <pbury@goahead.com>.
21365 * elf/Makefile: Add rules to build and tst-unique3.
21366 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21367 * elf/tst-unique3.cc: New file.
21368 * elf/tst-unique3.h: New file.
21369 * elf/tst-unique3lib.cc: New file.
21370 * elf/tst-unique3lib2.cc: New file.
21371
33f85a3f
UD
21372 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21373
03592fc7
MF
213742011-03-10 Mike Frysinger <vapier@gentoo.org>
21375
21376 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21377 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21378 to _start.
03592fc7 21379
6a5ee102
UD
213802011-03-06 Ulrich Drepper <drepper@gmail.com>
21381
21382 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21383 to-be-loaded object along a path to loader is ld.so.
21384
7e4ba49c
HJ
213852011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21386 Ulrich Drepper <drepper@gmail.com>
21387
21388 * sysdeps/x86_64/memset.S: After aligning destination, code
21389 branches to different locations depending on the value of
21390 misalignment, when multiarch is enabled. Fix this.
21391
213922011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21393
21394 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21395 Set _x86_64_preferred_memory_instruction for AMD processsors.
21396 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21397 Set bit_Prefer_SSE_for_memop for AMD processors.
21398
13a804de
UD
213992011-03-04 Ulrich Drepper <drepper@gmail.com>
21400
21401 * libio/fmemopen.c (fmemopen): Optimize a bit.
21402
9d25c392
AS
214032011-03-03 Andreas Schwab <schwab@redhat.com>
21404
21405 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21406
a5543c6a
RM
214072011-03-03 Roland McGrath <roland@redhat.com>
21408
21409 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21410
012d35f7
DM
214112011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21412
7e4ba49c 21413 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
21414 __bzero_ultra1 instead of __memset_ultra1.
21415
4bff6e01
AS
214162011-02-23 Andreas Schwab <schwab@redhat.com>
21417 Ulrich Drepper <drepper@gmail.com>
21418
21419 [BZ #12509]
21420 * include/link.h (struct link_map): Add l_orig_initfini.
21421 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21422 returning unsuccessfully.
21423 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21424 close of a file loaded at startup, restore the original l_initfini
21425 list.
21426 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21427 list, store the pointer.
21428 * elf/Makefile ($(objpfx)noload-mem): New rule.
21429 (noload-ENV): Define.
21430 (tests): Add $(objpfx)noload-mem.
21431 * elf/noload.c: Include <memcheck.h>.
21432 (main): Call mtrace. Close all opened handles.
21433
f2092faf
AS
214342011-02-17 Andreas Schwab <schwab@redhat.com>
21435
21436 [BZ #12454]
21437 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21438 dependencies are missing.
21439
6c8a2e88
ST
214402011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21441
f2092faf 21442 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
21443 Hurd needs munmap.
21444 * sysdeps/mach/hurd/ifreq.h: New file.
21445
84a42118
PB
214462011-01-27 Petr Baudis <pasky@suse.cz>
21447 Ulrich Drepper <drepper@gmail.com>
21448
071f805e 21449 [BZ 12445]#
84a42118
PB
21450 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21451 to extend_alloca().
21452 * stdio-common/bug23.c: New file.
21453 * stdio-common/Makefile (tests): Add bug23.
21454
e23fe25b
AS
214552010-09-28 Andreas Schwab <schwab@redhat.com>
21456 Ulrich Drepper <drepper@gmail.com>
21457
21458 [BZ #12489]
21459 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21460 before performing relro protection. At old place add assertion
21461 to make sure nothing changed.
21462
d3f02e10
NS
214632011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21464 Glauber de Oliveira Costa <glommer@gmail.com>
21465
21466 * elf/elf.h: Add new ARM TLS relocs.
21467
d55fd7a5
RA
214682011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21469
21470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21471 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21472 cast from r3.
21473 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21474 'tests' variable.
21475 * sysdeps/wordsize-64/tst-writev.c: New file.
21476
2206397e
RA
214772011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21478
21479 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21480 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21481 insns in _dl_start to prevent a TOC reference before relocs are
21482 resolved.
21483
e9433893
UD
214842011-02-15 Ulrich Drepper <drepper@gmail.com>
21485
21486 [BZ #12469]
21487 * Makeconfig: Remove RANLIB definition.
21488 * Makerules: Don't use RANLIB.
21489 * aclocal.m4: Remove ranlib test.
21490 * configure.in: No need to check for ranlib.
21491 * elf/rtld-Rules: Don't use RANLIB.
21492
f75286c6
ST
214932011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21494
8e31c82d
ST
21495 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21496 protection macro.
21497 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21498 inclusion protection macro.
21499
f75286c6
ST
21500 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21501 SIGRTMIN and SIGRTMAX and print information in that case only when
21502 SIGRTMIN is defined.
21503
c1d0e639
JJ
215042011-02-11 Jakub Jelinek <jakub@redhat.com>
21505
21506 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21507 arginfo fn returning -1.
21508
21509 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21510 and thousands string is zero terminated.
21511
edf9294e
AS
215122011-02-03 Andreas Schwab <schwab@redhat.com>
21513
21514 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21515 sysdeps/unix/sysv/linux/bits/socket.h.
21516
2b7e92df
ST
215172011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21518
edf9294e
AS
21519 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21520 (__CPU_COUNT): Remove old macros.
21521 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21522 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21523 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
21524 (__sched_cpualloc, __sched_cpufree): Add declarations.
21525
a4c7ea7b
UD
215262011-02-05 Ulrich Drepper <drepper@gmail.com>
21527
21528 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21529 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21530 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21531 (readdhstai): Return value of addhstaiX call.
21532 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21533 (addgrbyX): Return value returned by cache_addgr.
21534 (readdgrbyname): Return value returned by addgrbyX.
21535 (readdgrbygid): Likewise.
21536 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21537 (addpwbyX): Return value returned by cache_addpw.
21538 (readdpwbyname): Return value returned by addhstbyX.
21539 (readdpwbyuid): Likewise.
21540 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21541 (addservbyX): Return value returned by cache_addserv.
21542 (readdservbyname): Return value returned by addservbyX:
21543 (readdservbyport): Likewise.
21544 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21545 (addhstbyX): Return value returned by cache_addhst.
21546 (readdhstbyname): Return value returned by addhstbyX.
21547 (readdhstbyaddr): Likewise.
21548 (readdhstbynamev6): Likewise.
21549 (readdhstbyaddrv6): Likewise.
21550 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21551 (readdinitgroups): Return value returned by addinitgroupsX.
21552 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21553 (prune_cache): Keep track of timeout value of re-added entries.
21554 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21555 * nscd/nscd.h: Adjust prototypes of readd* functions.
21556
a0bf67cc
RM
215572011-02-04 Roland McGrath <roland@redhat.com>
21558
21559 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21560 (nis_stats): Likewise.
21561 * nis/nis_modify.c (nis_modify): Likewise.
21562 * nis/nis_remove.c (nis_remove): Likewise.
21563 * nis/nis_add.c (nis_add): Likewise.
21564
21565 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21566
21567 * posix/fnmatch_loop.c: Add some consts.
21568
21569 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21570
435b95eb
L
215712011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21572
21573 [BZ #12460]
21574 * config.make.in (config-cflags-novzeroupper): Define.
21575 * configure.in: Substitute libc_cv_cc_novzeroupper.
21576 * elf/Makefile (AVX-CFLAGS): Define.
21577 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21578 (CFLAGS-tst-auditmod4a.c): Likewise.
21579 (CFLAGS-tst-auditmod4b.c): Likewise.
21580 (CFLAGS-tst-auditmod6b.c): Likewise.
21581 (CFLAGS-tst-auditmod6c.c): Likewise.
21582 (CFLAGS-tst-auditmod7b.c): Likewise.
21583 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21584
8517b15e
UD
215852011-02-02 Ulrich Drepper <drepper@gmail.com>
21586
21587 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21588 function to the callback.
21589 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21590
10a656fe
AS
215912011-02-02 Andreas Schwab <schwab@redhat.com>
21592
21593 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21594 of errno.
21595
968dad0a
UD
215962011-01-19 Ulrich Drepper <drepper@gmail.com>
21597
9f94d2ea 21598 [BZ #11724]
968dad0a
UD
21599 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21600 of constructors.
21601 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21602 of destructors.
21603 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21604
21605 [BZ #11724]
21606 * elf/Makefile: Add rules to build and run new test.
21607 * elf/tst-initorder.c: New file.
21608 * elf/tst-initorder.exp: New file.
21609 * elf/tst-initordera1.c: New file.
21610 * elf/tst-initordera2.c: New file.
21611 * elf/tst-initordera3.c: New file.
21612 * elf/tst-initordera4.c: New file.
21613 * elf/tst-initorderb1.c: New file.
21614 * elf/tst-initorderb2.c: New file.
21615 * elf/tst-order-a1.c: New file.
21616 * elf/tst-order-a2.c: New file.
21617 * elf/tst-order-a3.c: New file.
21618 * elf/tst-order-a4.c: New file.
21619 * elf/tst-order-b1.c: New file.
21620 * elf/tst-order-b2.c: New file.
21621 * elf/tst-order-main.c: New file.
21622 New test case by George Gensure <werkt0@gmail.com>.
21623
86e92359
UD
216242010-10-01 Andreas Schwab <schwab@redhat.com>
21625
21626 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21627 decoding ACE if AI_CANONIDN.
21628
5d5732b0
UD
216292011-01-18 Ulrich Drepper <drepper@gmail.com>
21630
21631 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21632
a77e8cbc
UD
216332011-01-17 Ulrich Drepper <drepper@gmail.com>
21634
6392473f
UD
21635 * version.h (RELEASE): Bump for 2.13 release.
21636 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21637
620a0529
UD
21638 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21639
18ba70a5
UD
21640 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21641 MADV_NOHUGEPAGE.
32465c3e
UD
21642 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21643 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21644 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21645 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21646 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21647 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21648
c0dafcf1
UD
21649 * posix/getconf.c: Update copyright year.
21650 * catgets/gencat.c: Likewise.
21651 * csu/version.c: Likewise.
21652 * debug/catchsegv.sh: Likewise.
21653 * debug/xtrace.sh: Likewise.
21654 * elf/ldconfig.c: Likewise.
21655 * elf/ldd.bash.in: Likewise.
21656 * elf/sprof.c (print_version): Likewise.
21657 * iconv/iconv_prog.c: Likewise.
21658 * iconv/iconvconfig.c: Likewise.
21659 * locale/programs/locale.c: Likewise.
21660 * locale/programs/localedef.c: Likewise.
21661 * malloc/memusage.sh: Likewise.
21662 * malloc/mtrace.pl: Likewise.
21663 * nscd/nscd.c (print_version): Likewise.
21664 * nss/getent.c: Likewise.
21665
a77e8cbc
UD
21666 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21667 PF_CAIF, and PF_ALG.
21668 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21669
77e8bddf
AS
216702011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21671
1f20b93a
AS
21672 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21673 (modules-names): Use them.
21674 (ifunc-test-modules, ifunc-pie-tests): Define.
21675 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21676 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21677 (test-extras): Likewise.
21678 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21679 $(compile-command.c).
21680 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21681 (all-built-dso): Define.
21682 (check-textrel.out, check-execstack.out): Depend on it.
21683
77e8bddf
AS
21684 * configure.in: Don't override --enable-multi-arch.
21685
bc425b33
UD
216862011-01-15 Ulrich Drepper <drepper@gmail.com>
21687
21688 [BZ #6812]
21689 * nscd/hstcache.c (tryagain): Define.
21690 (cache_addhst): Return tryagain not notfound for temporary errors.
21691 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21692 failed.
21693
794c3ad3
UD
216942011-01-14 Ulrich Drepper <drepper@gmail.com>
21695
70181fdd
UD
21696 [BZ #10563]
21697 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21698 to make the syscall.
21699 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21700
794c3ad3
UD
21701 [BZ #12378]
21702 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21703 and fall back to matching as normal character if the string ends before
21704 the matching ']' is found. This is what POSIX requires.
21705 * posix/testfnm.c: Adjust test result.
21706 * posix/globtest.sh: Adjust test result. Add new test.
21707 * posix/tst-fnmatch.input: Likewise.
21708 * posix/tst-fnmatch2.c: Add new test.
21709
68dc9497
AS
217102010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21711
21712 * elf/Makefile (check-execstack): Revert last change. Depend on
21713 check-execstack.h.
21714 (check-execstack.h): New target.
21715 (generated): Add check-execstack.h.
21716 * elf/check-execstack.c: Include "check-execstack.h".
21717 (main): Revert last change.
21718 (handle_file): Return zero if GNU_STACK is absent and
21719 DEFAULT_STACK_PERMS doesn't include PF_X.
21720
451f001b
UD
217212011-01-13 Ulrich Drepper <drepper@gmail.com>
21722
cfa28e56
UD
21723 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21724 in child fails because the descriptor is already closed.
8cf8ce17
UD
21725 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21726 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21727 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 21728
1086d70d
UD
21729 [BZ #12397]
21730 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21731 syscall.
21732
451f001b
UD
21733 [BZ #10484]
21734 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21735 temporary buffer used to handle multi lookups locally.
a85b5cb4 21736 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 21737
08769175
UD
217382011-01-12 Ulrich Drepper <drepper@gmail.com>
21739
21740 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21741 loader is ld.so.
21742
5e49c52e
UD
217432011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21744
21745 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21746 alignment for SSE2.
21747
60522a5f
UD
217482011-01-12 Ulrich Drepper <drepper@gmail.com>
21749
21750 [BZ #12394]
21751 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21752 characters. When rounding increased number of integer digits recompute
21753 number of groups.
21754 * stdio-common/tst-grouping.c: New file.
21755 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21756
f257bbd7
UD
217572011-01-09 Ulrich Drepper <drepper@gmail.com>
21758
21759 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21760 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21761
21762 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21763 void.
21764 * bits/select.h: Likewise.
21765
fa9c15cb
UD
217662011-01-08 Ulrich Drepper <drepper@gmail.com>
21767
21768 * po/ja.po: Update from translation team.
21769
16c2895f
DM
217702011-01-04 David S. Miller <davem@sunset.davemloft.net>
21771
21772 [BZ #11155]
21773 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21774 implementation just like for lxstat, fxstatat, et al.
21775
2543fef2
JM
217762010-12-27 Jim Meyering <meyering@redhat.com>
21777
21778 [BZ #12348]
21779 * posix/regexec.c (build_trtable): Return failure indication upon
21780 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21781
98727dbe
UD
217822010-12-25 Ulrich Drepper <drepper@gmail.com>
21783
5bd6dc5c
UD
21784 [BZ #12201]
21785 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21786 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21787 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21788 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21789
97983464
UD
21790 [BZ #12207]
21791 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21792
98727dbe
UD
21793 [BZ #12204]
21794 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21795 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21796
4a531bb0
L
217972010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21798
21799 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21800 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21801 script has SORT_BY_INIT_PRIORITY.
21802 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21803 NO_CTORS_DTORS_SECTIONS is defined.
21804 * elf/soinit.c: Likewise.
21805 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21806 NO_CTORS_DTORS_SECTIONS is defined.
21807 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21808 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21809 * sysdeps/sh/init-first.c: Likewise.
21810 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21811
07eb4b71
UD
218122010-12-24 Ulrich Drepper <drepper@gmail.com>
21813
21814 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21815 always use the slow path.
21816
30950a5f
RA
218172010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21818
21819 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21820 similar rule which adds the sysdep directories to the header search in
21821 order to pick up the correct platform stackinfo.h.
21822 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21823 perform test if it is, otherwise return successfully without testing.
21824 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21825 DEFAULT_STACK_PERMS define in stackinfo.h.
21826 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21827 defined in stackinfo.h.
21828 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21829 DEFAULT_STACK_PERMS defined in stackinfo.h.
21830 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21831 * sysdeps/ia64/stackinfo.h: Likewise.
21832 * sysdeps/s390/stackinfo.h: Likewise.
21833 * sysdeps/sh/stackinfo.h: Likewise.
21834 * sysdeps/sparc/stackinfo.h: Likewise.
21835 * sysdeps/x86_64/stackinfo.h: Likewise.
21836 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21837 PF_X for powerpc64. Retain PF_X for powerpc32.
21838
db753e2c
UD
218392010-12-19 Ulrich Drepper <drepper@gmail.com>
21840
14b697f7
UD
21841 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21842 accurately.
db753e2c
UD
21843 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21844 GETDENTS_64BIT_ALIGNED.
21845
28300719
UD
218462010-12-14 Ulrich Drepper <dreper@gmail.com>
21847
14b697f7 21848 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 21849
4f197237
AS
218502010-12-10 Andreas Schwab <schwab@redhat.com>
21851
dbb0472f
AS
21852 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21853 _GNU_SOURCE.
21854
4f197237
AS
21855 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21856 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21857 Remove __restrict.
21858 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21859 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21860
fb88ac72
UD
218612010-12-09 Ulrich Drepper <drepper@gmail.com>
21862
21863 [BZ #11655]
21864 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21865 are initialized.
21866
42acbb92
JJ
218672010-12-09 Jakub Jelinek <jakub@redhat.com>
21868
21869 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21870
c038d98d
UD
218712010-12-03 Ulrich Drepper <drepper@gmail.com>
21872
21873 * po/it.po: Update from translation team.
21874
3a4a2499
L
218752010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21876
21877 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21878 unused codes.
21879
1e24cf6e
UD
218802010-11-30 Ulrich Drepper <drepper@gmail.com>
21881
21882 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21883
a7690819
AS
218842010-11-24 Andreas Schwab <schwab@redhat.com>
21885
21886 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21887 specially.
21888 (gaih_getanswer_slice): Likewise.
21889
3bf8d1b1
JJ
218902010-10-20 Jakub Jelinek <jakub@redhat.com>
21891
21892 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21893
6db52fbb
PB
218942010-05-31 Petr Baudis <pasky@suse.cz>
21895
21896 [BZ #11149]
21897 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21898 silently even in the chroot mode.
21899
eaca7569
UD
219002010-11-22 Ulrich Drepper <drepper@gmail.com>
21901
21902 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21903 last patch a bit. Pretty printing
21904
3056dcdb
UD
219052010-05-31 Petr Baudis <pasky@suse.cz>
21906
21907 [BZ #10085]
21908 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21909 initialization of skip_initgroups_dyn.
21910
cf7c9078
UD
219112010-11-19 Ulrich Drepper <drepper@gmail.com>
21912
21913 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21914 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21915
a1fb5e3e
UD
219162010-11-16 Ulrich Drepper <drepper@gmail.com>
21917
21918 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21919
3540d66b
AS
219202010-11-11 Andreas Schwab <schwab@redhat.com>
21921
21922 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21923 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21924 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21925 ($(objpfx)tst-fnmatch-mem): New rule.
21926 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21927 * posix/tst-fnmatch.c (main): Call mtrace.
21928
13b69574
L
219292010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21930
21931 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21932 Support Intel processor model 6 and model 0x2c.
21933
da93d214
LM
219342010-11-10 Luis Machado <luisgpm@br.ibm.com>
21935
21936 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21937 signed comparison.
21938
8ca52c6e
L
219392010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21940
21941 [BZ #12205]
21942 * string/test-strncasecmp.c (check_result): New function.
21943 (do_one_test): Use it.
21944 (check1): New function.
21945 (test_main): Use it.
21946 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21947 Support strcasecmp and strncasecmp.
21948
69da074d
UD
219492010-11-08 Ulrich Drepper <drepper@gmail.com>
21950
21951 [BZ #12194]
21952 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21953 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21954
ff02d528
L
219552010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21956
21957 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21958 IFUNC support.
21959 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21960 memset-x86-64.
21961 * sysdeps/x86_64/multiarch/bzero.S: New file.
21962 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21963 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21964 * sysdeps/x86_64/multiarch/memset.S: New file.
21965 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21967 Set bit_Prefer_SSE_for_memop for Intel processors.
21968 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21969 Define.
21970 (index_Prefer_SSE_for_memop): Define.
21971 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21972
344d0b54
LM
219732010-11-04 Luis Machado <luisgpm@br.ibm.com>
21974
21975 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21976 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21977
c0dde15b
UD
219782010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21979
21980 [BZ #12191]
21981 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21982 (__x86_64_raw_data_cache_size_half): Likewise.
21983 (__x86_64_raw_shared_cache_size): Likewise.
21984 (__x86_64_raw_shared_cache_size_half): Likewise.
21985
21986 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21987 (__x86_64_raw_data_cache_size_half): Likewise.
21988 (__x86_64_raw_shared_cache_size): Likewise.
21989 (__x86_64_raw_shared_cache_size_half): Likewise.
21990 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21991 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21992 and __x86_64_raw_shared_cache_size_half. Round
21993 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21994 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21995 to multiple of 256 bytes.
21996
0e516e0e
MS
219972010-11-03 Ulrich Drepper <drepper@gmail.com>
21998
21999 [BZ #12167]
22000 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22001 of inacessible symlinks. Verify result of symlink before returning it.
22002 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22003 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22004
0e012e87
ER
220052010-10-28 Erich Ritz <erichritz@gmail.com>
22006
22007 * math/math.h (isinf): Fix typo in comment.
22008
de0ff7bc
UD
220092010-11-01 Ulrich Drepper <drepper@gmail.com>
22010
22011 * po/da.po: Update from translation team.
22012
fa41c84d
UD
220132010-10-26 Ulrich Drepper <drepper@gmail.com>
22014
22015 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22016 is added to the list.
22017
f0967738
AK
220182010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22019 Ulrich Drepper <drepper@gmail.com>
22020
22021 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22022 the global list here. Move code to...
22023 (_dl_add_to_namespace_list): ...here. New function.
22024 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22025 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22026 * elf/dl-load.c (lose): Don't remove the element from the list.
22027 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22028 (_dl_map_object): Likewise.
22029
220302010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
22031
22032 [BZ #12159]
22033 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22034 into all bytes of SSE register.
22035 Patch by Richard Li <richardpku@gmail.com>.
22036
f0967738 220372010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
22038
22039 [BZ #12140]
22040 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22041 perturbing.
22042
d0b9e94f
MB
220432010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22044
22045 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22046 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22047 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22048 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22050 submachine.
22051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22052
8e9f92e9
AS
220532010-10-22 Andreas Schwab <schwab@redhat.com>
22054
22055 * include/dlfcn.h (__RTLD_SECURE): Define.
22056 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22057 mode & __RTLD_SECURE instead.
22058 (open_path): Rename preloaded parameter to secure.
22059 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22060 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22061 * elf/dl-deps.c (openaux): Likewise.
22062 * elf/rtld.c (struct map_args): Remove is_preloaded.
22063 (map_doit): Don't use it.
22064 (dl_main): Likewise.
22065 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22066 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22067
bc96fbda
AS
220682010-09-09 Andreas Schwab <schwab@redhat.com>
22069
22070 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22071 (sysd-rules-targets): Remove duplicates.
22072 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22073 rtld-%.$o dependency.
22074
22cd1c9b
AS
220752010-10-18 Andreas Schwab <schwab@redhat.com>
22076
22077 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22078 _dl_map_object do it.
22079
18edac48
UD
220802010-10-19 Ulrich Drepper <drepper@gmail.com>
22081
22082 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22083 fast fma builtins, define the macros in the C99 standard.
22084 (FP_FAST_FMAF): Likewise.
22085 (FP_FAST_FMAL): Likewise.
22086 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22087
22088 * bits/mathdef.h: Update copyright year.
22089 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22090
d2050124
MM
220912010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22092
22093 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22094 builtins, define the macros in the C99 standard.
22095 (FP_FAST_FMAF): Likewise.
22096 (FP_FAST_FMAL): Likewise.
22097 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22098 multiply/add.
22099 (FP_FAST_FMAF): Likewise.
22100
475facd1
JJ
221012010-10-15 Jakub Jelinek <jakub@redhat.com>
22102
22103 [BZ #3268]
22104 * math/libm-test.inc (fma_test): Some new testcases.
22105 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22106 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22107 y and infinite z. Do multiplication by C already in long double.
22108 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22109 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22110 y and infinite z. Do bitwise or of inexact bit into u.d.
22111 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22112 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22113 * sysdeps/i386/fpu/s_fma.S: Removed.
22114 * sysdeps/i386/fpu/s_fmal.S: Removed.
22115
7c08a05c
JJ
221162010-10-16 Jakub Jelinek <jakub@redhat.com>
22117
22118 [BZ #3268]
22119 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22120 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22121 computation is not scheduled after fetestexcept. Fix value
22122 of minimum denormal long double.
22123
f3f7372d
JJ
221242010-10-14 Jakub Jelinek <jakub@redhat.com>
22125
22126 [BZ #3268]
22127 * math/libm-test.inc (fma_test): Add some more tests.
22128 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22129 correctly.
22130
14d43591
AS
221312010-10-15 Andreas Schwab <schwab@redhat.com>
22132
22133 * scripts/data/localplt-s390-linux-gnu.data: New file.
22134 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22135
5e908464
JJ
221362010-10-13 Jakub Jelinek <jakub@redhat.com>
22137
22138 [BZ #3268]
22139 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22140 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22141 instead of dbl-64.
22142 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22143 inlines.
22144 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22145 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22146 if one of x and y is very large and the other is subnormal.
22147 * sysdeps/s390/fpu/s_fmaf.c: New file.
22148 * sysdeps/s390/fpu/s_fma.c: New file.
22149 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22150 * sysdeps/powerpc/fpu/s_fma.S: New file.
22151 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22152 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22153 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22154
221552010-10-12 Jakub Jelinek <jakub@redhat.com>
22156
22157 [BZ #3268]
22158 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22159 fma tests.
22160 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22161 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22162 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22163 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22164 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22165 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22166 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22167
b833d51f
UD
221682010-10-12 Ulrich Drepper <drepper@redhat.com>
22169
22170 [BZ #12078]
22171 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22172 * posix/bug-regex31.input: Add test case.
22173
1751705d
UD
221742010-10-11 Ulrich Drepper <drepper@gmail.com>
22175
e9b9cbf5
UD
22176 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22177 * posix/bug-regex31.input: New file.
22178
22179 [BZ #12078]
22180 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22181 (parse_sub_exp): Fix last change, use postorder.
22182
ef06edbe
UD
22183 * posix/bug-regex31.c: New file.
22184 * posix/Makefile: Add rules to build and run bug-regex31.
22185
a129c80d
UD
22186 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22187
22188 [BZ #12078]
22189 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22190
b76b818e
UD
22191 [BZ #12108]
22192 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22193 to have entries in sys_siglist.
22194
1751705d
UD
22195 [BZ #12093]
22196 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22197 be NULL.
22198
9ff8d36f
JJ
221992010-10-07 Jakub Jelinek <jakub@redhat.com>
22200
22201 [BZ #3268]
22202 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22203 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22204 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22205 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22206 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22207 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22208 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22209 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22210 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22211 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22212 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22213 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22214 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22215 * math/ftestexcept.c (fetestexcept): Likewise.
22216 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22217 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22218 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22219 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22220 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22221 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22222 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22223
af325969
UD
222242010-10-11 Ulrich Drepper <drepper@gmail.com>
22225
c579b202 22226 [BZ #12107]
af325969
UD
22227 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22228 newline.
22229
67a67b95
UD
222302010-10-06 Ulrich Drepper <drepper@gmail.com>
22231
22232 * string/bug-strstr1.c: New file.
22233 * string/Makefile: Add rules to build and run bug-strstr1.
22234
5fb308bc
EB
222352010-10-05 Eric Blake <eblake@redhat.com>
22236
22237 [BZ #12092]
22238 * string/str-two-way.h (two_way_long_needle): Always clear memory
22239 when skipping input due to the shift table.
22240
45db99c7
UD
222412010-10-03 Ulrich Drepper <drepper@gmail.com>
22242
3b111893
UD
22243 [BZ #12005]
22244 * malloc/mcheck.c: Handle large requests.
22245
45db99c7
UD
22246 [BZ #12077]
22247 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22248 for strncmp and strncasecmp.
22249 * string/stratcliff.c: Add tests for strcmp and strncmp.
22250 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22251
cf7a1eb8
NI
222522010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22253
22254 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22255 __set_fpscr.
22256
6484ba5e
AJ
222572010-09-30 Andreas Jaeger <aj@suse.de>
22258
22259 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22260 (CGROUP_SUPER_MAGIC): Define.
22261 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22262 Handle btrfs and cgroup file systems.
22263 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22264 Likewise.
22265
91c42559
LM
222662010-09-27 Luis Machado <luisgpm@br.ibm.com>
22267
22268 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22269 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22270
87a97932
AK
222712010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22272
22273 [BZ #12067]
22274 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22275 trying to locate the ELF header.
22276
c21cc9bc
AS
222772010-09-27 Andreas Schwab <schwab@redhat.com>
22278
22279 [BZ #11611]
22280 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22281 Mask out sign-bit copies when constructing f_fsid.
22282
315970f6
PB
222832010-09-24 Petr Baudis <pasky@suse.cz>
22284
22285 * debug/stack_chk_fail_local.c: Add missing licence exception.
22286 * debug/warning-nop.c: Likewise.
22287
1ac7a2c7
JM
222882010-09-15 Joseph Myers <joseph@codesourcery.com>
22289
22290 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22291 implementing getdents64 using getdents syscall, set d_type if
22292 __ASSUME_GETDENTS32_D_TYPE.
22293
56801c50
AS
222942010-09-16 Andreas Schwab <schwab@redhat.com>
22295
22296 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22297 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22298
dda51327
UD
222992010-09-21 Ulrich Drepper <drepper@redhat.com>
22300
22301 [BZ #12037]
22302 * posix/unistd.h: Undo change of feature selection for ftruncate from
22303 2010-01-11.
22304
8ffcee4a
UD
223052010-09-20 Ulrich Drepper <drepper@redhat.com>
22306
a545ecd9 22307 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
22308 detection.
22309
e24f0a8b
AS
223102010-09-20 Andreas Schwab <schwab@redhat.com>
22311
22312 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22313 fanotify_mark.
22314 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22315
7291c56f
AS
223162010-09-14 Andreas Schwab <schwab@redhat.com>
22317
22318 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22319 variables after CHECK_SP call.
22320 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22321
bc5fb037
AS
223222010-09-13 Andreas Schwab <schwab@redhat.com>
22323 Ulrich Drepper <drepper@redhat.com>
22324
22325 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22326 re-relocationg ld.so.
22327 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22328 _dl_init_paths call.
22329 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22330 here anymore.
22331
e66e7419
UD
223322010-09-14 Ulrich Drepper <drepper@redhat.com>
22333
22334 * resolv/res_init.c (__res_vinit): Count the default server we added.
22335
c044aa75
CLT
223362010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22337 Ulrich Drepper <drepper@redhat.com>
22338
22339 [BZ #11968]
22340 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22341 (____longjmp_chk): Use %ebx for saving value across system call.
22342 Add unwind info.
22343
32cf4069
AS
223442010-09-06 Andreas Schwab <schwab@redhat.com>
22345
22346 * manual/Makefile: Don't mix pattern rules with normal rules.
22347
817328ee
AS
223482010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22349
22350 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22351 operation.
22352 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22353 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22354 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22355 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22356 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22357 Likewise.
22358
29fddf61
UD
223592010-09-04 Ulrich Drepper <drepper@redhat.com>
22360
22361 [BZ #11979]
22362 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22363 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22364
0959ffc9
UD
223652010-09-02 Ulrich Drepper <drepper@redhat.com>
22366
22367 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22368 * sysdeps/x86_64/addmul_1.S: Likewise.
22369 * sysdeps/x86_64/lshift.S: Likewise.
22370 * sysdeps/x86_64/mul_1.S: Likewise.
22371 * sysdeps/x86_64/rshift.S: Likewise.
22372 * sysdeps/x86_64/sub_n.S: Likewise.
22373 * sysdeps/x86_64/submul_1.S: Likewise.
22374
ece29840
ST
223752010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22376
0959ffc9
UD
22377 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22378 Define __sched_param instead of SCHED_* and sched_param when
ece29840 22379 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 22380 * bits/sched.h [__need_schedparam]
ece29840 22381 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
22382 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22383 (__defined_schedparam): Define to 1.
ece29840
ST
22384 (__sched_param): New structure, identical to sched_param.
22385 (__need_schedparam): Undefine.
22386
e53a31fe
MF
223872010-08-31 Mike Frysinger <vapier@gentoo.org>
22388
fdc0c10d
MF
22389 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22390 (epoll_create1): Declare.
22391
e53a31fe
MF
22392 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22393
a726d796
AS
223942010-08-31 Andreas Schwab <schwab@redhat.com>
22395
22396 [BZ #7066]
22397 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22398 shifting retval into place.
22399
2f3e3dc7
UD
224002010-09-01 Ulrich Drepper <drepper@redhat.com>
22401
f2933da9
UD
22402 * nis/rpcsvc/nis.h: Update copyright notice.
22403 * nis/rpcsvc/nis.x: Likewise.
22404 * nis/rpcsvc/nis_callback.h: Likewise.
22405 * nis/rpcsvc/nis_callback.x: Likewise.
22406 * nis/rpcsvc/nis_object.x: Likewise.
22407 * nis/rpcsvc/nis_tags.h: Likewise.
22408 * nis/rpcsvc/yp.h: Likewise.
22409 * nis/rpcsvc/yp.x: Likewise.
22410 * nis/rpcsvc/ypupd.h: Likewise.
22411 * nis/yp_xdr.c: Likewise.
22412 * nis/ypupdate_xdr.c: Likewise.
22413
2f3e3dc7
UD
22414 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22415 mainly the body of pmap_getport. Add parameters to specify timeouts.
22416 (pmap_getport): Use __libc_rpc_getport.
22417 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22418 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22419 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22420
f3dcc2f9
AS
224212010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22422
22423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22424 fanotify_mark.
22425
6d34eb5b
RM
224262010-08-27 Roland McGrath <roland@redhat.com>
22427
22428 * sysdeps/i386/i686/multiarch/Makefile
22429 (CFLAGS-varshift.c): New variable.
22430
9ea3de11
UD
224312010-08-27 Ulrich Drepper <drepper@redhat.com>
22432
c96d23fc
UD
22433 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22434 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22435
9ea3de11
UD
22436 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22437
22438 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22439
623aac7f
L
224402010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22441
22442 * sysdeps/x86_64/strlen.S: Unroll the loop.
22443 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22444 strlen-sse2 strlen-sse2-bsf.
22445 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22446 __strlen_no_bsf if bit_Slow_BSF is set.
22447 (__strlen_sse42): Removed.
22448 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22449 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22450
8b2b7715
RM
224512010-08-25 Roland McGrath <roland@redhat.com>
22452
22453 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22454 * sysdeps/x86_64/multiarch/varshift.c: New file.
22455 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22456 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22457 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22458 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22459
e73015f2
L
224602010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22461
22462 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22463 strlen-sse2 strlen-sse2-bsf.
22464 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22465 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22466 (__strlen_sse2): Removed.
22467 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22468 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22469 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22470 bit_Slow_BSF for Atom.
22471 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22472 (index_Slow_BSF): Define.
22473 (HAS_SLOW_BSF): Define.
22474
df24a73e
UD
224752010-08-25 Ulrich Drepper <drepper@redhat.com>
22476
22477 [BZ #10851]
22478 * resolv/res_init.c (__res_vinit): When no server address at all
22479 is given default to loopback.
22480
f2ac4868
RM
224812010-08-24 Roland McGrath <roland@redhat.com>
22482
09055553
RM
22483 * configure.in: Remove config-name.h generation.
22484 * configure: Regenerated.
22485 * config-name.in: File removed.
22486 * scripts/config-uname.sh: New file.
22487 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22488 ($(objdir)config-name.h): New target.
22489
f2ac4868
RM
22490 * sunrpc/rpc_parse.h: Avoid nested comment.
22491
73f27d5e
RH
224922010-08-24 Richard Henderson <rth@redhat.com>
22493 Ulrich Drepper <drepper@redhat.com>
22494 H.J. Lu <hongjiu.lu@intel.com>
22495
22496 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22498 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22499 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22500 _mm_alignr_epi8 with _mm_loadu_si128.
22501 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22502 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22503 (__m128i_shift_right): Removed.
22504 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22505 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22506 * sysdeps/x86_64/multiarch/varshift.h: New file.
22507 * sysdeps/x86_64/multiarch/varshift.S: New file.
22508
84b9230c
MF
225092010-08-21 Mike Frysinger <vapier@gentoo.org>
22510
22511 * configure.in: Move assembler checks to before sysdep dir checking.
22512
9bbd0ddc
PB
225132010-08-20 Petr Baudis <pasky@suse.cz>
22514
22515 * LICENSES: Sync the sunrpc license.
22516
9da4bb31
UD
225172010-08-19 Ulrich Drepper <drepper@redhat.com>
22518
a7ab6ec8
UD
22519 * sunrpc/auth_des.c: Update copyright notice once again.
22520 * sunrpc/auth_none.c: Likewise.
22521 * sunrpc/auth_unix.c: Likewise.
22522 * sunrpc/authdes_prot.c: Likewise.
22523 * sunrpc/authuxprot.c: Likewise.
22524 * sunrpc/bindrsvprt.c: Likewise.
22525 * sunrpc/clnt_gen.c: Likewise.
22526 * sunrpc/clnt_perr.c: Likewise.
22527 * sunrpc/clnt_raw.c: Likewise.
22528 * sunrpc/clnt_simp.c: Likewise.
22529 * sunrpc/clnt_tcp.c: Likewise.
22530 * sunrpc/clnt_udp.c: Likewise.
22531 * sunrpc/clnt_unix.c: Likewise.
22532 * sunrpc/des_crypt.c: Likewise.
22533 * sunrpc/des_soft.c: Likewise.
22534 * sunrpc/get_myaddr.c: Likewise.
22535 * sunrpc/getrpcport.c: Likewise.
22536 * sunrpc/key_call.c: Likewise.
22537 * sunrpc/key_prot.c: Likewise.
22538 * sunrpc/openchild.c: Likewise.
22539 * sunrpc/pm_getmaps.c: Likewise.
22540 * sunrpc/pm_getport.c: Likewise.
22541 * sunrpc/pmap_clnt.c: Likewise.
22542 * sunrpc/pmap_prot.c: Likewise.
22543 * sunrpc/pmap_prot2.c: Likewise.
22544 * sunrpc/pmap_rmt.c: Likewise.
22545 * sunrpc/rpc/auth.h: Likewise.
22546 * sunrpc/rpc/auth_unix.h: Likewise.
22547 * sunrpc/rpc/clnt.h: Likewise.
22548 * sunrpc/rpc/des_crypt.h: Likewise.
22549 * sunrpc/rpc/key_prot.h: Likewise.
22550 * sunrpc/rpc/netdb.h: Likewise.
22551 * sunrpc/rpc/pmap_clnt.h: Likewise.
22552 * sunrpc/rpc/pmap_prot.h: Likewise.
22553 * sunrpc/rpc/pmap_rmt.h: Likewise.
22554 * sunrpc/rpc/rpc.h: Likewise.
22555 * sunrpc/rpc/rpc_des.h: Likewise.
22556 * sunrpc/rpc/rpc_msg.h: Likewise.
22557 * sunrpc/rpc/svc.h: Likewise.
22558 * sunrpc/rpc/svc_auth.h: Likewise.
22559 * sunrpc/rpc/types.h: Likewise.
22560 * sunrpc/rpc/xdr.h: Likewise.
22561 * sunrpc/rpc_clntout.c: Likewise.
22562 * sunrpc/rpc_cmsg.c: Likewise.
22563 * sunrpc/rpc_common.c: Likewise.
22564 * sunrpc/rpc_cout.c: Likewise.
22565 * sunrpc/rpc_dtable.c: Likewise.
22566 * sunrpc/rpc_hout.c: Likewise.
22567 * sunrpc/rpc_main.c: Likewise.
22568 * sunrpc/rpc_parse.c: Likewise.
22569 * sunrpc/rpc_parse.h: Likewise.
22570 * sunrpc/rpc_prot.c: Likewise.
22571 * sunrpc/rpc_sample.c: Likewise.
22572 * sunrpc/rpc_scan.c: Likewise.
22573 * sunrpc/rpc_scan.h: Likewise.
22574 * sunrpc/rpc_svcout.c: Likewise.
22575 * sunrpc/rpc_tblout.c: Likewise.
22576 * sunrpc/rpc_util.c: Likewise.
22577 * sunrpc/rpc_util.h: Likewise.
22578 * sunrpc/rpcinfo.c: Likewise.
22579 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22580 * sunrpc/rpcsvc/key_prot.x: Likewise.
22581 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22582 * sunrpc/rpcsvc/mount.x: Likewise.
22583 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22584 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22585 * sunrpc/rpcsvc/rex.x: Likewise.
22586 * sunrpc/rpcsvc/rstat.x: Likewise.
22587 * sunrpc/rpcsvc/rusers.x: Likewise.
22588 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22589 * sunrpc/rpcsvc/spray.x: Likewise.
22590 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22591 * sunrpc/rtime.c: Likewise.
22592 * sunrpc/svc.c: Likewise.
22593 * sunrpc/svc_auth.c: Likewise.
22594 * sunrpc/svc_authux.c: Likewise.
22595 * sunrpc/svc_raw.c: Likewise.
22596 * sunrpc/svc_run.c: Likewise.
22597 * sunrpc/svc_simple.c: Likewise.
22598 * sunrpc/svc_tcp.c: Likewise.
22599 * sunrpc/svc_udp.c: Likewise.
22600 * sunrpc/svc_unix.c: Likewise.
22601 * sunrpc/svcauth_des.c: Likewise.
22602 * sunrpc/xcrypt.c: Likewise.
22603 * sunrpc/xdr.c: Likewise.
22604 * sunrpc/xdr_array.c: Likewise.
22605 * sunrpc/xdr_float.c: Likewise.
22606 * sunrpc/xdr_mem.c: Likewise.
22607 * sunrpc/xdr_rec.c: Likewise.
22608 * sunrpc/xdr_ref.c: Likewise.
22609 * sunrpc/xdr_sizeof.c: Likewise.
22610 * sunrpc/xdr_stdio.c: Likewise.
22611
9da4bb31
UD
22612 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22613 handling.
22614
bdaa77bc
AS
226152010-08-19 Andreas Schwab <schwab@redhat.com>
22616
22617 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22618
fe2f79db
LM
226192010-08-19 Luis Machado <luisgpm@br.ibm.com>
22620
22621 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22622 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22623 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22624 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22625 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22626 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22627 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22628 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22629 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22630 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22631 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22632 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22633 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22634 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22635
b9b42ee0
AB
226362010-07-26 Anton Blanchard <anton@samba.org>
22637
22638 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22639 * malloc/arena.c (heap_trim): Likewise.
22640
1c06ba31
UD
226412010-08-16 Ulrich Drepper <drepper@redhat.com>
22642
22643 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22644 here. Not...
22645 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22646 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22647
f8392f40
L
226482010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22649
22650 * sysdeps/i386/elf/Makefile: New file.
22651
3162f12e
AS
226522010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22653
22654 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22655 from fanotify_init.
22656 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22657 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22658
28c90b2c
UD
226592010-08-15 Ulrich Drepper <drepper@redhat.com>
22660
22661 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22662 of strncasecmp_l.
1feccb6c 22663 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 22664
ca6bb004
UD
226652010-08-14 Ulrich Drepper <drepper@redhat.com>
22666
e9f82e0d
UD
22667 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22668 strncase_l-nonascii.
22669 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22670 Add strncase_l-ssse3.
22671 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22672 * sysdeps/x86_64/strcmp.S: Likewise.
22673 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22674 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22675 * sysdeps/x86_64/strncase.S: New file.
22676 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22677 * sysdeps/x86_64/strncase_l.S: New file.
22678 * string/Makefile (strop-tests): Add strncasecmp.
22679 * string/test-strncasecmp.c: New file.
22680
22681 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22682 warning.
22683
ca6bb004
UD
22684 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22685 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22686
052fa7b3
AS
226872010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22688
22689 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22690
962dba78
UD
226912010-08-12 Ulrich Drepper <drepper@redhat.com>
22692
22693 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22694 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22695 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22696
bebff237
AM
226972010-05-01 Alan Modra <amodra@gmail.com>
22698
22699 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22700 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22701 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22702 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22703 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22704 tidying. Don't tail-call __sigjmp_save for static lib.
22705 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22706 save location.
22707 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22708 (CALL_MCOUNT): Add eh info, and nop after bl.
22709 (TAIL_CALL_SYSCALL_ERROR): New macro.
22710 (PSEUDO_RET): Use it.
22711 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22712 Correct save location of integer regs and cr.
22713 (_dl_profile_resolve): Correct cr save location. Delete nops
22714 after bl when SHARED. Reduce cfi size a little by better
22715 placement of cfi directives.
22716 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22717 make a stack frame. Instead use parm save area as a temp.
22718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22719 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22721 Don't make a stack frame for parent, use parm save area.
22722 Increase child stack frame to 112 bytes. Don't save unused reg,
22723 and adjust reg usage. Set up cfi on error recovery and
22724 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22726 (__makecontext): Add dummy nop after jump to exit.
22727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22728 Use correct parm save area and cr save, reduce stack frame.
22729 Correct cfi for possible PSEUDO_RET frame setup.
22730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22731 Branch to local label emitted by PSEUDO_RET rather than
22732 __syscall_error.
22733
02637374
AS
227342010-08-12 Andreas Schwab <schwab@redhat.com>
22735
22736 [BZ #11904]
22737 * locale/programs/locale.c (print_assignment): New function.
22738 (show_locale_vars): Use it.
22739
c3e2f19b
UD
227402010-08-11 Ulrich Drepper <drepper@redhat.com>
22741
3cdaa6ad
UD
22742 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22743 field.
22744 (struct statfs64): Likewise.
22745 (_STATFS_F_FLAGS): Define.
22746 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22747 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22748 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22749 (ST_VALID): Define locally.
22750 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22751 __statvfs_getflags, use the provided value.
22752 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22753 __ASSUME_STATFS_F_FLAGS.
22754
754f7da3
UD
22755 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22756
10b3bedc
UD
22757 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22758 Add sys/fanotify.h.
22759 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22760 fanotify_mask for GLIBC_2.13.
22761 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22762 fanotify_init and fanotify_mark.
22763 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22764 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22765
c08fb0d7
UD
22766 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22767 Add prlimit.
22768 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22769 prlimit64 for GLIBC_2.13.
22770 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22771 prlimit64.
22772 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22773 syscall.
22774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22775 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22776 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22777 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22778 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22779 add prlimit alias.
22780 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22781
15bac72b
UD
22782 [BZ #11903]
22783 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22784 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22785
c3e2f19b
UD
22786 * nss/Makefile: Add rules to build and run tst-nss-test1.
22787 * shlib-versions: Add entry for libnss_test1.
22788 * nss/nss_test1.c: New file.
22789 * nss/tst-nss-test1.c: New file.
22790
22791 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22792 (__nss_configure_lookup): Set appropriate entry in
22793 __nss_configure_lookup to true.
22794 * nss/nsswitch.h: Define enum with indeces of databases in
22795 databases and __nss_database_custom arrays. Declare
22796 __nss_database_custom.
22797 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22798 to avoid using nscd when custom rules are installed.
22799 * nss/getXXbyYY_r.c: Likewise.
22800 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22801
22802 * nss/nss_files/files-parse.c: Whitespace fixes.
22803
f15ce4d8
UD
228042010-08-09 Ulrich Drepper <drepper@redhat.com>
22805
22806 [BZ #11883]
22807 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22808 * posix/fnmatch_loop.c: Likewise.
22809
d22e4cc9
AK
228102010-07-17 Andi Kleen <ak@linux.intel.com>
22811
22812 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22813 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22814 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22815 * Versions.def [GLIBC_2.13]: Add.
22816
805bc17d
UD
228172010-08-06 Ulrich Drepper <drepper@redhat.com>
22818
22819 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22820 Also fail if tpwd after pwuid call is NULL.
22821
5a42321d
ST
228222010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22823
22824 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22825 when converting to ms.
22826
fd3ebeda
ST
228272010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22828
22829 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22830 EOPNOTSUPP errors with ENOTTY.
22831 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22832 EOPNOTSUPP errors with ENOTTY.
22833
73507d3a
UD
228342010-07-31 Ulrich Drepper <drepper@redhat.com>
22835
22836 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22837 Add strcasecmp_l-ssse3.
22838 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22839 strcasecmp.
22840 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22841 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22842 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22843
fe36dd02
UD
228442010-07-30 Ulrich Drepper <drepper@redhat.com>
22845
66f6765a
UD
22846 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22847
42e08a54
UD
22848 * string/Makefile (strop-tests): Add strcasecmp.
22849 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22850 strcasecmp_l-nonascii.
22851 (gen-as-const-headers): Add locale-defines.sym.
22852 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22853 * sysdeps/x86_64/strcasecmp.S: New file.
22854 * sysdeps/x86_64/strcasecmp_l.S: New file.
22855 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22856 * sysdeps/x86_64/locale-defines.sym: New file.
22857 * string/test-strcasecmp.c: New file.
22858
fe36dd02
UD
22859 * string/test-strcasestr.c: Test both ends of the range of characters.
22860 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22861
48cbc0d6
RM
228622010-07-29 Roland McGrath <roland@redhat.com>
22863
76e6d6bc 22864 [BZ #11856]
48cbc0d6
RM
22865 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22866
880113d9
UD
228672010-07-27 Ulrich Drepper <drepper@redhat.com>
22868
22869 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22870 for ld.so.
22871
deb9cabb
AS
228722010-07-27 Andreas Schwab <schwab@redhat.com>
22873
22874 * manual/memory.texi (Malloc Tunable Parameters): Document
22875 M_PERTURB.
22876
1c7570ff
RM
228772010-07-26 Roland McGrath <roland@redhat.com>
22878
22879 [BZ #11840]
22880 * configure.in (-fgnu89-inline check): Set and substitute
22881 gnu89_inline, not libc_cv_gnu89_inline.
22882 * configure: Regenerated.
22883 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22884
24fb0f88
UD
228852010-07-26 Ulrich Drepper <drepper@redhat.com>
22886
22887 * string/test-strnlen.c: New file.
22888 * string/Makefile (strop-tests): Add strnlen.
22889 * string/tester.c (test_strnlen): Add a few more test cases.
22890 * string/tst-strlen.c: Better error reporting.
22891
22892 * sysdeps/x86_64/strnlen.S: New file.
22893
8e96b93a
UD
228942010-07-24 Ulrich Drepper <drepper@redhat.com>
22895
22896 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22897 lower-latency instructions.
22898
dbc676d4
UD
228992010-07-23 Ulrich Drepper <drepper@redhat.com>
22900
22901 * string/test-strcasestr.c: New file.
22902 * string/test-strstr.c: New file.
22903 * string/Makefile (strop-tests): Add strstr and strcasestr.
22904 * string/str-two-way.h: Don't undefine MAX.
22905 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22906
f6a31e0e
AS
229072010-07-21 Andreas Schwab <schwab@redhat.com>
22908
22909 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22910 strcasestr-nonascii.
22911 (CFLAGS-strcasestr-nonascii.c): Define.
22912 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22913 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22914 Remove unused attribute.
22915
5dbc3b6c
RM
229162010-07-20 Roland McGrath <roland@redhat.com>
22917
22918 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22919 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22920 ld.so.cache was broken. With it, there is no way to disable dsocaps
22921 like LD_HWCAP_MASK can disable hwcaps.
22922
23d101d8
EPM
229232010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22924
22925 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22926
cc9f2e47
UD
229272010-07-16 Ulrich Drepper <drepper@redhat.com>
22928
22929 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22930 call in strcasestr.
22931 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22932 __strcasestr_sse42_nonascii.
22933 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22934 strcasestr-nonascii.c.
22935 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22936
77c1b069
LM
229372010-06-15 Luis Machado <luisgpm@br.ibm.com>
22938
22939 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22940 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22941 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22942 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22943
440566c3
UD
229442010-07-09 Ulrich Drepper <drepper@redhat.com>
22945
22946 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22947 fcntl.
22948
5be9d05d
AS
229492010-07-06 Andreas Schwab <schwab@redhat.com>
22950
c30b7ee2 22951 [BZ #11577]
5be9d05d
AS
22952 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22953 dl_signal_cerror.
22954
8a492a67
UD
229552010-07-06 Ulrich Drepper <drepper@redhat.com>
22956
22957 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22958 _PC_PIPE_BUF using F_GETPIPE_SZ.
22959
713df3d5
RM
229602010-07-05 Roland McGrath <roland@redhat.com>
22961
22962 * manual/arith.texi (Rounding Functions): Fix rint description
22963 implicit in round description.
22964
702e8f14
UD
229652010-07-02 Ulrich Drepper <drepper@redhat.com>
22966
22967 * elf/Makefile: Fix linking for a few tests to make recent linker
22968 happy.
22969
52ed8be9
AS
229702010-06-30 Andreas Schwab <schwab@redhat.com>
22971
22972 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22973 $(common-objpfx)libc_nonshared.a.
22974
f47c9a11
LM
229752010-06-21 Luis Machado <luisgpm@br.ibm.com>
22976
22977 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22978 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22979 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22980 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22981 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22982 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22983 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22984 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22999 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23000 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23001 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23002 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23003 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23004 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23005 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23006 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23007 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23008 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23009 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23010 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23025
6fb8cbcb
L
230262010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23027
23028 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23029 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23030 * string/memmove.c (memmove): Renamed to ...
23031 (MEMMOVE): ...this. Default to memmove.
23032 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23033 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23034 (END_CHK): Define.
23035 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23036 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23037 mempcpy-ssse3-back memmove-ssse3-back.
23038 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23039 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23040 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23041 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23042 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23043 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23044 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23045 * sysdeps/x86_64/multiarch/memmove.c: New file.
23046 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23047 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23048 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23049 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23050 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23051 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23052 Define.
23053 (index_Fast_Copy_Backward): Define.
23054 (HAS_ARCH_FEATURE): Define.
23055 (HAS_FAST_REP_STRING): Define.
23056 (HAS_FAST_COPY_BACKWARD): Define.
23057
4e733bac 230582010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
23059
23060 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23061 Restore proper fallback handling.
23062
63c4ed22
UD
230632010-06-19 Ulrich Drepper <drepper@redhat.com>
23064
ac2b484c
UD
23065 [BZ #11701]
23066 * posix/group_member.c (__group_member): Correct checking loop.
23067
63c4ed22
UD
23068 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23069 OOM in getpwuid_r correctly. Return error number when the caller
23070 should return, otherwise -1.
23071 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23072 call returning > 0 value.
23073 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23074
765ade4b
AS
230752010-06-07 Andreas Schwab <schwab@redhat.com>
23076
23077 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23078 libc_nonshared.a from targets in modules-names.
23079
80da2e09
KS
230802010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23081
23082 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23083 requires it.
23084
158db122
LM
230852010-06-10 Luis Machado <luisgpm@br.ibm.com>
23086
23087 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23088 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23089 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23090 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23091
caa78cf8
AS
230922010-06-02 Andreas Schwab <schwab@redhat.com>
23093
23094 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23095
b2ef2c01
UD
230962010-06-14 Ulrich Drepper <drepper@redhat.com>
23097
23098 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23099 and F_GETPIPE_SZ.
23100 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23101 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23102 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23103 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23104 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23105 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23106
fbd643b6
RM
231072010-06-14 Roland McGrath <roland@redhat.com>
23108
23109 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23110
f32f2869
JJ
231112010-06-07 Jakub Jelinek <jakub@redhat.com>
23112
23113 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23114 __REDIRECT followed by __THROW.
23115 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23116 * posix/getopt.h (getopt): Likewise.
23117
2a50c078
EPM
231182010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23119
23120 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23121 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23122 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23123 in AT_FLAGS.
23124 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23125 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23126
eb5ad2eb
LM
231272010-05-28 Luis Machado <luisgpm@br.ibm.com>
23128
23129 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23130
3c88fe1e
L
231312010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23132
23133 [BZ #11640]
23134 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23135 Properly check family and model.
23136
d2f73151
TY
231372010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23138
23139 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23140
ebd2e13d
LM
231412010-05-24 Luis Machado <luisgpm@br.ibm.com>
23142
23143 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23144
b32b8b45
UD
231452010-05-21 Ulrich Drepper <drepper@redhat.com>
23146
23147 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23148 symbol reference.
23149
9acbe24d
AS
231502010-05-19 Andreas Schwab <schwab@redhat.com>
23151
23152 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23153 symbol reference.
23154
f0ccf6ea
AS
231552010-05-21 Andreas Schwab <schwab@redhat.com>
23156
3d04ff3a
AS
23157 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23158 and internal_recvmmsg.
23159 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23160 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23161 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23162 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23163
f0ccf6ea
AS
23164 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23165 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23166 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23167
5b08ac57
AS
231682010-05-20 Andreas Schwab <schwab@redhat.com>
23169
23170 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23171
4828935d
LM
231722010-05-17 Luis Machado <luisgpm@br.ibm.com>
23173
23174 POWER7 optimizations.
23175 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23176 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23177
373d545e
UD
231782010-05-19 Ulrich Drepper <drepper@redhat.com>
23179
23180 * version.h: Update for 2.13 development version.
23181
21a2b1ae
AS
231822010-05-12 Andrew Stubbs <ams@codesourcery.com>
23183
23184 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23185 exceptions. Return 0.
23186
3f7dcb2b
RM
231872010-05-07 Roland McGrath <roland@redhat.com>
23188
23189 * elf/ldconfig.c (main): Add a const.
23190
5f24d53a 231912010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 23192
a160f8d8
UD
23193 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23194 (args_options): Add no-idn option.
23195 (ahosts_keys_int): Add idn_flags to ai_flags.
23196 (parse_option): Handle 'i' option to clear idn_flags.
23197
5f24d53a
UD
23198 * malloc/malloc.c (_int_free): Possible race in the most recently
23199 added check. Only act on the data if no current modification
23200 happened.
265bb1ce
UD
23201
23202See ChangeLog.17 for earlier changes.