]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
ChangeLog: add missing typo
[thirdparty/glibc.git] / ChangeLog
CommitLineData
4c4febf5
AJ
12012-12-28 Andreas Jaeger <aj@suse.de>
2
af5843ef
AJ
3 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4 values are from Linux 3.7.
5
4c4febf5
AJ
6 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
7 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8
99136f82
SP
92012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10
2f216c3c 11 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
12 TRUE case.
13
99136f82
SP
14 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15 (norm): Likewise.
16 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
17 variables with preprocessor constants.
18 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21
7fffbdff
BH
222012-12-27 Bruno Haible <bruno@clisp.org>
23
24 [BZ #14317]
25 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26 only if needed.
27
b76eb5f0
SP
282012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29
31a7fe5c
SP
30 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31 and use variable directly.
32 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33
b76eb5f0
SP
34 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
35 MPONE.
36 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
37 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38 variable MPONE.
39 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
40 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
42 include directive. Remove local variable MPONE.
43 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
44 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
45 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46
2c8bfe7d
DM
472012-12-25 David S. Miller <davem@davemloft.net>
48
49 * version.h (RELEASE): Set to "development".
50 (VERSION): Set to "2.17.90".
51 * NEWS: Add 2.18 section.
52
147d03b0
DM
532012-12-21 David S. Miller <davem@davemloft.net>
54
55 * po/hr.po: Update from translation team.
56
a8ebb2b9
AK
572012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58
59 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
60
95b4f1b6
SE
612012-12-19 Steve Ellcey <sellcey@mips.com>
62
b2d94007 63 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 64
cedb2a90
MS
652012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
66
67 * manual/contrib.texi (Contributors): Spelling correction.
68
bbf527d6
DM
692012-12-15 David S. Miller <davem@davemloft.net>
70
71 * po/ru.po: Update from translation team.
72
bc38c906
DM
732012-12-13 David S. Miller <davem@davemloft.net>
74
85429b1a
DM
75 * NEWS: Mention IFUNC testsuite enhancements.
76
d283e353
DM
77 * po/pl.po: Update from translation team.
78 * po/bg.po: Likewise.
79
bc38c906
DM
80 * manual/contrib.texi (Contributors): Update entries for Hongjiu
81 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
82
a181b0d7
DM
832012-12-11 David S. Miller <davem@davemloft.net>
84
4641d57e
DM
85 * po/sv.po: Update from translation team.
86
f7bc6495
DM
87 * po/vi.po: Update from translation team.
88
6fc9048f
DM
89 * po/cs.po: Update from translation team.
90
a181b0d7
DM
91 * po/de.po: Update from translation team.
92 * po/eo.po: Likewise.
93 * po/nl.po: Likewise.
94
f70bfe80
SP
952012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
96
3c8b4190
SP
97 [BZ #14246]
98 * manual/argp.texi (Argp Helper Functions): Move node to follow
99 Argp Parsing State.
100
f70bfe80
SP
101 [BZ #14872]
102 * manual/conf.texi (Limits on File System Capacity): Mention if
103 terminating null is included in the max size.
104
188f0adf
AJ
1052012-12-10 Andreas Jaeger <aj@suse.de>
106
107 * po/cs.po: Update from translation team.
108
56e7d3ad
SP
1092012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
110
111 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
112 void pointer and cast to uintptr_t.
113 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
114 path.
115 * sysdeps/s390/s390-64/memcpy.S: Likewise.
116 * sysdeps/s390/s390-64/memset.S: Likewise.
117
76f2d2ea 1182012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
119
120 [BZ #14833]
121 * menual/message.texi (Message Translation): Fix typos.
122 (Helper programs for gettext): Likewise.
123
67cbf9a2
AS
1242012-12-07 Andreas Schwab <schwab@linux-m68k.org>
125
126 [BZ #14898]
127 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
128 Change to -1.
129
682d0e9a
DM
1302012-12-07 David S. Miller <davem@davemloft.net>
131
132 * po/libc.pot: Update.
133
573cd484
RH
1342012-12-07 Richard Henderson <rth@redhat.com>
135
7e9da188 136 [BZ #10114]
573cd484
RH
137 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
138 normal/normal case to before the switch.
139 (_FP_DIV): Likewise.
140
e933a943
MF
1412012-12-06 Carlos O'Donell <carlos@systemhalted.org>
142 Mike Frysinger <vapier@gentoo.org>
143
144 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
145 check for __NR_fadvise64_64.
146
82123268
CM
1472012-12-06 Chris Metcalf <cmetcalf@tilera.com>
148
149 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
150 0, not just to plain "0" as a statement.
151 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
152 with cw.
153
d9814526
JM
1542012-12-06 Joseph Myers <joseph@codesourcery.com>
155
156 * NEWS: Use sourceware.org in Bugzilla URL.
157
7728c574
SP
1582012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
159
f16946dd
SP
160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
161 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
162
5704bbcb
SP
163 * stdio-common/tst-put-error.c (do_test): Add newline to the
164 padded test to ensure flush.
165
17aa0516
JL
1662012-12-05 Jeff Law <law@redhat.com>
167
168 * sunrpc/etc.rpc (fedfs_admin): Add entry.
169
363313b5
JM
1702012-12-05 Joseph Myers <joseph@codesourcery.com>
171
effbd42a
JM
172 * README: Don't refer to ports add-on as distributed separately.
173 Mention AArch64 in list of systems supported in the ports add-on.
174
87600365
JM
175 * LICENSES: Add more non-FSF copyright and license notices.
176
a0d7066a
JM
177 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
178 ((unused)).
179
66ca5a5b
JM
180 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
181
363313b5
JM
182 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
183 10000 as width of padded output.
184
b37984ad
JM
1852012-12-04 Joseph Myers <joseph@codesourcery.com>
186
9003570a
JM
187 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
188
b37984ad
JM
189 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
190 variable LX with __attribute__ ((unused)).
191 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
192 Likewise.
193 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
194 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
195 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
196 with __attribute__ ((unused)).
197
c8df52ec
DM
1982012-12-04 David S. Miller <davem@abraco.davemloft.net>
199
200 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
201
b3b099af
JM
2022012-12-04 Joseph Myers <joseph@codesourcery.com>
203
c33aa6e3
JM
204 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
205 (CFLAGS-nldbl-acos.c): New variable.
206 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
207 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
208 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
209 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
210 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
211 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
212 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
213 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
214 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
215 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
216 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
217 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
218 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
219 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
220 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
221 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
222 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
223 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
224 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
225 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
226 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
227 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
228 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
229 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
230 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
231 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
232 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
233 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
234 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
235 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
236 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
237 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
238 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
239 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
240 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
241 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
242 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
243 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
244 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
245 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
246 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
247 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
248 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
249 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
250 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
251 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
252 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
253 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
254 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
255 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
256 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
257 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
258 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
259 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
260 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
261 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
262 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
263 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
264 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
265 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
266 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
267 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
268 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
269 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
270 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
271 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
272 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
273 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
274 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
275 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
276 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
277 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
278 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
279 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
280 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
281 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
282 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
283 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
284 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
285 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
286 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
287 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
288 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
289 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
290 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
291 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
292 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
293 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
294 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
295 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
296 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
297 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
298 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
299 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
300 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
301 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
302 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
303
20f0018d
JM
304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
305 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
306
b3b099af
JM
307 [BZ #14914]
308 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
309 whole low double instead of just low 47 bits when splitting values
310 into two parts.
311
029264d1
AM
3122012-12-03 Allan McRae <allan@archlinux.org>
313
314 * manual/stdio.texi (Predefined Printf Handlers): Remove
315 @hsep and @vsep usage.
316
c9d6789e
MF
3172012-12-03 Mike Frysinger <vapier@gentoo.org>
318
319 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
320 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
321
4b7634a5
JL
3222012-12-03 Jeff Law <law@redhat.com>
323
324 * time/sys/time.h (settimeofday): Do not mark TV argument
325 as __nonnull.
326
eb6cbd24
MF
3272012-12-01 Mike Frysinger <vapier@gentoo.org>
328
329 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
330 when currently writing and seek to current position when not.
331 * libio/Makefile (tests): Remove bug-fclose1.
332 * libio/bug-fclose1.c: Delete.
333
f638872a
JM
3342012-12-01 Joseph Myers <joseph@codesourcery.com>
335
336 * manual/arith.texi (feenableexcept): Fix typo.
337 (fedisableexcept): Likewise.
338
48085d14
RM
3392012-11-30 Roland McGrath <roland@hack.frob.com>
340
341 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
342 second, differently-typed declaration, rather than a cast.
343
1a538b9f
SP
3442012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
345
346 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
347 * include/rpc/svc.h: ... here.
348
d07f2ff1 3492012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
350
351 [BZ #13013]
352 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
353 depending n and resplen2 to catch cases where answer
354 equals answerp2.
355
c93ec1f0
CD
3562012-11-29 Carlos O'Donell <carlos@systemhalted.org>
357
358 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
359 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
360
37db69de
MF
3612012-11-29 Mike Frysinger <vapier@gentoo.org>
362
363 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
364
e10c4e4f
RM
3652012-11-29 Roland McGrath <roland@hack.frob.com>
366
367 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
368
2af1b328
JL
3692012-11-28 Jeff Law <law@redhat.com>
370
371 [BZ #13761]
372 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
373 dataset_temporary. Track alloca usage into alloca_used.
374 If dataset is large allocate and release it via malloc/free.
375
111db5b1
FW
3762012-06-04 Florian Weimer <fweimer@redhat.com>
377
f06cc227 378 [BZ #14197]
111db5b1
FW
379 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
380
dd694abd
DM
3812012-11-28 David S. Miller <davem@davemloft.net>
382
383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
384
9984dd01
JM
3852012-11-28 Joseph Myers <joseph@codesourcery.com>
386
387 [BZ #14803]
388 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
389 of pi/2 rounded to nearest to 64 bits.
390 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
391 nearest to 64 bits.
392 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
393 bits.
394
14bc93a9
JL
3952012-11-28 Jeff Law <law@redhat.com>
396 Martin Osvald <mosvald@redhat.com>
397
398 [BZ #14889]
399 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
400 * sunrpc/svc.c: Include time.h.
401 (__svc_accept_failed): New function.
402 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
403 any reason other than EINTR, call __svc_accept_failed.
404 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
405 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
406
e3c6aa3a
AS
4072012-11-28 Andreas Schwab <schwab@suse.de>
408
409 * scripts/abilist.awk: Also handle indirect functions in .opd
410 section.
411
1bead169
JM
4122012-11-28 Joseph Myers <joseph@codesourcery.com>
413
414 [BZ #13881]
415 * sysdeps/x86/fpu/powl_helper.c: New file.
416 * sysdeps/x86/fpu/Makefile: Likewise.
417 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
418 (p3): New object.
419 (__ieee754_powl): Use __powl_helper for finite arguments except
420 integer exponents below 8.
421 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
422 (p3): New object.
423 (__ieee754_powl): Use __powl_helper for finite arguments except
424 integer exponents below 8.
425 * math/libm-test.inc (pow_test): Add more tests and enable some
426 previously disabled tests.
427 * sysdeps/i386/fpu/libm-test-ulps: Update.
428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
429
0817d63d
SP
4302012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
431 Carlos O'Donell <carlos_odonell@mentor.com>
432
433 * nss/makedb.c (is_prime): Assert that input is odd and greater
434 than 4. Note that fact in a comment too.
435 (next_prime): Add 4 to input.
436
de2fd463
SP
4372012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
438
439 [BZ #11741]
440 * libio/Makefile (tests): Add test case tst-fwrite-error.
441 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
442 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
443 * libio/tst-fwrite-error.c: New test case.
444
c515fb51
L
4452012-11-26 H.J. Lu <hongjiu.lu@intel.com>
446
447 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
448 before casting to void *.
449 * include/libc-internal.h (__pointer_type): New macro.
450 (__integer_if_pointer_type_sub): Likewise.
451 (__integer_if_pointer_type): Likewise.
452 (cast_to_integer): Likewise.
453 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
454 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
455 before casting to atomic64_t.
456 (atomic_exchange_acq): Likewise.
457 (__arch_exchange_and_add_body): Likewise.
458 (__arch_add_body): Likewise.
459 (atomic_add_negative): Likewise.
460 (atomic_add_zero): Likewise.
461
4cf77aa9
JM
4622012-11-26 Joseph Myers <joseph@codesourcery.com>
463
464 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
465 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
466 (add_fdes): Likewise.
467 (linear_search_fdes): Likewise.
468 (binary_search_unencoded_fdes): Likewise.
469
d260b3b4
AS
4702012-11-26 Andreas Schwab <schwab@linux-m68k.org>
471
472 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
473
67060746
AC
4742012-11-24 Adam Conrad <adconrad@0c3.net>
475
476 * configure.in: Autodetect C++ header directories.
477 * configure: Regenerated.
478
800938a1
MF
4792012-11-23 Mike Frysinger <vapier@gentoo.org>
480
481 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
482
4e6e34e6
AS
4832012-11-23 Andreas Schwab <schwab@linux-m68k.org>
484
485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
486
7c7feb47
JM
4872012-11-22 Joseph Myers <joseph@codesourcery.com>
488
7184dcdf
JM
489 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
490 LDBL_MANT_DIG == 106]: Disable some tests.
491 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
492 Likewise.
493 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
494 Likewise.
495
0a42601f
JM
496 [BZ #14871]
497 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
498 input for small inputs. Return +/- pi/2 for large inputs.
499 * math/libm-test.inc (atan_test): Add more tests.
500
79c9b9fe
JM
501 * sysdeps/generic/unwind-dw2-fde-glibc.c
502 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
503 __attribute__ ((unused)).
504
c60d3bf2
JM
505 [BZ #14645]
506 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
507 x * y if x and y are nonzero and z is zero.
508
ef1e0867
JM
509 [BZ #14811]
510 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
511 nonzero exponents with absolute value below 0x1p-117 to +/-
512 0x1p-117.
513
1468ded3
JM
514 [BZ #14869]
515 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
516 up arguments below 2**-450, not just those below 2**-500.
517 * math/libm-test.inc (hypot_test): Add another test.
518
8e27e3cc
JM
519 [BZ #14868]
520 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
521 Return a+b for ratio over 2**120, not 2**60.
522 * math/libm-test.inc (hypot_test): Add another test.
523
c9c0279b
JM
524 * math/libm-test.inc (clog_test): Use
525 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
526 (clog10_test): Likewise.
527
7c7feb47
JM
528 [BZ #6778]
529 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
530
fff1530e
AS
5312012-11-22 Andreas Schwab <schwab@suse.de>
532
533 * sysdeps/i386/fpu/libm-test-ulps: Update.
534
94558d30
PT
5352012-11-22 Pino Toscano <toscano.pino@tiscali.it>
536
537 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
538 printf output with newline.
539
7e1be741
L
5402012-11-21 H.J. Lu <hongjiu.lu@intel.com>
541
6bfea974
L
542 [BZ #14865]
543 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
544 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
545 -z nodlopen, -z initfirst and -z execstack support.
546 * configure: Regenerated.
547
7e1be741
L
548 * elf/elf.h (DF_1_NODIRECT): New macro.
549 (DF_1_IGNMULDEF): Likewise.
550 (DF_1_NOKSYMS): Likewise.
551 (DF_1_NOHDR): Likewise.
552 (DF_1_EDITED): Likewise.
553 (DF_1_NORELOC): Likewise.
554 (DF_1_SYMINTPOSE): Likewise.
555 (DF_1_GLOBAUDIT): Likewise.
556 (DF_1_SINGLETON): Likewise.
557 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
558 DT_1_SUPPORTED_MASK bits.
559 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
560
105ce2ce
CD
5612012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
562
563 * sysdeps/unix/make-syscalls.sh: Document prefixes.
564
123be9de
TS
5652012-11-20 Thomas Schwinge <thomas@codesourcery.com>
566
d072f3f7
TS
567 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
568 macro.
569
123be9de
TS
570 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
571 (sendmmsg): Move declarations...
572 * socket/sys/socket.h: ... here.
573 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
574 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
575 include it from...
576 * socket/recvmmsg.c: ... this new file.
577 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
578 (sendmmsg): Rename to __sendmmsg, create weak alias and make
579 definition of __sendmmsg hidden.
580 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
581 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
582 Move ENOSYS stub into and include it from...
583 * socket/sendmmsg.c: ... this new file.
584 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
585 (sysdep_routines): Move recvmmsg and sendmmsg...
586 * socket/Makefile (routines): ... here.
587 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
588 (GLIBC_PRIVATE): Add __sendmmsg.
589 * include/sys/socket.h (__sendmmsg): Add declarations.
590 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
591 sendmmsg.
592
cf9a5d18
JM
5932012-11-20 Joseph Myers <joseph@codesourcery.com>
594
595 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
596 variable I1 with __attribute__ ((unused)).
597 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
598
ecd4caf9
JM
5992012-11-19 Joseph Myers <joseph@codesourcery.com>
600
be14d48f
JM
601 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
602 DUMMY variables with __attribute__ ((unused)).
603
ecd4caf9
JM
604 * bits/byteswap.h: Include <bits/types.h>.
605 (__bswap_64): Use __uint64_t instead of unsigned long long int.
606
986cab95
PT
6072012-11-19 Pino Toscano <toscano.pino@tiscali.it>
608
609 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
610 string_t. Do not manually set errno.
611 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
612 length with __strnlen. Make sure to both set errno and return it on
613 failure.
614
6d33cc9d
DM
6152012-11-19 David S. Miller <davem@davemloft.net>
616
617 With help from Joseph Myers.
618 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
619 very large arguments properly.
620 * math/libm-test.inc (atan_test): New tests.
621 (atan2_test): New tests.
622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
623 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
624
ee663277
JM
6252012-11-19 Joseph Myers <joseph@codesourcery.com>
626
877f2d8e
JM
627 [BZ #14856]
628 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
629 Define to 3.
630
116fc08a
JM
631 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
632 [POSIX] (EADDRNOTAVAIL): Likewise.
633 [POSIX] (EAFNOSUPPORT): Likewise.
634 [POSIX] (EALREADY): Likewise.
635 [POSIX] (ECONNABORTED): Likewise.
636 [POSIX] (ECONNREFUSED): Likewise.
637 [POSIX] (ECONNRESET): Likewise.
638 [POSIX] (EDESTADDRREQ): Likewise.
639 [POSIX] (EDQUOT): Likewise.
640 [POSIX] (EHOSTUNREACH): Likewise.
641 [POSIX] (EIDRM): Likewise.
642 [POSIX] (EISCONN): Likewise.
643 [POSIX] (ELOOP): Likewise.
644 [POSIX] (EMULTIHOP): Likewise.
645 [POSIX] (ENETDOWN): Likewise.
646 [POSIX] (ENETUNREACH): Likewise.
647 [POSIX] (ENOBUFS): Likewise.
648 [POSIX] (ENODATA): Likewise.
649 [POSIX] (ENOLINK): Likewise.
650 [POSIX] (ENOMSG): Likewise.
651 [POSIX] (ENOPROTOOPT): Likewise.
652 [POSIX] (ENOSR): Likewise.
653 [POSIX] (ENOSTR): Likewise.
654 [POSIX] (ENOTCONN): Likewise.
655 [POSIX] (ENOTSOCK): Likewise.
656 [POSIX] (EOPNOTSUPP): Likewise.
657 [POSIX] (EOVERFLOW): Likewise.
658 [POSIX] (EPROTO): Likewise.
659 [POSIX] (EPROTONOSUPPORT): Likewise.
660 [POSIX] (EPROTOTYPE): Likewise.
661 [POSIX] (ESTALE): Likewise.
662 [POSIX] (ETIME): Likewise.
663 [POSIX] (ETXTBSY): Likewise.
664 [POSIX] (EWOULDBLOCK): Likewise.
665 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
666 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
667 [POSIX] (SEEK_CUR): Likewise.
668 [POSIX] (SEEK_END): Likewise.
669 [POSIX || UNIX98] (mode_t): Do not require.
670 [POSIX] (off_t): Likewise.
671 [POSIX] (pid_t): Likewise.
672 [POSIX] (sys/stat.h): Do not allow header.
673 [POSIX] (unistd.h): Likewise.
674 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
675 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
676 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
677 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
678 require.
679 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
680 sigevent): Specify elements.
681 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
682 entry.
683 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
684 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
685
a483863f
JM
686 * conform/data/cpio.h-data [POSIX]: Disable whole file.
687 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
688 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
689 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
690 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
691 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
692 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
693 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
694 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
695 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
696 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
697 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
698 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
699 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
700 Likewise.
701 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
702 Likewise.
703 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
704 Likewise.
705 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
706 Likewise.
707 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
708 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
709 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
710 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
711 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
712 Specify lower bound on value.
713 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
714 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
715 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
716 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
717 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
718 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
719 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
720 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
721 value.
722 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
723 as optional.
724 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
725 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
726 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
727 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
728 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
729 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
730 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
731 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
732 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
733 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
734 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
735 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
736 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
737 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
738 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
739 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
740 entry.
741 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
742 optional.
743 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
744 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
745 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
746 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
747 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
748 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
749 Likewise.
750 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
751 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
752 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
753 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
754 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
755 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
756 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
757 as optional.
758 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
759 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
760 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
761 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
762 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
763 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
764 specify as optional.
765 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
766 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
767 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
768 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
769 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
770 [XPG3] (NL_LANGMAX): Likewise.
771 [POSIX || XPG3] (NL_MSGMAX): Likewise.
772 [POSIX || XPG3] (NL_NMAX): Likewise.
773 [POSIX || XPG3] (NL_SETMAX): Likewise.
774 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
775 [XPG3] (NZERO): Likewise.
776 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
777 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
778 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
779 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
780 (REG_ERANGE): Expect.
781 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
782 optional-constant.
783 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
784 Use (void) in prototype.
785 [POSIX] (*_t): Allow.
786 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
787 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
788 (WRDE_BADVAL): Expect.
789
5ba924e3
JM
790 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
791 expect.
792 [XPG3 || XPG4] (O_RSYNC): Likewise.
793 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
794 Likewise.
795 [XPG3 || XPG4] (pthread_sigmask): Likewise.
796 [XPG3 || XPG4] (sigqueue): Likewise.
797 [XPG3 || XPG4] (sigtimedwait): Likewise.
798 [XPG3 || XPG4] (sigwaitinfo): Likewise.
799 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
800 [XPG3 || XPG4] (vsnprintf): Likewise.
801 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
802 Likewise.
803 [XPG3 || XPG4] (blksize_t): Likewise.
804 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
805 Likewise.
806 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
807 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
808 [XPG3 || XPG4] (struct itimerspec): Likewise.
809 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
810 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
811 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
812 [XPG3 || XPG4] (clockid_t): Likewise.
813 [XPG3 || XPG4] (timer_t): Likewise.
814 [XPG3 || XPG4] (clock_getres): Likewise.
815 [XPG3 || XPG4] (clock_gettime): Likewise.
816 [XPG3 || XPG4] (clock_settime): Likewise.
817 [XPG3 || XPG4] (nanosleep): Likewise.
818 [XPG3 || XPG4] (timer_create): Likewise.
819 [XPG3 || XPG4] (timer_delete): Likewise.
820 [XPG3 || XPG4] (timer_gettime): Likewise.
821 [XPG3 || XPG4] (timer_getoverrun): Likewise.
822 [XPG3 || XPG4] (timer_settime): Likewise.
823 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
824 [XPG3 || XPG4] (getlogin_r): Likewise.
825 [XPG3 || XPG4] (pread): Likewise.
826 [XPG3 || XPG4] (pthread_atfork): Likewise.
827 [XPG3 || XPG4] (pwrite): Likewise.
828
ee663277
JM
829 [BZ #14835]
830 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
831 <bits/siginfo.h>.
832
942caa16
PT
8332012-11-19 Pino Toscano <toscano.pino@tiscali.it>
834
e19af380
PT
835 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
836 finalizing MALLSTREAM.
837
942caa16
PT
838 * sysdeps/mach/hurd/syncfs.c: New file.
839
cfde9b46
SP
8402012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
841
842 [BZ #14719]
843 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
844 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
845 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
846 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
847 (_nss_dns_gethostbyname4_r): Likewise.
848 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
849 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
850
f6da27e5
PH
8512012-11-19 Peng Haitao <penght@cn.fujitsu.com>
852
853 [BZ #13763]
854 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
855
6665d4a2
SM
8562012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
857
1f51ee92
SM
858 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
859 * elf/cache.c (print_entry): Print ",AArch64" for
860 FLAG_AARCH64_LIB64
861
6665d4a2
SM
862 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
863 * elf/cache.c (print_entry): Print ",hard-float" for
864 FLAG_ARM_LIBHF.
865
05b227bd
DM
8662012-11-18 David S. Miller <davem@davemloft.net>
867
868 With help from Joseph Myers.
869 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
870 cutoff to 2**-13.
871 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
872 cutoff to 2**-25.
873 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
874 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
875 small.
876 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
877 * math/libm-test.inc (y0_test): New tests.
878 (y1_test): New tests.
879 * sysdeps/i386/fpu/libm-test-ulps: Update.
880 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
882
786b0b67
AS
8832012-11-18 Andreas Schwab <schwab@linux-m68k.org>
884
885 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
886 64-bit targets.
887 * configure: Regenerated.
888
8e18b86d
DM
8892012-11-17 David S. Miller <davem@davemloft.net>
890
891 [BZ #14811]
892 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
893 nonzero exponents with absolute value below 0x1p-128 to +/-
894 0x1p-128.
895
531f1ae0
JM
8962012-11-17 Joseph Myers <joseph@codesourcery.com>
897
12df29e2
JM
898 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
899
150dc1a0
JM
900 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
901
531f1ae0
JM
902 * posix/getconf-speclist.c: New file.
903 * posix/posix-envs.def: Likewise.
904 * posix/confstr.c (START_ENV_GROUP): New macro.
905 (END_ENV_GROUP): Likewise.
906 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
907 (KNOWN_PRESENT_ENV_STRING): Likewise.
908 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
909 (UNKNOWN_ENVIRONMENT): Likewise.
910 (confstr): Include posix-envs.def instead of handling
911 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
912 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
913 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
914 (END_ENV_GROUP): Likewise.
915 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
916 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
917 (UNKNOWN_ENVIRONMENT): Likewise.
918 (__sysconf): Include posix-envs.def instead of handling associated
919 cases directly here.
920 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
921 preprocessing getconf-speclist.c rather than running getconf or
922 generating empty file.
923
a93f9cbc
PT
9242012-11-16 Pino Toscano <toscano.pino@tiscali.it>
925
926 * scripts/check-local-headers.sh: Ignore 'mach' headers.
927
d64d9f87
AL
9282012-11-16 Andrej Lajovic <natrij@gmail.com>
929
930 [BZ #14672]
931 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
932
447885eb
DM
9332012-11-16 David S. Miller <davem@davemloft.net>
934
935 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
936 smaller than LDBL_EPSILON/2.0L, just return xm1.
937
bcbf9830
L
9382012-11-16 H.J. Lu <hongjiu.lu@intel.com>
939
940 * elf/tst-array1.c (init): Set constructor priority to 1000.
941 (fini): Set destructor priority to 1000.
942 * elf/tst-array2dep.c: Likewise.
943
2b766585
SP
9442012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
945
946 [BZ #11741]
947 * libio/fileops.c (_IO_new_file_write): Correctly return error.
948 (_IO_new_file_xsputn): Also return EOF if none of the input
949 data was written when overflow failed.
950 * libio/iopadn.c (_IO_padn): Likewise.
951 * libio/iowpadn.c (_IO_wpadn): Likewise.
952 * stdio-common/tst-put-error.c: Add copyright notice.
953 (do_test): Add case for printing padded string.
954 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
955 _IO_padn returned error.
956 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
957 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
958 return EOF.
959
b1848fde
SP
9602012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
961
962 * libio/libioP.h: Add comment note that the references to C++
963 bits are now obsolete.
964
2fd89785
MS
9652012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
966
967 * math/libm-test.inc (check_complex): Use asprintf.
968
e3ea5409
JM
9692012-11-14 Joseph Myers <joseph@codesourcery.com>
970
971 * debug/pcprofiledump.c (print_version): Update copyright year.
972 * malloc/memusagestat.c (print_version): Likewise.
973
2e64d265
L
9742012-11-14 H.J. Lu <hongjiu.lu@intel.com>
975
976 [BZ #14831]
977 * elf/Makefile (tests): Add tst-audit8.
978 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
979 ($(objpfx)tst-audit8.out): New target.
980 (tst-audit8-ENV): New variable.
981 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
982 audit if l_reloc_result is NULL.
983 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
984 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
985 * elf/tst-audit8.c: New file.
986
c485e4d2
MS
9872012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
988
989 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
990 * misc/Makefile (CFLAGS-select.c): Define.
991 * posix/Makefile (CFLAGS-pause.c): Define.
992
3a0d900a
DM
9932012-11-13 David S. Miller <davem@davemloft.net>
994
995 * crypt/Makefile: Move test targets after toplevel Rules
996 inclusion. Grab any necessary sysdep routines when linking.
997 * crypt/md5.c (md5_process_block): Remove define, we will always
998 name it __md5_process_block.
999 (md5_finish_ctx): Update md5_process_block call.
1000 (md5_stream): Likewise.
1001 (md5_process_bytes): Likewise.
1002 (md5_process_block): Rename to __md5_process_block and move to ...
1003 * crypt/md5-block.c: ... here.
1004 * crypt/sha256.c (sha256_process_block): Move to ...
1005 * crypt/sha256-block.c: ... here.
1006 * crypt/sha512.c (sha512_process_block): Move to ...
1007 * crypt/sha512-block.c: ... here.
1008 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1009 path.
1010 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1011 * sysdeps/sparc/sparc64/multiarch/Makefile
1012 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1013 crypt subdir.
1014 (localedef-aux): Add md5 crypto assembler when in locale subdir.
1015 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1016 multiarch changes.
1017 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1018 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1019 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1020 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1021 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1022 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1023 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1024 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1025 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1026 file.
1027 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1028 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1029 file.
1030 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1031
8ca89318
JM
10322012-11-13 Joseph Myers <joseph@codesourcery.com>
1033
e27d476a
JM
1034 * timezone/tzselect.ksh: Update from tzcode git revision
1035 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1036 * timezone/zdump.c: Likewise.
1037 * timezone/zic.c: Likewise.
1038 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1039 in TZVERSION setting, not $(PKGVERSION).
1040 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
1041 REPORT_BUGS_TO settings.
1042
8ca89318
JM
1043 [BZ #14838]
1044 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1045 macro.
1046
47594329
MS
10472012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1048
1049 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1050 detection to immediately after _FP_ROUND().
1051 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1052 bits are 0.
1053
640ac3f1
DM
10542012-11-11 David S. Miller <davem@davemloft.net>
1055
1056 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1057 inttypes.h
1058 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1059 __close rather than their public counterparts.
1060
3d2577bb
JM
10612012-11-10 Joseph Myers <joseph@codesourcery.com>
1062
1063 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1064 file.
1065 [UNIX98] (sem_timedwait): Do not expect.
1066 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1067 [XPG4 || UNIX98] (sockatmark): Do not expect.
1068 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1069 (clock_getcpuclockid): Do not expect.
1070 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1071 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1072 Do not expect.
1073 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1074 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1075 [UNIX98] (vwscanf): Likewise.
1076 [UNIX98] (vswscanf): Likewise.
1077
fb1ae1ee
JM
10782012-11-09 Joseph Myers <joseph@codesourcery.com>
1079
9ec6f8bd
JM
1080 * timezone/version.h: Remove file.
1081 * timezone/README: Do not refer to version.h.
1082 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1083 $(objpfx)version.h.
1084 ($(objpfx)zdump.o): Likewise.
c3f81911 1085 ($(objpfx)version.h): New target.
9ec6f8bd 1086
0aa8f8a1
JM
1087 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1088 2012i.
1089 * timezone/README: Don't mention modification to tzselect.ksh.
1090 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1091 work on unmodified tzselect.ksh. Substitute version numbers in
1092 tzselect.ksh.
1093
4e87147f
JM
1094 * Makefile (format-me): Remove.
1095 (INSTALL): Adjust indentation. Use commands directly instead of
1096 using $(format-me).
1097
8b748aed
JM
1098 * aclocal.m4 (ACX_PKGVERSION): New macro.
1099 (ACX_BUGURL): Likewise.
1100 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1101 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1102 (REPORT_BUGS_TO): Likewise.
1103 * configure: Regenerated.
1104 * config.h.in (PKGVERSION): New macro.
1105 (REPORT_BUGS_TO): Likewise.
1106 * config.make.in (PKGVERSION): New variable.
1107 (PKGVERSION_TEXI): Likewise.
1108 (REPORT_BUGS_TO): Likewise.
1109 (REPORT_BUGS_TEXI): Likewise.
1110 * Makefile (format-me): Use -I$(common-objpfx)manual.
1111 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1112 ($(common-objpfx)manual/%): New target.
1113 (manual/%): Remove target.
1114 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1115 (print_version): Use PKGVERSION.
1116 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1117 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1118 and REPORT_BUGS_TO.
1119 ($(objpfx)xtrace): Likewise.
1120 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1121 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1122 (print_version): Use PKGVERSION.
1123 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1124 (do_version): Use PKGVERSION.
1125 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1126 REPORT_BUGS_TO.
1127 (common-ldd-rewrite): Likewise.
1128 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1129 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1130 (print_version): Use PKGVERSION.
1131 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1132 * elf/pldd.c (argp_program_bug_address): Remove variable.
1133 (more_help): New function.
1134 (argp): Use more_help.
1135 (print_version): Use PKGVERSION.
1136 * elf/sln.c (main): Use PKGVERSION.
1137 (usage): Use REPORT_BUGS_TO.
1138 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1139 (top level): Use PKGVERSION.
1140 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1141 (print_version): Use PKGVERSION.
1142 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1143 (print_version): Use PKGVERSION.
1144 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1145 (print_version): Use PKGVERSION.
1146 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1147 (print_version): Use PKGVERSION.
1148 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1149 (print_version): Use PKGVERSION.
1150 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1151 (print_version): Use PKGVERSION.
1152 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1153 and BUGURL.
1154 ($(objpfx)memusage): Likewise.
1155 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1156 (do_version): Use PKGVERSION.
1157 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1158 (print_version): Use PKGVERSION.
1159 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1160 ($PKGVERSION): New variable.
1161 ($REPORT_BUGS_TO): Likewise.
1162 (usage): Use $REPORT_BUGS_TO.
1163 (top level): Use $PKGVERSION.
1164 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1165 ($(objpfx)pkgvers.texi): New rule.
1166 ($(objpfx)stamp-pkgvers): Likewise.
1167 * manual/install.texi: Include pkgvers.texi.
1168 (--with-pkgversion): Document new configure option.
1169 (--with-bugurl): Likewise.
1170 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1171 than necessarily for this particular distribution. Use
1172 REPORT_BUGS_TO for where to report bugs.
1173 * INSTALL: Regenerated.
1174 * manual/libc.texinfo: Include pkgvers.texi.
1175 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1176 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1177 (print_version): Use PKGVERSION.
1178 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1179 (print_version): Use PKGVERSION.
1180 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1181 (print_version): Use PKGVERSION.
1182 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1183 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1184 macro.
1185 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1186 (print_version): Use PKGVERSION.
1187 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1188 (print_version): Use PKGVERSION.
1189 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1190 and PKGVERSION.
1191
92e4b6a9
JM
1192 * timezone/checktab.awk: Update from tzcode 2012i.
1193 * timezone/ialloc.c: Likewise.
1194 * timezone/private.h: Likewise.
1195 * timezone/scheck.c: Likewise.
1196 * timezone/tzfile.h: Likewise.
1197 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1198 (TZVERSION): Hardcode tzcode version number.
1199 * timezone/zdump.c: Update from tzcode 2012i.
1200 * timezone/zic.c: Likewise.
1201 * timezone/version.h: New file.
1202 * timezone/README: Describe version.h. Update upstream location.
1203
9bde902c
JM
1204 [BZ #14824]
1205 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1206 (mktemp): Enable declaration.
1207 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1208 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1209 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1210 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1211 Likewise.
1212 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1213 Likewise.
1214 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1215 Likewise.
1216 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1217 Likewise.
1218 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1219 Likewise.
1220 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1221 Likewise.
1222
fb1ae1ee
JM
1223 [BZ #14821]
1224 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1225 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1226 for copies of such integer values.
1227 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1228 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1229
2c1adbcb
AJ
12302012-11-09 Andreas Jaeger <aj@suse.de>
1231
1232 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1233 definitions and declarations that are provided by
1234 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1235
d0f8457e
AK
12362012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1237
1238 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1239 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1240 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1241 definition.
1242
57241e26
MS
12432012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1244
1245 * elf/elf.h: Update comment before AArch64 relocations.
1246
60e8270d
DM
12472012-11-07 David S. Miller <davem@davemloft.net>
1248
1249 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1250 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1251 (__start_context): Declare.
1252 (__makecontext_ret): Delete.
1253 (__makecontext): Hook up __start_context instead of
1254 __makecontext_ret.
1255 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1256 (sysdep_routines): Add __start_context when in stdlib.
1257
0fbb0fbc
JM
12582012-11-07 Joseph Myers <joseph@codesourcery.com>
1259
1260 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1261 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1262 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1263 hardcoded "nm".
1264 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1265 (READELF): New variable. Use it instead of hardcoded "readelf".
1266
eb48db7e
L
12672012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1268
1269 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1270 * sysdeps/x86/Makefile: Here.
1271 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1272 * sysdeps/x86/tst-xmmymm.sh: This.
1273
05bcf62a
JM
12742012-11-07 Joseph Myers <joseph@codesourcery.com>
1275
c4b6cf53
JM
1276 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1277 expectations.
1278 [UNIX98] (pthread_barrier_t): Do not expect.
1279 [UNIX98] (pthread_barrierattr_t): Likewise.
1280 [UNIX98] (pthread_spinlock_t): Likewise.
1281 [UNIX98] (pthread_barrier_destroy): Likewise.
1282 [UNIX98] (pthread_barrier_init): Likewise.
1283 [UNIX98] (pthread_barrier_wait): Likewise.
1284 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1285 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1286 [UNIX98] (pthread_barrierattr_init): Likewise.
1287 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1288 [UNIX98] (pthread_getcpuclockid): Likewise.
1289 [UNIX98] (pthread_mutex_timedlock): Likewise.
1290 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1291 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1292 [UNIX98] (pthread_sigmask): Likewise.
1293 [UNIX98] (pthread_spin_destroy): Likewise.
1294 [UNIX98] (pthread_spin_init): Likewise.
1295 [UNIX98] (pthread_spin_lock): Likewise.
1296 [UNIX98] (pthread_spin_trylock): Likewise.
1297 [UNIX98] (pthread_spin_unlock): Likewise.
1298 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1299 Do not expect.
1300 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1301 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1302 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1303 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1304 [XPG3 || XPG4] (pthread_key_t): Likewise.
1305 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1306 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1307 [XPG3 || XPG4] (pthread_once_t): Likewise.
1308 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1309 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1310 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1311 [XPG3 || XPG4] (pthread_t): Likewise.
1312
cbe6e120
JM
1313 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1314 not expect.
1315 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1316
1b126443
JM
1317 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1318 Change function return type to int.
1319
b961a573
JM
1320 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1321 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1322 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1323 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1324 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1325 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1326 [!POSIX] (posix_madvise): Likewise.
1327 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1328 && !UNIX98].
1329 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1330 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1331 (mode_t): Likewise.
1332 (posix_mem_offset): Likewise.
1333 (posix_typed_mem_get_info): Likewise.
1334 (posix_typed_mem_open): Likewise.
1335
9e188909
JM
1336 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1337 Change condition to [XOPEN2K8].
1338
05bcf62a
JM
1339 * conform/conformtest.pl: Preprocess allow-header data with -x c
1340 instead of from stdin.
1341 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1342 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1343 [C99-based standards] (cerfc): Likewise.
1344 [C99-based standards] (cexp2): Likewise.
1345 [C99-based standards] (cexpm1): Likewise.
1346 [C99-based standards] (clog10): Likewise.
1347 [C99-based standards] (clog1p): Likewise.
1348 [C99-based standards] (clog2): Likewise.
1349 [C99-based standards] (clgamma): Likewise.
1350 [C99-based standards] (ctgamma): Likewise.
1351 [C99-based standards] (cerff): Likewise.
1352 [C99-based standards] (cerfcf): Likewise.
1353 [C99-based standards] (cexp2f): Likewise.
1354 [C99-based standards] (cexpm1f): Likewise.
1355 [C99-based standards] (clog10f): Likewise.
1356 [C99-based standards] (clog1pf): Likewise.
1357 [C99-based standards] (clog2f): Likewise.
1358 [C99-based standards] (clgammaf): Likewise.
1359 [C99-based standards] (ctgammaf): Likewise.
1360 [C99-based standards] (cerfl): Likewise.
1361 [C99-based standards] (cerfcl): Likewise.
1362 [C99-based standards] (cexp2l): Likewise.
1363 [C99-based standards] (cexpm1l): Likewise.
1364 [C99-based standards] (clog10l): Likewise.
1365 [C99-based standards] (clog1pl): Likewise.
1366 [C99-based standards] (clog2l): Likewise.
1367 [C99-based standards] (clgammal): Likewise.
1368 [C99-based standards] (ctgammal): Likewise.
1369 * conform/data/inttypes.h-data [C99-based standards]: Include
1370 stdint.h-data. Remove all expectations for stdint.h contents.
1371 [C99-based standards] (PRI*): Do not allow.
1372 [C99-based standards] (SCN*): Likewise.
1373 [C99-based standards] (*_t): Likewise.
1374 [C99-based-standards] (PRId8): Expect macro.
1375 [C99-based-standards] (PRIi8): Likewise.
1376 [C99-based-standards] (PRIo8): Likewise.
1377 [C99-based-standards] (PRIu8): Likewise.
1378 [C99-based-standards] (PRIx8): Likewise.
1379 [C99-based-standards] (PRIX8): Likewise.
1380 [C99-based-standards] (SCNd8): Likewise.
1381 [C99-based-standards] (SCNi8): Likewise.
1382 [C99-based-standards] (SCNo8): Likewise.
1383 [C99-based-standards] (SCNu8): Likewise.
1384 [C99-based-standards] (SCNx8): Likewise.
1385 [C99-based-standards] (PRIdLEAST8): Likewise.
1386 [C99-based-standards] (PRIiLEAST8): Likewise.
1387 [C99-based-standards] (PRIoLEAST8): Likewise.
1388 [C99-based-standards] (PRIuLEAST8): Likewise.
1389 [C99-based-standards] (PRIxLEAST8): Likewise.
1390 [C99-based-standards] (PRIXLEAST8): Likewise.
1391 [C99-based-standards] (SCNdLEAST8): Likewise.
1392 [C99-based-standards] (SCNiLEAST8): Likewise.
1393 [C99-based-standards] (SCNoLEAST8): Likewise.
1394 [C99-based-standards] (SCNuLEAST8): Likewise.
1395 [C99-based-standards] (SCNxLEAST8): Likewise.
1396 [C99-based-standards] (PRIdFAST8): Likewise.
1397 [C99-based-standards] (PRIiFAST8): Likewise.
1398 [C99-based-standards] (PRIoFAST8): Likewise.
1399 [C99-based-standards] (PRIuFAST8): Likewise.
1400 [C99-based-standards] (PRIxFAST8): Likewise.
1401 [C99-based-standards] (PRIXFAST8): Likewise.
1402 [C99-based-standards] (SCNdFAST8): Likewise.
1403 [C99-based-standards] (SCNiFAST8): Likewise.
1404 [C99-based-standards] (SCNoFAST8): Likewise.
1405 [C99-based-standards] (SCNuFAST8): Likewise.
1406 [C99-based-standards] (SCNxFAST8): Likewise.
1407 [C99-based-standards] (PRId16): Likewise.
1408 [C99-based-standards] (PRIi16): Likewise.
1409 [C99-based-standards] (PRIo16): Likewise.
1410 [C99-based-standards] (PRIu16): Likewise.
1411 [C99-based-standards] (PRIx16): Likewise.
1412 [C99-based-standards] (PRIX16): Likewise.
1413 [C99-based-standards] (SCNd16): Likewise.
1414 [C99-based-standards] (SCNi16): Likewise.
1415 [C99-based-standards] (SCNo16): Likewise.
1416 [C99-based-standards] (SCNu16): Likewise.
1417 [C99-based-standards] (SCNx16): Likewise.
1418 [C99-based-standards] (PRIdLEAST16): Likewise.
1419 [C99-based-standards] (PRIiLEAST16): Likewise.
1420 [C99-based-standards] (PRIoLEAST16): Likewise.
1421 [C99-based-standards] (PRIuLEAST16): Likewise.
1422 [C99-based-standards] (PRIxLEAST16): Likewise.
1423 [C99-based-standards] (PRIXLEAST16): Likewise.
1424 [C99-based-standards] (SCNdLEAST16): Likewise.
1425 [C99-based-standards] (SCNiLEAST16): Likewise.
1426 [C99-based-standards] (SCNoLEAST16): Likewise.
1427 [C99-based-standards] (SCNuLEAST16): Likewise.
1428 [C99-based-standards] (SCNxLEAST16): Likewise.
1429 [C99-based-standards] (PRIdFAST16): Likewise.
1430 [C99-based-standards] (PRIiFAST16): Likewise.
1431 [C99-based-standards] (PRIoFAST16): Likewise.
1432 [C99-based-standards] (PRIuFAST16): Likewise.
1433 [C99-based-standards] (PRIxFAST16): Likewise.
1434 [C99-based-standards] (PRIXFAST16): Likewise.
1435 [C99-based-standards] (SCNdFAST16): Likewise.
1436 [C99-based-standards] (SCNiFAST16): Likewise.
1437 [C99-based-standards] (SCNoFAST16): Likewise.
1438 [C99-based-standards] (SCNuFAST16): Likewise.
1439 [C99-based-standards] (SCNxFAST16): Likewise.
1440 [C99-based-standards] (PRId32): Likewise.
1441 [C99-based-standards] (PRIi32): Likewise.
1442 [C99-based-standards] (PRIo32): Likewise.
1443 [C99-based-standards] (PRIu32): Likewise.
1444 [C99-based-standards] (PRIx32): Likewise.
1445 [C99-based-standards] (PRIX32): Likewise.
1446 [C99-based-standards] (SCNd32): Likewise.
1447 [C99-based-standards] (SCNi32): Likewise.
1448 [C99-based-standards] (SCNo32): Likewise.
1449 [C99-based-standards] (SCNu32): Likewise.
1450 [C99-based-standards] (SCNx32): Likewise.
1451 [C99-based-standards] (PRIdLEAST32): Likewise.
1452 [C99-based-standards] (PRIiLEAST32): Likewise.
1453 [C99-based-standards] (PRIoLEAST32): Likewise.
1454 [C99-based-standards] (PRIuLEAST32): Likewise.
1455 [C99-based-standards] (PRIxLEAST32): Likewise.
1456 [C99-based-standards] (PRIXLEAST32): Likewise.
1457 [C99-based-standards] (SCNdLEAST32): Likewise.
1458 [C99-based-standards] (SCNiLEAST32): Likewise.
1459 [C99-based-standards] (SCNoLEAST32): Likewise.
1460 [C99-based-standards] (SCNuLEAST32): Likewise.
1461 [C99-based-standards] (SCNxLEAST32): Likewise.
1462 [C99-based-standards] (PRIdFAST32): Likewise.
1463 [C99-based-standards] (PRIiFAST32): Likewise.
1464 [C99-based-standards] (PRIoFAST32): Likewise.
1465 [C99-based-standards] (PRIuFAST32): Likewise.
1466 [C99-based-standards] (PRIxFAST32): Likewise.
1467 [C99-based-standards] (PRIXFAST32): Likewise.
1468 [C99-based-standards] (SCNdFAST32): Likewise.
1469 [C99-based-standards] (SCNiFAST32): Likewise.
1470 [C99-based-standards] (SCNoFAST32): Likewise.
1471 [C99-based-standards] (SCNuFAST32): Likewise.
1472 [C99-based-standards] (SCNxFAST32): Likewise.
1473 [C99-based-standards] (PRId64): Likewise.
1474 [C99-based-standards] (PRIi64): Likewise.
1475 [C99-based-standards] (PRIo64): Likewise.
1476 [C99-based-standards] (PRIu64): Likewise.
1477 [C99-based-standards] (PRIx64): Likewise.
1478 [C99-based-standards] (PRIX64): Likewise.
1479 [C99-based-standards] (SCNd64): Likewise.
1480 [C99-based-standards] (SCNi64): Likewise.
1481 [C99-based-standards] (SCNo64): Likewise.
1482 [C99-based-standards] (SCNu64): Likewise.
1483 [C99-based-standards] (SCNx64): Likewise.
1484 [C99-based-standards] (PRIdLEAST64): Likewise.
1485 [C99-based-standards] (PRIiLEAST64): Likewise.
1486 [C99-based-standards] (PRIoLEAST64): Likewise.
1487 [C99-based-standards] (PRIuLEAST64): Likewise.
1488 [C99-based-standards] (PRIxLEAST64): Likewise.
1489 [C99-based-standards] (PRIXLEAST64): Likewise.
1490 [C99-based-standards] (SCNdLEAST64): Likewise.
1491 [C99-based-standards] (SCNiLEAST64): Likewise.
1492 [C99-based-standards] (SCNoLEAST64): Likewise.
1493 [C99-based-standards] (SCNuLEAST64): Likewise.
1494 [C99-based-standards] (SCNxLEAST64): Likewise.
1495 [C99-based-standards] (PRIdFAST64): Likewise.
1496 [C99-based-standards] (PRIiFAST64): Likewise.
1497 [C99-based-standards] (PRIoFAST64): Likewise.
1498 [C99-based-standards] (PRIuFAST64): Likewise.
1499 [C99-based-standards] (PRIxFAST64): Likewise.
1500 [C99-based-standards] (PRIXFAST64): Likewise.
1501 [C99-based-standards] (SCNdFAST64): Likewise.
1502 [C99-based-standards] (SCNiFAST64): Likewise.
1503 [C99-based-standards] (SCNoFAST64): Likewise.
1504 [C99-based-standards] (SCNuFAST64): Likewise.
1505 [C99-based-standards] (SCNxFAST64): Likewise.
1506 [C99-based-standards] (PRIdMAX): Likewise.
1507 [C99-based-standards] (PRIiMAX): Likewise.
1508 [C99-based-standards] (PRIoMAX): Likewise.
1509 [C99-based-standards] (PRIuMAX): Likewise.
1510 [C99-based-standards] (PRIxMAX): Likewise.
1511 [C99-based-standards] (PRIXMAX): Likewise.
1512 [C99-based-standards] (SCNdMAX): Likewise.
1513 [C99-based-standards] (SCNiMAX): Likewise.
1514 [C99-based-standards] (SCNoMAX): Likewise.
1515 [C99-based-standards] (SCNuMAX): Likewise.
1516 [C99-based-standards] (SCNxMAX): Likewise.
1517 [C99-based-standards] (PRIdPTR): Likewise.
1518 [C99-based-standards] (PRIiPTR): Likewise.
1519 [C99-based-standards] (PRIoPTR): Likewise.
1520 [C99-based-standards] (PRIuPTR): Likewise.
1521 [C99-based-standards] (PRIxPTR): Likewise.
1522 [C99-based-standards] (PRIXPTR): Likewise.
1523 [C99-based-standards] (SCNdPTR): Likewise.
1524 [C99-based-standards] (SCNiPTR): Likewise.
1525 [C99-based-standards] (SCNoPTR): Likewise.
1526 [C99-based-standards] (SCNuPTR): Likewise.
1527 [C99-based-standards] (SCNxPTR): Likewise.
1528 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1529 allow.
1530 * conform/data/stdint.h-data: Update comments to clarify
1531 requirements.
1532 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1533 type.
1534 [C99-based standards] (INT8_MAX): Likewise.
1535 [C99-based standards] (INT16_MIN): Likewise.
1536 [C99-based standards] (INT16_MAX): Likewise.
1537 [C99-based standards] (INT32_MIN): Likewise.
1538 [C99-based standards] (INT32_MAX): Likewise.
1539 [C99-based standards] (INT64_MIN): Likewise.
1540 [C99-based standards] (INT64_MAX): Likewise.
1541 [C99-based standards] (UINT8_MAX): Likewise.
1542 [C99-based standards] (UINT16_MAX): Likewise.
1543 [C99-based standards] (UINT32_MAX): Likewise.
1544 [C99-based standards] (UINT64_MAX): Likewise.
1545 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1546 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1547 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1548 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1549 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1550 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1551 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1552 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1553 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1554 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1555 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1556 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1557 [C99-based standards] (INT_FAST8_MIN): Likewise.
1558 [C99-based standards] (INT_FAST8_MAX): Likewise.
1559 [C99-based standards] (INT_FAST16_MIN): Likewise.
1560 [C99-based standards] (INT_FAST16_MAX): Likewise.
1561 [C99-based standards] (INT_FAST32_MIN): Likewise.
1562 [C99-based standards] (INT_FAST32_MAX): Likewise.
1563 [C99-based standards] (INT_FAST64_MIN): Likewise.
1564 [C99-based standards] (INT_FAST64_MAX): Likewise.
1565 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1566 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1567 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1568 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1569 [C99-based standards] (INTPTR_MIN): Likewise.
1570 [C99-based standards] (INTPTR_MAX): Likewise.
1571 [C99-based standards] (UINTPTR_MAX): Likewise.
1572 [C99-based standards] (INTMAX_MIN): Likewise.
1573 [C99-based standards] (INTMAX_MAX): Likewise.
1574 [C99-based standards] (UINTMAX_MAX): Likewise.
1575 [C99-based standards] (PTRDIFF_MIN): Likewise.
1576 [C99-based standards] (PTRDIFF_MAX): Likewise.
1577 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1578 [C99-based standards] (SIZE_MAX): Likewise.
1579 [C99-based standards] (WCHAR_MAX): Likewise.
1580 [C99-based standards] (WINT_MAX): Likewise.
1581 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1582 constraint on value.
1583 [C99-based standards] (WCHAR_MIN): Likewise.
1584 [C99-based standards] (WINT_MIN): Likewise.
1585 [C99-based standards] (*_t): Allow.
1586 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1587 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1588 Include math.h-data and complex.h-data. Remove all expectations
1589 of math.h and complex.h contents.
1590 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1591 at end of line.
1592 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1593 (struct tm): Expect tag.
1594 [C99-based-standards] (wcstof): Expect function.
1595 [C99-based-standards] (wcstold): Likewise.
1596 [C99-based-standards] (wcstoll): Likewise.
1597 [C99-based-standards] (wcstoull): Likewise.
1598 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1599 macro-int-constant. Specify type.
1600 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1601 constraint on value.
1602 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1603 Specify type.
1604 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1605 Specify value.
1606 [ISO C standards]: Do not allow headers.
1607 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1608 wcs[abcdefghijklmnopqrstuvwxyz]*.
1609 [ISO C standards] (*_t): Do not allow.
1610 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1611 Expect function.
1612 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1613 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1614 Specify type.
1615 [ISO C standards]: Do not allow headers.
1616 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1617 is[abcdefghijklmnopqrstuvwxyz]*.
1618 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1619 to[abcdefghijklmnopqrstuvwxyz]*.
1620 [ISO C standards] (*_t): Do not allow.
1621 * conform/data/stdalign.h-data: New file.
1622 * conform/data/stdbool.h-data: Likewise.
1623 * conform/data/stdnoreturn.h-data: Likewise.
1624
7514feb8
RM
16252012-11-07 Roland McGrath <roland@hack.frob.com>
1626
1627 [BZ #14815]
1628 * manual/filesys.texi (Directory Entries): Typo fix.
1629 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1630
19b2ecfc
MS
16312012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1632
1633 * elf/elf.h (EM_AARCH64): New macro.
1634 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1635 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1636 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1637 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1638 (R_AARCH64_TLSDESC): Likewise.
1639 (NT_ARM_TLS): Likewise.
1640 (NT_ARM_HW_BREAK): Likewise.
1641 (NT_ARM_HW_WATCH): Likewise.
1642
60e235ee
JM
16432012-11-07 Joseph Myers <joseph@codesourcery.com>
1644
1645 [BZ #14811]
1646 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1647 (__ieee754_powl): Saturate nonzero exponents with absolute value
1648 below 0x1p-79 to +/- 0x1p-79.
1649 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1650 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1651 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1652 nonzero exponents with absolute value below 0x1p-32 to +/-
1653 0x1p-32.
1654 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1655 (__ieee754_powl): Saturate nonzero exponents with absolute value
1656 below 0x1p-79 to +/- 0x1p-79.
1657 * math/libm-test.inc (pow_test): Add more tests.
1658
0ab234b7
AK
16592012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1660
1661 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1662 _dl_s390_cap_flags with kernel. Increase string length.
1663 (_dl_s390_platforms): Add z196 and zEC12.
1664
45832f74
JM
16652012-11-07 Joseph Myers <joseph@codesourcery.com>
1666
1667 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1668 Change XOPEN21K to XOPEN2K.
1669
19218757
MK
16702012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1671
1672 * string/memmove.c: Use memcpy when possible.
1673
c5f45721
AJ
16742012-11-06 Andreas Jaeger <aj@suse.de>
1675
1676 * po/eo.po: Update from translation team.
1677
82477c28
JM
16782012-11-06 Joseph Myers <joseph@codesourcery.com>
1679
1680 [BZ #14793]
1681 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1682 exponent and small x and y exponents, scale x or y up. Increase
1683 by 2 the exponent used in scaling up.
1684 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1685 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1686 * math/libm-test.inc (fma_test): Add more tests.
1687 (fma_test_towardzero): Likewise.
1688 (fma_test_downward): Likewise.
1689 (fma_test_upward): Likewise.
1690
99252c8c
JM
16912012-11-05 Joseph Myers <joseph@codesourcery.com>
1692
acfa885f
JM
1693 [BZ #14805]
1694 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1695 fenv_t *.
1696
99252c8c
JM
1697 [BZ #14801]
1698 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1699 namespace for names of struct fields.
1700 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1701 fenv_t fields.
1702 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1703 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1704
d6d98dea
ST
17052012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1706
1707 [BZ #3665]
1708 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1709
e10bb107
TS
17102012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1711
1712 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1713 PTR_DEMANGLE.
1714
1715 [BZ #5246]
1716 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1717 PTR_DEMANGLE.
1718
a0c2940d
JM
17192012-11-04 Joseph Myers <joseph@codesourcery.com>
1720
1721 [BZ #14797]
1722 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1723 definitely overflow as x * y not x * y + z.
1724 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1725 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1726 * math/libm-test.inc (fma_test): Add more tests.
1727 (fma_test_towardzero): Likewise.
1728 (fma_test_downward): Likewise.
1729 (fma_test_upward): Likewise.
1730
b830319d
TS
17312012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1732
1733 [BZ #157]
1734
1735 * include/stub-tag.h: Remove file.
1736 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1737 '#include' of it.
1738 * manual/maint.texi (Porting): Don't reference it.
1739 * Makerules ($(objpfx)stubs): Likewise.
1740 * dirent/closedir.c: Don't include <stub-tag.h>.
1741 * dirent/dirfd.c: Likewise.
1742 * dirent/fdopendir.c: Likewise.
1743 * dirent/getdents.c: Likewise.
1744 * dirent/getdents64.c: Likewise.
1745 * dirent/opendir.c: Likewise.
1746 * dirent/readdir.c: Likewise.
1747 * dirent/readdir64.c: Likewise.
1748 * dirent/readdir64_r.c: Likewise.
1749 * dirent/readdir_r.c: Likewise.
1750 * dirent/rewinddir.c: Likewise.
1751 * dirent/seekdir.c: Likewise.
1752 * dirent/telldir.c: Likewise.
1753 * gmon/profil.c: Likewise.
1754 * grp/setgroups.c: Likewise.
1755 * inet/if_index.c: Likewise.
1756 * io/access.c: Likewise.
1757 * io/chdir.c: Likewise.
1758 * io/chmod.c: Likewise.
1759 * io/chown.c: Likewise.
1760 * io/close.c: Likewise.
1761 * io/dup.c: Likewise.
1762 * io/dup2.c: Likewise.
1763 * io/dup3.c: Likewise.
1764 * io/euidaccess.c: Likewise.
1765 * io/faccessat.c: Likewise.
1766 * io/fchdir.c: Likewise.
1767 * io/fchmod.c: Likewise.
1768 * io/fchmodat.c: Likewise.
1769 * io/fchown.c: Likewise.
1770 * io/fchownat.c: Likewise.
1771 * io/fcntl.c: Likewise.
1772 * io/flock.c: Likewise.
1773 * io/fstatfs.c: Likewise.
1774 * io/fstatfs64.c: Likewise.
1775 * io/fstatvfs.c: Likewise.
1776 * io/fstatvfs64.c: Likewise.
1777 * io/futimens.c: Likewise.
1778 * io/fxstat.c: Likewise.
1779 * io/fxstat64.c: Likewise.
1780 * io/fxstatat.c: Likewise.
1781 * io/fxstatat64.c: Likewise.
1782 * io/getcwd.c: Likewise.
1783 * io/isatty.c: Likewise.
1784 * io/lchmod.c: Likewise.
1785 * io/lchown.c: Likewise.
1786 * io/link.c: Likewise.
1787 * io/linkat.c: Likewise.
1788 * io/lseek.c: Likewise.
1789 * io/lseek64.c: Likewise.
1790 * io/lxstat64.c: Likewise.
1791 * io/mkdir.c: Likewise.
1792 * io/mkdirat.c: Likewise.
1793 * io/mkfifo.c: Likewise.
1794 * io/mkfifoat.c: Likewise.
1795 * io/open.c: Likewise.
1796 * io/open64.c: Likewise.
1797 * io/openat.c: Likewise.
1798 * io/openat64.c: Likewise.
1799 * io/pipe.c: Likewise.
1800 * io/pipe2.c: Likewise.
1801 * io/poll.c: Likewise.
1802 * io/posix_fadvise.c: Likewise.
1803 * io/posix_fadvise64.c: Likewise.
1804 * io/posix_fallocate.c: Likewise.
1805 * io/posix_fallocate64.c: Likewise.
1806 * io/read.c: Likewise.
1807 * io/readlink.c: Likewise.
1808 * io/readlinkat.c: Likewise.
1809 * io/rmdir.c: Likewise.
1810 * io/sendfile.c: Likewise.
1811 * io/sendfile64.c: Likewise.
1812 * io/statfs.c: Likewise.
1813 * io/statfs64.c: Likewise.
1814 * io/statvfs.c: Likewise.
1815 * io/statvfs64.c: Likewise.
1816 * io/symlink.c: Likewise.
1817 * io/symlinkat.c: Likewise.
1818 * io/ttyname.c: Likewise.
1819 * io/ttyname_r.c: Likewise.
1820 * io/umask.c: Likewise.
1821 * io/unlink.c: Likewise.
1822 * io/unlinkat.c: Likewise.
1823 * io/utime.c: Likewise.
1824 * io/utimensat.c: Likewise.
1825 * io/write.c: Likewise.
1826 * io/xmknod.c: Likewise.
1827 * io/xmknodat.c: Likewise.
1828 * io/xstat.c: Likewise.
1829 * io/xstat64.c: Likewise.
1830 * login/getpt.c: Likewise.
1831 * login/grantpt.c: Likewise.
1832 * login/unlockpt.c: Likewise.
1833 * math/e_acoshl.c: Likewise.
1834 * math/e_acosl.c: Likewise.
1835 * math/e_asinl.c: Likewise.
1836 * math/e_atan2l.c: Likewise.
1837 * math/e_atanhl.c: Likewise.
1838 * math/e_coshl.c: Likewise.
1839 * math/e_expl.c: Likewise.
1840 * math/e_fmodl.c: Likewise.
1841 * math/e_gammal_r.c: Likewise.
1842 * math/e_hypotl.c: Likewise.
1843 * math/e_j0l.c: Likewise.
1844 * math/e_j1l.c: Likewise.
1845 * math/e_jnl.c: Likewise.
1846 * math/e_lgammal_r.c: Likewise.
1847 * math/e_log10l.c: Likewise.
1848 * math/e_log2l.c: Likewise.
1849 * math/e_logl.c: Likewise.
1850 * math/e_powl.c: Likewise.
1851 * math/e_rem_pio2l.c: Likewise.
1852 * math/e_sinhl.c: Likewise.
1853 * math/e_sqrtl.c: Likewise.
1854 * math/fclrexcpt.c: Likewise.
1855 * math/fedisblxcpt.c: Likewise.
1856 * math/feenablxcpt.c: Likewise.
1857 * math/fegetenv.c: Likewise.
1858 * math/fegetexcept.c: Likewise.
1859 * math/fegetround.c: Likewise.
1860 * math/feholdexcpt.c: Likewise.
1861 * math/fesetenv.c: Likewise.
1862 * math/fesetround.c: Likewise.
1863 * math/feupdateenv.c: Likewise.
1864 * math/fgetexcptflg.c: Likewise.
1865 * math/fraiseexcpt.c: Likewise.
1866 * math/fsetexcptflg.c: Likewise.
1867 * math/ftestexcept.c: Likewise.
1868 * math/k_cosl.c: Likewise.
1869 * math/k_rem_pio2l.c: Likewise.
1870 * math/k_sinl.c: Likewise.
1871 * math/k_tanl.c: Likewise.
1872 * math/s_asinhl.c: Likewise.
1873 * math/s_atanl.c: Likewise.
1874 * math/s_cbrtl.c: Likewise.
1875 * math/s_erfl.c: Likewise.
1876 * math/s_expm1l.c: Likewise.
1877 * math/s_log1pl.c: Likewise.
1878 * math/s_tanhl.c: Likewise.
1879 * misc/acct.c: Likewise.
1880 * misc/brk.c: Likewise.
1881 * misc/chflags.c: Likewise.
1882 * misc/chroot.c: Likewise.
1883 * misc/fchflags.c: Likewise.
1884 * misc/fgetxattr.c: Likewise.
1885 * misc/flistxattr.c: Likewise.
1886 * misc/fremovexattr.c: Likewise.
1887 * misc/fsetxattr.c: Likewise.
1888 * misc/fsync.c: Likewise.
1889 * misc/ftruncate.c: Likewise.
1890 * misc/futimes.c: Likewise.
1891 * misc/futimesat.c: Likewise.
1892 * misc/getdomain.c: Likewise.
1893 * misc/getdtsz.c: Likewise.
1894 * misc/gethostid.c: Likewise.
1895 * misc/gethostname.c: Likewise.
1896 * misc/getloadavg.c: Likewise.
1897 * misc/getpagesize.c: Likewise.
1898 * misc/getsysstats.c: Likewise.
1899 * misc/getxattr.c: Likewise.
1900 * misc/gtty.c: Likewise.
1901 * misc/ioctl.c: Likewise.
1902 * misc/lgetxattr.c: Likewise.
1903 * misc/listxattr.c: Likewise.
1904 * misc/llistxattr.c: Likewise.
1905 * misc/lremovexattr.c: Likewise.
1906 * misc/lsetxattr.c: Likewise.
1907 * misc/lutimes.c: Likewise.
1908 * misc/madvise.c: Likewise.
1909 * misc/mincore.c: Likewise.
1910 * misc/mlock.c: Likewise.
1911 * misc/mlockall.c: Likewise.
1912 * misc/mmap.c: Likewise.
1913 * misc/mprotect.c: Likewise.
1914 * misc/msync.c: Likewise.
1915 * misc/munlock.c: Likewise.
1916 * misc/munlockall.c: Likewise.
1917 * misc/munmap.c: Likewise.
1918 * misc/preadv.c: Likewise.
1919 * misc/preadv64.c: Likewise.
1920 * misc/ptrace.c: Likewise.
1921 * misc/pwritev.c: Likewise.
1922 * misc/pwritev64.c: Likewise.
1923 * misc/readv.c: Likewise.
1924 * misc/reboot.c: Likewise.
1925 * misc/remap_file_pages.c: Likewise.
1926 * misc/removexattr.c: Likewise.
1927 * misc/revoke.c: Likewise.
1928 * misc/select.c: Likewise.
1929 * misc/setdomain.c: Likewise.
1930 * misc/setegid.c: Likewise.
1931 * misc/seteuid.c: Likewise.
1932 * misc/sethostid.c: Likewise.
1933 * misc/sethostname.c: Likewise.
1934 * misc/setregid.c: Likewise.
1935 * misc/setreuid.c: Likewise.
1936 * misc/setxattr.c: Likewise.
1937 * misc/sstk.c: Likewise.
1938 * misc/stty.c: Likewise.
1939 * misc/swapoff.c: Likewise.
1940 * misc/swapon.c: Likewise.
1941 * misc/sync.c: Likewise.
1942 * misc/syncfs.c: Likewise.
1943 * misc/syscall.c: Likewise.
1944 * misc/truncate.c: Likewise.
1945 * misc/ualarm.c: Likewise.
1946 * misc/usleep.c: Likewise.
1947 * misc/ustat.c: Likewise.
1948 * misc/utimes.c: Likewise.
1949 * misc/vhangup.c: Likewise.
1950 * misc/writev.c: Likewise.
1951 * posix/_exit.c: Likewise.
1952 * posix/alarm.c: Likewise.
1953 * posix/execve.c: Likewise.
1954 * posix/fexecve.c: Likewise.
1955 * posix/fork.c: Likewise.
1956 * posix/fpathconf.c: Likewise.
1957 * posix/getaddrinfo.c: Likewise.
1958 * posix/getegid.c: Likewise.
1959 * posix/geteuid.c: Likewise.
1960 * posix/getgid.c: Likewise.
1961 * posix/getgroups.c: Likewise.
1962 * posix/getlogin.c: Likewise.
1963 * posix/getlogin_r.c: Likewise.
1964 * posix/getpgid.c: Likewise.
1965 * posix/getpid.c: Likewise.
1966 * posix/getppid.c: Likewise.
1967 * posix/getresgid.c: Likewise.
1968 * posix/getresuid.c: Likewise.
1969 * posix/getsid.c: Likewise.
1970 * posix/getuid.c: Likewise.
1971 * posix/glob64.c: Likewise.
1972 * posix/nanosleep.c: Likewise.
1973 * posix/pathconf.c: Likewise.
1974 * posix/pause.c: Likewise.
1975 * posix/posix_madvise.c: Likewise.
1976 * posix/pread.c: Likewise.
1977 * posix/pread64.c: Likewise.
1978 * posix/pwrite.c: Likewise.
1979 * posix/pwrite64.c: Likewise.
1980 * posix/sched_getaffinity.c: Likewise.
1981 * posix/sched_getp.c: Likewise.
1982 * posix/sched_gets.c: Likewise.
1983 * posix/sched_primax.c: Likewise.
1984 * posix/sched_primin.c: Likewise.
1985 * posix/sched_rr_gi.c: Likewise.
1986 * posix/sched_setaffinity.c: Likewise.
1987 * posix/sched_setp.c: Likewise.
1988 * posix/sched_sets.c: Likewise.
1989 * posix/sched_yield.c: Likewise.
1990 * posix/setgid.c: Likewise.
1991 * posix/setlogin.c: Likewise.
1992 * posix/setpgid.c: Likewise.
1993 * posix/setresgid.c: Likewise.
1994 * posix/setresuid.c: Likewise.
1995 * posix/setsid.c: Likewise.
1996 * posix/setuid.c: Likewise.
1997 * posix/sleep.c: Likewise.
1998 * posix/spawni.c: Likewise.
1999 * posix/sysconf.c: Likewise.
2000 * posix/times.c: Likewise.
2001 * posix/wait.c: Likewise.
2002 * posix/wait3.c: Likewise.
2003 * posix/wait4.c: Likewise.
2004 * posix/waitpid.c: Likewise.
2005 * resolv/gai_sigqueue.c: Likewise.
2006 * resource/getpriority.c: Likewise.
2007 * resource/getrlimit.c: Likewise.
2008 * resource/getrusage.c: Likewise.
2009 * resource/nice.c: Likewise.
2010 * resource/setpriority.c: Likewise.
2011 * resource/setrlimit.c: Likewise.
2012 * resource/ulimit.c: Likewise.
2013 * rt/aio_cancel.c: Likewise.
2014 * rt/aio_fsync.c: Likewise.
2015 * rt/aio_read.c: Likewise.
2016 * rt/aio_sigqueue.c: Likewise.
2017 * rt/aio_suspend.c: Likewise.
2018 * rt/aio_write.c: Likewise.
2019 * rt/clock_getres.c: Likewise.
2020 * rt/clock_gettime.c: Likewise.
2021 * rt/clock_nanosleep.c: Likewise.
2022 * rt/clock_settime.c: Likewise.
2023 * rt/lio_listio.c: Likewise.
2024 * rt/mq_close.c: Likewise.
2025 * rt/mq_getattr.c: Likewise.
2026 * rt/mq_notify.c: Likewise.
2027 * rt/mq_open.c: Likewise.
2028 * rt/mq_receive.c: Likewise.
2029 * rt/mq_send.c: Likewise.
2030 * rt/mq_setattr.c: Likewise.
2031 * rt/mq_timedreceive.c: Likewise.
2032 * rt/mq_timedsend.c: Likewise.
2033 * rt/mq_unlink.c: Likewise.
2034 * rt/shm_open.c: Likewise.
2035 * rt/shm_unlink.c: Likewise.
2036 * rt/timer_create.c: Likewise.
2037 * rt/timer_delete.c: Likewise.
2038 * rt/timer_getoverr.c: Likewise.
2039 * rt/timer_gettime.c: Likewise.
2040 * rt/timer_settime.c: Likewise.
2041 * setjmp/__longjmp.c: Likewise.
2042 * setjmp/setjmp.c: Likewise.
2043 * signal/kill.c: Likewise.
2044 * signal/killpg.c: Likewise.
2045 * signal/raise.c: Likewise.
2046 * signal/sigaction.c: Likewise.
2047 * signal/sigaltstack.c: Likewise.
2048 * signal/sigblock.c: Likewise.
2049 * signal/sigignore.c: Likewise.
2050 * signal/sigintr.c: Likewise.
2051 * signal/signal.c: Likewise.
2052 * signal/sigpause.c: Likewise.
2053 * signal/sigpending.c: Likewise.
2054 * signal/sigqueue.c: Likewise.
2055 * signal/sigreturn.c: Likewise.
2056 * signal/sigset.c: Likewise.
2057 * signal/sigsetmask.c: Likewise.
2058 * signal/sigstack.c: Likewise.
2059 * signal/sigsuspend.c: Likewise.
2060 * signal/sigtimedwait.c: Likewise.
2061 * signal/sigvec.c: Likewise.
2062 * signal/sigwait.c: Likewise.
2063 * signal/sigwaitinfo.c: Likewise.
2064 * signal/sysv_signal.c: Likewise.
2065 * socket/accept.c: Likewise.
2066 * socket/accept4.c: Likewise.
2067 * socket/bind.c: Likewise.
2068 * socket/connect.c: Likewise.
2069 * socket/getpeername.c: Likewise.
2070 * socket/getsockname.c: Likewise.
2071 * socket/getsockopt.c: Likewise.
2072 * socket/isfdtype.c: Likewise.
2073 * socket/listen.c: Likewise.
2074 * socket/recv.c: Likewise.
2075 * socket/recvfrom.c: Likewise.
2076 * socket/recvmsg.c: Likewise.
2077 * socket/send.c: Likewise.
2078 * socket/sendmsg.c: Likewise.
2079 * socket/sendto.c: Likewise.
2080 * socket/setsockopt.c: Likewise.
2081 * socket/shutdown.c: Likewise.
2082 * socket/sockatmark.c: Likewise.
2083 * socket/socket.c: Likewise.
2084 * socket/socketpair.c: Likewise.
2085 * stdio-common/ctermid.c: Likewise.
2086 * stdio-common/cuserid.c: Likewise.
2087 * stdio-common/remove.c: Likewise.
2088 * stdio-common/rename.c: Likewise.
2089 * stdio-common/renameat.c: Likewise.
2090 * stdio-common/tempname.c: Likewise.
2091 * stdlib/getcontext.c: Likewise.
2092 * stdlib/makecontext.c: Likewise.
2093 * stdlib/setcontext.c: Likewise.
2094 * stdlib/swapcontext.c: Likewise.
2095 * stdlib/system.c: Likewise.
2096 * streams/fattach.c: Likewise.
2097 * streams/fdetach.c: Likewise.
2098 * streams/getmsg.c: Likewise.
2099 * streams/getpmsg.c: Likewise.
2100 * streams/putmsg.c: Likewise.
2101 * streams/putpmsg.c: Likewise.
2102 * sysdeps/unix/bsd/getpt.c: Likewise.
2103 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2104 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2105 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2107 Likewise.
2108 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2109 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2110 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2111 * sysvipc/msgctl.c: Likewise.
2112 * sysvipc/msgget.c: Likewise.
2113 * sysvipc/msgrcv.c: Likewise.
2114 * sysvipc/msgsnd.c: Likewise.
2115 * sysvipc/semctl.c: Likewise.
2116 * sysvipc/semget.c: Likewise.
2117 * sysvipc/semop.c: Likewise.
2118 * sysvipc/semtimedop.c: Likewise.
2119 * sysvipc/shmat.c: Likewise.
2120 * sysvipc/shmctl.c: Likewise.
2121 * sysvipc/shmdt.c: Likewise.
2122 * sysvipc/shmget.c: Likewise.
2123 * termios/tcdrain.c: Likewise.
2124 * termios/tcflow.c: Likewise.
2125 * termios/tcflush.c: Likewise.
2126 * termios/tcgetattr.c: Likewise.
2127 * termios/tcgetpgrp.c: Likewise.
2128 * termios/tcsendbrk.c: Likewise.
2129 * termios/tcsetattr.c: Likewise.
2130 * termios/tcsetpgrp.c: Likewise.
2131 * time/adjtime.c: Likewise.
2132 * time/clock.c: Likewise.
2133 * time/getitimer.c: Likewise.
2134 * time/gettimeofday.c: Likewise.
2135 * time/setitimer.c: Likewise.
2136 * time/settimeofday.c: Likewise.
2137 * time/stime.c: Likewise.
2138 * time/time.c: Likewise.
2139
21402012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 2141
a20492cf
PT
2142 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2143 /usr/old/bin.
2144
72e182e3
PT
2145 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2146 instead of spaces.
2147 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2148
fbeafede
JM
21492012-11-03 Joseph Myers <joseph@codesourcery.com>
2150
5b5b04d6
JM
2151 [BZ #14796]
2152 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2153 FE_TONEAREST before applying Dekker multiplication and Knuth
2154 addition. Clear inexact exceptions and check for exact zero
2155 results afterwards.
2156 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2157 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2158 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2159 * math/libm-test.inc (fma_test): Add more tests.
2160 (fma_test_towardzero): Likewise.
2161 (fma_test_downward): Likewise.
2162 (fma_test_upward): Likewise.
2163 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2164 function.
2165 (libc_fesetround): New macro.
2166 (libc_fesetroundf): Likewise.
2167 (libc_fesetroundl): Likewise.
2168 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2169 function.
2170 (libc_fesetround_387): Likewise.
2171 (libc_fesetroundf): New macro.
2172 (libc_fesetround): Likewise.
2173 (libc_fesetroundl): Likewise.
2174 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2175 function.
2176 (libc_fesetroundf): New macro.
2177 (libc_fesetround): Likewise.
2178 (libc_fesetroundl): Likewise.
2179 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2180 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2181 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2182 libm_hidden_ver.
2183 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2184 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2185 libm_hidden_def.
2186 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2187 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2188 libm_hidden_ver.
2189 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2190 libm_hidden_def.
2191
fbeafede
JM
2192 [BZ #3439]
2193 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2194 integer constant usable in #if and use that to give value to enum
2195 constant.
2196 (FE_DIVBYZERO): Likewise.
2197 (FE_UNDERFLOW): Likewise.
2198 (FE_OVERFLOW): Likewise.
2199 (FE_INVALID): Likewise.
2200 (FE_INVALID_SNAN): Likewise.
2201 (FE_INVALID_ISI): Likewise.
2202 (FE_INVALID_IDI): Likewise.
2203 (FE_INVALID_ZDZ): Likewise.
2204 (FE_INVALID_IMZ): Likewise.
2205 (FE_INVALID_COMPARE): Likewise.
2206 (FE_INVALID_SOFTWARE): Likewise.
2207 (FE_INVALID_SQRT): Likewise.
2208 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2209 (FE_TONEAREST): Likewise.
2210 (FE_TOWARDZERO): Likewise.
2211 (FE_UPWARD): Likewise.
2212 (FE_DOWNWARD): Likewise.
2213 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2214 (FE_DIVBYZERO): Likewise.
2215 (FE_OVERFLOW): Likewise.
2216 (FE_UNDERFLOW): Likewise.
2217 (FE_INEXACT): Likewise.
2218 (FE_TONEAREST): Likewise.
2219 (FE_DOWNWARD): Likewise.
2220 (FE_UPWARD): Likewise.
2221 (FE_TOWARDZERO): Likewise.
2222 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2223 (FE_UNDERFLOW): Likewise.
2224 (FE_OVERFLOW): Likewise.
2225 (FE_DIVBYZERO): Likewise.
2226 (FE_INVALID): Likewise.
2227 (FE_TONEAREST): Likewise.
2228 (FE_TOWARDZERO): Likewise.
2229 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2230 (FE_OVERFLOW): Likewise.
2231 (FE_UNDERFLOW): Likewise.
2232 (FE_DIVBYZERO): Likewise.
2233 (FE_INEXACT): Likewise.
2234 (FE_TONEAREST): Likewise.
2235 (FE_TOWARDZERO): Likewise.
2236 (FE_UPWARD): Likewise.
2237 (FE_DOWNWARD): Likewise.
2238 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2239 (FE_DIVBYZERO): Likewise.
2240 (FE_OVERFLOW): Likewise.
2241 (FE_UNDERFLOW): Likewise.
2242 (FE_INEXACT): Likewise.
2243 (FE_TONEAREST): Likewise.
2244 (FE_DOWNWARD): Likewise.
2245 (FE_UPWARD): Likewise.
2246 (FE_TOWARDZERO): Likewise.
2247
105ca950
CM
22482012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2249
2250 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2251
a542b389
AS
22522012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2253
2254 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2255 commands. Quote $PWD.
2256 (blacklist_exports): Don't use remove_newlines. Replace "declare
2257 -x" by "export".
2258 (remove_newlines): Remove.
2259
f62c8abc
L
22602012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2261
2262 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2263 * stdlib/stdlib.h (atof): Moved to ...
2264 * include/bits/stdlib-float.h: Here. New file.
2265 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2266 * stdlib/bits/stdlib-float.h: New file.
2267 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2268 -mno-sse -mno-mmx.
2269 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2270 <xmmintrin.h>.
2271
0155d5b2
JM
22722012-11-02 Joseph Myers <joseph@codesourcery.com>
2273
a68d0680
JM
2274 * conform/conformtest.pl (@headers): Add fenv.h.
2275 * conform/data/fenv.h-data: New file.
2276 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2277 include of <math/fenv.h>.
2278
caf7f573
JM
2279 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2280 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2281 && !UNIX98]. Enables tests for XOPEN2K8.
2282 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2283 POSIX2008]: Likewise.
2284
6c073ad6
JM
2285 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2286 (struct rusage): Do not expect type or its members.
2287
0155d5b2
JM
2288 [BZ #3439]
2289 * math/math.h (FP_NAN): Define macro to integer constant usable in
2290 #if and use that to give value to enum constant.
2291 (FP_INFINITE): Likewise.
2292 (FP_ZERO): Likewise.
2293 (FP_SUBNORMAL): Likewise.
2294 (FP_NORMAL): Likewise.
2295
b5dcacb4
AS
22962012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2297
2298 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2299 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2300 arguments.
2301
f7934be8
RM
23022012-11-02 Roland McGrath <roland@hack.frob.com>
2303
2304 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2305 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2306 autoconf-time if not.
2307 * configure.in: Remove AC_PREREQ.
2308
d7d08bde
TMQMF
23092012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2310
2311 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2312 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2313 of the internal implementation.
2314
dcdae19a
JM
23152012-11-02 Joseph Myers <joseph@codesourcery.com>
2316
2317 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2318 except include of <misc/sys/syslog.h>.
2319
d6cffd3e
AS
23202012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2321
2322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2323 function returns with a NULL context exit with zero.
2324
b3563932
TMQMF
23252012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2326
2327 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2328
b288a93d
L
23292012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2330
2331 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2332 (run_program_cmd): This.
2333 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2334 (tst_langinfo): New variable. Use it.
2335
a2421a68
SAS
23362012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2337
2338 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2339 floating point opcodes.
2340
6f796e1b
TS
23412012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2342
7402596b
TS
2343 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2344 variable.
2345
d0d4f868
TS
2346 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2347
6f796e1b
TS
2348 * sysdeps/mach/hurd/powerpc: Remove directory.
2349 * sysdeps/mach/powerpc: Likewise.
2350
4da224a2
AS
23512012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2352
2353 * scripts/check-local-headers.sh: Ignore c++ headers.
2354
341dd673
TS
23552012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2356
2357 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2358 __libc_cleanup_region_start argument.
2359
473611b2
JM
23602012-11-01 Joseph Myers <joseph@codesourcery.com>
2361
2362 [BZ #14784]
2363 [BZ #14785]
2364 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2365 x * y using scaling, not as x * y + z.
2366 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2367 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2368 * math/libm-test.inc (fma_test): Add more tests.
2369 (fma_test_towardzero): Likewise.
2370 (fma_test_downward): Likewise.
2371 (fma_test_upward): Likewise.
2372
4078da3d
TS
23732012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2374
2375 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2376
903252aa
JM
23772012-10-31 Joseph Myers <joseph@codesourcery.com>
2378
2379 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2380 New variable.
2381
cbc818d0
TS
23822012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2383
2384 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2385
5a03cb1e
AS
23862012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2387
2388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2389 Fix sort order.
2390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2391 Likewise.
2392
90aff2ff
TMQMF
23932012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2394
2395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2396 Fix the order of the list for glibc 2.17.
2397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2398 Likewise.
2399
1818fcb7
AS
24002012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2401
2402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2403
ef82f4da
JM
24042012-10-31 Joseph Myers <joseph@codesourcery.com>
2405
16a0e2ec
JM
2406 [BZ #14610]
2407 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2408 for low part of x being zero before using __atanl (y).
2409 * math/libm-test.inc (atan2_test): Add another test.
2410
0eb69512
JM
2411 * manual/install.texi (Configuring and compiling): Document
2412 general use of test-wrapper and test-wrapper-env.
2413 * INSTALL: Regenerated.
2414
ef82f4da
JM
2415 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2416 (__fma): Do not extract and scale down low bits on after-rounding
2417 systems when result rounded to normal precision would have normal
2418 exponent.
2419 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2420 (__fmal): Do not extract and scale down low bits on after-rounding
2421 systems when result rounded to normal precision would have normal
2422 exponent.
2423 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2424 (__fmal): Do not extract and scale down low bits on after-rounding
2425 systems when result rounded to normal precision would have normal
2426 exponent.
2427 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2428 macro.
2429 (fma_test): Add more tests.
2430 (fma_test_towardzero): Likewise.
2431 (fma_test_downward): Likewise.
2432 (fma_test_upward): Likewise.
2433
954ef0d9
L
24342012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2435
2436 * sysdeps/i386/tininess.h: Renamed to ...
2437 * sysdeps/x86/tininess.h: This.
2438 * sysdeps/x86_64/tininess.h: Removed.
2439
df61ffb2
JM
24402012-10-30 Joseph Myers <joseph@codesourcery.com>
2441
2442 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2443 input. Use $(build-program-cmd).
2444 ($(objpfx)tst-array1-static.out): Likewise.
2445 ($(objpfx)tst-array2.out): Likewise.
2446 ($(objpfx)tst-array3.out): Likewise.
2447 ($(objpfx)tst-array4.out): Likewise.
2448 ($(objpfx)tst-array5.out): Likewise.
2449 ($(objpfx)tst-array5-static.out): Likewise.
2450
01767843
CM
24512012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2452
47cc1490
CM
2453 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2454 if defined.
2455
01767843
CM
2456 * nss/nsswitch.h (nss_interface_function): Provide new
2457 macro for use with NSS functions.
2458 * grp/initgroups.c: Use new macro.
2459 * nss/getXXbyYY.c: Likewise.
2460 * nss/getXXbyYY_r.c: Likewise.
2461 * nss/getXXent.c: Likewise.
2462 * nss/getXXent_r.c: Likewise.
2463 * sysdeps/posix/getaddrinfo.c: Likewise.
2464
8321aa97
AJ
24652012-10-30 Andreas Jaeger <aj@suse.de>
2466
2467 * po/ru.po: Update Russion translation from translation project.
2468
2a27fd6d
JM
24692012-10-30 Joseph Myers <joseph@codesourcery.com>
2470
8627a232
JM
2471 [BZ #14152]
2472 [BZ #14783]
2473 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2474 result and shift together with sticky bit instead of replicating
2475 round-to-nearest rounding.
2476 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2477 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2478 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2479 missing underflow exceptions.
2480 (fma_test_towardzero): Add more tests.
2481 (fma_test_downward): Likewise.
2482 (fma_test_upward): Likewise.
2483
2a27fd6d
JM
2484 [BZ #14047]
2485 * sysdeps/generic/tininess.h: New file.
2486 * sysdeps/i386/tininess.h: Likewise.
2487 * sysdeps/sh/tininess.h: Likewise.
2488 * sysdeps/x86_64/tininess.h: Likewise.
2489 * stdlib/tst-strtod-underflow.c: Likewise.
2490 * stdlib/tst-tininess.c: Likewise.
2491 * stdlib/strtod_l.c: Include <tininess.h>.
2492 (round_and_return): Do not set errno for exact underflow cases.
2493 Force an underflow exception when setting errno for underflow.
2494 Determine underflow based on rounding to normal precision if
2495 TININESS_AFTER_ROUNDING.
2496 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2497 ERANGE for exact underflow cases.
2498 * stdlib/Makefile (tests): Add tst-tininess and
2499 tst-strtod-underflow.
2500 ($(objpfx)tst-tininess): Use $(link-libm).
2501 ($(objpfx)tst-strtod-underflow): Likewise.
2502
e7170363
AJ
25032012-10-30 Andreas Jaeger <aj@suse.de>
2504
e5088dc6
AJ
2505 [BZ#14767]
2506 * elf/Makefile (tests): Remove conditional for have-initfini-array
2507 since this is now always required and the variable does not exist
2508 anymore.
2509 (tests-static): Likewise.
2510 (modules-names): Likewise.
2511
e7170363 2512 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
2513
2514 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2515 merged with constructor/destructor.
2516 (init_array): Likewise.
2517 * elf/tst-array2dep.c (fini_array): Likewise.
2518 (init_array): Likewise.
2519
60457d8a
MF
25202012-10-29 Mike Frysinger <vapier@gentoo.org>
2521
2522 * manual/message.texi: Delete @cartouche tags.
2523
8bece752
PT
25242012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2525
94ce799f
PT
2526 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2527 EOPNOTSUPP.
2528 * sysdeps/mach/hurd/fsync.c: Likewise.
2529
8bece752
PT
2530 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2531 [_POSIX_REALTIME_SIGNALS]: Change condition to
2532 [_POSIX_REALTIME_SIGNALS > 0].
2533
86ebe6b1
AJ
25342012-10-27 Andreas Jaeger <aj@suse.de>
2535
2536 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2537 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2538 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2539 [__WORDSIZE != 64]: Likewise.
2540
54399c08
L
25412012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2542
2543 * iconvdata/tst-table.sh: Remove ${SHELL}.
2544 * iconvdata/tst-tables.sh: Likewise.
2545
e2211bed
DM
25462012-10-25 David S. Miller <davem@davemloft.net>
2547
2548 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2549 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2550 of strtoull.
2551
f303f97c
DM
2552 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2553 ifunc-impl-list.c
2554 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2555 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2556 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2557 file.
2558
1e9d84cd
RM
25592012-10-25 Roland McGrath <roland@hack.frob.com>
2560
2561 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2562 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2563 __getdirentries.
2564
df381762
JM
25652012-10-25 Joseph Myers <joseph@codesourcery.com>
2566 Jim Blandy <jimb@codesourcery.com>
2567
2568 * scripts/cross-test-ssh.sh: New file.
2569 * manual/install.texi (Configuring and compiling): Document use of
2570 cross-test-ssh.sh.
2571 * INSTALL: Regenerated.
2572
bff64913
PT
25732012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2574
2575 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2576 EOPNOTSUPP.
2577
25fe8932
JM
25782012-10-25 Joseph Myers <joseph@codesourcery.com>
2579
2580 * Makeconfig (run-program-prefix): Fix comment.
2581
cc1290d0
JM
25822012-10-24 Joseph Myers <joseph@codesourcery.com>
2583 Jim Blandy <jimb@codesourcery.com>
2584
2585 * Makeconfig (test-wrapper): New variable,
2586 (test-wrapper-env): Likewise.
2587 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2588 (run-built-tests): Define to yes.
2589 (run-program-prefix): Use $(test-wrapper).
2590 (built-program-cmd): Likewise.
2591 * Rules (make-test-out): Use $(test-wrapper-env) and
2592 $(host-built-program-cmd).
2593 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2594 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2595 tst-pathopt.sh.
2596 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2597 $(test-wrapper-env) to tst-rtld-load-self.sh.
2598 ($(objpfx)order2.out): Use $(test-wrapper).
2599 ($(objpfx)tst-initorder.out): Likewise.
2600 ($(objpfx)tst-initorder2.out): Likewise.
2601 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2602 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2603 (test_wrapper_env): New variable. Use it to run ld.so.
2604 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2605 Use it to run ld.so.
2606 (test_wrapper_env): Likewise.
2607 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2608 $(test-wrapper) to run-iconv-test.sh.
2609 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2610 (ICONV): Use $test_wrapper.
2611 * posix/Makefile ($(objpfx)globtest.out): Pass
2612 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2613 globtest.sh, not $(run-program-prefix).
2614 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2615 (test_wrapper): Likewise.
2616 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2617 set together with run_via_rtld_prefix.
2618 (run_program_prefix): Define in terms of test_wrapper and
2619 run_via_rtld_prefix.
2620
6e6249d0
RM
26212012-10-24 Roland McGrath <roland@hack.frob.com>
2622
2623 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2624 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2625 Targets removed.
2626
2627 [BZ #14743]
2628 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2629 Declare __clock_getres, __clock_gettime, __clock_settime,
2630 __clock_nanosleep, and __clock_getcpuclockid.
2631 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2632 Remove librt_hidden_def (clock_gettime).
2633 * sysdeps/unix/clock_gettime.c: Likewise.
2634 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2635 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2636 * rt/clock_getres.c: Define __clock_getres as an alias.
2637 * sysdeps/posix/clock_getres.c: Likewise.
2638 * rt/clock_settime.c: Define __clock_settime as an alias.
2639 * sysdeps/unix/clock_settime.c: Likewise.
2640 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2641 * sysdeps/unix/clock_nanosleep.c: Likewise.
2642 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2643 * rt/clock-compat.c: New file.
2644 * rt/Makefile (librt-routines): Add clock-compat and move
2645 $(clock-routines) to ...
2646 (routines): ... here, new variable.
2647 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2648 Don't add get_clockfreq here.
2649 * rt/Versions (libc: GLIBC_2.17): New version set.
2650 Add clock_* symbols here.
2651 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2652 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2653 (GLIBC_2.17): Add clock_* symbols.
2654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2656 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2658 Likewise.
2659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2660 Likewise.
2661 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2662 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2665 * NEWS: Mention the move.
2666
2667 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2668 Use __open, __read, __close rather than their public counterparts.
2669 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2670 (__get_clockfreq_via_cpuinfo): Likewise.
2671 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2672 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2673
2674 * config.h.in (HAVE_IFUNC): New #undef.
2675 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2676 was successful.
2677 * configure: Regenerated.
2678
0cae3f4b
MF
26792012-10-24 Mike Frysinger <vapier@gentoo.org>
2680
2681 * configure.in: Move READELF check to start of file.
2682 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2683 libc_cv_asm_gnu_indirect_function in the process.
2684 * configure: Regenerated.
2685
8175a253
MF
26862012-10-24 Mike Frysinger <vapier@gentoo.org>
2687
2688 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2689 send the output to /dev/null.
2690 (libc_cv_cc_with_libunwind): Likewise.
2691 (libc_cv_as_noexecstack): Likewise.
2692 * configure: Regenerate.
2693
0708a7d1
JM
26942012-10-24 Joseph Myers <joseph@codesourcery.com>
2695
10b40d85
JM
2696 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2697
0708a7d1
JM
2698 * posix/globtest.sh (TMPDIR): Do not set.
2699 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2700 (testout): Likewise.
2701
9fddec1a
AJ
27022012-10-24 Andreas Jaeger <aj@suse.de>
2703
3a8db22f
AJ
2704 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2705 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2706 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2707 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2708 posix_fadvise64, posix_fallocate64.
2709
9fddec1a
AJ
2710 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2711 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2712 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2713 Likewise.
2714 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2715 Likewise.
2716 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2717
2718 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2719 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2720 <bits/fcntl-linux.h>.
2721 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2722
2723 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2724 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2725 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2726 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2727 [__WORDSIZE != 64]: Likewise.
2728
ebfd1bbd
JM
27292012-10-23 Joseph Myers <joseph@codesourcery.com>
2730
03ac099f
JM
2731 * Makeconfig (run-built-tests): New variable.
2732 * Rules [$(cross-compiling) = yes]: Change condition to
2733 [$(run-built-tests) = no].
2734 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2735 to [$(run-built-tests) = yes].
2736 * elf/Makefile [$(cross-compiling) = no]: Likewise
2737 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2738 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2739 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2740 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2741 * io/Makefile [$(cross-compiling) = no]: Likewise.
2742 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2743 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2744 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2745 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2746 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2747 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2748 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2749 * string/Makefile [$(cross-compiling) = no]: Likewise.
2750
ebfd1bbd
JM
2751 * posix/Makefile ($(objpfx)globtest.out): Pass
2752 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2753 $(rtld-installed-name).
2754 * posix/globtest.sh (elf_objpfx): Remove variable.
2755 (rtld_installed_name): Likewise.
2756 (library_path): Likewise.
2757 (run_program_prefix): New variable. Use for running globtest
2758 binary.
2759
166bca24
JB
27602012-10-23 Jim Blandy <jimb@codesourcery.com>
2761 Joseph Myers <joseph@codesourcery.com>
2762
2763 * Makeconfig (host-built-program-cmd): New variable.
2764 * elf/Makefile (tst-stackguard1-ARGS): Use
2765 $(host-built-program-cmd).
2766 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2767 (tst-spawn-ARGS): Likewise.
2768 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2769
88866099
JM
27702012-10-23 Joseph Myers <joseph@codesourcery.com>
2771 Jim Blandy <jimb@codesourcery.com>
2772
2773 * Makeconfig (run-via-rtld-prefix): New variable.
2774 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2775 (built-program-cmd): Likewise.
2776
b4b4c296
AJ
27772012-10-22 Andreas Jaeger <aj@suse.de>
2778
2779 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2780 __O_RSYNC if it exists, otherwise to O_SYNC.
2781
6fb54a22
JB
27822012-10-22 Jim Blandy <jimb@codesourcery.com>
2783 Joseph Myers <joseph@codesourcery.com>
2784
2785 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2786 /dev/null.
2787 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2788 from /dev/null
2789 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2790 /dev/null.
2791
481b90b9
AJ
27922012-10-22 Andreas Jaeger <aj@suse.de>
2793
2a0e2669
AJ
2794 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2795 Define always.
2796 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2797
76e38f9a
AJ
2798 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2799 bits/fcntl-linux.h.
2800
7cd37b43
AJ
2801 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2802 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2803
481b90b9
AJ
2804 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2805 to __O_LARGEFILE.
2806 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2807 to __O_LARGEFILE.
2808
aba75984
JB
28092012-10-21 Jim Blandy <jimb@codesourcery.com>
2810 Joseph Myers <joseph@codesourcery.com>
2811
2812 * config.make.in (NM): New variable.
2813
88d4247f
AJ
28142012-10-21 Andreas Jaeger <aj@suse.de>
2815
2816 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2817 definitions and declarations that are provided by
2818 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2819
f2eed205
L
28202012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2821
2822 [BZ #14683]
2823 * elf/Makefile (tests-static): Add tst-leaks1-static.
2824 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2825 ($(objpfx)tst-leaks1-static): New rule.
2826 ($(objpfx)tst-leaks1-static-mem): Likewise.
2827 (tst-leaks1-static-ENV): New macro.
2828 * elf/dl-open.c (dl_open_worker): Check the main application
2829 only if SHARED is defined.
2830 * elf/tst-leaks1-static.c: New file.
2831
335e6931
AJ
28322012-10-20 Andreas Jaeger <aj@suse.de>
2833
2834 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2835 generic values for Linux.
2836 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2837 and declarations that are provided by <bits/fcntl-linux.h> and
2838 include <bits/fcntl-linux.h>.
2839 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2840 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2841
ac5c94d3
RM
28422012-10-20 Roland McGrath <roland@hack.frob.com>
2843
2844 * io/fcntl.h: Move include of <bits/types.h> to the top and
2845 include it unconditionally.
2846
de54b33a
L
28472012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2848
228cfb01
L
2849 * wcsmbs/Makefile (tests-ifunc): New variable.
2850 (tests): Add $(tests-ifunc).
2851 * wcsmbs/test-wcschr-ifunc.c: New file.
2852 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2853 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2854 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2855 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2856 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2857
69f07e5f
L
2858 * string/Makefile (tests-ifunc): New variable.
2859 (tests): Add $(tests-ifunc).
2860 * string/test-memccpy.c (TEST_NAME): New macro.
2861 * string/test-memchr.c (TEST_NAME): Likewise.
2862 * string/test-memcmp.c (TEST_NAME): Likewise.
2863 * string/test-memcpy.c (TEST_NAME): Likewise.
2864 * string/test-memmem.c (TEST_NAME): Likewise.
2865 * string/test-memmove.c (TEST_NAME): Likewise.
2866 * string/test-memset.c (TEST_NAME): Likewise.
2867 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2868 * string/test-stpcpy.c (TEST_NAME): Likewise.
2869 * string/test-stpncpy.c (TEST_NAME): Likewise.
2870 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2871 * string/test-strcasestr.c (TEST_NAME): Likewise.
2872 * string/test-strcat.c (TEST_NAME): Likewise.
2873 * string/test-strchr.c (TEST_NAME): Likewise.
2874 * string/test-strcmp.c(TEST_NAME): Likewise.
2875 * string/test-strcpy.c (TEST_NAME): Likewise.
2876 * string/test-strcspn.c (TEST_NAME): Likewise.
2877 * string/test-strlen.c (TEST_NAME): Likewise.
2878 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2879 * string/test-strncmp.c (TEST_NAME): Likewise.
2880 * string/test-strncpy.c (TEST_NAME): Likewise.
2881 * string/test-strnlen.c (TEST_NAME): Likewise.
2882 * string/test-strpbrk.c (TEST_NAME): Likewise.
2883 * string/test-strrchr.c (TEST_NAME): Likewise.
2884 * string/test-strspn.c (TEST_NAME): Likewise.
2885 * string/test-strstr.c (TEST_NAME): Likewise.
2886 * string/test-bcopy-ifunc.c: New file.
2887 * string/test-bzero-ifunc.c: Likewise.
2888 * string/test-memccpy-ifunc.c: Likewise.
2889 * string/test-memchr-ifunc.c: Likewise.
2890 * string/test-memcmp-ifunc.c: Likewise.
2891 * string/test-memcpy-ifunc.c: Likewise.
2892 * string/test-memmem-ifunc.c: Likewise.
2893 * string/test-memmove-ifunc.c: Likewise.
2894 * string/test-mempcpy-ifunc.c: Likewise.
2895 * string/test-memset-ifunc.c: Likewise.
2896 * string/test-rawmemchr-ifunc.c: Likewise.
2897 * string/test-stpcpy-ifunc.c: Likewise.
2898 * string/test-stpncpy-ifunc.c: Likewise.
2899 * string/test-strcasecmp-ifunc.c: Likewise.
2900 * string/test-strcasestr-ifunc.c: Likewise.
2901 * string/test-strcat-ifunc.c: Likewise.
2902 * string/test-strchr-ifunc.c: Likewise.
2903 * string/test-strchrnul-ifunc.c: Likewise.
2904 * string/test-strcmp-ifunc.c: Likewise.
2905 * string/test-strcpy-ifunc.c: Likewise.
2906 * string/test-strcspn-ifunc.c: Likewise.
2907 * string/test-strlen-ifunc.c: Likewise.
2908 * string/test-strncasecmp-ifunc.c: Likewise.
2909 * string/test-strncat-ifunc.c: Likewise.
2910 * string/test-strncmp-ifunc.c: Likewise.
2911 * string/test-strncpy-ifunc.c: Likewise.
2912 * string/test-strnlen-ifunc.c: Likewise.
2913 * string/test-strpbrk-ifunc.c: Likewise.
2914 * string/test-strrchr-ifunc.c: Likewise.
2915 * string/test-strspn-ifunc.c: Likewise.
2916 * string/test-strstr-ifunc.c: Likewise.
2917
de54b33a
L
2918 * debug/Makefile (tests-ifunc): New variable.
2919 (tests): Add $(tests-ifunc).
2920 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2921 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2922 * debug/test-stpcpy_chk-ifunc.c: New file.
2923 * debug/test-strcpy_chk-ifunc.c: Likewise.
2924
88481c16
SP
29252012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2926
2927 [BZ #13601]
2928 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2929 header is not read in.
2930
135948bd
JM
29312012-10-19 Joseph Myers <joseph@codesourcery.com>
2932
89f1c388
JM
2933 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2934 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2935 directly. Pass built executable to script as
2936 $(built-program-cmd).
2937 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2938 $testprogram without using LD_LIBRARY_PATH and $ldso.
2939
e40a0d21
JM
2940 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2941 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2942 $(rtld-installed-name).
2943 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2944 (rtld_installed_name): Likewise.
2945 (library_path): Likewise.
2946 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2947 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2948 $(run-program-prefix) to tst-tables.sh.
2949 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2950 it to run tst-table-from and tst-table-to.
2951 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2952 Pass it to tst-table.sh.
2953 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2954 $(run-program-prefix) to tst-gettext.sh.
2955 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2956 tst-translit.sh.
2957 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2958 tst-gettext2.sh.
2959 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2960 to run tst-gettext.
2961 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2962 to run tst-gettext2.
2963 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2964 to run tst-translit.
2965 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2966 $(run-program-prefix) to tst-mtrace.sh.
2967 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2968 to run tst-mtrace.
2969 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2970 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2971 $(rtld-installed-name).
2972 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2973 (rtld_installed_name): Likewise.
2974 (run_program_prefix): New variable. Use it to run wordexp-test.
2975
728e272a
JM
2976 * Makeconfig (ARCH): Remove all definitions.
2977 (machine): Likewise.
2978 [ARCH]: Remove conditional code.
2979 [!objdir]: Give error.
2980 [!objdir] (objpfx): Remove.
2981 [!objdir] (common-objpfx): Likewise.
2982 [!objdir] (common-objdir): Likewise.
2983 * configure.in (config_makefile): Remove. Hardcode Makefile in
2984 AC_CONFIG_FILES call.
2985 * configure: Regenerated.
2986
d528cdcf
JM
2987 [BZ #13888]
2988 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2989 or TMPDIR.
2990 (testout): Likewise.
2991
135948bd
JM
2992 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2993 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2994 $(rtld-installed-name).
2995 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2996 (rtld_installed_name): Likwise.
2997 (runit): Remove function.
2998 (run_getconf): New variable, Use it for running getconf binary.
2999
38c78296
L
30002012-10-18 H.J. Lu <hongjiu.lu@intel.com>
3001
3002 [BZ #14716]
3003 * string/test-memmem.c (check_result): New function.
3004 (do_one_test): Use it.
3005 (check1): New function.
3006 (test_main): Use it.
3007
d077f65f
MT
30082012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
3009
3010 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3011
ced52c71
JM
30122012-10-18 Joseph Myers <joseph@codesourcery.com>
3013
3014 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3015 (_G_LSEEK64): Likewise.
3016 (_G_MMAP64): Likewise.
3017 (_G_FSTAT64): Likewise.
3018 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3019 (_G_LSEEK64): Likewise.
3020 (_G_MMAP64): Likewise.
3021 (_G_FSTAT64): Likewise.
3022 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3023 unconditional. Call __mmap64 directly.
3024 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3025 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
3026 __lseek64 directly.
3027 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3028 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
3029 __mmap64 directly.
3030 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3031 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
3032 __lseek64 directly.
3033 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3034 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
3035 __lseek64 directly.
3036 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3037 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
3038 __lseek64 directly.
3039 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3040 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
3041 __fxstat64 directly.
3042 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3043 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3044 unconditional.
3045 (freopen64) [!_G_OPEN64]: Remove conditional code.
3046 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3047 unconditional.
3048 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3049 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3050 unconditional.
3051 (ftello64) [!_G_LSEEK64]: Remove conditional code.
3052 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3053 unconditional.
3054 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3055 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3056 unconditional.
3057 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3058 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3059 unconditional.
3060 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3061 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3062 unconditional.
3063 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3064 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3065 unconditional.
3066 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3067
b741de23
SP
30682012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3069
3070 [BZ #12140]
3071 * manual/memory.texi (Malloc Tunable Parameters): Add note
3072 about free list pointers overwriting some perturb bytes.
3073 Wording suggested by Roland McGrath.
3074
f9b9d9c9
JM
30752012-10-17 Joseph Myers <joseph@codesourcery.com>
3076
3077 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3078 (lgamma_test): Likewise.
3079 (tgamma_test): Likewise.
3080
172a631a
FW
30812012-10-16 Florian Weimer <fweimer@redhat.com>
3082
3083 [BZ #14700]
3084 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3085 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3086
e9f37252
MK
30872012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3088
3089 * NEWS: Mention BZ #14716.
3090 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3091 when removing AVAILABLE1_USES_J macro.
3092
d394eb74
L
30932012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3094
3095 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3096 (__bswap_64): __uint64_t for unsigned 64-bit int.
3097
ca38dc17
AS
30982012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3099
3100 * include/string.h (memmem): Declare libc hidden alias.
3101 * string/memmem.c (memmem): Define libc hidden alias.
3102 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3103 __read, __close instead of open, read, close.
3104
9a387d1f
L
31052012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3106
ac49ecaf
L
3107 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3108 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3109 global and hidden.
3110 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3111 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3112 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3113 Likewise.
3114 (__rawmemchr_sse2): Likewise.
3115 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3116 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3117 (__strchr_sse2): Likewise.
3118 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3119 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3120 (__strcasecmp_sse2): Likewise.
3121 (__strncasecmp_sse2): Likewise.
3122 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3123 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3124 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3125 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3126 (__strrchr_sse2): Likewise.
3127 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3128 ifunc-impl-list.c.
3129 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3130 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3131 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3132 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3133 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3134 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3135 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3136 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3137 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3138 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3139 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3140 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3141 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3142 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3143 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3144 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3145 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3146 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3147 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3148 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3149 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3150 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3151 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3152 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3153 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3154 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3155 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3156 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3157 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3158 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3159
b090e8ea
L
3160 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3161 global and hidden.
3162 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3163 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3164 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3165 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3166 Likewise.
3167 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3168 Likewise.
3169 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3170 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3171 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3172 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3173 ifunc-impl-list.c.
3174 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3175 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3176 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3177 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3178 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3179 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3180 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3181 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3182 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3183 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3184 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3185 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3186 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3187 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3188 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3189 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3190 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3191 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3192 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3193 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3194 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3195 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3196 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3197 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3198 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3199 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3200 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3201 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3202 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3203 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3204 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3205 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3206 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3207 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3208 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3209 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3210 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3211 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3212 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3213 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3214 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3215
11dd4af6
L
3216 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3217 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3218 * include/ifunc-impl-list.h: New file.
3219 * misc/ifunc-impl-list.c: Likewise.
3220 * misc/Makefile (routines): Add ifunc-impl-list.
3221 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3222 * string/test-string.h: Include <ifunc-impl-list.h>.
3223 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3224 impl_array): New variables.
3225 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3226 are defined.
3227 (test_init): Call __libc_ifunc_impl_list to initialize
3228 func_list if TEST_IFUNC and TEST_NAME are defined.
3229
9a387d1f
L
3230 * string/Makefile (strop-tests): Add bcopy and bzero.
3231 * string/test-bcopy.c: New file.
3232 * string/test-bzero.c: Likewise.
3233 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3234 defined.
3235 * string/test-memset.c: Support bzero test if TEST_BZERO is
3236 defined.
3237 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3238 __libc_memmove.
3239 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3240 __libc_memset.
3241 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3242 of memset.
3243
472371b9
JM
32442012-10-10 Joseph Myers <joseph@codesourcery.com>
3245
1e4a9536
JM
3246 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3247 * configure: Regenerated.
3248
d173d12e
JM
3249 * Makeconfig (+link-static-before-libc): Don't include
3250 $(link-static-libc).
3251
472371b9
JM
3252 * libio/libio.h (_IO_pos_t): Remove.
3253
89a3ad0b
AO
32542012-10-10 Alexandre Oliva <aoliva@redhat.com>
3255
3256 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3257 McGrath.
3258
e7451425
AO
32592012-10-10 Alexandre Oliva <aoliva@redhat.com>
3260
3261 * crypt/crypt-entry.c: Include fips-private.h.
3262 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3263 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3264 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3265 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3266
4ba74a35
AO
32672012-10-10 Alexandre Oliva <aoliva@redhat.com>
3268
3269 * crypt/crypt-private.h: Include stdbool.h.
3270 (_ufc_setup_salt_r): Return bool.
3271 * crypt/crypt-entry.c: Include errno.h.
3272 (__crypt_r): Return NULL with EINVAL for bad salt.
3273 * crypt/crypt_util.c (bad_for_salt): New.
3274 (_ufc_setup_salt_r): Check that salt is long enough and within
3275 the specified alphabet.
3276 * crypt/badsalttest.c: New file.
3277 * crypt/Makefile (tests): Add it.
3278 ($(objpfx)badsalttest): New.
3279
f96f1242
MK
32802012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3281
3282 * NEWS: Add entry for BZ #14602.
3283
0e8e0c1c
JM
32842012-10-09 Joseph Myers <joseph@codesourcery.com>
3285
3286 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3287 type-generic.
3288 * math/libm-test.inc: Update comment listing what functions and
3289 macros are tested.
3290 (isgreater_test): New function.
3291 (isgreaterequal_test): Likewise.
3292 (isless_test): Likewise.
3293 (islessequal_test): Likewise.
3294 (islessgreater_test): Likewise.
3295 (isunordered_test): Likewise.
3296 (main): Call the new functions.
3297
273edc5e
RM
32982012-10-09 Roland McGrath <roland@hack.frob.com>
3299
b8493de0
RM
3300 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3301 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3302 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3303 * sysdeps/i386/configure: Regenerated.
3304 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3305 * sysdeps/mach/configure: Regenerated.
3306 * sysdeps/mach/hurd/configure: Regenerated.
3307 * sysdeps/powerpc/configure: Regenerated.
3308 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3309 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3310 * sysdeps/s390/s390-32/configure: Regenerated.
3311 * sysdeps/s390/s390-64/configure: Regenerated.
3312 * sysdeps/sh/configure: Regenerated.
3313 * sysdeps/sparc/configure: Regenerated.
3314 * sysdeps/unix/sysv/linux/configure: Regenerated.
3315 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3316 * sysdeps/x86_64/configure: Regenerated.
3317
273edc5e
RM
3318 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3319 defined. Don't check if MAP is NULL.
3320
c8450f70
JM
33212012-10-09 Joseph Myers <joseph@codesourcery.com>
3322
3323 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3324 (_G_stat64): Likewise.
3325 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3326 (_G_stat64): Likewise.
3327 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3328 instead of struct _G_stat64.
3329 * libio/fileops.c (mmap_remap_check): Likewise.
3330 (decide_maybe_mmap): Likewise.
3331 (_IO_new_file_seekoff): Likewise.
3332 (_IO_file_stat): Likewise.
3333 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3334 _G_off64_t.
3335 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3336 instead of struct _G_stat64.
3337 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3338
57e605ba
MK
33392012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3340
3341 [BZ #14602]
3342 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3343 Replace with ...
3344 (CHECK_EOL): New macro.
3345 (two_way_short_needle): Check beginning of haystack for EOL. Use
3346 CHECK_EOL.
3347 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3348 Replace with CHECK_EOL.
3349 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3350 Replace with CHECK_EOL.
3351
ef1bb361
JM
33522012-10-08 Joseph Myers <joseph@codesourcery.com>
3353
3354 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3355 type-generic.
3356 * math/libm-test.inc: Update comment listing what functions and
3357 macros are tested.
3358 (finite_test): New function.
3359 (isinf_test): Likewise.
3360 (isnan_test): Likewise.
3361 (fpclassify_test): Test subnormal input.
3362 (isfinite_test): Likewise.
3363 (isnormal_test): Likewise.
3364 (main): Call the new functions.
3365
55f11534
JN
33662012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3367
3368 [BZ #14660]
3369 * Makerules (%.dynsym): Force C locale when running
3370 $(OBJDUMP) --dynamic-syms.
3371
1ab29350
AS
33722012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3373
3374 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3375 <stdint.h>.
3376
f1ecb7ef
DM
33772012-10-06 David S. Miller <davem@davemloft.net>
3378
3379 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3380 upper 32-bits of the length value in %o2 since we use branch-on-register
3381 tests which consider the entire 64-bit register.
3382
5d41d91a
L
33832012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3384
3385 * string/test-strstr.c (check2): Add a test for page boundary.
3386
3baddb72
DM
33872012-10-05 David S. Miller <davem@davemloft.net>
3388
3389 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3390 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3391 file.
3392 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3393 sysdep_routines.
3394 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3395 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3396 and bzero when HWCAP_SPARC_CRYPTO is present.
3397
9cee5585
L
33982012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3399
d7e0dab9
L
3400 [BZ #14602]
3401 * string/test-strstr.c (check2): New function.
3402 (test_main): Call check2.
3403
03759f47
L
3404 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3405 and bug-strchr1.
3406 * string/bug-strcasestr1.c (do_test): Moved to ...
3407 * string/test-strcasestr.c (check1): Here. New function.
3408 (do_one_test): Break out result checking code into ...
3409 (check_result): This. New function.
3410 (do_one_test): Call check_result.
3411 (test_main): Call check1.
3412 * string/bug-strchr1.c (do_test): Moved to ...
3413 * string/test-strchr.c (check1): Here. New function.
3414 (do_one_test): Break out result checking code into ...
3415 (check_result): This. New function.
3416 (do_one_test): Call check_result.
3417 (test_main): Call check1.
3418 * string/bug-strstr1.c (main): Moved to ...
3419 * string/test-strchr.c (check1): Here. New function.
3420 (do_one_test): Break out result checking code into ...
3421 (check_result): This. New function.
3422 (do_one_test): Call check_result.
3423 (test_main): Call check1.
3424 * string/bug-strcasestr1.c: Removed.
3425 * string/bug-strchr1.c: Likewise.
3426 * string/bug-strstr1.c: Likewise.
3427
53cea63e
L
3428 * elf/Makefile (dl-routines): Add hwcaps.
3429 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3430 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3431 (_dl_important_hwcaps): Moved to ...
3432 * elf/dl-hwcaps.c: Here. New file.
3433 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3434
9cee5585 3435 [BZ #14557]
bb859b06
L
3436 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3437 if IS_IN_rtld isn't defined.
3438
9cee5585
L
3439 * elf/dl-support.c (_dl_sysinfo_map): New.
3440 Include "get-dynamic-info.h" and "setup-vdso.h".
3441 (_dl_non_dynamic_init): Call setup_vdso.
3442 * elf/dynamic-link.h: Don't include <assert.h>.
3443 (elf_get_dynamic_info): Moved to ...
3444 * elf/get-dynamic-info.h: Here. New file.
3445 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3446 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3447 * elf/setup-vdso.h: Here. New file.
3448 * elf/rtld.c: Include "setup-vdso.h".
3449 (dl_main): Call setup_vdso.
3450
23c31b76
JM
34512012-10-05 Joseph Myers <joseph@codesourcery.com>
3452
28234b07
JM
3453 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3454 creal in comment listing functions tested. List finite, isinf,
3455 isnan, isless, islessequal, isgreater, isgreaterequal,
3456 islessgreater, isunordered, lgamma_r and pow10 as functions and
3457 macros not tested. Mention which functions not tested are aliases
3458 for other functions. Fix typo. Note that signs of NaNs are not
3459 tested.
3460
23c31b76
JM
3461 * scripts/config.guess: Update from config.git.
3462 * scripts/config.sub: Likewise.
3463
9043e228
RM
34642012-10-04 Roland McGrath <roland@hack.frob.com>
3465
3466 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3467 * misc/madvise.c (madvise): Renamed to __madvise.
3468 Make madvise a weak alias.
3469 * include/sys/mman.h: Declare __madvise.
3470 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3471 * sysdeps/unix/syscalls.list
3472 (madvise): Make __madvise the strong name, and madvise a weak alias.
3473 * sysdeps/unix/sysv/linux/syscalls.list
3474 (madvise, mmap): Remove redundant entries.
3475 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3476 * malloc/malloc.c (mtrim): Likewise.
3477 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3478
f57f8055
RM
34792012-10-03 Roland McGrath <roland@hack.frob.com>
3480
3481 * sysdeps/mach/hurd/dl-cache.c: File removed.
3482 * config.h.in (USE_LDCONFIG): New #undef.
3483 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3484 * configure: Regenerated.
3485 * elf/Makefile (dl-routines): Add dl-cache only under
3486 [$(use-ldconfig) = yes].
3487 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3488 cache on [USE_LDCONFIG].
3489 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3490 [USE_LDCONFIG].
3491 * elf/rtld.c (dl_main): Likewise.
3492
5bb0c10a
PT
34932012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3494
3495 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3496 _SC_LEVEL4_CACHE_LINESIZE.
3497
010188c6
RM
34982012-10-03 Roland McGrath <roland@hack.frob.com>
3499
3500 * sysdeps/unix/bsd/confstr.h: File removed.
3501
b6c5ec07
AO
35022012-10-02 Alexandre Oliva <aoliva@redhat.com>
3503
3504 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3505 sys/sdt-config.h.
3506
408223d4
RM
35072012-10-02 Roland McGrath <roland@hack.frob.com>
3508
3509 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3510 Make 'mapoff' field ElfW(Off) rather than off_t.
3511
bb9510dc
DL
35122012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3513
fc997c6e
DL
3514 * nscd/Makefile: Remove nscd-cflags and all its users.
3515 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3516 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3517
bb9510dc
DL
3518 [BZ #10631]
3519 * malloc.c (malloc_printerr): Clarify error message.
3520
05699367
L
35212012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3522
3523 [BZ #14648]
3524 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3525 Set bit_FMA_Usable if FMA is supported.
3526 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3527 macro.
3528 (bit_FMA4_Usable): Updated.
3529 (index_FMA_Usable): New macro.
3530 (CPUID_FMA): Likewise
3531 (HAS_FMA): Defined with bit_FMA_Usable.
3532
51367701
RM
35332012-10-01 Roland McGrath <roland@hack.frob.com>
3534
3535 * bits/types.h (__swblk_t): Type removed.
3536 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3537 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3538 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3539 (__SWBLK_T_TYPE): Likewise.
3540 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3541 (__SWBLK_T_TYPE): Likewise.
3542 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3543 (__SWBLK_T_TYPE): Likewise.
3544 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3545 (__SWBLK_T_TYPE): Likewise.
3546
4d57bf63 35472012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 3548 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
3549
3550 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3551 (xdr_mapname): Use YPMAXMAP as maxsize.
3552 (xdr_peername): Use YPMAXPEER as maxsize.
3553 (xdr_keydat): Use YPAXRECORD as maxsize.
3554 (xdr_valdat): Use YPMAXRECORD as maxsize.
3555
93c65d43
RM
35562012-10-01 Roland McGrath <roland@hack.frob.com>
3557
497a03d6
RM
3558 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3559
93c65d43
RM
3560 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3561 * csu/init-first.c: ... here.
3562 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3563 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3564 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3565 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3566 * sysdeps/i386/init-first.c: File removed.
3567 * sysdeps/sh/init-first.c: File removed.
3568
bec749fd
JM
35692012-10-01 Joseph Myers <joseph@codesourcery.com>
3570
3571 [BZ #14645]
3572 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3573 if x * y might underflow to zero and z is zero.
3574 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3575 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3576 * math/libm-test.inc (min_subnorm_value): New variable.
3577 (fma_test): Add more tests.
3578 (fma_test_towardzero): Likewise.
3579 (fma_test_downward): Likewise
3580 (fma_test_upward): Likewise.
3581 (initialize): Set min_subnorm_value.
3582
8ec5b013
JM
35832012-09-29 Joseph Myers <joseph@codesourcery.com>
3584
3585 [BZ #14638]
3586 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3587 0 + 0.
3588 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3589 mode for addition resulting in exact zero.
3590 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3591 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3592 exact 0 + 0.
3593 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3594 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3595 * math/libm-test.inc (fma_test): Add more tests.
3596 (fma_test_towardzero): New function.
3597 (fma_test_downward): Likewise.
3598 (fma_test_upward): Likewise.
3599 (main): Call the new functions.
3600
b1fa802e
DM
36012012-09-28 David S. Miller <davem@davemloft.net>
3602
3603 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3604
d3b9fd9e
RM
36052012-09-28 Roland McGrath <roland@hack.frob.com>
3606
ea4d37b3
RM
3607 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3608 instead of SIGALRM.
3609
ac51c949
RM
3610 * sysdeps/gnu/_G_config.h: Moved to ...
3611 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3612 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3613 * sysdeps/generic/_G_config.h: ... here.
3614
28c195f7
RM
3615 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3616
848917f9
RM
3617 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3618
6bacf05b
RM
3619 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3620 Conditionalize target on [libnss_test1.so-version].
3621
91363dbb
RM
3622 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3623
cc87f7d8
RM
3624 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3625 (elfobjdir): Move out of conditionals.
3626
b1c608fe
RM
3627 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3628 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3629 (__nss_lookup_function): Conditionalize label remove_from_tree on
3630 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 3631
1d9a6d96
DM
36322012-09-28 David S. Miller <davem@davemloft.net>
3633
3634 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3635 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3636 file.
3637 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3638 sysdep_routines.
3639 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3640 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3641 when HWCAP_SPARC_CRYPTO is present.
3642
72581615
PT
36432012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3644
3645 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3646
715a900c
JL
36472012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3648
3649 [BZ #6530]
3650 * stdio-common/vfprintf.c (process_string_arg): Revert
3651 2000-07-22 change.
3652
36532011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3654
3655 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3656 for testcase.
3657 * stdio-common/tst-sprintf.c: Include <locale.h>
3658 (main): Test sprintf's handling of incomplete multibyte
3659 characters.
3660
9bac1d86
L
36612012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3662
3663 * elf/dl-runtime.c (VERSYMIDX): Removed.
3664 * elf/dl-version.c (VERSYMIDX): Likewise.
3665 * elf/do-rel.h (VERSYMIDX): Likewise.
3666 (VALIDX): Likewise.
3667 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3668 * elf/rtld.c (VALIDX): Likewise.
3669 (ADDRIDX): Likewise.
9bac1d86
L
3670 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3671 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3672 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
3673 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3674 (VALIDX): Likewise.
3675 (ADDRIDX): Likewise.
9bac1d86 3676
b31606c0
PT
36772012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3678
3679 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3680
11541177
JL
36812012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3682
3683 [BZ #11438]
3684 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3685 to global scope.
3686 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3687 addresses are in the same scope as 192.0.2/24.
3688 * posix/gai.conf: Document new scope table defaults.
3689
adb26fae
SP
36902012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3691
3692 [BZ #5298]
3693 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3694 for ftell. Compute offsets from write pointers instead.
3695 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3696
4573c6b0
SP
36972012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3698
3699 [BZ #14543]
3700 * libio/Makefile (tests): New test case tst-fseek.
3701 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3702 combination works in wide mode.
3703 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3704 state when the external buffer state changes.
3705
aa9bbfe6
DM
37062012-09-27 David S. Miller <davem@davemloft.net>
3707
3708 [BZ #14376]
3709 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3710 pass reloc->r_addend in as the 'high' argument to
3711 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3712
784421e7
DM
3713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3714
c39bc8b8
PT
37152012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3716
3717 * rt/tst-aio2.c: Include <pthread.h>.
3718 * rt/tst-aio3.c: Likewise.
3719
1ccc2399
SE
37202012-09-27 Steve Ellcey <sellcey@mips.com>
3721
3722 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3723
31ed4153
L
37242012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3725
25f5f885
L
3726 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3727 contents on [SHARED].
31ed4153 3728
b7bfe116
MP
37292012-09-26 Marek Polacek <polacek@redhat.com>
3730
3731 [BZ #14530]
3732 [BZ #13741]
3733 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3734 for C++ and GCC <4.3 as well as for non GCC compilers.
3735
43c4edba
MT
37362012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3737
3738 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3739
6a1bf82f
RM
37402012-09-25 Roland McGrath <roland@hack.frob.com>
3741
3742 * Makefile.in (all, install): Declare with .PHONY.
3743 Reported by Michael Hope <michael.hope@linaro.org>.
3744
8ad11b9a
TMQMF
37452012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3746
3747 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3748 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3749 system header.
3750 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3751 Likewise.
3752 (sydep_routines): Add the new and the internal functions.
3753 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3754 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3756 (GLIBC_2.17): Add the new function.
3757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3758 (GLIBC_2.17): Likewise.
3759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3760 (GLIBC_2.17): Likewise.
3761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3762 (GLIBC_2.17): Likewise.
3763 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3764
7e2fca8d
AM
37652012-09-25 Alan Modra <amodra@gmail.com>
3766
3767 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3768 Add release barrier before setting once_control to say
3769 initialisation is done. Add hints on lwarx. Use macro in
3770 place of isync.
3771 (clear_once_control): Add release barrier.
3772
b87c4b24
JM
37732012-09-25 Joseph Myers <joseph@codesourcery.com>
3774
d032e0d2
JM
3775 [BZ #13629]
3776 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3777 specially.
3778 * math/s_clog10.c (__clog10): Likewise.
3779 * math/s_clog10f.c (__clog10f): Likewise.
3780 * math/s_clog10l.c (__clog10l): Likewise.
3781 * math/s_clogf.c (__clogf): Likewise.
3782 * math/s_clogl.c (__clogl): Likewise.
3783 * math/Makefile (libm-calls): Add x2y2m1.
3784 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3785 (__x2y2m1): Likewise.
3786 (__x2y2m1l): Likewise.
3787 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3788 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3789 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3790 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3791 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3792 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3793 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3794 * sysdeps/i386/fpu/libm-test-ulps: Update.
3795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3796
b87c4b24
JM
3797 [BZ #14621]
3798 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3799 int as type of variable DEPTH.
3800 (glob): Use size_t instead of int as type of variables NEWCOUNT
3801 and OLD_PATHC.
3802
6d3bf199
LD
38032012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3804
22bf5c17
LD
3805 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3806 Add s_sincosf-sse2.
3807 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3808 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3809 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3810 macros for using routine as __sincosf_ia32.
3811 Use macro for function declaration and weak_alias.
3812 * sysdeps/i386/fpu/libm-test-ulps: Update.
3813
3814 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3815 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3816
3817 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
3818 subnormal argument.
3819 * math/s_cexpf.c (__cexpf): Likewise.
3820 * math/s_csinf.c (__csinf): Likewise.
3821 * math/s_csinhf.c (__csinhf): Likewise.
3822 * math/s_ctanf.c (__ctanf): Likewise.
3823 * math/s_ctanhf.c (__ctanhf): Likewise.
3824 * math/s_ccosh.c (__ccoshf): Likewise.
3825 * math/s_cexp.c (__cexpl): Likewise.
3826 * math/s_csin.c (__csin): Likewise.
3827 * math/s_csinh.c (__csinh): Likewise.
3828 * math/s_ctan.c (__ctan): Likewise.
3829 * math/s_ctanh.c (ctanh): Likewise.
3830 * math/s_ccoshl.c (__ccoshl): Likewise.
3831 * math/s_cexpl.c (__cexpl): Likewise.
3832 * math/s_csinl.c (__csinl): Likewise.
3833 * math/s_csinhl.c (__csinhl): Likewise.
3834 * math/s_ctanl.c (__ctanl): Likewise.
3835 * math/s_ctanhl.c (__ctanhl): Likewise.
3836
203e5603
JM
38372012-09-25 Joseph Myers <joseph@codesourcery.com>
3838
3839 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3840 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3841 (_IO_off_t): Define to __off_t, not _G_off_t.
3842 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3843 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3844 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3845 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3846 type of __dummy and __dummy2 fields.
3847 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3848 (_G_ssize_t): Likewise.
3849 (_G_off_t): Likewise.
3850 (_G_pid_t): Likewise.
3851 (_G_uid_t): Likewise.
3852 (_G_wchar_t): Likewise.
3853 (_G_wint_t): Likewise.
3854 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3855 (_G_ssize_t): Likewise.
3856 (_G_off_t): Likewise.
3857 (_G_pid_t): Likewise.
3858 (_G_uid_t): Likewise.
3859 (_G_wchar_t): Likewise.
3860 (_G_wint_t): Likewise.
3861 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3862 (_G_ssize_t): Likewise.
3863 (_G_off_t): Likewise.
3864 (_G_pid_t): Likewise.
3865 (_G_uid_t): Likewise.
3866 (_G_wchar_t): Likewise.
3867 (_G_wint_t): Likewise.
3868
9fab36eb
SP
38692012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3870
3871 * malloc/arena.c: Include malloc-sysdep.h.
3872 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3873 is sufficient to shrink the heap or an unmap is needed.
3874 * sysdeps/generic/malloc-sysdep.h: New file. Define
3875 new function check_may_shrink_heap.
3876 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3877 new function check_may_shrink_heap.
3878
2b4f00d1
SP
38792012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3880
3881 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3882 comments.
3883
9a9028b1
DL
38842012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3885
57c69bef
DL
3886 * catgets/test-gencat.sh: Add "set -e".
3887 * elf/tst-pathopt.sh: Likewise.
3888 * grp/tst_fgetgrent.sh: Likewise.
3889 * iconvdata/run-iconv-test.sh: Likewise.
3890 * intl/tst-gettext.sh: Likewise.
3891 * intl/tst-gettext2.sh: Likewise.
3892 * intl/tst-gettext4.sh: Likewise.
3893 * intl/tst-gettext6.sh: Likewise.
3894 * intl/tst-translit.sh: Likewise.
3895 * io/ftwtest-sh: Likewise.
3896 * libio/test-freopen.sh: Likewise.
3897 * malloc/tst-mtrace.sh: Likewise.
3898 * posix/globtest.sh: Likewise.
3899 * posix/tst-getconf.sh: Likewise.
3900 * posix/wordexp-tst.sh: Likewise.
3901 * stdio-common/tst-printf.sh: Likewise.
3902 * stdio-common/tst-unbputc.sh: Likewise.
3903 * stdlib/tst-fmtmsg.sh: Likewise.
3904 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3905 * catgets/Makefile: Do not specify -e option when running
3906 testsuite shell scripts.
3907 * elf/Makefile: Likewise.
3908 * grp/Makefile: Likewise.
3909 * iconvdata/Makefile: Likewise.
3910 * intl/Makefile: Likewise.
3911 * io/Makefile: Likewise.
3912 * libio/Makefile: Likewise.
3913 * malloc/Makefile: Likewise.
3914 * posix/Makefile: Likewise.
3915 * stdio-common/Makefile: Likewise.
3916 * stdlib/Makefile: Likewise.
3917 * sysdeps/x86_64/Makefile: Likewise.
3918
9a9028b1
DL
3919 * io/ftwtest-sh: Add copyright header.
3920 * posix/globtest.sh: Likewise.
3921 * posix/tst-getconf.sh: Likewise.
3922 * posix/wordexp-tst.sh: Likewise.
3923 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3924
ced6f16e
L
39252012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3926
94b32c39
L
3927 [BZ #13679]
3928 * Makeconfig (+link): Defined as $(+link-static) if
3929 $(build-shared) isn't yes.
3930 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3931 isn't yes.
3932 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3933
189e935b
L
3934 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3935
ced6f16e
L
3936 [BZ #14562]
3937 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3938 new chunk size with MALLOC_ALIGN_MASK.
3939
a9f8e53a
JM
39402012-09-24 Joseph Myers <joseph@codesourcery.com>
3941
3942 [BZ #5044]
3943 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3944 <rounding-mode.h>.
3945 (__printf_fphex): Determine rounding using get_rounding_mode and
3946 round_away.
3947 * stdio-common/tst-printf-round.c (struct hex_test): New
3948 structure.
3949 (hex_tests): New variable.
3950 (test_hex_in_one_mode): New function.
3951 (do_test): Also run tests for hex float output.
3952
43153109
JM
39532012-09-21 Joseph Myers <joseph@codesourcery.com>
3954
3955 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3956 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3957 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3958 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3959 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3960 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3961 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3962 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3963
8a26625d
JM
39642012-09-20 Joseph Myers <joseph@codesourcery.com>
3965
3966 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3967 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3968 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3969 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3970
f3fd569c
DL
39712012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3972
3973 [BZ #14579]
3974 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3975 mode only.
3976 * elf/tst-rtld-load-self.sh: New test.
3977 * elf/Makefile: Run it.
3978
63bbedd4
JM
39792012-09-18 Joseph Myers <joseph@codesourcery.com>
3980
3981 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3982 (tst-writev-ENV): Remove.
3983 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3984
626f8b6a
CM
39852012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3986
3987 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3988
b7aaa4d6
JM
39892012-09-17 Joseph Myers <joseph@codesourcery.com>
3990
3991 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3992 unconditional.
3993 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3994 Likewise.
3995 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3996 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3997 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3998 Likewise.
3999
65513990
L
40002012-09-14 H.J. Lu <hongjiu.lu@intel.com>
4001
4002 [BZ #14587]
4003 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4004 * config.make.in (have-cpp-asm-debuginfo): Removed.
4005 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4006 * configure: Regenerated.
4007
784761be
JM
40082012-09-14 Joseph Myers <joseph@codesourcery.com>
4009
4010 [BZ #5044]
4011 * stdio-common/printf_fp.c: Include <stdbool.h> and
4012 <rounding-mode.h>.
4013 (___printf_fp): Determine rounding using get_rounding_mode and
4014 round_away.
4015 * stdio-common/tst-printf-round.c: New file.
4016 * stdio-common/Makefile (tests): Add tst-printf-round.
4017 (link-libm): New variable.
4018 ($(objpfx)tst-printf-round): Depend in $(link-libm).
4019
9503345f
L
40202012-09-13 H.J. Lu <hongjiu.lu@intel.com>
4021
4022 [BZ #14576]
4023 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4024 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4025 Likewise.
4026 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4027 Likewise.
4028
ad35fc00
JM
40292012-09-13 Joseph Myers <joseph@codesourcery.com>
4030
4031 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4032 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4033 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4034 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4035
6c9b0f68
JM
40362012-09-12 Joseph Myers <joseph@codesourcery.com>
4037
4038 [BZ #14518]
4039 * include/rounding-mode.h: New file.
4040 * sysdeps/generic/get-rounding-mode.h: Likewise.
4041 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4042 * stdlib/strtod_l.c: Include <rounding-mode.h>.
4043 (MAX_VALUE): New macro.
4044 (MIN_VALUE): Likewise.
4045 (overflow_value): New function.
4046 (underflow_value): Likewise.
4047 (round_and_return): Use overflow_value and underflow_value to
4048 determine return values in overflow and underflow cases. Use
4049 round_away to determine rounding depending on rounding mode.
4050 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4051 determine return values in overflow and underflow cases.
4052 * stdlib/tst-strtod-round.c: Include <fenv.h>.
4053 (struct test_results): New structure.
4054 (struct test): Use struct test_results to store expected results
4055 for all rounding modes.
4056 (TEST): Include expected results for all rounding modes.
4057 (test_in_one_mode): New function.
4058 (do_test): Use test_in_one_mode to compute and check results.
4059 Check results for all rounding modes.
4060 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4061 $(link-libm).
4062
19fcedd5
AM
40632012-12-09 Allan McRae <allan@archlinux.org>
4064
1e9d84cd 4065 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 4066
8bbfd2f1
JM
40672012-09-11 Joseph Myers <joseph@codesourcery.com>
4068
4069 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4070 (_G_int32_t): Likewise.
4071 (_G_uint16_t): Likewise.
4072 (_G_uint32_t): Likewise.
4073 (_G_HAVE_BOOL): Likewise.
4074 (_G_HAVE_ATEXIT): Likewise.
4075 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4076 (_G_HAVE_IO_FILE_OPEN): Likewise.
4077 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4078 (_G_int32_t): Likewise.
4079 (_G_uint16_t): Likewise.
4080 (_G_uint32_t): Likewise.
4081 (_G_HAVE_BOOL): Likewise.
4082 (_G_HAVE_ATEXIT): Likewise.
4083 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4084 (_G_HAVE_IO_FILE_OPEN): Likewise.
4085 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4086 (_G_int32_t): Likewise.
4087 (_G_uint16_t): Likewise.
4088 (_G_uint32_t): Likewise.
4089 (_G_HAVE_BOOL): Likewise.
4090 (_G_HAVE_ATEXIT): Likewise.
4091 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4092 (_G_HAVE_IO_FILE_OPEN): Likewise.
4093
b1dc5912
L
40942012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4095
4096 * csu/libc-tls.c: Update copyright years.
4097
0e886ef9
JM
40982012-09-10 Joseph Myers <joseph@codesourcery.com>
4099
28361c5e
JM
4100 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4101 [!_G_USING_THUNKS]: Remove conditional code.
4102 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4103 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4104
0e886ef9
JM
4105 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4106 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4107 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4108 (_G_VTABLE_LABEL_PREFIX): Likewise.
4109 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4110 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4111 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4112 (_G_VTABLE_LABEL_PREFIX): Likewise.
4113 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4114 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4115 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4116 (_G_VTABLE_LABEL_PREFIX): Likewise.
4117 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4118
bcba7aa2
L
41192012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4120
4121 * libio/Makefile: Include ../Makeconfig before tests.
4122 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4123 only if $(build-shared) is yes.
4124
06585ee8
L
4125 * iconv/gconv_db.c: Update copyright years.
4126
80ccd52c
LD
41272012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4128
4129 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4130 unwind info if defined PIC. Fix special cases description.
4131 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4132
4133 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4134 DP_HI_MASK entry.
4135 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4136
691bc9c1
L
41372012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4138
3d9b46b3
L
4139 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4140
de2139a9
L
4141 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4142 is NULL.
4143
5ca78dd0
L
4144 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4145 (LDLIBS-tst-chk4): This.
4146 (LDFLAGS-tst-chk5): Renamed to ...
4147 (LDLIBS-tst-chk5): This.
4148 (LDFLAGS-tst-chk6): Renamed to ...
4149 (LDLIBS-tst-chk6): This.
4150 (LDFLAGS-tst-lfschk4): Renamed to ...
4151 (LDLIBS-tst-lfschk4): This.
4152 (LDFLAGS-tst-lfschk5): Renamed to ...
4153 (LDLIBS-tst-lfschk5): This.
4154 (LDFLAGS-tst-lfschk6): Renamed to ...
4155 (LDLIBS-tst-lfschk6): This.
4156
691bc9c1
L
4157 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4158 on $(common-objpfx)soversions.mk.
4159
65cafb1c
JM
41602012-09-07 Joseph Myers <joseph@codesourcery.com>
4161
4162 [BZ #10014]
4163 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4164 example host name.
4165
c78ab094
SP
41662012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4167
4168 * malloc/arena.c (arena_get_retry): New function that gets
4169 another arena for the caller to try its request on.
4170 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4171 current arena cannot fulfill the request.
4172 (__libc_memalign): Likewise.
4173 (__libc_memalign): Likewise.
4174 (__libc_pvalloc): Likewise.
4175 (__libc_calloc): Likewise.
4176
01f49f59
JT
41772012-09-05 John Tobey <john.tobey@gmail.com>
4178
4179 [BZ #13542]
4180 * manual/arith.texi (Operations on Complex): Fix description
4181 of carg branch cut.
4182
4c23fed5
JM
41832012-09-06 Joseph Myers <joseph@codesourcery.com>
4184
1d3c8572
JM
4185 [BZ #10014]
4186 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4187 host name.
4188
4c23fed5
JM
4189 [BZ #10038]
4190 * manual/memory.texi (Memory): Make order of menu items match
4191 order of sections.
4192
04570aaa
L
41932012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4194
4195 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4196 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4197 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4198
b80af2f4
L
41992012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4200
4201 * csu/libc-tls.c (static_dtv): Renamed to ...
4202 (_dl_static_dtv): This. Make it global.
4203 (_dl_initial_dtv): Removed.
4204 (__libc_setup_tls): Updated.
4205 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4206 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4207 DL_INITIAL_DTV.
4208
2abe9f15
PM
42092012-09-06 Petr Machata <pmachata@redhat.com>
4210
4211 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4212 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4213 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4214 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4215
0948c3af
L
42162012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4217
4218 [BZ #14545]
4219 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4220 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4221 freeing dtv[-1].
4222
a5055ad1
L
42232012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4224
4225 [BZ #14544]
4226 * Makeconfig (link-static-before-libc): Replace $(+prector)
4227 with $(+prectorT).
4228 (link-static-after-libc): Replace $(+postctor) with
4229 $(+postctorT).
4230 (link-bounded): Replace $(+prector)/$(+postctor) with
4231 $(+prectorT)/$(+postctorT).
4232 (+prectorT): New macro.
4233 (+postctorT): Likewise.
4234
ed8c2ecd
JM
42352012-09-06 Joseph Myers <joseph@codesourcery.com>
4236
4237 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4238 (round_str): Handle values above the maximum for IBM long double
4239 as inexact.
4240 * stdlib/tst-strtod-round.c (tests): Regenerated.
4241
14c996c8
AK
42422012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4243
4244 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4245 assembler flag.
4246 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4247 zarch_nohighgprs around the zarch optimized routines.
4248 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4249 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4250 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4251 for zarch.
4252
430d6ce6
DM
42532012-09-05 David S. Miller <davem@davemloft.net>
4254
4255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4256
ff04dda4
DM
4257 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4258 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4259 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4260 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4261 entries.
4262
24d4e01b
AO
42632012-09-05 Alexandre Oliva <aoliva@redhat.com>
4264
4265 * malloc/arena.c: Fold copyright years.
4266 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4267
61d58174
AO
42682012-09-05 Alexandre Oliva <aoliva@redhat.com>
4269
4270 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4271
20196a5e
AO
42722012-09-05 Alexandre Oliva <aoliva@redhat.com>
4273
4274 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4275
5c447383
AO
42762012-09-05 Alexandre Oliva <aoliva@redhat.com>
4277
4278 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4279 change internal state upon failure.
4280
fad64255
AO
42812012-09-05 Alexandre Oliva <aoliva@redhat.com>
4282
4283 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4284 * malloc/memusage.c (mmap): Likewise.
4285 (mmap64, mremap): Likewise. Adjust name in comment.
4286
1ffb8c90
SP
42872012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4288
4289 * libio/fileops.c: Fix typos in comments.
4290 * libio/oldfileops.c: Likewise.
4291 * libio/wfileops.c: Likewise.
4292
6ef9cc37
SP
42932012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4294
4295 [BZ #1349]
4296 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4297 (tst-malloc-usable-ENV): Set environment for test case.
4298 * malloc/hooks.c (malloc_check_get_size): New function to get
4299 requested size.
4300 * malloc/malloc.c (musable): Use malloc_check_get_size.
4301 * malloc/tst-malloc-usable.c: New test case.
4302
4d038ae3
AS
43032012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4304
4305 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4306
c4e85184
AM
43072012-09-05 Allan McRae <allan@archlinux.org>
4308
b9dafc56 4309 [BZ #13966]
c4e85184
AM
4310 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4311 determine header location.
4312 * configure: Regenerated.
4313
e1343020
AS
43142012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4315
4316 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4317 float format.
4318 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
4319 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4320 format.
e1343020
AS
4321 (test): Regenerate.
4322
0a9f1987
DM
43232012-09-04 David S. Miller <davem@davemloft.net>
4324
4325 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4326 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4327 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4328
29237804
FW
43292012-09-04 Florian Weimer <fweimer@redhat.com>
4330
4331 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4332 failures.
4333
edb3cb88
FW
4334 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4335
60160d83
JM
43362012-09-04 Joseph Myers <joseph@codesourcery.com>
4337
4338 [BZ #9914]
4339 * libio/iogetdelim.c: Include <limits.h>.
4340 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4341 + len + 1 would overflow.
4342
bcd6c8dc
AJ
43432012-09-03 Andreas Jaeger <aj@suse.de>
4344
4345 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4346 * sysdeps/i386/fpu/libm-test-ulps: Update.
4347
4ffffbd2
LD
43482012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4349
4350 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4351 Add s_sinf-sse2, s_conf-sse2.
4352
4353 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4354 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4355 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4356 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4357
4358 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4359 for using routine as __sinf_ia32.
4360 Use macro for function declaration and weak_alias.
4361 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4362 for using routine as __cosf_ia32.
4363 Use macro for function declaration and weak_alias.
4364
4365 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4366 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4367
4368 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4369 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4370 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4371
4372 * math/libm-test.inc (cos_test): Add more test cases.
4373 (sin_test): Likewise.
4374 (sincos_test): Likewise.
4375
511fa286
AK
43762012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4377
4378 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4379 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4380 hidden.
4381 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4382
5f30cfec
L
43832012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4384
4385 [BZ #14538]
4386 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4387 first element of the GOT.
4388 (elf_machine_load_address): Return the difference between
4389 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4390
0786794f
AM
43912012-09-01 Allan McRae <allan@archlinux.org>
4392
5f30cfec
L
4393 [BZ #13412]
4394 * configure.in (AWK): Require gawk version 3.0 or later.
4395 * configure: Regenerated.
0786794f 4396
26889eac
JM
43972012-09-01 Joseph Myers <joseph@codesourcery.com>
4398
4399 * sysdeps/unix/sysv/linux/kernel-features.h
4400 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4401 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4402 [__NR_clock_getres]: Make code unconditional.
4403 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4404 (clock_getcpuclockid): Remove code left unreachable by removal of
4405 conditionals.
4406 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4407 code unconditional.
4408 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4409 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4410 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4411 Make code unconditional.
4412 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4413 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4414 * sysdeps/unix/sysv/linux/clock_settime.c
4415 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4416 conditional code.
4417 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4418 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4419
d22e28b0
L
44202012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4421
4422 [BZ #14476]
4423 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4424 scripts/test-installation.pl.
4425
4426 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4427 and $ld_so_version if it is set.
4428
050af9c4
SP
44292012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4430
4431 [BZ #14516]
4432 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4433 failure if reading from procfs failed.
4434 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4435
ad845c0b
JM
44362012-08-27 Joseph Myers <joseph@codesourcery.com>
4437
4438 * sysdeps/unix/sysv/linux/kernel-features.h
4439 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4440 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4441 Remove conditional code.
4442 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4443 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4444 Remove conditional code.
4445 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4446 * sysdeps/unix/sysv/linux/i386/fxstat.c
4447 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4448 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4449 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4450 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4451 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4452 * sysdeps/unix/sysv/linux/i386/lxstat.c
4453 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4454 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4455 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4456 Remove conditional code.
4457 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4458 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4459 Remove conditional code.
4460 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4461 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4462 <kernel-features.h>.
4463 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4464 Remove.
4465 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4466 Remove conditional code.
4467 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4468 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4469 Remove conditional.
4470
5dbf56af
MF
44712012-08-27 Mike Frysinger <vapier@gentoo.org>
4472
4473 [BZ #5400]
4474 * NEWS: Add fixed bug number.
4475
d6e70f43
JM
44762012-08-27 Joseph Myers <joseph@codesourcery.com>
4477
7efb4737
JM
4478 [BZ #14519]
4479 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4480 underflowing exponent in case of negative sign.
4481 * stdlib/tst-strtod-round-data: Add more tests.
4482 * stdlib/tst-strtod-round.c (tests): Regenerated.
4483
af92131a
JM
4484 [BZ #3479]
4485 * stdlib/strtod_l.c (NDIG): Remove.
4486 (HEXNDIG): Likewise.
4487 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4488 smallest representable value.
4489 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4490 lie within an exact representation of 1/2 ulp of the result.
4491 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4492 unconditionally.
4493 (TENS_P9_IDX): Define unconditionally.
4494 (TENS_P9_SIZE): Likewise.
4495 (TENS_P10_IDX): Likewise.
4496 (TENS_P10_SIZE): Likewise.
4497 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4498 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4499 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4500 entries for 10^2^13 and 10^2^14.
4501 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4502 (TENS_P13_IDX): Define.
4503 (TENS_P13_SIZE): Likewise.
4504 (TENS_P14_IDX): Likewise.
4505 (TENS_P14_SIZE): Likewise.
4506 (_fpioconst_pow10): Change array size to
4507 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4508 unconditional.
4509 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4510 1024]: Add entries for 10^2^13 and 10^2^14.
4511 [LAST_POW10 > _LAST_POW10]: Remove #error.
4512 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4513 (_fpioconst_pow10): Change array size to
4514 FPIOCONST_POW10_ARRAY_SIZE.
4515 * stdlib/gen-fpioconst.c: New file.
4516 * stdlib/gen-tst-strtod-round.c: Likewise.
4517 * stdlib/tst-strtod-round-data: Likewise.
4518 * stdlib/tst-strtod-round.c: Likewise.
4519 * stdlib/Makefile (tests): Add tst-strtod-round.
4520
d6e70f43
JM
4521 [BZ #14459]
4522 * stdlib/strtod_l.c: Include <stdint.h>.
4523 (NDEBUG): Do not define.
4524 (round_and_return): Change EXPONENT parameter to type intmax_t.
4525 Rearrange calculations to avoid internal overflow possibilities.
4526 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4527 Rearrange calculations to avoid internal overflow possibilities.
4528 Assert that number fits inside MPNSIZE limbs.
4529 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4530 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4531 calculations and add assertions to avoid internal overflow
4532 possibilities. Add casts to avoid signed/unsigned operations.
4533 * stdlib/tst-strtod-overflow.c: New file.
4534 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4535
1f529f7d
MP
45362012-08-25 Marek Polacek <polacek@redhat.com>
4537
4538 * time/time.h: Fix some typos in comments.
4539
59a629f1
RM
45402012-08-23 Roland McGrath <roland@hack.frob.com>
4541
4542 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4543 * posix/tst-rfc3484-2.c: Likewise.
4544 * posix/tst-rfc3484-3.c: Likewise.
4545
d3bafbc9
SM
45462012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4547
4548 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4549 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4550
4efcc022
JM
45512012-08-23 Joseph Myers <joseph@codesourcery.com>
4552
4553 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4554 #include of fxstatat64.c.
4555
3cc3ef96
RM
45562012-08-22 Roland McGrath <roland@hack.frob.com>
4557
f04e2132
RM
4558 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4559 * shadow/getspent_r.c: Likewise.
4560 * shadow/getspnam.c: Likewise.
4561 * shadow/getspnam_r.c: Likewise.
4562 * gshadow/getsgent.c: Likewise.
4563 * gshadow/getsgent_r.c: Likewise.
4564 * gshadow/getsgnam.c: Likewise.
4565 * gshadow/getsgnam_r.c: Likewise.
4566 * inet/getnetbyad.c: Likewise.
4567 * inet/getnetbyad_r.c: Likewise.
4568 * inet/getnetbynm.c: Likewise.
4569 * inet/getnetbynm_r.c: Likewise.
4570 * inet/getnetent.c: Likewise.
4571 * inet/getnetent_r.c: Likewise.
4572 * inet/getproto.c: Likewise.
4573 * inet/getproto_r.c: Likewise.
4574 * inet/getprtent.c: Likewise.
4575 * inet/getprtent_r.c: Likewise.
4576 * inet/getprtname.c: Likewise.
4577 * inet/getprtname_r.c: Likewise.
4578 * inet/getrpcbyname.c: Likewise.
4579 * inet/getrpcbyname_r.c: Likewise.
4580 * inet/getrpcbynumber.c: Likewise.
4581 * inet/getrpcbynumber_r.c: Likewise.
4582 * inet/getrpcent.c: Likewise.
4583 * inet/getrpcent_r.c: Likewise.
4584 * inet/getaliasent.c: Likewise.
4585 * inet/getaliasent_r.c: Likewise.
4586 * inet/getaliasname.c: Likewise.
4587 * inet/getaliasname_r.c: Likewise.
4588 * nscd/getgrgid_r.c: Likewise.
4589 * nscd/getgrnam_r.c: Likewise.
4590 * nscd/gethstbyad_r.c: Likewise.
4591 * nscd/gethstbynm3_r.c: Likewise.
4592 * nscd/getpwnam_r.c: Likewise.
4593 * nscd/getpwuid_r.c: Likewise.
4594 * nscd/getsrvbynm_r.c: Likewise.
4595 * nscd/getsrvbypt_r.c: Likewise.
4596 * nscd/gai.c: Likewise.
4597
c53d909c
RM
4598 * configure.in (build_nscd): New substituted variable, set
4599 by --disable-build-nscd and defaults to $use_nscd.
4600 * configure: Regenerated.
4601 * config.make.in (build-nscd): New substituted variable.
4602 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4603 Change conditional to require [$(build-nscd) = yes] as well.
4604 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4605
3cc3ef96
RM
4606 [BZ# 13696]
4607 * configure.in (use_nscd): New substituted variable, set by
4608 --disable-nscd. If enabled, define USE_NSCD.
4609 * configure: Regenerated.
4610 * config.h.in: Add USE_NSCD.
4611 * config.make.in (use-nscd): New substituted variable.
4612 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4613 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4614 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4615 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4616 (CFLAGS-getgrnam_r.c): Likewise.
4617 (CFLAGS-initgroups.c): Likewise.
4618 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4619 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4620 Variables removed.
4621 * inet/getnetgrent_r.c
4622 (nscd_setnetgrent): New function, broken out of ...
4623 (setnetgrent): ... here. Call it.
4624 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4625 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4626 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4627 * nscd/Makefile (routines, aux): Move definitions after include of
4628 Makeconfig. Conditionalize on [$(use-nscd) != no].
4629 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4630 Conditionalize on [USE_NSCD].
4631 (is_nscd, nscd_init_cb): Likewise.
4632 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4633 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4634 * nss/nss_db/db-init.c: Likewise.
4635 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4636 [USE_NSCD].
4637 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4638 (make_request): Use it.
4639 (cache_valid_p): New function.
4640 (__check_pf): Use it.
4641 * NEWS: Add item for --disable-nscd.
4642
07e51550
DL
46432012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4644
4645 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4646 to support sed >= 4.2.1-20-ga9bf076.
4647 * configure: Regenerated.
4648
35a5b08b
RM
46492012-08-22 Roland McGrath <roland@hack.frob.com>
4650
4651 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4652 Conditionalize whole body on [IREL].
4653
8479f23a
JL
46542012-08-22 Jeff Law <law@redhat.com>
4655
4656 [BZ #14505]
4657 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4658 if the family is PF_UNSPEC.
4659
48da0b21
MF
46602012-08-22 Mike Frysinger <vapier@gentoo.org>
4661
4662 * Makerules (lib-version): Rename from V.
4663 (install-lib-nosubdir): Change V to lib-version.
4664
15d0da8c
WS
46652012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4666
4667 [BZ #14252]
4668 * powerpc32/power6/wcschr.c: New file.
4669 * powerpc32/power6/wcscpy.c: New file.
4670 * powerpc32/power6/wcsrchr.c: New file.
4671 * powerpc64/power6/wcschr.c: New file.
4672 * powerpc64/power6/wcscpy.c: New file.
4673 * powerpc64/power6/wcsrchr.c: New file.
4674
bcca0895
MK
46752012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4676
4677 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4678 (two_way_short_needle): Use it.
5a4aaa33
RM
4679 * string/strstr.c (AVAILABLE1_USES_J): Define.
4680 * string/strcasestr.c: Likewise.
99677e57
MK
4681
4682 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4683 array references.
4684 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4685
400726de
MK
4686 [BZ #11607]
4687 * NEWS: Add an entry.
4688 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4689 define their defaults.
4690 (two_way_short_needle): Detect end-of-string on-the-fly.
4691 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4692 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4693 * string/bug-strcasestr1.c: New test.
4694 * string/Makefile: Run it.
4695
20a71f2c
MK
46962012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4697
4698 [BZ #11607]
4699 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4700 the first character.
4701
21ad0558
RM
47022012-08-21 Roland McGrath <roland@hack.frob.com>
4703
4704 * csu/elf-init.c (__libc_csu_irel): Function removed.
4705 * csu/libc-start.c (apply_irel): New function.
4706 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4707
0e1d9911
JM
47082012-08-21 Joseph Myers <joseph@codesourcery.com>
4709
4710 * sysdeps/unix/sysv/linux/kernel-features.h
4711 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4712 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4713 <kernel-features.h>.
4714 [__NR_fadvise64_64]: Make code unconditional.
4715 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4716 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4717 !__NR_fadvise64_64)]: Likewise.
4718 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4719 !__NR_fadvise64_64))]: Likewise.
4720 [__NR_fadvise64]: Make code unconditional.
4721 [!__NR_fadvise64]: Remove conditional code.
4722 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4723 <kernel-features.h>.
4724 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4725 unconditional.
4726 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4727 conditional code.
4728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4729 not include <kernel-features.h>.
4730 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4731 unconditional.
4732 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4733 conditional code.
4734 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4735 include <kernel-features.h>.
4736 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4737 unconditional.
4738 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4739 conditional code.
4740
14a50c9d
WS
47412012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4742
4743 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4744 slight instruction rearrangements per scrollpipe analysis.
4745 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4746
c0f4faf0
RM
47472012-08-20 Roland McGrath <roland@hack.frob.com>
4748
696da859
RM
4749 * manual/syslog.texi (syslog; vsyslog, closelog):
4750 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4751 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4752
c0f4faf0
RM
4753 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4754 DSOCAPS to match condition on defining it.
4755
348363b2
JM
47562012-08-20 Joseph Myers <joseph@codesourcery.com>
4757
a35cbf28
JM
4758 * sysdeps/unix/sysv/linux/kernel-features.h
4759 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4761 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4762 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4764 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4765 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4767 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4768 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4769
445f7ecd
JM
4770 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4771 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4772
348363b2
JM
4773 * sysdeps/unix/sysv/linux/kernel-features.h
4774 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4775 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4776 unconditional.
4777 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4778 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4779 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4780 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4781 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4782 Make code unconditional.
4783 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4784 (__mmap64) [!__NR_mmap2]: Likewise.
4785 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4786 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4787 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4788 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4789 [__NR_mmap2]: Make code unconditional.
4790 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4791 (__mmap64) [!__NR_mmap2]: Likewise.
4792
bc5bc0e5
AK
47932012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4794
4795 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4796
88d506de
AJ
47972012-08-18 Andreas Jaeger <aj@suse.de>
4798
4799 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4800
493387d2
MF
48012012-08-18 Mike Frysinger <vapier@gentoo.org>
4802
4803 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4804 * include/unistd.h (__have_sock_cloexec): Likewise.
4805 (__have_pipe2): Likewise.
4806 (__have_dup3): Likewise.
4807
a277af22
MF
48082012-08-18 Mike Frysinger <vapier@gentoo.org>
4809
4810 [BZ #9685]
4811 * include/unistd.h (__have_pipe2): Change define into an extern int.
4812 (__have_dup3): Likewise.
4813 * socket/have_sock_cloexec.c: Include fcntl.h.
4814 (__have_pipe2): New variable.
4815 (__have_dup3): Likewise.
4816
fdab8fd3
MF
48172012-08-17 Mike Frysinger <vapier@gentoo.org>
4818
4819 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4820
31035e80
MP
48212012-08-17 Marek Polacek <polacek@redhat.com>
4822
4823 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4824 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4825
3bd9e993
RM
48262012-08-17 Roland McGrath <roland@hack.frob.com>
4827
c91c505f
RM
4828 * configure.in: Add AC_SUBST for sysheaders.
4829 * configure: Regenerated.
4830 * config.make.in (sysheaders): New substituted variable.
4831
7c6f9d53
RM
4832 * sysdeps/unix/mkfifo.c: Moved ...
4833 * sysdeps/posix/mkfifo.c: ... here.
4834 * sysdeps/unix/mkfifoat.c: Moved ...
4835 * sysdeps/posix/mkfifoat.c: ... here.
4836
4837 * sysdeps/unix/utime.c: Moved ...
4838 * sysdeps/posix/utime.c: ... here.
4839
4840 * sysdeps/unix/time.c: Moved ...
4841 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
4842 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4843 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
4844
4845 * sysdeps/unix/nice.c: Moved ...
4846 * sysdeps/posix/nice.c: ... here.
4847
4848 * sysdeps/unix/alarm.c: Moved ...
4849 * sysdeps/posix/alarm.c: ... here.
4850
3bd9e993
RM
4851 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4852
d1f09384
JL
48532012-08-17 Jeff Law <law@redhat.com>
4854
4855 * intl/Makefile (codeset_mo): New variable.
4856 ($(codeset_mo)): New target.
4857 (tst-codeset.out): Depend on that. Remove explicit rule.
4858 (tst-gettext3.out, tst-gettext5.out): Likewise.
4859 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4860 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4861 * intl/tst-codeset.sh: Remove.
4862 * intl/tst-gettext3.sh: Likewise.
4863 * intl/tst-gettext5.sh: Likewise.
4864
2ae1ae5c
RM
48652012-08-17 Roland McGrath <roland@hack.frob.com>
4866
c31fdb83
RM
4867 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4868 * sysdeps/unix/syscalls.list: ... here.
4869
a0844057
RM
4870 * sysdeps/posix/getaddrinfo.c
4871 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4872 (gaiconf_init, gaiconf_reload): Use them.
4873 [!_STATBUF_ST_NSEC]
4874 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4875 Define using time_t rather than struct timespec.
4876
750c1f2a
RM
4877 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4878 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4879 Macros removed.
4880 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4881 [!NO_THREADS].
4882 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4883 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4884 Likewise.
4885
2ae1ae5c
RM
4886 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4887 __libc_cleanup_push argument.
4888
e66a42f5
RM
4889 * bits/param.h: New file.
4890 * misc/sys/param.h: New file.
4891 * include/sys/param.h: New file.
4892 * misc/Makefile (headers): Add bits/param.h.
4893 * sysdeps/generic/sys/param.h: File removed.
4894 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4895 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4896 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 4897 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 4898
b7c08a66
RM
4899 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4900 last change.
4901
b2e1c562
RM
4902 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4903 [_IO_MTSAFE_IO].
4904 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4905 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4906 New macros.
4907
c75ccd4c
RM
4908 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4909 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4910 rather than -D_IO_MTSAFE_IO conditionally.
4911 * stdio-common/Makefile (CPPFLAGS): Likewise.
4912 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4913 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4914 Use $(libio-mtsafe).
4915 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4916 of -D_IO_MTSAFE_IO.
4917 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4918 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4919 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4920 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4921 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4922 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4923 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4924 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4925 (CFLAGS-fread_u_chk.c): Likewise.
4926 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4927 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4928 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4929 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4930 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4931 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4932 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4933 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4934 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4935
4936 * libio/Makefile: Test [$(libc-reentrant) = yes]
4937 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4938
4939 * Makeconfig
4940 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4941 * sysdeps/pthread/configure: File removed.
4942 * sysdeps/pthread/Makeconfig: New file.
4943 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4944 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4945
d9195db8
GB
49462012-08-16 Gary Benson <gbenson@redhat.com>
4947
4948 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4949 unmapping the first object in a namespace.
4950
86466cd9
RM
49512012-08-16 Roland McGrath <roland@hack.frob.com>
4952
4953 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4954 (__internal_setnetgrent): ... this. Add internal_function to
4955 definition. Add libc_hidden_def.
4956 (setnetgrent): Update caller.
4957 (internal_endnetgrent): Renamed to ...
4958 (__internal_endnetgrent): ... this. Add internal_function to
4959 definition. Add libc_hidden_def.
4960 (endnetgrent): Update caller.
4961 (internal_getnetgrent_r): Renamed to ...
4962 (__internal_getnetgrent_r): ... this. Add internal_function to
4963 definition. Add libc_hidden_def.
4964 (__getnetgrent_r): Update caller.
4965 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4966
c3c8283c
JM
49672012-08-16 Joseph Myers <joseph@codesourcery.com>
4968
4969 * stdlib/longlong.h: Update from GCC.
4970
db1ee0a8
RM
49712012-08-16 Roland McGrath <roland@hack.frob.com>
4972
4973 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4974 on _QL, which is set by umul_ppmm but never used.
4975 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4976 variables, which are set by GMP macros but never used.
4977 * stdio-common/_itowa.c (_itowa): Likewise.
4978 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4979 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4980
30f69637
CD
49812012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4982
4983 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4984 struct La_sh_regs is not constant.
4985 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4986 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4987 and struct La_sparc64_regs are not constant.
4988
93a78ac4
JM
49892012-08-16 Joseph Myers <joseph@codesourcery.com>
4990
4991 * sysdeps/unix/sysv/linux/kernel-features.h
4992 (__ASSUME_POSIX_TIMERS): Remove.
4993 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4994 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4995 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4996 Make code unconditional.
4997 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4998 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4999 Make code unconditional.
5000 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5001 * sysdeps/unix/sysv/linux/clock_nanosleep.c
5002 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5003 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5004 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5005 Make code unconditional.
5006 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5007 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5008 (__libc_missing_posix_timers): Remove.
5009
dd924cd7
RM
50102012-08-15 Roland McGrath <roland@hack.frob.com>
5011
4b4f2771
RM
5012 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5013 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5014
601c888b
RM
5015 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5016
176790a7
RM
5017 * elf/dl-sym.c: Include <stdlib.h>.
5018
329bc018
RM
5019 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5020 constants, which avoids warnings in 32-bit builds.
5021
e04e272d
RM
5022 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5023 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5024
952bf94a
RM
5025 * misc/lseek.c: File moved to ...
5026 * io/lseek.c: ... here.
5027
7c99b50a
RM
5028 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5029
dd924cd7
RM
5030 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5031 shifting LEN more than 31 bits at once.
5032
b3f479a8
LD
50332012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5034
5035 [BZ #14195]
8c4ae0d4
RM
5036 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5037 segmentation fault for a case of two empty input strings.
b3f479a8
LD
5038 * string/test-strncasecmp.c (check1): Renamed to...
5039 (bz12205): ...this.
5040 (bz14195): Add new testcase for two empty input strings and N > 0.
5041 (test_main): Call new testcase, adapt for renamed function.
5042
9c55864e
AJ
50432012-08-15 Andreas Jaeger <aj@suse.de>
5044
5045 [BZ #14090]
5046 * crypt/md5test2.c: New test, based on test supplied by Serge
5047 Belyshev <belyshev@depni.sinp.msu.ru>.
5048 * crypt/Makefile (xtests): Add md5test-giant..
5049 * crypt/Makefile ($(objpfx)md5test-giant): Add.
5050
02dcb6c5
PE
50512012-08-15 Paul Eggert <eggert@cs.ucla.edu>
5052
5053 [BZ #14090]
5054 * crypt/md5.c (md5_process_block): Don't assume the buffer
5055 length is less than 2**32.
5056 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5057 length is less than 2**64.
5058
a3f95dcc
RM
50592012-08-15 Roland McGrath <roland@hack.frob.com>
5060
be75d758
RM
5061 * string/str-two-way.h: Include <sys/param.h>.
5062 (MAX): Macro removed.
5063
7312ca90
RM
5064 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5065 Move #define and #undef of memmove to just before and after
5066 including <string.h>.
5067
9a0a5486
RM
5068 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5069 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5070 and after including <string.h>. Move declarations of
5071 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5072 to before #include "string/memmove.c".
5073
67cc348d
RM
5074 * include/dirent.h: Declare __getdirentries.
5075
a3f95dcc
RM
5076 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5077 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5078
ca98e171
MF
50792012-08-14 Mike Frysinger <vapier@gentoo.org>
5080
5081 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5082 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5083 * sysdeps/i386/configure: Regenerated.
5084 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5085 STABS_CURRENT_FILE, and STABS_FUN.
5086 (END): Remove call to STABS_FUN_END.
5087 (STABS_CURRENT_FILE1): Delete.
5088 (STABS_CURRENT_FILE): Likewise.
5089 (STABS_FUN): Likewise.
5090 (STABS_FUN_END): Likewise.
5091 (STABS_FUN2): Likewise.
5092 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5093 * sysdeps/x86_64/configure: Regenerated.
5094
5908bf46
RM
50952012-08-14 Roland McGrath <roland@hack.frob.com>
5096
5097 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 5098 * elf/dl-lookup.c: Likewise.
5908bf46 5099
f2c05b9e
JM
51002012-08-14 Joseph Myers <joseph@codesourcery.com>
5101
5102 * sysdeps/unix/sysv/linux/kernel-features.h
5103 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5104 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5105 unconditionally.
5106 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5107 unconditionally.
5108 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5109 condition on __ASSUME_CLONE_THREAD_FLAGS.
5110
e11f5155
AJ
51112012-08-14 Andreas Jaeger <aj@suse.de>
5112
5113 * sysdeps/i386/fpu/libm-test-ulps: Update.
5114
51a9ba86
MK
51152012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5116
2fdd4f78
AJ
5117 * include/atomic.h (atomic_exchange_and_add): Split into ...
5118 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5119 New atomic macros.
51a9ba86 5120
ba6cba9e
MT
51212012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5122
5123 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5124
42443a47
JL
51252012-08-13 Jeff Law <law@redhat.com>
5126
5127 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5128 null byte in the output string.
5129
121dce05
JM
51302012-08-10 Joseph Myers <joseph@codesourcery.com>
5131
5132 * sysdeps/unix/sysv/linux/kernel-features.h
5133 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5134 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5135 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5136 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5137 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5138 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5139 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5140
bf51f568
JL
51412012-08-09 Jeff Law <law@redhat.com>
5142
5143 [BZ #13939]
5144 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5145 When avoid_arena is set, don't retry in the that arena. Pick the
5146 next one, whatever it might be.
5147 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5148 (arena_lock): Pass in new parameter to arena_get2.
5149 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5150 arena_get2.
5151 (__libc_malloc): Unify retrying after main arena failure with
5152 __libc_memalign version.
5153 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5154
f85fa270
L
51552012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5156
5157 [BZ #14166]
5158 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5159 to __redirect_strstr.
5160 (__strstr_sse42): Use typeof __redirect_strstr.
5161 (__strstr_ia32): Likewise.
5162 (__libc_strstr): New prototype.
5163 (strstr): Renamed to ...
5164 (__libc_strstr): This.
5165 (strstr): New strong alias of __libc_strstr.
5166 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5167 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5168 __redirect_time.
5169 Include <time.h>.
5170 (__libc_time): New prototype.
5171 (time_ifunc): Replace time with __libc_time.
5172 (time): New strong alias and hidden definition of __libc_time.
5173 (__GI_time): Remove strong alias.
5174 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5175 Include <stddef.h>.
5176 (memmove): Redefined to __redirect_memmove.
5177 (__memmove_sse2): Use typeof __redirect_memmove.
5178 (__memmove_ssse3): Likewise.
5179 (__memmove_ssse3_back): Likewise.
5180 (__libc_memmove): New prototype.
5181 (memmove): Renamed to ...
5182 (__libc_memmove): This.
5183 (memmove): New strong alias of __libc_memmove.
5184
33b4a91e
MS
51852012-08-08 Mark Salter <msalter@redhat.com>
5186
5187 * elf/elf.h
5188 (R_MN10300_TLS_GD): Define.
5189 (R_MN10300_TLS_LD): Likewise.
5190 (R_MN10300_TLS_LDO): Likewise.
5191 (R_MN10300_TLS_GOTIE): Likewise.
5192 (R_MN10300_TLS_IE): Likewise.
5193 (R_MN10300_TLS_LE): Likewise.
5194 (R_MN10300_TLS_DTPMOD): Likewise.
5195 (R_MN10300_TLS_DTPOFF): Likewise.
5196 (R_MN10300_TLS_TPOFF): Likewise.
5197 (R_MN10300_SYM_DIFF): Likewise.
5198 (R_MN10300_ALIGN): Likewise.
5199 (R_MN10300_NUM): Update.
5200
b36137f1
JM
52012012-08-08 Joseph Myers <joseph@codesourcery.com>
5202
5203 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5204 Remove.
5205
cdd915fd
RM
52062012-08-08 Roland McGrath <roland@hack.frob.com>
5207
a2433aac
RM
5208 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5209
cdd915fd
RM
5210 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5211 sysdeps/unix -> sysdeps/posix move.
5212 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5213
bf9b740a
AM
52142012-08-07 Allan McRae <allan@archlinux.org>
5215
5216 [BZ #14303]
5217 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5218 (SUNOS_CPP): Likewise.
5219 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5220 not found.
5221 (open_input): Call CPP using execvp.
5222
93df14ee
JM
52232012-08-07 Joseph Myers <joseph@codesourcery.com>
5224
5225 * sysdeps/unix/sysv/linux/kernel-features.h
5226 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5227 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5228 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5229 (__ASSUME_WAITID_SYSCALL): Likewise.
5230 * sysdeps/unix/sysv/linux/dl-execstack.c
5231 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5232 code unconditional.
5233 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5234 conditional code.
5235 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5236 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5237 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5238 code.
5239 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5240 unconditional.
5241 [__ASSUME_WAITID_SYSCALL]: Likewise.
5242 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5243
d34689de
RM
52442012-08-07 Roland McGrath <roland@hack.frob.com>
5245
a281decc
RM
5246 * sysdeps/unix/closedir.c: Renamed to ...
5247 * sysdeps/posix/closedir.c: ... here.
5248 * sysdeps/unix/dirfd.c: Renamed to ...
5249 * sysdeps/posix/dirfd.c: ... here.
5250 * sysdeps/unix/dirstream.h: Renamed to ...
5251 * sysdeps/posix/dirstream.h: ... here.
5252 * sysdeps/unix/fdopendir.c: Renamed to ...
5253 * sysdeps/posix/fdopendir.c: ... here.
5254 * sysdeps/unix/opendir.c: Renamed to ...
5255 * sysdeps/posix/opendir.c: ... here.
5256 * sysdeps/unix/readdir.c: Renamed to ...
5257 * sysdeps/posix/readdir.c: ... here.
5258 * sysdeps/unix/readdir_r.c: Renamed to ...
5259 * sysdeps/posix/readdir_r.c: ... here.
5260 * sysdeps/unix/rewinddir.c: Renamed to ...
5261 * sysdeps/posix/rewinddir.c: ... here.
5262 * sysdeps/unix/seekdir.c: Renamed to ...
5263 * sysdeps/posix/seekdir.c: ... here.
5264 * sysdeps/unix/telldir.c: Renamed to ...
5265 * sysdeps/posix/telldir.c: ... here.
5266 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5267 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5268 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5269 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5270
22895b47
RM
5271 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5272 * bits/fcntl.h: ... here.
5273
707a53b6
RM
5274 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5275 not 0.
5276 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5277 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5278 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5279 (struct flock): Move l_start, l_len to the beginning.
5280 Use __pid_t for l_pid.
5281 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5282 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5283 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5284 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5285 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5286 [__USE_LARGEFILE64] (struct flock64): New type.
5287 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5288
f0bd3e25
RM
5289 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5290 * bits/dirent.h: ... here.
5291
d34689de
RM
5292 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5293 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5294
6dad2c06
JM
52952012-08-07 Joseph Myers <joseph@codesourcery.com>
5296
5297 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5298 Change from 2.6.0 to 2.6.16.
5299 * sysdeps/unix/sysv/linux/configure: Regenerated.
5300 * sysdeps/unix/sysv/linux/kernel-features.h
5301 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5302 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5303 version.
5304 (__ASSUME_UTIMES): Likewise.
5305 (__ASSUME_CLONE_STOPPED): Remove.
5306 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5307 architectures, not kernel version.
5308 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5309 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5310 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5311 (__ASSUME_WAITID_SYSCALL): Likewise.
5312 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5313 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5314 * README: State 2.6.16 as minimum Linux kernel version. Do not
5315 refer to older versions.
5316
03af9520
RM
53172012-08-06 Roland McGrath <roland@hack.frob.com>
5318
8e49df1d
RM
5319 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5320 Define alphasort64 as an alias.
5321 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5322 Define versionsort64 as an alias.
5323 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5324 Define scandir64 as an alias.
5325 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5326 Define scandirat64 as an alias.
5327 * dirent/alphasort64.c (alphasort64):
5328 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5329 * dirent/versionsort64.c: Likewise.
5330 * dirent/scandir64.c: Likewise.
5331 * dirent/scandirat64.c: Likewise.
5332 * sysdeps/wordsize-64/alphasort.c: File removed.
5333 * sysdeps/wordsize-64/alphasort64.c: File removed.
5334 * sysdeps/wordsize-64/scandir.c: File removed.
5335 * sysdeps/wordsize-64/scandir64.c: File removed.
5336 * sysdeps/wordsize-64/scandirat.c: File removed.
5337 * sysdeps/wordsize-64/scandirat64.c: File removed.
5338 * sysdeps/wordsize-64/versionsort.c: File removed.
5339 * sysdeps/wordsize-64/versionsort64.c: File removed.
5340 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5341 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5342 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5343 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5344 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5345 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5346 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5347 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5348
5349 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5350 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5351 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5352 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5353 [defined __arch64__ || defined __sparcv9]
5354 (__INO_T_MATCHES_INO64_T): New macro.
5355 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5356 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5357 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5358 * sysdeps/unix/sysv/linux/bits/dirent.h
5359 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5360 (_DIRENT_MATCHES_DIRENT64): New macro.
5361
03af9520
RM
5362 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5363 Define lockf64 as an alias.
5364 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5365 Define fseeko64 as an alias.
5366 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5367 Define ftello64 as an alias.
5368 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5369 Define _IO_fgetpos64 and fgetpos64 as aliases.
5370 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5371 Define _IO_fsetpos64 and fsetpos64 as aliases.
5372 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5373 Conditionalize body on this.
5374 * libio/fseeko64.c: Likewise.
5375 * libio/ftello64.c: Likewise.
5376 * libio/iofgetpos64.c: Likewise.
5377 * libio/iofsetpos64.c: Likewise.
5378 * sysdeps/wordsize-64/lockf.c: File removed.
5379 * sysdeps/wordsize-64/lockf64.c: File removed.
5380 * sysdeps/wordsize-64/fseeko.c: File removed.
5381 * sysdeps/wordsize-64/fseeko64.c: File removed.
5382 * sysdeps/wordsize-64/ftello.c: File removed.
5383 * sysdeps/wordsize-64/ftello64.c: File removed.
5384 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5385 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5386 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5387 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5388 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5389 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5390 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5391 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5392 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5393 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5394 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5395 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5396 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5397 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5398
5399 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5400 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5401 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5402 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5403 [defined __arch64__ || defined __sparcv9]
5404 (__OFF_T_MATCHES_OFF64_T): New macro.
5405 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5406 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5407 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5408 (__OFF_T_MATCHES_OFF64_T): New macro.
5409
c5757acd
L
54102012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5411
5412 * stdlib/secure-getenv.c (__secure_getenv): Replace
5413 GLIBC_2_16 with GLIBC_2_17.
5414
3a31811e
L
54152012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5416
5417 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5418 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5419
faa2bccb
DM
54202012-08-03 David S. Miller <davem@davemloft.net>
5421
5422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5423
85fe1997
JM
54242012-08-03 Joseph Myers <joseph@codesourcery.com>
5425
5426 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5427 Remove.
5428 (__ASSUME_CORRECT_SI_PID): Likewise.
5429 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5430 (__ASSUME_TMPFS_NAME): Likewise.
5431 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5432 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5433 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5434 (HAVE_AUX_SECURE): Make definition unconditional.
5435 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5436 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5437
4f75b7a0
RM
54382012-08-03 Roland McGrath <roland@hack.frob.com>
5439
5440 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5441 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5442 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5443 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5444 __eloop_threshold instead of SYMLOOP_MAX.
5445
5446 * sysdeps/generic/eloop-threshold.h: New file.
5447 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5448 of MAXSYMLINKS.
5449 * elf/chroot_canon.c (chroot_canon): Likewise.
5450
7aab07e4
JM
54512012-08-03 Joseph Myers <joseph@codesourcery.com>
5452
5453 [BZ #13717]
5454 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5455 Change to 2.6.0 everywhere.
5456 * sysdeps/unix/sysv/linux/configure: Regenerated.
5457 * sysdeps/unix/sysv/linux/kernel-features.h
5458 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5459 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5460 kernel versions.
5461 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5462 (__ASSUME_FUTEX_REQUEUE): Remove.
5463 (__ASSUME_STATFS64): Define unconditionally.
5464 (__ASSUME_AT_SECURE): Likewise.
5465 (__ASSUME_CORRECT_SI_PID): Likewise.
5466 (__ASSUME_TGKILL): Define without depending on kernel version for
5467 i386.
5468 (__ASSUME_UTIMES): Likewise.
5469 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5470 kernel version.
5471 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5472 (__ASSUME_TMPFS_NAME): Likewise.
5473 * README: Update reference to Linux kernel versions.
5474
b67e9372
MP
54752012-08-02 Marek Polacek <polacek@redhat.com>
5476
1f529f7d 5477 [BZ# 14150]
b67e9372
MP
5478 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5479 libc_cv_asm_type_prefix with %.
5480 * configure: Regenerated.
d2441631
RM
5481 * include/libc-symbols.h: Remove comment about
5482 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
5483 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5484 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5485 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5486 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5487 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5488 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5489 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5490 * elf/tst-unique2mod1.c: Likewise.
5491 * elf/tst-unique1mod2.c: Likewise.
5492 * elf/tst-unique1mod1.c: Likewise.
5493 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5494 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5495 Replace ASM_TYPE_DIRECTIVE with .type.
5496 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5497 * sysdeps/i386/sysdep.h: Likewise.
5498 * sysdeps/x86_64/sysdep.h: Likewise.
5499 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
5500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5501 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 5502 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
5503 * sysdeps/powerpc/powerpc32/sysdep.h:
5504 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
5505 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5506 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5507 * sysdeps/i386/fpu/e_powf.S: Likewise.
5508 * sysdeps/i386/fpu/e_expl.S: Likewise.
5509 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5510 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5511 * sysdeps/i386/fpu/e_pow.S: Likewise.
5512 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5513 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5514 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5515 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5516 * sysdeps/i386/fpu/e_log2.S: Likewise.
5517 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5518 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5519 * sysdeps/i386/fpu/e_powl.S: Likewise.
5520 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5521 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5522 * sysdeps/i386/fpu/e_logl.S: Likewise.
5523 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5524 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5525 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5526 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5527 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5528 * sysdeps/i386/fpu/e_log.S: Likewise.
5529 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5530 * sysdeps/i386/fpu/e_logf.S: Likewise.
5531 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5532 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5533 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5534 * sysdeps/i386/fpu/e_log10.S: Likewise.
5535 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5536 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5537 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5538 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5539 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5540 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5541 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5542 * sysdeps/i386/i686/strtok.S: Likewise.
5543 * sysdeps/i386/i386-mcount.S: Likewise.
5544 * sysdeps/i386/strtok.S: Likewise.
5545 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5546 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5547 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5548 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5549 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5550 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5551 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5552 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5553 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5554 * sysdeps/x86_64/_mcount.S: Likewise.
5555 * sysdeps/x86_64/strtok.S: Likewise.
5556 * sysdeps/sh/_mcount.S: Likewise.
5557
2747bf9a
RM
55582012-08-01 Roland McGrath <roland@hack.frob.com>
5559
5560 * libio/iofopen.c: Include <fcntl.h>.
5561 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5562 (_IO_fopen64, fopen64): Define as aliases.
5563 * libio/iofopen64.c: Include <fcntl.h>.
5564 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5565 Conditionalize body on this.
5566 * sysdeps/wordsize-64/iofopen.c: File removed.
5567 * sysdeps/wordsize-64/iofopen64.c: File removed.
5568
3fb791b8
MP
55692012-08-01 Marek Polacek <polacek@redhat.com>
5570
5571 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5572 Use dlfcn directly instead of a variable.
5573 (binfmt-subdir): Do not define.
5574 (dlfcn): Likewise.
5575
a9f1039f
JM
55762012-08-01 Joseph Myers <joseph@codesourcery.com>
5577
23bddc06
JM
5578 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5579 Remove all definitions.
5580 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5581 <kernel-features.h>.
5582 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5583 (miss_F_GETOWN_EX): Remove all definitions.
5584 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5585 macro definition.
5586 [!__ASSUME_FCNTL64]: Remove conditional code.
5587 [__ASSUME_FCNTL64]: Make code unconditional.
5588 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5589 <kernel-features.h>.
5590 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5591 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5592 (lockf64) [__NR_fcntl64]: Make code unconditional.
5593 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5594
a9f1039f
JM
5595 * sysdeps/unix/sysv/linux/kernel-features.h
5596 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5597 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5598 Make code unconditional.
5599 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5600 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5602 [__NR_vfork]: Make code unconditional.
5603 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5604 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5606 [__NR_vfork]: Make code unconditional.
5607 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5608 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5609
09c0ee5f
RM
56102012-08-01 Roland McGrath <roland@hack.frob.com>
5611
48aec5b9
RM
5612 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5613 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5614
cd97c966
RM
5615 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5616 Define mkstemp64 as an alias.
3f55550c
RM
5617 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5618 Define mkstemps64 as an alias.
cd97c966
RM
5619 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5620 Define mkostemp64 as an alias.
b8625cfc
RM
5621 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5622 Define mkostemps64 as an alias.
cd97c966
RM
5623 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5624 Conditionalize body on this.
5625 * misc/mkostemp64.c: Likewise.
b8625cfc 5626 * misc/mkostemps64.c: Likewise.
3f55550c 5627 * misc/mkstemps64.c: Likewise.
cd97c966
RM
5628 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5629 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5630 * sysdeps/wordsize-64/mkostemp.c: File removed.
5631 * sysdeps/wordsize-64/mkstemp.c: File removed.
5632 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5633 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5634 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5635 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5636
09c0ee5f
RM
5637 [BZ #14138]
5638 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5639 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5640 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5641 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5642
5643 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5644 compat_symbol macros from <shlib-compat.h> rather than the underlying
5645 default_symbol_version and symbol_version macros, so that DEFAULT
5646 lines in shlib-versions are respected.
5647 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5648
7e66ee51
FW
56492012-08-01 Florian Weimer <fweimer@redhat.com>
5650
5651 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5652 Declare with warn_unused_result.
5653 (setgid, setregid, setegid, setresgid): Likewise.
5654 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5655 Likewise.
5656 * WUR-REPORT: Remove set*id functions.
5657
d2a54255
PT
56582012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5659
5660 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5661
7ecdb005
RM
56622012-07-31 Roland McGrath <roland@hack.frob.com>
5663
789bd351
RM
5664 * include/sys/socket.h (__libc_accept, __libc_accept4):
5665 Add attribute_hidden.
5666 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5667
40ce302d
RM
5668 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5669 use of PTR_MANGLE.
5670 * inet/getnetgrent_r.c (setup): Likewise.
5671
7ecdb005
RM
5672 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5673
e2eabb2c
DM
56742012-07-31 David S. Miller <davem@davemloft.net>
5675
5676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5677
d0419dbf
JM
56782012-07-31 Joseph Myers <joseph@codesourcery.com>
5679
5680 [BZ #13629]
5681 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5682 value between 1.0 and 2.0 and smaller part has absolute value less
5683 than 1.0.
5684 * math/s_clog10.c (__clog10): Likewise.
5685 * math/s_clog10f.c (__clog10f): Likewise.
5686 * math/s_clog10l.c (__clog10l): Likewise.
5687 * math/s_clogf.c (__clogf): Likewise.
5688 * math/s_clogl.c (__clogl): Likewise.
5689 * math/libm-test.inc (clog_test): Add more tests.
5690 (clog10_test): Likewise.
5691 * sysdeps/i386/fpu/libm-test-ulps: Update.
5692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5693
2bc13872
FW
56942012-07-31 Florian Weimer <fweimer@redhat.com>
5695
5696 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5697 Exit with zero in case no suitable GID is found, and write a
5698 message to standard error.
5699
bea9b193
RM
57002012-07-30 Roland McGrath <roland@hack.frob.com>
5701
5702 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5703 rather than to 1.
5704 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5705 (MAXPATHLEN): Removed.
5706 (NOGROUP, NODEV): New macros.
5707 (setbit, clrbit, isset, isclr): New macros.
5708 (howmany, roundup, powerof2): New macros.
5709 (DEV_BSIZE): New macro.
5710
5711 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5712 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5713
5714 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5715 definition on [!__NO_LONG_DOUBLE_MATH].
5716
5717 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5718 PTR_MANGLE and PTR_DEMANGLE.
5719
5720 * socket/accept4.c (accept4): Rename to __libc_accept4.
5721 Define accept4 as a weak alias.
5722
5723 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5724 on [_DIRENT_HAVE_D_TYPE].
5725 * io/ftw.c (ftw_dir): Likewise.
5726
5727 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5728
5729 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5730
5731 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5732 Use the BSD numbers rather than the arbitrary ones we had.
5733 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5734 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5735 (SIGXCPU, SIGXFSZ): New macros.
5736 (_NSIG): Now 32.
5737
5738 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5739 initializer on [_LIBC_REENTRANT].
5740
5741 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5742 definitions inside [_POSIX_MAPPED_FILES].
5743
5744 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5745
5746 * dirent/opendir.c: Include <fcntl.h>.
5747
5748 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5749 (__libc_getspecific): Likewise.
5750 (__libc_key_create): Likewise.
5751
5752 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5753 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5754 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5755 (tmpfile64): Define as alias.
5756 * sysdeps/wordsize-64/tmpfile.c: File removed.
5757 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5758 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5759 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5760
5761 * stdio-common/vfscanf.c: Include <stdbool.h>.
5762 * nss/makedb.c: Likewise.
5763 * stdio-common/_i18n_number.h: Likewise.
5764 * argp/argp-help.c: Likewise.
5765 * posix/wordexp.c: Likewise.
5766 * sysdeps/posix/spawni.c: Likewise.
5767 * nss/nss_files/files-initgroups.c: Likewise.
5768 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5769 * nss/nss_files/files-initgroups.c: Likewise.
5770 * nss/nss_db/db-netgrp.c: Likewise.
5771 * nss/nss_db/db-initgroups.c: Likewise.
5772 * io/fchmodat.c: Include <sys/stat.h>.
5773
5774 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5775 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5776
5777 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5778 [HAVE_MMAP].
5779
5780 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5781 Add multiple inclusion protection.
5782
e5abc686
DM
57832012-07-27 David S. Miller <davem@davemloft.net>
5784
5785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5786
815e6fa3
GB
57872012-07-27 Gary Benson <gbenson@redhat.com>
5788
5789 [BZ #14298]
5790 * elf/rtld.c: Include <stap-probe.h>.
5791 (dl_main): Added static probes "init_start" and "init_complete".
5792 * elf/dl-load.c: Include <stap-probe.h>.
5793 (lose): Take new parameter "nsid".
5794 Added static probe "map_failed".
5795 (_dl_map_object_from_fd): Pass namespace id to lose.
5796 Added static probe "map_start".
5797 (open_verify): Pass namespace id to lose.
5798 * elf/dl-open.c: Include <stap-probe.h>.
5799 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5800 and "reloc_complete".
5801 * elf/dl-close.c: Include <stap-probe.h>.
5802 (_dl_close_worker): Added static probes "unmap_start" and
5803 "unmap_complete".
5804 * elf/rtld-debugger-interface.txt: New file documenting the above.
5805
9f98c16c
RM
58062012-07-26 Roland McGrath <roland@hack.frob.com>
5807
5808 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5809 rather than a string variable.
5810 * sunrpc/rpc_main.c (h_output): Likewise.
5811 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5812
f3c22df3
PT
58132012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5814
5815 * inet/check_native.c: New file.
5816
3129cfc6
JM
58172012-07-26 Joseph Myers <joseph@codesourcery.com>
5818
da865e95
JM
5819 [BZ #13629]
5820 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5821 if larger part has absolute value 1.0.
5822 * math/s_clog10.c (__clog10): Likewise.
5823 * math/s_clog10f.c (__clog10f): Likewise.
5824 * math/s_clog10l.c (__clog10l): Likewise.
5825 * math/s_clogf.c (__clogf): Likewise.
5826 * math/s_clogl.c (__clogl): Likewise.
5827 * math/libm-test.inc (clog_test): Add more tests.
5828 (clog10_test): Likewise.
5829 * sysdeps/i386/fpu/libm-test-ulps: Update.
5830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5831
3129cfc6
JM
5832 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5833 (pltexit): Likewise.
5834 (La_regs): Likewise.
5835 (La_retval): Likewise.
5836 (int_retval): Likewise.
5837 Update #error for removed macros to refer only to definitions in
5838 tst-audit.h.
5839 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5840 macro.
5841 (pltexit): Likewise.
5842 (La_regs): Likewise.
5843 (La_retval): Likewise.
5844 (int_retval): Likewise.
5845 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5846 macro.
5847 (pltexit): Likewise.
5848 (La_regs): Likewise.
5849 (La_retval): Likewise.
5850 (int_retval): Likewise.
5851 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5852 macro.
5853 (pltexit): Likewise.
5854 (La_regs): Likewise.
5855 (La_retval): Likewise.
5856 (int_retval): Likewise.
5857 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5858 macro.
5859 (pltexit): Likewise.
5860 (La_regs): Likewise.
5861 (La_retval): Likewise.
5862 (int_retval): Likewise.
5863 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5864 macro.
5865 (pltexit): Likewise.
5866 (La_regs): Likewise.
5867 (La_retval): Likewise.
5868 (int_retval): Likewise.
5869 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5870 macro.
5871 (pltexit): Likewise.
5872 (La_regs): Likewise.
5873 (La_retval): Likewise.
5874 (int_retval): Likewise.
5875 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5876 macro definitions in tst-audit.h.
5877 * sysdeps/i386/tst-audit.h: New file.
5878 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5879 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5880 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5881 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5882 * sysdeps/sh/tst-audit.h: Likewise.
5883 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5884 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5885 * sysdeps/x86_64/tst-audit.h: Likewise.
5886
bfc07087
AJ
58872012-07-26 Andreas Jaeger <aj@suse.de>
5888
b1b2aaf8
AJ
5889 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5890 ptrace.
5891
5892 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5893 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5894 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5895 PTRACE_O_MASK.
5896 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5897 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5898 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5899
bfc07087
AJ
5900 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5901 value.
5902
5903 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5904 _sigsys.
5905 (si_call_addr, si_syscall, si_arch): Define new macro.
5906 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5907 _sigsys.
5908 (si_call_addr, si_syscall, si_arch): Define new marcro.
5909 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5910 _sigsys.
5911 (si_call_addr, si_syscall, si_arch): Define new macro.
5912 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5913 _sigsys.
5914 (si_call_addr, si_syscall, si_arch): Define new macro.
5915
89b4b02f
JM
59162012-07-25 Joseph Myers <joseph@codesourcery.com>
5917
5918 [BZ #13717]
5919 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5920 Change to 2.4.21 where previously 2.4.1.
5921 * sysdeps/unix/sysv/linux/configure: Regenerated.
5922 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5923 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5924 Linux kernel version.
5925 (__ASSUME_STD_AUXV): Remove.
5926 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5927 kernel version.
5928 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5929 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5930 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5931 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5932 (__ASSUME_NETLINK_SUPPORT): Likewise.
5933 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5934 (__no_netlink_support): Remove conditional definition.
5935 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5936 Remove.
5937 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5938 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5939 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5940 (if_nameindex_ioctl): Remove.
5941 (if_nameindex_netlink): Do not handle __no_netlink_support.
5942 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5943 code.
5944 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5945 Remove conditional code.
5946 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5947 code.
5948 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5949 unconditional.
5950 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5951 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5952 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5953 Remove.
5954 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5955 [!__ASSUME_STD_AUXV]: Remove conditional code.
5956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5957 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5958 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5960 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5961 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5962 code.
5963 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5965 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5966 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5967 conditional code.
5968 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5970 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5971 code.
5972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5973 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5974 conditional code.
5975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5976 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5977 code unconditional.
5978 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5979 conditional code.
5980 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5981 unconditional.
5982 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5983 conditional code.
5984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5985 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5986 unconditional.
5987 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5988 conditional code.
5989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5990 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5991 code unconditional.
5992 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5993 conditional code.
5994 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5995 unconditional.
5996 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5997 conditional code.
5998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5999 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6000 code unconditional.
6001 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6002 conditional code.
6003 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6004 unconditional.
6005 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6006 conditional code.
6007
842a39cd
AS
60082012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6009
6010 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6011 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6012 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6013 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6014 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6015 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6016 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6017 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6018 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6019 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6020 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6021 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6022 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6023 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6024 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6025 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6026 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6027 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6028 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6029 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6030 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6031 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6032 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6033
84b3fd84
FW
60342012-07-25 Florian Weimer <fweimer@redhat.com>
6035
6036 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
6037 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6038 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6039 Introduce __libc_secure_getenv.
0c7936d5
FW
6040 * stdlib/Versions (2.17): Add secure_getenv
6041 (GLIBC_PRIVATE): Add __libc_secure_getenv.
6042 * stdlib/secure-getenv.c: Rename __secure_getenv to
6043 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
6044 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
6045 * stdlib/tst-secure-getenv.c: New.
6046 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
6047 * manual/startup.texi (Environment Access): Document
6048 secure_getenv.
84b3fd84
FW
6049 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6050 __libc_secure_getenv.
6051 * inet/ruserpass.c (ruserpass): Likewise.
6052 * malloc/mtrace.c (mtrace): Likewise.
6053 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 6054 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
6055 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6056 * sysdeps/posix/tempname.c: Likewise. Evaluate
6057 HAVE_SECURE_GETENV.
6058 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 6059 __secure_getenv to __libc_secure_getenv.
84b3fd84 6060 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
6061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6062 Likewise.
6063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6064 Likewise.
6065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6067 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6070 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6071 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 6072
56e49b71
JM
60732012-07-25 Joseph Myers <joseph@codesourcery.com>
6074
6075 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6076 (struct La_i86_retval): Likewise.
6077 (struct La_x86_64_regs): Likewise.
6078 (struct La_x86_64_retval): Likewise.
6079 (struct La_x32_regs): Likewise.
6080 (struct La_x32_retval): Likewise.
6081 (struct La_ppc32_regs): Likewise.
6082 (struct La_ppc32_retval): Likewise.
6083 (struct La_ppc64_regs): Likewise.
6084 (struct La_ppc64_retval): Likewise.
6085 (struct La_sh_regs): Likewise.
6086 (struct La_sh_retval): Likewise.
6087 (struct La_s390_32_regs): Likewise.
6088 (struct La_s390_32_retval): Likewise.
6089 (struct La_s390_64_regs): Likewise.
6090 (struct La_s390_64_retval): Likewise.
6091 (struct La_sparc32_regs): Likewise.
6092 (struct La_sparc32_retval): Likewise.
6093 (struct La_sparc64_regs): Likewise.
6094 (struct La_sparc64_retval): Likewise.
6095 (struct audit_ifaces): Remove architecture-specific pltenter and
6096 pltexit members.
6097 * sysdeps/i386/ldsodefs.h: New file.
6098 * sysdeps/powerpc/ldsodefs.h: Likewise.
6099 * sysdeps/s390/ldsodefs.h: Likewise.
6100 * sysdeps/sh/ldsodefs.h: Likewise.
6101 * sysdeps/sparc/ldsodefs.h: Likewise.
6102 * sysdeps/x86_64/ldsodefs.h: Likewise.
6103
354691b7
MP
61042012-07-25 Marek Polacek <polacek@redhat.com>
6105
6106 [BZ #6808]
6107 * math/libm-test.inc (yn_test): Add another test.
6108 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6109 to ERANGE when the result is +-Inf.
6110 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6111 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6112 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6113 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6114
bf9e2071
JM
61152012-07-24 Joseph Myers <joseph@codesourcery.com>
6116
6117 * conform/data/time.h-data (NULL): Use macro-constant. Require
6118 equal to 0.
6119 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6120 clock_t.
6121 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6122
57633811
TS
61232012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6124
6125 * configure.in <sysdeps resolving>: Correct printing
6126 Implies_before.
6127 * configure: Regenerate.
6128
c23c33b0
TS
61292012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6130
6131 * math/w_ilogb.c: Include <limits.h>.
6132 * math/w_ilogbl.c: Likewise.
6133
b5982523
JM
61342012-07-20 Joseph Myers <joseph@codesourcery.com>
6135
6136 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6137 va_copy. Document allowing for unavailable va_copy only as
6138 pre-C99 compatibility.
6139 * manual/string.texi (Copying and Concatenation): Use va_copy
6140 instead of __va_copy in concat example.
6141
ac4ea442
PT
61422012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6143
6144 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6145 (__sendto): Use create_address_port. Initialize APORT and deallocate
6146 it if not null.
6147
f98eafbd
PT
6148 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6149 with O_NOLINK passed to __file_name_lookup.
6150
898c7aab
PT
6151 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6152 with O_NOLINK passed to __file_name_lookup.
6153
0ced335a
PT
6154 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6155 negative N or less than NGIDS.
6156
b3404dbd
PT
6157 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6158 type to string_t. Set ERANGE as errno and return it if NAME is not big
6159 enough. Use memcpy instead of strncpy.
6160
0f48659e
JM
61612012-07-20 Joseph Myers <joseph@codesourcery.com>
6162
6163 * elf/Makefile (check-data): Remove.
6164 (localplt.data): New vpath directive.
6165 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6166 instead of $(check-data).
6167 * scripts/data/localplt-generic.data: Move to ...
6168 * sysdeps/generic/localplt.data: ... here.
6169 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6170 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6171 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6173 ... here.
6174 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6176 ... here.
6177 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6179 ... here.
6180 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6182 ... here.
6183 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6185 ... here.
6186 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6188 ... here.
6189
d37cbdaa
AZ
61902012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6191
6192 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6193 PPC32 and PPC64 files.
6194 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6195 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6196
46f85fc2
AK
61972012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6198
6199 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6200 __makecontext_ret to ...
6201 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6202 ... here and call exit if uc_link is NULL. New file.
6203 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6204 __makecontext_ret.S.
6205 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6206 __makecontext_ret to ...
6207 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6208 ... here and call exit if uc_link is NULL. New file.
6209 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6210 __makecontext_ret.S.
6211
08f43f9b
AK
62122012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6213
6214 * elf/elf.h (R_390_IRELATIVE): New definition.
6215 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6216 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6217 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6218 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6219 (elf_machine_lazy_rel): Likewise.
6220 * sysdeps/s390/dl-irel.h: New file.
6221 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6222 * sysdeps/s390/s390-64/memset.S: New asm code.
6223 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6224 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6225 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6226 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6227 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6228 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6229 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6230 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6231 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6232 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6233 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6234 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6235 * sysdeps/s390/s390-32/memset.S: New asm code.
6236 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6237
3b05db33
MP
62382012-07-17 Marek Polacek <polacek@redhat.com>
6239
6240 [BZ #14349]
6241 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6242 * sysdeps/s390/s390-64/configure.in: Likewise.
6243 * sysdeps/sparc/configure.in: Likewise.
6244 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6245 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6246 * sysdeps/i386/configure.in: Likewise.
6247 * sysdeps/x86_64/configure.in: Likewise.
6248 * sysdeps/sh/configure.in: Likewise.
6249 * sysdeps/s390/s390-32/configure: Regenerated.
6250 * sysdeps/s390/s390-64/configure: Likewise.
6251 * sysdeps/x86_64/configure: Likewise.
6252 * sysdeps/sh/configure: Likewise.
6253 * sysdeps/powerpc/powerpc64/configure: Likewise.
6254 * sysdeps/powerpc/powerpc32/configure: Likewise.
6255 * sysdeps/sparc/configure: Likwise.
6256 * sysdeps/i386/configure: Likewise.
6257
a66877c6
MP
6258 * elf/dl-open.c: Comment fixes.
6259
cfc82fd8
JM
62602012-07-17 Joseph Myers <joseph@codesourcery.com>
6261
bd29910a
JM
6262 * Makefile [CXX] (check-data): Remove.
6263 [CXX] (c++-types.data): New vpath directive.
6264 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6265 vpath. Do not allow for C++ type data being missing.
6266 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6267 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6268 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6269 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6270 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6271 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6272 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6274 ... here.
6275 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6277 ... here.
6278 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6280 ... here.
6281 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6283 ... here.
6284 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6285 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6286 ... here.
6287 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6289 ... here.
6290 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6291 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6292 ... here.
6293 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6295
cfc82fd8
JM
6296 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6297 definitions to architecture-specific files.
6298 (TLS_IE): Likewise.
6299 (TLS_LD): Likewise.
6300 (TLS_GD): Likewise.
6301 * sysdeps/i386/tls-macros.h: New file.
6302 * sysdeps/powerpc/tls-macros.h: Likewise.
6303 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6304 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6305 * sysdeps/sh/tls-macros.h: Likewise.
6306 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6307 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6308 * sysdeps/x86_64/tls-macros.h: Likewise.
6309
f7db3170
TS
63102012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6311
07cbfc23
TS
6312 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6313 zero value for regular exit case.
6314
f7db3170
TS
6315 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6316 (__start_context): Preserve zero value for regular exit case.
6317
dc97c227
TS
63182012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6319 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6320
6321 * manual/setjmp.texi (setcontext): Clarify normal process
6322 termination when uc_link is the null pointer.
6323 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6324 exit call.
6325
d0cd7d02
AS
63262012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6327
6328 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6329 preprocessor. Test for each exception mask separately.
6330
dd318934
AJ
63312012-07-16 Andreas Jaeger <aj@suse.de>
6332
6333 * po/ru.po: Update from translation team.
6334
8048311a
JM
63352012-07-15 Joseph Myers <joseph@codesourcery.com>
6336
6337 * conform/data/string.h-data (NULL): Use macro-constant. Require
6338 equal to 0.
6339 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6340 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6341 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6342 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6343 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6344
b637d46e
AJ
63452012-07-13 Andreas Jaeger <aj@suse.de>
6346
6347 * po/fr.po: Update from translation team.
6348
541428fe
MP
63492012-07-12 Marek Polacek <polacek@redhat.com>
6350
6351 [BZ #14173]
6352 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6353 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6354 loop condition.
6355
ec332e94
JM
63562012-07-12 Joseph Myers <joseph@codesourcery.com>
6357
6358 [BZ #13717]
6359 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6360 Change to 2.4.1 where previously 2.4.0.
6361 * sysdeps/unix/sysv/linux/configure: Regenerated.
6362 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6363 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6364 version.
6365 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6366 (__ASSUME_AT_CLKTCK): Remove.
6367 (__ASSUME_AT_PAGESIZE): Likewise.
6368 (__ASSUME_AT_XID): Likewise.
6369 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6370 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6371 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6372 unconditionally.
6373 (HAVE_AUX_PAGESIZE): Likewise.
6374 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6375 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6376 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6377
7b6e99be
JB
63782012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6379
6380 [BZ #14307]
6381 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6382 the temporary buffer used to invoke __gethostbyname2_r,
6383 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6384 host_data / struct gaih_addrtuple.
6385 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6386 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6387 header file nss/nsswitch.h.
6388 * nss/nsswitch.h (global scope): Add definition of implementation
6389 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6390 resolv/nss_dns/dns-host.c).
6391
608404eb
AJ
63922012-07-11 Andreas Jaeger <aj@suse.de>
6393
6394 * po/fr.po: Update from translation team.
6395
71220aca
AJ
6396 * po/sv.po: Update from translation team
6397 * po/fr.po: Another update from translation team.
6398
28cfe843
AZ
63992012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6400
6401 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6402 for subnormals or multiply small sinh result by itself.
6403 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6405
6b90f981
DM
64062012-07-11 David S. Miller <davem@davemloft.net>
6407
6408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6409
c6825772
AS
64102012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6411
6412 [BZ #14347]
6413 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6414 (INTERNAL_MARK): Shift it here.
6415
7b8e0d49
MP
64162012-07-10 Marek Polacek <polacek@redhat.com>
6417
6418 [BZ #14151]
6419 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6420 libc_cv_asm_global_directive with .globl.
6421 * configure: Regenerated.
6422 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6423 with .globl.
6424 * sysdeps/i386/configure: Regenerated.
6425 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6426 with .globl.
6427 * sysdeps/x86_64/configure: Regenerated.
6428 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6429 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6430 * elf/tst-unique2mod2.c: Likewise.
6431 * elf/tst-unique2mod1.c: Likewise.
6432 * elf/tst-unique1mod2.c: Likewise.
6433 * elf/tst-unique1mod1.c: Likewise.
6434 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6435 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6436 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6437 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6438 * sysdeps/mach/sysdep.h: Likewise.
6439 * sysdeps/i386/sysdep.h: Likewise.
6440 * sysdeps/i386/i386-mcount.S: Likewise.
6441 * sysdeps/x86_64/_mcount.S: Likewise.
6442 * sysdeps/x86_64/sysdep.h: Likewise.
6443 * sysdeps/sh/_mcount.S: Likewise.
6444 * sysdeps/sh/sysdep.h: Likewise.
6445 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6446 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6447 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6448 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6449 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6450 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6451 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6452 * locale/localeinfo.h: Likewise.
6453 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6454 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6455
6c55cda3
RM
64562012-07-09 Roland McGrath <roland@hack.frob.com>
6457
6458 [BZ #14336]
6459 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6460 system".
6461 * manual/message.texi (The Uniforum approach): Likewise.
6462 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6463 (glibc iconv Implementation): Likewise.
6464
638a572e
JM
64652012-07-09 Joseph Myers <joseph@codesourcery.com>
6466
6467 [BZ #14337]
6468 * math/s_clog.c (__clog): Avoid scaling a value down where that
6469 could result in underflow.
6470 * math/s_clog10.c (__clog10): Likewise.
6471 * math/s_clog10f.c (__clog10f): Likewise.
6472 * math/s_clog10l.c (__clog10l): Likewise.
6473 * math/s_clogf.c (__clogf): Likewise.
6474 * math/s_clogl.c (__clogl): Likewise.
6475 * math/libm-test.inc (clog_test): Add more tests.
6476 (clog10_test): Likewise.
6477 * sysdeps/i386/fpu/libm-test-ulps: Update.
6478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6479
261f4859
AS
64802012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6481
0abaf3e4
AS
6482 [BZ #14283]
6483 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6484 by 7 not 8 to examine high bit of fractional part.
6485
261f4859
AS
6486 [BZ #14042]
6487 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6488 for call to __mcount_internal.
6489 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6490 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6491 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6492
f17ac40d
JM
64932012-07-06 Joseph Myers <joseph@codesourcery.com>
6494
9ad63c23
JM
6495 [BZ #14154]
6496 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6497 approximation for values within 0x1p-13f of an odd multiple of
6498 pi/4.
6499 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6500 exception. Add more tests.
6501 * sysdeps/i386/fpu/libm-test-ulps: Update.
6502
f17ac40d
JM
6503 [BZ #6778]
6504 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6505 inputs and return -1 for them. Do not check for +Inf in case not
6506 reachable for +Inf.
6507 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6508 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6509 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6510 and return -1 for them. Do not check for +Inf in case not
6511 reachable for +Inf.
6512 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6513 define.
6514 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6515 and return -1 for them. Do not check for +Inf in case not
6516 reachable for +Inf.
6517 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6518 spurious underflow.
6519 * sysdeps/i386/fpu/libm-test-ulps: Update.
6520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6521
fb21f89b
MF
65222012-07-06 Mike Frysinger <vapier@gentoo.org>
6523
6524 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6525
cdfe2c5e
JM
65262012-07-05 Joseph Myers <joseph@codesourcery.com>
6527
6528 [BZ #14157]
6529 [BZ #14331]
6530 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6531 could result in spurious underflow. Scale down values above
6532 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6533 * math/s_csqrtf.c (__csqrtf): Likewise.
6534 * math/s_csqrtl.c (__csqrtl): Likewise.
6535 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6536 spurious underflow.
6537 * sysdeps/i386/fpu/libm-test-ulps: Update.
6538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6539
70d35b67
AS
65402012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6541
704bc459
AS
6542 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6543 xopen-msg.sed.
6544 * catgets/xopen-msg.awk: New file.
6545 * catgets/xopen-msg.sed: Removed.
6546
70d35b67
AS
6547 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6548 po2text.sed.
6549 * intl/po2test.awk: New file.
6550 * intl/po2test.sed: Removed.
6551
ca61cf32
JM
65522012-07-04 Joseph Myers <joseph@codesourcery.com>
6553
6554 [BZ #14328]
6555 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6556 or multiply small sinh result by itself.
6557 * math/s_ctanf.c (__ctanf): Likewise.
6558 * math/s_ctanh.c (__ctanh): Likewise.
6559 * math/s_ctanhf.c (__ctanhf): Likewise.
6560 * math/s_ctanhl.c (__ctanhl): Likewise.
6561 * math/s_ctanl.c (__ctanl): Likewise.
6562 * math/libm-test.inc (ctan_test_tonearest): New function.
6563 (ctan_test_towardzero): Likewise.
6564 (ctan_test_downward): Likewise.
6565 (ctan_test_upward): Likewise.
6566 (ctanh_test_tonearest): Likewise.
6567 (ctanh_test_towardzero): Likewise.
6568 (ctanh_test_downward): Likewise.
6569 (ctanh_test_upward): Likewise.
6570 (main): Call these new functions.
6571 * sysdeps/i386/fpu/libm-test-ulps: Update.
6572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6573
ca48a46a
MF
65742012-07-03 Mike Frysinger <vapier@gentoo.org>
6575
6576 * .gitignore: Delete /ports entry.
6577
9d63d37d
AJ
65782012-07-03 Andreas Jaeger <aj@suse.de>
6579
6580 * po/bg.po: Update from translation team.
6581 * po/cs.po: Likewise.
6582 * po/de.po: Likewise.
6583 * po/hr.po: Likewise.
6584 * po/nl.pl: Likewise.
6585 * po/pl.po: Likewise.
6586 * po/vi.po: Likewise.
6587
370ca3d2
JM
65882012-07-03 Joseph Myers <joseph@codesourcery.com>
6589
95f5a9a8
JM
6590 * Makeconfig [!+link] (+link-before-libc): New variable.
6591 [!+link] (+link-after-libc): Likewise.
6592 [!+link] (+link-tests): Likewise.
6593 [!+link] (+link): Define in terms of $(+link-before-libc) and
6594 $(+link-after-libc).
6595 [!+link-static] (+link-static-before-libc): New variable.
6596 [!+link-static] (+link-static-after-libc): Likewise.
6597 [!+link-static] (+link-static-tests): Likewise.
6598 [!+link-static] (+link-static): Define in terms of
6599 $(+link-static-before-libc) and $(+link-static-after-libc).
6600 [build-shared] (link-libc-before-gnulib): New variable.
6601 [build-shared] (link-libc-tests): Likewise.
6602 [build-shared] (link-libc): Define in terms of
6603 $(link-libc-before-gnulib).
6604 [!build-shared] (link-libc-tests): New variable.
6605 (link-libc-static-tests): New variable.
6606 [!gnulib] (gnulib-arch): New variable.
6607 [!gnulib] (gnulib-tests): Likewise.
6608 [!gnulib] (static-gnulib-arch): Likewise.
6609 [!gnulib] (static-gnulib-tests): Likewise.
6610 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6611 Define with "=" instead of ":=".
6612 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6613 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6614 * Rules (binaries-all-notests): New variable.
6615 (binaries-all-tests): Likewise.
6616 (binaries-static-notests): Likewise.
6617 (binaries-static-tests): Likewise.
6618 (binaries-all): Define using $(binaries-all-notests) and
6619 $(binaries-all-tests).
6620 (binaries-static): Define using $(binaries-static-notests) and
6621 $(binaries-static-tests).
6622 (binaries-shared-tests): New variable.
6623 (binaries-shared-notests): Likewise.
6624 (binaries-shared): Remove variable.
6625 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6626 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6627 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6628 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6629 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6630 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6631 * elf/Makefile (sln-modules): New variable.
6632 (extra-objs): Add $(sln-modules:=.o).
6633 (ldconfig-modules): Add static-stubs.
6634 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6635 * elf/static-stubs.c: New file.
6636
7a845b2c
JM
6637 [BZ #14283]
6638 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6639 by 7 not 8 to examine high bit of fractional part. Use volatile
6640 variables when splitting into final array of floats if
6641 __FLT_EVAL_METHOD__ != 0.
6642 * math/libm-test.inc (cos_test): Add another test.
6643 (sin_test): Likewise.
6644 * sysdeps/i386/fpu/libm-test-ulps: Update.
6645
e2283f38
JM
6646 [BZ #14273]
6647 * math/libm-test.inc (cosh_test): Add more tests.
6648
370ca3d2
JM
6649 * version.h (RELEASE): Set to "development".
6650 (VERSION): Set to "2.16.90".
6651
ee9247c3
CD
66522012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6653
6654 * NEWS: Update copyright. Remove last-updated date.
6655 Mention math library bug fixes and timezone data changes.
6656 * README: Mention GNU/Hurd, x32, and HPPA support status.
6657
4648c381
TS
66582012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6659
6660 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6661
aac78a43
AJ
66622012-06-27 Andreas Jaeger <aj@suse.de>
6663
6664 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6665
ed3dbfad
AJ
66662012-06-25 Andreas Jaeger <aj@suse.de>
6667
6668 * sysdeps/s390/fpu/libm-test-ulps: Update.
6669
4d0ee855
AS
66702012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6671 Thomas Schwinge <thomas@codesourcery.com>
6672
6673 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6674 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6675 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6676 fanotify_mark.
6677
af1bce34
TS
66782012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6679
a9fa33ba
TS
6680 * sysdeps/mach/start.c: Remove file.
6681 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6682 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6683 * sysdeps/sh/init-first.c: Likewise.
6684
58f902b8
TS
6685 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6686 registers for frame unwinding purposes, add CFI directives.
6687 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6688 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6689 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6690 Likewise.
6691
1518f58b
TS
6692 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6693 __fortify_fail returning.
6694 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6695
db9b5059
TS
6696 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6697 sysdeps/sh/____longjmp_chk.S.
6698 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6699 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6700 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6701 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6702
967705fe
TS
6703 * sysdeps/sh/abort-instr.h: New file.
6704 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6705 process in case exit returns.
6706
a9def8c4
TS
6707 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6708 initialize the GOT register before use.
6709
2a649725
TS
6710 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6711 calculation of ARGC > 4.
6712
af1bce34
TS
6713 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6714 meaningful names to some local labels.
6715
d230f50a
KK
67162012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6717 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6718
6719 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6720 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6721 (__arch_compare_and_exchange_val_16_acq): Likewise.
6722 (__arch_compare_and_exchange_val_32_acq): Likewise.
6723 (atomic_exchange_and_add): Fix gUSA sequence.
6724 (atomic_add): Likewise.
6725 (atomic_add_negative): Likewise.
6726 (atomic_add_zero): Likewise.
6727 (atomic_bit_test_set): Likewise.
6728
0479b305
AS
67292012-06-22 Andreas Schwab <schwab@redhat.com>
6730
6731 [BZ #13579]
6732 * include/link.h (struct link_map): Add l_free_initfini.
6733 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6734 l_initfini.
6735 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6736 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6737 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6738 set.
6739
0e3933b9
CD
67402012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6741
6742 * configure.in: Use AC_LANG_SOURCE.
6743 * configure: Regenerate.
6744
4248b1b1
RM
67452012-06-22 Roland McGrath <roland@hack.frob.com>
6746
6747 * configure.in (libc_cv_localstatedir): New substituted variable.
6748 * configure: Regenerated.
6749 * config.make.in (localstatedir): New variable, substituted from
6750 libc_cv_localstatedir.
6751 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6752 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6753 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6754 * sysdeps/gnu/configure: Regenerated.
6755
006dd861
JL
67562012-06-21 Jeff Law <law@redhat.com>
6757
6758 [BZ #14277]
6759 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6760 free. Simplify list management for _LIBC case.
6761
79662d42
JM
67622012-06-21 Joseph Myers <joseph@codesourcery.com>
6763
b7abb4bf
JM
6764 [BZ #14273]
6765 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6766 Clear sign bit of 64-bit integer value before comparing against
6767 overflow value.
6768
79662d42
JM
6769 * sysdeps/mach/configure: Regenerated.
6770
1f150908
L
67712012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6772
6773 [BZ #14278]
6774 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6775
28363bbf
JL
67762012-06-21 Jeff Law <law@redhat.com>
6777
6778 [BZ #13882]
6779 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6780 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 6781 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
6782 * elf/dl-open.c (dl_open_worker): Likewise.
6783
09615db4
CD
67842012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6785
6786 * scripts/list-sources.sh: Scan PORTS for translations.
6787 * po/libc.pot: Regenerated.
6788
2174c6dd
AJ
67892012-06-21 Andreas Jaeger <aj@suse.de>
6790
6791 [BZ #12194]
6792 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6793 warning.
6794 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6795 * bits/byteswap-16.h (__bswap_16): Likewise.
6796 * bits/byteswap.h (__bswap_constant_16): Likewise.
6797
3ee947b1
L
67982012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6799
6800 [BZ #14117]
a2f34833
L
6801 * sysdeps/i386/fpu_control.h: Removed.
6802 * sysdeps/x86_64/fpu_control.h: Moved to ...
6803 * sysdeps/x86/fpu_control.h: Here.
6804
3ee947b1
L
6805 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6806 (_FPU_SETCW): Likewise.
6807
ed1825f8
L
68082012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6809
25f1282a
L
6810 [BZ #14117]
6811 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6812 * sysdeps/x86/fpu/bits/mathinline.h: This.
6813 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6814
ed1825f8
L
6815 [BZ #14050]
6816 [BZ #14117]
6817 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6818 functions if __x86_64__ is defined.
6819
36d54b74
CLT
68202012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6821
6822 * string/endian.h: Add !__ASSEMBLER__ condition for including
6823 conversion interfaces.
6824
10285c21
JM
68252012-06-15 Joseph Myers <joseph@codesourcery.com>
6826
6827 [BZ #14241]
6828 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6829 of ABS(x) in calculating zero to negative powers other than odd
6830 integers.
6831 * math/libm-test.inc (pow_test): Add more tests.
6832
06c5abbd
AJ
68332012-06-15 Andreas Jaeger <aj@suse.de>
6834
6835 * manual/contrib.texi (Contributors): Update entry of Liubov
6836 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6837 Machado Filho.
6838
a3aeac40
CH
68392012-06-15 Cyril Hrubis <metan@ucw.cz>
6840
6841 * string/string.h: Add __wur to GNU version of strerror_r.
6842
49bdf4c1
L
68432012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6844
6845 [BZ #14229]
6846 * string/Makefile (tests): Add tst-strtok_r.
6847 * string/tst-strtok_r.c: New file.
6848 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6849 RAX_LP/RDX_LP on SAVE_PTR.
6850
834f9b8d
RM
68512012-06-14 Roland McGrath <roland@hack.frob.com>
6852
6853 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6854
75fa1921
JM
68552012-06-14 Joseph Myers <joseph@codesourcery.com>
6856
6857 * libm_test.inc (csqrt_test): Allow more spurious underflow
6858 exceptions.
6859 (j0_test): Likewise.
6860 (j1_test): Likewise.
6861 (y0_test): Likewise.
6862 (y1_test): Likewise.
6863
771766df
CD
68642012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6865
6866 * po/Makefile (libc.pot): Use UTF-8 charset.
6867
ceb9e56b
PP
68682012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6869
6870 [BZ #14210]
6871 Suppress sign-conversion warning from FD_SET.
6872 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6873 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6874 not unsigned long int.
6875 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6876
ddb28975
L
68772012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6878
6879 [BZ #14050]
6880 [BZ #14117]
6881 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6882 __extern_always_inline instead of __extern_inline.
6883 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6884 (__signbit): Likewise.
6885 (__signbitl): Support C++ namespace.
6886 (lrintf): New inline function.
6887 (lrint): Likewise.
6888 (llrintf): Likewise.
6889 (llrint): Likewise.
6890 (fmaxf): Likewise.
6891 (fmax): Likewise.
6892 (fminf): Likewise.
6893 (fmin): Likewise.
6894 (rint): Likewise.
6895 (rintf): Likewise.
6896 (ceil): Likewise.
6897 (ceilf): Likewise.
6898 (floor): Likewise.
6899 (floorf): Likewise.
6900 (nearbyint): Likewise.
6901 (nearbyintf): Likewise.
6902
d7b4fb26
TS
69032012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6904
6905 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6906 non-default versions.
6907
eb55f5c2
RM
69082012-06-11 Roland McGrath <roland@hack.frob.com>
6909
6910 [BZ #14218]
6911 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6912
366af02c
TS
69132012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6914
99ff6e5c
TS
6915 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6916 (FE_UPWARD, FE_DOWNWARD): Don't define.
6917 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6918 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6919
366af02c
TS
6920 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6921 reading it.
6922 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6923 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6924
793ea851
KK
69252012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6926
6927 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6928 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6929 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6930 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6931
a728a38f
L
69322012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6933
6934 [BZ #14117]
c08010c7
L
6935 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6936 * sysdeps/i386/fpu/Implies: New file.
6937 * sysdeps/x86_64/fpu/Implies: Likewise.
6938 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6939 * sysdeps/x86/fpu/bits/fenv.h: This.
6940
a728a38f
L
6941 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6942 __SSE_MATH__.
6943
6e230d11
SP
69442012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6945
6946 [BZ #14134]
6947 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6948 character 0xffff that matches the last element of the
6949 conversion table.
6950
1b671feb
AZ
69512012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6952
6953 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6954 fmodl commit.
6955
6043738b
AZ
69562012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6957
6958 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6959 values higher than 25.6283.
6960
34ae0b32
AZ
69612012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6962
6963 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6964 subnormal exponent extraction and add some __builtin_expect.
6965 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6966 Fix for subnormal mantissa calculation.
6967
1214ec8f
MF
69682012-06-04 Mike Frysinger <vapier@gentoo.org>
6969
6970 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6971 cpu2 is -1 and errno is not ENOSYS.
6972
f3d1f93c
L
69732012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6974
6975 [BZ #14117]
0e4a3cd7
L
6976 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6977 * sysdeps/x86/bits/string.h: This.
6978 * sysdeps/x86_64/bits/string.h: Removed.
6979
6704c645
L
6980 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6981 if not compiling for x86-64, but compiling for >= i486.
6982
48495318
L
6983 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6984 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6985
14adcbfc
L
6986 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6987 New macro from Linux kernel 3.4.0.
6988 (FP_XSTATE_MAGIC2): Likewise.
6989 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6990 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6991 (struct _fpx_sw_bytes): New struct.
6992 (struct _xsave_hdr): Likewise.
6993 (struct _ymmh_state): Likewise.
6994 (struct _xstate): Likewise.
6995
68e408ab
L
6996 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6997 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6998 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6999 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7000 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7001 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7002
f3d1f93c
L
7003 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7004 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7005 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7006 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7007 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7008 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7009
d9dc34cd
TMQMF
70102012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7011
7012 [BZ #13743]
7013 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7014 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7015 (sysdep_headers): Include sys/platform/ppc.h.
7016 * sysdeps/powerpc/test-gettimebase.c: Test for
7017 __ppc_get_timebase() to catch future ISA opcode/insn changes.
7018 * manual/Makefile (appendices): Include platform.texi.
7019 * manual/contrib.texi (Contributors): Update @node pointers.
7020 * manual/maint.texi (Maintenance): Likewise.
7021 (Platform): New node.
7022 * manual/platform.texi: New file. Document the new features.
7023
4af3879c
SP
70242012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7025 Jakub Jelinek <jakub@redhat.com>
7026
7027 [BZ #14188]
7028 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7029 where __builtin_expect is unavailable.
7030
2fd6ff13
DM
70312012-06-03 David S. Miller <davem@davemloft.net>
7032
7033 * stdlib/longlong.h: Updated from GCC.
7034
173f7220
AS
70352012-06-02 Andreas Schwab <schwab@linux-m68k.org>
7036
7037 [BZ #14042]
7038 * sysdeps/powerpc/powerpc32/mcount.c: New file.
7039 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7040 __mcount_internal.
7041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7042 (GLIBC_2.16): Likewise.
7043
f34a1c6f
L
70442012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7045
7046 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7047
88a4576f
JM
70482012-06-01 Joseph Myers <joseph@codesourcery.com>
7049
ea32bcdd
JM
7050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7051 (default-abi): New variable.
7052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7053 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7054 variable.
7055 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7056 Likewise.
7057 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7058 Likewise.
7059 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7060 Likewise.
7061
88a4576f
JM
7062 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7063 definition. Document in comment.
7064
402fe938
DM
70652012-06-01 David S. Miller <davem@davemloft.net>
7066
7067 * stdlib/longlong.h: Updated from GCC.
7068
3553723f
L
70692012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7070
7071 [BZ #14117]
3bd872c4
L
7072 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7073 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7074 sys/debugreg.h sys/io.h here.
7075 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7076 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7077 sys/io.h.
7078 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7079 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7080 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7081 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7082 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7083 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7084
3553723f
L
7085 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7086 Define only if __x86_64__ is defined.
7087
4842e4fe
JM
70882012-06-01 Joseph Myers <joseph@codesourcery.com>
7089
c5bfe3d5
JM
7090 [BZ #14048]
7091 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7092 Use int64_t for variable i.
7093 * math/libm-test.inc (fmod_test): Add more tests.
7094
4842e4fe
JM
7095 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7096 z computation is not scheduled after fetestexcept.
7097 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7098 Use math_force_eval instead of asm to ensure calculation scheduled
7099 before exception test.
7100 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7101 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7102
efb73488
AJ
71032012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7104
7105 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7106 computation is not scheduled after fetestexcept.
7107
29bcce7c
L
71082012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7109
7110 [BZ #14117]
7111 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7112 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7113
73a68f94
AZ
71142012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7115
7116 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7117 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7118
67b6df78
L
71192012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7120
edf2933a 7121 [BZ #14117]
ebc64a18
L
7122 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7123 <bits/wordsize.h>.
7124 (__WCHAR_MIN): Support __WORDSIZE == 64.
7125 (__WCHAR_MAX): Likewise.
7126
edf2933a
L
7127 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7128 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7129
57c6cf40
L
7130 [BZ #14183]
7131 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7132 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7133
67b6df78 7134 [BZ #14117]
8eb6281e
L
7135 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7136 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7137
aac639f4
L
7138 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7139 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7140
67b6df78
L
7141 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7142 Defined to 1 if __x86_64__ isn't defined.
7143 (_STAT_VER_LINUX_OLD): New.
7144 (st_atime): Remove duplicate.
7145 (st_mtime): Likewise.
7146 (st_ctime): Likewise.
7147
1c2cfe81
DM
71482012-05-31 David S. Miller <davem@davemloft.net>
7149
7150 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7151 entries.
7152
5be8418c
AS
71532012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7154
e7725326
AS
7155 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7156 gen-libm-test.pl.
7157
5be8418c
AS
7158 [BZ #14132]
7159 * elf/dl-reloc.c: Include <_itoa.h>.
7160 (_dl_reloc_bad_type): Remove use of INTUSE.
7161 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7162 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7163 * stdio-common/psiginfo.c (psiginfo): Likewise.
7164 * stdio-common/psignal.c (psignal): Likewise.
7165 * string/strsignal.c (strsignal): Likewise.
7166 * include/signal.h (_sys_siglist): Declare hidden proto.
7167 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7168 INTVARDEF with libc_hidden_data_def.
7169 * stdio-common/itoa-udigits.c: Likewise.
7170 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7171 (_itoa_lower_digits_internal): Remove declaration.
7172 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7173 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7174 (_sys_sigabbrev_internal): Remove aliases.
7175 (_sys_siglist): Define hidden alias.
7176
507352f1
MT
71772012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7178
7179 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7180 bits/sysctl.h.
7181
42bbb1c3
L
71822012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7183
7184 [BZ #14117]
6bd784b6
L
7185 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7186 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7187
8bca20f0
L
7188 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7189 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7190 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7191 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7192 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7193 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7194
f9e890a9
L
7195 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7196 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7197 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7198
471101a1
L
7199 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7200 with __addr.
7201 (insw): Likewise.
7202 (insl): Likewise.
7203 (outsb): Likewise.
7204 (outsw): Likewise.
7205 (outsl): Likewise.
7206
6451c862
L
7207 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7208 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7209 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7210
a254b8c9
L
7211 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7212 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7213 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7214 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7215 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7216 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7217
b8dfdd92
L
7218 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7219 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7220
578cd270
L
7221 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7222 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7223
de662f5f
L
7224 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7225 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7226 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7227
25653439
L
7228 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7229 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7230 to ...
7231 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7232
6bad24a0
L
7233 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7234 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7235 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7236
42bbb1c3
L
7237 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7238 for x86-64.
7239 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7240
2d10d547
JM
72412012-05-31 Joseph Myers <joseph@codesourcery.com>
7242
7243 * math/math.h (M_El): Use two more decimal places.
7244 (M_LOG2El): Likewise.
7245 (M_LOG10El): Likewise.
7246 (M_LN2l): Likewise.
7247 (M_LN10l): Likewise.
7248 (M_PIl): Likewise.
7249 (M_PI_2l): Likewise.
7250 (M_PI_4l): Likewise.
7251 (M_1_PIl): Likewise.
7252 (M_2_PIl): Likewise.
7253 (M_2_SQRTPIl): Likewise.
7254 (M_SQRT2l): Likewise.
7255 (M_SQRT1_2l): Likewise.
7256
f230c29b
DM
72572012-05-31 David S. Miller <davem@davemloft.net>
7258
7259 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7260 values between float registers.
7261 * sysdeps/sparc/sparc64/memset.S: Likewise.
7262 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7263
fed806c3
MF
72642012-05-31 Mike Frysinger <vapier@gentoo.org>
7265
7266 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7267 -D_FORTIFY_SOURCE=1.
7268 (CPPFLAGS-tst-longjmp_chk.c): Define.
7269 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7270 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7271 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7272 CFLAGS-tst-wchar-h.c.
7273
30917259
MP
72742012-05-31 Marek Polacek <polacek@redhat.com>
7275
7276 [BZ #14132]
7277 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7278 __endmntent_internal): Remove declaration.
7279 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7280 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7281 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7282
1c58d5dc
DM
72832012-05-30 David S. Miller <davem@davemloft.net>
7284
7285 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7286 (___Q_simulate_exceptions): Use real FP ops rather than writing
7287 into the %fsr.
7288 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7289 Likewise.
7290
7dc00e0d
L
72912012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7292
7293 [BZ #14117]
0bd53985
L
7294 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7295 * sysdeps/x86/bits/xtitypes.h: This.
7296
3a257e66
L
7297 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7298 * sysdeps/x86/bits/wordsize.h: This.
7299
62f62904
L
7300 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7301 * sysdeps/x86/bits/huge_vall.h: This.
7302
404fe9d9
L
7303 * sysdeps/i386/bits/select.h: Removed.
7304 * sysdeps/x86_64/bits/select.h: Renamed to ...
7305 * sysdeps/x86/bits/select.h: This.
7306
d48d0446
L
7307 * sysdeps/i386/bits/setjmp.h: Removed.
7308 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7309 * sysdeps/x86/bits/setjmp.h: This.
7310
7dc00e0d
L
7311 * sysdeps/i386/bits/mathdef.h: Removed.
7312 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7313 * sysdeps/x86/bits/mathdef.h: This.
7314
03277f8f
AS
73152012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7316
7317 [BZ #14132]
7318 * include/sys/socket.h (__connect_internal)
7319 (__libc_sa_len_internal): Remove declaration.
7320 (__connect, __libc_sa_len): Declare hidden_proto.
7321 (SA_LEN): Remove use of INTUSE.
7322 * socket/connect.c: Add libc_hidden_def.
7323 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7324 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7325 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7326 alias.
7327 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7328 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7329 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7330 of adding _internal alias.
7331
13764867
L
73322012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7333
7334 [BZ #14117]
6bd97696
L
7335 * sysdeps/i386/bits/link.h: Removed.
7336 * sysdeps/i386/bits/linkmap.h: Likewise.
7337 * sysdeps/x86_64/bits/link.h: Renamed to ...
7338 * sysdeps/x86/bits/link.h: This.
7339 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7340 * sysdeps/x86/bits/linkmap.h: This.
7341
f726f0bb
L
7342 * sysdeps/i386/bits/endian.h: Removed.
7343 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7344 * sysdeps/x86/bits/endian.h: This.
7345
13764867
L
7346 * sysdeps/i386/bits/byteswap.h: Removed.
7347 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7348 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7349 * sysdeps/x86/bits/byteswap.h: This.
7350 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7351 * sysdeps/x86/bits/byteswap-16.h: This.
7352 * sysdeps/i386/Implies: Add x86.
7353 * sysdeps/x86_64/Implies: Likewise.
7354
ae251b0b
DM
73552012-05-30 David S. Miller <davem@davemloft.net>
7356
7357 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7358 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7359 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7360 (FP_TRAPPING_EXCEPTIONS): Define.
7361 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7362 (FP_TRAPPING_EXCEPTIONS): Define.
7363 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7364 subnormals only when inexact has been signalled or underflow
7365 exceptions are enabled.
7366 (_FP_PACK_CANONICAL): Likewise.
7367
d5c90867
L
73682012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7369
7370 [BZ #14183]
7371 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7372 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7373
63f1549e
RH
73742012-05-30 Richard Henderson <rth@twiddle.net>
7375
8d8f2279
RH
7376 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7377 with #ifndef NOT_IN_libc.
7378
63f1549e
RH
7379 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7380 marked to avoid plt entry.
7381
0ab0291b
L
73822012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7383
7384 [BZ #14112]
7385 * Makeconfig (default-abi): New macro.
7386 (abi-includes): Likewise.
7387 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7388 $(abi-$(default-abi)-lib-soname) for soname if defined.
7389 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7390 abi-variants.
7391 * Makefile (installed-stubs): Likewise.
7392 * include/stubs-biarch.h: Removed.
7393 * scripts/lib-names.awk: Only handle one library at a time.
7394 * scripts/soversions.awk: Remove WORDSIZE support.
7395 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7396 entries.
7397 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7398 Removed.
7399 (syscall-list-default-condition): Likewise.
7400 (syscall-list-default-condition): Likewise.
7401 (syscall-list-includes): Likewise.
7402 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7403 syscall-list-* with abi-*. Handle undefined abi-variants.
7404 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7405 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7406 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7407 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7408 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7409 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7410 Removed.
7411 (syscall-list-32-options): Likewise.
7412 (syscall-list-32-condition): Likewise.
7413 (syscall-list-64-options): Likewise.
7414 (syscall-list-64-condition): Likewise.
7415 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7416 macro.
7417 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7418 Renamed to ...
7419 (abi-*): This.
7420 (abi-64-ld-soname): New macro.
7421 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7422 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7423 Renamed to ...
7424 (abi-*): This.
7425 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7426 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7427
4da0431d
JM
74282012-05-30 Joseph Myers <joseph@codesourcery.com>
7429
3a85279c
JM
7430 * sysdeps/unix/sysv/linux/kernel-features.h
7431 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7432 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7433 include <kernel-features.h>.
7434 [!__NR_ftruncate64]: Remove conditional code.
7435 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7436 [__NR_ftruncate64]: Make code unconditional.
7437 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7438 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7439 include <kernel-features.h>.
7440 [!__NR_ftruncate64]: Remove conditional code.
7441 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7442 [__NR_ftruncate64]: Make code unconditional.
7443 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7445 include <kernel-features.h>.
7446 [!__NR_ftruncate64]: Remove conditional code.
7447 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7448 [__NR_ftruncate64]: Make code unconditional.
7449 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7451 include <kernel-features.h>.
7452 [!__NR_ftruncate64]: Remove conditional code.
7453 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7454 [__NR_ftruncate64]: Make code unconditional.
7455 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7456
4da0431d
JM
7457 * configure.in (libc_cv_fpie): Weaken to a compile test using
7458 LIBC_TRY_CC_OPTION.
7459 * configure: Regenerated.
7460
11ef492c
AK
74612012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7462
7463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7467 Refreshed.
7468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7474 Refreshed.
7475
d66ef399
DM
74762012-05-27 David S. Miller <davem@davemloft.net>
7477
7478 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7479 (___Q_zero): New.
7480 (__Q_simulate_exceptions): Return void. Change to simulate
7481 exceptions by writing into the %fsr.
7482 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7483 (__Qp_handle_exceptions): Likewise.
7484 (numbers): Delete.
7485 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7486 __Qp_handle_exceptions.
7487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7488 __Qp_handle_exceptions.
7489 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7490 as unused and give dummy FP_RND_NEAREST initializer.
7491 (FP_INHIBIT_RESULTS): Define.
7492 (___Q_simulate_exceptions): Update declaration.
7493 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7494 formatting.
7495 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7496 as unused and give dummy FP_RND_NEAREST initializer.
7497 (__Qp_handle_exceptions): Update declaration.
7498 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7499 formatting.
7500
04fb54b5
TS
75012012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7502
7503 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7504 the temporary FPU control word.
7505 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7506 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7507 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7508 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7509 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7510 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7511 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7512 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7513 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7514 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7515 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7516
3f99608f
KK
75172012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7518
7519 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7520 fields.
7521
65a4de4e
CLT
75222012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7523
7524 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7525 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7526 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7527 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7528 Likewise.
7529 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7530 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7531 Likewise.
7532
15749d40
UD
75332012-05-27 Ulrich Drepper <drepper@gmail.com>
7534
7535 * po/h.po: Update from translation team.
7536
25dbcb27
AS
75372012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7538
3d3f8e55
AS
7539 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7540
25dbcb27
AS
7541 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7542 handling of denormals.
7543 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7544 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7545 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7546 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7547 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7548 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7549 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7550 Likewise.
7551
7ad47a80 75522012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
7553
7554 [BZ #14152]
7555 * math/libm-test.inc (fma_test): Don't always expect underflow
7556 exception.
7557
9c6ea9fa
SP
75582012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7559
7560 [BZ #12416]
7561 * elf/tst-execstack.c: Include stackinfo.h.
7562 (do_test): Adjust test case to ensure that pthread_getattr_np
7563 behaviour remains the same after marking stack executable.
7564
a8239222
JM
75652012-05-25 Joseph Myers <joseph@codesourcery.com>
7566
7567 * sysdeps/unix/sysv/linux/kernel-features.h
7568 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7569 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7570 kernel-features.h.
7571 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7572 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7573 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7574 kernel-features.h.
7575 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7576 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7577
918b5606
L
75782012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7579
7580 * configure.in: Define the default includes to being none.
7581 * configure: Regenerated.
7582
3a097cc7
RM
75832012-05-25 Roland McGrath <roland@hack.frob.com>
7584
8422c9a5
RM
7585 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7586 * sysdeps/x86_64/setjmp.S: Likewise.
7587 * sysdeps/i386/bsd-setjmp.S: Likewise.
7588 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7589 * sysdeps/i386/setjmp.S: Likewise.
7590 * sysdeps/i386/__longjmp.S: Likewise.
7591 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7592 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7593
3a097cc7
RM
7594 * include/stap-probe.h: New file.
7595 * configure.in: Handle --enable-systemtap.
7596 * configure: Regenerated.
7597 * config.h.in (USE_STAP_PROBE): New #undef.
7598 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7599 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7600 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7601
21708942
JM
76022012-05-25 Joseph Myers <joseph@codesourcery.com>
7603
7604 [BZ #13717]
7605 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7606 to 2.4.0 where earlier.
7607 * sysdeps/unix/sysv/linux/configure: Regenerated.
7608 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7609 <kernel-features.h>.
7610 [__ASSUME_32BITUIDS]: Make code unconditional.
7611 [!__ASSUME_32BITUIDS]: Remove conditional code.
7612 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7613 <kernel-features.h>.
7614 [__ASSUME_32BITUIDS]: Make code unconditional.
7615 [!__ASSUME_32BITUIDS]: Remove conditional code.
7616 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7617 [__ASSUME_32BITUIDS]: Make code unconditional.
7618 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7619 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7620 <kernel-features.h>.
7621 [__ASSUME_32BITUIDS]: Make code unconditional.
7622 [!__ASSUME_32BITUIDS]: Remove conditional code.
7623 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7624 <kernel-features.h>.
7625 [__ASSUME_32BITUIDS]: Make code unconditional.
7626 [!__ASSUME_32BITUIDS]: Remove conditional code.
7627 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7628 <kernel-features.h>.
7629 [__ASSUME_32BITUIDS]: Make code unconditional.
7630 [!__ASSUME_32BITUIDS]: Remove conditional code.
7631 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7632 <kernel-features.h>.
7633 [__ASSUME_32BITUIDS]: Make code unconditional.
7634 [!__ASSUME_32BITUIDS]: Remove conditional code.
7635 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7636 <kernel-features.h>.
7637 [__ASSUME_32BITUIDS]: Make code unconditional.
7638 [!__ASSUME_32BITUIDS]: Remove conditional code.
7639 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7640 <kernel-features.h>.
7641 [__ASSUME_32BITUIDS]: Make code unconditional.
7642 [!__ASSUME_32BITUIDS]: Remove conditional code.
7643 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7644 <kernel-features.h>.
7645 [__ASSUME_32BITUIDS]: Make code unconditional.
7646 [!__ASSUME_32BITUIDS]: Remove conditional code.
7647 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7648 <kernel-features.h>.
7649 [__ASSUME_32BITUIDS]: Make code unconditional.
7650 [!__ASSUME_32BITUIDS]: Remove conditional code.
7651 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7652 <kernel-features.h>.
7653 [__ASSUME_32BITUIDS]: Make code unconditional.
7654 [!__ASSUME_32BITUIDS]: Remove conditional code.
7655 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7656 <kernel-features.h>.
7657 [__ASSUME_32BITUIDS]: Make code unconditional.
7658 [!__ASSUME_32BITUIDS]: Remove conditional code.
7659 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7660 <kernel-features.h>.
7661 [__NR_setresgid] (__setresgid): Do not declare.
7662 [__ASSUME_32BITUIDS]: Make code unconditional.
7663 [!__ASSUME_32BITUIDS]: Remove conditional code.
7664 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7665 <kernel-features.h>.
7666 [__NR_setresuid] (__setresuid): Do not declare.
7667 [__ASSUME_32BITUIDS]: Make code unconditional.
7668 [!__ASSUME_32BITUIDS]: Remove conditional code.
7669 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7670 <kernel-features.h>.
7671 [__ASSUME_32BITUIDS]: Make code unconditional.
7672 [!__ASSUME_32BITUIDS]: Remove conditional code.
7673 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7674 <kernel-features.h>.
7675 [__ASSUME_32BITUIDS]: Make code unconditional.
7676 [!__ASSUME_32BITUIDS]: Remove conditional code.
7677 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7678 <kernel-features.h>.
7679 [__ASSUME_32BITUIDS]: Make code unconditional.
7680 [!__ASSUME_32BITUIDS]: Remove conditional code.
7681 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7682 <kernel-features.h>.
7683 [__ASSUME_32BITUIDS]: Make code unconditional.
7684 [!__ASSUME_32BITUIDS]: Remove conditional code.
7685 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7686 <kernel-features.h>.
7687 [__ASSUME_32BITUIDS]: Make code unconditional.
7688 [!__ASSUME_32BITUIDS]: Remove conditional code.
7689 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7690 <kernel-features.h>.
7691 [__ASSUME_32BITUIDS]: Make code unconditional.
7692 [!__ASSUME_32BITUIDS]: Remove conditional code.
7693 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7694 <kernel-features.h>.
7695 [__ASSUME_32BITUIDS]: Make code unconditional.
7696 [!__ASSUME_32BITUIDS]: Remove conditional code.
7697 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7698 <kernel-features.h>.
7699 [__ASSUME_32BITUIDS]: Make code unconditional.
7700 [!__ASSUME_32BITUIDS]: Remove conditional code.
7701 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7702 <kernel-features.h>.
7703 [__ASSUME_32BITUIDS]: Make code unconditional.
7704 [!__ASSUME_32BITUIDS]: Remove conditional code.
7705 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7706 <kernel-features.h>.
7707 [__ASSUME_32BITUIDS]: Make code unconditional.
7708 [!__ASSUME_32BITUIDS]: Remove conditional code.
7709 * sysdeps/unix/sysv/linux/kernel-features.h
7710 (__ASSUME_SETRESUID_SYSCALL): Remove.
7711 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7712 (__ASSUME_32BITUIDS): Likewise.
7713 (__ASSUME_LDT_WORKS): Likewise.
7714 (__ASSUME_O_DIRECTORY): Likewise.
7715 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7716 architecture but not kernel version.
7717 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7718 (__ASSUME_MMAP2_SYSCALL): Likewise.
7719 (__ASSUME_STAT64_SYSCALL): Likewise.
7720 (__ASSUME_IPC64): Likewise.
7721 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7722 <kernel-features.h>.
7723 [__ASSUME_32BITUIDS]: Make code unconditional.
7724 [!__ASSUME_32BITUIDS]: Remove conditional code.
7725 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7726 <kernel-features.h>.
7727 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7728 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7729 132096]: Remove conditional code.
7730 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7731 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7732 <kernel-features.h>.
7733 [__ASSUME_32BITUIDS]: Make code unconditional.
7734 [!__ASSUME_32BITUIDS]: Remove conditional code.
7735 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7736 <kernel-features.h>.
7737 [__ASSUME_32BITUIDS]: Make code unconditional.
7738 [!__ASSUME_32BITUIDS]: Remove conditional code.
7739 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7740 <kernel-features.h>.
7741 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7742 unconditional.
7743 (__setresgid): Do not declare.
7744 [__ASSUME_32BITUIDS]: Make code unconditional.
7745 [!__ASSUME_32BITUIDS]: Remove conditional code.
7746 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7747 <kernel-features.h>.
7748 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7749 unconditional.
7750 (__setresuid): Do not declare.
7751 [__ASSUME_32BITUIDS]: Make code unconditional.
7752 [!__ASSUME_32BITUIDS]: Remove conditional code.
7753 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7754 <kernel-features.h>.
7755 [__ASSUME_32BITUIDS]: Make code unconditional.
7756 [!__ASSUME_32BITUIDS]: Remove conditional code.
7757 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7758 <kernel-features.h>.
7759 [__ASSUME_32BITUIDS]: Make code unconditional.
7760 [!__ASSUME_32BITUIDS]: Remove conditional code.
7761
a386f1cc
RH
77622012-05-25 Richard Henderson <rth@twiddle.net>
7763
7764 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7765 dl_hwcap to ifunc resolver.
7766 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7767 elf_ifunc_invoke.
7768 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7769 dl_hwcap to ifunc resolver.
7770 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7771
b6550497
JM
77722012-05-24 Joseph Myers <joseph@codesourcery.com>
7773
7774 [BZ #14153]
7775 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7776 for |x| <= 2**-26, not 2**-57.
7777 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7778 exception.
7779
b0bc23a1
JL
77802012-05-24 Jeff Law <law@redhat.com>
7781
7782 * stdio-common/Makefile (tests): Add bug25.
7783 * stdio-common/bug25.c: New test.
7784
347c92e9
L
77852012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7786
7787 [BZ #13576]
7788 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7789 multiple of MALLOC_ALIGNMENT in size.
7790 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7791
6bcc8b3f
JM
77922012-05-24 Joseph Myers <joseph@codesourcery.com>
7793
7794 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7795 Require >= 256.
7796 (FILENAME_MAX): Use macro-int-constant.
7797 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7798 (_IOFBF): Use macro-int-constant.
7799 (_IOLBF): Likewise.
7800 (_IONBF): Likewise.
7801 (SEEK_CUR): Likewise.
7802 (SEEK_END): Likewise.
7803 (SEEK_SET): Likewise.
7804 (TMP_MAX): Likewise.
7805 (EOF): Use macro-int-constant. Require < 0.
7806 (NULL): Use macro-constant. Require == 0.
7807 (stdin): Require type to be FILE *.
7808 (stdout): Likewise.
7809 (stderr): Likewise.
7810 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7811 macro-int-constant.
7812 (EXIT_SUCCESS): Likewise.
7813 (NULL): Use macro-constant. Require == 0.
7814 (RAND_MAX): Use macro-int-constant.
7815 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7816 [C99-based standards] (strtof): Require function.
7817 [C99-based standards] (strtold): Likewise.
7818 [C99-based standards] (strtoll): Likewise.
7819 [C99-based standards] (strtoull): Likewise.
7820 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7821 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7822 [ISO || ISO99 || ISO11] (math.h): Likewise.
7823 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7824 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7825 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7826
d18ea0c5
AS
78272012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7828
7829 [BZ #14132]
56d25bb8
AS
7830 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7831 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7832 * intl/dgettext.c (DCGETTEXT): Likewise.
7833 * intl/gettext.c (DCGETTEXT): Likewise.
7834 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7835 * posix/regex_internal.h (gettext): Likewise.
7836 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7837 Remove declaration.
7838 * include/argz.h (__argz_count_internal)
7839 (__argz_stringify_internal): Remove declaration.
7840 (__argz_count, __argz_stringify): Declare hidden proto.
7841 * intl/dcgettext.c: Remove use of INTDEF.
7842 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7843 * string/argz-stringify.c: Likewise.
7844 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7845 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7846 Declare hidden proto.
d18ea0c5
AS
7847 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7848 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7849 Declare hidden proto.
7850 * include/stdio.h (__asprintf_internal): Don't declare.
7851 (__asprintf): Don't define as macro. Declare hidden proto.
7852 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7853 (__fsetlocking): Declare hidden proto.
7854 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7855 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7856 hidden proto.
7857 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7858 (_IO_setlinebuf): Remove use of INTUSE.
7859 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7860 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7861 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7862 Remove declaration.
7863 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7864 (_IO_do_flush): Remove use of INTUSE.
7865 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7866 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7867 (_IO_adjust_column, _IO_least_wmarker)
7868 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7869 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7870 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7871 (_IO_default_doallocate, _IO_wdefault_doallocate)
7872 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7873 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7874 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7875 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7876 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7877 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7878 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7879 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7880 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7881 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7882 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7883 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7884 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7885 proto.
7886 (_IO_flush_all_internal, _IO_adjust_column_internal)
7887 (_IO_default_uflow_internal, _IO_default_finish_internal)
7888 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7889 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7890 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7891 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7892 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7893 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7894 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7895 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7896 (_IO_file_close_internal, _IO_file_close_it_internal)
7897 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7898 (_IO_file_init_internal, _IO_file_attach_internal)
7899 (_IO_file_fopen_internal, _IO_file_read_internal)
7900 (_IO_file_sync_internal, _IO_file_seek_internal)
7901 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7902 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7903 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7904 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7905 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7906 (_IO_list_all_internal, _IO_link_in_internal)
7907 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7908 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7909 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7910 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7911 (_IO_do_write_internal, _IO_padn_internal)
7912 (_IO_getline_info_internal, _IO_getline_internal)
7913 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7914 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7915 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7916 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7917 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7918 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7919 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7920 with libc_hidden_ver, remove use of INTUSE.
7921 * libio/genops.c: Likewise.
7922 * libio/freopen.c: Likewise.
7923 * libio/freopen64.c: Likewise.
7924 * libio/iofclose.c: Likewise.
7925 * libio/iofdopen.c: Likewise.
7926 * libio/iofflush.c: Likewise.
7927 * libio/iofflush_u.c: Likewise.
7928 * libio/iofgets.c: Likewise.
7929 * libio/iofgets_u.c: Likewise.
7930 * libio/iofopen.c: Likewise.
7931 * libio/iofopncook.c: Likewise.
7932 * libio/iofread.c: Likewise.
7933 * libio/iofread_u.c: Likewise.
7934 * libio/ioftell.c: Likewise.
7935 * libio/iofwrite.c: Likewise.
7936 * libio/iogetline.c: Likewise.
7937 * libio/iogets.c: Likewise.
7938 * libio/iogetwline.c: Likewise.
7939 * libio/iopadn.c: Likewise.
7940 * libio/iopopen.c: Likewise.
7941 * libio/ioseekoff.c: Likewise.
7942 * libio/ioseekpos.c: Likewise.
7943 * libio/iosetbuffer.c: Likewise.
7944 * libio/iosetvbuf.c: Likewise.
7945 * libio/ioungetc.c: Likewise.
7946 * libio/ioungetwc.c: Likewise.
7947 * libio/iovdprintf.c: Likewise.
7948 * libio/iovsprintf.c: Likewise.
7949 * libio/iovsscanf.c: Likewise.
7950 * libio/memstream.c: Likewise.
7951 * libio/obprintf.c: Likewise.
7952 * libio/oldfileops.c: Likewise.
7953 * libio/oldiofclose.c: Likewise.
7954 * libio/oldiofdopen.c: Likewise.
7955 * libio/oldiofopen.c: Likewise.
7956 * libio/oldiopopen.c: Likewise.
7957 * libio/oldstdfiles.c: Likewise.
7958 * libio/putc.c: Likewise.
7959 * libio/setbuf.c: Likewise.
7960 * libio/setlinebuf.c: Likewise.
7961 * libio/stdfiles.c: Likewise.
7962 * libio/strops.c: Likewise.
7963 * libio/vasprintf.c: Likewise.
7964 * libio/vscanf.c: Likewise.
7965 * libio/vsnprintf.c: Likewise.
7966 * libio/vswprintf.c: Likewise.
7967 * libio/wfiledoalloc.c: Likewise.
7968 * libio/wfileops.c: Likewise.
7969 * libio/wgenops.c: Likewise.
7970 * libio/wmemstream.c: Likewise.
7971 * libio/wstrops.c: Likewise.
7972 * libio/__fpurge.c: Likewise.
7973 * libio/__fsetlocking.c: Likewise.
7974 * assert/assert.c: Likewise.
7975 * debug/fgets_chk.c: Likewise.
7976 * debug/fgets_u_chk.c: Likewise.
7977 * debug/fread_chk.c: Likewise.
7978 * debug/fread_u_chk.c: Likewise.
7979 * debug/gets_chk.c: Likewise.
7980 * debug/obprintf_chk.c: Likewise.
7981 * debug/vasprintf_chk.c: Likewise.
7982 * debug/vdprintf_chk.c: Likewise.
7983 * debug/vsnprintf_chk.c: Likewise.
7984 * debug/vsprintf_chk.c: Likewise.
7985 * malloc/mtrace.c: Likewise.
7986 * misc/error.c: Likewise.
7987 * misc/syslog.c: Likewise.
7988 * stdio-common/asprintf.c: Likewise.
7989 * stdio-common/fxprintf.c: Likewise.
7990 * stdio-common/getw.c: Likewise.
7991 * stdio-common/isoc99_fscanf.c: Likewise.
7992 * stdio-common/isoc99_scanf.c: Likewise.
7993 * stdio-common/isoc99_vfscanf.c: Likewise.
7994 * stdio-common/isoc99_vscanf.c: Likewise.
7995 * stdio-common/isoc99_vsscanf.c: Likewise.
7996 * stdio-common/printf-prs.c: Likewise.
7997 * stdio-common/printf_fp.c: Likewise.
7998 * stdio-common/printf_fphex.c: Likewise.
7999 * stdio-common/printf_size.c: Likewise.
8000 * stdio-common/putw.c: Likewise.
8001 * stdio-common/scanf.c: Likewise.
8002 * stdio-common/sprintf.c: Likewise.
8003 * stdio-common/tmpfile.c: Likewise.
8004 * stdio-common/vfprintf.c: Likewise.
8005 * stdio-common/vfscanf.c: Likewise.
8006 * stdlib/strfmon_l.c: Likewise.
8007 * sunrpc/openchild.c: Likewise.
8008 * sunrpc/xdr_stdio.c: Likewise.
8009 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8010 * sysdeps/mach/hurd/tmpfile.c: Likewise.
8011
d6c33fda
RM
80122012-05-24 Roland McGrath <roland@hack.frob.com>
8013
c1487492
RM
8014 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8015
8016 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8017 in the third column, to generate for the shared library an IFUNC
8018 that uses _dl_vdso_vsym.
8019 * Makerules (COMPILE.c, compile-stdin.c): New variables.
8020 * Makeconfig (object-suffixes-noshared): New variable.
8021
8022 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8023 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8024 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8025 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8026
d6c33fda
RM
8027 [BZ #14132]
8028 * include/sys/time.h (__gettimeofday): Remove macro.
8029 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8030 * time/gettimeofday.c (__gettimeofday): Remove #undef.
8031 Remove INTDEF.
8032 (__gettimeofday): Add libc_hidden_def.
8033 (gettimeofday): Add libc_hidden_weak.
8034 * sysdeps/mach/gettimeofday.c: Likewise.
8035 * sysdeps/posix/gettimeofday.c: Likewise.
8036 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8037 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8038 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8039 (__gettimeofday_internal): Remove strong_alias.
8040 (__gettimeofday): Add libc_hidden_def.
8041 (gettimeofday): Add libc_hidden_weak.
8042 * sysdeps/unix/syscalls.list (gettimeofday):
8043 Remove __gettimeofday_internal alias.
8044
b5a2bbe6
L
80452012-05-24 Daniel Jacobowitz <drow@false.org>
8046 H.J. Lu <hongjiu.lu@intel.com>
8047
8048 [BZ #12495]
8049 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8050 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8051 (largebin_index_32_big): New.
8052 (largebin_index): Use it for 16-byte alignment.
8053 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
8054 correction with front_misalign.
8055
cfba4fda
L
80562012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8057
7f907421
L
8058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8059 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8060 Likewise.
8061 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8062 Likewise.
8063 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8064 Likewise.
8065 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8066 Likewise.
8067 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8068 Likewise.
8069 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8070 Likewise.
8071 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8072 Likewise.
8073 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8074 Likewise.
8075 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8076 Likewise.
8077 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8078 Likewise.
8079 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8080 Likewise.
8081 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8082 Likewise.
8083
cfba4fda
L
8084 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8085 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8086
80bad0cc
JM
80872012-05-24 Joseph Myers <joseph@codesourcery.com>
8088
7a25eb06
JM
8089 [BZ #10846]
8090 [BZ #14036]
8091 * math/libm-test.inc (exp_test): Add test from bug 14036.
8092 (pow_test): Add test from bug 10846.
8093
795405f9
JM
8094 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8095 and other flags.
8096 (special_function): Do not include flags in test name.
8097 (parse_args): Likewise.
8098 * sysdeps/i386/fpu/libm-test-ulps: Update.
8099 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8100 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8101 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8103
80bad0cc
JM
8104 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8105 exceptions.
8106 * math/libm-test.inc ("Philosophy"): Update comment about
8107 exception testing.
8108 (UNDERFLOW_EXCEPTION): New macro.
8109 (UNDERFLOW_EXCEPTION_OK): Likewise.
8110 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8111 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8112 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8113 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8114 (INVALID_EXCEPTION_OK): Update value.
8115 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8116 (OVERFLOW_EXCEPTION_OK): Likewise.
8117 (IGNORE_ZERO_INF_SIGN): Likewise.
8118 (test_exceptions): Handle underflow exceptions.
8119 (acos_test): Update for underflow exception expectations.
8120 (cexp_test): Likewise.
8121 (clog_test): Likewise.
8122 (clog10_test): Likewise.
8123 (csqrt_test): Likewise.
8124 (ctan_test): Likewise.
8125 (ctanh_test): Likewise.
8126 (exp_test): Likewise.
8127 (exp10_test): Likewise.
8128 (exp2_test): Likewise.
8129 (expm1_test): Likewise.
8130 (fma_test): Likewise.
8131 (j0_test): Likewise.
8132 (jn_test): Likewise.
8133 (nexttoward_test): Likewise.
8134 (pow_test): Likewise.
8135 (scalbn_test): Likewise.
8136 (scalbln_test): Likewise.
8137 (tan_test): Likewise.
8138 (y1_test): Likewise.
8139 * sysdeps/i386/fpu/libm-test-ulps: Update.
8140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8141
9e0e3d0b
DM
81422012-05-23 David S. Miller <davem@davemloft.net>
8143
8144 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8145 (__libc_sigaction): Remove unused local variables.
8146
ccd0a08f
L
81472012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8148
8149 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8150
62bdf9a6
PE
81512012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8152
f8591f80
PE
8153 mktime: avoid signed integer overflow
8154 * time/mktime.c (__mktime_internal): Do not mishandle the case
8155 where diff == INT_MIN.
8156
94c7d826
PE
8157 mktime: simplify computation of average
8158 * time/mktime.c (ranged_convert): Use new time_t_avg function
8159 instead of rolling our own (probably-slower) code.
8160
ce73d683
PE
8161 mktime: do not assume signed right shift propagates sign bit
8162 * time/mktime.c (isdst_differ): New static function.
8163 (__mktime_internal): No need to normalize tm_isdst now.
8164 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8165 tm_isdst values.
8166
72a22e59
PE
8167 mktime: merge another wrapv change from gnulib
8168 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8169 from some compilers.
8170
68605433
PE
8171 mktime: remove incorrect attempt at unusual arithmetics
8172 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8173 The code didn't really work on such machines anyway.
8174 (TYPE_MINIMUM): Assume two's complement.
8175 (twos_complement_arithmetic): Verify that long_int and time_t
8176 are two's complement (or unsigned, in the latter case).
8177
03cf7fe3
PE
8178 mktime: check signed shifts on long_int and time_t, too
8179 * time/mktime.c (SHR): Check that shifts work as desired
8180 on the types long_int and time_t too, as SHR is used on
8181 such types.
8182
f04dfbc2
PE
8183 mktime: do not assume 'long' is wide enough
8184 * time/mktime.c (verify): Move decl up.
8185 (long_int): New type.
8186 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8187 to remove assumption in the code that 'long' is wide enough to
8188 store year values. This assumption is not true on x32 and on
8189 some non-glibc platforms.
8190
62bdf9a6
PE
8191 mktime: merge wrapv change from gnulib
8192 * time/mktime.c (WRAPV): New macro.
8193 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8194 (guess_time_tm, __mktime_internal): Do not assume that signed
8195 integer overflow wraps around; modern compilers generate code
8196 where this assumption is no longer valid.
8197
5e292e4f
L
81982012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8199
8200 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8201 Replace "jmp L(pseudo_end)" with "ret".
8202 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8203 Likewise.
8204
8caf8c87
AJ
82052012-05-23 Andreas Jaeger <aj@suse.de>
8206
8207 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8208 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8209
1a09dc56
AJ
82102012-05-23 Andreas Jaeger <aj@suse.de>
8211 Maximilian Attems <max@stro.at>
8212
8213 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8214 New macros.
8215
1c87aba0
L
82162012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8217
8218 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8219 code so that pseudo_end is just ret and the stack pointer is
8220 correct also for static library in error case.
8221
40e45bd5
JM
82222012-05-23 Joseph Myers <joseph@codesourcery.com>
8223
c2670533
JM
8224 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8225 move to syscalls.list.
8226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8230
40e45bd5
JM
8231 * manual/install.texi (Running make install): Do not mention Linux
8232 kernel version for which pt_chown is not needed.
8233 (Linux): Do not mention problems with nscd with 2.0 kernels.
8234 * INSTALL: Regenerated.
8235
be08eda5
AJ
82362012-05-23 Andreas Jaeger <aj@suse.de>
8237
8238 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8239 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8240 macro.
8241 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8242 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8243 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8244 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8245 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8246 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8247 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8248 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8249 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8250 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8251 * sysdeps/unix/sysv/linux/bits/in.h
8252 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8253
a6a056bb
RM
82542012-05-22 Roland McGrath <roland@hack.frob.com>
8255
8256 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8257 (PREPARE_VERSION): Just use assert instead, it will be elided
8258 under [NDEBUG] anyway.
8259
c9009328
L
82602012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8261
8262 * sysdeps/unix/sysv/linux/Makefile: Include
8263 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 8264 (sysdep_routines): Remove sysctl.
c9009328
L
8265 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8266 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8267 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8268 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8269 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8270
73338355
AJ
82712012-05-22 Andreas Jaeger <aj@suse.de>
8272
8273 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8274 that pseudo_end is just ret and the stack pointer is correct also
8275 for static library in error case.
8276
d44638b0
PP
82772012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8278
8279 [BZ #14122]
8280 * nss/nsswitch.c (defconfig_entries): New variable.
8281 (__nss_database_lookup): Don't leak defconfig entries.
8282 (nss_parse_service_list): Don't leak on error paths.
8283 (free_database_entries): New function.
8284 (free_defconfig): New function.
8285 (free_mem): Move common code to free_database_entries.
8286
31a39bd8
L
82872012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8288
da0331a8
L
8289 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8290 Add arch_prctl.
8291 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8292
31a39bd8
L
8293 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8294 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8295 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8296 New macro.
8297 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8298 (INTERNAL_SYSCALL_TYPES): Likewise.
8299 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8300 (LOAD_REGS_TYPES_[1-6]): Likewise.
8301 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8302 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8303
45470df3
AZ
83042012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8305
8306 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8307 copysignl for GLIBC_2_0.
8308 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8309 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8310 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8311 logbl for GLIBC_2_0.
8312 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8313 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8314
98a61bcb
L
83152012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8316
a4f6e481
L
8317 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8318 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8319
f63d5db6
L
8320 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8321 Use "neg %eax".
8322
98a61bcb
L
8323 * time/mktime.c: Update copyright years.
8324
95770f14
PE
83252012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8326
6226efbd
PE
8327 mktime: merge comment-quoting-style change from gnulib
8328 * time/mktime.c: Quote 'like this' in comments.
8329 The GNU coding standards suggest that we no longer quote `like this',
8330 as "`" and "'" are typically rendered asymmetrically nowadays.
8331 The typical gnulib style is to quote 'like this' when quoting
8332 code, and "like this" when quoting English.
8333
b99e4f78
PE
8334 * time/mktime.c (compile-command): Add "-I.".
8335
643e01e6
PE
8336 mktime: merge mktime-internal.h change from gnulib
8337 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8338
2554247d
PE
8339 mktime: merge time_r change from gnulib
8340 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8341
826dd0ab
PE
8342 mktime: merge DEBUG change from gnulib
8343 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8344 case system <time.h> has a #define.
8345
bd83aabe
PE
8346 mktime: merge <sys/types.h> change from gnulib
8347 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8348 since <time.t> is now guaranteed to define time_t.
8349
95770f14
PE
8350 mktime: merge HAVE_CONFIG_H change from gnulib
8351 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8352
5e1a27a9
L
83532012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8354
0e44a77e
L
8355 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8356 Use "neg %eax".
8357
5e1a27a9
L
8358 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8359 __rlim_t cast.
8360 (struct rusage): Use anonymous union to pad each field to
8361 __syscall_slong_t.
8362
46259bec
DM
83632012-05-21 David S. Miller <davem@davemloft.net>
8364
8365 * Makefules (o-iterator): Remove .s cases.
8366 (compile-command.s): Delete.
8367 (COMPILE.s): Delete.
8368 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8369
59f0c22e
JM
83702012-05-21 Joseph Myers <joseph@codesourcery.com>
8371
8372 * configure.in (libc_cv_predef_stack_protector): Only consider
8373 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8374 * configure: Regenerated.
8375
20c07380
L
83762012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8377
bbb3154b
L
8378 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8379 New macro. Use R*LP on int and pointer.
8380 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
8381 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8382 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
8383 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8384
20c07380
L
8385 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8386 [__WORDSIZE_TIME64_COMPAT32] instead of
8387 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8388 (struct utmp): Likewise.
8389 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8390 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8391 Renamed to ...
8392 (__WORDSIZE_TIME64_COMPAT32): This.
8393 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8394 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8395 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8396 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8397 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8398 (__WORDSIZE_TIME64_COMPAT32): New macro.
8399
d8d1017e
AJ
84002012-05-21 Andreas Jaeger <aj@suse.de>
8401
8402 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8403 only if [SHARED]. Add prototype for __wcschr_ia32.
8404
6c7fb145
RM
84052012-05-21 Roland McGrath <roland@hack.frob.com>
8406
8407 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8408 of %rbp unmolested in the jmp_buf while mangling the low bits.
8409 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8410 unmolested high bits of %rbp while demangling the low bits.
8411 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8412
66274218
AJ
84132012-05-21 Andreas Jaeger <aj@suse.de>
8414
07c58f8f
AJ
8415 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8416 * sunrpc/svc_simple.c: Use it for registerrpc.
8417 * sunrpc/xcrypt.c: Use it for passwd2des.
8418
66274218
AJ
8419 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8420
61f65140
L
84212012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8422
8423 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8424 Don't define if [__SYSCALL_WORDSIZE != 32].
8425 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8426 New macro.
8427
5fefb436
AJ
84282012-05-21 Bruno Haible <bruno@clisp.org>
8429 Andreas Jaeger <aj@suse.de>
8430
8431 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8432 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8433 inptr and inend for must_buffer_ch.
8434 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8435 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8436 * stdio-common/Makefile (tests): Remove bug15.
8437 (bug15-ENV): Remove macro.
8438 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8439 anymore.
8440
d8e272ab
AJ
84412012-05-19 Andreas Jaeger <aj@suse.de>
8442 Roland McGrath <roland@hack.frob.com>
8443
8444 * manual/contrib.texi: Completely rewritten. It contains now an
8445 alphabetical list of contributors and their contributions.
8446
4a56a162
RH
84472012-05-21 Richard Henderson <rth@twiddle.net>
8448
8449 * misc/getauxval.c (__getauxval): Use unsigned long int.
8450 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8451 (getauxval): Use unsigned long int.
8452
d024d23c
L
84532012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8454
8455 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8456
cbc00a03
RM
84572012-05-21 Roland McGrath <roland@hack.frob.com>
8458
8459 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8460 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8461 __alignof__ (long double).
8462
478143fa
AZ
84632012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8464
8465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8466
c7683a6d
RH
84672012-05-20 Richard Henderson <rth@twiddle.net>
8468
8469 * misc/getauxval.c: New file.
8470 * misc/sys/auxv.h: New file.
8471 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8472 (routines): Add getauxval.
8473 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8474 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8475 * elf/dl-sysdep.c (_dl_auxv): Remove.
8476 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8477 * elf/dl-support.c (_dl_auxv): New variable.
8478 (_dl_aux_init): Initialize it.
8479 * manual/startup.texi (Auxiliary Vector): New node.
8480 * sysdeps/generic/bits/hwcap.h: New file.
8481 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8482 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8483 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8484 * sysdeps/sparc/sysdep.h: ... here. Include it.
8485 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8486 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
8487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8488 Update.
c7683a6d
RH
8489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8492 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8497
a6f1845d
AZ
84982012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8499
8500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8501
cbcbe830
DM
85022012-05-19 David S. Miller <davem@davemloft.net>
8503
8504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8505
e0b16cc2
JM
85062012-05-19 Joseph Myers <joseph@codesourcery.com>
8507
8508 [BZ #14123]
8509 * math/s_ccosh.c: Include <float.h>
8510 (__ccosh): Avoid internal overflow calculating sinh and cosh
8511 values before multiplying by sin and cos values.
8512 * math/s_ccoshf.c: Likewise.
8513 * math/s_ccoshl.c: Likewise.
8514 * math/s_csin.c: Likewise.
8515 * math/s_csinf.c: Likewise.
8516 * math/s_csinl.c: Likewise.
8517 * math/s_csinh.c: Likewise.
8518 * math/s_csinhf.c: Likewise.
8519 * math/s_csinhl.c: Likewise.
8520 * math/libm-test.inc (ccos_test): Add more tests.
8521 (ccosh_test): Likewise.
8522 (csin_test): Likewise.
8523 (csinh_test): Likewise.
8524 * sysdeps/i386/fpu/libm-test-ulps: Update.
8525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8526
6ad13e08
L
85272012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8528
f66f0ce8
L
8529 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8530 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8531
6ad13e08
L
8532 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8533
b1d072a7
JM
85342012-05-19 Joseph Myers <joseph@codesourcery.com>
8535
8536 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8537 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8538 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8539 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8540 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8541 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8542 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8543 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8544 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8545 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8546 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8547 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8548 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8549 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8550 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8551 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8552 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8553 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8554 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8555 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8556 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8557 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8558 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8559 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8560 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8561 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8562 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8563 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8564 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8565 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8566 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8567
9eae47cb
AJ
85682012-05-18 Andreas Jaeger <aj@suse.de>
8569
8570 * csu/.gitignore: Delete.
8571
bb07f69f
L
85722012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8573
8574 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8575 (timex): Use __syscall_slong_t.
8576
e6bdb741
AJ
85772012-05-18 Andreas Jaeger <aj@suse.de>
8578 Carlos O'Donell <carlos_odonell@mentor.com>
8579
8580 * manual/install.texi (Configuring and compiling): Update
8581 description about files modified in the source directory.
d6c33fda 8582 * INSTALL: Regenerated.
e6bdb741 8583
1b74487e
L
85842012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8585
8586 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8587 value. Use "or" to set return value to -1.
8588 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8589 negate return value.
8590
a88b64b9
TMQMF
85912012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8592
8593 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8594 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8595 failure if the compiler has Graphite support disabled.
8596 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8597 Likewise.
8598 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8599 CFLAGS-memmove.c): Likewise.
8600 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8601 Likewise.
8602
3707636e
L
86032012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8604
610b8622
L
8605 * sysdeps/x86_64/x32/_itoa.h: New file.
8606
7cd195df
L
8607 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8608 getdents system call only if kernel and user dirents have the
8609 same d_ino and d_off.
8610
94b07d20
L
8611 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8612 LLONG_MAX != LONG_MAX.
8613 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8614 (_fitoa_word): Likewise.
8615
18298070
L
8616 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8617 years.
8618 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8619 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8620 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8621
553c7ea4
L
8622 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8623 include <bits/wordsize.h>. Check __x86_64__ instead of
8624 __WORDSIZE.
8625 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8626 if __x86_64__ is defined. Use anonymous union on fpstate.
8627
3707636e
L
8628 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8629 anonymous union.
8630
b53ef01a
AS
86312012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8632
37fb1dc0
AS
8633 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8634 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8635 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8636 Refer to _rtld_local_ro instead of _rtld_global_ro.
8637 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8638 Likewise.
8639 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8640 Likewise.
8641 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8642 Likewise.
8643 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8644 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8645 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8646
b53ef01a
AS
8647 * sysdeps/powerpc/powerpc32/dl-machine.c
8648 (__elf_machine_runtime_setup) [PROF]: Don't reference
8649 _dl_prof_resolve.
8650
7a185db2
AJ
86512012-05-18 Andreas Jaeger <aj@suse.de>
8652
8653 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8654 function only available for GCCs before 3.4 since GCC 3.4
8655 introduced a builtin.
8656 (lrint): Likewise.
8657 (llrintf): Likewise.
8658 (llrint): Likewise.
8659 (fmaxf): Likewise.
8660 (fmax): Likewise.
8661 (fminf): Likewise.
8662 (fmin): Likewise.
8663 (rint): Likewise.
8664 (rintf): Likewise.
8665 (nearbyint): Likewise.
8666 (nearbyintf): Likewise.
8667 (ceil): Likewise.
8668 (ceilf): Likewise.
8669 (floor): Likewise.
8670 (floorf): Likewise.
8671
3e5aef87
L
86722012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8673
428bd707
L
8674 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8675 on both fields and cast pointer to __syscall_ulong_t.
8676
3e5aef87
L
8677 * bits/types.h (__fsword_t): New type.
8678 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8679 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8680 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8681 (__FSWORD_T_TYPE): Likewise.
8682 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8683 (__FSWORD_T_TYPE): Likewise.
8684 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8685 (__FSWORD_T_TYPE): Likewise.
8686 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8687 (__FSWORD_T_TYPE): Likewise.
8688 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8689 __SWORD_TYPE with __fsword_t.
8690 (statfs64): Likewise.
8691
1ba7c3dc
DM
86922012-05-17 David S. Miller <davem@davemloft.net>
8693
8694 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8695
59910343
AJ
86962012-05-17 Andreas Jaeger <aj@suse.de>
8697
8698 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8699 warning.
8700
2e4c1e9e
L
87012012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8702
8703 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8704
de7f5ce7
AJ
87052012-05-17 Andreas Jaeger <aj@suse.de>
8706
8707 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8708 when it is used.
8709
286abc3d
CM
87102012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8711
8712 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8713
477cc68e
L
87142012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8715
8716 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8717 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8718
1a0994f5
CD
87192012-05-17 Andreas Jaeger <aj@suse.de>
8720 Carlos O'Donell <carlos_odonell@mentor.com>
8721
8722 [BZ #14059]
8723 * sysdeps/x86_64/multiarch/init-arch.h
8724 (bit_YMM_Usable): Rename to...
8725 (bit_AVX_Usable): ... this.
8726 (bit_FMA4_Usable): New macro.
8727 (bit_XMM_state): New macro.
8728 (bit_YMM_state): New macro.
8729 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8730 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8731 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8732 (CPUID_OSXSAVE): New macro.
8733 (CPUID_AVX): New macro.
8734 (CPUID_FMA4): New macro.
8735 (index_YMM_Usable): Rename to...
8736 (index_AVX_Usable): ... this.
8737 (HAS_AVX): Use HAS_ARCH_FEATURE.
8738 (HAS_FMA4): Likewise.
8739 (HAS_YMM_USABLE): Remove.
8740 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8741 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8742 are present.
8743 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8744 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8745 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8746 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8747 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8748
0af797de
CM
87492012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8750
8751 * math/libm-test.c: Support platforms without multiple rounding modes.
8752 * math/bug-nextafter.c: Support platforms without FP exceptions.
8753 * math/bug-nexttoward.c: Likewise.
8754 * math/test-fenv.c: Likewise.
8755 * math/test-misc.c: Likewise.
8756 * stdlib/bug-getcontext.c: Likewise.
8757
e39745ff
AJ
87582012-05-17 Andreas Jaeger <aj@suse.de>
8759
8760 * manual/examples/search.c (critter_cmp): Change signature to
8761 avoid warnings.
8762 * manual/string.texi (Collation Functions): Likewise.
8763
48970aba
L
87642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8765
8766 * bits/types.h: Fold copyright years.
8767 * bits/typesizes.h: Likewise.
8768 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8769 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8770 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8771 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8772 * time/time.h: Likewise.
8773
bedee953
PP
87742012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8775
8776 [BZ #208]
8777 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8778 in instead of returning them. Return void.
8779 (__libc_mallinfo): Accumulate over all arenas.
8780 (__malloc_stats): Adjust for change in int_mallinfo interface.
8781
61653dfb
RM
87822012-05-16 Roland McGrath <roland@hack.frob.com>
8783
30b99d79
RM
8784 [BZ #10375]
8785 * configure.in (NM): Add AC_CHECK_TOOL for it.
8786 (libc_extra_cflags): New substituted variable.
8787 Check for -fstack-protector being used implicitly.
8788 * configure: Regenerated.
8789 * config.make.in (config-extra-cflags): New variable,
8790 gets @libc_extra_cflags@.
8791 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8792
61653dfb
RM
8793 [BZ #10375]
8794 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8795 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8796 * configure: Regenerated.
8797 * config.make.in (CPPUNDEFS): New substituted variable.
8798 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8799 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8800 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8801
661768bb
L
88022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8803
8804 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8805 (mq_attr): Use __syscall_slong_t.
8806
d4261567
L
88072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8808
8809 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8810 Check __x86_64__ instead of __WORDSIZE.
8811 (_STAT_VER_LINUX): Likewise.
8812 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8813 __syscall_ulong_t and __syscall_slong_t.
8814 (stat64): Likewise.
8815
cf3ff365
L
88162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8817
8818 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8819
76cf3e4d
L
88202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8821
8822 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8823
a637753a
L
88242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8825
8826 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8827 __syscall_ulong_t.
8828
d5e05119
L
8829 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8830 include <bits/wordsize.h>. Check __x86_64__ instead of
8831 __WORDSIZE.
8832 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8833 defined.
8834 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8835
f62ee380
L
8836 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8837 include <bits/wordsize.h>. Check __x86_64__ instead of
8838 __WORDSIZE.
8839 (user_regs_struct): Use "__extension__ unsigned long long"
8840 instead of "unsigned long" if __x86_64__ is defined.
8841 (user): Likewise. Pad after pointer field if __ILP32__ is
8842 defined.
8843
4e124ced
JM
88442012-05-16 Joseph Myers <joseph@codesourcery.com>
8845
6a3951a0
JM
8846 * configure.in (makeinfo): Require version 4.5 or later. Allow
8847 versions 5 to 9.
8848 * configure: Regenerated.
8849 * manual/install.texi (texinfo): Increase version requirement to
8850 4.5 or later.
8851 * INSTALL: Regenerated.
8852
4e124ced
JM
8853 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8854
953ca31a
L
88552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8856
8857 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8858
617aca05
L
8859 * sysdeps/x86_64/x32/ffs.c: New file.
8860
5762f7ae
L
8861 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8862 __syscall_ulong_t.
8863 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8864 defined. Use __syscall_ulong_t.
8865 (shminfo): Use __syscall_ulong_t.
8866 (shm_info): Likewise.
8867
a26b6856
L
8868 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8869 __syscall_ulong_t.
8870
cb2b9ef7
L
8871 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8872 <bits/wordsize.h>.
8873 (msgqnum_t): Use __syscall_ulong_t.
8874 (msglen_t): Likewise.
8875 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8876 __syscall_ulong_t.
8877
34683bb0
L
8878 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8879 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8880
84a68786
L
8881 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8882
48baa5f1
L
8883 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8884 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8885
180be88b
L
8886 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8887 __syscall_slong_t.
8888
5e90c8ad
L
8889 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8890 include <bits/wordsize.h>. Check __x86_64__ instead of
8891 __WORDSIZE.
8892
23dfb58b
L
8893 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8894 "unsigned long long int" if __x86_64__ is defined.
8895 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8896
ce5d54b0
L
8897 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8898 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8899 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8900
13dc9eac
L
8901 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8902 <stdint.h>.
8903 (GET_PC): Cast to uintptr_t first.
8904 (GET_FRAME): Likewise.
8905 (GET_STACK): Likewise.
8906
a7895d15
L
8907 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8908 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8909 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8910 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8911 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8912 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8913 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8914 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8915 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8916 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8917 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8918 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8919 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8920 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8921 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8922 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8923 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8924 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8925 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8926 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8927 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8928 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8929 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8930 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8931 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8932 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8933 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8934 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8935 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8936
656416c9
AS
89372012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8938
5bd66283
AS
8939 * Makerules (+depfiles): Also collect depfiles from .oS in
8940 $(extra-objs).
8941 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8942 .oS, $(libnldbl-routines)).
8943
656416c9
AS
8944 * Makerules (native-compile-mkdep-flags): Define.
8945 * sunrpc/Makefile (extra-objs): Add $(addprefix
8946 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8947 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8948 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8949 calling $(make-target-directory).
8950
a46f2169
L
89512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8952
8953 * bits/types.h (__snseconds_t): Removed.
8954 * time/time.h (struct timespec): Replace __snseconds_t with
8955 __syscall_slong_t.
8956 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8957 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8958 Likewise.
8959 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8960 (__SNSECONDS_T_TYPE): Likewise.
8961 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8962 (__SNSECONDS_T_TYPE): Likewise.
8963 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8964 (__SNSECONDS_T_TYPE): Likewise.
8965
6af6528b
L
89662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8967
8968 * sysdeps/mach/hurd/bits/typesizes.h
8969 (__SYSCALL_SLONG_TYPE): New macro.
8970 (__SYSCALL_ULONG_TYPE): Likewise.
8971
de986b56
L
89722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8973
8974 * bits/types.h (__syscall_slong_t): New type.
8975 (__syscall_ulong_t): Likewise.
8976
8977 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8978 (__SYSCALL_ULONG_TYPE): Likewise.
8979 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8980 (__SYSCALL_SLONG_TYPE): Likewise.
8981 (__SYSCALL_ULONG_TYPE): Likewise.
8982 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8983 (__SYSCALL_SLONG_TYPE): Likewise.
8984 (__SYSCALL_ULONG_TYPE): Likewise.
8985 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8986 (__SYSCALL_SLONG_TYPE): Likewise.
8987 (__SYSCALL_ULONG_TYPE): Likewise.
8988
85736dc7
L
89892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8990
8991 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8992 Add sigaltstack-offsets.sym.
8993 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8994 <sigaltstack-offsets.h>.
8995 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8996 longjmp_msg pointer.
8997 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8998 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8999 signal stack.
9000 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9001
cc03b296
JM
90022012-05-15 Joseph Myers <joseph@codesourcery.com>
9003
a9538892
JM
9004 * elf/stackguard-macros.h: Remove file.
9005 * sysdeps/generic/stackguard-macros.h: New file.
9006 * sysdeps/i386/stackguard-macros.h: Likewise.
9007 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9008 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9009 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9010 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9011 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9012 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9013 * sysdeps/x86_64/stackguard-macros.h: Likewise.
9014 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9015 <elf/stackguard-macros.h>.
9016
cc03b296
JM
9017 [BZ #14109]
9018 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9019 __aligned__ in attribute.
9020 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9021 (gregset_t): Likewise.
9022
93171016
L
90232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9024
9025 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9026 * sysdeps/x86_64/64/Implies-after: Here. New file.
9027 * sysdeps/x86_64/x32/Implies-after: New file.
9028
d86813a0
L
90292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9030
9031 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9032 and access return value for _dl_profile_fixup. Use R10_LP to
9033 load frame size.
9034
2953ec75
L
90352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9036
9037 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9038
3b550e9e
L
90392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9040
9041 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9042 * sysdeps/x86_64/x32/sysdep.h: New file.
9043
eda41706
L
90442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9045
9046 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9047 * sysdeps/x86_64/setjmp.S: Likewise.
9048
9ea01d93
AZ
90492012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9050
9051 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9052 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9053 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9054 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9055 remove unused global constant.
9056
02a91938
CM
90572012-05-15 Chris Metcalf <cmetcalf@tilera.com>
9058
9059 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9060 include of <not-cancel.h>.
9061
6540185f
RM
90622012-05-15 Roland McGrath <roland@hack.frob.com>
9063
9064 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9065
509072a0
AJ
90662012-05-15 Jeff Law <law@redhat.com>
9067 Andreas Jaeger <aj@suse.de>
9068
9069 [BZ #13594]
9070 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9071 out from...
9072 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9073 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9074 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9075 code changing __hst_map_handle.map.
9076
ba75122d
RM
90772012-05-15 Roland McGrath <roland@hack.frob.com>
9078
9079 * configure.in (sysnames): Look for Implies-before and Implies-after
9080 files.
9081 * configure: Regenerated.
9082
890d8bd8
L
90832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9084
9085 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9086 8-byte data alignment with LP_SIZE alignment.
9087
f6ee6623
L
90882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9089
9090 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9091 into R10_LP.
9092
ea2626f6
L
90932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9094
9095 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9096
085f715e
L
90972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9098
9099 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9100 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9101 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9102 Likewise.
9103 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9104
be8498fc
L
91052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9106
9107 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9108 (stackinfo_sub_sp): Likewise.
9109
70bc83b9
L
91102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9111
9112 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9113 RAX_LP.
9114
9bc0b730
L
91152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9116
9117 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9118 into R*_LP.
9119
6d2850e7
L
91202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9121
9122 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9123 sizes into R*_LP.
9124
3cb84561
L
91252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9126
9127 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9128
54e2ed81
L
91292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9130
9131 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9132 into R11_LP and load __x86_64_shared_cache_size_half into
9133 R8_LP.
9134
8a17f349
L
91352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9136
9137 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9138 R8_LP.
9139
777b1eea
AZ
91402012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9141
9142 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9143 logb for POWER7.
9144 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9145 logbf for POWER7.
9146 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9147 logbl for POWER7.
9148 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9149 powerpc32/power7/fpu/s_logb.c via #include.
9150 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9151 powerpc32/power7/fpu/s_logbf.c via #include.
9152 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9153 powerpc32/power7/fpu/s_logbl.c via #include.
9154
d20d4ac2
JM
91552012-05-15 Joseph Myers <joseph@codesourcery.com>
9156
9157 * README.libm: Remove file.
9158
6cdef1ab
L
91592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9160
9161 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9162 count for x32. Use R*_LP and omit operand-size suffix.
9163
0b254d8f
L
91642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9165
9166 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9167 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9168 * sysdeps/x86_64/x32/shlib-versions: New file.
9169
ceb809dc
RM
91702012-05-14 Roland McGrath <roland@hack.frob.com>
9171
9172 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9173 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9174 Use _dl_fatal_printf instead.
9175
37f1abd4
JM
91762012-05-14 Joseph Myers <joseph@codesourcery.com>
9177
9178 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9179 set if not set by the user. Do not allow for being unset.
9180 * sysdeps/unix/sysv/linux/configure: Regenerated.
9181
11de3a33
L
91822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9183
9184 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9185 the `q' suffix from lea and replace .quad with ASM_ADDR.
9186
e02f153a
L
91872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9188
9189 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9190 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9191 instead of $17.
9192 (PTR_DEMANGLE): Likewise.
9193
520ae0fd
L
91942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9195
9196 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9197 (LP_OP): Likewise.
9198 (ASM_ADDR): Likewise.
9199 (RAX_LP): Likewise.
9200 (RBP_LP): Likewise.
9201 (RBX_LP): Likewise.
9202 (RCX_LP): Likewise.
9203 (RDI_LP): Likewise.
9204 (RSI_LP): Likewise.
9205 (RSP_LP): Likewise.
9206 (R8_LP): Likewise.
9207 (R9_LP): Likewise.
9208 (R10_LP): Likewise.
9209 (R10_LP): Likewise.
9210 (R11_LP): Likewise.
9211 (R12_LP): Likewise.
9212 (R13_LP): Likewise.
9213 (R14_LP): Likewise.
9214 (R15_LP): Likewise.
9215
b985be81
L
92162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9217
9218 * sysdeps/x86_64/x32/dl-machine.h: New file.
9219
6a4888ff
AJ
92202012-05-14 Andreas Jaeger <aj@suse.de>
9221
9222 * manual/Makefile (subdir): Remove export of subdir.
9223 (all): Remove target.
9224 (.PHONY): Remove all from list.
9225 (mkinstalldirs): Remove.
9226 (.PHONY): Remove installdirs from list.
9227 ($(inst_infodir)/libc.info): Use make-target-directory.
9228 (installdirs): Remove.
9229 (subdir_%): Remove.
9230 (glibc-targets): Remove.
9231 (lib): Remove.
9232 (stubs): Remove.
9233 ($(objpfx)stubs ../po/manual.pot): Remove.
9234 ($(objpfx)stamp%): Remove.
9235 (make-target-directory): Remove.
9236 (subdir_install): Remove.
9237 (routines): Remove.
9238 (aux): Remove.
9239 (sources): Remove.
9240 (objects): Remove.
9241 (headers): Remove.
9242
9243 [BZ #13750]
9244 * manual/.gitignore: Remove, it's not needed anymore.
9245 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9246 all files in it.
9247 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9248 directory.
9249 (texis): Renamed to $(objpfx)texis.
9250 (texis-path): New, contains path to generated files.
9251 (chapters.%): Use texis-path for complete path, add extra argument
9252 libc-texinfo.sh.
9253 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9254 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9255 (summary,texi, stamp-summary): Use complete path of
9256 files. Generate files in build dir.
9257 (dir-add.texi): Build in build dir.
9258 (libm-err.texi,stamp-libm-err): Likewise.
9259 (version.texi, stamp-version): Likewise.
9260 (.%c.texi): Likewise.
9261 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9262 (mostlyclean): Remove target.
9263 (realclean): Remove target.
9264 (generated): Add new variable with contents from mostlyclean and
9265 realclean, remove entries duplicated in common-mostlyclean, add
9266 stamp-libm-err and stamp-version.
9267 (generated-dirs): Add libc directory.
9268 ($(inst_infodir)/libc.info): Install files from build dir.
9269
9270 * manual/install.texi (Configuring and compiling): Adjust since
9271 the info files are not part of the tar ball anymore.
9272
7ac77294
AJ
92732012-05-14 Andreas Jaeger <aj@suse.de>
9274
9275 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9276 variable.
9277
ffb7875d
JM
92782012-05-14 Joseph Myers <joseph@codesourcery.com>
9279
9280 [BZ #13717]
9281 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9282 to 2.2.0 where earlier.
9283 * sysdeps/unix/sysv/linux/configure: Regenerated.
9284 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9285 Remove conditional code.
9286 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9287 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9288 Remove conditional code.
9289 [!__NR_lchown]: Likewise.
9290 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9291 [__NR_lchown]: Likewise.
9292 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9293 comment referencing __ASSUME_LCHOWN_SYSCALL.
9294 * sysdeps/unix/sysv/linux/i386/sigaction.c
9295 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9296 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9297 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9298 Remove conditional code.
9299 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9300 (__protocol_available): Remove #if 0 code.
9301 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9302 conditional code.
9303 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9304 * sysdeps/unix/sysv/linux/kernel-features.h
9305 (__ASSUME_GETCWD_SYSCALL): Don't define.
9306 (__ASSUME_REALTIME_SIGNALS): Likewise.
9307 (__ASSUME_PREAD_SYSCALL): Likewise.
9308 (__ASSUME_PWRITE_SYSCALL): Likewise.
9309 (__ASSUME_POLL_SYSCALL): Likewise.
9310 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9311 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9312 non-SPARC.
9313 (__ASSUME_SIOCGIFNAME): Don't define.
9314 (__ASSUME_MSG_NOSIGNAL): Likewise.
9315 (__ASSUME_SENDFILE): Define unconditionally.
9316 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9317 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9318 conditional code.
9319 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9320 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9321 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9322 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9323 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9324 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9325 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9327 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9328 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9330 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9331 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9333 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9334 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9336 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9337 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9339 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9340 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9342 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9343 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9345 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9346 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9348 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9349 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9350 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9351 Remove conditional code.
9352 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9353 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9354 Remove conditional code.
9355 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9356 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9357 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9358 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9359 Remove conditional code.
9360 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9361 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9362 Remove conditional code.
9363 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9364 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9365 Remove conditional code.
9366 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9367 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9368 Remove conditional code.
9369 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9370 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9371 Remove conditional code.
9372 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9373 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9374 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9375 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9376 * sysdeps/unix/sysv/linux/sigaction.c
9377 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9378 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9379 * sysdeps/unix/sysv/linux/sigpending.c
9380 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9381 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9382 * sysdeps/unix/sysv/linux/sigprocmask.c
9383 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9384 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9385 * sysdeps/unix/sysv/linux/sigsuspend.c
9386 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9387 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9388 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9389 (__libc_missing_rt_sigs): Remove.
9390 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9391 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9392 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9393 Remove conditional code.
9394 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9395 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9396 return 1.
9397 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9398 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9399 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9400 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9401
1bfb7291
AJ
94022012-05-14 Andreas Jaeger <aj@suse.de>
9403
caae5a81
AJ
9404 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9405 it's not used in glibc.
9406 (__coshm1): Likewise.
9407 (__acosh1p): Likewise.
9408 (__sgn): Likewise.
9409
1bfb7291
AJ
9410 * manual/string.texi (Copying and Concatenation): Add missing
9411 variable in concat example.
9412 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9413
c044d724
L
94142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9415
144c5467 9416 [BZ #14103]
c044d724
L
9417 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9418 __builtin_clzl with __builtin_clzll.
9419
2523c62b
L
94202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9421
9422 [BZ #14104]
9423 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9424 libc_freeres_ptr.
9425
d7bb4c42
LD
94262012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9427
9428 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9429 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9430 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9431 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9432
9dc4e1fb
MF
94332012-05-14 Mike Frysinger <vapier@gentoo.org>
9434
9435 * NEWS: Update ia64 info.
9436
c7df0112
AS
94372012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9438
9439 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9440 used as bcopy.
9441
dc70356c
TS
94422012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9443
9444 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9445 * sysdeps/unix/syscalls.list (dup3): Likewise.
9446 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9447 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9448
9fb1a21f
L
94492012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9450
9451 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9452 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9453
4822a2a5
L
94542012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9455
9456 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9457 thread pointer.
9458 (TLS_IE): Use mov/add instead of movq/addq to load thread
9459 pointer.
9460 (TLS_GD_PREFIX): New.
9461 (TLS_GD): Use it.
9462
842b81d6
DM
94632012-05-11 David S. Miller <davem@davemloft.net>
9464
9465 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9466 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9467 (_FPU_SETCW): Likewise.
9468
1cf463cd
L
94692012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9470
9471 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9472 is 32-byte aligned.
9473
60cc4a18
AS
94742012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9475
9476 [BZ #11837]
9477 * iconvdata/gb18030.c: Update tables.
9478 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9479 characters specially.
9480 (BODY for TO_LOOP): Add encoding of missing ranges.
9481
febb44a4
TS
94822012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9483
9484 [BZ #13673]
9485 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9486 * sysdeps/mach/hurd/dup3.c: Likewise.
9487 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9488 * sysdeps/powerpc/memmove.c:: Likewise.
9489
0a10fb9e
L
94902012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9491
9492 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9493 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9494
df8a552f
L
94952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9496
9497 * elf/elf.h (R_X86_64_RELATIVE64): New.
9498 (R_X86_64_NUM): Updated.
9499 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9500 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9501 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9502 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9503 tst-quad1pie tst-quad2pie
9504 (modules-names): Add tst-quadmod1 tst-quadmod2.
9505 ($(objpfx)tst-quad1): New dependency.
9506 ($(objpfx)tst-quad2): Likewise.
9507 ($(objpfx)tst-quad1pie): Likewise.
9508 ($(objpfx)tst-quad2pie): Likewise.
9509 * sysdeps/x86_64/tst-quad1.c: New file.
9510 * sysdeps/x86_64/tst-quad1pie.c: New file.
9511 * sysdeps/x86_64/tst-quad2.c: Likewise.
9512 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9513 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9514 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9515 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9516 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9517
f34d6f84
ST
95182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9519
f42d41d1
ST
9520 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9521 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9522 * streams/stropts.h (t_scalar_t): Define type.
9523
3c3571fc
ST
9524 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9525 (_PATH_PRESERVE): Set to "/var/lib".
9526 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9527
61f06bd3
ST
9528 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9529 instead of int.
9530
918d4d71
ST
9531 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9532 if __dir_mkfile succeeded.
9533
f34d6f84
ST
9534 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9535 checking for _hurd_dtablesize. Unlock it right after having
9536 finished _hurd_dtable allocation.
9537
10589b4a
TS
95382012-05-10 Thomas Schwinge <thomas@schwinge.name>
9539
674cdbc7
TS
9540 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9541 * sysdeps/mach/hurd/configure: Regenerated.
9542 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9543 special-casing to...
9544 * sysdeps/gnu/configure.in: ... this new file.
9545 * sysdeps/unix/sysv/linux/configure: Regenerated.
9546 * sysdeps/gnu/configure: New generated file.
9547
8e41b99f
TS
9548 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9549 for Linux: use nsec instead of usec, as well as:
9550 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9551 members of type struct timespec.
9552 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9553 New macros.
9554 (struct stat64): Likewise.
9555 (_STATBUF_ST_NSEC): New macro.
9556 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9557
10589b4a
TS
9558 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9559 __strtoul_internal rather than strtoul.
9560
63643c85
PT
95612012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9562
9563 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9564 and reject them.
9565
3faebe6a
ST
95662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9567
9568 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9569 which preserves existing values.
9570 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9571
c6474b07
PT
95722012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9573
9574 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9575 TIMEOUT values. Return EINVAL for NFDS values either negative or
9576 greater than FD_SETSIZE.
9577
1043890b
ST
95782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9579
9580 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9581 allocated, call __vm_protect to finish enabling the existing space, and
9582 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9583 allocate the remainder.
9584
37ed8b9b
PT
95852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9586
9587 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9588 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9589
db653660
ST
95902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9591
37ed8b9b
PT
9592 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9593 sysdeps/mach/hurd/readlink.c.
b29d4053 9594
db653660
ST
9595 * posix/tst-sysconf.c (posix_options): Only use
9596 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9597 _POSIX_SYNCHRONIZED_IO when they are defined
9598 * sysdeps/mach/hurd/bits/posix_opt.h:
9599 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9600 (_XOPEN_REALTIME): Undefine macro.
9601 (_XOPEN_REALTIME_THREADS): Undefine macro.
9602 (_XOPEN_SHM): Undefine macro.
9603 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9604 macro to -1.
9605 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9606 macro to -1.
9607 (_POSIX_ASYNC_IO): Undefine macro.
9608 (_POSIX_PRIORITIZED_IO): Undefine macro.
9609 (_POSIX_SPIN_LOCKS): Define macro to -1.
9610
ee16e894
ST
9611 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9612 SA_NODEFER, SA_RESETHAND.
9613 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9614 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9615 F_DUPFD_CLOEXEC.
9616
6103ae3b
TS
96172012-05-10 Thomas Schwinge <thomas@schwinge.name>
9618
9619 * elf/Makefile (pldd-modules): Define unconditionally.
9620
80b4e5f3
TS
96212012-05-10 Thomas Schwinge <thomas@schwinge.name>
9622
9623 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9624
edadcbd6
ST
96252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9626
9627 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9628 Return ENOENT when name is empty.
9629 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9630
80694780
TS
96312012-05-10 Thomas Schwinge <thomas@schwinge.name>
9632
1792c087
TS
9633 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9634
80694780
TS
9635 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9636
6b645f0d
ST
96372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9638
80694780
TS
9639 Fix mlock in all cases except non-readable pages.
9640 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9641 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 9642
6b645f0d
ST
9643 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9644 (__mkdir): When path is `/', just fail with EEXIST.
9645 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9646
e468f8a3
TS
96472012-05-10 Thomas Schwinge <thomas@schwinge.name>
9648
9649 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9650 <sys/uio.h> (for writev).
9651 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9652 and <sys/param.h> (for MIN).
9653
a4186cff
PT
96542012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9655
9656 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9657 REQUESTED_TIME. Properly set the remaining time and return EINTR
9658 if interrupted.
9659
510bbf14
TS
96602012-05-10 Thomas Schwinge <thomas@schwinge.name>
9661
9662 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9663 Depend on against $(link-rpcuserlibs).
9664
5d5722e8
ST
96652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9666
a4186cff
PT
9667 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9668 (__libc_stack_end): Do not use attribute_relro.
9669 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9670 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 9671 to libthread-provided value.
a4186cff
PT
9672 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9673 attribute_relro.
5d5722e8 9674
37233df9
TS
96752012-05-10 Thomas Schwinge <thomas@schwinge.name>
9676
be971a2b
TS
9677 [BZ #3748]
9678 * bits/libc-lock.h (__libc_once_get): New macro.
9679 * sysdeps/mach/bits/libc-lock.h: Likewise.
9680 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9681 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9682 instead of using implementation details.
9683
37233df9
TS
9684 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9685 * libio/freopen.c: Likewise.
9686 * libio/freopen64.c: Likewise.
9687 * misc/syslog.c: Likewise.
9688 * nscd/connections.c: Likewise.
9689 * nscd/netgroupcache.c: Likewise.
9690 * sysdeps/posix/getcwd.c: Likewise.
9691
38de94a5
RM
96922012-05-10 Roland McGrath <roland@hack.frob.com>
9693
9694 * math/w_ilogbf.c: Add #include <limits.h>.
9695
67530489
ST
96962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9697
a4186cff 9698 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
9699 path instead of returning without unlocking.
9700
67530489
ST
9701 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9702 immediate-write ioctls.
9703 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9704
5aa3a74a
TS
97052012-05-10 Thomas Schwinge <thomas@schwinge.name>
9706
18bad2ae
TS
9707 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9708 __builtin_frame_address instead of making assumptions about the
9709 location of the return address relative to DATA. Force early load of
9710 the return address.
9711 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9712 __builtin_frame_address.
9713
5aa3a74a
TS
9714 dup3 for GNU Hurd.
9715 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9716 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9717 implement dup3 and do some further code clean-ups.
9718 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9719 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9720
ecd0de9a
ST
97212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9722
cd9fa985
ST
9723 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9724
a4186cff
PT
9725 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9726 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9727 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9728 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9729 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9730 d->port.lock.
802ca5a5 9731
a4186cff
PT
9732 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9733 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9734 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 9735
bcf55240
TS
97362012-05-10 Thomas Schwinge <thomas@schwinge.name>
9737
6960eb42
TS
9738 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9739 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9740 definitions.
9741
eb43375f
TS
9742 accept4 for GNU Hurd.
9743 * include/sys/socket.h (__libc_accept4): New prototype.
9744 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9745 to implement __libc_accept4.
9746 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9747 __libc_accept4.
9748 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9749
bcf55240
TS
9750 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9751 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9752 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9753 signal-defines.sym.
9754
6178c55b
ST
97552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9756
a4186cff 9757 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 9758
6f080c2f
TS
97592012-05-10 Thomas Schwinge <thomas@schwinge.name>
9760
9761 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9762 assertion on O_CLOEXEC flag.
9763 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9764 * hurd/intern-fd.c: Likewise.
9765 * hurd/port2fd.c: Likewise.
9766
bcfe3a54
ST
97672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9768
9769 [BZ #3906]
9770 * bits/in.h (IPV6_PKTINFO): Define new macro.
9771 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9772
89c9aa49
AZ
97732012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9774
9775 [BZ #13954]
9776 [BZ #13955]
9777 [BZ #13956]
9778 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9779 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9780 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9781 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9782 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9783 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9784 * math/libm-test.inc (logb_test) : Additional logb tests.
9785
021db4be
AJ
97862012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9787 Andreas Jaeger <aj@suse.de>
9788
9789 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9790 * configure: Regenerated.
9791 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9792 * config.make.in (link-obsolete-rpc): New substituted variable.
9793 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9794 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9795 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9796 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9797 so that libc.a contains the symbols.
9798 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9799 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9800 * sunrpc/auth_none.c: Likewise.
9801 * sunrpc/auth_unix.c: Likewise.
9802 * sunrpc/authdes_prot.c: Likewise.
9803 * sunrpc/authuxprot.c: Likewise.
9804 * sunrpc/clnt_gen.c: Likewise.
9805 * sunrpc/clnt_perr.c: Likewise.
9806 * sunrpc/clnt_raw.c: Likewise.
9807 * sunrpc/clnt_simp.c: Likewise.
9808 * sunrpc/clnt_tcp.c: Likewise.
9809 * sunrpc/clnt_udp.c: Likewise.
9810 * sunrpc/clnt_unix.c: Likewise.
9811 * sunrpc/des_crypt.c: Likewise.
9812 * sunrpc/des_soft.c: Likewise.
9813 * sunrpc/get_myaddr.c: Likewise.
9814 * sunrpc/key_call.c: Likewise.
9815 * sunrpc/key_prot.c: Likewise.
9816 * sunrpc/netname.c: Likewise.
9817 * sunrpc/pm_getmaps.c: Likewise.
9818 * sunrpc/pm_getport.c: Likewise.
9819 * sunrpc/pmap_clnt.c: Likewise.
9820 * sunrpc/pmap_prot.c: Likewise.
9821 * sunrpc/pmap_prot2.c: Likewise.
9822 * sunrpc/pmap_rmt.c: Likewise.
9823 * sunrpc/publickey.c: Likewise.
9824 * sunrpc/rpc_cmsg.c: Likewise.
9825 * sunrpc/rpc_common.c: Likewise.
9826 * sunrpc/rpc_dtable.c: Likewise.
9827 * sunrpc/rpc_prot.c: Likewise.
9828 * sunrpc/rpc_thread.c: Likewise.
9829 * sunrpc/rtime.c: Likewise.
9830 * sunrpc/svc.c: Likewise.
9831 * sunrpc/svc_auth.c: Likewise.
9832 * sunrpc/svc_raw.c: Likewise.
9833 * sunrpc/svc_run.c: Likewise.
9834 * sunrpc/svc_tcp.c: Likewise.
9835 * sunrpc/svc_udp.c: Likewise.
9836 * sunrpc/svc_unix.c: Likewise.
9837 * sunrpc/svcauth_des.c: Likewise.
9838 * sunrpc/xcrypt.c: Likewise.
9839 * sunrpc/xdr.c: Likewise.
9840 * sunrpc/xdr_array.c: Likewise.
9841 * sunrpc/xdr_float.c: Likewise.
9842 * sunrpc/xdr_intXX_t.c: Likewise.
9843 * sunrpc/xdr_mem.c: Likewise.
9844 * sunrpc/xdr_rec.c: Likewise.
9845 * sunrpc/xdr_ref.c: Likewise.
9846 * sunrpc/xdr_sizeof.c: Likewise.
9847 * sunrpc/xdr_stdio.c: Likewise.
9848
b5c086a2
RM
98492012-05-10 Roland McGrath <roland@hack.frob.com>
9850
9851 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9852 change. Update copyright years.
9853
6d74dd09
JM
98542012-05-10 Joseph Myers <joseph@codesourcery.com>
9855
9856 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9857
28e72501
MK
98582012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9859 Joseph Myers <joseph@codesourcery.com>
9860 Paul Pluzhnikov <ppluzhnikov@google.com>
9861
9862 [BZ #14012]
9863 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9864 requiring rpcgen.
9865 [cross-compiling] (extra-libs): Likewise.
9866 [cross-compiling] (extra-libs-others): Likewise.
9867 [cross-compiling] (librpcsvc-routines): Likewise.
9868 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9869 [cross-compiling] (omit-deps): Likewise.
9870 (sunrpc-CPPFLAGS): New variable.
9871 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9872 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9873 (cross-rpcgen-objs): New variable.
9874 (extra-objs): Append $(cross-rpcgen-objs).
9875 ($(cross-rpcgen-objs)): New rule.
9876 ($(objpfx)cross-rpcgen): Likewise.
9877 (rpcgen-cmd): Define to use $(built-program-file). Expand
9878 comment.
9879 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9880 ($(objpfx)x%.stmp): Likewise.
9881 * sunrpc/proto.h [IS_IN_build] (_): Define.
9882 [IS_IN_build] (_libc_intl_domainname): Likewise.
9883
c8c59454
L
98842012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9885
9886 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9887 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9888 and R_X86_64_TPOFF64.
9889
6f27cd16
JM
98902012-05-10 Joseph Myers <joseph@codesourcery.com>
9891
9892 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9893 sysdeps/unix/sysv/syscalls.list.
9894 (stime): Likewise.
9895 (utime): Likewise.
9896 * sysdeps/unix/sysv/syscalls.list: Remove file.
9897
02467e1c
PE
98982012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9899
9900 [BZ #3440]
9901 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9902 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9903 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9904 (__LC_IDENTIFICATION): Make these macros useful in #if
9905 expressions, as required by C99.
9906
da392631
AS
99072012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9908
9909 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9910 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9911 after this.
9912
8115f29b
L
99132012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9914
9915 * stdlib/longlong.h: Updated from GCC.
9916
bdd74070
AJ
99172012-05-09 Andreas Jaeger <aj@suse.de>
9918
edfe0dbe
AJ
9919 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9920 default is first entry.
9921 (run_mode): Set type.
9922 (main): Remove informal message about syslog.
9923 (options): Fix typo.
9924
bcfe3a54
ST
9925 [BZ #14053]
9926 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 9927 to asm.
bcfe3a54
ST
9928 (lrint): Likewise.
9929 (llrintf): Likewise.
9930 (llrint): Likewise.
9931 (rint): Likewise.
9932 (rintf): Likewise.
9933 (nearbyint): Likewise.
9934 (nearbyintf): Likewise.
bdd74070 9935
91d8d69e
AJ
99362012-05-09 Andreas Jaeger <aj@suse.de>
9937 Pedro Alves <palves@redhat.com>
9938
9939 * nscd/nscd.c (run_mode): Use enum.
9940 (main): Cleanup coding style issue.
9941
bb90b80b
AJ
99422012-05-09 Alexandre Oliva <aoliva@redhat.com>
9943 Andreas Jaeger <aj@suse.de>
9944
bcfe3a54
ST
9945 * nscd/nscd.c (go_background): Replaced with...
9946 (run_mode): ... this.
bb90b80b 9947 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
9948 (options): Add -F --foreground.
9949 (main): Implement it.
9950 (parse_opt): Parse it.
bb90b80b 9951
1a4b75a1
AJ
99522012-05-09 Andreas Jaeger <aj@suse.de>
9953
9954 [BZ #14083]
9955 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9956 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9957 -Wconversion warning.
9958 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9959 Likewise.
9960
b1cc2472
JM
99612012-05-09 Joseph Myers <joseph@codesourcery.com>
9962
9963 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9964 == 0.
9965 (LC_ALL): Use macro-int-constant.
9966 (LC_COLLATE): Likewise.
9967 (LC_CTYPE): Likewise.
9968 (LC_MESSAGES): Likewise.
9969 (LC_MONETARY): Likewise.
9970 (LC_NUMERIC): Likewise.
9971 (LC_TIME): Likewise.
9972 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9973 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9974 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9975 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9976 Specify type.
9977 [C99-based standards] (float_t): Expect type.
9978 [C99-based standards] (double_t): Expect type.
9979 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9980 type.
9981 [C99-based standards] (HUGE_VALL): Likewise.
9982 [C99-based standards] (INFINITY): Likewise.
9983 [C99-based standards] (NAN): Likewise.
9984 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9985 [C99-based standards] (FP_NAN): Likewise.
9986 [C99-based standards] (FP_NORMAL): Likewise.
9987 [C99-based standards] (FP_SUBNORMAL): Likewise.
9988 [C99-based standards] (FP_ZERO): Likewise.
9989 [C99-based standards] (FP_FAST_FMA): Use
9990 optional-macro-int-constant. Specify type. Require == 1.
9991 [C99-based standards] (FP_FAST_FMAF): Likewise.
9992 [C99-based standards] (FP_FAST_FMAL): Likewise.
9993 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9994 [C99-based standards] (FP_ILOGBNAN): Likewise.
9995 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9996 Specify type.
9997 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9998 [C99-based standards] (math_errhandling): Specify type.
9999 [ISO99 || ISO11] (signgam): Do not allow.
10000 [non-C99-based standards] (copysignf): Do not allow.
10001 [non-C99-based standards] (exp2f): Likewise.
10002 [non-C99-based standards] (log2f): Likewise.
10003 [non-C99-based standards] (modff): Allow.
10004 [non-C99-based standards] (erff): Do not allow.
10005 [non-C99-based standards] (erfcf): Likewise.
10006 [non-C99-based standards] (gammaf): Likewise.
10007 [non-C99-based standards] (hypotf): Likewise.
10008 [non-C99-based standards] (j0f): Likewise.
10009 [non-C99-based standards] (j1f): Likewise.
10010 [non-C99-based standards] (jnf): Likewise.
10011 [non-C99-based standards] (lgammaf): Likewise.
10012 [non-C99-based standards] (tgammaf): Likewise.
10013 [non-C99-based standards] (y0f): Likewise.
10014 [non-C99-based standards] (y1f): Likewise.
10015 [non-C99-based standards] (ynf): Likewise.
10016 [non-C99-based standards] (isnanf): Likewise.
10017 [non-C99-based standards] (acoshf): Likewise.
10018 [non-C99-based standards] (asinhf): Likewise.
10019 [non-C99-based standards] (atanhf): Likewise.
10020 [non-C99-based standards] (cbrtf): Likewise.
10021 [non-C99-based standards] (expm1f): Likewise.
10022 [non-C99-based standards] (ilogbf): Likewise.
10023 [non-C99-based standards] (log1pf): Likewise.
10024 [non-C99-based standards] (logbf): Likewise.
10025 [non-C99-based standards] (nextafterf): Likewise.
10026 [non-C99-based standards] (remainderf): Likewise.
10027 [non-C99-based standards] (rintf): Likewise.
10028 [non-C99-based standards] (scalbf): Likewise.
10029 [non-C99-based standards] (copysignl): Likewise.
10030 [non-C99-based standards] (exp2l): Likewise.
10031 [non-C99-based standards] (log2l): Likewise.
10032 [non-C99-based standards] (modfl): Allow.
10033 [non-C99-based standards] (erfl): Do not allow.
10034 [non-C99-based standards] (erfcl): Likewise.
10035 [non-C99-based standards] (gammal): Likewise.
10036 [non-C99-based standards] (hypotl): Likewise.
10037 [non-C99-based standards] (j0l): Likewise.
10038 [non-C99-based standards] (j1l): Likewise.
10039 [non-C99-based standards] (jnl): Likewise.
10040 [non-C99-based standards] (lgammal): Likewise.
10041 [non-C99-based standards] (tgammal): Likewise.
10042 [non-C99-based standards] (y0l): Likewise.
10043 [non-C99-based standards] (y1l): Likewise.
10044 [non-C99-based standards] (ynl): Likewise.
10045 [non-C99-based standards] (isnanl): Likewise.
10046 [non-C99-based standards] (acoshl): Likewise.
10047 [non-C99-based standards] (asinhl): Likewise.
10048 [non-C99-based standards] (atanhl): Likewise.
10049 [non-C99-based standards] (cbrtl): Likewise.
10050 [non-C99-based standards] (expm1l): Likewise.
10051 [non-C99-based standards] (ilogbl): Likewise.
10052 [non-C99-based standards] (log1pl): Likewise.
10053 [non-C99-based standards] (logbl): Likewise.
10054 [non-C99-based standards] (nextafterl): Likewise.
10055 [non-C99-based standards] (remainderl): Likewise.
10056 [non-C99-based standards] (rintl): Likewise.
10057 [non-C99-based standards] (scalbl): Likewise.
10058 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10059 [non-C99-based standards] (FP_*): Do not allow.
10060 [C99-based standards] (FP_*): Change to
10061 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10062 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10063 allow.
10064 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10065 (SIG_ERR): Likewise.
10066 [X/Open-based standards] (SIG_HOLD): Likewise.
10067 (SIG_IGN): Likewise.
10068 (SIGABRT): Use macro-int-constant. Specify type. Require
10069 positive value.
10070 (SIGFPE): Likewise.
10071 (SIGILL): Likewise.
10072 (SIGINT): Likewise.
10073 (SIGSEGV): Likewise.
10074 (SIGTER): Likewise.
10075 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10076 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10077 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10078 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10079 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10080 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10081 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10082 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10083 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10084 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10085 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10086 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10087 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10088 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10089 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10090 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10091 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10092 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10093 [X/Open-based standards] (SIGTRAP): Likewise.
10094 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10095 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10096 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10097 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10098 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10099 allow.
10100
b9f1922d
IW
101012012-05-08 Ian Wienand <ianw@vmware.com>
10102
10103 [BZ #14080]
10104 * time/tzset.c (__tzset_parse_tz): Update default rules for
10105 daylight time changes in the Energy Policy Act of 2005.
10106
1db86e88
AJ
101072012-05-09 Andreas Jaeger <aj@suse.de>
10108
10109 [BZ #13983]
10110 * elf/ldconfig.c (parse_conf): Change string to make clear that
10111 ldconfig only issued a warning if ld.so.conf does not exist.
10112
dee4a4e3
DM
101132012-05-08 David S. Miller <davem@davemloft.net>
10114
ee0db190
DM
10115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10116 movxtod instead of popping the value on the stack.
10117
dee4a4e3
DM
10118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10119
6a43ec98
CD
101202012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10121
10122 * config.h.in: Add HAVE_ARM_PCS_VFP.
10123
05c2c961
RMG
101242012-05-08 Roland Mc Grath <roland@hack.frob.com>
10125
bcfe3a54
ST
10126 [BZ #13979]
10127 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10128 checking but the checks are disabled for any reason.
05c2c961 10129
4b30f61a
L
101302012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10131
10132 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10133 and ELF64_R_TYPE with ELFW(R_TYPE).
10134
eee2bc67
JM
101352012-05-08 Joseph Myers <joseph@codesourcery.com>
10136
7ea5391a
JM
10137 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10138 (ulimit): Likewise.
10139
eee2bc67
JM
10140 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10141 (settimeofday): Likewise.
10142
abb66a67
MF
101432012-05-08 Mike Frysinger <vapier@gentoo.org>
10144
10145 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10146 a struct th_u2 inside the union, and move tu_block/tu_code into
10147 a new th_u3 union of tu_block/tu_code inside of that. Move
10148 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10149 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10150 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10151 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10152 (th_stuff): Change to th_u1.tu_stuff.
10153 (th_data): Define.
10154 (th_msg): Change to th_u1.th_u2.tu_data.
10155
7f18b530
DM
101562012-05-07 David S. Miller <davem@davemloft.net>
10157
05760585
DM
10158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10159
7f18b530
DM
10160 [BZ #14074]
10161 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10162 (SETUP_PIC_REG): Use it.
10163 (SETUP_PIC_REG_LEAF): Use it.
10164
495fd99f
JM
101652012-05-07 Joseph Myers <joseph@codesourcery.com>
10166
10167 [BZ #13885]
10168 [BZ #13923]
10169 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10170 USE_AS_EXPM1L.
10171 (EXPL_FINITE): Likewise.
10172 (FLDLOG): Likewise.
10173 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10174 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10175 e_expl.S.
10176 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10177 USE_AS_EXPM1L.
10178 (EXPL_FINITE): Likewise.
10179 (FLDLOG): Likewise.
10180 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10181 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10182 e_expl.S.
10183 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10184 test of -max_value argument for long double.
10185 * sysdeps/i386/fpu/libm-test-ulps: Update.
10186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10187
6693d694
DM
101882012-05-06 David S. Miller <davem@davemloft.net>
10189
10190 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10191 quad soft-float symbols whose references which are compiler
10192 generated.
10193 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10194
6c23e11c
JM
101952012-05-06 Joseph Myers <joseph@codesourcery.com>
10196
d8b82cad
JM
10197 [BZ #13884]
10198 [BZ #13914]
10199 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10200 USE_AS_EXP10L.
10201 (EXPL_FINITE): Likewise.
10202 (FLDLOG): Likewise.
10203 (c0): Likewise.
10204 (c1): Likewise.
10205 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10206 Adjust comments for base varying.
10207 (__expl_finite): Change alias to EXPL_FINITE.
10208 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10209 e_expl.S.
10210 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10211 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10212 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10213 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10214 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10215 USE_AS_EXP10L.
10216 (EXPL_FINITE): Likewise.
10217 (FLDLOG): Likewise.
10218 (c0): Likewise.
10219 (c1): Likewise.
10220 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10221 Adjust comments for base varying.
10222 (__expl_finite): Change alias to EXPL_FINITE.
10223 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10224 tests for bugs.
10225 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10226
6c23e11c
JM
10227 [BZ #14064]
10228 * math/libm-test.inc (check_float_internal): Correct ulp
10229 calculation for subnormal expected results.
10230
29ba805c
AJ
102312012-05-06 Andreas Jaeger <aj@suse.de>
10232
10233 * Makeconfig (+math-flags): New, set to -frounding-math.
10234 (+cflags): Add +math-flags so that all of glibc gets compiled with
10235 it.
10236
10237 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10238
7b17aeda
JM
102392012-05-05 Joseph Myers <joseph@codesourcery.com>
10240
5779f134
JM
10241 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10242 Disable one test.
10243
41498f4d
JM
10244 [BZ #13787]
10245 [BZ #13922]
10246 [BZ #14036]
10247 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10248 (__ieee754_expl): Allow for and saturate large arguments.
10249 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10250 (u_threshold): Likewise.
10251 (__exp): Call __ieee754_exp before checking for overflow and
10252 underflow.
10253 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10254 (u_threshold): Likewise.
10255 (__expf): Call __ieee754_expf before checking for overflow and
10256 underflow.
10257 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10258 (u_threshold): Likewise.
10259 (__expl): Call __ieee754_expl before checking for overflow and
10260 underflow.
10261 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10262 (__ieee754_expl): Allow for and saturate large arguments.
10263 * math/libm-test.inc (exp_test): Add another test. Do not allow
10264 missing overflow exception on overflow.
10265 (expm1_test): Do not allow missing overflow exception on overflow.
10266
6698b8bf
JM
10267 * sysdeps/i386/fpu/e_expl.c: Move to ...
10268 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10269 rather than using inline asm.
10270 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10271 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10272 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10273
7b17aeda
JM
10274 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10275 (nice): Likewise.
10276 (poll): Likewise.
10277 (signal): Likewise.
10278 (time): Likewise.
10279 (times): Likewise.
10280
f7c85819
JM
102812012-05-04 Joseph Myers <joseph@codesourcery.com>
10282
10283 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10284 sysdeps/unix/common/syscalls.list.
10285 (fchmod): Likewise.
10286 (fchown): Likewise.
10287 (ftruncate): Likewise.
10288 (getrusage): Likewise.
10289 (gettimeofday): Likewise.
10290 (setpgid): Likewise.
10291 (setregid): Likewise.
10292 (setreuid): Likewise.
10293 (sigaction): Likewise.
10294 (truncate): Likewise.
10295 (vhangup): Likewise.
10296 * sysdeps/unix/common/syscalls.list: Remove file.
10297 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10298 * sysdeps/unix/sysv/linux/Implies: Likewise.
10299
336270d0
L
103002012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10301
10302 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10303 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10304 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10305 Moved to ...
10306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10307 Here.
10308 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10309 to ...
10310 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10311 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10312 to ...
10313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10314 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10315 to ...
10316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10317 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10318 to ...
10319 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10320 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10321 to ...
10322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10323 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10324 to ...
10325 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10326 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10327 to ...
10328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10329 Here.
10330 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10331 to ...
10332 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10333 Here.
10334 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10335 to ...
10336 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10337 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10338 Moved to ...
10339 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10340 Here.
10341 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10342 to ...
10343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10344
d128e450
JM
103452012-05-04 Joseph Myers <joseph@codesourcery.com>
10346
fa8ee516
JM
10347 * sysdeps/unix/common/bits/dirent.h: Remove file.
10348 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10349
d128e450
JM
10350 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10351 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10352 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10353 * sysdeps/unix/bsd/isatty.c: Likewise.
10354 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10355 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10356 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10357
ff8faaf0 103582012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 10359
62881be4 10360 [BZ #13563]
31dc8730
AZ
10361 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10362 long double comparison inaccuracies.
10363 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10365
6fef930c
AS
103662012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10367
10368 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10369 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10370
8f203e6c
JM
103712012-05-04 Joseph Myers <joseph@codesourcery.com>
10372
10373 [BZ #14049]
10374 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10375 nonzero digits before rounding a hex value.
10376 * stdlib/tst-strtod.c (tests): Add another test.
10377
5197d9c2
AK
103782012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10379
10380 * sysdeps/s390/fpu/libm-test-ulps: Update.
10381
f0c1dedf
AJ
103822012-05-03 Andreas Jaeger <aj@suse.de>
10383
10384 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10385 does not get optimized out.
10386 (malloc_opt_barrier): New.
10387
a65ef2ae 103882012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 10389 Roland McGrath <roland@hack.frob.com>
a65ef2ae 10390
2b942cb7 10391 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 10392 intermediate file deletion.
2b942cb7 10393 (generated): Add .symlist files.
a65ef2ae 10394
54b71e02
JM
103952012-05-03 Joseph Myers <joseph@codesourcery.com>
10396
10397 [BZ #13775]
10398 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10399 Redirect under this condition.
10400 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10401 [__USE_GNU] (__dprintf_chk): Not under this condition.
10402 [__USE_GNU] (__vdprintf_chk): Likewise.
10403 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10404 under this condition.
10405 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10406 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10407 [__USE_XOPEN2K8] (vdprintf): Likewise.
10408 [__USE_GNU] (__dprintf_chk): Not under this condition.
10409 [__USE_GNU] (__vdprintf_chk): Likewise.
10410 [__USE_GNU] (dprintf): Likewise.
10411 [__USE_GNU] (vdprintf): Likewise.
10412
d3dfcc41
RM
104132012-05-03 Roland McGrath <roland@hack.frob.com>
10414
10415 * elf/Makefile (common-generated): Set this instead of generated for
10416 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10417 $(all-built-dso)-derived lists.
10418
7ac30cc5
AJ
104192012-05-03 Andreas Jaeger <aj@suse.de>
10420
0c51e550
AJ
10421 * sysdeps/i386/fpu/libm-test-ulps: Update.
10422
7ac30cc5
AJ
10423 * FAQ: Removed.
10424 * FAQ.in: Likewise.
10425 * scripts/gen-FAQ.pl: Likewise.
10426 * manual/install.texi (Installation): Point to online location of
10427 FAQ.
10428 * Makefile (files-for-dist): Remove FAQ.
10429 (FAQ): Remove.
10430
d4c2917f
AM
104312012-05-02 Allan McRae <allan@archlinux.org>
10432
10433 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10434 (LDFLAGS-reldepmod5.so): Likewise.
10435 (LDFLAGS-reldep6mod1.so): Likewise.
10436 (LDFLAGS-reldep6mod4.so): Likewise.
10437 (LDFLAGS-reldep8mod3.so): Likewise.
10438 (LDFLAGS-unload4mod1.so): Likewise.
10439 (LDFLAGS-unload4mod2.so): Likewise.
10440 (LDFLAGS-tst-initorder): Likewise.
10441 (LDFLAGS-tst-initordera2.so): Likewise.
10442 (LDFLAGS-tst-initordera3.so): Likewise.
10443 (LDFLAGS-tst-initordera4.so): Likewise.
10444 (LDFLAGS-tst-initorderb2.so): Likewise.
10445 (LDFLAGS-noload): Likewise.
10446 (LDFLAGS-next): Likewise.
10447 (LDFLAGS-order2mod1.so): Likewise.
10448 (LDFLAGS-order2mod2.so): Likewise.
10449 (LDFLAGS-tst-initorder2): Likewise.
10450 (LDFLAGS-tst-initorder2a.so): Likewise.
10451 (LDFLAGS-tst-initorder2b.so): Likewise.
10452 (LDFLAGS-tst-initorder2c.so): Likewise.
10453 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10454
d77f993f
DM
104552012-05-02 David S. Miller <davem@davemloft.net>
10456
10457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10458
171a70b4
PP
104592012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10460
10461 [BZ #14055]
10462 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10463
0be196ad
AJ
104642012-05-02 Andreas Jaeger <aj@suse.de>
10465
10466 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10467 since we manipulate rounding mode.
10468 (CPPFLAGS-test-idouble.c): Likewise.
10469 (CPPFLAGS-test-ifloat.c): Likewise.
10470 (CFLAGS-test-ldouble.c): Likewise.
10471 (CFLAGS-test-double.c): Likewise.
10472 (CFLAGS-test-float.c): Likewise.
10473 (CFLAGS-test-misc.c): Likewise.
10474 (CFLAGS-test-test-fenv.c): Likewise.
10475
4f9d04aa
AZ
104762012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10477
2b942cb7
RM
10478 [BZ #2550]
10479 [BZ #2570]
10480 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10481 comparisons to determine direction to adjust input.
4f9d04aa 10482
82a79e7d
RM
104832012-05-01 Roland McGrath <roland@hack.frob.com>
10484
f5a01ca9
RM
10485 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10486 output to the target.
10487
90fe4186
RM
10488 * scripts/localplt.awk: New file.
10489 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10490 (check-localplt-CFLAGS): Variable removed.
10491 ($(all-built-dso:=.jmprel)): New static pattern rule.
10492 (generated): Add those targets.
10493 (localplt-built-dso): New variable.
10494 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10495
10496 * elf/check-localplt.c: File removed.
10497
82397ed6
RM
10498 * scripts/check-execstack.awk: New file.
10499 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10500 (check-execstack-CFLAGS): Variable removed.
10501 ($(objpfx)check-execstack.h): Target removed.
10502 ($(objpfx)execstack-default): New target.
10503 (generated): Add that instead of check-execstack.h.
10504 ($(all-built-dso:=.phdr)): New static pattern rule.
10505 (generated): Add those targets.
10506 * elf/check-execstack.c: File removed.
10507
82a79e7d
RM
10508 * scripts/check-textrel.awk: New file.
10509 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10510 (check-textrel-CFLAGS): Variable removed.
10511 (all-built-dso): Use := to define.o
10512 ($(all-built-dso:=.dyn)): New static pattern rule.
10513 (generated): Add those targets.
10514 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10515 * config.make.in (READELF): New substituted variable.
10516 * elf/check-textrel.c: File removed.
10517
62fde54f 105182012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 10519
615605c9
JM
10520 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10521 allow.
10522 * conform/data/ctype.h-data [C99-based standards] (isblank):
10523 Expect function.
10524 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10525 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10526 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10527 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10528 Specify type. Require positive value.
10529 (EILSEQ): Likewise.
10530 (ERANGE): Likewise.
10531 [ISO || POSIX] (EILSEQ): Do not expect.
10532 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10533 Specify type. Require positive value.
10534 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10535 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10536 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10537 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10538 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10539 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10540 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10541 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10542 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10543 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10544 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10545 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10546 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10547 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10548 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10549 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10550 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10551 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10552 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10553 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10554 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10555 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10556 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10557 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10558 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10559 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10560 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10561 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10562 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10563 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10564 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10565 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10566 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10567 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10568 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10569 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10570 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10571 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10572 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10573 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10574 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10575 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10576 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10577 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10578 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10579 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10580 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10581 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10582 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10583 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10584 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10585 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10586 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10587 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10588 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10589 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10590 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10591 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10592 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10593 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10594 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10595 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10596 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10597 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10598 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10599 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10600 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10601 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10602 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10603 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10604 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10605 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10606 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10607 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10608 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10609 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10610 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10611 Require >= 2.
10612 (FLT_ROUNDS): Expect as macro, not constant.
10613 (FLT_MANT_DIG): Use macro-int-constant.
10614 (DBL_MANT_DIG): Likewise.
10615 (LDBL_MANT_DIG): Likewise.
10616 (FLT_DIG): Likewise.
10617 (DBL_DIG): Likewise.
10618 (LDBL_DIG): Likewise.
10619 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10620 (DBL_MIN_EXP): Likewise.
10621 (LDBL_MIN_EXP): Likewise.
10622 (FLT_MAX_EXP): Use macro-int-constant.
10623 (DBL_MAX_EXP): Likewise.
10624 (LDBL_MAX_EXP): Likewise.
10625 (FLT_MAX_10_EXP): Likewise.
10626 (DBL_MAX_10_EXP): Likewise.
10627 (LDBL_MAX_10_EXP): Likewise.
10628 (FLT_MAX): Use macro-constant.
10629 (DBL_MAX): Likewise.
10630 (LDBL_MAX): Likewise.
10631 (FLT_EPSILON): Use macro-constant. Give upper bound.
10632 (DBL_EPSILON): Likewise.
10633 (LDBL_EPSILON): Likewise.
10634 (FLT_MIN): Likewise.
10635 (DBL_MIN): Likewise.
10636 (LDBL_MIN): Likewise.
10637 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10638 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10639 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10640 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10641 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10642 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10643 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10644 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10645 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10646 [ISO11] (FLT_TRUE_MIN): Likewise.
10647 [ISO11] (LDBL_TRUE_MIN): Likewise.
10648 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10649 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10650 (SCHAR_MIN): Use macro-int-constant. Specify type.
10651 (SCHAR_MAX): Likewise.
10652 (UCHAR_MAX): Likewise.
10653 (CHAR_MIN): Likewise.
10654 (CHAR_MAX): Likewise.
10655 (MB_LEN_MAX): Use macro-int-constant.
10656 (SHRT_MIN): Use macro-int-constant. Specify type.
10657 (SHRT_MAX): Likewise.
10658 (USHRT_MAX): Likewise.
10659 (INT_MAX): Likewise.
10660 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10661 bound negative.
10662 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10663 bound with "U".
10664 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10665 bound with "L".
10666 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10667 bound negative. Suffix upper bound with "L".
10668 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10669 bound with "UL".
10670 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10671 Specify type.
10672 [C99-based standards] (LLONG_MAX): Likewise.
10673 [C99-based standards] (ULLONG_MAX): Likewise.
10674 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10675 == 0.
10676 [ISO11] (max_align_t): Require type.
10677 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10678
c9140a62
JM
10679 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10680 from $CFLAGS, without defining away __attribute__ calls.
10681 (checknamespace): Use $CFLAGS_namespace.
10682
9af0bf29
JM
10683 * conform/conformtest.pl (@keywords): Only include C99 keywords
10684 for standards based on C99 or C11.
10685
343222a2
JM
10686 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10687 Disable tests.
10688 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10689 UNIX98]: Likewise.
10690
661f8cf0
JM
10691 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10692 usability of symbols in #if.
10693
ee74b9cb
JM
10694 * conform/conformtest.pl: If macro or constant types start
10695 "promoted:", expect the symbol to be of the following type
10696 promoted by the integer promotions.
62fde54f 10697
aafc49b3
JM
10698 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10699 in one place. Also handle "macro-constant".
10700
fefdf574
JM
10701 * conform/conformtest.pl: Only accept expected macro values with
10702 "==". Parse all "macro" lines in one place.
10703 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10704
f2d922fe
JM
10705 * conform/conformtest.pl: Handle braced types on "constant" lines
10706 instead of handling "typed-constant".
10707 * conform/data/signal.h-data: Use "constant" instead of
10708 "typed-constant".
10709
d22956c9
JM
10710 * conform/conformtest.pl: Handle "optional-" at start of lines in
10711 one place rather than duplicating several cases. Handle each
10712 format of "macro" line with initial "optional-".
10713
028e2e38
JM
10714 * conform/conformtest.pl: Only accept expected constant or
10715 optional-constant values with "==". Parse all "constant" lines in
10716 one place. Parse all "optional-constant" lines in one place.
10717 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10718 * conform/data/fmtmsg.h-data: Likewise.
10719 * conform/data/netinet/in.h-data: Likewise.
10720 * conform/data/tar.h-data: Likewise.
10721 * conform/data/limits.h-data: Use "==" form on "constant" and
10722 "optional-constant" lines.
10723
1b8f2850
JM
10724 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10725 Use -std=c99 for XOPEN2K.
10726 (@knownproblems): Remove.
10727 (newtoken): Don't check %isknown.
10728
a05a144b
JM
10729 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10730 Do not expect macro.
10731 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10732 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10733 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10734 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10735 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10736 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10737 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10738 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10739 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10740 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10741 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10742 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10743 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10744 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10745 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10746 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10747 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10748 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10749 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10750 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10751 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10752 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10753 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10754 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10755 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10756 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10757 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10758 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10759 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10760 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10761 [XPG3] (acosh): Likewise.
10762 [XPG3] (asinh): Likewise.
10763 [XPG3] (atanh): Likewise.
10764 [XPG3] (cbrt): Likewise.
10765 [XPG3] (expm1): Likewise.
10766 [XPG3] (ilogb): Likewise.
10767 [XPG3] (log1p): Likewise.
10768 [XPG3] (logb): Likewise.
10769 [XPG3] (nextafter): Likewise.
10770 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10771 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10772 [XPG3] (remainder): Likewise.
10773 [XPG3] (rint): Likewise.
10774 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10775 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10776 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10777 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10778 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10779 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10780 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10781 [UNIX98 || XOPEN2K] (scalb): Expect.
10782 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10783 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10784 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10785 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10786 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10787 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10788 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10789 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10790 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10791 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10792 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10793 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10794 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10795 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10796 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10797 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10798 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10799 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10800 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10801 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10802 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10803 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10804 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10805 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10806 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10807 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10808 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10809 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10810 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10811 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10812 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10813 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10814 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10815 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10816 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10817 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10818 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10819 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10820 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10821 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10822 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10823 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10824 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10825 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10826 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10827 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10828 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10829 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10830 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10831 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10832 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10833 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10834 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10835 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10836 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10837 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10838 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10839 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10840 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10841 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10842 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10843 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10844 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10845 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10846 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10847 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10848 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10849 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10850 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10851 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10852 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10853 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10854 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10855 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10856 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10857 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10858 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10859 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10860 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10861 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10862 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10863 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10864 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10865 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10866 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10867 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10868 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10869 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10870 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10871 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10872 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10873 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10874 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10875 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10876 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10877 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10878 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10879 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10880 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10881 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10882 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10883 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10884 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10885 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10886 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10887 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10888 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10889 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10890 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10891 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10892 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10893 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10894 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10895 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10896 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10897 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10898 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10899 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10900 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10901 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10902 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10903 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10904 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10905 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10906 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10907 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10908 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10909 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10910 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10911 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10912 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10913 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10914 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10915 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10916 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10917 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10918 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10919
73c5ebe3
JM
10920 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10921 _XOPEN_SOURCE_EXTENDED for XPG4.
10922
39c33b6c
JM
10923 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10924
62fde54f
JM
10925 * Makeconfig (localtime): Remove variable.
10926 (inst_localtime-file): Likewise.
10927
0741d64c
AS
109282012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10929
10930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10931 Update.
10932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10933 Update.
10934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10935 Update.
10936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10937 Update.
10938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10939 Update.
10940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10941 Update.
10942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10943 Update.
10944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10945 Update.
10946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10947 Update.
10948
7cb029ee
JM
109492012-05-01 Joseph Myers <joseph@codesourcery.com>
10950
10951 [BZ #2550]
10952 [BZ #2570]
10953 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10954 comparisons to determine direction to adjust input.
10955 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10956 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10957 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10958 Likewise.
10959 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10960 Likewise.
10961 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10962 Likewise.
10963 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10964 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10965 Likewise.
10966 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10967 Likewise.
10968 * math/libm-test.inc (nexttoward_test): Add more tests.
10969
412bd966
AS
109702012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10971
10972 [BZ #14040]
10973 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10974 in version GLIBC_2.1, not GLIBC_2.0.
10975 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10976 Likewise.
10977
9568c0c2
JM
109782012-04-30 Joseph Myers <joseph@codesourcery.com>
10979
adfbc8ac
JM
10980 [BZ #13942]
10981 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10982 (1 - x) * (1 + x).
10983 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10984 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10985 * math/libm-test.inc (acos_test): Add more tests.
10986 (asin_test): Likewise.
10987 * sysdeps/i386/fpu/libm-test-ulps: Update.
10988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10989
5ba3cc69
JM
10990 [BZ #14034]
10991 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10992 of square root.
10993 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10994 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10995 * math/libm-test.inc (acos_test_tonearest): New function.
10996 (acos_test_towardzero): Likewise.
10997 (acos_test_downward): Likewise.
10998 (acos_test_upward): Likewise.
10999 (asin_test_tonearest): Likewise.
11000 (asin_test_towardzero): Likewise.
11001 (asin_test_downward): Likewise.
11002 (asin_test_upward): Likewise.
11003 (main): Call the new functions.
11004 * sysdeps/i386/fpu/libm-test-ulps: Update.
11005 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11006
9568c0c2
JM
11007 [BZ #13884]
11008 [BZ #13924]
11009 * math/e_exp10.c: Include <float.h>.
11010 (__ieee754_exp10): Handle underflow here rather than multiplying
11011 large negative argument by M_LN10.
11012 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11013 of __ieee754_expf.
11014 * math/e_exp10l.c: Include <float.h>.
11015 (__ieee754_exp10l): Handle underflow here rather than multiplying
11016 large negative argument by M_LN10l.
11017 * math/libm-test.inc (exp10_test): Add another test. Do not allow
11018 spurious overflow exception on underflow.
11019
5ac3ea17
MP
110202012-04-29 Marek Polacek <polacek@redhat.com>
11021
11022 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11023 (__fortify_function): New macro.
11024 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11025 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11026 __extern_always_inline.
11027 * libio/bits/stdio2.h: Likewise.
11028 * libio/bits/stdio.h: Likewise.
11029 * string/string.h: Likewise.
11030 * string/bits/string3.h: Likewise.
11031 * include/stdio.h: Likewise.
11032 * stdlib/bits/stdlib.h: Likewise.
11033 * stdlib/stdlib.h: Likewise.
11034 * rt/bits/mqueue2.h: Likewise.
11035 * rt/mqueue.h: Likewise.
11036 * posix/bits/unistd.h: Likewise.
11037 * posix/unistd.h: Likewise.
11038 * io/bits/poll2.h: Likewise.
11039 * io/bits/fcntl2.h: Likewise.
11040 * io/fcntl.h: Likewise.
11041 * io/sys/poll.h: Likewise.
11042 * misc/bits/syslog.h: Likewise.
11043 * misc/bits/syslog-ldbl.h: Likewise.
11044 * misc/sys/syslog.h: Likewise.
11045 * socket/bits/socket2.h: Likewise.
11046 * socket/sys/socket.h: Likewise.
11047 * debug/tst-chk1.c: Likewise.
11048 * wcsmbs/bits/wchar2.h: Likewise.
11049 * wcsmbs/bits/wchar-ldbl.h: Likewise.
11050 * wcsmbs/wchar.h: Likewise.
11051
ecf0ebfb
AJ
110522012-04-29 Andreas Jaeger <aj@suse.de>
11053
11054 * Makerules (tests): Remove enable-check-abi protection.
11055 (check-abi-warn): Remove.
11056 (check-abi-%): Remove check-abi-warn usage.
11057
11058 * configure.in: Remove check-abi configure option.
11059 * configure: Regenerated.
11060 * config.make.in (enable-check-abi): Remove.
11061
6d5c57fa
AS
110622012-04-28 Andreas Schwab <schwab@linux-m68k.org>
11063
24c5d07e 11064 [BZ #14033]
ded5180a
AS
11065 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11066 double functions to double *_finite functions.
11067
7e0d315d
AS
11068 [BZ #13941]
11069 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11070 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11071 LDBL_MIN_EXP.
11072 * stdio-common/Makefile (tests): Add tst-sprintf3.
11073 * stdio-common/tst-sprintf3.c: New file.
11074
6d5c57fa
AS
11075 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11076 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11077
0749ff8b
JM
110782012-04-28 Joseph Myers <joseph@codesourcery.com>
11079
11080 * conform/conformtest.pl: Remove duplicate typed-constant
11081 handling.
11082
8dbd5d7b
DM
110832012-04-28 David S. Miller <davem@davemloft.net>
11084
11085 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11086 (check-abi-%): Remove AWK script prerequisite and explicit
11087 abilist directory.
11088 (check-abi): Rewrite to just diff the symlist with the abilist.
11089 (config-tls, config-abi-config): Delete, no longer used.
11090 (update-abi-%): Remove AWK script and explicit abilist directory.
11091 (update-abi): Rewrite to simply compare and conditionally copy the
11092 symlist and the sysdep abilist file. Remove update-abi-config
11093 checks.
11094 * abilist/ld.abilist: Remove.
11095 * abilist/libBrokenLocale.abilist: Remove.
11096 * abilist/libanl.abilist: Remove.
11097 * abilist/libcrypt.abilist: Remove.
11098 * abilist/libdl.abilist: Remove.
11099 * abilist/librt.abilist: Remove.
11100 * abilist/libthread_db.abilist: Remove.
11101 * abilist/libutil.abilist: Remove.
11102 * scripts/extract-abilist.awk: Remove.
11103 * scripts/merge-abilist.awk: Remove.
11104 * sysdeps/generic/libcidn.abilist: New file.
11105 * sysdeps/generic/libnss_compat.abilist: New file.
11106 * sysdeps/generic/libnss_db.abilist: New file.
11107 * sysdeps/generic/libnss_dns.abilist: New file.
11108 * sysdeps/generic/libnss_files.abilist: New file.
11109 * sysdeps/generic/libnss_hesiod.abilist: New file.
11110 * sysdeps/generic/libnss_nis.abilist: New file.
11111 * sysdeps/generic/libnss_nisplus.abilist: New file.
11112 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11113 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11114 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11115 file.
11116 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11117 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11118 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11119 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11120 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11121 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11122 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11123 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11124 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11125 file.
11126 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11127 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11128 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11129 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11130 file.
11131 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11132 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11133 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11134 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11135 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11136 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11137 file.
11138 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11139 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11140 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11141 file.
11142 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11143 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11144 New file.
11145 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11146 New file.
11147 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11148 New file.
11149 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11150 New file.
11151 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11152 New file.
11153 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11154 New file.
11155 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11156 New file.
11157 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11158 New file.
11159 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11160 New file.
11161 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11162 New file.
11163 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11164 New file.
11165 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11166 New file.
11167 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11168 New file.
11169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11170 file.
11171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11172 New file.
11173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11174 New file.
11175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11176 file.
11177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11178 New file.
11179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11180 New file.
11181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11182 file.
11183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11184 New file.
11185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11186 New file.
11187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11188 New file.
11189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11190 New file.
11191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11192 New file.
11193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11194 New file.
11195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11197 file.
11198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11199 New file.
11200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11201 file.
11202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11203 file.
11204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11205 file.
11206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11207 file.
11208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11209 file.
11210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11211 New file.
11212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11213 file.
11214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11215 file.
11216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11217 New file.
11218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11219 file.
11220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11222 file.
11223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11224 New file.
11225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11226 file.
11227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11228 file.
11229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11230 file.
11231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11232 file.
11233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11234 file.
11235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11236 New file.
11237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11238 file.
11239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11240 file.
11241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11242 New file.
11243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11244 file.
11245 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11246 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11247 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11248 file.
11249 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11250 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11251 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11252 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11253 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11254 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11255 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11256 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11257 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11258 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11259 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11261 file.
11262 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11263 New file.
11264 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11265 file.
11266 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11267 file.
11268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11269 file.
11270 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11271 file.
11272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11273 file.
11274 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11275 New file.
11276 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11277 New file.
11278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11279 file.
11280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11281 New file.
11282 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11283 file.
11284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11285 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11286 file.
11287 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11288 New file.
11289 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11290 file.
11291 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11292 file.
11293 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11294 file.
11295 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11296 file.
11297 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11298 file.
11299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11300 New file.
11301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11302 New file.
11303 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11304 file.
11305 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11306 New file.
11307 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11308 file.
11309
41d73a1b
JM
113102012-04-28 Joseph Myers <joseph@codesourcery.com>
11311
11312 * conform/conformtest.pl: Fix typo in handling typed-constant from
11313 allow-header.
11314
28aeeda4
JM
113152012-04-27 Joseph Myers <joseph@codesourcery.com>
11316
adae8f5e
JM
11317 * README: Cut down references to pre-2.6 Linux kernels and
11318 Linuxthreads. Update lists of configurations in libc and ports
11319 and sort alphabetically. Say "or newer" with Linux kernel version
11320 requirements.
11321
28aeeda4
JM
11322 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11323
a462cb63
RA
113242012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11325
11326 [BZ #887]
11327 * math/libm-test.inc (logb_test_downward): New test to expose
11328 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11329 rounding mode.
11330
6ad3493e
JM
113312012-04-27 Joseph Myers <joseph@codesourcery.com>
11332
11333 [BZ #14027]
11334 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11335 to be done.
11336 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11337 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11338
2ce4f015
JM
113392012-04-26 Joseph Myers <joseph@codesourcery.com>
11340
5aeb141a
JM
11341 * sysdeps/unix/i386/brk.S: Remove file.
11342 * sysdeps/unix/i386/dl-brk.S: Likewise.
11343 * sysdeps/unix/i386/pipe.S: Likewise.
11344 * sysdeps/unix/i386/sigreturn.S: Likewise.
11345 * sysdeps/unix/i386/syscall.S: Likewise.
11346 * sysdeps/unix/i386/vfork.S: Likewise.
11347 * sysdeps/unix/i386/wait.S: Likewise.
11348
7143acae
JM
11349 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11350 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11351
2ce4f015
JM
11352 * configure.in (arm*-none*): Do not allow without
11353 --enable-hacker-mode.
11354 (netbsd*): Remove case setting base_os.
11355 (386bsd*): Likewise.
11356 (freebsd*): Likewise.
11357 (bsdi*): Likewise.
11358 (osf*): Likewise.
11359 (sunos*): Likewise.
11360 (ultrix*): Likewise.
11361 (newsos*): Likewise.
11362 (dynix*): Likewise.
11363 (*bsd*): Likewise.
11364 (sysv*): Likewise.
11365 (isc*): Likewise.
11366 (esix*): Likewise.
11367 (sco*): Likewise.
11368 (minix*): Likewise.
11369 (irix4*): Likewise.
11370 (irix6*): Likewise.
11371 (solaris[2-9]*): Likewise.
11372 (none): Likewise.
11373 * configure: Regenerated.
11374
0ac229c8
AZ
113752012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11376
11377 [BZ #11521]
11378 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11379 overflow or cancellation in calculating denominator.
11380 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11381 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11382 down expression to avoid unexpected rounding in newer GCCs.
11383 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11384
33f244f4
DM
113852012-04-26 David S. Miller <davem@davemloft.net>
11386
11387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11388 long-double compat symbols.
11389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11402
cfa1f3e8
DM
114032012-04-25 David S. Miller <davem@davemloft.net>
11404
11405 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11406 HWCAP_* values only after the memory barriers have been defined.
11407 (atomic_full_barrier): Define.
11408 (atomic_read_barrier): Define.
11409 (atomic_write_barrier): Define.
11410
6e236b92
SP
114112012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11412
11413 * shlib-versions: Add libgcc_s version information.
11414 * sysdeps/generic/libgcc_s.h: Remove.
11415 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11416 libgcc_s.h.
11417 * sysdeps/gnu/unwind-resume.c: Likewise.
11418 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11419
aab39a09
DM
114202012-04-25 David S. Miller <davem@davemloft.net>
11421
11422 * sysdeps/unix/sparc/brk.S: Delete.
11423 * sysdeps/unix/sparc/dl-brk.S: Delete.
11424 * sysdeps/unix/sparc/pipe.S: Delete.
11425 * sysdeps/unix/sparc/sysdep.S: Delete.
11426 * sysdeps/unix/sparc/sysdep.h: Delete.
11427 * sysdeps/unix/sparc/vfork.S: Delete.
11428 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11429 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11430 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11431 ret_ERRVAL, r0, r1, MOVE): Define.
11432 (JUMPTARGET): Remove.
11433 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11434 sysdeps/unix/sparc/sysdep.h
11435 (ENTRY, END): Remove.
11436 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11437
a3cc4f48
JM
114382012-04-25 Joseph Myers <joseph@codesourcery.com>
11439
2ed8cda2
JM
11440 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11441 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11442 -DIS_IN_build.
11443
35d76d59
JM
11444 * timezone/README: Update upstream location and email address for
11445 tzcode and tzdata.
11446 * timezone/zdump.c: Update from tzcode 2012b.
11447 * timezone/zic.c: Likewise.
11448
a3cc4f48
JM
11449 * configure.in (libc_cv_as_needed): Remove test.
11450 * configure: Regenerated.
11451 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11452 conditional definition.
11453 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11454 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11455 * config.make.in (have-as-needed): Remove variable.
11456
ceab42c3
SP
114572012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11458 Paul Pluzhnikov <ppluzhnikov@google.com>
11459
11460 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11461 strings correctly.
11462
3ce2865f
CLT
114632012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11464
11465 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11466 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11467 * sysdeps/sh/strlen.S: Likewise.
11468
f37e0d68
JM
114692012-04-24 Joseph Myers <joseph@codesourcery.com>
11470
ae186e9a
JM
11471 * sysdeps/unix/fork.S: Remove file.
11472 * sysdeps/unix/i386/fork.S: Likewise.
11473 * sysdeps/unix/sparc/fork.S: Likewise.
11474
b96914af
JM
11475 * sysdeps/unix/system.c: Remove file.
11476 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11477
f37e0d68
JM
11478 * sysdeps/unix/getegid.S: Remove file.
11479 * sysdeps/unix/geteuid.S: Likewise.
11480
87ef29ca
RM
114812012-04-24 Roland McGrath <roland@hack.frob.com>
11482
83bcd236
RM
11483 * scripts/check-localplt.awk: New file.
11484 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11485 of diff.
11486 * scripts/data/localplt-generic.data: Add a comment.
11487
87ef29ca
RM
11488 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11489 NODE when __dir_mkfile failed.
11490 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11491 Reported by Ludovic Courtès <ludo@gnu.org>.
11492
e5a6e567
AJ
114932012-04-24 Andreas Jaeger <aj@suse.de>
11494
11495 * Makerules (common-clean): Also remove gen-as-const-headers
11496 files.
11497
c1820385
JM
114982012-04-24 Joseph Myers <joseph@codesourcery.com>
11499
11500 * Makerules (native-compile): Do not change working directory for
11501 build. Use $(OUTPUT_OPTION) in command.
11502 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11503
94e02fc4
AZ
115042012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11505
11506 [BZ #13886]
11507 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11508 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11509 * math/libm-test.inc (floor_test): Add more tests.
11510 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11511
3a533ca3
JM
115122012-04-24 Joseph Myers <joseph@codesourcery.com>
11513
940ab4b3
JM
11514 * sysdeps/unix/getdents.c: Remove file.
11515 * sysdeps/unix/sysv/getdents.c: Likewise.
11516 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11517
90e037bd
JM
11518 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11519 sysdeps/unix/mman/syscalls.list.
11520 (mmap): Likewise.
11521 (mprotect): Likewise.
11522 (msync): Likewise.
11523 (munmap): Likewise.
11524 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11525 * sysdeps/unix/mman/syscalls.list: Remove.
11526 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11527
3a533ca3
JM
11528 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11529 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11530 * configure: Regenerated.
11531 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11532 $(libgcc_s_suffix).
11533 * config.make.in (libgcc_s_suffix): Remove variable.
11534
1ad743de
JM
115352012-04-23 Joseph Myers <joseph@codesourcery.com>
11536
4ad451e2
JM
11537 * sysdeps/unix/sysv/gethostname.c: Move to ...
11538 * sysdeps/posix/gethostname.c: ... here.
11539
5e37ce39
JM
11540 * sysdeps/unix/execve.S: Remove file.
11541
1ad743de
JM
11542 * sysdeps/unix/_exit.S: Remove file.
11543
4e681b5b
AJ
115442012-04-23 Andreas Jaeger <aj@suse.de>
11545
11546 [BZ #13739]
11547 * manual/Makefile: Remove make dist support, there's no
11548 need for a stand-alone documentation tar ball.
11549 (TEXI2DVI): Define always, it's not in Makeconfig.
11550 (dist): Removed.
11551 (tar-it): Removed.
11552 (edition): Removed.
11553 (glibc-doc-$(edition).tar): Removed
11554 (%.Z): Removed.
11555 (%.gz): Removed.
11556 (%.uu): Removed.
11557 (ETAGS): Remove, it's in Makeconfig.
11558 (move-if-change): Remove, it's in Makeconfig.
11559
c0baea34
PE
115602013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11561
11562 [BZ #13970]
11563 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11564 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11565 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11566 (strtod_l, strtof_l, strtold_l): Remove __wur.
11567 It is not necessarily an error to ignore strtol's return value.
11568 One can reliably look at the stored endptr to decide whether
11569 the number had valid syntax.
11570
7c0616fa
AJ
115712012-04-21 Andreas Jaeger <aj@suse.de>
11572
803cb6b7 11573 [BZ #13739]
7c0616fa
AJ
11574 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11575
b0fe253f
JM
115762012-04-21 Joseph Myers <joseph@codesourcery.com>
11577
11578 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11579 * sysdeps/unix/sysv/Versions: Remove file.
11580
8280f22d
MT
115812012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11582
11583 [BZ #13927]
11584 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11585
75ce411f 115862012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
11587
11588 [BZ #7064]
11589 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11590 version from __vm86.
11591
097d59fa
JM
115922012-04-20 Joseph Myers <joseph@codesourcery.com>
11593
a90f3bcb
JM
11594 * sysdeps/unix/common/lxstat.c: Remove file.
11595 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11596
edc7ea78
JM
11597 * sysdeps/unix/sysv/Makefile: Remove file.
11598
cb78c221
JM
11599 * sysdeps/unix/sysv/direct.h: Remove file.
11600
efa6a45f
JM
11601 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11602 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11603 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11604 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11605 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11606 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11607 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11608
9c9f2d0c
JM
11609 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11610
4541c83b
JM
11611 * sysdeps/unix/xmknod.c: Remove file.
11612 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11613
f5d153a0
JM
11614 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11615
aa746595
JM
11616 * sysdeps/unix/sysv/i386/time.S: Remove file.
11617
cce5905e
JM
11618 * sysdeps/unix/fxstat.c: Remove file.
11619 * sysdeps/unix/xstat.c: Likewise.
11620 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11621
37fa3841
JM
11622 * sysdeps/unix/sysv/sigaction.c: Remove file.
11623
ff1962a3
JM
11624 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11625 (sysdep_headers): Remove variable.
11626 [termio.h not in sysdep_headers] (generated): Likewise.
11627 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11628 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11629 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11630 * sysdeps/unix/sysv/tcflow.c: Likewise.
11631 * sysdeps/unix/sysv/tcflush.c: Likewise.
11632 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11633 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11634 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11635 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11636 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11637
e7740d31
JM
11638 * sysdeps/unix/siglist.c: Remove file.
11639
ee06f18b
JM
11640 * sysdeps/unix/getppid.S: Remove file.
11641
097d59fa
JM
11642 * sysdeps/unix/mkdir.c: Remove file.
11643 * sysdeps/unix/rmdir.c: Likewise.
11644
ff3d51ec
AS
116452012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11646
11647 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11648 ERR_MAX value.
11649 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11650 errlist-compat value.
11651
50f81fd7
DM
116522012-04-18 David S. Miller <davem@davemloft.net>
11653
11654 * sysdeps/generic/memcopy.h (reg_char): Delete.
11655 * debug/strcat_chk.c: Use char, not reg_char.
11656 * debug/strcpy_chk.c: Likewise.
11657 * debug/strncat_chk.c: Likewise.
11658 * debug/strncpy_chk.c: Likewise.
11659 * string/memchr.c: Likewise.
11660 * string/memrchr.c: Likewise.
11661 * string/rawmemchr.c: Likewise.
11662 * string/strcat.c: Likewise.
11663 * string/strchr.c: Likewise.
11664 * string/strchrnul.c: Likewise.
11665 * string/strcmp.c: Likewise.
11666 * string/strcpy.c: Likewise.
11667 * string/strncat.c: Likewise.
11668 * string/strncmp.c: Likewise.
11669 * string/strncpy.c: Likewise.
11670
8ff41c46
WS
116712012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11672
11673 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11674 __builtin_memcopy is called when src and dest ranges are known to not
11675 overlap.
11676
6b652f46
WS
116772012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11678
11679 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11680 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11681 fwd_align_merge macro call.
11682 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11683 bwd_align_merge macro call.
11684 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11685
b282631e
WS
116862012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11687
11688 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11689 bwd_align_merge macros.
11690 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11691 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11692 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11693
95aa737c
DM
116942012-04-18 David S. Miller <davem@davemloft.net>
11695
11696 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11697
7a99a614
AJ
116982012-04-18 Andreas Jaeger <aj@suse.de>
11699
11700 [BZ# 6794]
11701 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11702 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11703 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11704
11705 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11706 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11707 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11708
11709 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11710 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11711 Adjust for changed ldbl-128 files.
11712
11713 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11714 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11715 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11716
e5270c23
DM
117172012-04-17 David S. Miller <davem@davemloft.net>
11718
11719 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11720
fb5e92c9
AS
117212012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11722
11723 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11724 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11725 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11726 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11727 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11728 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11729
76da7265
AZ
117302012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11731
11732 [BZ #6794]
11733 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11734 * math/libm-test.inc: Add ilogb errno and exception tests.
11735 * math/w_ilogb.c: New file: ilogb wrapper.
11736 * math/w_ilogbf.c: New file: ilogbf wrapper.
11737 * math/w_ilogbl.c: New file: ilogbl wrapper.
11738 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11739 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11740 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11741 exception being thrown with 0.0 as argument.
11742 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11743 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11744 exception being thrown with 0.0 as argument.
11745 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11746 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11747 exception being thrown with 0.0 as argument.
11748 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11749 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11750 exception being thrown with 0.0 as argument.
11751 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11752 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 11753 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
11754 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11755 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11756 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11757 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11758 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11759 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11760
0396e69d
PB
117612012-04-17 Petr Baudis <pasky@ucw.cz>
11762
11763 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11764 with altivec.
11765
750b5926
MP
117662012-04-16 Marek Polacek <polacek@redhat.com>
11767
11768 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11769
751728a1
MP
117702012-04-16 Marek Polacek <polacek@redhat.com>
11771
11772 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11773 operands of fdivp instruction.
11774
34a27407
L
117752012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11776
11777 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11778 * elf/tst-auditmod3b.c: Likewise.
11779 * elf/tst-auditmod4b.c: Likewise.
11780 * elf/tst-auditmod5b.c: Likewise.
11781 * elf/tst-auditmod6b.c: Likewise.
11782 * elf/tst-auditmod6c.c: Likewise.
11783 * elf/tst-auditmod7b.c: Likewise.
11784 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11785 * sysdeps/x86_64/preconfigure.in: Likewise.
11786 * sysdeps/x86_64/preconfigure: Regenerated.
11787
7e73e17d
L
117882012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11789
11790 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11791 __ILP32__.
11792
c7a6ab72
AB
117932012-04-13 Antoine Balestrat <merkil33@gmail.com>
11794
11795 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11796 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11797
a9e8e0e0
CL
117982012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11799
11800 [BZ #13973]
11801 * locale/iso-639.def: Fix gl language name. Spotted by
11802 Yaron Shahrabani.
11803
ec98af7d
RM
118042012-04-12 Roland McGrath <roland@hack.frob.com>
11805
11806 [BZ #2074]
11807 * libio/libio.h (__io_write_fn): Update comment.
11808
247c3ede
PB
118092012-04-12 Petr Baudis <pasky@ucw.cz>
11810
11811 [BZ #2074]
11812 * stdio.texi (Hook Functions): The user provided writer function
11813 is not allowed to return -1.
11814
55939d6d
DM
118152012-04-11 David S. Miller <davem@davemloft.net>
11816
11817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11818
90020f5a
MF
118192012-04-11 Mike Frysinger <vapier@gentoo.org>
11820
11821 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11822 Add a leading slash to rtkaio.
11823
288f9098
JM
118242012-04-11 Jim Meyering <meyering@redhat.com>
11825
90020f5a
MF
11826 [BZ #11959]
11827 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11828 It is not necessarily an error to ignore fwrite's return
11829 value. One can reliably use ferror to test for errors after
11830 the fact.
288f9098 11831
4be2b570
L
118322012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11833
11834 * bits/types.h (__snseconds_t): New type.
11835 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11836
11837 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11838 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11839 (__SNSECONDS_T_TYPE): Likewise.
11840 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11841 (__SNSECONDS_T_TYPE): Likewise.
11842 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11843 (__SNSECONDS_T_TYPE): Likewise.
11844
288f9098 118452012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
11846
11847 [BZ #2636]
11848 * manual/time.texi (Processor Time): Return type of times is
11849 elapsed real time since an arbitrary point in the past.
11850 (CPU Time): Move CLK_TCK from here...
11851 (Processor Time): ...to here. Correct description.
11852 * manual/conf.texi (Constants for Sysconf): Correct description of
11853 _SC_CLK_TCK.
11854
d7dd4413
DM
118552012-04-10 David S. Miller <davem@davemloft.net>
11856
11857 [BZ #13967]
11858 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11859 where the is a gap between DT_REL(A) and DT_JMPREL.
11860
b46068fc
L
118612012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11862
11863 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11864 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11865 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11866
73d65cc3
SP
118672012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11868
11869 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11870 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11871 (dl_main): Handle --inhibit-cache.
11872 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11873 _dl_inhibit_cache.
11874 * elf/dl-load.c (_dl_map_object): Use it.
11875 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11876
bcc8d661
JM
118772012-04-09 Joseph Myers <joseph@codesourcery.com>
11878
8f9a2fae
JM
11879 [BZ #13872]
11880 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11881 (__ieee754_powl): Saturate large exponents rather than testing for
11882 overflow of y*log2(x).
11883 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11884 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11885 exceptions.
11886
bcc8d661
JM
11887 [BZ #11521]
11888 * math/s_ctan.c: Include <float.h>.
11889 (__ctan): Avoid internal overflow or cancellation in calculating
11890 denominator.
11891 * math/s_ctanf.c: Likewise.
11892 * math/s_ctanl.c: Likewise.
11893 * math/s_ctanh.c: Likewise.
11894 * math/s_ctanhf.c: Likewise.
11895 * math/s_ctanhl.c: Likewise.
11896 * math/libm-test.inc (ctan_test): Add more tests.
11897 (ctanh_test): Likewise.
11898 * sysdeps/i386/fpu/libm-test-ulps: Update.
11899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11900
823fbbb4
AJ
119012012-04-09 Andreas Jaeger <aj@suse.de>
11902
03879793
AJ
11903 [BZ #6894]
11904 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11905 is an optional BSD extension.
11906
823fbbb4
AJ
11907 [BZ #10254]
11908 * manual/stdio.texi (Opening Streams): Document additional fopen
11909 parameters.
11910
8de131cb
RM
119112012-04-09 Roland McGrath <roland@hack.frob.com>
11912
11913 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11914 %eax without telling the compiler.
11915
c0ed9d7d
CD
119162012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11917
11918 [BZ # 13963]
11919 * manual/install.texi: Use sourceware.org.
11920
c483f6b4
JM
119212012-04-09 Joseph Myers <joseph@codesourcery.com>
11922
d7dd9453
JM
11923 [BZ #13873]
11924 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11925 (__ieee754_pow): Generate overflow and underflow using huge*huge
11926 and tiny*tiny rather than just returning constant infinity or zero
11927 for large exponents.
11928 * math/libm-test.inc (pow_test): Require overflow exceptions for
11929 applicable cases of large exponents.
11930
c483f6b4
JM
11931 [BZ #706]
11932 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11933 (__ieee754_pow): Use iterative multiplication algorithm only for
11934 integer exponents with absolute value below 1024. Check for odd
11935 integer exponents when using algorithm for real exponents.
11936 * math/libm-test.inc (pow_test): Add more tests.
11937 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11938
d2de7579
JM
119392012-04-08 Joseph Myers <joseph@codesourcery.com>
11940
11941 [BZ #13705]
11942 * math/libm-test.inc (exp_test): Do not allow overflow exception
11943 on underflow test.
11944
f77f1232
AJ
119452012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11946
11947 [BZ #13705]
11948 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11949 instead of __kernel_standard_f.
11950
3884932b
MF
119512012-04-08 Mike Frysinger <vapier@gentoo.org>
11952
11953 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11954 * sysdeps/x86_64/memset_chk.S: Likewise.
11955
54472e9c
AJ
119562012-04-08 Andreas Jaeger <aj@suse.de>
11957
6ab0fbfc
AJ
11958 [BZ #10153]
11959 * manual/startup.texi (Environment Access): Describe return value
11960 for putenv and setenv.
11961
61efba8c
AJ
11962 [BZ #6895]
11963 * manual/filesys.texi (Directory Entries): Add description for
11964 DT_LNK.
11965
95c3f29a
AJ
11966 [BZ #6890]
11967 * manual/filesys.texi (Directory Entries): Clarify that it's file
11968 system not operating system in the description of DT_UNKNOWN.
11969
54472e9c
AJ
11970 [BZ #6578]
11971 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11972
624254b1
SC
119732012-04-08 Stephen Compall <s11@member.fsf.org>
11974
11975 [BZ #6649]
11976 * manual/llio.texi (Opening and Closing Files): Add cross
11977 reference to explain mode argument.
11978
1e4920e0
MF
119792012-04-07 Mike Frysinger <vapier@gentoo.org>
11980
11981 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11982 * sysdeps/x86_64/memset_chk.S: Likewise.
11983
5ed848f3
DM
119842012-04-07 David S. Miller <davem@davemloft.net>
11985
11986 * elf/elf.h (R_SPARC_WDISP10): Define.
11987 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11988 R_SPARC_SIZE32.
11989 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11990 R_SPARC_SIZE64 and R_SPARC_H34.
11991
96154cd8
CD
119922012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11993
11994 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11995 conditions and remove no longer applicable assertion.
11996
9904dc47
L
119972012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11998
11999 * bits/byteswap.h: Include <features.h>.
12000 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12001 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12002
f8887d0a
L
120032012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12004
12005 * bits/byteswap.h (__bswap_16): Removed.
12006 Include <bits/byteswap-16.h> to get __bswap_16.
12007 * sysdeps/i386/bits/byteswap.h: Likewise.
12008 * sysdeps/s390/bits/byteswap.h: Likewise.
12009 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12010 * bits/byteswap-16.h: New file.
12011 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12012 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12013 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12014 * string/Makefile (headers): Add bits/byteswap-16.h.
12015
62470f60
PP
120162012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12017
12018 [BZ #13895]
12019 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12020 extra indirection.
12021 * nss/Makefile (tests-static, tests): Add tst-nss-static.
12022 * nss/tst-nss-static.c: New.
12023
4dad7bab
RM
120242012-04-06 Robert Millan <rmh@gnu.org>
12025
12026 [BZ #6486]
12027 * manual/llio.texi (File Position Primitive): lseek
12028 refers to WHENCE when it really means OFFSET.
12029
e9142a17
AJ
120302012-04-06 Andreas Jaeger <aj@suse.de>
12031
2c040eff
AJ
12032 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12033 strncmp declarations.
12034
e9142a17
AJ
12035 * abilist/libc.abilist: Add __poll and __ppoll.
12036
ff9f1c5f
DM
120372012-04-05 David S. Miller <davem@davemloft.net>
12038
dcd2ae90
DM
12039 * scripts/check-local-headers.sh: Accept a host triplet in the
12040 path matched by the exclude regexp.
12041
993eb054
DM
12042 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12043 definition.
12044 * sysdeps/powerpc/powerpc32/dl-machine.h
12045 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12046 * sysdeps/s390/s390-32/dl-machine.h
12047 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12048 * sysdeps/sparc/sparc32/dl-machine.h
12049 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12050 * sysdeps/sparc/sparc64/dl-machine.h
12051 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12052
ff9f1c5f
DM
12053 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12054 lazy binding.
48e2e132 12055 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
12056 undefined symbol errors.
12057
48e2e132 12058 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
12059 DT_NEEDED entries.
12060
e80d6f94
MM
120612012-04-05 Michael Matz <matz@suse.de>
12062
12063 [BZ #13592]
12064 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12065
349fa79f
AJ
120662012-04-05 Andreas Jaeger <aj@suse.de>
12067
12068 [BZ #13908]
12069 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12070 comment.
12071
f402708f
KK
120722012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12073
12074 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12075 which ROUND is no valid rounding mode.
12076
2ecccfc9
KK
120772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12078
12079 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12080 read again.
12081 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12082
8a53f50f
KK
120832012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12084
12085 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12086 an exception using FPU order intentionally.
12087
120882012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12089
12090 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12091 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12092 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12093 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12094
d653abb7
SJ
120952012-04-05 Simon Josefsson <simon@josefsson.org>
12096
12097 [BZ #12340]
12098 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12099 EINVAL when BUFLEN is too smal.
12100
c3b1bf7d
TS
121012012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12102
12103 [BZ #13553]
12104 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12105 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12106
b1aa60f3
AJ
121072012-04-03 Andreas Jaeger <aj@suse.de>
12108
c3b1bf7d 12109 [BZ #13938]
67f60a26
AJ
12110 * manual/setjmp.texi (System V contexts): Fix sentence.
12111
b1aa60f3
AJ
12112 [BZ #13926]
12113 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12114 New macro for this case.
12115 [!__GNUC__] (__bswap_64): New inline function for this case.
12116 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12117 * bits/byteswap.h: Likewise.
12118 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12119 ull, guard with __GLIBC_HAVE_LONG_LONG.
12120
12121 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12122 __GLIBC_HAVE_LONG_LONG.
12123
12124 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12125 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12126
39c59c35
TMQMF
121272012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12128
12129 [BZ #13691]
12130 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12131 inptr and inend, rather than using last_ch.
12132
135ffda8
DM
121332012-04-02 David S. Miller <davem@davemloft.net>
12134
12135 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12136 * stdio-common/printf-parse.h (read_int): Change return type to
12137 'int', return -1 on INT_MAX overflow.
12138 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12139 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12140 overflows INT_MAX. Check for overflow of in-format-string precision
12141 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12142 SIZE_MAX not INT_MAX for integer overflow test.
12143 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12144 skip the construct in the format string but do not record anything.
12145 * stdio-common/bug22.c: Adjust to test both width/prevision
12146 INT_MAX overflow as well as total length INT_MAX overflow. Check
12147 explicitly for proper errno values.
12148
228c019e
TS
121492012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12150
302cadd3
TS
12151 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12152 CHAR_MAX.
12153 * string/test-strcmp.c [! WIDE]: Likewise.
12154 * time/tst-mktime2.c: Likewise for INT_MAX.
12155 * string/test-string.h: #include <sys/param.h> for MIN.
12156
228c019e
TS
12157 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12158 * sysdeps/i386/init-first.c (init): Likewise.
12159 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12160 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12161 * sysdeps/sh/init-first.c (init): Likewise.
12162
cfa633f5
UD
121632012-04-01 Ulrich Drepper <drepper@gmail.com>
12164
12165 * po/ru.po: Update from translation team.
d1635ef8 12166 * po/vi.po: Likewise.
cfa633f5 12167
6cd0a5ea
SP
121682012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12169
12170 * resolv/nss_dns/dns-host.c: Merge copyright years.
12171
4b43400f
LD
121722012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12173
12174 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12175 Optimize memcpy with prefetch if
12176 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12177 src, dst pointers have unequal 16 byte alignments.
12178
48c41d04
SP
121792012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12180
12181 [BZ #13928]
12182 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12183 from a CNAME entry and return the minimum ttl for the query.
12184 (gaih_getanswer_slice): Likewise.
12185
b8dc394d
JL
121862012-03-30 Jeff Law <law@redhat.com>
12187
12188 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12189 due to long keys.
12190 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12191 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12192
2f5a5ed0
JL
12193 * resolv/nss_dns/dns-host.c: Update copyright year.
12194
1d39e359
UD
121952012-03-30 Ulrich Drepper <drepper@gmail.com>
12196
c030f70c 12197 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 12198 requests to save a system call. Fix check that all bytes are sent.
c030f70c 12199
1d39e359
UD
12200 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12201 comments for sendmmsg.
12202
122032012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
12204
12205 [BZ #13691]
12206 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12207 with only 1 character between 0x0041 and 0x01b0.
12208 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12209 * wcsmbs/tst-mbsnrtowcs.c: New file.
12210
20fde227
DM
122112012-03-29 David S. Miller <davem@davemloft.net>
12212
12213 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12214 small copies by hand.
12215
984a4237
JL
122162012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12217
12218 [BZ #13761]
12219 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12220 _nss_compat_initgroups_dyn): Fall back to malloc/free
12221 for large group memberships.
12222
18c9d62b
DM
122232012-03-28 David S. Miller <davem@davemloft.net>
12224
88d85d4f
DM
12225 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12226 that branches into memcpy.
12227 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12228 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12229 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12230 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12231 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12232 bits.
12233 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12234 implementation too.
12235 * sysdeps/sparc/mempcpy.S: New file.
12236
e5aa83e1
DM
12237 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12238 the IFUNC routine in the libc case.
12239 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12240
88570753
DM
12241 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12242 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12243 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12244 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12245 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12246 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12247 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12248 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12249
249d7567
DM
12250 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12251 loop to 256 bytes instead of 64 bytes and fix test signedness.
12252
18c9d62b
DM
12253 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12254 * sysdeps/sparc/sparc32/Makefile: rather than here...
12255 * sysdeps/sparc/sparc64/Makefile: and here.
12256
05f3d1f6
UD
122572012-03-28 Ulrich Drepper <drepper@gmail.com>
12258
12259 * malloc/mallocbug.c: Avoid warnings about unused variables.
12260
86ae07a8
JL
122612012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12262
12263 [BZ #13760]
12264 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12265 in the right place. Discard and retry query if response is
12266 larger than input buffer size.
12267
41bf21a1
JM
122682012-03-28 Joseph Myers <joseph@codesourcery.com>
12269
d6270972
JM
12270 [BZ #369]
12271 [BZ #2678]
12272 [BZ #3866]
12273 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12274 x for large integer exponent.
12275 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12276 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12277 sign of result as needed afterwards.
12278 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12279 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12280 result for underflowing pow the same as for overflow.
12281 (__kernel_standard_l): Handle powl overflow and underflow here
12282 rather than calling __kernel_standard.
12283 * math/libm-test.inc (pow_test): Add more tests.
12284
414fca03 12285 [BZ #3868]
41bf21a1
JM
12286 [BZ #13879]
12287 [BZ #13910]
12288 [BZ #13911]
12289 [BZ #13912]
12290 [BZ #13913]
12291 [BZ #13915]
12292 [BZ #13916]
12293 [BZ #13917]
12294 [BZ #13918]
12295 [BZ #13919]
12296 [BZ #13920]
12297 [BZ #13921]
12298 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12299 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12300 (__kernel_standard_l): New function.
12301 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12302 __kernel_standard.
12303 * math/w_acosl.c (__acosl): Likewise.
12304 * math/w_asinl.c (__asinl): Likewise.
12305 * math/w_atan2l.c (__atan2l): Likewise.
12306 * math/w_atanhl.c (__atanhl): Likewise.
12307 * math/w_coshl.c (__coshl): Likewise.
12308 * math/w_exp10l.c (__exp10l): Likewise.
12309 * math/w_exp2l.c (__exp2l): Likewise.
12310 * math/w_fmodl.c (__fmodl): Likewise.
12311 * math/w_hypotl.c (__hypotl): Likewise.
12312 * math/w_j0l.c (__j0l, __y0l): Likewise.
12313 * math/w_j1l.c (__j1l, __y1l): Likewise.
12314 * math/w_jnl.c (__jnl, __ynl): Likewise.
12315 * math/w_lgammal.c (__lgammal): Likewise.
12316 * math/w_log10l.c (__log10l): Likewise.
12317 * math/w_log2l.c (__log2l): Likewise.
12318 * math/w_logl.c (__logl): Likewise.
12319 * math/w_powl.c (__powl): Likewise.
12320 * math/w_remainderl.c (__remainderl): Likewise.
12321 * math/w_scalbl.c (sysv_scalbl): Likewise.
12322 * math/w_sinhl.c (__sinhl): Likewise.
12323 * math/w_sqrtl.c (__sqrtl): Likewise.
12324 * math/w_tgammal.c (__tgammal): Likewise.
12325 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12326 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12327 * math/libm-test.inc (acos_test): Add more tests.
12328 (acosh_test): Likewise.
12329 (asin_test): Likewise.
12330 (atanh_test): Likewise.
12331 (exp_test): Likewise.
12332 (exp10_test): Likewise.
12333 (exp2_test): Likewise.
12334 (expm1_test): Likewise.
12335 (lgamma_test): Likewise.
12336 (log_test): Likewise.
12337 (log10_test): Likewise.
12338 (log1p_test): Likewise.
12339 (log2_test): Likewise.
12340 (pow_test): Do not allow some spurious overflow exceptions.
12341 (sqrt_test): Add more tests.
12342 (tgamma_test): Likewise.
12343 (y0_test): Likewise.
12344 (y1_test): Likewise.
12345 (yn_test): Likewise.
12346
dd62fda6
AB
123472012-03-27 Anton Blanchard <anton@samba.org>
12348
12349 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12350 MAP_HUGETLB.
12351 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12352 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12353 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12354
1e3cdfda
AJ
123552012-03-27 David S. Miller <davem@davemloft.net>
12356
b855ab85
DM
12357 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12358
1e3cdfda
AJ
12359 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12360 have-as-vis3 check.
12361
123622012-03-27 Andreas Jaeger <aj@suse.de>
12363
12364 * sysdeps/x86_64/elf/configure.in: Moved to ...
12365 * sysdeps/x86_64/configure.in: ... here.
12366 * sysdeps/x86_64/elf/start.S: Moved to ...
12367 * sysdeps/x86_64/start.S: ... here.
12368 * sysdeps/x86_64/elf/configure: Delete.
12369
12370 * sysdeps/x86_64/configure.in: Merge contents from
12371 sysdeps/i386/configure.in (without i686 check).
12372
12373 * sysdeps/i386/elf/Versions: Merge into ...
12374 * sysdeps/i386/Versions: ... this.
12375 * sysdeps/i386/elf/Versions: Delete file.
12376 * sysdeps/i386/elf/start.S: Moved to ...
12377 * sysdeps/i386/start.S: ...here.
12378 * sysdeps/i386/elf/configure.in: Merge into...
12379 * sysdeps/i386/configure.in: ...here.
12380 * sysdeps/i386/elf/configure.in: Delete file.
12381 * sysdeps/i386/elf/configure: Delete file.
12382
12383 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12384 * debug/backtracesyms.c: ... here.
12385 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12386 * debug/backtracesymsfd.c: ... here.
12387 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12388 * sysdeps/generic/ifunc-sel.h: ... here.
12389
12390 * sysdeps/unix/i386/start.c: Delete file.
12391 * sysdeps/unix/sparc/start.c: Delete file.
12392 * sysdeps/unix/start.c: Delete file.
12393
12394 * sysdeps/sh/elf/configure.in: Moved to ...
12395 * sysdeps/sh/configure.in: ... here.
12396 * sysdeps/sh/elf/start.S: Moved to ...
12397 * sysdeps/sh/start.S: ... here.
12398 * sysdeps/sh/elf/configure: Delete file.
12399
12400 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12401 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12402 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12403 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12404 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12405 * sysdeps/powerpc/powerpc64/start.S: here.
12406 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12407 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12408 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12409 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12410 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12411
12412 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12413 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12414 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12415 * sysdeps/powerpc/powerpc32/start.S: ... here.
12416 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12417 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12418 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12419
12420 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12421 * sysdeps/powerpc/ifunc-sel.h: ... here.
12422 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12423 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12424
12425 * sysdeps/sparc/elf/configure.in: Moved to ...
12426 * sysdeps/sparc/configure.in: ... here.
12427 * sysdeps/sparc/elf/configure: Delete file.
12428 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12429 * sysdeps/sparc/sparc32/start.S: ... here.
12430 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12431 * sysdeps/sparc/sparc64/start.S: ... here.
12432 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12433 * sysdeps/sparc/sparc32/Makefile: ... this.
12434 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12435 * sysdeps/sparc/sparc64/Makefile: ... this.
12436
12437 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12438 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12439 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12440 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12441 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12442 * sysdeps/s390/s390-32/setjmp.S: ... here.
12443 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12444 * sysdeps/s390/s390-32/configure.in: ... here.
12445 * sysdeps/s390/s390-32/elf/configure: Delete file.
12446 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12447 * sysdeps/s390/s390-32/start.S: ... here.
12448
12449 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12450 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12451 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12452 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12453 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12454 * sysdeps/s390/s390-64/setjmp.S: ... here.
12455 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12456 * sysdeps/s390/s390-64/configure.in: ... here
12457 * sysdeps/s390/s390-64/elf/configure: Delete file.
12458 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12459 * sysdeps/s390/s390-64/start.S: ... here.
12460 * sysdeps/s390/s390-64/elf/configure: Delete.
12461
12462 * configure.in: Remove support for elf directories in sysdeps.
12463
12464 * configure: Regenerated.
12465 * sysdeps/i386/configure: Regenerated.
12466 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12467 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12468 * sysdeps/s390/s390-32/configure: Regenerated.
12469 * sysdeps/s390/s390-64/configure: Regenerated.
12470 * sysdeps/sh/configure: Regenerated.
12471 * sysdeps/sparc/configure: Regenerated.
12472 * sysdeps/x86_64/configure: Regenerated.
12473
a3f61311
AS
124742012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12475
c876e002
AS
12476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12477
a3f61311
AS
12478 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12479 denormal result into account.
12480
ac4c54f0
RM
124812012-03-25 Roland McGrath <roland@hack.frob.com>
12482
12483 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12484 Reported by Allan McRae <allan@archlinux.org>.
12485
6a9b9c02
JL
124862012-03-23 Jeff Law <law@redhat.com>
12487
12488 * nss/getnssent.c (__nss_getent): Fix typo.
12489
4c42a0c1
DM
124902012-03-23 David S. Miller <davem@davemloft.net>
12491
12492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12493
1532c7ac
L
124942012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12495
12496 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12497 to pad to uint64_t for each field.
12498 (dl_tls_index): Replace unsigned long with uint64_t.
12499
3ff42526
PP
125002012-03-23 Daniel Jacobowitz <dmj@google.com>
12501 Paul Pluzhnikov <ppluzhnikov@google.com>
12502
12503 [BZ #6528]
12504 * grp/Makefile (otherlibs): Don't set it.
12505 * inet/Makefile (otherlibs): Likewise.
12506 * login/Makefile (otherlibs): Likewise.
12507 * nscd/Makefile (otherlibs): Likewise.
12508 * posix/Makefile (otherlibs): Likewise.
12509 * pwd/Makefile (otherlibs): Likewise.
12510 * rt/Makefile (otherlibs): Likewise.
12511 * sunrpc/Makefile (otherlibs): Likewise.
12512 * nss/Makefile (otherlibs): Likewise.
12513 Add libnss_files to routines and static-only-routines.
12514 ($(objpfx)getent): Remove rule.
12515 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12516 static-only-routines.
12517
7c69cd14
JM
125182012-03-22 Joseph Myers <joseph@codesourcery.com>
12519
12520 [BZ #13892]
12521 * math/s_cexp.c: Include <float.h>.
12522 (__cexp): Handle exp result overflowing not necessarily
12523 overflowing both real and imaginary parts of result.
12524 * math/s_cexpf.c: Likewise.
12525 * math/s_cexpl.c: Likewise.
12526 * math/libm-test.inc (cexp_test): Add more tests.
12527 * sysdeps/i386/fpu/libm-test-ulps: Update.
12528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12529
81b035fe
L
125302012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12531
12532 * include/link.h (ELFW): New macro.
12533 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12534 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12535
1da7940c
L
125362012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12537
12538 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12539 with uint64_t.
12540
b749dbb9
L
125412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12542
12543 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12544 declaration.
12545 (struct La_x32_retval): Likewise.
12546
2ff87f3f
L
125472012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12548
12549 * sysdeps/x86_64/preconfigure.in: New file.
12550 * sysdeps/x86_64/preconfigure: New generated file.
12551
c0df8e69
JM
125522012-03-22 Joseph Myers <joseph@codesourcery.com>
12553
48e44791
JM
12554 [BZ #13824]
12555 * math/e_exp2l.c: Include <float.h>.
12556 (__ieee754_exp2l): Handle overflow and underflow cases
12557 separately. Only pass fractional part of argument to
12558 __ieee754_expl.
12559 * math/libm-test.inc (exp2_test): Add more tests.
12560
c0df8e69
JM
12561 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12562 negating x to take absolute value.
12563 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12564 Likewise.
12565 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12566 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12567 Likewise.
12568 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12569 computing low part if x was negated.
12570 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12571
c8e43ba7
L
125722012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12573
12574 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12575 la_x32_gnu_pltexit.
12576 (pltexit): Cast int_retval to ptrdiff_t.
12577 * elf/tst-auditmod3b.c: Likewise.
12578 * elf/tst-auditmod4b.c: Likewise.
12579 * elf/tst-auditmod5b.c: Likewise.
12580 * elf/tst-auditmod6b.c: Likewise.
12581 * elf/tst-auditmod6c.c: Likewise.
12582 * elf/tst-auditmod7b.c: Likewise.
12583
12584 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12585 and x32_gnu_pltexit.
12586
12587 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12588 __ELF_NATIVE_CLASS.
12589 (La_x32_regs): New macro.
12590 (La_x32_retval): Likewise.
12591 (la_x32_gnu_pltenter): New function prototype.
12592 (la_x32_gnu_pltexit): Likewise.
12593
7998fa78
AS
125942012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12595
dcb33988
AS
12596 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12597 exponent.
12598
233fc563
AS
12599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12600
7998fa78
AS
12601 * configure.in (libc_cv_cc_nofma): Check for option to disable
12602 generation of FMA instructions.
12603 * configure: Regenerate.
12604 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12605 * sysdeps/ieee754/dbl-64/Makefile: New file.
12606 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12607 Remove brandred-fma4.
12608 (CFLAGS-brandred-fma4.c): Remove.
12609 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12610 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12611 define.
12612 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12613 define.
12614
8e95c99a
L
126152012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12616
12617 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12618 LLONG_MAX != LONG_MAX.
12619 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12620 (_fitoa_word): Likewise.
12621 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12622 LLONG_MAX != LONG_MAX.
12623 * stdio-common/_itowa.h: Include <_itoa.h>.
12624 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12625 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12626 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12627 only if not defined.
12628 (_ITOA_WORD_TYPE): Likewise.
12629 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12630 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12631
6f4db457
DM
126322012-03-21 David S. Miller <davem@davemloft.net>
12633
12634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12635
7785fe5a
L
126362012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12637
12638 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12639 of x86_64 when setting libc_cv_slibdir, libdir and
12640 libc_cv_localedir.
12641 * sysdeps/unix/sysv/linux/configure: Regenerated.
12642
4535cd55
JM
126432012-03-21 Joseph Myers <joseph@codesourcery.com>
12644
12645 * manual/lang.texi (Old Varargs): Remove section.
12646 (How Variadic): Update menu.
12647 (va_start): Do not mention varargs.h.
12648
17228132
TS
126492012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12650 Joseph Myers <joseph@codesourcery.com>
12651
12652 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12653 link test.
12654 * configure: Regenerated.
12655
8149f976
TS
126562012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12657
05f3d1f6
UD
12658 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12659 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12660 conformtest.pl
8149f976 12661
1a4ac776
JM
126622012-03-21 Joseph Myers <joseph@codesourcery.com>
12663
be22ce65
JM
12664 * NOTES: Remove.
12665 * Makefile (files-for-dist): Remove NOTES.
12666 (NOTES): Remove rule.
12667 * README: Don't refer to NOTES.
12668 * manual/creature.texi: Don't include macros.texi.
12669 * manual/intro.texi (creature.texi): Remove comment referring to
12670 NOTES.
12671
40b601fb
JM
12672 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12673 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12674 * configure: Regenerated.
12675 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12676 LIBC_TRY_CC_OPTION.
12677 (libc_cv_as_i686): Likewise.
12678 (libc_cv_cc_avx): Likewise.
12679 (libc_cv_cc_sse2avx): Likewise.
12680 (libc_cv_cc_fma4): Likewise.
12681 (libc_cv_cc_novzeroupper): Likewise.
12682 * sysdeps/i386/configure: Regenerated.
12683
1a4ac776
JM
12684 [BZ #13883]
12685 * sysdeps/i386/fpu/s_cexp.S: Remove.
12686 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12687 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12688 * math/libm-test.inc (cexp_test): Add more tests.
12689 * sysdeps/i386/fpu/libm-test-ulps: Update.
12690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12691
a458e7fe
AM
126922012-03-21 Allan McRae <allan@archlinux.org>
12693
12694 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12695
0cb7efc5
JM
126962012-03-21 Joseph Myers <joseph@codesourcery.com>
12697
12698 [BZ #13871]
12699 * math/w_exp2.c: Do not include <float.h>.
12700 (o_threshold, u_threshold): Remove.
12701 (__exp2): Calculate result before checking finiteness and calling
12702 __kernel_standard.
12703 * math/w_exp2f.c: Likewise.
12704 * math/w_exp2l.c: Likewise.
12705 * math/libm-test.inc (exp2_test): Require overflow exception for
12706 1e6 input.
2460d3aa
JM
12707
12708 [BZ #3866]
12709 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12710 range of signed 64-bit integers before using fistpll. Remove
12711 checks for whether integers fit in mantissa bits.
12712 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12713 the range of signed 32-bit integers before using fistpl. Remove
12714 checks for whether integers fit in mantissa bits.
12715 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12716 (__ieee754_powl): Test for y outside the range of signed 64-bit
12717 integers before using fistpll. Reduce 64-bit values to 63-bit
12718 ones as needed.
12719 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12720 divide-by-zero is raised for zero to large negative powers.
12721 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12722 (__ieee754_powl): Test for y outside the range of signed 64-bit
12723 integers before using fistpll. Reduce 64-bit values to 63-bit
12724 ones as needed.
12725 * math/libm-test.inc (pow_test): Add more tests.
12726
eb96ffb0
L
127272012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12728
12729 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12730 <stdio-common/_itoa.h>.
12731 * debug/segfault.c: Likewise.
12732 * elf/dl-cache.c: Likewise.
12733 * elf/dl-minimal.c: Likewise.
12734 * elf/dl-misc.c: Likewise.
12735 * elf/dl-sysdep.c: Likewise.
12736 * elf/dl-version.c: Likewise.
12737 * elf/rtld.c: Likewise.
12738 * hurd/hurdsock.c: Likewise.
12739 * hurd/lookup-retry.c: Likewise.
12740 * malloc/malloc.c: Likewise.
12741 * malloc/mtrace.c: Likewise.
12742 * nscd/nscd_getgr_r.c: Likewise.
12743 * nscd/nscd_getpw_r.c: Likewise.
12744 * nscd/nscd_getserv_r.c: Likewise.
12745 * posix/getopt_init.c: Likewise.
12746 * posix/wordexp.c: Likewise.
12747 * stdio-common/_itoa.c: Likewise.
12748 * stdio-common/printf_fphex.c: Likewise.
12749 * stdio-common/vfprintf.c: Likewise.
12750 * string/_strerror.c: Likewise.
12751 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12752 * sysdeps/i386/i686/hp-timing.h: Likewise.
12753 * sysdeps/mach/_strerror.c: Likewise.
12754 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12755 * sysdeps/mach/hurd/sethostid.c: Likewise.
12756 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12757 * sysdeps/mach/xpg-strerror.c: Likewise.
12758 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12759 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12760 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12761 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12762 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12763 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12764 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12765 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12766 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12767 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12768 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12769 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12770 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12771 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12772 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12773 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12774 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12775 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12776 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12777 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12778 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12779
12780 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12781
12782 * stdio-common/_itoa.h: Moved to ...
12783 * sysdeps/generic/_itoa.h: Here.
12784
12785 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12786
12787 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12788 instead of "_itoa.h" and "_itowa.h".
12789 * stdio-common/vfprintf.: Likewise.
12790
d1af992d
L
127912012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12792
12793 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12794 <bits/wordsize.h>.
12795 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12796 (__signbit): Likwise.
12797 (llrintf): Likwise.
12798 (llrint): Likwise.
12799
114883e0
L
128002012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12801
12802 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12803 __WORDSIZE != 64.
12804
c135cc1b
JM
128052012-03-20 Joseph Myers <joseph@codesourcery.com>
12806
12807 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12808 OVERFLOW_EXCEPTION_OK.
12809 * math/libm-test.inc ("Philosophy"): Update comment about
12810 exception testing.
12811 (OVERFLOW_EXCEPTION): Define.
12812 (OVERFLOW_EXCEPTION_OK): Likewise.
12813 (INVALID_EXCEPTION_OK): Renumber.
12814 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12815 (IGNORE_ZERO_INF_SIGN): Likewise.
12816 (test_exceptions): Handle FE_OVERFLOW.
12817 (exp10_test): Expect overflow exceptions.
12818 (exp2_test): Likewise.
12819 (expm1_test): Likewise.
12820 (nextafter_test): Likewise.
12821 (pow_test): Likewise.
12822 (scalbn_test): Likewise.
12823 (scalbln_test): Likewise.
12824
95443d88
L
128252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12826
12827 * sysdeps/x86_64/bits/atomic.h
12828 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12829 64bit integer.
12830 (atomic_exchange_acq): Likewise.
12831 (__arch_exchange_and_add_body): Likewise.
12832 (__arch_add_body): Likewise.
12833 (atomic_add_negative): Likewise.
12834 (atomic_add_zero): Likewise.
12835
490df6c4
L
128362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12837
c2722551 12838 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
12839 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12840
5e52b189
L
128412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12842
12843 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12844 Check __x86_64__ instead of __WORDSIZE.
12845
a9879d4c
L
128462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12847
12848 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12849
5df98260
DM
128502012-03-19 David S. Miller <davem@davemloft.net>
12851
e1497744
DM
12852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12853
5df98260
DM
12854 * sysdeps/sparc/fpu/fenv_private.h: New file.
12855 * sysdeps/sparc/fpu/math_private.h: Use it.
12856 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12857 Remove.
12858 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12859 (libc_feholdexcept_setroundl): Remove.
12860 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12861 Remove.
12862 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12863 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12864
b4c35121
L
128652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12866
12867 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12868 int64_t instead of long int.
12869 (INSERT_WORDS64): Likwise.
12870
56965fd7
L
128712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12872
12873 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12874 _Unwind_GetCFA return to _Unwind_Ptr first.
12875
83d1aec8
JM
128762012-03-19 Joseph Myers <joseph@codesourcery.com>
12877
1897ad44
JM
12878 [BZ #13629]
12879 * math/s_clog.c: Include <float.h>.
12880 (__clog): Scale large or subnormal inputs.
12881 * math/s_clogf.c: Likewise.
12882 * math/s_clogl.c: Likewise.
12883 * math/s_clog10.c: Include <float.h>.
12884 (M_LOG10_2): Define.
12885 (__clog10): Scale large or subnormal inputs.
12886 * math/s_clog10f.c: Likewise.
12887 * math/s_clog10l.c: Likewise.
12888 * math/libm-test.inc (clog_test): Add more tests.
12889 (clog10_test): Likewise.
12890 * sysdeps/i386/fpu/libm-test-ulps: Update.
12891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12892
7726d6a9
JM
12893 [BZ #11451]
12894 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12895 x and y.
12896 * math/libm-test.inc (atan2_test): Add another test.
12897
83d1aec8
JM
12898 * Makerules (common-objdir-compile): Remove.
12899 * sysdeps/unix/Makefile (config-generated): Do not add
12900 $(unix-generated) to variable.
12901 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12902 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12903 Remove rule.
12904 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12905 Likewise.
12906 [generic bits/local_lim.h] (before-compile): Do not append to
12907 variable.
12908 [generic bits/local_lim.h] (common-generated): Likewise.
12909 [generic sys/param.h] (before-compile): Do not append to variable.
12910 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12911 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12912 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12913 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12914 include.
12915 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12916 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12917 [generic sys/param.h] ($(addprefix
12918 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12919 [generic sys/param.h] (common-generated): Do not append to
12920 variable.
12921 [generic sys/param.h] (sysdep_headers): Likewise.
12922 [generic bits/errno.h] (before-compile): Do not append to
12923 variable.
12924 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12925 rule.
12926 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12927 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12928 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12929 [generic bits/errno.h] (common-generated): Do not append to
12930 variable.
12931 [generic bits/ioctls.h] (before-compile): Do not append to
12932 variable.
12933 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12934 rule.
12935 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12936 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12937 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12938 rule.
12939 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12940 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12941 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12942 [generic bits/ioctls.h] (common-generated): Do not append to
12943 variable.
12944 [generic sys/syscall.h] (syscall.h): Remove variable.
12945 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12946 rule.
12947 [generic sys/syscall.h] (before-compile): Do not append to
12948 variable.
12949 [generic sys/syscall.h] (common-generated): Likewise.
12950 * sysdeps/unix/errnos-tmpl.c: Remove file.
12951 * sysdeps/unix/errnos.awk: Likewise.
12952 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12953 * sysdeps/unix/ioctls.awk: Likewise.
12954 * sysdeps/unix/mk-local_lim.c: Likewise.
12955 * sysdeps/unix/snarf-ioctls: Likewise.
12956
4851a949
RH
129572012-03-19 Richard Henderson <rth@twiddle.net>
12958
bd37f2ee
RH
12959 * sysdeps/i386/fpu/fenv_private.h: New file.
12960 * sysdeps/i386/fpu/math_private.h: Use it.
12961 (math_opt_barrier, math_force_eval): Remove.
12962 (libc_feholdexcept_setround_53bit): Remove.
12963 (libc_feupdateenv_53bit): Remove.
12964 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12965 (math_opt_barrier, math_force_eval): Remove.
12966 (libc_feholdexcept): Remove.
12967 (libc_feholdexcept_setround): Remove.
12968 (libc_fetestexcept, libc_fesetenv): Remove.
12969 (libc_feupdateenv_test): Remove.
12970 (libc_feupdateenv, libc_feholdsetround): Remove.
12971 (libc_feresetround): Remove.
12972
d0adc922
RH
12973 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12974 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12975
0fe0f1f8
RH
12976 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12977 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12978 (libc_feupdateenv_testl): New.
12979 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12980 (libc_feupdateenv_testf): New.
12981 (libc_feupdateenv): Use libc_feupdateenv_test.
12982 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12983 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12984
eb92c487
RH
12985 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12986 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12987 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12988 (libc_feresetround_noex): New.
12989 (libc_feresetround_noexf): New.
12990 (libc_feresetround_noexl): New.
12991 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12992 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12993 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12994 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12995 SET_RESTORE_ROUND.
12996 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12997 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12998 (__cos): Likewise.
12999 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13000 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13001 SET_RESTORE_ROUND_NOEX.
13002 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13003 SET_RESTORE_ROUND_NOEXF.
13004 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13005 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13006 (libc_feholdsetroundf): New.
13007 (libc_feresetround, libc_feresetroundf): New.
13008
7d2e8012
RH
13009 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13010 (libc_feholdexcept_setround_53bit): Convert from macro to function.
13011 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
13012
b4dabbb4
RH
13013 * sysdeps/generic/math_private.h: Include <fenv.h>.
13014 (default_libc_feholdexcept): New.
13015 (default_libc_feholdexcept_setround): New.
13016 (default_libc_fesetenv, default_libc_feupdateenv): New.
13017 (libc_feholdexcept): Only define if undefined.
13018 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13019 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13020 (libc_feholdexcept_setroundl): Likewise.
13021 (libc_feholdexcept_setround_53bit): Likewise.
13022 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13023 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13024 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13025 (libc_feupdateenv_53bit): Likewise.
13026 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13027 (libc_feholdexcept): Convert from macro to inline function.
13028 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13029 (libc_fesetenv, libc_feupdateenv): Likewise.
13030
4851a949
RH
13031 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13032 not previously defined.
13033 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13034 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13035 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13036 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13037 * sysdeps/ieee754/flt-32/math_private.h: New file.
13038 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13039 math_private.h below SET_FLOAT_WORD.
13040 (__isnan, __isinf_ns, __finite): Remove.
13041 (__isnanf, __isinf_nsf, __finitef): Remove.
13042
e79d442e
AS
130432012-03-18 Andreas Schwab <schwab@linux-m68k.org>
13044
13045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13046
90b80344
DM
130472012-03-17 David S. Miller <davem@davemloft.net>
13048
13049 [BZ #6471]
13050 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13051 for 2.16.
13052
edc21804
DM
130532012-03-16 David S. Miller <davem@davemloft.net>
13054
77e927af
DM
13055 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13056 warnings.
13057
374976dd
DM
13058 [BZ #6471]
13059 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13060 properly.
13061 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13062 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13063 sysdep_routines when subdir is sysvipc.
13064 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13065 __getshmlba helper.
13066
edc21804
DM
13067 * sysdeps/sparc/fpu/libm-test/ulps: Update.
13068
473c3ef3
L
130692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13070
13071 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13072 [__LP64__].
13073
eb0f39b6
L
130742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13075
13076 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13077 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13078 (__lround): Renamed to ...
13079 (__llround): This. Replace long int with long long int.
13080 Define lround functions as aliases of llround functions.
13081 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13082
6b6cd74b
L
130832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13084
13085 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13086 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13087 adresses to uintptr_t. Replace "long int" and "unsigned long
13088 int" with "greg_t" on va_arg.
13089
f1a77b01
L
130902012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13091
13092 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13093 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13094
13095 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13096 Move e_machine check before EI_CLASS check. Handle x32
13097 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13098 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13099 SKIP_EM_IA_64 and include
13100 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13101
13102 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13103 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13104 (add_system_dir): New macro.
13105
13106 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13107 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13108
11b90b9f
JM
131092012-03-16 Joseph Myers <joseph@codesourcery.com>
13110
c36e1d23
JM
13111 [BZ #2551]
13112 [BZ #2552]
13113 [BZ #2553]
13114 [BZ #2554]
13115 [BZ #2562]
13116 [BZ #2563]
13117 [BZ #2565]
13118 [BZ #2566]
13119 [BZ #2576]
13120 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13121 (y0): Likewise.
13122 * math/w_j0f.c (j0f): Likewise.
13123 (y0f): Likewise.
13124 * math/w_j0l.c (__j0l): Likewise.
13125 (__y0l): Likewise.
13126 * math/w_j1.c (j1): Likewise.
13127 (y1): Likewise.
13128 * math/w_j1f.c (j1f): Likewise.
13129 (y1f): Likewise.
13130 * math/w_j1l.c (__j1l): Likewise.
13131 (__y1l): Likewise.
13132 * math/w_jn.c (jn): Likewise.
13133 (yn): Likewise.
13134 * math/w_jnf.c (jnf): Likewise.
13135 (ynf): Likewise.
13136 * math/w_jnl.c (__jnl): Likewise.
13137 (__ynl): Likewise.
13138 * math/libm-test.inc (j0_test): Add more tests.
13139 (j1_test): Likewise.
13140 (jn_test): Likewise. Add trailing semicolon to existing test.
13141 (y0_test): Likewise.
13142 (y1_test): Likewise.
13143 * sysdeps/i386/fpu/libm-test-ulps: Update.
13144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13145
11b90b9f
JM
13146 [BZ #13851]
13147 [BZ #13854]
13148 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13149 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13150 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13151 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13152 (__tanl): Set errno for infinite argument.
13153 * sysdeps/i386/fpu/mptan.c: Remove.
13154 * sysdeps/i386/fpu/s_tan.S: Likewise.
13155 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13156 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13157 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13158 * math/libm-test.inc (tan_test): Add more tests and enable more
13159 tests for double and long double.
13160 * sysdeps/i386/fpu/libm-test-ulps: Update.
13161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13162
6a1bd2a1
JK
131632012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13164
13165 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13166 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13167
10a803e0
RM
131682012-03-16 Roland McGrath <roland@hack.frob.com>
13169
13170 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13171 * configure.in: Use it for both main tree and add-ons.
13172 * configure: Regenerated.
13173
f196c7f7
L
131742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13175
13176 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13177
8848d99d
JM
131782012-03-16 Joseph Myers <joseph@codesourcery.com>
13179
96cbe7f4
JM
13180 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13181 in comment.
13182
8848d99d
JM
13183 [BZ #13851]
13184 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13185 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13186 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13187 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13188 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13189 infinite argument.
13190 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13191 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13192 != 0 for prec == 2.
13193 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13194 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13195 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13196 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13197 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13198 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13199 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13200 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13201 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13202 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13203 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13204 * math/libm-test.inc (cos_test): Add more tests and enable more
13205 tests for long double.
13206 (sin_test): Likewise.
13207 (sincos_test): Likewise.
13208 * sysdeps/i386/fpu/libm-test-ulps: Update.
13209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13210
dd7f4703
DM
132112012-03-16 David S. Miller <davem@davemloft.net>
13212
13213 * sysdeps/sparc/fpu/math_private.h: New file.
13214
006f1daa
DM
132152012-03-15 David S. Miller <davem@davemloft.net>
13216
c0c83bc8
DM
13217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13218 file.
e6a62e18 13219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
13220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13221 file.
e6a62e18
DM
13222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13223 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13224 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13225 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13226 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13227 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13228 sysdep routines.
13229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13230
88cb87d9
DM
13231 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13232 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13233
006f1daa 13234 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
13235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13236 sparc-ifunc.h
006f1daa 13237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
13238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13239 Likewise.
13240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13241 Likewise.
006f1daa
DM
13242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
13245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13246 Likewise.
006f1daa
DM
13247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
13251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13252 Likewise.
13253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13254 Likewise.
006f1daa
DM
13255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13259 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13260 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13261 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13262 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13263 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13264 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13265 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13266 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13267 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13268 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13269 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13270 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13271 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13272 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13273 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13274 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13275 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13276 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13277 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13278 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13279
11e0098e
AS
132802012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13281
13282 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13283 scaling.
13284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13285
e85b09d0
AJ
132862012-03-15 Andreas Jaeger <aj@suse.de>
13287
13288 [BZ #13852]
13289 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13290 ieee754/flt-32 implementation for sin, cos and sincos.
13291 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13292 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13293 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13294 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13295 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13296 ieee754/flt-32 implementation for tan.
13297
13298 * math/libm-test.inc (cos_test): Enable some large input tests for
13299 float as well
13300 (sin_test): Likewise.
13301 (sincos_test): Likewise.
13302 (tan_test): Add tests for large input.
13303
13304 * sysdeps/i386/fpu/libm-test-ulps: Update.
13305
81c64153
AJ
133062012-03-15 Andreas Jaeger <aj@suse.de>
13307
13308 [BZ #13658]
13309 * math/libm-test.inc (cos_test): Add more test cases.
13310 (sin_test): Likewise.
13311 (sincos_test): Likewise.
13312
7bbfa5c6
AJ
133132012-03-15 Andreas Jaeger <aj@suse.de>
13314
13315 [BZ #13837]
13316 * math/libm-test.inc (cos_test): Add a test case for large input
13317 value.
13318 (sin_test): Likewise.
13319 (sincos_test): Likewise.
13320
133212012-03-15 Andreas Jaeger <aj@suse.de>,
13322 Joseph Myers <joseph@codesourcery.com>
13323
13324 [BZ #13658]
0671f479 13325 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
13326 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13327 * sysdeps/i386/fpu/branred.c: Likewise.
13328 * sysdeps/i386/fpu/dosincos.c: Likewise.
13329 * sysdeps/i386/fpu/mpa.c: Likewise.
13330 * sysdeps/i386/fpu/s_cos.S: Likewise.
13331 * sysdeps/i386/fpu/s_sin.S: Likewise.
13332 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13333 * sysdeps/i386/fpu/sincos32.c: Likewise.
13334
13335 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13336 Define.
13337 (libc_feupdateenv_53bit): Define.
13338 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13339 Define.
13340 (libc_feupdateenv_53bit): Define.
13341
13342 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13343 53 bit (without extend i386 double precision).
13344
13345 * math/libm-test.inc (sincos_test): Add tests for large input.
13346 (sin): Likewise.
13347 (cos): Likewise.
13348
13349 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13350
9cad04ea
AS
133512012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13352
13353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13354
f7062b9a
DM
133552012-03-15 David S. Miller <davem@davemloft.net>
13356
13357 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13358 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13359 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13360 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13365 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13366 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13367 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13368 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13369 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13370 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13371 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
13372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13373 file.
f7062b9a 13374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
13375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13376 file.
f7062b9a 13377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
13378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13379 file.
f7062b9a 13380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
13381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13382 file.
f7062b9a
DM
13383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13384 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13385 fmin/fmax sysdep routines.
13386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13387
7bd951ff
DM
133882012-03-14 David S. Miller <davem@davemloft.net>
13389
559398ab
DM
13390 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13391 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13392 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13393 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13394 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13395 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13396 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13397 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13398 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13399 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13400 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13401 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13402 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13403 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13404 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13405 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13406 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13407 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13408 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13409 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13410 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13411 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13412 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13413 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13414 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13415 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13416 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13417 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13418 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13419 routines.
13420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13421 file.
559398ab 13422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
13423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13424 file.
559398ab 13425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
13426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13427 file.
559398ab 13428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
13429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13430 file.
559398ab 13431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
13432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13433 file.
559398ab 13434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
13435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13436 file.
13437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13438 file.
13439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13440 file.
13441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13442 file.
13443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13444 New file.
13445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13446 file.
13447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13448 file.
559398ab 13449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
13450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13451 file.
559398ab 13452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13454 file.
559398ab 13455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
13456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13457 file.
559398ab 13458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
13459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13460 VIS3 routines.
559398ab
DM
13461
13462 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13463 New file.
13464
5a1c1e32
DM
13465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13466
eae47a36
DM
13467 * sysdeps/sparc/configure.in: New file.
13468 * sysdeps/sparc/configure: Generate.
13469 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13470 * configure: Regenerate.
13471 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13472 * config.make.in (have-as-vis3): New.
13473 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13474 available use -Av9d instead of -Av9a.
13475 * sysdeps/sparc/sparc64/Makefile: Likewise.
13476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
13477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13478 New file.
13479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13480 file.
13481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13482 New file.
13483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13484 file.
eae47a36
DM
13485 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13486 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13487 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13488 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13489 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13490
c0c83bc8
DM
13491 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13492 fzeros/fnegs to load 0x80000000 into a float register instead of
13493 using the stack.
7bd951ff
DM
13494 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13495
bd951ccb
JM
134962012-03-14 Joseph Myers <joseph@codesourcery.com>
13497
13498 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13499 bits/syscall.h.
13500 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13501 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13502 ($(inst_includedir)/bits/syscall.h): Remove rule.
13503 ($(objpfx)bits/syscall.d): Include instead of
13504 $(objpfx)syscall-list.d.
13505 (generated): Change syscall-list.h and syscall-list.d to
13506 bits/syscall.h and bits/syscall.d.
13507
bb4e6db2
RM
135082012-03-14 Roland McGrath <roland@hack.frob.com>
13509
13510 [BZ #13846]
13511 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13512
aa4a2ae1
JM
135132012-03-14 Joseph Myers <joseph@codesourcery.com>
13514
e456826d
JM
13515 [BZ #13841]
13516 * math/s_csqrt.c: Include <float.h>.
13517 (__csqrt): Scale large or subnormal inputs.
13518 * math/s_csqrtf.c: Likewise.
13519 * math/s_csqrtl.c: Likewise.
13520 * math/libm-test.inc (csqrt_test): Add more tests.
13521 * sysdeps/i386/fpu/libm-test-ulps: Update.
13522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13523
aa4a2ae1
JM
13524 [BZ #13840]
13525 * math/libm-test.inc (hypot_test): Add more tests.
13526
7c10fd35
DM
135272012-03-13 David S. Miller <davem@davemloft.net>
13528
13529 [BZ #13840]
13530 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13531 double-precision for the calculation instead of scaling.
13532
f453b98b
JM
135332012-03-13 Joseph Myers <joseph@codesourcery.com>
13534
13535 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13536 manipulate bits before adding and subtracting TWO52[sx].
13537 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13538 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13539 Likewise.
13540 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13541
09a3453f
DM
135422012-03-13 David S. Miller <davem@davemloft.net>
13543
8e59da90
DM
13544 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13545 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13546 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13547 rtld-global-offsets.h
13548 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13549
2a8ab7f2
DM
13550 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13551 large parameters.
13552
10f62770
DM
13553 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13554
5f0bdb18
DM
13555 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13556 'err' in the ifdef scope in which it is actually used.
13557
09a3453f
DM
13558 * nss/nss_db/db-init.c: Include string.h
13559
b4b2eb5e
DM
135602012-03-12 David S. Miller <davem@davemloft.net>
13561
98bb2f1c
DM
13562 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13563 masking out of the most significant byte of random value used.
13564 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13565 Fix coding style in previous change.
13566
b4b2eb5e
DM
13567 * sysdeps/unix/sysv/linux/kernel-features.h
13568 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13569 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13570 expression.
13571 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13572 later.
13573
6e226b09
DM
135742012-03-11 David S. Miller <davem@davemloft.net>
13575
a1bcbd40
DM
13576 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13577 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13578 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13579 for 'resultvar' otherwise things get truncated on 64-bit.
13580
cb9d6174
DM
13581 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13582 Fix masking out of the most significant byte of random value used.
13583
6e226b09
DM
13584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13585
058c132d
AS
135862012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13587
13588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13589
2d2cd515
DM
135902012-03-09 David S. Miller <davem@davemloft.net>
13591
13592 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13593 variables with appropriate CPP guards.
13594 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13595 frame pointer, not the stack pointer. Correct layout comments. Fix test
13596 on resulting framesize and the management of the outregs buffer for pltexit.
13597 Preserve floating point return values across _dl_call_pltexit call.
13598 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13599 framesize and the management of the outregs buffer for pltexit.
13600 Preserve floating point return values across _dl_call_pltexit
13601 call.
13602 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13603 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13604 (print_exit): Fix format string for return register value.
13605
9a07f9d0
JM
136062012-03-10 Joseph Myers <joseph@codesourcery.com>
13607
13608 * sunrpc/Makefile (others): Add rpcgen.
13609 ($(objpfx)rpcgen): Remove special build rule and dependency on
13610 libc.
13611 * sunrpc/rpcgen.c: New file.
13612
547b5e30
PE
136132012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13614
c524201a
PE
13615 [BZ #13673]
13616 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13617 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13618 * sysdeps/i386/crti.S: Likewise.
13619 * sysdeps/i386/crtn.S: Likewise.
13620 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13621 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13622 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13623 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13624 * sysdeps/sh/crti.S: Likewise.
13625 * sysdeps/sh/crtn.S: Likewise.
13626 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13627
7b6235f2
PE
13628 [BZ #13673]
13629 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13630 with URL.
13631 * locale/programs/locfile-kw.gperf: Likewise.
13632 * locale/programs/charmap-kw.h: Regenerated.
13633 * locale/programs/locfile-kw.h: Likewise.
13634
547b5e30
PE
13635 [BZ #13673]
13636 * intl/plural.y: Replace FSF snail mail address with URL.
13637 * intl/plural.c: Regenerated.
13638
5f0a5dae
RH
136392012-03-09 Richard Henderson <rth@twiddle.net>
13640
13641 * include/math_private.h: Remove file.
13642 * math/math_private.h: Move file ...
13643 * sysdeps/generic/math_private.h: ... here.
13644
b8c03620
RH
13645 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13646 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13647 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13648
4e234f5d 13649 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
13650 and <math_private.h>.
13651 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13652 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13653 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13654 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13655 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13656 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13657 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13658 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13659 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13660 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13661 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13662 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13663 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13664 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13665 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13666 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13667 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13668 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13669 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13670 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13671 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13672 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13673 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13674 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13675 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13676 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13677 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13678 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13679 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13680 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13681 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13682 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13683 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13684 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13685 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13686 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13687 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13688 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13689 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13690 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13691 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13692 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13693 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13694 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13695 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13696 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13697 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13698 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13699 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13700 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13701 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13702 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13703 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13704 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13705 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13706 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13707 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13708 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13709 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13710 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13711 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13712 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13713 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13714 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13715 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13716 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13717 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13718 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13719 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13720 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13721 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13722 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13723 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13724 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13725 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13726 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13727 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13728 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13729 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13730 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13731 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13732 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13733 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13734 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13735 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13736 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13737 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13738 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13739 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13740 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13741 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13742 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13743 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13744 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13745 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13746 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13747 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13748 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13749 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13750 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13751 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13752 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13753 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13754 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13755 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13756 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13757 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13758 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13759 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13760 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13761 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13762 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13763 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13764 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13765 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13766 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13767 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13768 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13769 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13770 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13771 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13772 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13773 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13774 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13775 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13776 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13777 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13778 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13779 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13780 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13781 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13782 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13783 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13784 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13785 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13786 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13787 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13788 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13789 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13790 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13791 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13792 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13793 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13794 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13795 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13796 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13797 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13798 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13799 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13800 * sysdeps/ieee754/k_standard.c: Likewise.
13801 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13802 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13803 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13804 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13805 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13806 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13807 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13808 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13809 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13810 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13811 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13812 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13813 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13814 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13815 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13816 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13817 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13818 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13819 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13820 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13821 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13822 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13823 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13824 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13825 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13826 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13827 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13828 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13829 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13830 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13831 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13832 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13833 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13834 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13835 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13836 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13837 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13838 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13839 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13840 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13841 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13842 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13843 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13844 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13845 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13846 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13847 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13848 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13849 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13850 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13851 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13852 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13853 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13854 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13855 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13856 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13857 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13858 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13859 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13860 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13861 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13862 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13863 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13864 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13865 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13866 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13867 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13868 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13869 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13870 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13871 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13872 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13873 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13874 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13875 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13876 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13877 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13878 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13879 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13880 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13881 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13882 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13883 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13884 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13885 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13886 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13887 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13888 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13889 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13890 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13891 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13892 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13893 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13894 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13895 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13896 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13897 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13898 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13899 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13900 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13901 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13902 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13903 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13904 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13905 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13906 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13907 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13908 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13909 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13910 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13911 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13912 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13913 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13914 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13915 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13916 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13917 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13918 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13919 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13920 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13921 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13922 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13923 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13924 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13925 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13926 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13927 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13928 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13929 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13930 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13931 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13932 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13933 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13934 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13935 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13936 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13937 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13938 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13939 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13940 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13941 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13942 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13943 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13944 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13945 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13946 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13947 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13948 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13949 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13950 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13951 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13952 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13953 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13954 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13955 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13956 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13957 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13958 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13959 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13960 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13961 * sysdeps/ieee754/s_lib_version.c: Likewise.
13962 * sysdeps/ieee754/s_matherr.c: Likewise.
13963 * sysdeps/ieee754/s_signgam.c: Likewise.
13964 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13965 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13966 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13967 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13968 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13969 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13970 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13971 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13972 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13973 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13974 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13975 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13976 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13977 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13978 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13979 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13980 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13981 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13982 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13983 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13984 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 13985
1991fa03
JM
139862012-03-09 Joseph Myers <joseph@codesourcery.com>
13987
13988 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13989 * sunrpc/rpc_main.c: Likewise.
13990 * sunrpc/rpc_svcout.c: Likewise.
13991
60d6f5a6
DM
139922012-03-09 David S. Miller <davem@davemloft.net>
13993
13994 * include/math_private.h: New file.
13995
4962050e
JM
139962012-03-09 Joseph Myers <joseph@codesourcery.com>
13997
02a6f887
JM
13998 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13999 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14000 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14001 from <bits/socket_type.h>.
14002 (enum __socket_type): Don't define here.
14003 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14004 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14005 bits/socket_type.h.
14006
c6e013c1
JM
14007 [BZ #13566]
14008 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14009 checking __USE_GNU.
14010
4962050e
JM
14011 * Makerules ($(inst_includedir)/%.h): New rule.
14012 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14013 (install-others): Remove variable setting.
14014 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14015
38842f45
RH
140162012-03-08 Richard Henderson <rth@twiddle.net>
14017
67bb6da6
RH
14018 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14019 from macro to inline function; merge with the
14020 !__LIBC_INTERNAL_MATH_INLINES version.
14021 (__ieee754_sqrtf): Likewise.
14022
15194b4b
RH
14023 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14024 to inline function.
14025 (__rintf, __floor, __floorf): Likewise.
14026
64e21ede
RH
14027 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14028 macro to inline function.
14029 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14030
38842f45
RH
14031 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14032 not <math/math_private.h>.
14033
c64bf5fe
DM
140342012-03-08 David S. Miller <davem@davemloft.net>
14035
14036 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14037 copyright year.
14038 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14039
82d86f28
TS
140402012-03-08 Thomas Schwinge <thomas@codesourcery.com>
14041
14042 * resolv/gai_misc.c (handle_requests): Fix struct timespec
14043 normalization.
14044 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14045 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14046
aea5d727
UD
140472012-03-08 Ulrich Drepper <drepper@gmail.com>
14048
14049 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
14050 be defined individually, they must be defined as a block. Define
14051 S for printing a string instead of hidint the different by using a
14052 macro for adding the 'l'.
14053 * stdio-common/tst-fphex-wide.c: Adjust.
14054
70bca0a3
MP
140552012-03-07 Marek Polacek <polacek@redhat.com>
14056
14057 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14058
65b81130
MP
140592012-03-08 Marek Polacek <polacek@redhat.com>
14060
14061 [BZ #13806]
14062 * stdio-common/Makefile (tests): Add tst-fphex-wide.
14063 * stdio-common/tst-fphex.c: Define a few macros to make the
14064 test reusable. Use them.
14065 * stdio-common/tst-fphex-wide.c: New file.
14066
07037eeb
JM
140672012-03-08 Joseph Myers <joseph@codesourcery.com>
14068
a7a93d50
JM
14069 [BZ #6911]
14070 * manual/macros.texi (gnusystems): New macro.
14071 (nongnusystems): Likewise.
14072 (gnulinuxhurdsystems): Likewise.
14073 (gnuhurdsystems): Likewise..
14074 (gnulinuxsystems): Likewise.
14075 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14076 variants of the GNU system, not "GNU system".
14077 * manual/conf.texi: Likewise.
14078 * manual/errno.texi: Likewise. Update example of errno macro
14079 expansion.
14080 * manual/filesys.texi: Likewise.
14081 (getumask): Document as specific to GNU/Hurd.
14082 * manual/install.texi: Likewise. Reword some references to
14083 GNU/Linux.
14084 * manual/intro.texi: Likewise.
14085 * manual/io.texi: Likewise.
14086 (File Name Portability): Detail which constraints are inapplicable
14087 to all GNU systems and which are only inapplicable to GNU/Hurd.
14088 * manual/job.texi: Likewise.
14089 * manual/llio.texi: Likewise.
14090 (O_NOCTTY): Document as present on GNU/Linux.
14091 * manual/maint.texi: Likewise.
14092 * manual/memory.texi: Likewise.
14093 * manual/pattern.texi: Likewise.
14094 * manual/pipe.texi: Likewise.
14095 * manual/process.texi: Likewise.
14096 * manual/resource.texi: Likewise.
14097 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14098 child on GNU/Hurd.
14099 * manual/setjmp.texi: Likewise.
14100 * manual/signal.texi: Likewise.
14101 * manual/startup.texi: Likewise.
14102 * manual/stdio.texi: Likewise.
14103 * manual/terminal.texi: Likewise.
14104 (ONLCR): Document as POSIX.
14105 (OXTABS): Document availability on GNU/Linux as XTABS.
14106 (ONOEOT): Document availability separately from other bits.
14107 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14108 * manual/time.texi: Likewise.
14109 * manual/users.texi: Likewise.
14110 * INSTALL: Regenerated.
14111 * sysdeps/gnu/errlist.c: Regenerated.
14112
07037eeb
JM
14113 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14114 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14115 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14116 puts.
14117 * configure: Regenerated.
14118
d1d3431a
JM
141192012-03-07 Joseph Myers <joseph@codesourcery.com>
14120
af6a1e37
JM
14121 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14122 default includes instead of AC_HEADER_CHECK.
14123 * sysdeps/i386/configure: Regenerated.
14124
d1d3431a
JM
14125 [BZ #10716]
14126 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14127 * math/s_cacoshf.c (__cacoshf): Likewise.
14128 * math/s_cacoshl.c (__cacoshl): Likewise.
14129 * math/s_casinh.c (__casinh): Set signs of result from argument.
14130 * math/s_casinhf.c (__casinhf): Likewise.
14131 * math/s_casinhl.c (__casinhl): Likewise.
14132 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14133 (casinh_test): Add more tests.
14134 * sysdeps/i386/fpu/libm-test-ulps: Update.
14135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14136
482ff4da
UD
141372012-03-07 Ulrich Drepper <drepper@gmail.com>
14138
872fda05
UD
14139 * po/zh_TW.po: Update from translation team.
14140
a4300c7a
UD
14141 * login/Makefile (distribute): Remove variable.
14142 * catgets/Makefile: Likewise.
14143 * mach/Makefile: Likewise.
14144 * malloc/Makefile: Likewise.
14145 * misc/Makefile: Likewise.
14146 * iconv/Makefile: Likewise.
14147 * nscd/Makefile: Likewise.
14148 * hurd/Makefile: Likewise.
14149 * manual/Makefile: Likewise.
14150 * locale/Makefile: Likewise.
14151 * intl/Makefile: Likewise.
14152 * conform/Makefile: Likewise.
14153 * nss/Makefile: Likewise.
14154 * time/Makefile: Likewise.
14155 * soft-fp/Makefile: Likewise.
14156 * dirent/Makefile: Likewise.
14157 * gmon/Makefile: Likewise.
14158 * po/Makefile: Likewise.
14159 * rt/Makefile: Likewise.
14160 * socket/Makefile: Likewise.
14161 * math/Makefile: Likewise.
14162 * signal/Makefile: Likewise.
14163 * debug/Makefile: Likewise.
14164 * elf/Makefile: Likewise.
14165 * timezone/Makefile: Likewise.
14166 * stdlib/Makefile: Likewise.
14167 * iconvdata/Makefile: Likewise.
14168 * sunrpc/Makefile: Likewise.
14169 * io/Makefile: Likewise.
14170 * argp/Makefile: Likewise.
14171 * inet/Makefile: Likewise.
14172 * hesiod/Makefile: Likewise.
14173 * grp/Makefile: Likewise.
14174 * csu/Makefile: Likewise.
14175 * wctype/Makefile: Likewise.
14176 * crypt/Makefile: Likewise.
14177 * libio/Makefile: Likewise.
14178 * string/Makefile: Likewise.
14179 * nis/Makefile: Likewise.
14180 * resolv/Makefile: Likewise.
14181 * stdio-common/Makefile: Likewise.
14182 * wcsmbs/Makefile: Likewise.
14183 * dlfcn/Makefile: Likewise.
14184 * posix/Makefile: Likewise.
14185
3b7c4e74 14186 [BZ #6959]
482ff4da
UD
14187 * timezone/Makefile: Don't install timezone files, just the programs
14188 and scripts.
14189
f72ed77d
UD
141902012-03-06 Ulrich Drepper <drepper@gmail.com>
14191
a000466f
UD
14192 * nss/databases.def: Add missing gshadow entry.
14193
f72ed77d
UD
14194 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14195
a53b7a4e
MP
141962012-03-06 Marek Polacek <polacek@redhat.com>
14197
14198 [BZ #13726]
14199 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14200 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14201 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14202 * stdio-common/tst-long-dbl-fphex.c: New file.
14203
e9258400
DM
142042012-03-06 David S. Miller <davem@davemloft.net>
14205
14206 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14207 (set_obp_int): New function.
14208 (get_obp_int): New function.
14209 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
14210 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14211 Avoid unused variable warnings on 'val' and use builtin_expect.
14212 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14213 __builtin_expect.
e9258400
DM
14214 (INLINE_CLONE_SYSCALL): Likewise.
14215
3bd2c723
DM
142162012-03-05 David S. Miller <davem@davemloft.net>
14217
14218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14219
bbb78d03
AS
142202012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14221
884c5db4
AS
14222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14223
bbb78d03
AS
14224 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14225 only for |x| >= 40.
14226 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14227
1c9f702a 142282012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
14229
14230 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14231 Replace gettimeofday with __vdso_gettimeofday.
14232
7be16f82
RM
14233 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14234 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14235 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
14236
14237 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14238 time with __vdso_time.
14239
ed58a00f
JM
142402012-03-05 Joseph Myers <joseph@codesourcery.com>
14241
14242 * manual/lang.texi (size_t): Note types to which size_t may be
14243 equivalent with the GNU C Library, but do not describe when
14244 differences between them are significant.
14245
30ee4ced
AJ
142462012-03-05 Andreas Jaeger <aj@suse.de>
14247
14248 * sysdeps/i386/fpu/libm-test-ulps: Update.
14249
b7cd39e8
JM
142502012-03-05 Joseph Myers <joseph@codesourcery.com>
14251
14252 [BZ #3976]
14253 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14254 (__ieee754_pow): Save and restore rounding mode and use
14255 round-to-nearest for main computations.
14256 * math/libm-test.inc (pow_test_tonearest): New function.
14257 (pow_test_towardzero): Likewise.
14258 (pow_test_downward): Likewise.
14259 (pow_test_upward): Likewise.
14260 (main): Call the new functions.
14261 * sysdeps/i386/fpu/libm-test-ulps: Update.
14262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
14263
14264 [BZ #3976]
14265 * math/libm-test.inc (cosh_test_tonearest): New function.
14266 (cosh_test_towardzero): Likewise.
14267 (cosh_test_downward): Likewise.
14268 (cosh_test_upward): Likewise.
14269 (sinh_test_tonearest): Likewise.
14270 (sinh_test_towardzero): Likewise.
14271 (sinh_test_downward): Likewise.
14272 (sinh_test_upward): Likewise.
14273 (main): Call the new functions.
14274 * sysdeps/i386/fpu/libm-test-ulps: Update.
14275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14276
6c6a98c9
TV
142772012-03-05 Tom de Vries <tom@codesourcery.com>
14278
14279 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14280 default stack guard is set in last bytes.
14281 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14282
21bb2d2e 142832012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 14284
21bb2d2e 14285 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 14286
21bb2d2e
AJ
14287 [BZ #13656]
14288 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14289 possibly allocate from heap instead of stack.
14290 * stdio-common/bug-vfprintf-nargs.c: New file.
14291 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 14292
c6922934
AS
142932012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14294
14295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14296
bc957d53
MP
142972012-03-03 Marek Polacek <polacek@redhat.com>
14298
14299 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14300 * math/math_private.h: Likewise.
14301 * stdlib/tst-strtod.c: Likewise.
14302 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14303 * sysdeps/x86_64/bits/atomic.h: Likewise.
14304
6358490d
DM
143052012-03-02 David S. Miller <davem@davemloft.net>
14306
14307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14311 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14312 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14313 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14314 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14315
01ae168d
RM
143162012-03-02 Roland McGrath <roland@hack.frob.com>
14317
d9a17c07
RM
14318 [BZ #13792]
14319 * manual/examples/README: New file, says the example source files
14320 can be used under GPL>=2.
14321 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14322 line containing just "*/".
14323 * manual/examples/add.c: Add copyright header (GPL>=2).
14324 * manual/examples/argp-ex1.c: Likewise.
14325 * manual/examples/argp-ex2.c: Likewise.
14326 * manual/examples/argp-ex3.c: Likewise.
14327 * manual/examples/argp-ex4.c: Likewise.
14328 * manual/examples/atexit.c: Likewise.
14329 * manual/examples/db.c: Likewise.
14330 * manual/examples/dir.c: Likewise.
14331 * manual/examples/dir2.c: Likewise.
14332 * manual/examples/execinfo.c: Likewise.
14333 * manual/examples/filecli.c: Likewise.
14334 * manual/examples/filesrv.c: Likewise.
14335 * manual/examples/fmtmsgexpl.c: Likewise.
14336 * manual/examples/genpass.c: Likewise.
14337 * manual/examples/inetcli.c: Likewise.
14338 * manual/examples/inetsrv.c: Likewise.
14339 * manual/examples/isockad.c: Likewise.
14340 * manual/examples/longopt.c: Likewise.
14341 * manual/examples/memopen.c: Likewise.
14342 * manual/examples/memstrm.c: Likewise.
14343 * manual/examples/mkfsock.c: Likewise.
14344 * manual/examples/mkisock.c: Likewise.
14345 * manual/examples/mygetpass.c: Likewise.
14346 * manual/examples/pipe.c: Likewise.
14347 * manual/examples/popen.c: Likewise.
14348 * manual/examples/rprintf.c: Likewise.
14349 * manual/examples/search.c: Likewise.
14350 * manual/examples/select.c: Likewise.
14351 * manual/examples/setjmp.c: Likewise.
14352 * manual/examples/sigh1.c: Likewise.
14353 * manual/examples/sigusr.c: Likewise.
14354 * manual/examples/stpcpy.c: Likewise.
14355 * manual/examples/strdupa.c: Likewise.
14356 * manual/examples/strftim.c: Likewise.
14357 * manual/examples/strncat.c: Likewise.
14358 * manual/examples/subopt.c: Likewise.
14359 * manual/examples/swapcontext.c: Likewise.
14360 * manual/examples/termios.c: Likewise.
14361 * manual/examples/testopt.c: Likewise.
14362 * manual/examples/testpass.c: Likewise.
14363 * manual/examples/timeval_subtract.c: Likewise.
14364
01ae168d
RM
14365 [BZ #13792]
14366 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14367 function to ...
14368 * manual/timeval_subtract.c.texi: ... here, new file.
14369
49efa33d
DM
143702012-03-02 David S. Miller <davem@davemloft.net>
14371
14372 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14373
28afd92d
JM
143742012-03-02 Joseph Myers <joseph@codesourcery.com>
14375
804360ed
JM
14376 [BZ #3976]
14377 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14378 (__sin): Save and restore rounding mode and use round-to-nearest
14379 for all computations.
14380 (__cos): Save and restore rounding mode and use round-to-nearest
14381 for all computations.
14382 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14383 <fenv.h>.
14384 (tan): Save and restore rounding mode and use round-to-nearest for
14385 all computations.
14386 * math/libm-test.inc (cos_test_tonearest): New function.
14387 (cos_test_towardzero): Likewise.
14388 (cos_test_downward): Likewise.
14389 (cos_test_upward): Likewise.
14390 (sin_test_tonearest): Likewise.
14391 (sin_test_towardzero): Likewise.
14392 (sin_test_downward): Likewise.
14393 (sin_test_upward): Likewise.
14394 (tan_test_tonearest): Likewise.
14395 (tan_test_towardzero): Likewise.
14396 (tan_test_downward): Likewise.
14397 (tan_test_upward): Likewise.
14398 (main): Call the new functions.
14399 * sysdeps/i386/fpu/libm-test-ulps: Update.
14400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14401
a6d06d7b
JM
14402 [BZ #10135]
14403 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14404 small n, then large n, before computing and testing k+n.
14405 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14406 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14407 Likewise.
14408 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14409 Likewise.
14410 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14411 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14412 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14413 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14414 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14415 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14416 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14417 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14418 * math/libm-test.inc (scalbn_test): Add more tests.
14419 (scalbln_test): Likewise.
14420
07e12bb3
JM
14421 * manual/filesys.texi (mode_t): Describe constraints on size and
14422 signedness, not exact equivalence to a particular type.
14423 (ino_t): Likewise.
14424 (ino64_t): Likewise.
14425 (dev_t): Likewise.
14426 (nlink_t): Likewise.
14427 (blkcnt_t): Likewise.
14428 (blkcnt64_t): Likewise.
14429 * manual/llio.texi (off_t): Likewise.
14430
28afd92d
JM
14431 [BZ #3976]
14432 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14433 (__ieee754_exp): Save and restore rounding mode and use
14434 round-to-nearest for all computations.
14435 * math/libm-test.inc (exp_test_tonearest): New function.
14436 (exp_test_towardzero): Likewise.
14437 (exp_test_downward): Likewise.
14438 (exp_test_upward): Likewise.
14439 (main): Call the new functions.
14440 * sysdeps/i386/fpu/libm-test-ulps: Update.
14441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14442
b1eeb65d
CD
144432012-03-01 Chris Demetriou <cgd@google.com>
14444
14445 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14446 have predictable order.
14447
53362a4b
DM
144482012-03-01 David S. Miller <davem@davemloft.net>
14449
3c969083
DM
14450 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14451
759707de
DM
14452 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14453 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14454 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14455 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14456
dfdb8ff2
DM
14457 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14458 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14459 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14461 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14462 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14463 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14464 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14465 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14466
ead89f96
DM
14467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14468
7f66bd07
DM
14469 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14470 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14471 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14472
53362a4b
DM
14473 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14474 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14475 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14476 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14477 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14478 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14479 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14480 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14481 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14482 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14483 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14484 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14485 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14486 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14487 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14488 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14489 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14490 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14491 * sysdeps/sparc/elf/configure: Regenerated.
14492
7b1902cb
JM
144932012-03-01 Joseph Myers <joseph@codesourcery.com>
14494
bec039bc
JM
14495 * configure.in (AS, LD): Require binutils 2.20 or later.
14496 * configure: Regenerated.
14497 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14498 as required minimum version.
14499 * INSTALL: Regenerated.
14500
7b1902cb
JM
14501 [BZ #2541]
14502 [BZ #4108]
14503 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14504 before squaring exponent.
14505 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14506 bottom long double and 27 bits of top long double before squaring
14507 exponent.
14508 * math/libm-test.inc (erfc_test): Add more tests.
14509 * sysdeps/i386/fpu/libm-test-ulps: Update.
14510 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14512
f775c276
KT
145132012-03-01 Kai Tietz <ktietz@redhat.com>
14514
14515 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14516 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14517 containing bit-fields.
14518 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14519 * soft-fp/single.h (_FP_UNION_S): Likewise.
14520 * soft-fp/double.h (_FP_UNION_D): Likewise.
14521
5b8a4d4a
JM
145222012-02-29 Joseph Myers <joseph@codesourcery.com>
14523
0bab47b6
JM
14524 [BZ #13786]
14525 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14526 not include ../strcmp.S.
14527 [USE_AS_STRNCASECMP_L]: Likewise.
14528 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14529 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14530 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14531 (__strncasecmp_l_ia32): Define as alias to
14532 __strncasecmp_l_nonascii.
14533
0fcad3e2
JM
14534 [BZ #5794]
14535 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14536 * sysdeps/i386/fpu/libm-test-ulps: Update.
14537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14538
5b8a4d4a
JM
14539 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14541
8fdceb2e
JL
145422012-02-29 Jeff Law <law@redhat.com>
14543
14544 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14545 out of bounds read.
14546
1f393a11
MP
145472012-02-29 Marek Polacek <polacek@redhat.com>
14548
14549 [BZ #13706]
14550 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14551 * elf/Makefile: Add rules to run tst-unused-dep.out.
14552
8847f037
DM
145532012-02-28 David S. Miller <davem@davemloft.net>
14554
14555 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14556 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14557 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14558 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14559 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14560 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14561
169d7f11
JM
145622012-02-29 Joseph Myers <joseph@codesourcery.com>
14563
14564 * math/libm-test.inc (llround_test): Move one test from
14565 lround_test. Use TEST_f_L in moved test.
14566 (lround_test): Move misplaced test to llround_test. Add testcase
14567 from bug 2561.
14568
39adf059
UD
145692012-02-28 Ulrich Drepper <drepper@gmail.com>
14570
14571 * sysdeps/x86_64/fpu/e_expf.S: New file.
14572 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14573
71b5d1c5
SB
145742012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14575
14576 [BZ #13637]
14577 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14578 of remain_len that may cause incomplete multi-byte character and
14579 false match.
14580 * posix/bug-regex33.c: New file.
14581 * posix/Makefile (tests): Add bug-regex33.
14582
1f77f049
JM
145832012-02-28 Joseph Myers <joseph@codesourcery.com>
14584
14585 * manual/macros.texi: New file.
14586 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14587 * manual/libc.texinfo: Include macros.texi.
14588 * manual/creatute.texi: Likewise.
14589 * manual/install.texi: Likewise.
14590 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14591 @glibcadj{} in references to the GNU C Library.
14592 * manual/charset.texi: Likewise.
14593 * manual/conf.texi: Likewise.
14594 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14595 when not using those macros.
14596 * manual/creature.texi: Likewise.
14597 * manual/crypt.texi: Likewise.
14598 * manual/errno.texi: Likewise.
14599 * manual/filesys.texi: Likewise.
14600 * manual/header.texi: Likewise.
14601 * manual/install.texi: Likewise.
14602 * manual/intro.texi: Likewise.
14603 * manual/io.texi: Likewise.
14604 * manual/job.texi: Likewise.
14605 * manual/lang.texi: Likewise.
14606 * manual/libc.texiinfo: Likewise.
14607 * manual/llio.texi: Likewise.
14608 * manual/locale.texi: Likewise.
14609 * manual/maint.texi: Likewise.
14610 * manual/math.texi: Likewise.
14611 * manual/memory.texi: Likewise.
14612 * manual/message.texi: Likewise.
14613 * manual/nss.texi: Likewise.
14614 * manual/pattern.texi: Likewise.
14615 * manual/process.texi: Likewise.
14616 * manual/resource.texi: Likewise.
14617 * manual/search.texi: Likewise.
14618 * manual/setjmp.texi: Likewise.
14619 * manual/signal.texi: Likewise.
14620 * manual/socket.texi: Likewise.
14621 * manual/startup.texi: Likewise.
14622 * manual/stdio.texi: Likewise.
14623 * manual/string.texi: Likewise.
14624 * manual/sysinfo.texi: Likewise.
14625 * manual/syslog.texi: Likewise.
14626 * manual/terminal.texi: Likewise.
14627 * manual/time.texi: Likewise.
14628 * manual/users.texi: Likewise.
14629 * INSTALL: Regenerated.
14630 * NOTES: Regenerated.
d40c5d54 14631 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 14632
450bf206
AS
146332012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14634
14635 * include/dirent.h: Include <dirstream.h> before
14636 <dirent/dirent.h>.
14637
741a235b
DM
146382012-02-28 David S. Miller <davem@davemloft.net>
14639
14640 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14641 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14642 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14643 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14644
d6b5aa58
DM
146452012-02-27 David S. Miller <davem@davemloft.net>
14646
1aff59a3
DM
14647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14649 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14650 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14651
d6b5aa58
DM
14652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14653 frame pointer instead of stack pointer relative arg slot.
14654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14655 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14656 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14657
433f48bf
CD
146582012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14659
14660 [BZ #3992]
14661 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14662
d674b76d
DM
146632012-02-27 David S. Miller <davem@davemloft.net>
14664
14665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14669 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14670 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14671 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14672 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14673
0e7727f7
JM
146742012-02-27 Joseph Myers <joseph@codesourcery.com>
14675
14676 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14677 later. Allow versions 5-9.
43be4ca2 14678 * configure: Regenerated.
0e7727f7
JM
14679 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14680 required minimum version and 4.6 as recommended version. Do not
14681 mention bugs in GCC 2.7 and 2.8.
43be4ca2 14682 * INSTALL: Regenerated.
0e7727f7 14683
a78bc654
DM
146842012-02-27 David S. Miller <davem@davemloft.net>
14685
428d5830
DM
14686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14690 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14691 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14692 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14693 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14694
a78bc654
DM
14695 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14696 manipulate bits before adding and subtracting TWO112[sx].
14697 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14698
4579f81c
RM
146992012-02-27 Roland McGrath <roland@hack.frob.com>
14700
36c8acb4
RM
14701 [BZ #13775]
14702 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14703 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14704 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14705 being in POSIX, because they are in 1003.1-2008.
14706
84ad622b
RM
14707 * rt/tst-aio.c: Include <fcntl.h>.
14708 * rt/tst-aio7.c: Likewise.
14709 * rt/tst-aio64.c: Likewise.
14710
4579f81c
RM
14711 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14712
abd923db
JM
147132012-02-27 Joseph Myers <joseph@codesourcery.com>
14714
14715 * manual/install.texi (--with-headers): Describe headers as
14716 interface headers, not private headers.
14717 (Specific advice for GNU/Linux systems): Describe use of headers
14718 from "make headers_install", not private headers from older
14719 kernels.
43be4ca2 14720 * INSTALL: Regenerated.
abd923db
JM
14721 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14722 Change to 2.6.19.
14723 * sysdeps/unix/sysv/linux/configure: Regenerated.
14724
6664049b
JM
14725 * manual/llio.texi (fclean): Remove documentation.
14726
bb8b6697
JM
14727 * manual/Makefile (libc-texi-generated): New variable. Include
14728 version.texi.
14729 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14730 $(libc-texi-generated), not duplicated list of files.
14731 (version.texi, stamp-version): New rules.
14732 (realclean): Remove $(libc-texi-generated), not individual files
14733 from that list. Do not remove dir-add.texinfo.
14734 * manual/libc.texinfo: Comment out uses of edition numbers and
14735 references to printed manual. Remove last-updated dates.
14736 (EDITION): Comment out.
14737 (ISBN): Likewise.
14738 (VERSION, UPDATED): Remove.
14739 (version.texi): Include.
14740
12e5c3b9
AS
147412012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14742
14743 * sysdeps/posix/spawni.c: Include <signal.h>.
14744 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14745 * sysdeps/pthread/aio_fsync.c: Likewise.
14746
4efeffc1 147472012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 14748
ba63ba08
UD
14749 * conform/Makefile (tests): Run only when not cross-compiling and
14750 when fast-check is not defined.
14751
d94a4670
UD
14752 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14753 * conform/data/limits.h-data: Fixes for POSIX2008.
14754 * conform/run-conformtest.sh: Run all tests.
14755 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14756 headers.
14757 * include/bits/dlfcn.h: Likewise.
14758 * include/langinfo.h: Likewise.
14759 * include/monetary.h: Likewise.
14760 * include/sys/poll.h: Likewise.
14761
14762 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14763 for __USE_GNU.
14764 * posix/spawn.h: Define __need_sigset_t.
14765 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14766 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14767 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14768 to get sigevent_t only.
14769 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14770 only for __USE_GNU.
14771 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14772 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14773 process_vm_writev only for __USE_GNU.
14774 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
14775
14776 * conform/Makefile: For now ignore errors from run-conformtest.
14777 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14778 POSIX to avoid namespace pollution. Don't prepend headers.
14779 * conform/data/aio.h-data: Fixes for POSIX testing.
14780 * conform/data/fcntl.h-data: Likewise.
14781 * conform/data/glob.h-data: Likewise.
14782 * conform/data/grp.h-data: Likewise.
14783 * conform/data/pthread.h-data: Likewise.
14784 * conform/data/pwd.h-data: Likewise.
14785 * conform/data/signal.h-data: Likewise.
14786 * conform/data/spawn.h-data: Likewise.
14787 * conform/data/stdio.h-data: Likewise.
14788 * conform/data/stdlib.h-data: Likewise.
14789 * conform/data/stropts.h-data: Likewise.
14790 * conform/data/sys/mman.h-data: Likewise.
14791 * conform/data/sys/stat.h-data: Likewise.
14792 * conform/data/sys/types.h-data: Likewise.
14793 * conform/data/sys/wait.h-data: Likewise.
14794 * conform/data/time.h-data: Likewise.
14795 * conform/data/unistd.h-data: Likewise.
14796 * conform/data/utime.h-data: Likewise.
14797
14798 * io/sys/stat.h: fchmod was always in POSIX.
14799 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14800 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14801 * rt/aio.h: Define __need_timespec before including <time.h>.
14802 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14803 struct. Add forward declaration of pthread_attr_t and use it in
14804 sigevent.
14805 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14806 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14807 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14808 always remove CLK_TCK definition.
14809
c20105c3
AS
148102012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14811
14812 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14813
7a270350
UD
148142012-02-25 Ulrich Drepper <drepper@gmail.com>
14815
31341567
UD
14816 * conform/run-conformtest.sh: New file.
14817 * conform/Makefile: Run run-conformtest for tests.
14818 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14819 support.
14820
14821 * conform/data/uchar.h-data: New file.
14822 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14823 * conform/data/arpa/inet.h-data: Likewise.
14824 * conform/data/assert.h-data: Likewise.
14825 * conform/data/complex.h-data: Likewise.
14826 * conform/data/cpio.h-data: Likewise.
14827 * conform/data/ctype.h-data: Likewise.
14828 * conform/data/dirent.h-data: Likewise.
14829 * conform/data/dlfcn.h-data: Likewise.
14830 * conform/data/errno.h-data: Likewise.
14831 * conform/data/fcntl.h-data: Likewise.
14832 * conform/data/float.h-data: Likewise.
14833 * conform/data/fmtmsg.h-data: Likewise.
14834 * conform/data/fnmatch.h-data: Likewise.
14835 * conform/data/ftw.h-data: Likewise.
14836 * conform/data/glob.h-data: Likewise.
14837 * conform/data/grp.h-data: Likewise.
14838 * conform/data/iconv.h-data: Likewise.
14839 * conform/data/inttypes.h-data: Likewise.
14840 * conform/data/langinfo.h-data: Likewise.
14841 * conform/data/libgen.h-data: Likewise.
14842 * conform/data/limits.h-data: Likewise.
14843 * conform/data/locale.h-data: Likewise.
14844 * conform/data/math.h-data: Likewise.
14845 * conform/data/monetary.h-data: Likewise.
14846 * conform/data/mqueue.h-data: Likewise.
14847 * conform/data/ndbm.h-data: Likewise.
14848 * conform/data/net/if.h-data: Likewise.
14849 * conform/data/netdb.h-data: Likewise.
14850 * conform/data/netinet/in.h-data: Likewise.
14851 * conform/data/nl_types.h-data: Likewise.
14852 * conform/data/poll.h-data: Likewise.
14853 * conform/data/pthread.h-data: Likewise.
14854 * conform/data/pwd.h-data: Likewise.
14855 * conform/data/regex.h-data: Likewise.
14856 * conform/data/sched.h-data: Likewise.
14857 * conform/data/search.h-data: Likewise.
14858 * conform/data/semaphore.h-data: Likewise.
14859 * conform/data/setjmp.h-data: Likewise.
14860 * conform/data/signal.h-data: Likewise.
14861 * conform/data/spawn.h-data: Likewise.
14862 * conform/data/stdarg.h-data: Likewise.
14863 * conform/data/stdio.h-data: Likewise.
14864 * conform/data/stdlib.h-data: Likewise.
14865 * conform/data/string.h-data: Likewise.
14866 * conform/data/strings.h-data: Likewise.
14867 * conform/data/stropts.h-data: Likewise.
14868 * conform/data/sys/ipc.h-data: Likewise.
14869 * conform/data/sys/mman.h-data: Likewise.
14870 * conform/data/sys/msg.h-data: Likewise.
14871 * conform/data/sys/resource.h-data: Likewise.
14872 * conform/data/sys/select.h-data: Likewise.
14873 * conform/data/sys/sem.h-data: Likewise.
14874 * conform/data/sys/shm.h-data: Likewise.
14875 * conform/data/sys/socket.h-data: Likewise.
14876 * conform/data/sys/stat.h-data: Likewise.
14877 * conform/data/sys/statvfs.h-data: Likewise.
14878 * conform/data/sys/time.h-data: Likewise.
14879 * conform/data/sys/timeb.h-data: Likewise.
14880 * conform/data/sys/times.h-data: Likewise.
14881 * conform/data/sys/types.h-data: Likewise.
14882 * conform/data/sys/uio.h-data: Likewise.
14883 * conform/data/sys/un.h-data: Likewise.
14884 * conform/data/sys/utsname.h-data: Likewise.
14885 * conform/data/sys/wait.h-data: Likewise.
14886 * conform/data/syslog.h-data: Likewise.
14887 * conform/data/tar.h-data: Likewise.
14888 * conform/data/termios.h-data: Likewise.
14889 * conform/data/utime.h-data: Likewise.
14890 * conform/data/utmpx.h-data: Likewise.
14891 * conform/data/varargs.h-data: Likewise.
14892 * conform/data/wchar.h-data: Likewise.
14893 * conform/data/wctype.h-data: Likewise.
14894 * conform/data/wordexp.h-data: Likewise.
14895
14896 * include/stropts.h: New file.
14897 * include/uchar.h: New file.
14898 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14899 * include/assert.h: Likewise.
14900 * include/ctype.h: Likewise.
14901 * include/dirent.h: Likewise.
14902 * include/dlfcn.h: Likewise.
14903 * include/fcntl.h: Likewise.
14904 * include/fnmatch.h: Likewise.
14905 * include/glob.h: Likewise.
14906 * include/grp.h: Likewise.
14907 * include/libio.h: Likewise.
14908 * include/locale.h: Likewise.
14909 * include/math.h: Likewise.
14910 * include/net/if.h: Likewise.
14911 * include/netdb.h: Likewise.
14912 * include/netinet/in.h: Likewise.
14913 * include/pthread.h: Likewise.
14914 * include/pwd.h: Likewise.
14915 * include/regex.h: Likewise.
14916 * include/sched.h: Likewise.
14917 * include/search.h: Likewise.
14918 * include/setjmp.h: Likewise.
14919 * include/signal.h: Likewise.
14920 * include/stdio.h: Likewise.
14921 * include/stdlib.h: Likewise.
14922 * include/string.h: Likewise.
14923 * include/sys/cdefs.h: Likewise.
14924 * include/sys/mman.h: Likewise.
14925 * include/sys/msg.h: Likewise.
14926 * include/sys/resource.h: Likewise.
14927 * include/sys/select.h: Likewise.
14928 * include/sys/socket.h: Likewise.
14929 * include/sys/stat.h: Likewise.
14930 * include/sys/statvfs.h: Likewise.
14931 * include/sys/time.h: Likewise.
14932 * include/sys/times.h: Likewise.
14933 * include/sys/uio.h: Likewise.
14934 * include/sys/utsname.h: Likewise.
14935 * include/sys/wait.h: Likewise.
14936 * include/termios.h: Likewise.
14937 * include/time.h: Likewise.
14938 * include/ulimit.h: Likewise.
14939 * include/unistd.h: Likewise.
14940 * include/utime.h: Likewise.
14941 * include/wchar.h: Likewise.
14942 * include/wctype.h: Likewise.
14943 * include/wordexp.h: Likewise.
14944
14945 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14946
7a270350
UD
14947 * time/time.h: TIME_UTC must be a macro.
14948 Make timespec_get available for ISO C11 only as well.
14949
7724defc
UD
149502012-02-24 Ulrich Drepper <drepper@gmail.com>
14951
14952 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14953 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14954
6b1d1d46
JM
149552012-02-24 Joseph Myers <joseph@codesourcery.com>
14956
14957 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 14958
0f8bbd69
JM
149592012-02-24 Joseph Myers <joseph@codesourcery.com>
14960
14961 * manual/texinfo.tex: Update to version 2012-01-19.16.
14962
66ab80bc
JM
149632012-02-24 Joseph Myers <joseph@codesourcery.com>
14964
14965 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14966
74981cc5
RM
149672012-02-24 Roland McGrath <roland@hack.frob.com>
14968
ee968201
RM
14969 [BZ #13738]
14970 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14971 * manual/fdl-1.3.texi: New file.
14972 * manual/fdl-1.1.texi: File removed.
14973
74981cc5
RM
14974 [BZ #13738]
14975 * manual/libc.texinfo (FDL_VERSION): New @set.
14976 Use it for mention of FDL in cover text.
14977 (Documentation License): Use it in @include file name.
14978
7bb764bc
JM
149792012-02-22 Joseph Myers <joseph@codesourcery.com>
14980 Roland McGrath <roland@hack.frob.com>
14981
14982 [BZ #5461]
14983 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14984 not LONG_LONG_MAX and LONG_LONG_MIN.
14985 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14986 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14987 name.
14988 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14989
6cbeae47
JM
149902012-02-22 Joseph Myers <joseph@codesourcery.com>
14991
14992 [BZ #2547]
14993 [BZ #11365]
14994 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14995 manipulate bits before adding and subtracting TWO23[sx].
14996 * math/libm-test.inc (nearbyint_test): Add more tests.
14997
fe45ce09
JM
149982012-02-22 Joseph Myers <joseph@codesourcery.com>
14999
15000 [BZ #2548]
15001 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15002 bits before adding and subtracting TWO23[sx].
15003 * math/libm-test.inc (rint_test): Add more tests.
15004 (rint_test_tonearest): Likewise.
15005 (rint_test_towardzero): Likewise.
15006 (rint_test_downward): Likewise.
15007 (rint_test_upward: Likewise.
15008
ff3b3d82
JM
150092012-02-22 Joseph Myers <joseph@codesourcery.com>
15010
15011 [BZ #10110]
15012 * include/stdc-predef.h: New file. Extracted from features.h.
15013 * include/features.h: Include stdc-predef.h.
15014 * Makefile (headers): Add stdc-predef.h.
15015 * CONFORMANCE (Compiler limitations): Update.
15016
ef0aab35
JM
150172012-02-22 Joseph Myers <joseph@codesourcery.com>
15018
15019 * manual/libc.texinfo (VERSION, UPDATED): Revert.
15020
58639409
DM
150212012-02-21 David S. Miller <davem@davemloft.net>
15022
15023 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15024 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15025
c0e70b25
DM
150262012-02-20 David S. Miller <davem@davemloft.net>
15027
15028 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15029 using a normal save/restore sequence, rather than allocating a
15030 dummy stack frame just to store a frame pointer and restore.
15031 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15032
fb06851d
JM
150332012-02-21 Joseph Myers <joseph@codesourcery.com>
15034
15035 * manual/install.texi: Fix stray word in line-wrapped comment.
15036
7a8b71c3
DM
150372012-02-20 David S. Miller <davem@davemloft.net>
15038
d510c123
DM
15039 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15040 both binutils and gcc support GOTDATA.
15041
0722d7c2
DM
15042 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15043 "rd %pc" in the PIC register setup sequences.
15044
3d2b3019
DM
15045 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15046 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15047 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15048 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15049 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15050 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15051 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15052 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15053 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15054 (SYSCALL_ERROR_HANDLER): Likewise.
15055 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15056 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15057 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15058 (SYSCALL_ERROR_HANDLER): Likewise.
15059
c80098a9
DM
15060 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15061 (HAVE_GCC_GOTDATA): New.
15062 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15063 relocation support in both binutils and gcc.
15064 * sysdeps/sparc/elf/configure: Regenerate.
15065
3a2545a0
DM
15066 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15067 * sysdeps/sparc/sparc32/elf/configure: Delete.
15068 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15069 * sysdeps/sparc/sparc64/elf/configure: Delete.
15070 * sysdeps/sparc/elf/configure.in: New file.
15071 * sysdeps/sparc/elf/configure: Generate.
15072
7a8b71c3
DM
15073 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15074 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15075 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15076 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15077 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15078
f1e86fca
JM
150792012-02-21 Joseph Myers <joseph@codesourcery.com>
15080
15081 * manual/install.texi: Do not mention specific glibc version
15082 numbers.
15083 * manual/libc.texinfo (VERSION, UPDATED): Update.
15084 (@copying): Use @copyright{} and range of years.
15085
0e7dfaef
JM
150862012-02-21 Joseph Myers <joseph@codesourcery.com>
15087
15088 [BZ #13695]
15089 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15090 [crti.S not in sysdirs] (generated): Do not append.
15091 [crti.S not in sysdirs] (omit-deps): Likewise.
15092 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15093 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15094 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15095 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15096 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15097 Likewise.
15098 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15099 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15100 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15101 * csu/defs.awk: Remove file.
15102 * sysdeps/generic/initfini.c: Likewise.
15103 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15104 variable.
15105 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15106 Likewise.
15107
599af3ca
JM
151082012-02-20 Joseph Myers <joseph@codesourcery.com>
15109
15110 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15111 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15112 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15113 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15114 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15115 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15116 <bits/epoll.h>.
15117 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15118 (__EPOLL_PACKED): Define to empty if not defined by
15119 <bits/epoll.h>.
15120 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15121 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15122 bits/epoll.h.
15123
0e499750
JM
151242012-02-20 Joseph Myers <joseph@codesourcery.com>
15125
15126 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15127 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15128 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15129 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15130 <bits/timerfd.h>.
15131 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15132 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15133 bits/timerfd.h.
15134
5ad91f6e
JM
151352012-02-20 Joseph Myers <joseph@codesourcery.com>
15136
15137 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15138 in C locale.
15139 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15140 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15141 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15143
06b99b02
AJ
151442012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15145
15146 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15147 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15148
7638c0fd
AS
151492012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15150
15151 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15152 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15153 defined.
15154 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15155 Likewise.
15156 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15157 entry for 2.16.
15158
92221550
AJ
151592012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15160
15161 * math/w_acos.c: Use non-signaling floating-point comparisons.
15162 * math/w_acosf.c: Likewise.
15163 * math/w_acosh.c: Likewise.
15164 * math/w_acoshf.c: Likewise.
15165 * math/w_acoshl.c: Likewise.
15166 * math/w_acosl.c: Likewise.
15167 * math/w_asin.c: Likewise.
15168 * math/w_asinf.c: Likewise.
15169 * math/w_asinl.c: Likewise.
15170 * math/w_atanh.c: Likewise.
15171 * math/w_atanhf.c: Likewise.
15172 * math/w_atanhl.c: Likewise.
15173 * math/w_exp2.c: Likewise.
15174 * math/w_exp2f.c: Likewise.
15175 * math/w_exp2l.c: Likewise.
15176 * math/w_j0.c: Likewise.
15177 * math/w_j0f.c: Likewise.
15178 * math/w_j0l.c: Likewise.
15179 * math/w_j1.c: Likewise.
15180 * math/w_j1f.c: Likewise.
15181 * math/w_j1l.c: Likewise.
15182 * math/w_jn.c: Likewise.
15183 * math/w_jnf.c: Likewise.
15184 * math/w_log.c: Likewise.
15185 * math/w_log10.c: Likewise.
15186 * math/w_log10f.c: Likewise.
15187 * math/w_log10l.c: Likewise.
15188 * math/w_log2.c: Likewise.
15189 * math/w_log2f.c: Likewise.
15190 * math/w_log2l.c: Likewise.
15191 * math/w_logf.c: Likewise.
15192 * math/w_logl.c: Likewise.
15193 * math/w_sqrt.c: Likewise.
15194 * math/w_sqrtf.c: Likewise.
15195 * math/w_sqrtl.c: Likewise.
15196 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15197 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15198 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15199 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15200 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15201
ebaf36eb
JM
152022012-02-19 Joseph Myers <joseph@codesourcery.com>
15203
15204 [BZ #9739]
15205 * manual/string.texi (strnlen): Use correct parameter name in
15206 equivalent expression.
15207
71c254a6
JM
152082012-02-19 Joseph Myers <joseph@codesourcery.com>
15209
15210 [BZ #11174]
15211 * manual/users.texi (seteuid): Consistently use neweuid for
15212 argument name.
15213
16d2c631
JM
152142012-02-19 Joseph Myers <joseph@codesourcery.com>
15215
15216 [BZ #13704]
15217 * manual/nss.texi (Services in the NSS configuration): Correct
15218 list of services in example configuration file.
15219
cd837b09
NB
152202012-02-19 Nick Bowler <nbowler@draconx.ca>
15221
15222 [BZ #11322]
15223 * manual/arith.texi: Remove statements about negative zero
15224 behaving identically to zero.
15225
02c4bbad
JM
152262012-02-18 Joseph Myers <joseph@codesourcery.com>
15227
15228 [BZ #5993]
15229 * manual/install.texi: Do not document upgrading from libc5.
15230
366842e7
JM
152312012-02-18 Joseph Myers <joseph@codesourcery.com>
15232
15233 [BZ #4596]
15234 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15235
dd54084d
DM
152362012-02-18 David S. Miller <davem@davemloft.net>
15237
15238 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15239 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15240 %o7 across the call.
15241 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15242 instead.
15243 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15244 SETUP_PIC_REG_LEAF.
15245 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15246 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15247 * sysdeps/sparc/crtn.S: Likewise.
15248
2bcc53a3
UD
152492012-02-17 Ulrich Drepper <drepper@gmail.com>
15250
15251 * aout/Makefile: Remove.
15252
09c093b5
RK
152532012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15254
15255 [BZ #13058]
15256 * manual/examples/argp-ex1.c (main): Format definition in GNU
15257 style.
15258 * manual/examples/argp-ex2.c (main): Likewise.
15259 * manual/examples/argp-ex3.c (main): Likewise.
15260 * manual/examples/argp-ex4.c (main): Likewise.
15261 * manual/examples/longopt.c (main): Use new-style prototype
15262 definition.
15263 * manual/examples/strncat.c (main): Specify return type and use
15264 (void) for arguments.
15265 * manual/examples/subopt.c (main): Use char **argv argument.
15266
2ee633a2
JM
152672012-02-17 Joseph Myers <joseph@codesourcery.com>
15268
15269 [BZ #5077]
15270 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15271 rounding modes.
15272
0520adde
FB
152732012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15274
15275 [BZ #6907]
15276 * manual/string.texi (strchr): Change when strchrnul is
15277 recommended.
15278
3f4081cd
DGM
152792012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15280
15281 [BZ #174]
15282 * manual/locale.texi (setlocale): Document LOCPATH.
15283
d1b10e78
JM
152842012-02-17 Joseph Myers <joseph@codesourcery.com>
15285
15286 [BZ #10210]
15287 * manual/process.texi (execle): Move @dots{} before last argument.
15288
79c6869c
PB
152892012-02-17 Paul Bolle <pebolle@tiscali.nl>
15290
15291 [BZ #12047]
15292 * manual/charset.texi (Generic Charset Conversion): Fix typo
15293 (LC_TYPE -> LC_CTYPE).
15294
cc6e48bc
NB
152952012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15296
15297 [BZ #5805]
15298 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15299 (scalbnf): Likewise.
15300 (scalbnl): Likewise.
15301 (scalbln): Likewise.
15302 (scalblnf): Likewise.
15303 (scalblnl): Likewise.
15304 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15305 (vwarnx): Likewise.
15306 (verr): Likewise.
15307 (verrx): Likewise.
15308 * manual/filesys.texi (telldir): Use braces around return type.
15309 * manual/llio.texi (mmap): Add space after comma.
15310 (mmap64): Likewise.
15311 * manual/math.texi (jn): Use @var{} on parameter names.
15312 (jnf): Likewise.
15313 (jnl): Likewise.
15314 (yn): Likewise.
15315 (ynf): Likewise.
15316 (ynl): Likewise.
15317 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15318 line.
15319 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15320 "...".
15321 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15322 (sched_get_priority_max): Likewise.
15323 * manual/signal.texi (sigvec): Add space after comma.
15324 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15325 names.
15326 (if_indextoname): Likewise.
15327 (if_freenameindex): Likewise.
15328 (sendto): Use ',' instead of '.' in prototype.
15329 * manual/startup.texi (syscall): Use @dots{} instead of literal
15330 "...".
15331 * manual/stdio.texi (__fpending): Separate initial words of
15332 paragraph from @deftypefun line.
15333 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15334 "...".
15335 (vsyslog): Use @var{} on parameter names.
15336 * manual/terminal.texi (stty): Use @var{} on parameter names.
15337 * manual/users.texi (getutmp): Use @var{} on parameter names.
15338 (getutmpx): Likewise.
15339
5b23062f
JM
153402012-02-17 Joseph Myers <joseph@codesourcery.com>
15341
15342 [BZ #6884]
15343 * manual/stdio.texi (fopen): Fix typos in description of
15344 ",ccs=STRING".
15345
8dee4833
AJ
153462012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15347
15348 [BZ #4026]
15349 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15350 get clock_id definition.
15351
9078ce93
TS
153522012-02-17 Thomas Schwinge <thomas@schwinge.name>
15353
15354 [BZ #4822]
15355 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15356 (madvise): Cast every argument to void on its own.
15357
3835c55f
JM
153582012-02-17 Joseph Myers <joseph@codesourcery.com>
15359
15360 [BZ #9902]
15361 * manual/startup.texi (Exit Status): Fix typo.
15362
35c47e37
JM
153632012-02-17 Joseph Myers <joseph@codesourcery.com>
15364
15365 [BZ #10140]
15366 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15367 * manual/examples/argp-ex2.c: Likewise.
15368 * manual/examples/argp-ex3.c: Likewise.
15369
e3b69ca7
RH
153702012-02-16 Richard Henderson <rth@redhat.com>
15371
15372 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15373 * sysdeps/s390/s390-32/initfini.c: Remove.
15374 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15375 * sysdeps/s390/s390-64/initfini.c: Remove.
15376
df83af67
KK
153772012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15378
15379 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15380 compiler output for sysdeps/generic/initfini.c.
15381 * sysdeps/sh/elf/initfini.c: Remove file.
15382
f63f3380
DM
153832012-02-16 David S. Miller <davem@davemloft.net>
15384
fb59b3a4
DM
15385 [BZ #11494]
15386 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15387
f63f3380
DM
15388 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15389 * sysdeps/sparc/crti.S: New file.
15390 * sysdeps/sparc/crtn.S: New file.
15391 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15392 * sysdeps/sparc/sparc64/Makefile: Likewise.
15393
df6a4a4a
MF
153942012-02-15 Mike Frysinger <vapier@gentoo.org>
15395
6dd8f3dc 15396 [BZ #3335]
df6a4a4a
MF
15397 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15398
1cac7236
RM
153992012-02-15 Roland McGrath <roland@hack.frob.com>
15400
d2c736f8
RM
15401 [BZ #4822]
15402 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15403
1cac7236
RM
15404 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15405 (write, read, close): Likewise.
15406 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15407
8e475601
JM
154082012-02-15 Joseph Myers <joseph@codesourcery.com>
15409
15410 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15411 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15412 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15413 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15414 <bits/signalfd.h>.
15415 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15416 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15417 bits/signalfd.h.
15418
ed656b40
MP
154192012-02-14 Marek Polacek <polacek@redhat.com>
15420
15421 * sysdeps/x86_64/crti.S: New file.
15422 * sysdeps/x86_64/crtn.S: New file.
15423 * sysdeps/x86_64/elf/initfini.c: Remove file.
15424
2a979d3a
JM
154252012-02-13 Joseph Myers <joseph@codesourcery.com>
15426
15427 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15428 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15429 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15430 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15431 <bits/inotify.h>.
15432 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15433 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15434 bits/inotify.h.
15435
2a418ac3
JM
154362012-02-13 Joseph Myers <joseph@codesourcery.com>
15437
15438 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15439 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15440 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15441 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15442 <bits/eventfd.h>.
15443 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15444 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15445 bits/eventfd.h.
15446
fb779be7
TS
154472012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15448
e19e83c5
RM
15449 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15450 __feraiseexcept instead of feraiseexcept.
7c35ffed 15451
fb779be7
TS
15452 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15453 nanosleep invocations.
15454 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15455 strings, and add error checking for a nanosleep invocations.
15456
59ba27a6
PE
154572012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15458
15459 Replace FSF snail mail address with URLs, as per GNU coding standards.
15460 Most of the snail mail addresses were wrong anyway, and omitting
15461 them makes the source code easier to maintain. Almost all of the
15462 changes are to license notices and to locale LC_IDENTIFICATION
15463 addresses, except for this one:
15464 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15465 not its snail mail address.
15466
57b957eb
RH
154672012-02-09 Richard Henderson <rth@twiddle.net>
15468
af850b1c
RH
15469 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15470 of kernel-features.h.
15471
57b957eb
RH
15472 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15473
6b73181a
MP
154742012-02-08 Marek Polacek <polacek@redhat.com>
15475
15476 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15477 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15478 * sysdeps/gnu/_G_config.h: Likewise.
15479 * sysdeps/generic/_G_config.h: Likewise.
15480
26ecc33a
AS
154812012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15482
6c6dbc63
AS
15483 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15484 tests.
15485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15486
e216c012
AS
15487 * sysdeps/powerpc/powerpc32/crti.S: New file.
15488 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15489 * sysdeps/powerpc/powerpc64/crti.S: New file.
15490 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15491
26ecc33a
AS
15492 * Makeconfig (have-initfini): Don't set.
15493 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15494 * configure.in (nopic_initfini): Don't substitute.
15495 * config.h.in (HAVE_INITFINI): Don't #undef.
15496 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15497 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15498
3add8e13
JM
154992012-02-08 Joseph Myers <joseph@codesourcery.com>
15500
15501 Support crti.S and crtn.S provided directly by architectures.
15502 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15503 [crti.S in sysdirs] (omit-deps): Likewise.
15504 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15505 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15506 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15507 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15508 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15509 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15510 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15511 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15512 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15513 compiler output for sysdeps/generic/initfini.c.
15514 * sysdeps/i386/elf/Makefile: Remove file.
15515 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15516
a22f12b4
MP
155172012-02-07 Marek Polacek <polacek@redhat.com>
15518
15519 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15520 * sysdeps/gnu/_G_config.h: Likewise.
15521 * sysdeps/mach/hurd/_G_config.h: Likewise.
15522
148cf100
MP
155232012-02-07 Marek Polacek <polacek@redhat.com>
15524
15525 * math/Makefile (tests): Add tst-CMPLX2.
15526 * math/tst-CMPLX2.c: New file.
15527
cfdc0dd7
AS
155282012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15529
84ba42c4
AS
15530 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15531
cfdc0dd7
AS
15532 * math/libm-test.inc (jn_test): Add missing L suffix.
15533
622c86f4
MP
155342012-02-06 Marek Polacek <polacek@redhat.com>
15535
15536 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15537 * sysdeps/i386/fpu/e_powf.S: Likewise.
15538 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15539 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15540 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15541 * sysdeps/i386/fpu/e_pow.S: Likewise.
15542 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15543 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15544 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15545 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15546 * sysdeps/i386/fpu/e_log2.S: Likewise.
15547 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15548 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15549 * sysdeps/i386/fpu/e_powl.S: Likewise.
15550 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15551 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15552 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15553 * sysdeps/i386/fpu/e_logl.S: Likewise.
15554 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15555 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15556 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15557 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15558 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15559 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15560 * sysdeps/i386/fpu/e_log.S: Likewise.
15561 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15562 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15563 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15564 * sysdeps/i386/fpu/e_logf.S: Likewise.
15565 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15566 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15567 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15568 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15569 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15570 * sysdeps/i386/fpu/e_log10.S: Likewise.
15571 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15572 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15573 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15574 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15575 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15576 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15577 * sysdeps/i386/asm-syntax.h: Likewise.
15578 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15579 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15580 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15581 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15582 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15583 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15584 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15585 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15586 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15587 * sysdeps/powerpc/sysdep.h: Likewise.
15588 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15589 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15590
d4a54ac6
JM
155912012-02-06 Joseph Myers <joseph@codesourcery.com>
15592
15593 [BZ #411]
15594 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15595
314054ea
JM
155962012-02-06 Joseph Myers <joseph@codesourcery.com>
15597
15598 * sysdeps/i386/sysdep.h: Include <features.h>.
15599 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15600 version.
15601
d8e0ca50
JM
156022012-02-05 Joseph Myers <joseph@codesourcery.com>
15603
15604 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15605 Define.
15606 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15607 LOAD_PIC_REG_STR.
15608
b1da7dd9
JM
156092012-02-03 Joseph Myers <joseph@codesourcery.com>
15610
15611 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15612 (SETUP_PIC_REG): Use GET_PC_THUNK.
15613 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15614 macro.
15615
9a1d9254
JM
156162012-02-03 Joseph Myers <joseph@codesourcery.com>
15617
15618 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15619 for non-PIC compilation.
15620 (SETUP_PIC_REG): Add .p2align directive.
15621 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15622 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15623 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15624 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15625 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15626 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15627 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15628 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15629 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15630 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15631 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15632 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15633 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15634 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15635 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15636 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15637 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15638 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15639 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15640 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15641 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15642 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15643 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15644 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15645 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15646 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15647 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15648 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15649 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15650 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15651 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15652 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15653 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15654 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15655 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15656 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15657 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15658 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15659 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15660 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15661 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15662
65dc3b75
JM
156632012-02-03 Joseph Myers <joseph@codesourcery.com>
15664
15665 * math/tst-CMPLX.c: Include <stdio.h>.
15666
d55bf177
JM
156672012-01-31 Joseph Myers <joseph@codesourcery.com>
15668
15669 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15670 float.
15671 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15672 * sysdeps/sparc/bits/mathdef.h: Likewise.
15673
69db4f8f
MP
156742012-01-31 Marek Polacek <polacek@redhat.com>
15675
15676 * libio/libio.h: Don't define _PARAMS.
15677 * locale/programs/config.h: Don't define PARAMS.
15678 * stdlib/strtol_l.c: Likewise.
15679 (__strtol_l): Remove PARAMS from the prototype.
15680
41b81892
UD
156812012-01-31 Ulrich Drepper <drepper@gmail.com>
15682
3b49edc0
UD
15683 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15684 names. Just use the correct names. Remove unnecessary wrapper
15685 functions.
15686 * malloc/arena.c: Likewise.
15687 * malloc/hooks.c: Likewise.
15688
41b81892
UD
15689 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15690 ARENA_TEST says not to. Simplify test for creation of a new arena.
15691 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15692
27a25b6e
UD
156932012-01-30 Ulrich Drepper <drepper@gmail.com>
15694
15695 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15696 into tail calls.
15697 (update_get_addr): New function.
15698 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15699 GET_ADDR_MODULE parameter.
15700
c8a89e7d
JM
157012012-01-30 Joseph Myers <joseph@codesourcery.com>
15702
15703 * crypt/cert.c: Remove __STDC__ conditionals.
15704 * crypt/crypt-entry.c: Likewise.
15705 * crypt/crypt_util.c: Likewise.
15706 * libio/filedoalloc.c: Likewise.
15707 * libio/fileops.c: Likewise.
15708 * libio/genops.c: Likewise.
15709 * libio/iofclose.c: Likewise.
15710 * libio/iofdopen.c: Likewise.
15711 * libio/iofopen.c: Likewise.
15712 * libio/iofopen64.c: Likewise.
15713 * libio/iogetdelim.c: Likewise.
15714 * libio/iopopen.c: Likewise.
15715 * libio/obprintf.c: Likewise.
15716 * libio/oldfileops.c: Likewise.
15717 * libio/oldiofclose.c: Likewise.
15718 * libio/oldiofdopen.c: Likewise.
15719 * libio/oldiofopen.c: Likewise.
15720 * libio/oldiopopen.c: Likewise.
15721 * libio/wfiledoalloc.c: Likewise.
15722 * libio/wgenops.c: Likewise.
15723 * locale/programs/xmalloc.c: Likewise.
15724 * misc/syslog.c: Likewise.
15725 * stdio-common/xbug.c: Likewise.
15726 * string/memchr.c: Likewise.
15727 * string/memcmp.c: Likewise.
15728 * string/memrchr.c: Likewise.
15729 * string/rawmemchr.c: Likewise.
15730 * sysdeps/posix/getcwd.c: Likewise.
15731 * time/strftime_l.c: Likewise.
15732
3b100462
JM
157332012-01-30 Joseph Myers <joseph@codesourcery.com>
15734
15735 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
15736 * config.make.in (config-cflags-sse2avx): Define.
15737 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15738 Fix typo.
15739
607998af
CM
157402012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15741
15742 * scripts/config.guess: Update from upstream config git repository.
15743 * scripts/config.sub: Likewise.
15744
3601428f
CM
157452012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15746
3ac8b282
CM
15747 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15748 (EM_NUM): Update.
15749 (R_TILEPRO_*, R_TILEGX_*): New macros.
15750
e034841e
CM
15751 * scripts/firstversions.awk: Fix bug in version range handling.
15752
540d7568
CM
15753 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15754
3601428f
CM
15755 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15756
463de862
CM
15757 * include/sys/epoll.h: New file.
15758 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15759 libc_hidden_def.
15760
73139a76
UD
157612012-01-28 Ulrich Drepper <drepper@gmail.com>
15762
96bc5b45
UD
15763 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15764 Avoid unnecessary __WORDSIZE == 64 test.
15765 (fmaxf): Use VEX format if possible.
15766 (fmax): Likewise.
15767 (fminf): Likewise.
15768 (fmin): Likewise.
15769
56f6f6a2
UD
15770 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15771 * math/math_private.h: Remove libc_fegetround* and
15772 libc_fesetround*.
15773 * sysdeps/i386/configure.in: Check for -msse2avx.
15774 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15775 also if SSE2AVX is defined.
15776 Remove libc_fegetround* and libc_fesetround*.
15777 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15778 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15779 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15780 of HAS_YMM_USABLE.
15781 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15782 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15783 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15784 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15785 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15786
73139a76
UD
15787 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15788
d73f93a4
AZ
157892012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15790
15791 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15792 size is not set.
15793 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15794
6ee65ed6
UD
157952012-01-27 Ulrich Drepper <drepper@gmail.com>
15796
15797 [BZ #13618]
15798 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15799 relocation.
15800 * Makeconfig (libm): Define.
15801 * elf/Makefile: Add rules to build and run tst-relsort1.
15802 * elf/tst-relsort1.c: New file.
15803 * elf/tst-relsort1mod1.c: New file.
15804 * elf/tst-relsort1mod2.c: New file.
15805
8db21882
JM
158062012-01-27 Joseph Myers <joseph@codesourcery.com>
15807
15808 * math/s_ldexp.c: Remove __STDC__ conditionals.
15809 * math/s_ldexpf.c: Likewise.
15810 * math/s_ldexpl.c: Likewise.
15811 * math/s_nextafter.c: Likewise.
15812 * math/s_nexttowardf.c: Likewise.
15813 * math/s_significand.c: Likewise.
15814 * math/s_significandf.c: Likewise.
15815 * math/s_significandl.c: Likewise.
15816 * math/w_jnl.c: Likewise.
15817 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15818 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15819 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15820 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15821 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15822 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15823 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15824 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15825 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15826 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15827 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15828 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15829 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15830 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15831 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15832 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15833 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15834 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15835 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15836 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15837 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15838 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15839 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15840 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15841 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15842 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15843 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15844 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15845 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15846 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15847 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15848 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15849 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15850 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15851 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15852 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15853 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15854 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15855 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15856 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15857 * sysdeps/ieee754/k_standard.c: Likewise.
15858 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15859 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15860 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15861 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15862 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15863 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15864 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15865 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15866 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15867 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15868 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15869 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15870 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15871 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15872 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15873 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15874 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15875 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15876 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15877 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15878 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15879 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15880 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15881 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15882 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15883 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15884 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15885 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15886 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15887 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15888 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15889 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15890 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15891 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15892 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15893 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15894 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15895 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15896 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15897 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15898 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15899 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15900 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15901 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15902 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15903 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15904 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15905 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15906 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15907 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15908 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15909 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15910 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15911 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15912 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15913 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15914 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15915 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15916 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15917 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15918 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15919 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15920 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15921 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15922 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15923 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15924 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15925 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15926 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15927 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15928 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15929 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15930 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15931 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15932 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15933 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15934 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15935 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15936 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15937 * sysdeps/ieee754/s_matherr.c: Likewise.
15938 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15939 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15940 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15941 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15942
965a54a4
JM
159432012-01-26 Joseph Myers <joseph@codesourcery.com>
15944
15945 * crypt/md5.h: Remove __STDC__ conditionals.
15946 * libio/libioP.h: Likewise.
15947 * locale/programs/config.h: Likewise.
15948 * sysdeps/generic/sysdep.h: Likewise.
15949 * sysdeps/i386/asm-syntax.h: Likewise.
15950 * sysdeps/s390/asm-syntax.h: Likewise.
15951 * sysdeps/unix/sysdep.h: Likewise.
15952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15954
7071ad79
JM
159552012-01-26 Joseph Myers <joseph@codesourcery.com>
15956
15957 * libio/libio.h: Remove __STDC__ conditionals.
15958 * malloc/obstack.h: Likewise.
15959 * math/complex.h: Likewise.
15960 * math/math.h: Likewise.
15961 * sysdeps/generic/_G_config.h: Likewise.
15962 * sysdeps/gnu/_G_config.h: Likewise.
15963 * sysdeps/mach/hurd/_G_config.h: Likewise.
15964 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15965 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15966 * sysdeps/sparc/bits/mathdef.h: Likewise.
15967
afc5ed09
UD
159682012-01-26 Ulrich Drepper <drepper@gmail.com>
15969
15970 [BZ #13583]
15971 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 15972 Clean up HAS_* macros.
afc5ed09 15973 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
15974 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15975 possible.
15976 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15977 HAS_AVX.
15978 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15979 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15980 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15981 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15982 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 15983
bdb6de1d
JM
159842012-01-25 Joseph Myers <joseph@codesourcery.com>
15985
15986 * elf/tst-unique3.cc (gets): Remove declaration.
15987 * elf/tst-unique3lib.cc (gets): Likewise.
15988 * elf/tst-unique3lib2.cc (gets): Likewise.
15989 * elf/tst-unique4.cc (gets): Likewise.
15990
b15549e6
UD
159912012-01-24 Ulrich Drepper <drepper@gmail.com>
15992
15993 * include/stdio.h: Add C++ protection. Add gets declarations and
15994 definitions.
15995 * debug/tst-chk1.c: Don't declare gets here.
15996 * stdio-common/tst-gets.c: Likewise.
15997
a037381f
JM
159982012-01-24 Joseph Myers <joseph@codesourcery.com>
15999
16000 * posix/glob: Remove directory.
16001
f1d4aa75
JM
160022012-01-24 Joseph Myers <joseph@codesourcery.com>
16003
16004 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16005
81c0c964
PT
160062012-01-22 Pino Toscano <toscano.pino@tiscali.it>
16007
16008 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16009 of the non-standard EPFNOSUPPORT.
16010
0ea698ae
ST
160112011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
16012
16013 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16014 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16015 ANYWHERE set to 1 only on KERN_NO_SPACE error.
16016
d220b117
UD
160172012-01-21 Ulrich Drepper <drepper@gmail.com>
16018
16019 * wcsmbs/uchar.h: Test __STDC_VERSION__.
16020
3e1aa84e
UD
160212012-01-20 Ulrich Drepper <drepper@gmail.com>
16022
16023 * nscd/aicache.c (addhstaiX): Do not cache negative results of
16024 transient errors.
16025 * nscd/grpcache.c (cache_addgr): Likewise.
16026 * nscd/hstcache.c (cache_addhst): Likewise.
16027 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16028 * nscd/pwdcache.c (cache_addpw): Likewise.
16029 * nscd/servicescache.c (cache_addserv): Likewise.
16030
400aa020
UD
160312012-01-16 Ulrich Drepper <drepper@gmail.com>
16032
d77e7869
UD
16033 * malloc/malloc.c: Various cleanups.
16034 * malloc/hooks.c: Likewise.
16035
400aa020
UD
16036 * stdlib/Makefile (tests): Add bug-fmtmsg1.
16037 * stdlib/bug-fmtmsg1.c: New file.
16038
16039 * stdlib/fmtmsg.c (init): Add missing unlock.
16040 Patch by Peng Haitao <penght@cn.fujitsu.com>.
16041
e0a309cf
MP
160422012-01-12 Marek Polacek <polacek@redhat.com>
16043
16044 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16045 and _GNU_SOURCE.
16046
929d11c7
WS
160472012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16048
16049 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16050 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16051 macro to ensure uniqueness of label name.
16052 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16053 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16054
41d0e869
UD
160552012-01-11 Ulrich Drepper <drepper@gmail.com>
16056
0cc5ed3b
UD
16057 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16058
41d0e869
UD
16059 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16060 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16061 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16062 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16063
a47a831a
UD
160642012-01-10 Ulrich Drepper <drepper@gmail.com>
16065
daa891c0
UD
16066 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16067
16068 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16069 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16070 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16071
e58ef0f2
UD
16072 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16073
a47a831a 16074 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
16075 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16076 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 16077 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
16078
16079 * math/bits/math-finite.h: Add ldexp support.
16080
a0bfc9c7
MP
160812012-01-10 Marek Polacek <polacek@redhat.com>
16082
16083 * locale/programs/localedef.h (show_archive_content): Add noreturn
16084 attribute.
16085
d6e97a1d
UD
160862012-01-09 Ulrich Drepper <drepper@gmail.com>
16087
16088 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16089
d5835c26
UD
160902012-01-08 Ulrich Drepper <drepper@gmail.com>
16091
e5f484c6
UD
16092 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16093
d5835c26
UD
16094 * io/Makefile (headers): Add bits/poll2.h.
16095
d1f741e9
WS
160962011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16097
16098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16099 typo #include statement.
16100
ec09c1c4
UD
161012012-01-08 Ulrich Drepper <drepper@gmail.com>
16102
16103 * include/sys/cdefs.h: Define __attribute_alloc_size.
16104 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16105 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16106 * elf/pldd.c: Likewise.
16107 * iconv/iconv_charmap.c: Likewise.
16108 * iconv/iconvconfig.c: Likewise.
16109 * iconv/strtab.c: Likewise.
16110 * locale/programs/locale.c: Likewise.
16111 * locale/programs/localedef.h: Likewise.
16112 * locale/programs/simple-hash.c: Likewise.
16113 * nscd/nscd.h: Likewise.
16114 * nss/makedb.c: Likewise.
16115 * sysdeps/generic/ldconfig.h: Likewise.
16116 * locale/programs/localedef.c: Remove xmalloc prototype.
16117 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16118
20b38e03
PP
161192012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16120
16121 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16122 appropriate.
16123
a0da5fe1
UD
161242012-01-08 Ulrich Drepper <drepper@gmail.com>
16125
1d5a644a 16126 * math/Makefile (tests): Add tst-CMPLX.
669704fd 16127 * math/tst-CMPLX.c: New file.
1d5a644a 16128
8784a6db
UD
16129 * math/complex.h (CMPLXL): Fix typo.
16130
d9a216c0
UD
16131 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16132 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16133 GLIBC_2.16.
16134 * debug/tst-chk1.c: Add poll and ppoll tests.
16135 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16136 * include/sys/poll.h: Add hidden proto for ppoll.
16137 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16138 * sysdeps/mach/hurd/ppoll.c: Likewise.
16139 * io/ppoll.c: Likewise.
16140 * debug/poll_chk.c: New file.
16141 * debug/ppoll_chk.c: New file.
16142 * include/bits/poll2.h: New file.
16143 * io/bits/poll2.h: New file.
16144
ac097f5c
UD
16145 [BZ #1350]
16146 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16147
2119dcfa
UD
16148 * configure.in: static is always set to yes. Remove.
16149 * config.make.in: Don't set build-static.
16150 * Makeconfig: Remove use of build-static.
16151 * dlfcn/Makefile: Likewise.
16152 * elf/Makefile: Likewise.
16153 * math/Makefile: Likewise.
16154 * misc/Makefile: Likewise.
16155 * nptl/Makefile: Likewise.
16156 * sysdeps/mach/hurd/Makefile: Likewise.
16157
121766a9
UD
16158 * configure.in: PWD_P is not used anymore.
16159 * config.make.in: Remove PWD_P entry.
16160
51a1d39c 16161 * configure.in: Remove last remnants of RANLIB.
8720d066 16162 No need to check for signed size_t anymore.
215f4bdc
UD
16163 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16164 and IA-64.
3857022a 16165 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
16166 * aclocal.m4: Likewise.
16167
d3ed7225
UD
16168 * wcsmbs/mbrtoc16.c: Implement using towc function.
16169 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16170 * wcsmbs/wcsmbsload.c: Likewise.
16171 * iconv/gconv_simple.c: Likewise.
16172 * iconv/gconv_int.h: Likewise.
16173 * iconv/gconv_builtin.h: Likewise.
16174 * iconv/iconv_prog.c: Remove CHAR16 handling.
16175
16176 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16177
16178 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16179
a0da5fe1
UD
16180 * configure.in: Remove --with-elf and --enable-bounded options.
16181 Dont set base_machine for ia64. More non-ELF conditions removed.
16182 Remove testing and setting of leading underscore information.
16183 * config.make.in (build-bounded): Set to no.
16184 * config.h.in: Remove NO_UNDERSCORES entry.
16185 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16186 them.
16187 * csu/start.c: Remove !NO_UNDERSCORE code.
16188 * locale/localeinfo.h: Likewise.
16189 * sysdeps/generic/machine-gmon.h: Likewise.
16190 * sysdeps/generic/sysdep.h: Likewise.
16191 * sysdeps/i386/sysdep.h: Likewise.
16192 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16193 * sysdeps/mach/sysdep.h: Likewise.
16194 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16195 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16196 * sysdeps/sh/sysdep.h: Likewise.
16197 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16198 * sysdeps/unix/i386/sysdep.S: Likewise.
16199 * sysdeps/unix/sparc/start.c: Likewise.
16200 * sysdeps/unix/sparc/sysdep.S: Likewise.
16201 * sysdeps/unix/sparc/sysdep.h: Likewise.
16202 * sysdeps/unix/start.c: Likewise.
16203 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16204 * sysdeps/x86_64/sysdep.h: Likewise.
16205
df78418a
UD
162062012-01-07 Ulrich Drepper <drepper@gmail.com>
16207
a784e502
UD
16208 [BZ #13553]
16209 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16210 for non-gcc.
16211 * argp/argp-fmtstream.h: Use const instead __const.
16212 * argp/argp.h: Likewise.
16213 * assert/assert.h: Likewise.
16214 * bits/fenv.h: Likewise.
16215 * bits/sched.h: Likewise.
16216 * bits/sigset.h: Likewise.
16217 * bits/sigthread.h: Likewise.
16218 * catgets/nl_types.h: Likewise.
16219 * conform/data/pthread.h-data: Likewise.
16220 * crypt/crypt-private.h: Likewise.
16221 * crypt/crypt.h: Likewise.
16222 * crypt/crypt_util.c: Likewise.
16223 * ctype/ctype.h: Likewise.
16224 * debug/execinfo.h: Likewise.
16225 * debug/mbsnrtowcs_chk.c: Likewise.
16226 * debug/mbsrtowcs_chk.c: Likewise.
16227 * debug/wcsnrtombs_chk.c: Likewise.
16228 * debug/wcsrtombs_chk.c: Likewise.
16229 * debug/wcstombs_chk.c: Likewise.
16230 * dirent/dirent.h: Likewise.
16231 * dlfcn/dlfcn.h: Likewise.
16232 * elf/neededtest4.c: Likewise.
16233 * grp/grp.h: Likewise.
16234 * gshadow/gshadow.h: Likewise.
16235 * iconv/gconv.h: Likewise.
16236 * iconv/gconv_int.h: Likewise.
16237 * iconv/gconv_simple.c: Likewise.
16238 * iconv/iconv.h: Likewise.
16239 * iconv/loop.c: Likewise.
16240 * iconv/skeleton.c: Likewise.
16241 * include/aio.h: Likewise.
16242 * include/aliases.h: Likewise.
16243 * include/argz.h: Likewise.
16244 * include/arpa/inet.h: Likewise.
16245 * include/assert.h: Likewise.
16246 * include/dirent.h: Likewise.
16247 * include/dlfcn.h: Likewise.
16248 * include/execinfo.h: Likewise.
16249 * include/fcntl.h: Likewise.
16250 * include/fenv.h: Likewise.
16251 * include/glob.h: Likewise.
16252 * include/grp.h: Likewise.
16253 * include/libintl.h: Likewise.
16254 * include/mntent.h: Likewise.
16255 * include/netdb.h: Likewise.
16256 * include/pwd.h: Likewise.
16257 * include/rpc/netdb.h: Likewise.
16258 * include/sched.h: Likewise.
16259 * include/search.h: Likewise.
16260 * include/shadow.h: Likewise.
16261 * include/signal.h: Likewise.
16262 * include/stdio.h: Likewise.
16263 * include/stdlib.h: Likewise.
16264 * include/string.h: Likewise.
16265 * include/sys/socket.h: Likewise.
16266 * include/sys/stat.h: Likewise.
16267 * include/sys/statfs.h: Likewise.
16268 * include/sys/statvfs.h: Likewise.
16269 * include/sys/syslog.h: Likewise.
16270 * include/sys/time.h: Likewise.
16271 * include/sys/uio.h: Likewise.
16272 * include/time.h: Likewise.
16273 * include/unistd.h: Likewise.
16274 * include/utmp.h: Likewise.
16275 * include/wchar.h: Likewise.
16276 * include/wctype.h: Likewise.
16277 * inet/aliases.h: Likewise.
16278 * inet/arpa/inet.h: Likewise.
16279 * inet/netinet/ether.h: Likewise.
16280 * inet/netinet/in.h: Likewise.
16281 * intl/libintl.h: Likewise.
16282 * io/bits/fcntl2.h: Likewise.
16283 * io/fcntl.h: Likewise.
16284 * io/ftw.h: Likewise.
16285 * io/sys/poll.h: Likewise.
16286 * io/sys/stat.h: Likewise.
16287 * io/sys/statfs.h: Likewise.
16288 * io/sys/statvfs.h: Likewise.
16289 * io/utime.h: Likewise.
16290 * libio/bits/stdio.h: Likewise.
16291 * libio/bits/stdio2.h: Likewise.
16292 * libio/libio.h: Likewise.
16293 * libio/libioP.h: Likewise.
16294 * libio/stdio.h: Likewise.
16295 * locale/lc-ctype.c: Likewise.
16296 * locale/locale.h: Likewise.
16297 * login/utmp.h: Likewise.
16298 * malloc/arena.c: Likewise.
16299 * malloc/malloc.c: Likewise.
16300 * malloc/malloc.h: Likewise.
16301 * malloc/mcheck.c: Likewise.
16302 * malloc/mtrace.c: Likewise.
16303 * math/bits/mathcalls.h: Likewise.
16304 * math/fenv.h: Likewise.
16305 * math/math_private.h: Likewise.
16306 * misc/bits/error.h: Likewise.
16307 * misc/bits/syslog.h: Likewise.
16308 * misc/err.h: Likewise.
16309 * misc/error.h: Likewise.
16310 * misc/fstab.h: Likewise.
16311 * misc/mntent.h: Likewise.
16312 * misc/regexp.h: Likewise.
16313 * misc/search.h: Likewise.
16314 * misc/sgtty.h: Likewise.
16315 * misc/sys/mman.h: Likewise.
16316 * misc/sys/syslog.h: Likewise.
16317 * misc/sys/uio.h: Likewise.
16318 * misc/sys/xattr.h: Likewise.
16319 * misc/ttyent.h: Likewise.
16320 * nis/rpcsvc/ypclnt.h: Likewise.
16321 * nss/nss.h: Likewise.
16322 * posix/bits/unistd.h: Likewise.
16323 * posix/fnmatch.h: Likewise.
16324 * posix/glob.h: Likewise.
16325 * posix/sched.h: Likewise.
16326 * posix/spawn.h: Likewise.
16327 * posix/sys/wait.h: Likewise.
16328 * posix/unistd.h: Likewise.
16329 * posix/wordexp.h: Likewise.
16330 * pwd/pwd.h: Likewise.
16331 * resolv/netdb.h: Likewise.
16332 * resource/sys/resource.h: Likewise.
16333 * rt/aio.h: Likewise.
16334 * rt/bits/mqueue2.h: Likewise.
16335 * rt/mqueue.h: Likewise.
16336 * shadow/shadow.h: Likewise.
16337 * signal/signal.h: Likewise.
16338 * socket/send.c: Likewise.
16339 * socket/sendto.c: Likewise.
16340 * socket/sys/socket.h: Likewise.
16341 * stdio-common/printf.h: Likewise.
16342 * stdlib/bits/stdlib.h: Likewise.
16343 * stdlib/fmtmsg.h: Likewise.
16344 * stdlib/monetary.h: Likewise.
16345 * stdlib/stdlib.h: Likewise.
16346 * stdlib/ucontext.h: Likewise.
16347 * streams/stropts.h: Likewise.
16348 * string/argz.h: Likewise.
16349 * string/bits/string2.h: Likewise.
16350 * string/string.h: Likewise.
16351 * string/strings.h: Likewise.
16352 * sunrpc/rpc/auth.h: Likewise.
16353 * sunrpc/rpc/auth_des.h: Likewise.
16354 * sunrpc/rpc/clnt.h: Likewise.
16355 * sunrpc/rpc/netdb.h: Likewise.
16356 * sunrpc/rpc/pmap_clnt.h: Likewise.
16357 * sunrpc/rpc/xdr.h: Likewise.
16358 * sysdeps/generic/inttypes.h: Likewise.
16359 * sysdeps/generic/net/if.h: Likewise.
16360 * sysdeps/generic/sys/swap.h: Likewise.
16361 * sysdeps/gnu/net/if.h: Likewise.
16362 * sysdeps/gnu/utmpx.h: Likewise.
16363 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16364 * sysdeps/i386/i486/bits/string.h: Likewise.
16365 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16366 * sysdeps/s390/bits/string.h: Likewise.
16367 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16368 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16369 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16370 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16371 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16372 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16373 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16374 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16375 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16376 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16377 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16378 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16379 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16380 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16381 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16382 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16383 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16384 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16385 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16386 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16387 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16388 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16389 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16390 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16391 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16392 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16393 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16394 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16395 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16396 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16397 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16398 * sysvipc/sys/ipc.h: Likewise.
16399 * sysvipc/sys/msg.h: Likewise.
16400 * sysvipc/sys/sem.h: Likewise.
16401 * sysvipc/sys/shm.h: Likewise.
16402 * termios/termios.h: Likewise.
16403 * time/sys/time.h: Likewise.
16404 * time/time.h: Likewise.
16405 * wcsmbs/bits/wchar2.h: Likewise.
16406 * wcsmbs/uchar.h: Likewise.
16407 * wcsmbs/wchar.h: Likewise.
16408 * wctype/wctype.h: Likewise.
16409
0269750c
UD
16410 [BZ #13551]
16411 * Makeconfig: Remove all but ELF support including AIX support.
16412 * Makerules: Likewise.
16413 * config.h.in: Likewise.
16414 * config.make.in: Likewise.
16415 * configure: Likewise.
16416 * configure.in: Likewise.
16417 * csu/Makefile: Likewise.
16418 * csu/version.c: Likewise.
16419 * debug/Makefile: Likewise.
16420 * dlfcn/Makefile: Likewise.
16421 * elf/Makefile: Likewise.
16422 * extra-lib.mk: Likewise.
16423 * iconv/Makefile: Likewise.
16424 * include/libc-symbols.h: Likewise.
16425 * include/shlib-compat.h: Likewise.
16426 * resolv/Makefile: Likewise.
16427 * resolv/res_libc.c: Likewise.
16428 * rt/Makefile: Likewise.
16429 * sysdeps/i386/asm-syntax.h: Likewise.
16430 * sysdeps/i386/sysdep.h: Likewise.
16431 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16432 * sysdeps/mach/sysdep.h: Likewise.
16433 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16434 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16435 * sysdeps/s390/asm-syntax.h: Likewise.
16436 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16437 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16438 * sysdeps/sh/sysdep.h: Likewise.
16439 * sysdeps/unix/sparc/sysdep.h: Likewise.
16440 * sysdeps/wordsize-32/divdi3.c: Likewise.
16441 * sysdeps/x86_64/sysdep.h: Likewise.
16442
00bbd29b
UD
16443 * argp/Versions: Remove _argp_unlock_xxx.
16444
16445 [BZ #13559]
16446 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16447 * abilist/libBrokenLocale.abilist: Likewise.
16448 * abilist/libanl.abilist: Likewise.
16449 * abilist/libc.abilist: Likewise.
16450 * abilist/libcrypt.abilist: Likewise.
16451 * abilist/libdl.abilist: Likewise.
16452 * abilist/libm.abilist: Likewise.
16453 * abilist/libnsl.abilist: Likewise.
16454 * abilist/libpthread.abilist: Likewise.
16455 * abilist/libresolv.abilist: Likewise.
16456 * abilist/librt.abilist: Likewise.
16457 * abilist/libthread_db.abilist: Likewise.
16458 * abilist/libutil.abilist: Likewise.
16459 * abilist/libnss_db.abilist: New file.
16460
16461 * scripts/abilist.awk: Add support for indirect functions.
16462
a2693a0e
UD
16463 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16464
3f05895f
UD
16465 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16466
ecb6fb48
UD
16467 * shlib-versions: Remove entries for ports architectures.
16468
664f8cb9
UD
16469 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16470 files in ports.
16471 * elf/stackguard-macros.h: Remove support for IA-64.
16472 * elf/tst-auditmod1.c: Likewise.
16473 * sysdeps/generic/ldsodefs.h: Likewise.
16474
7ae81d88
UD
16475 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16476 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16477 configure files.
16478
bdeba135
UD
16479 [BZ #13552]
16480 * configure.in: Remove --enable-omitfp support.
16481 * FAQ.in: Adjust.
16482 * config.make.in: Likewise.
16483 * Makeconfig: Likewise.
16484 * manual/install.texi: Likewise.
16485
d75a0a62
UD
16486 In case anyone cares, the IA-64 architecture could move to ports.
16487 * sysdeps/ia64/*: Removed.
16488 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 16489 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 16490
dcc9756b
UD
16491 [BZ #13555]
16492 * configure.in: Remove entries for unsupported architectures.
16493
d3761ebc 16494 [BZ #13533]
9954432e
UD
16495 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16496 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16497 routines.
16498 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16499 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16500 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16501 fall back to using wcrtomb.
16502 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16503 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16504 renaming.
16505 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16506 * wcsmbs/tst-c16c32-1.c: New file.
16507
16508 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16509 local variable.
16510
c3a87236
UD
16511 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16512
28926a1b
UD
16513 * elf/tst-unique3.cc: Add explicit declaration of gets.
16514 * elf/tst-unique3lib.cc: Likewise.
16515 * elf/tst-unique3lib2.cc: Likewise.
16516 * elf/tst-unique4.cc: Likewise.
16517
df78418a
UD
16518 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16519
8ecd6b2a
JM
165202012-01-06 Joseph Myers <joseph@codesourcery.com>
16521
16522 [BZ #13566]
16523 * assert/assert.h (static_assert): Don't define for C++.
16524 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16525 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16526
9f115170
UD
165272012-01-03 Ulrich Drepper <drepper@gmail.com>
16528
5e0d0300
UD
16529 * iconv/loop.c (single loop): Fix assertion in storing of
16530 remaining bytes.
16531
9f115170
UD
16532 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16533
81fb02b0
UD
165342012-01-01 Ulrich Drepper <drepper@gmail.com>
16535
16536 * posix/getconf.c: Update copyright year.
16537 * nss/getent.c: Likewise.
a316c1f6 16538 * nss/makedb.c: Likewise.
81fb02b0
UD
16539 * iconv/iconvconfig.c: Likewise.
16540 * iconv/iconv_prog.c: Likewise.
16541 * elf/ldconfig.c: Likewise.
a316c1f6
UD
16542 * elf/pldd.c: Likewise.
16543 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
16544 * catgets/gencat.c: Likewise.
16545 * csu/version.c: Likewise.
16546 * elf/ldd.bash.in: Likewise.
16547 * elf/sprof.c (print_version): Likewise.
16548 * locale/programs/locale.c: Likewise.
16549 * locale/programs/localedef.c: Likewise.
a316c1f6 16550 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
16551 * nscd/nscd.c (print_version): Likewise.
16552 * debug/xtrace.sh: Likewise.
16553 * malloc/memusage.sh: Likewise.
16554 * malloc/mtrace.pl: Likewise.
16555 * debug/catchsegv.sh: Likewise.
16556
2ba92745
JJ
165572011-12-30 Jakub Jelinek <jakub@redhat.com>
16558
16559 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16560 pure attribute.
16561
dadebdae
UD
165622011-12-24 Ulrich Drepper <drepper@gmail.com>
16563
d3761ebc 16564 [BZ #13533]
db6af3eb
UD
16565 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16566 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16567 transformations.
16568 * iconv/gconv_int.h: Likewise.
16569 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16570 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16571 from libc for GLIBC_2.16.
16572 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16573 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16574 * wcsmbs/uchar.h: Really define mbstate_t.
16575 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16576 * wcsmbs/c16rtomb.c: New file.
16577 * wcsmbs/mbrtoc16.c: New file.
16578 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16579 for C/POSIX locale.
16580 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16581 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16582
dadebdae
UD
16583 * wcsmbs/wchar.h: Add missing __restrict.
16584
67371b56
UD
165852011-12-23 Ulrich Drepper <drepper@gmail.com>
16586
74033a25
UD
16587 [BZ #13532]
16588 * time/Makefile (routines): Add timespec_get.
16589 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16590 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16591 timespec for ISO C11.
16592 * time/timespec_get.c: New file.
16593 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16594 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16595
380d7e87
UD
16596 [BZ #13531]
16597 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16598 * stdlib/stdlib.h: Declare aligned_alloc.
16599 * Versions.def: Add GLIBC_2.16 for libc.
16600 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16601
4e9e7a35
UD
16602 [BZ 13527]
16603 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16604 ISO C11.
16605
380d7e87 16606 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
16607 code.
16608
03a71829
UD
16609 [BZ #13528]
16610 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16611
839e283e
UD
16612 [BZ #13529]
16613 * assert/assert.h (static_assert): Define.
16614
ce5294e2 16615 * version.h: Update for 2.16 development version.
90fa7312 16616
8d44e150 16617 [BZ #13526]
d7809905
UD
16618 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16619 _ISOC11_SOURCE.
16620
c0da14cd
UD
16621 * version.h (RELEASE): Bump for 2.15 release.
16622 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16623
530a3249
MP
16624 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16625 Patch by Marek Polacek <mpolacek@redhat.com>.
16626
67371b56
UD
16627 * bits/byteswap.h: Protect long long constants with __extension__.
16628 * sysdeps/i386/bits/byteswap.h: Likewise.
16629 * sysdeps/ia64/bits/byteswap.h: Likewise.
16630 * sysdeps/s390/bits/byteswap.h: Likewise.
16631 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16632
15db4de1
LD
166332011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16634
16635 [BZ #13540]
bbe315ea
LD
16636 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16637 destination buffer.
15db4de1
LD
16638 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16639
2b2596b1
MP
166402011-12-23 Marek Polacek <polacek@redhat.com>
16641
16642 * elf/dl-addr.c (determine_info): Add inline keyword.
16643 * elf/tst-auditmod4b.c (check_avx): Likewise.
16644 * elf/tst-auditmod6b.c (check_avx): Likewise.
16645 * elf/tst-auditmod6c.c (check_avx): Likewise.
16646 * elf/tst-auditmod7b.c (check_avx): Likewise.
16647
70c6c246
UD
166482011-12-23 Ulrich Drepper <drepper@gmail.com>
16649
16650 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16651 !__SSE_MATH__.
16652
c044cf14
LD
166532011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16654
15db4de1 16655 [BZ #13540]
c044cf14
LD
16656 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16657 processing for last bytes.
16658
6b13d9d9
BH
166592011-08-06 Bruno Haible <bruno@clisp.org>
16660
d455f537
BH
16661 [BZ #13061]
16662 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16663 U+0385, not to U+1FEE.
16664
6b13d9d9
BH
16665 [BZ #13062]
16666 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16667 entry for U+00A5 U+0301.
16668
db910efd
UD
166692011-12-22 Ulrich Drepper <drepper@gmail.com>
16670
27deeafc
UD
16671 [BZ #13166]
16672 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16673 buffer for the output is too small.
16674
aed9d171
UD
16675 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16676 optimization.
16677
db910efd
UD
16678 [BZ #13185]
16679 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16680 SSE flags if possible.
16681
2bd779ae
LD
166822011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16683
e7f9dac3 16684 [BZ #13540]
2bd779ae
LD
16685 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16686 processing for last bytes.
16687
154bfc16
JM
166882011-12-22 Joseph Myers <joseph@codesourcery.com>
16689
16690 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16691 (syscall-list-default-options, syscall-list-default-condition)
16692 (syscall-list-includes): Define.
16693 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16694 list of ABIs and options and #if conditions for each ABI. Do not
16695 handle common syscalls between ABIs specially.
16696 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16697 Remove.
16698 (syscall-list-variants, syscall-list-32bit-options)
16699 (syscall-list-32bit-condition, syscall-list-64bit-options)
16700 (syscall-list-64bit-condition): Define.
16701 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16702 (syscall-list-variants, syscall-list-32bit-options)
16703 (syscall-list-32bit-condition, syscall-list-64bit-options)
16704 (syscall-list-64bit-condition): Define.
16705 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16706 Remove.
16707 (syscall-list-variants, syscall-list-32bit-options)
16708 (syscall-list-32bit-condition, syscall-list-64bit-options)
16709 (syscall-list-64bit-condition): Define.
16710 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16711 Remove.
16712 (syscall-list-variants, syscall-list-32bit-options)
16713 (syscall-list-32bit-condition, syscall-list-64bit-options)
16714 (syscall-list-64bit-condition): Define.
16715
21eaf3a5
UD
167162011-12-22 Ulrich Drepper <drepper@gmail.com>
16717
16c6f992
UD
16718 * locale/iso-639.def: Add brx entry.
16719
41043168
UD
16720 [BZ #13328]
16721 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16722 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16723
21eaf3a5
UD
16724 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16725 __feraiseexcept_renamed.
16726
e3a851a2
UD
167272011-12-21 Ulrich Drepper <drepper@gmail.com>
16728
4920765e
UD
16729 [BZ #13538]
16730 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16731 EPOLLET with unsigned values.
16732 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16733 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16734
e3a851a2
UD
16735 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16736 to large cancellation.
16737 * math/s_cacoshf.c: Likewise.
16738 * math/s_cacoshl.c: Likewise.
16739
b27e24b8
RK
167402011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16741
16742 [BZ #13305]
aebefeee 16743 [BZ #12786]
b27e24b8
RK
16744 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16745 * math/s_cacoshf.c: Likewise.
16746 * math/s_cacoshl.c: Likewise.
16747
ee190f67
UD
167482011-12-21 Ulrich Drepper <drepper@gmail.com>
16749
16750 [BZ #13439]
16751 * iconv/gconv.h: Define __GCONV_SWAP.
16752 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16753 * iconvdata/utf-16.c: Likewise.
16754 * iconvdata/utf-32.c: Likewise.
16755
707f25df
AS
167562011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16757
16758 [BZ #13524]
16759 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16760 numerator after shifting it by one limb.
16761
d2daaa1e
RÁE
167622011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16763
16764 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16765 under [__USE_EXTERN_INLINES].
16766
a4647e72
UD
167672011-12-17 Ulrich Drepper <drepper@gmail.com>
16768
16769 [BZ #13446]
16770 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16771
f0b264f1
AZ
167722011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16773
16774 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16775 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16776 optimized code.
16777 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16778 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16779 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16780 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16781 for strncasecmp/strncasecmp_l compilation.
16782 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16783 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16784
8ef4f244
MP
167852011-12-08 Marek Polacek <mpolacek@redhat.com>
16786
16787 [BZ #13484]
16788 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16789 of __asm__.
16790
97ac2654
UD
167912011-12-17 Ulrich Drepper <drepper@gmail.com>
16792
16793 [BZ #13506]
16794 * time/tzfile.c (__tzfile_read): Check values from file header.
16795
91d2a845
WS
167962011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16797
16798 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16799 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16800 * powerpc/powerpc32/dl-start.S: Likewise.
16801 * powerpc/powerpc32/elf/start.S: Likewise.
16802 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16803 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16804 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16805 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16806 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16807 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16808 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16809 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16810 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16811 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16812 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16813 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16814 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16815 * powerpc/powerpc32/memset.S: Likewise.
16816 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16817 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16818 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16819 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16820 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16821 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16822 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16823 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16824 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16825 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16826 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16827 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16828 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16829
a1267ba1
AZ
168302011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16831
16832 * math/libm-test.inc: Added more nearbyint tests.
16833 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16834 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16835 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16836 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16837
ad8ac1bd
RL
168382011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16839
16840 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16841 FD_CLOEXEC.
16842
1d3e4b61
UD
168432011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16844
16845 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16846 Add wcscpy-ssse3 wcscpy-c.
16847 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16848 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16849 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16850 * sysdeps/x86_64/wcschr.S: New file.
16851 * sysdeps/x86_64/wcsrchr.S: New file.
16852 * string/test-strcmp.c: Remove checking of wcscmp function for
16853 wrong alignments.
16854 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16855 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16856 wcsrchr-sse2 wcsrchr-c.
16857 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16858 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16859 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16860 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16861 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16862 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16863 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16864 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16865 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16866 * wcsmbc/wcschr.c (WCSCHR): New macro.
16867
5b330a2d
UD
168682011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16869
16870 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16871 * wcsmbs/test-wcsrchr.c: New file.
16872 * string/test-strrchr.c: Add wcsrchr support.
16873 (WIDE): New macro.
16874 * wcsmbs/test-wcscpy.c: New file.
16875 * string/test-strcpy.c: Add wcscpy support.
16876 (WIDE): New macro.
26428b7c 16877
f039c043
UD
168782011-12-10 Ulrich Drepper <drepper@gmail.com>
16879
16880 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16881 the inner loop.
16882
850fb039
AS
168832011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16884
16885 [BZ #13472]
16886 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16887
4efbd5cb
UD
168882011-12-04 Ulrich Drepper <drepper@gmail.com>
16889
52ff5dd0 16890 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 16891 Minor optimizations.
52ff5dd0 16892
4efbd5cb
UD
16893 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16894 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16895 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16896
8a426e12
UD
168972011-12-03 Ulrich Drepper <drepper@gmail.com>
16898
aff2453d
UD
16899 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16900 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16901 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16902 for gcc to avoid warnings.
16903 * inet/Makefile (tests): Add tst-checks.
16904 * inet/tst-checks.c: New file.
16905
16906 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16907 warning.
16908
16909 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16910 __wmemcmp_sse2.
16911
16912 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16913 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16914
8a426e12
UD
16915 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16916
9bea3473
UD
169172011-12-02 Ulrich Drepper <drepper@gmail.com>
16918
3a965496
UD
16919 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16920 problem.
16921
9bea3473
UD
16922 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16923
f101631b
UD
169242011-11-29 Joseph Myers <joseph@codesourcery.com>
16925
16926 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16927 conditional on GCC version.
16928 (__arch_compare_and_exchange_val_8_acq)
16929 (__arch_compare_and_exchange_val_16_acq)
16930 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16931 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16932 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16933
a98275aa
UD
169342011-12-02 Joseph Myers <joseph@codesourcery.com>
16935
16936 * sysdeps/sh/backtrace.c: New file.
16937
d4cc29a2
AS
169382011-12-02 Andreas Schwab <schwab@redhat.com>
16939
16940 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16941 parenthesis.
16942
6257af2d
AS
169432011-12-01 Andreas Schwab <schwab@redhat.com>
16944
16945 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16946 falling back to utime.
16947
b5f44c1a
AS
169482011-11-30 Andreas Schwab <schwab@redhat.com>
16949
16950 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16951 expectations for float.
16952
f3a6cc0a
AS
169532011-11-29 Andreas Schwab <schwab@redhat.com>
16954
16955 * locale/weight.h (findidx): Add parameter len.
16956 * locale/weightwc.h (findidx): Likewise.
16957 * posix/fnmatch_loop.c (FCT): Adjust caller.
16958 * posix/regcomp.c (build_equiv_class): Likewise.
16959 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16960 * posix/regexec.c (check_node_accept_bytes): Likewise.
16961 * string/strcoll_l.c (STRCOLL): Likewise.
16962 * string/strxfrm_l.c (STRXFRM): Likewise.
16963
9d65ea3a
UD
169642011-11-17 Ulrich Drepper <drepper@gmail.com>
16965
16966 * Makefile.in: Remove CVSOPT handling.
16967 * configure.in: Remove use of AC_REVISION.
16968 * iconvdata/Makefile (distribute): No need to filter out CVS.
16969 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16970 handling.
16971
5583a086
AS
169722011-11-16 Andreas Schwab <schwab@redhat.com>
16973
16974 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16975 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16976 [USE_AS_STRNCASECMP_L]: Likewise.
16977 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16978 NO_TLS_DIRECT_SEG_REFS.
16979 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16980 Fix argument offsets for non-PIC.
16981 [USE_AS_STRNCASECMP_L]: Likewise.
16982 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16983 NO_TLS_DIRECT_SEG_REFS.
16984
d62a8200
UD
169852011-11-15 Ulrich Drepper <drepper@gmail.com>
16986
9d65ea3a 16987 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
16988 O_CLOEXEC.
16989 * locale/loadlocale.c (_nl_load_locale): Likewise.
16990
09f93bd3
AS
169912011-11-15 Andreas Schwab <schwab@redhat.com>
16992
446514f9
AS
16993 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16994 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16995 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16996 (SYSCALL_GETTIME): Set errno on error.
16997
09f93bd3
AS
16998 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16999 count references to noai6ai_cached.
17000
312be3f9
UD
170012011-11-15 Ulrich Drepper <drepper@gmail.com>
17002
17003 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17004
17005 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17006 FD_CLOEXEC for /proc/self/maps.
17007
17008 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17009 FD_CLOEXEC for /proc/meminfo.
17010
17011 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17012 gai.conf.
17013
17014 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
17015 FD_CLOEXEC for given file.
17016
17017 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17018
17019 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17020 FD_CLOEXEC for /etc/hosts.
17021 (_gethtent): Likewise.
17022
17023 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17024
17025 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17026 cancellation and set FD_CLOEXEC for /etc/netgroup.
17027
17028 * nss/nss_files/files-key.c (search): Don't allow cancellation when
17029 reading /etc/publickey.
17030
17031 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17032 allow cancellation when reading /etc/group.
17033
17034 * nss/nss_files/files-alias.c (internal_setent): Don't allow
17035 cancellation.
17036 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
17037
17038 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17039 when using data file.
17040
17041 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17042
17043 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17044 (write_nis_obj): Use "c" and "e" in fopen.
17045
17046 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17047
17048 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17049
17050 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17051
17052 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17053
17054 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17055 locale.alias.
17056
17057 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17058
17059 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17060
17061 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17062
17063 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17064 file parsing and set FD_CLOEXEC.
17065
82af0fa8
UD
170662011-11-14 Ulrich Drepper <drepper@gmail.com>
17067
17068 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17069
a5fb313c
AS
170702011-11-14 Andreas Schwab <schwab@redhat.com>
17071
17072 * malloc/arena.c (arena_get2): Don't call reused_arena when
17073 _int_new_arena failed.
17074
6abf3465
UD
170752011-11-14 Ulrich Drepper <drepper@gmail.com>
17076
17077 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17078 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17079 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17080 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17081 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17082 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17083 to compile strcasecmp and strncasecmp.
17084 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17085 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17086
17087 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17088
76e3966e
UD
170892011-11-13 Ulrich Drepper <drepper@gmail.com>
17090
17091 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17092 locale-defines.sym to gen-as-const-headers.
17093 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17094 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17095 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17096 to compile strcasecmp and strncasecmp.
17097 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17098 strcasecmp_l and strncasecmp_l.
17099 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17100 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17101 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17102 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17103 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17104 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17105 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17106 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17107 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17108 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17109 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17110
ab26144e
UD
171112011-11-12 Ulrich Drepper <drepper@gmail.com>
17112
7edb22ef
UD
17113 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17114 result of SYSDEP_GETTIME_CPU to retval.
17115 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17116 parameter list to macro. Remove trailing semicolon. Adjust users.
17117
9694fc44
UD
17118 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17119 variable.
17120
8ad89ef8
UD
17121 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17122 mantissa words.
17123 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17124
0c822ef9
UD
17125 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17126 from unused variable.
17127
874e0564
UD
17128 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17129 DWARF definitions.
17130 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17131 for assembling.
17132
3a2edc79
UD
17133 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17134 over namespaces.
17135
f3c2577f
UD
17136 * sunrpc/rpc_prot.c (rejected): Fix case value.
17137
294ce126
UD
17138 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17139 unsigned long long int to avoid warnings in shift.
17140
5e2b63c6
UD
17141 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17142 of use of trans.
17143 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17144 variable tmp.
17145
e7f4b08e
UD
17146 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17147 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17148 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17149
ab26144e
UD
17150 * nis/nis_table.c (nis_list): Use variable of correct type for
17151 result of __follow_path call.
17152
8a6d5255
AZ
171532011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17154
17155 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17156 of math functions ceil, trunc, floor, round, and sqrt, when
17157 avaliable on the platform.
17158 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17159 name clash.
17160 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17161 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17162 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17163
aaddc98c
MP
171642011-10-30 Marek Polacek <mpolacek@redhat.com>
17165
17166 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17167 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17168
95b7042b
RM
171692011-11-11 Roland McGrath <roland@hack.frob.com>
17170
17171 * include/unistd.h: Fix __readlink return type.
17172 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17173
57769839
UD
171742011-11-11 Ulrich Drepper <drepper@gmail.com>
17175
17176 * stdlib/ucontext.h: Undo last change for makecontext.
17177
edc5984d
AS
171782011-11-11 Andreas Schwab <schwab@redhat.com>
17179
98591e58
AS
17180 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17181
edc5984d
AS
17182 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17183 * setjmp/setjmp.h: Mark functions as non-leaf.
17184 * setjmp/bits/setjmp2.h: Likewise.
17185 * stdlib/ucontext.h: Likewise.
17186
77cdc054
AS
171872011-11-10 Andreas Schwab <schwab@redhat.com>
17188
17189 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17190 (reused_arena): Don't check arena limit.
17191 (arena_get2): Atomically check arena limit.
17192
fe72eebd
UD
171932011-11-08 Ulrich Drepper <drepper@gmail.com>
17194
5f078c32
UD
17195 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17196 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17197
fe72eebd
UD
17198 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17199 instructions.
17200
ae1bc2fa
AS
172012011-11-07 Andreas Schwab <schwab@redhat.com>
17202
7583a88d
AS
17203 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17204 handler when locking.
17205
ae1bc2fa
AS
17206 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17207 Fix size of allocated buffer.
17208
10fb0bfa
AS
172092011-11-04 Andreas Schwab <schwab@redhat.com>
17210
998832a4
AS
17211 [BZ #10103]
17212 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17213 declarations for long double functions.
17214 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17215
10fb0bfa
AS
17216 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17217
3d7ba52b
AS
172182011-11-03 Andreas Schwab <schwab@redhat.com>
17219
a9ae54a1
AS
17220 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17221 installed.
17222
3d7ba52b
AS
17223 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17224 is disabled.
17225
bc8db248
ST
172262011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17227
17228 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17229
45b96dd6
AS
172302011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17231
647776f6
AS
17232 * include/alloca.h (stackinfo_alloca_round): Define.
17233 (extend_alloca): Use it.
17234 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17235 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17236 here.
17237
d91a8b93
AS
17238 * scripts/check-local-headers.sh: Ignore libaudit.h.
17239
45b96dd6
AS
17240 * nscd/Makefile (extra-objs): Make recursively expanded.
17241
432d41ce
UD
172422011-11-01 Ulrich Drepper <drepper@gmail.com>
17243
34372fc6
UD
17244 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17245 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17246
fadb59f8
UD
17247 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17248 * posix/tst-rfc3484-2.c: Likewise.
17249 * posix/tst-rfc3484-3.c: Likewise.
17250
78239589
UD
17251 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17252 process_vm_writev.
17253 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17254 process_vm_writev.
17255 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17256 process_vm_writev from libc using GLIBC_2.15 version.
17257
432d41ce
UD
17258 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17259
02f9c6cf
PP
172602011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17261
17262 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17263 stack usage.
17264
3a2c0242
UD
172652011-10-31 Ulrich Drepper <drepper@gmail.com>
17266
f4ec4833
UD
17267 [BZ #13367]
17268 * nss/getent.c (initgroups_keys): Show error message in case no group
17269 names are given.
17270
3a2c0242
UD
17271 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17272 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17273 __bump_nl_timestamp.
17274 * nscd/connections (nscd_init): When host database is served open
17275 netlink socket and request notification about configuration changes.
17276 (main_loop_poll): Track netlink file descriptor and bump timestamp
17277 in case data becomes available.
17278 (main_loop_epoll): Likewise.
17279 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17280 (database_pers_head): Add extra_data fileds.
17281 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17282 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17283 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17284 Adjust caller.
17285 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17286 in6ai data, call __free_in6ai.
17287 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17288 Add -DHAVE_NETLINK.
17289 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17290 interface information. Reuse previous data if netlink timestamp
17291 is not changed.
17292 (__bump_nl_timestamp): New function.
17293 (__free_in6ai): New function.
17294
636064eb
UD
172952011-10-30 Ulrich Drepper <drepper@gmail.com>
17296
17297 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17298 close_not_cancel_no_status here.
17299 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17300
9beb2334
UD
173012011-10-29 Ulrich Drepper <drepper@gmail.com>
17302
6ef76f3b
UD
17303 [BZ #13276]
17304 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17305 return value.
17306
0ffc4f3e 17307 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
17308 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17309 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17310
cb95113e
UD
173112011-07-03 Andreas Jaeger <aj@suse.de>
17312
17313 [BZ #10709]
17314 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17315 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17316 * math/libm-test.inc (sin_test): Add test case.
17317
a1b560ff
UD
173182011-10-29 Ulrich Drepper <drepper@gmail.com>
17319
c9aaface
UD
17320 [BZ #13337]
17321 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17322 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17323
d272e7f1
UD
17324 * elf/chroot_canon.c (chroot_canon): Cleanups.
17325
1bc33071
UD
17326 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17327
1760874d
TJ
17328 [BZ #13335]
17329 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17330 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17331
51d91b18
UD
17332 * string/test-strchr.c: Make usable for strchrnul testing.
17333 * string/test-strchrnul.c: New file.
17334 * string/Makefile (strop-tests): Add strchrnul.
17335
a1b560ff 17336 * po/it.po: Update from translation team.
b611fb81 17337 * po/es.po: Likewise.
a1b560ff 17338
a5b81e1f
UD
173392011-10-28 Ulrich Drepper <drepper@gmail.com>
17340
fd52bc6d
UD
17341 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17342 the three constants needed as parameters. Drop the others.
17343 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17344 __m128i_strloadu_tolower.
52e4b9eb
UD
17345 Create and initialize variable zero and use it in all the places
17346 where _mm_setzero_si128 was used.
fd52bc6d 17347
a5b81e1f
UD
17348 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17349 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17350 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17351 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17352 anymore.
17353 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17354 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17355 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17356 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17357 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17358 __mpranred, __mptan.
17359 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17360 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17361 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17362 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17363 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17364 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17365 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17366 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17367 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17368
b4343346
AS
173692011-10-28 Andreas Schwab <schwab@redhat.com>
17370
0c92d8a8
AS
17371 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17372 redefine if SHARED.
17373 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17374
b4343346
AS
17375 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17376 wide char related routines to wcsmbs subdir.
17377
3871f58f
AS
173782011-10-27 Andreas Schwab <schwab@redhat.com>
17379
17380 [BZ #13344]
17381 * misc/sys/cdefs.h (__THROWNL): Define.
17382 * posix/unistd.h: Use __THREADNL instead of __THREAD
17383 for memory synchronization functions.
17384
94d44d9f
RM
173852011-10-26 Roland McGrath <roland@hack.frob.com>
17386
21b64b15 17387 [BZ #13349]
94d44d9f
RM
17388 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17389 doesn't exist.
17390 * manual/stdio.texi (Obstack Streams): Node removed.
17391
f6ce9294
AS
173922011-10-26 Andreas Schwab <schwab@redhat.com>
17393
80479147
AS
17394 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17395 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17396 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17397
f6ce9294
AS
17398 * math/math_private.h (math_force_eval): Allow non-addressable
17399 arguments.
17400 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17401
618280a1
UD
174022011-10-25 Ulrich Drepper <drepper@gmail.com>
17403
e0016b11
UD
17404 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17405 file is not needed.
17406
17407 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17408 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17409 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17410 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17411 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17412 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17413 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17414 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17415 Add AVX variants.
17416 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17417 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17418 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17419 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17420 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17421 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17422 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17423 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17424 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17425 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17426 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17427 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17428 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17429 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17430 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17431 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17432 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17433 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17434 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17435
17436 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17437 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17438
618280a1
UD
17439 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17440 place. Use VEX encoding when compiling for AVX.
17441
37822576
AS
174422011-10-25 Andreas Schwab <schwab@redhat.com>
17443
1f1e1947
AS
17444 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17445 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17446
37822576
AS
17447 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17448
31ea014d
UD
174492011-10-25 Ulrich Drepper <drepper@gmail.com>
17450
d7826aa1 17451 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 17452 useless if() expression.
d7826aa1
UD
17453 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17454 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17455 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17456 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17457 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17458 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17459 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17460 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17461 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17462 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17463 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17464 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17465 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17466 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17467 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17468 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17469 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17470 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17471 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17472
31ea014d
UD
17473 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17474
16437fec
AS
174752011-10-25 Andreas Schwab <schwab@redhat.com>
17476
17477 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17478 condition.
17479 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17480
31d3cc00
UD
174812011-10-25 Ulrich Drepper <drepper@gmail.com>
17482
17483 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17484 .text section. Avoid duplicate constants.
17485 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17486 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17487 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17488 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17489 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17490 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17491 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17492 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17493 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17494 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17495 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17496 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17497 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17498 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17499 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17500 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17501 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17502 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17503 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17504 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17505 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17506 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17507 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17508 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17509 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17510 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17511 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17512 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17513 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17514 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17515 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17516 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17517 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17518 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17519 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17520 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17521 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17522 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17523 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17524 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17525 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17526 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17527 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17528 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17529 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17530
58985aa9
UD
175312011-10-24 Ulrich Drepper <drepper@gmail.com>
17532
202c9deb
UD
17533 * sysdeps/x86_64/dla.h: Move to ...
17534 * sysdeps/x86_64/fpu/dla.h: ...here.
17535 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17536 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 17537
af968f62
UD
17538 * config.make.in: Add have-mfma4 entry.
17539 * configure.in: Substitute libc_cv_cc_fma4.
17540 * math/Makefile (dbl-only-routines): Add sincostab.
17541 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17542 Use __sincostab not sincos.
17543 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17544 name is a macro.
17545 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17546 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17547 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17548 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17549 using __copysign.
17550 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17551 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17552 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17553 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17554 and __inv.
17555 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17556 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17557 __copysign.
17558 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17559 define aliases when function name is a macro.
17560 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17561 sysdeps/ieee754/dbl-64/sincos.tbl.
17562 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17563 fma4-enabled routines.
17564 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17565 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17566 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17567 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17568 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17569 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17570 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17571 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17572 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17573 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17574 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17575 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17576 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17577 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17578 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17579 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17580 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17581 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17582 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17583 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17584 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17585 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17586 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17587 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17588 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17589 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17590 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17591 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17592 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17593 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17594
58985aa9
UD
17595 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17596 rename.
17597 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17598 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17599 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17600 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17601 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17602 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17603 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17604 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17605
a201fbcf
AS
176062011-10-24 Andreas Schwab <schwab@redhat.com>
17607
17608 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17609
fc2ee42a
LD
176102011-10-23 Ulrich Drepper <drepper@gmail.com>
17611
bb3129bd
UD
17612 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17613
0275fff8
UD
17614 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17615 prediction.
17616 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17617
2fa2ae85
UD
17618 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17619 Remove unused variable magic_bits.
17620 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17621
fc2ee42a
LD
17622 * string/strnlen.c: Define and use STRNLEN macro.
17623 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17624 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17625 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17626 * wcsmbs/wcslen.c: Define and use WCSLEN.
17627 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17628 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17629 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17630 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17631 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17632 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17633 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17634
ce7dd29f
LD
176352011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17636
17637 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17638 strnlen-sse2-no-bsf.
17639 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17640 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17641 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17642 Add strnlen support.
17643 (USE_AS_STRNLEN): New macro.
17644 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17645 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17646 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17647 * sysdeps/x86_64/wcslen.S: New file.
17648
979c70a3
MZ
176492011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17650
17651 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17652 XMM-moves are used for copying on small sizes.
17653
2d09f82f
LD
176542011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17655
17656 * wcsmbs/Makefile (strop-tests): Add wcschr.
17657 * wcsmbs/test-wcschr.c: New file.
17658 * string/test-strchr.c: Update.
17659 Add wcschr support.
17660 (WIDE): New macro.
17661
619fccca
LD
176622011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17663
2d09f82f 17664 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
17665 * wcsmbs/test-wcslen.c: New file.
17666 * string/test-strlen.c: Update.
17667 Add wcslen support.
17668 (WIDE): New macro.
17669
09f699ea
UD
176702011-10-23 Ulrich Drepper <drepper@gmail.com>
17671
17672 * po/it.po: Update from translation team.
17673
95584d3b
LD
176742011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17675
17676 * sysdeps/x86_64/wcscmp.S: Update.
17677 Fix wrong comparison semantics.
17678 wcscmp shall use signed comparison not unsigned.
17679 Don't use substraction to avoid overflow bug.
17680 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17681 * wcsmbc/wcscmp.c: Likewise.
17682 * string/test-strcmp.c: Likewise.
17683 Add new tests to check cases with negative values.
17684
c8b3296b
UD
176852011-10-23 Ulrich Drepper <drepper@gmail.com>
17686
17687 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17688 * sysdeps/x86_64/dla.h: ...here. New file.
17689 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17690 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17691 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17692 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17693 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17694 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17695 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17696 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17697 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17698
246ad57a
AS
176992011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17700
17701 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17702 __ynl_finite aliases.
17703
a1a87169
UD
177042011-10-22 Ulrich Drepper <drepper@gmail.com>
17705
0d355eb7
UD
17706 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17707
a1a87169
UD
17708 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17709 define DLA_FMA.
17710 [DLA_FMA] (EMULV): Use DLA_FMA.
17711 [DLA_FMA] (MUL12): Use EMULV.
17712 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17713 that are not needed.
17714 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17715 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17716 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17717 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17718 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17719 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17720 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17721
ee2aafe0
AS
177222011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17723
17724 * math/s_nan.c: Undef __nan.
17725 * math/s_nanf.c: Undef __nanf.
17726 * math/s_nanl.c: Undef __nanl.
17727 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17728 "math_private.h".
17729
bc62c2fb
UD
177302011-10-22 Ulrich Drepper <drepper@gmail.com>
17731
77425c63
UD
17732 * math/s_catan.c: Add branch predictions.
17733 * math/s_catanf.c: Likewise.
17734 * math/s_catanh.c: Likewise.
17735 * math/s_catanhf.c: Likewise.
17736 * math/s_catanhl.c: Likewise.
17737 * math/s_catanl.c: Likewise.
17738 * math/s_cexp.c: Likewise.
17739 * math/s_cexpf.c: Likewise.
17740 * math/s_cexpl.c: Likewise.
17741 * math/s_clog.c: Likewise.
17742 * math/s_clog10.c: Likewise.
17743 * math/s_clog10f.c: Likewise.
17744 * math/s_clog10l.c: Likewise.
17745 * math/s_clogf.c: Likewise.
17746 * math/s_clogl.c: Likewise.
17747 * math/s_csqrt.c: Likewise.
17748 * math/s_csqrtf.c: Likewise.
17749 * math/s_csqrtl.c: Likewise.
17750 * math/s_ctanf.c: Likewise.
17751 * math/s_ctanh.c: Likewise.
17752 * math/s_ctanhf.c: Likewise.
17753 * math/s_ctanhl.c: Likewise.
17754 * math/s_ctanl.c: Likewise.
17755
bc62c2fb
UD
17756 * math/math_private.h: Define __nan, __nanf, __nanl.
17757 * math/s_cacosh.c: Include <math_private.h>.
17758 * math/s_cacoshl.c: Likewise.
17759 * math/s_casinh.c: Likewise.
17760 * math/s_casinhf.c: Likewise.
17761 * math/s_casinhl.c: Likewise.
17762 * math/s_ccos.c: Rely entire on ccosh.
17763 * math/s_ccosf.c: Rely entire on ccoshf.
17764 * math/s_ccosl.c: Rely entirely on ccoshl.
17765 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17766 Remove tests for FE_INVALID.
17767 * math/s_ccoshf.c: Likewise.
17768 * math/s_ccoshl.c: Likewise.
17769 * math/s_csin.c: Likewise.
17770 * math/s_csinf.c: Likewise.
17771 * math/s_csinh.c Likewise.
17772 * math/s_csinhf.c: Likewise.
17773 * math/s_csinhl.c: Likewise.
17774 * math/s_csinl.c: Likewise.
17775 * math/s_ctan.c: Likewise.
17776 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17777 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17778 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17779
8ec250a4
UD
177802011-10-21 Ulrich Drepper <drepper@gmail.com>
17781
c196fed8
UD
17782 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17783 compilation problems.
17784
8ec250a4
UD
17785 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17786 __builtin_expect.
17787
8d4f46c6
UD
177882011-10-20 Ulrich Drepper <drepper@gmail.com>
17789
ed72b654
UD
17790 * sysdeps/i386/configure.in: Test for -mfma4 option.
17791 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17792 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17793 COMMON_CPUID_INDEX_80000001.
17794 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17795 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17796 use it if FMA3 is not supported.
17797 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17798
8d4f46c6
UD
17799 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17800 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17801
d45c60c2
AS
178022011-10-20 Andreas Schwab <schwab@redhat.com>
17803
17804 [BZ #12892]
17805 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17806 it would create a cycle with a link time dependency.
17807
d9a4d2ab
UD
178082011-10-19 Ulrich Drepper <drepper@gmail.com>
17809
855d1560
UD
17810 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17811 instruction.
17812 * string/Makefile (strop-tests): Add rawmemchr.
17813 * string/test-rawmemchr.c: New file.
17814
d9a4d2ab
UD
17815 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17816 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17817 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17818 when compiling str{,n}casecmp and when AVX is available. Hook up
17819 new optimized code in initializers.
17820
8f3b1ffe
AS
178212011-10-19 Andreas Schwab <schwab@redhat.com>
17822
17823 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17824 __feraiseexcept instead of feraiseexcept.
17825
d38f1dba
UD
178262011-10-18 Ulrich Drepper <drepper@gmail.com>
17827
d9a8d0ab
UD
17828 * math/math_private.h: Define defaults for libc_fetestexcept and
17829 libc_feupdateenv.
17830 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17831 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17832 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17833 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17834 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17835 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17836 libc_fetestexcept and libc_feupdateenv.
17837
4855e3dd
UD
17838 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17839 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17840 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17841 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17842 libc_feholdexcept_setround.
17843
581d30e3
UD
17844 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17845 Add s_nearbyint-c and s_nearbyintf-c.
17846 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17847 nearbyintf inlines.
17848 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17849 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17850 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17851 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17852
d38f1dba
UD
17853 * math/math_private.h: Define defaults for libc_fegetround,
17854 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17855 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17856 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17857 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17858 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17859 standard functions.
17860 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17861 Remove comments and hacks for old compiler versions.
17862 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17863 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17864 libc_feholdexceptl.
17865
caa6c9d8
AS
178662011-10-18 Andreas Schwab <schwab@redhat.com>
17867
17868 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
17869 (__feraiseexcept_renamed): Add __NTH.
17870 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
17871 namespace violations.
17872
97c066e6
UD
178732011-10-17 Ulrich Drepper <drepper@gmail.com>
17874
99ce7b04
UD
17875 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17876
1004d182
UD
17877 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17878
228a984d
UD
17879 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17880 recently added interfaces.
17881 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17882
c8553a6a
UD
17883 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17884 about macro parameter expansion.
17885
ed22dcf6
UD
17886 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17887 __NO_MATH_INLINES is defined. Cleanups.
17888
17889 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17890 and __floorf is target has SSE4.1.
17891 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17892 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17893 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17894 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17895
b171c137
UD
17896 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17897 name.
17898 (floorf): Likewise.
17899
97c066e6
UD
17900 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17901
629f62ef
AS
179022011-10-17 Andreas Schwab <schwab@redhat.com>
17903
49a43d80
AS
17904 * misc/sys/cdefs.h: Fix last change.
17905
629f62ef
AS
17906 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17907 database lookup.
17908
e453f6cd
UD
179092011-10-16 Ulrich Drepper <drepper@gmail.com>
17910
aa78043a
UD
17911 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17912
ad0f5cad
UD
17913 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17914 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17915 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17916 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17917 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17918 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17919 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17920 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17921 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17922 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17923 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17924 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17925 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17926 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17927 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17928 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17929 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17930 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17931 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17932 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17933 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17934 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17935
17936 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17937 ceil, ceilf, floor, floorf.
17938
17939 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17940 Perform IRELATIVE relocations last.
17941
e453f6cd
UD
17942 * elf/do-rel.h: Add another parameter nrelative, replacing the
17943 local variable with the same name. Change name of the function
17944 to end in Rel or Rela (uppercase).
17945 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17946 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17947 elf_dynamic_do_##reloc function.
17948
fd5bdc09
UD
179492011-10-15 Ulrich Drepper <drepper@gmail.com>
17950
79b195b5
UD
17951 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17952 is sufficient, at least on modern CPUs.
17953
d4a28569
UD
17954 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17955
b61099b5
UD
17956 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17957 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17958
bcf01e6d
UD
17959 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17960 __expl_finite.
17961 * math/bits/math-finite.h: Add entries for exp.
17962 * math/e_expl.c: Add __*_finite alias.
17963 * sysdeps/i386/fpu/e_exp.S: Likewise.
17964 * sysdeps/i386/fpu/e_expf.S: Likewise.
17965 * sysdeps/i386/fpu/e_expl.c: Likewise.
17966 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17967 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17968 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17969 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17970 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17971 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17972 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17973
ba1a0d59
UD
17974 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17975 is sufficient, at least on modern CPUs.
17976
fd5bdc09
UD
17977 * ctype/ctype-info.c (__ctype_init): Define.
17978 * include/ctype.h (__ctype_init): Declare.
17979 (__ctype_b_loc): The variable is always initialized.
17980 (__ctype_toupper_loc): Likewise.
17981 (__ctype_tolower_loc): Likewise.
17982 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17983 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17984
7872cfb0
AS
179852011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17986
b468825a
AS
17987 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17988
7872cfb0
AS
17989 * configure.in: Also look in $cxxmachine/include for C++ system
17990 headers.
17991
be13f7bf
LD
179922011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17993
17994 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17995 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17996 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17997 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17998 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17999 (USE_AS_WMEMCMP): New macro.
18000 Fixing indents.
18001 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18002 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18003 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18004 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18005 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18006 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18007 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18008 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18009 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18010 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18011 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18012 (USE_AS_WMEMCMP): New macro.
18013 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18014 * sysdeps/string/test-memcmp.c: Update.
18015 Fix simple_wmemcmp.
18016 Add new tests.
18017 * wcsmbs/wmemcmp.c: Update.
18018 (WMEMCMP): New macro.
18019 Fix overflow bug.
18020
556a2007
AJ
180212011-10-12 Andreas Jaeger <aj@suse.de>
18022
18023 [BZ #13268]
18024 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18025
538faaa7
UD
180262011-10-15 Ulrich Drepper <drepper@gmail.com>
18027
ab6737ff
UD
18028 * libio/iofwide.c (do_length): Avoid warning.
18029
538faaa7
UD
18030 * ctype/ctype.h (__isctype_f): Add missing __THROW.
18031
396a21b1
UD
180322011-10-14 Ulrich Drepper <drepper@gmail.com>
18033
cdf2901f
UD
18034 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18035
38ad40ce
UD
18036 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18037 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18038 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18039 * sysdeps/i386/i686/fpu/e_log.S: New file.
18040 * sysdeps/i386/i686/fpu/e_logf.S: New file.
18041 * sysdeps/i386/i686/fpu/e_logl.S: New file.
18042
396a21b1
UD
18043 * ctype/ctype.h: Add support for inlined isXXX functions when
18044 compiling C++ code.
18045
6b1f68c9
AS
180462011-10-14 Andreas Schwab <schwab@redhat.com>
18047
349290c0
AS
18048 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18049
6b1f68c9
AS
18050 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18051
f2282d42
RM
180522011-10-13 Roland McGrath <roland@hack.frob.com>
18053
18054 [BZ #13291]
18055 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18056
5298ffa8
AS
180572011-10-13 Andreas Schwab <schwab@redhat.com>
18058
714fad23
AS
18059 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18060 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18061 feraiseexcept.
18062
81dcc7fb
AS
18063 * sysdeps/x86_64/memrchr.S: Check for zero size.
18064
5298ffa8
AS
18065 * string/stratcliff.c: Add memrchr tests.
18066
951fbcec
LD
180672011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18068
18069 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18070 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18071 rawmemchr-sse2 rawmemchr-sse2-bsf.
18072 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18073 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18074 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18075 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18076 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18077 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18078 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18079 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18080 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18081 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18082 * string/memrchr.c (MEMRCHR): New macro.
18083
0ac5ae23
UD
180842011-10-12 Ulrich Drepper <drepper@gmail.com>
18085
18086 Add integration with gcc's -ffinite-math-only and optimize wrapper
18087 functions in libm.
18088 * Versions.def: Define GLIBC_2.15 version for libm.
18089 * math/Makefile (headers): Add bits/math-finite.h.
18090 * math/bits/math-finite.h: New file.
18091 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18092 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18093 * math/e_acoshl.c: Add __*_finite alias.
18094 * math/e_acosl.c: Likewise.
18095 * math/e_asinl.c: Likewise.
18096 * math/e_atan2l.c: Likewise.
18097 * math/e_atanhl.c: Likewise.
18098 * math/e_coshl.c: Likewise.
18099 * math/e_exp10.c: Likewise.
18100 * math/e_exp10f.c: Likewise.
18101 * math/e_exp10l.c: Likewise.
18102 * math/e_exp2l.c: Likewise.
18103 * math/e_fmodl.c: Likewise.
18104 * math/e_gammal_r.c: Likewise.
18105 * math/e_hypotl.c: Likewise.
18106 * math/e_j0l.c: Likewise.
18107 * math/e_j1l.c: Likewise.
18108 * math/e_jnl.c: Likewise.
18109 * math/e_lgammal_r.c: Likewise.
18110 * math/e_log10l.c: Likewise.
18111 * math/e_log2l.c: Likewise.
18112 * math/e_logl.c: Likewise.
18113 * math/e_powl.c: Likewise.
18114 * math/e_sinhl.c: Likewise.
18115 * math/e_sqrtl.c: Likewise.
18116 * math/e_scalb.c: Completely rewritten and optimized.
18117 * math/e_scalbf.c: Likewise.
18118 * math/e_scalbl.c: Likewise.
18119 * math/w_acos.c: Likewise.
18120 * math/w_acosf.c: Likewise.
18121 * math/w_acosl.c: Likewise.
18122 * math/w_acosh.c: Likewise.
18123 * math/w_acoshf.c: Likewise.
18124 * math/w_acoshl.c: Likewise.
18125 * math/w_asin.c: Likewise.
18126 * math/w_asinf.c: Likewise.
18127 * math/w_asinl.c: Likewise.
18128 * math/w_atan2.c: Likewise.
18129 * math/w_atan2f.c: Likewise.
18130 * math/w_atan2l.c: Likewise.
18131 * math/w_atanh.c: Likewise.
18132 * math/w_atanhf.c: Likewise.
18133 * math/w_atanhl.c: Likewise.
18134 * math/w_exp10.c: Likewise.
18135 * math/w_exp10f.c: Likewise.
18136 * math/w_exp10l.c: Likewise.
18137 * math/w_fmod.c: Likewise.
18138 * math/w_fmodf.c: Likewise.
18139 * math/w_fmodl.c: Likewise.
18140 * math/w_j0.c: Likewise.
18141 * math/w_j0f.c: Likewise.
18142 * math/w_j0l.c: Likewise.
18143 * math/w_j1.c: Likewise.
18144 * math/w_j1f.c: Likewise.
18145 * math/w_j1l.c: Likewise.
18146 * math/w_jn.c: Likewise.
18147 * math/w_jnf.c: Likewise.
18148 * math/w_log.c: Likewise.
18149 * math/w_logf.c: Likewise.
18150 * math/w_logl.c: Likewise.
18151 * math/w_log10.c: Likewise.
18152 * math/w_log10f.c: Likewise.
18153 * math/w_log10l.c: Likewise.
18154 * math/w_log2.c: Likewise.
18155 * math/w_log2f.c: Likewise.
18156 * math/w_log2l.c: Likewise.
18157 * math/w_pow.c: Likewise.
18158 * math/w_powf.c: Likewise.
18159 * math/w_powl.c: Likewise.
18160 * math/w_remainder.c: Likewise.
18161 * math/w_remainderf.c: Likewise.
18162 * math/w_remainderl.c: Likewise.
18163 * math/w_scalb.c: Likewise.
18164 * math/w_scalbf.c: Likewise.
18165 * math/w_scalbl.c: Likewise.
18166 * math/w_sqrt.c: Likewise.
18167 * math/w_sqrtf.c: Likewise.
18168 * math/w_sqrtl.c: Likewise.
18169 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18170 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18171 used.
18172 * math/math_private.h: Declare __kernel_standard_f.
18173 * math/w_cosh.c: Remove cruft and optimize a bit.
18174 * math/w_coshf.c: Likewise.
18175 * math/w_coshl.c: Likewise.
18176 * math/w_exp2.c: Likewise.
18177 * math/w_exp2f.c: Likewise.
18178 * math/w_exp2l.c: Likewise.
18179 * math/w_hypot.c: Likewise.
18180 * math/w_hypotf.c: Likewise.
18181 * math/w_hypotl.c: Likewise.
18182 * math/w_lgamma.c: Likewise.
18183 * math/w_lgamma_r.c: Likewise.
18184 * math/w_lgammaf.c: Likewise.
18185 * math/w_lgammaf_r.c: Likewise.
18186 * math/w_lgammal.c: Likewise.
18187 * math/w_lgammal_r.c: Likewise.
18188 * math/w_sinh.c: Likewise.
18189 * math/w_sinhf.c: Likewise.
18190 * math/w_sinhl.c: Likewise.
18191 * math/w_tgamma.c: Likewise.
18192 * math/w_tgammaf.c: Likewise.
18193 * math/w_tgammal.c: Likewise.
18194 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18195 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18196 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18197 Minor optimizations. Pretty printing. Remove cruft.
18198 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18199 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18200 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18201 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18202 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18203 * sysdeps/i386/fpu/e_asin.S: Likewise.
18204 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18205 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18206 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18207 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18208 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18209 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18210 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18211 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18212 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18213 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18214 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18215 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18216 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18217 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18218 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18219 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18220 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18221 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18222 * sysdeps/i386/fpu/e_log.S: Likewise.
18223 * sysdeps/i386/fpu/e_log10.S: Likewise.
18224 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18225 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18226 * sysdeps/i386/fpu/e_log2.S: Likewise.
18227 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18228 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18229 * sysdeps/i386/fpu/e_logf.S: Likewise.
18230 * sysdeps/i386/fpu/e_logl.S: Likewise.
18231 * sysdeps/i386/fpu/e_pow.S: Likewise.
18232 * sysdeps/i386/fpu/e_powf.S: Likewise.
18233 * sysdeps/i386/fpu/e_powl.S: Likewise.
18234 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18235 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18236 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18237 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18238 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18239 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18240 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18241 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18242 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18243 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18244 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18245 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18246 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18247 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18248 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18249 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18250 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18251 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18252 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18253 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18254 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18255 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18256 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18257 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18258 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18259 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18260 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18261 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18262 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18263 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18264 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18265 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18266 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18267 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18268 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18269 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18270 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18271 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18272 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18273 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18274 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18275 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18276 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18277 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18278 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18279 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18280 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18281 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18282 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18283 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18284 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18285 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18286 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18287 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18288 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18289 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18290 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18291 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18292 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18293 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18294 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18295 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18296 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18297 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18298 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18299 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18300 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18301 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18302 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18303 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18304 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18305 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18306 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18307 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18308 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18309 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18310 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18311 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18312 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18313 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18314 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18315 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18316 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18317 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18318 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18319 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18320 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18321 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18322 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18323 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18324 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18325 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18326 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18327 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18328 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18329 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18330 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18331 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18332 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18333 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18334 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18335 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18336 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18337 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18338 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18339 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18340 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18341 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18342 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18343 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18344 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18345 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18346 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18347 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18348 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18349 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18350 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18351 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18352 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18353 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18354 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18355 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18356 (__isnanf): Likewise.
18357 (__isinf_ns): Likewise.
18358 (__isinf_nsf): Likewise.
18359 (__finite): Likewise.
18360 (__finitef): Likewise.
18361 (__ieee754_sqrt): Define as macro.
18362 (__ieee754_sqrtf): Define as macro.
18363 (__ieee754_sqrtl): Define as macro.
18364 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18365 inlined copy.
18366 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18367 __FINITE_MATH_ONLY__ consistent.
18368 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18369
12cc2fcd
AS
183702011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18371
a843a204
AS
18372 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18373 of rawmemchr.
18374
12cc2fcd
AS
18375 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18376
c853acd5
UD
183772011-10-09 Ulrich Drepper <drepper@gmail.com>
18378
18379 * po/ja.po: Update from translation team.
18380
c658d255
RM
183812011-10-08 Roland McGrath <roland@hack.frob.com>
18382
110946e4
RM
18383 * locale/programs/locarchive.c (prepare_address_space): New function.
18384 (create_archive, enlarge_archive, open_archive): Use it.
18385
50604220
RM
18386 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18387 inside [SHARED], where it is used.
18388
c658d255
RM
18389 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18390
18391 * nss/getent.c (netgroup_keys): Remove unused variable.
18392 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18393
6a621eb7
UD
183942011-10-08 Ulrich Drepper <drepper@gmail.com>
18395
7edb55ce
UD
18396 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18397 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18398 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18399 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18400 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18401 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18402 * math/Makefile (libm-calls): Add s_isinf_ns.
18403 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18404 * math/multc3.c: Likewise.
18405 * math/s_casin.c: Likewise.
18406 * math/s_casinf.c: Likewise.
18407 * math/s_casinl.c: Likewise.
18408 * math/s_ccos.c: Likewise.
18409 * math/s_ccosf.c: Likewise.
18410 * math/s_ccosl.c: Likewise.
18411 * math/s_ctan.c: Likewise.
18412 * math/s_ctanf.c: Likewise.
18413 * math/s_ctanh.c: Likewise.
18414 * math/s_ctanhf.c: Likewise.
18415 * math/s_ctanhl.c: Likewise.
18416 * math/s_ctanl.c: Likewise.
18417 * math/w_fmod.c: Likewise.
18418 * math/w_fmodf.c: Likewise.
18419 * math/w_fmodl.c: Likewise.
18420 * math/w_remainder.c: Likewise.
18421 * math/w_remainderf.c: Likewise.
18422 * math/w_remainderl.c: Likewise.
18423 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18424 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18425 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18426 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18427 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18428 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18429 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18430 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18431
187da0ae
UD
18432 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18433 of the number.
18434 * stdio-common/printf_fphex.c: Likewise.
18435 * stdio-common/printf_size.c: Likewise.
18436
9277c064
UD
18437 * math/e_exp10.c: Include math_private.h using <...> not "...".
18438 * math/e_exp10f.c: Likewise.
18439 * math/e_exp10l.c: Likewise.
18440 * math/e_exp2l.c: Likewise.
18441 * math/e_j0l.c: Likewise.
18442 * math/e_j1l.c: Likewise.
18443 * math/e_jnl.c: Likewise.
18444 * math/e_lgammal_r.c: Likewise.
18445 * math/e_rem_pio2l.c: Likewise.
18446 * math/e_scalb.c: Likewise.
18447 * math/e_scalbf.c: Likewise.
18448 * math/e_scalbl.c: Likewise.
18449 * math/k_cosl.c: Likewise.
18450 * math/k_sinl.c: Likewise.
18451 * math/k_tanl.c: Likewise.
18452 * math/s_cacoshf.c: Likewise.
18453 * math/s_catan.c: Likewise.
18454 * math/s_catanf.c: Likewise.
18455 * math/s_catanh.c: Likewise.
18456 * math/s_catanhf.c: Likewise.
18457 * math/s_catanhl.c: Likewise.
18458 * math/s_catanl.c: Likewise.
18459 * math/s_ccosh.c: Likewise.
18460 * math/s_ccoshf.c: Likewise.
18461 * math/s_ccoshl.c: Likewise.
18462 * math/s_cexp.c: Likewise.
18463 * math/s_cexpf.c: Likewise.
18464 * math/s_cexpl.c: Likewise.
18465 * math/s_clog.c: Likewise.
18466 * math/s_clog10.c: Likewise.
18467 * math/s_clog10f.c: Likewise.
18468 * math/s_clog10l.c: Likewise.
18469 * math/s_clogf.c: Likewise.
18470 * math/s_clogl.c: Likewise.
18471 * math/s_csin.c: Likewise.
18472 * math/s_csinf.c: Likewise.
18473 * math/s_csinh.c: Likewise.
18474 * math/s_csinhf.c: Likewise.
18475 * math/s_csinhl.c: Likewise.
18476 * math/s_csinl.c: Likewise.
18477 * math/s_csqrt.c: Likewise.
18478 * math/s_csqrtf.c: Likewise.
18479 * math/s_csqrtl.c: Likewise.
18480 * math/s_ctan.c: Likewise.
18481 * math/s_ctanf.c: Likewise.
18482 * math/s_ctanh.c: Likewise.
18483 * math/s_ctanhf.c: Likewise.
18484 * math/s_ctanhl.c: Likewise.
18485 * math/s_ctanl.c: Likewise.
18486 * math/s_ldexp.c: Likewise.
18487 * math/s_ldexpf.c: Likewise.
18488 * math/s_ldexpl.c: Likewise.
18489 * math/s_significand.c: Likewise.
18490 * math/s_significandf.c: Likewise.
18491 * math/s_significandl.c: Likewise.
18492 * math/w_acos.c: Likewise.
18493 * math/w_acosf.c: Likewise.
18494 * math/w_acosh.c: Likewise.
18495 * math/w_acoshf.c: Likewise.
18496 * math/w_acoshl.c: Likewise.
18497 * math/w_acosl.c: Likewise.
18498 * math/w_asin.c: Likewise.
18499 * math/w_asinf.c: Likewise.
18500 * math/w_asinl.c: Likewise.
18501 * math/w_atan2.c: Likewise.
18502 * math/w_atan2f.c: Likewise.
18503 * math/w_atan2l.c: Likewise.
18504 * math/w_atanh.c: Likewise.
18505 * math/w_atanhf.c: Likewise.
18506 * math/w_atanhl.c: Likewise.
18507 * math/w_cosh.c: Likewise.
18508 * math/w_coshf.c: Likewise.
18509 * math/w_coshl.c: Likewise.
18510 * math/w_dremf.c: Likewise.
18511 * math/w_exp10.c: Likewise.
18512 * math/w_exp10f.c: Likewise.
18513 * math/w_exp10l.c: Likewise.
18514 * math/w_exp2.c: Likewise.
18515 * math/w_exp2f.c: Likewise.
18516 * math/w_fmod.c: Likewise.
18517 * math/w_fmodf.c: Likewise.
18518 * math/w_fmodl.c: Likewise.
18519 * math/w_hypot.c: Likewise.
18520 * math/w_hypotf.c: Likewise.
18521 * math/w_hypotl.c: Likewise.
18522 * math/w_j0.c: Likewise.
18523 * math/w_j0f.c: Likewise.
18524 * math/w_j0l.c: Likewise.
18525 * math/w_j1.c: Likewise.
18526 * math/w_j1f.c: Likewise.
18527 * math/w_j1l.c: Likewise.
18528 * math/w_jn.c: Likewise.
18529 * math/w_jnf.c: Likewise.
18530 * math/w_jnl.c: Likewise.
18531 * math/w_lgamma.c: Likewise.
18532 * math/w_lgamma_r.c: Likewise.
18533 * math/w_lgammaf.c: Likewise.
18534 * math/w_lgammaf_r.c: Likewise.
18535 * math/w_lgammal.c: Likewise.
18536 * math/w_lgammal_r.c: Likewise.
18537 * math/w_log.c: Likewise.
18538 * math/w_log10.c: Likewise.
18539 * math/w_log10f.c: Likewise.
18540 * math/w_log10l.c: Likewise.
18541 * math/w_log2.c: Likewise.
18542 * math/w_log2f.c: Likewise.
18543 * math/w_log2l.c: Likewise.
18544 * math/w_logf.c: Likewise.
18545 * math/w_logl.c: Likewise.
18546 * math/w_pow.c: Likewise.
18547 * math/w_powf.c: Likewise.
18548 * math/w_powl.c: Likewise.
18549 * math/w_remainder.c: Likewise.
18550 * math/w_remainderf.c: Likewise.
18551 * math/w_remainderl.c: Likewise.
18552 * math/w_scalb.c: Likewise.
18553 * math/w_scalbf.c: Likewise.
18554 * math/w_scalbl.c: Likewise.
18555 * math/w_sinh.c: Likewise.
18556 * math/w_sinhf.c: Likewise.
18557 * math/w_sinhl.c: Likewise.
18558 * math/w_sqrt.c: Likewise.
18559 * math/w_sqrtf.c: Likewise.
18560 * math/w_sqrtl.c: Likewise.
18561 * math/w_tgamma.c: Likewise.
18562 * math/w_tgammaf.c: Likewise.
18563 * math/w_tgammal.c: Likewise.
18564
6a621eb7
UD
18565 * po/ja.po: Update from translation team.
18566
bf582445
AJ
185672011-09-29 Andreas Jaeger <aj@suse.de>
18568
f9efbf3a
AJ
18569 [BZ #13179]
18570 * sunrpc/netname.c (netname2host): Fix logic.
18571
bf582445
AJ
18572 [BZ #6779]
18573 [BZ #6783]
18574 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18575 correctly.
18576 * math/w_remainder.c (__remainder): Likewise.
18577 * math/w_remainderf.c (__remainderf): Likewise.
18578 * math/libm-test.inc (remainder_test): Add test cases.
18579
48693bea
AK
185802011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18581
18582 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18583 sdiv_qrnnd.
18584
42622229
LD
185852011-10-07 Ulrich Drepper <drepper@gmail.com>
18586
18587 * string/test-memcmp.c: Avoid unncessary #defines.
18588 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18589
093ecf92
LD
185902011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18591
18592 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18593 Use new sse2 version for core i3 - i7 as it's faster
18594 than sse42 version.
18595 (bit_Prefer_PMINUB_for_stringop): New.
18596 * sysdeps/x86_64/rawmemchr.S: Update.
18597 Replace with faster SSE2 version.
18598 * sysdeps/x86_64/memrchr.S: New file.
18599 * sysdeps/x86_64/memchr.S: Update.
18600 Replace with faster SSE2 version.
18601
fde56e5c
MP
186022011-09-12 Marek Polacek <mpolacek@redhat.com>
18603
18604 * elf/dl-load.c (lose): Add cast to avoid warning.
18605
21fd49a9
UD
186062011-10-07 Ulrich Drepper <drepper@gmail.com>
18607
5a06e643
UD
18608 * po/ca.po: Update from translation team.
18609
684ae515
UD
18610 * inet/getnetgrent_r.c: Hook up nscd.
18611 * nscd/Makefile (routines): Add nscd_netgroup.
18612 (nscd-modules): Add netgroupcache.
18613 (CFLAGS-netgroupcache.c): Define.
18614 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18615 (cache_search): Add const to second parameter.
18616 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18617 INNETGR.
18618 (dbs): Add netgrdb entry.
18619 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18620 (verify_persistent_db): Handle netgrdb.
18621 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18622 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18623 GETFDNETGR.
18624 (netgroup_response_header): Define.
18625 (innetgroup_response_header): Define.
18626 (datahead): Add netgroup_response_header and innetgroup_response_header
18627 elements.
18628 * nscd/nscd.conf: Add entries for netgroup cache.
18629 * nscd/nscd.h (dbtype): Add netgrdb.
18630 (_PATH_NSCD_NETGROUP_DB): Define.
18631 (netgroup_iov_disabled): Declare.
18632 (xmalloc, xcalloc, xrealloc): Move declarations here.
18633 (cache_search): Adjust prototype.
18634 Add netgroup-related prototypes.
18635 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18636 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18637 (__nscd_innetgr): Declare.
18638 * nscd/selinux.c (perms): Use access_vector_t as element type and
18639 add netgroup-related initializers.
18640 * nscd/netgroupcache.c: New file.
18641 * nscd/nscd_netgroup.c: New file.
18642 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18643 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18644 For four parameters use innetgr.
18645 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18646 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18647 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18648 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18649
21fd49a9
UD
18650 * nscd/connections.c (register_traced_file): Don't register file
18651 for disabled databases.
18652
054c0457
UD
186532011-10-06 Ulrich Drepper <drepper@gmail.com>
18654
32b63198
UD
18655 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18656
054c0457
UD
18657 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18658 from tree and freeing node.
18659
64031225
JO
186602011-09-25 Jiri Olsa <jolsa@redhat.com>
18661
18662 * nss/nsswitch.c (__nss_database_lookup): Handle
18663 nss_parse_service_list out of memory case.
18664
0490345c
JO
186652011-09-15 Jiri Olsa <jolsa@redhat.com>
18666
18667 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18668 out of memory case.
18669
3a62d00d
AS
186702011-10-04 Andreas Schwab <schwab@redhat.com>
18671
18672 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18673 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18674 pass it down.
18675 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18676 elf_machine_rela, elf_machine_lazy_rel.
18677 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18678 (ELF_DYNAMIC_DO_REL): Likewise.
18679 (ELF_DYNAMIC_DO_RELA): Likewise.
18680 (ELF_DYNAMIC_RELOCATE): Likewise.
18681 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18682 to ELF_DYNAMIC_DO_REL.
18683 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18684 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18685 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18686 elf_machine_rela.
18687 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18688 skip_ifunc, don't call ifunc function if non-zero.
18689 (elf_machine_rela): Likewise.
18690 (elf_machine_lazy_rel): Likewise.
18691 (elf_machine_lazy_rela): Likewise.
18692 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18693 (elf_machine_lazy_rel): Likewise.
18694 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18695 Likewise.
18696 (elf_machine_lazy_rel): Likewise.
18697 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18698 Likewise.
18699 (elf_machine_lazy_rel): Likewise.
18700 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18701 (elf_machine_lazy_rel): Likewise.
18702 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18703 (elf_machine_lazy_rel): Likewise.
18704 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18705 (elf_machine_lazy_rel): Likewise.
18706 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18707 (elf_machine_lazy_rel): Likewise.
18708 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18709 (elf_machine_lazy_rel): Likewise.
18710 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18711 (elf_machine_lazy_rel): Likewise.
18712
68577918
UD
187132011-09-28 Ulrich Drepper <drepper@gmail.com>
18714
18715 * nss/nss_files/files-init.c (_nss_files_init): Use static
18716 initialization for all the *_traced_file variables.
18717
68822d74
AS
187182011-09-28 Andreas Schwab <schwab@redhat.com>
18719
18720 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18721
2056100b
RM
187222011-09-27 Roland McGrath <roland@hack.frob.com>
18723
18724 [BZ #13226]
18725 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18726
32c76b63
AS
187272011-09-27 Andreas Schwab <schwab@redhat.com>
18728
18729 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18730 Reread the line before reparsing it.
18731
bf972c9d
AS
187322011-09-26 Andreas Schwab <schwab@redhat.com>
18733
18734 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18735
e057a1b5
JM
187362011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18737 Maxim Kuvyrkov <maxim@codesourcery.com>
18738 Joseph Myers <joseph@codesourcery.com>
18739
18740 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18741 if needed for __stack_chk_guard.
18742
bc7e1c36
RM
187432011-09-19 Roland McGrath <roland@hack.frob.com>
18744
ecb1482f
RM
18745 * sysdeps/posix/spawni.c (script_execute): Always define it.
18746 It will be optimized away if unused.
18747 (maybe_script_execute): New function.
18748 (__spawni): Call it.
18749
bc7e1c36
RM
18750 * Makerules: Don't include tls.make.
18751 (config-tls): Always set to thread.
18752 * tls.make.c: File removed.
18753
1c3b002b
MF
187542011-09-19 Mike Frysinger <vapier@gentoo.org>
18755
18756 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18757 * config.make.in (CPPFLAGS-config): New substituted variable.
18758
2840865d
UD
187592011-09-15 Ulrich Drepper <drepper@gmail.com>
18760
88738eb6
UD
18761 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18762
cbf645a6 18763 [BZ #13192]
2840865d
UD
18764 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18765 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18766
b402e91a
RM
187672011-09-15 Roland McGrath <roland@hack.frob.com>
18768
18769 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18770 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18771 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18772 (CALL_FAIL): Likewise.
18773 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18774 (CALL_FAIL): Macro removed.
18775 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18776
4c1a1f71
UD
187772011-09-15 Ulrich Drepper <drepper@gmail.com>
18778
18779 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18780 for __FINITE_MATH_ONLY__ == 1.
18781
edc121be
AS
187822011-09-15 Andreas Schwab <schwab@redhat.com>
18783
18784 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18785 __ieee754_sqrt instead of sqrt.
18786 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18787 __ieee754_sqrtf instead of sqrtf.
18788 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18789 __floorf instead of floorf.
18790 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18791 __floorf, __truncf instead of floorf, truncf.
18792
cd205654
UD
187932011-09-14 Ulrich Drepper <drepper@gmail.com>
18794
ee4d0315
UD
18795 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18796
cd205654
UD
18797 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18798 __extern_always_inline.
18799 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18800 32-bit.
18801
48b67d71
AS
188022011-09-14 Andreas Schwab <schwab@redhat.com>
18803
18804 * elf/rtld.c (dl_main): Also relocate in dependency order when
18805 doing symbol dependency testing.
18806
1ae12c75
AS
188072011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18808
18809 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18810 Always define `refsym'.
18811
995a80df
AS
188122011-09-13 Andreas Schwab <schwab@redhat.com>
18813
e529793b
AS
18814 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18815 (__FD_ELT): Renamed from __FDELT.
18816 * misc/bits/select2.h (__FD_ELT): Likewise.
18817 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18818 __FD_MASK instead of __FDELT, __FDMASK.
18819 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18820 Likewise.
18821 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18822 Likewise.
18823
52d4fef8
AS
18824 * elf/Makefile (gen-ldd): Fix pattern.
18825
995a80df
AS
18826 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18827 (init_tls): Likewise.
18828
8682f8b0
UD
188292011-09-12 Ulrich Drepper <drepper@gmail.com>
18830
18831 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18832
de82006d
AS
188332011-09-12 Andreas Schwab <schwab@redhat.com>
18834
a7c8e6a1
AS
18835 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18836 `struct cmsghdr *' instead of `void *'.
18837 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18838 Likewise.
18839
0f31fe77
AS
188402011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18841
18842 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18843 if non-absolute.
18844 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18845 ldd_rewrite_script.
0f31fe77 18846
32b4c839
UD
188472011-09-11 Ulrich Drepper <drepper@gmail.com>
18848
83cd1420
UD
18849 * configure.in: Remove --with-tls option.
18850 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18851 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18852 out in case it is missing.
18853 * sysdeps/ia64/elf/configure.in: Likewise.
18854 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18855 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18856 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18857 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18858 * sysdeps/sh/elf/configure.in: Likewise.
18859 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18860 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18861 * sysdeps/x86_64/elf/configure.in: Likewise.
18862 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18863 * sysdeps/mach/hurd/tls.h: Likewise.
18864
633f745d
UD
18865 [BZ #13067]
18866 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18867
f318beb8
UD
18868 [BZ #13090]
18869 * configure.in: Fix use of AC_INIT.
18870
32b4c839
UD
18871 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18872
3ce1f295
UD
188732011-09-10 Ulrich Drepper <drepper@gmail.com>
18874
bb016596
UD
18875 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18876 __set_errno.
8e58439c
UD
18877 * malloc/hooks.c: Likewise.
18878
aebae053 18879 [BZ #11929]
02d46fc4
UD
18880 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18881 variables statically.
18882 (narenas): Initialize.
18883 (list_lock): Initialize.
bb016596
UD
18884 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18885 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
18886 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18887 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18888 Add initializers to main_arena and mp_.
18889 (malloc_state): Remove pagesize member. Change all users to use
18890 GLRO(dl_pagesize).
18891
18892 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18893 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18894 is always initialized.
18895
22a89187
UD
18896 * malloc/malloc.c: Removed unused configurations and dead code.
18897 * malloc/arena.c: Likewise.
18898 * malloc/hooks.c: Likewise.
02d46fc4 18899 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 18900
d063d164
UD
18901 * include/tls.h: Removed. USE___THREAD must always be defined.
18902 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18903 * elf/dl-libc.c: Likewise.
18904 * elf/dl-tsd.c: Likewise.
18905 * include/errno.h: Likewise.
18906 * include/netdb.h: Likewise.
18907 * include/resolv.h: Likewise.
18908 * inet/herrno-loc.c: Likewise.
18909 * inet/herrno.c: Likewise.
18910 * malloc/arena.c: Likewise.
18911 * malloc/hooks.c: Likewise.
18912 * malloc/malloc.c: Likewise.
18913 * resolv/res-state.c: Likewise.
18914 * resolv/res_libc.c: Likewise.
18915 * sysdeps/i386/dl-machine.h: Likewise.
18916 * sysdeps/ia64/dl-machine.h: Likewise.
18917 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18918 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18919 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18920 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18921 * sysdeps/sh/dl-machine.h: Likewise.
18922 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18923 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18924 * sysdeps/unix/i386/sysdep.S: Likewise.
18925 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18926 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18927 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18928 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18929 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18930 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18931 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18932 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18933 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18934 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18935 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18936 * sysdeps/x86_64/dl-machine.h: Likewise.
18937 * tls.make.c: Likewise.
18938
3ce1f295
UD
18939 * configure.in: Remove --with-__thread option. Make tests for
18940 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18941 tls_model attribute fail if no support is available. Remove
18942 USE_IN_LIBIO.
18943 * Makeconfig: Adjust for dropped configure option. All features are
18944 now mandatory.
18945 * Makerules: Likewise.
18946 * Versions.def: Likewise.
18947 * argp/argp-fmtstream.c: Likewise.
18948 * argp/argp-fmtstream.h: Likewise.
18949 * argp/argp-help.c: Likewise.
18950 * assert/assert.c: Likewise.
18951 * config.h.in: Likewise.
18952 * config.make.in: Likewise.
18953 * configure: Likewise.
18954 * configure.in: Likewise.
18955 * csu/Versions: Likewise.
18956 * csu/init.c: Likewise.
18957 * elf/tst-audit2.c: Likewise.
18958 * elf/tst-tls10.c: Likewise.
18959 * elf/tst-tls10.h: Likewise.
18960 * elf/tst-tls11.c: Likewise.
18961 * elf/tst-tls12.c: Likewise.
18962 * elf/tst-tls14.c: Likewise.
18963 * elf/tst-tlsmod11.c: Likewise.
18964 * elf/tst-tlsmod12.c: Likewise.
18965 * elf/tst-tlsmod13.c: Likewise.
18966 * elf/tst-tlsmod13a.c: Likewise.
18967 * elf/tst-tlsmod14a.c: Likewise.
18968 * elf/tst-tlsmod15b.c: Likewise.
18969 * elf/tst-tlsmod16a.c: Likewise.
18970 * elf/tst-tlsmod16b.c: Likewise.
18971 * elf/tst-tlsmod7.c: Likewise.
18972 * elf/tst-tlsmod8.c: Likewise.
18973 * elf/tst-tlsmod9.c: Likewise.
18974 * gmon/gmon.c: Likewise.
18975 * grp/fgetgrent_r.c: Likewise.
18976 * grp/putgrent.c: Likewise.
18977 * hurd/fopenport.c: Likewise.
18978 * include/libc-symbols.h: Likewise.
18979 * include/tls.h: Likewise.
18980 * intl/gettextP.h: Likewise.
18981 * intl/loadinfo.h: Likewise.
18982 * locale/global-locale.c: Likewise.
18983 * locale/localeinfo.h: Likewise.
18984 * mach/devstream.c: Likewise.
18985 * malloc/arena.c: Likewise.
18986 * malloc/set-freeres.c: Likewise.
18987 * misc/err.c: Likewise.
18988 * misc/getttyent.c: Likewise.
18989 * misc/mntent_r.c: Likewise.
18990 * posix/getopt.c: Likewise.
18991 * posix/wordexp.c: Likewise.
18992 * pwd/fgetpwent_r.c: Likewise.
18993 * resolv/Versions: Likewise.
18994 * resolv/res_hconf.c: Likewise.
18995 * shadow/fgetspent_r.c: Likewise.
18996 * shadow/putspent.c: Likewise.
18997 * stdio-common/printf_fphex.c: Likewise.
18998 * stdio-common/tmpfile.c: Likewise.
18999 * stdlib/abort.c: Likewise.
19000 * stdlib/fmtmsg.c: Likewise.
19001 * sunrpc/auth_unix.c: Likewise.
19002 * sunrpc/clnt_perr.c: Likewise.
19003 * sunrpc/clnt_tcp.c: Likewise.
19004 * sunrpc/clnt_udp.c: Likewise.
19005 * sunrpc/clnt_unix.c: Likewise.
19006 * sunrpc/openchild.c: Likewise.
19007 * sunrpc/svc_simple.c: Likewise.
19008 * sunrpc/svc_tcp.c: Likewise.
19009 * sunrpc/svc_udp.c: Likewise.
19010 * sunrpc/svc_unix.c: Likewise.
19011 * sunrpc/xdr.c: Likewise.
19012 * sunrpc/xdr_array.c: Likewise.
19013 * sunrpc/xdr_rec.c: Likewise.
19014 * sunrpc/xdr_ref.c: Likewise.
19015 * sunrpc/xdr_stdio.c: Likewise.
19016
1248c1c4
PB
190172011-09-09 Ulrich Drepper <drepper@gmail.com>
19018
19019 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19020
190212011-07-03 Andreas Jaeger <aj@suse.de>
19022
19023 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19024 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19025 regenerate with gen-libm-tests.pl.
19026
190272010-05-12 Petr Baudis <pasky@suse.cz>
19028
19029 [BZ #11589]
19030 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19031 around j0() zero points by switching to j1().
19032 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19033 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19034 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19035 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19036
f22e1074
UD
190372011-09-09 Ulrich Drepper <drepper@gmail.com>
19038
f19009c1
UD
19039 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19040 instead of 0.
19041 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
19042 instead of 0. .
19043 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19044 Patch in part by Pavel Roskin <proski@gnu.org>.
19045
3f8cc204
UD
19046 [BZ #13138]
19047 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19048 realloc.
19049 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
19050 Free memory block if necessary.
19051
f22e1074
UD
19052 [BZ #12847]
19053 * libio/genops.c (INTDEF): For string streams the _lock pointer can
19054 be NULL. Don't lock in this case.
19055
0a2349f9
RM
190562011-09-09 Roland McGrath <roland@hack.frob.com>
19057
19058 * elf/elf.h (ELFOSABI_GNU): New macro.
19059 (ELFOSABI_LINUX): Define to that.
19060
f3cdd467
DZ
190612011-07-29 Denis Zaitceff <zaitceff@gmail.com>
19062
19063 * string/strncat.c (strncat): Undef the symbol in case it has been
19064 defined in bits/string.h.
19065
74718d13
UD
190662011-09-09 Ulrich Drepper <drepper@gmail.com>
19067
633e9e0f
UD
19068 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19069
0a2349f9 19070 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
19071 link map.
19072
f9924780
AJ
190732011-08-17 Andreas Jaeger <aj@suse.de>
19074
19075 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19076
7f5517aa
PP
190772011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19078 Ian Lance Taylor <iant@google.com>
19079
19080 * math/libm-test.inc (lround_test): New testcase.
19081 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19082
762011fe
UD
190832011-09-08 Ulrich Drepper <drepper@gmail.com>
19084
92963737
UD
19085 * Makefile: Remove support for automatic cvs check-ins.
19086 * Makerules: Likewise.
19087 * config.make.in: Likewise.
19088 * configure.in: Likewise.
19089 * intl/Makefile: Likewise.
19090 * locale/Makefile: Likewise.
19091 * po/Makefile: Likewise.
19092 * posix/Makefile: Likewise.
19093 * sysdeps/gnu/Makefile: Likewise.
19094 * sysdeps/mach/hurd/Makefile: Likewise.
19095 * sysdeps/sparc/sparc32/Makefile: Likewise.
19096
b0727fd8
JS
19097 [BZ #13118]
19098 * posix/Makefile (bug-regex32-ENV): Define.
19099 Patch by John Stanley <jpsinthemix@verizon.net>.
19100
a0f33f99
UD
19101 * misc/Makefile (headers): Add bits/select2.h.
19102 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19103 * misc/bits/select2.h: New file.
19104 * include/bits/select2.h: New file.
19105 * debug/Makefile (routines): Add fdelt_chk.
19106 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19107 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19108 FD_ISSET.
19109 * debug/fdelt_chk.c: New file.
19110
762011fe
UD
19111 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19112 * wcsmbs/test-wmemcmp.c: Likewise.
19113 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 19114 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
19115
191162011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19117
19118 * string/Makefile (strop-tests): Add memcmp.
19119 * string/test-wmemcmp.c: New file.
19120 * string/test-memcmp.c: Add wmemcmp support.
19121
7f513ec8
RM
191222011-09-08 Roland McGrath <roland@hack.frob.com>
19123
0442afb4
RM
19124 [BZ #13153]
19125 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19126 2011-07-19 change.
19127
7f513ec8
RM
19128 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19129 garbage value in a __mach_port_mod_refs call in the cases of the
19130 task-self and thread-self ports.
19131
a12b2239
ST
191322011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19133
19134 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19135
610f9ab4
AS
191362011-09-08 Andreas Schwab <schwab@redhat.com>
19137
7f513ec8 19138 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 19139
48882a1a
LD
191402011-09-07 Ulrich Drepper <drepper@gmail.com>
19141
b49865be
UD
19142 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19143
fdc86bc9
UD
19144 * elf/dl-libc.c (dlerror_run): Pass back error code from
19145 dl_catch_error.
19146
c966526a
UD
19147 [BZ #13123]
19148 * elf/dl-load.c (lose): Free l_origin if it is valid.
19149
48882a1a
LD
19150 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19151 names.
19152 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19153 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19154 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19155 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19156 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19157 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19158
77a2a8b4
AZ
191592011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19160
19161 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19162 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19163 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19164 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19165 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19166 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19167 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19168 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19169 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19170 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19171
24f579d8
AM
191722011-08-15 Alan Modra <amodra@gmail.com>
19173
19174 [BZ #13092]
19175 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19176 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19177 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19178 ppc_mcount to static-only-routines.
19179 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19180 __mcount_internal.
19181 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19182 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19183
3d4837df
UD
191842011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19185
19186 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19187 for finite and infinity parameters.
19188
22700377
WS
191892011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19190
19191 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19192 and add nop instructions for throughput optimization.
19193 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19194
5025581e
WS
191952011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19196
19197 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19198 aligned copy for power7 with vector-scalar instructions.
19199 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19200
08a300c9
L
192012011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19202
19203 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19204 AVX check.
19205
59178ef9
AS
192062011-09-07 Andreas Schwab <schwab@redhat.com>
19207
19208 [BZ #13144]
19209 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19210 last change.
19211
e38ba7ab
UD
192122011-09-07 Ulrich Drepper <drepper@gmail.com>
19213
19214 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19215 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19216 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19217 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19218 clock_gettime.
19219
d53a73ac
UD
192202011-09-06 Ulrich Drepper <drepper@gmail.com>
19221
fc8bffcc
UD
19222 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19223 Forgot to demangle the pointer.
19224
ceaa0c5d
UD
19225 * sysdeps/i386/sysdep.h: Define atom_text_section.
19226 * sysdeps/x86_64/sysdep.h: Likewise.
19227 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19228 section with atom_text_section.
19229 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19230 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19231 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19232 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19233 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19234
a77d3c17
UD
19235 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19236 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19237 already be defined. Change to take two parameters and don't assign
19238 result to variable. Adjust all users.
19239 Define INTERNAL_GETTIME if not already defined.
19240 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19241 call.
19242 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19243 HAVE_CLOCK_GETTIME_VSYSCALL.
19244 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19245
d53a73ac
UD
19246 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19247 gettimeofday vsyscall, just use time.
19248
a8f84144
AS
192492011-09-06 Andreas Schwab <schwab@redhat.com>
19250
19251 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19252 <errno.h>.
19253
ef606249
UD
192542011-09-06 Ulrich Drepper <drepper@gmail.com>
19255
19256 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19257 syscall on x86-64.
19258 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19259 syscall.
19260 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19261 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19262 syscall if possible.
19263
6585cb60
UD
192642011-09-05 Ulrich Drepper <drepper@gmail.com>
19265
19266 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19267 e_ident. Don't pass to find_mapsXX.
19268 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19269
a5f524e4
LD
192702011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19271
19272 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19273 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19274 * sysdeps/x86_64/multiarch/strchr.S: Update.
19275 Check bit_slow_BSF bit.
19276 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19277 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19278 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19279
554881ef
UD
192802011-09-05 Ulrich Drepper <drepper@gmail.com>
19281
d96de963
UD
19282 [BZ #13134]
19283 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19284 before glibc 2.15.
19285 (tryshell): Define.
19286 (__spawni): Change last parameter to be flag. Test
19287 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19288 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19289 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19290 * posix/spawni.c: Likewise.
19291 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19292 * posix/spawnp.c: Likewise. Change normal version to use
19293 SPAWN_XFLAGS_USE_PATH.
19294 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19295 SPAWN_XFLAGS_TRY_SHELL.
19296
d48e5868
UD
19297 [BZ #13150]
19298 * posix/glob.h: Remove gcc 1.x support.
19299
554881ef
UD
19300 [BZ #13068]
19301 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19302
693fb948
LD
193032011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19304
19305 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19306 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19307 strrchr-sse2-bsf
19308 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19309 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19310 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19311 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19312 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19313 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19314
1b48c537
UD
193152011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19316
49d42c37
UD
19317 * sysdeps/x86_64/wcscmp.S: New file.
19318
1b48c537
UD
19319 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19320 wcscmp-c wcscmp-sse2
19321 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19322 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19323 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19324 * wcsmbs/wcscmp.c: Allow renaming.
19325
15c95c5d
DM
193262011-09-05 David S. Miller <davem@davemloft.net>
19327
19328 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19329 stack slot, rather than the struct return pointer slot.
19330 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19331 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19333 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19334
2f0ad8f3
UD
193352011-09-05 Ulrich Drepper <drepper@gmail.com>
19336
d88ae418
UD
19337 * po/ja.po: Update from translation team.
19338
2f0ad8f3
UD
19339 [BZ #13144]
19340 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19341 kernel in 64-bit binaries.
19342
5f4318d1
DM
193432011-09-01 David S. Miller <davem@davemloft.net>
19344
19345 * elf/elf.h (HWCAP_SPARC_*): Move to..
19346 * sysdeps/sparc/sysdep.h: this new file and add new values.
19347 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19348 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19349 _DL_HWCAP_COUNT to 24.
19350 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19351 entries.
19352 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19353 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19354 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19355 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19356 instead of magic constants.
19357 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19358
3ba57516
DM
193592011-08-31 David S. Miller <davem@davemloft.net>
19360
19361 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19362 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19363 Reimplement to do errno handling inline.
19364 (SYSCALL_ERROR_HANDLER): New macro.
19365 (__SYSCALL_STRING): Do not do errno handling in asm.
19366 (__CLONE_SYSCALL_STRING): Delete.
19367 (__INTERNAL_SYSCALL_STRING): Delete.
19368 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19369 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19370 (PSEUDO): Reimplement to do errno handling inline.
19371 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19372 (SYSCALL_ERROR_HANDLER): New macro.
19373 (__SYSCALL_STRING): Do not do errno handling in asm.
19374 (__CLONE_SYSCALL_STRING): Delete.
19375 (__INTERNAL_SYSCALL_STRING): Delete.
19376 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19377 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19378 i386.
19379 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19380 (inline_syscall*): Add 'err' argument.
19381 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19382 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19383 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19384 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19385
19386 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19387 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19388
2bc17433
AS
193892011-08-30 Andreas Schwab <schwab@redhat.com>
19390
19391 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19392
fbeb5f4d
JO
193932011-08-29 Jiri Olsa <jolsa@redhat.com>
19394
19395 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19396 directive.
19397
ad69cc26
DM
193982011-08-24 David S. Miller <davem@davemloft.net>
19399
19400 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19401
39dd69df
AS
194022011-08-24 Andreas Schwab <schwab@redhat.com>
19403
19404 * elf/Makefile: Add rules to build and run unload8 test.
19405 * elf/unload8.c: New file.
19406 * elf/unload8mod1.c: New file.
19407 * elf/unload8mod1x.c: New file.
19408 * elf/unload8mod2.c: New file.
19409 * elf/unload8mod3.c: New file.
19410
19411 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19412 it wasn't used.
19413
2c0b250a
DM
194142011-08-23 David S. Miller <davem@davemloft.net>
19415
19416 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19417 subtract stack bias.
19418 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19419 %sp not %fp in calculations.
19420 (_JMPBUF_UNWINDS_ADJ): Likewise.
19421
22044b48
DM
19422 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19423 (aio_suspend): Call it to force an exception region around the
19424 AIO_MISC_WAIT() invocation.
19425
2cae4995
AS
194262011-08-23 Andreas Schwab <schwab@redhat.com>
19427
19428 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19429 backslash.
19430
873a772e
AJ
194312011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19432
19433 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19434 protection macro.
19435 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19436 and <dl-machine.h>.
19437 (Elf64_FuncDesc): Remove.
19438
25ad0df1
DM
194392011-08-22 David S. Miller <davem@davemloft.net>
19440
19441 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19442 sigaltstack check, add missing cfi directives.
19443 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19444 missing cfi directives, and sigaltstack handling.
19445
e888bcbe
AS
194462011-08-16 Andreas Schwab <schwab@redhat.com>
19447
19448 [BZ #11724]
19449 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19450 object is seen twice.
19451 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19452
19453 * elf/Makefile (distribute): Add tst-initorder2.c.
19454 (tests): Add tst-initorder2.
19455 (modules-names): Add tst-initorder2a tst-initorder2b
19456 tst-initorder2c tst-initorder2d. Add rules to build them.
19457 ($(objpfx)tst-initorder2.out): New rule.
19458 * elf/tst-initorder2.c: New file.
19459 * elf/tst-initorder2.exp: New file.
19460
87162f46
AS
194612011-08-22 Andreas Schwab <schwab@redhat.com>
19462
70538b7f
AS
19463 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19464
f55ffe58
AS
19465 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19466 dependencies back to end of function.
19467
87162f46
AS
19468 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19469 $(elfobjdir)/ld.so.
19470
91b392a4
UD
194712011-08-21 Ulrich Drepper <drepper@gmail.com>
19472
19473 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19474 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19475 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19476 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19477 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19478 of __vdso_gettimeofday.
19479 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19480 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19481 attribute_hidden.
19482 (_libc_vdso_platform_setup): Remove initialization of
19483 __vdso_gettimeofday and __vdso_time.
19484
5c43483f
UD
194852011-08-20 Ulrich Drepper <drepper@gmail.com>
19486
775a77e7
UD
19487 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19488 and fgetc_unlocked.
19489 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19490 getc_unlocked.
89f447ed 19491
49c74ba9
UD
19492 * elf/dl-open.c (add_to_global): Report additions to the global scope
19493 for LD_DEBUG=scopes.
19494 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 19495 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 19496
5c43483f
UD
19497 [BZ #13114]
19498 * stdio-common/Makefile (tests): Add bug24.
19499 * stdio-common/bug24.c: New file.
19500
a101b025
AJ
195012011-08-19 Andreas Jaeger <aj@suse.de>
19502
19503 [BZ #13114]
19504 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19505 non-existant file when using close-on-exec mode.
19506
c88f1766
UD
195072011-08-20 Ulrich Drepper <drepper@gmail.com>
19508
0276a718
UD
19509 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19510 the very first instruction.
19511
c88f1766
UD
19512 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19513 the CFI state in the end.
19514 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19515 inclusion of dl-trampoline.h.
19516 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19517
51ccffa0
AS
195182011-08-19 Andreas Schwab <schwab@redhat.com>
19519
94d7165f
AS
19520 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19521 expectations for long double.
19522
51ccffa0
AS
19523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19524 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19525
fd708658 195262011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
19527
19528 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19529 artificual limit depends upon the system page size.
19530
44f0a71e
UD
195312011-08-17 Ulrich Drepper <drepper@gmail.com>
19532
19533 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19534 * resolv/Makefile: Define CFLAGS-libresolv.
19535
8de79a24
AS
195362011-08-17 Andreas Schwab <schwab@redhat.com>
19537
19538 * nss/makedb.c (compute_tables): Make variables used in nested
19539 function static.
19540
27724598
UD
195412011-08-17 Ulrich Drepper <drepper@gmail.com>
19542
c5305d88
UD
19543 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19544 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19545 if buffer was too small.
19546
27724598
UD
19547 * elf/pldd.c (main): Attach to all threads in the process.
19548 Rewrite /proc handling to use *at functions.
19549
076fe015
UD
195502011-08-16 Ulrich Drepper <drepper@gmail.com>
19551
174baab3
UD
19552 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19553 specifies first scope to show.
19554 (dl_open_worker): Update callers. Move printing scope of new
19555 object to before the relocation.
44f0a71e 19556 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
19557 * sysdeps/generic/ldsodefs.h: Update declaration.
19558
076fe015
UD
19559 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19560 string for the scope number.
19561
a60df2c3
UD
195622011-08-14 Ulrich Drepper <drepper@gmail.com>
19563
19564 * nscd/servicescache.c (cache_addserv): Make sure written is always
19565 initialized.
19566
5e4287d1
RM
195672011-08-14 Roland McGrath <roland@hack.frob.com>
19568
85ae0589
RM
19569 * sysdeps/i386/i486/bits/atomic.h
19570 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19571 statement expression, so as to suppress "set but not used" warning.
19572 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19573
69f63097
RM
19574 * string/strncat.c (STRNCAT): Use prototype definition.
19575
675456ef
RM
19576 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19577 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19578 -Iprograms here.
19579 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19580 (localedef-modules): Add localedef.
19581 (locale-modules): Add locale.
19582
5e4287d1
RM
19583 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19584 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19585 to avoid a warning.
19586
9c96ff23
DM
195872011-08-14 David S. Miller <davem@davemloft.net>
19588
19589 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19590 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19591
f9ddf089
UD
195922011-08-13 Ulrich Drepper <drepper@gmail.com>
19593
44f0a71e 19594 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
19595 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19596 * elf/rtld.c (dl_main): Set l_name of vDSO.
19597 Call _dl_show_scope when DL_DEBUG_SCOPES.
19598 (process_dl_debug): Recognize scopes flag and also set it for all.
19599 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19600 Declare _dl_show_scope.
19601
1dc27704
UD
19602 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19603 (do_dlopen): Pass caller_dlopen to dl_open.
19604 (__libc_dlopen_mode): Initialize caller_dlopen.
19605
f9ddf089
UD
19606 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19607 of libc. Make tolower call locale-independent. Optimize a bit by
19608 using isdigit instead of isalnum.
19609 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19610
9ac533d3
UD
196112011-08-12 Ulrich Drepper <drepper@gmail.com>
19612
19613 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19614 was a dependency or dynamically loaded.
19615
89edf2e9
UD
196162011-08-11 Ulrich Drepper <drepper@gmail.com>
19617
8e999d29
UD
19618 * intl/l10nflist.c: Allow architecture-specific pop function.
19619 * sysdeps/x86_64/l10nflist.c: New file.
19620
89edf2e9
UD
19621 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19622 classification.
19623
14d96785
AS
196242011-08-10 Andreas Schwab <schwab@redhat.com>
19625
19626 * include/dirent.h: Add libc_hidden_proto for scandirat and
19627 scandirat64. Don't declare __scandirat64.
19628 * dirent/scandirat.c: Add libc_hidden_def.
19629 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19630 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19631
6761ac04
DM
196322011-08-10 David S. Miller <davem@davemloft.net>
19633
19634 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19635 enum.
19636 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19637 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19638 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19639
c55fbd1e
UD
196402011-08-09 Ulrich Drepper <drepper@gmail.com>
19641
19642 * Versions.def [libc]: Add GLIBC_2.15.
19643 * dirent/Makefile (routines): Add scandirat and scandirat64.
19644 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19645 GLIBC_2.15.
19646 * dirent/dirent.h: Declare scandirat and scandirat64.
19647 * dirent/scandirat.c: New file.
19648 * dirent/scandirat64.c: New file.
19649 * sysdeps/wordsize-64/scandirat.c: New file.
19650 * sysdeps/wordsize-64/scandirat64.c: New file.
19651 * dirent/opendir.c: Define opendirat.
19652 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19653 using scandirat.
19654 * dirent/scandir64.c: Adjust for scandir.c change.
19655 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19656 __scandirat64, and __scandir_cancel_handler.
19657 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19658 additional parameter and use openat instead of open (outside of ld.so).
19659 Add new __opendir as wrapper around __opendirat.
19660 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19661 here without requiring old scandirat implementation.
19662
879165f2
UD
196632011-08-08 Ulrich Drepper <drepper@gmail.com>
19664
19665 * dirent/scandir.c (cancel_handler): Renamed to
19666 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19667 defined. Adjust users.
19668 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19669 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19670
cb7e923b
UD
196712011-08-04 Ulrich Drepper <drepper@gmail.com>
19672
16292edd
UD
19673 * string/test-string.h (IMPL): Use __STRING to expand name and then
19674 stringify it.
19675
cb7e923b
UD
19676 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19677 of cleanups.
19678
cff82933
LD
196792011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19680
19681 * string/Makefile: Update.
19682 (strop-tests): Append strncat.
19683 * string/test-wcscmp.c: New file.
19684 New comprehensive test for wcscmp.
19685 * string/test-strcmp.c: Update.
19686 (WIDE): New define.
19687
9be9bfcc
AS
196882011-07-22 Andreas Schwab <schwab@redhat.com>
19689
19690 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19691 line.
19692
2e96f1c7
AS
196932011-07-26 Andreas Schwab <schwab@redhat.com>
19694
19695 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19696 encoding to ACE if AI_IDN.
19697
85188888
JJ
196982011-08-01 Jakub Jelinek <jakub@redhat.com>
19699
19700 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19701 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19702
5fa16e9b
LD
197032011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19704
19705 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19706 Fix overflow bug in strncat.
19707 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19708
19709 * string/test-strncat.c: Update.
19710 Add new tests for checking overflow bugs.
19711
197122011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19713
19714 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19715 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19716 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19717 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19718 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19719 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19720 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19721 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19722 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19723
19724 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19725 (USE_AS_STRCAT): Define.
19726 Add strcat and strncat support.
19727 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19728
8c1a459f
AS
197292011-07-25 Andreas Schwab <schwab@redhat.com>
19730
19731 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19732 __n bigger than INT_MAX+1.
19733 (__strncmp_g): Likewise.
19734
bba33c28
UD
197352011-07-23 Ulrich Drepper <drepper@gmail.com>
19736
798be72d
UD
19737 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19738 * libio/stido.h: Likewise.
19739
8accd4dc
UD
19740 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19741 (AF_NFC): Define.
19742 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19743 (AF_NFC): Define.
19744
cbff0d96
UD
19745 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19746 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19747 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19748 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19749 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19750
9191c04a
UD
19751 [BZ #13021]
19752 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19753 installed.
19754
bba33c28
UD
19755 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19756 typo.
19757 (_dl_x86_64_save_sse): Likewise.
19758
90f139dd
UD
197592011-07-22 Ulrich Drepper <drepper@gmail.com>
19760
1aae088a
UD
19761 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19762 OSXSAVE.
19763 (_dl_x86_64_save_sse): Likewise.
19764
8e2045f5
UD
19765 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19766
90f139dd
UD
19767 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19768
1d002f25
AS
197692011-07-21 Andreas Schwab <schwab@redhat.com>
19770
19771 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19772 change.
19773 (_dl_x86_64_save_sse): Use correct AVX check.
19774
21137f89
UD
197752011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19776
19777 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19778 bug in strncpy/strncat.
19779 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19780
a65c0b7a
UD
197812011-07-21 Ulrich Drepper <drepper@gmail.com>
19782
19783 * string/tester.c (test_strcat): Add tests for different alignments
19784 of source and destination.
19785 (test_strncat): Likewise.
19786
6986b98a
UD
197872011-07-20 Ulrich Drepper <drepper@gmail.com>
19788
90bb2039
UD
19789 [BZ #12852]
19790 * posix/glob.c (glob): Check passed in values before using them in
19791 expressions to avoid some overflows.
19792 (glob_in_dir): Likewise.
19793
5644ef54
UD
19794 [BZ #13007]
19795 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19796 check for AVX enablement so that we don't crash with old kernels and
19797 new hardware.
19798 * elf/tst-audit4.c: Add same checks here.
19799 * elf/tst-audit6.c: Likewise.
19800
19801 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 19802
bfc9dc9b
AS
198032011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19804
19805 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19806
702e64bb
UD
198072011-07-20 Ulrich Drepper <drepper@gmail.com>
19808
19809 * po/cs.po: Update from translation team.
19810 * po/bg.po: Likewise.
19811
295e904f
MP
198122011-07-12 Marek Polacek <mpolacek@redhat.com>
19813
19814 * misc/sys/cdefs.h: Add support for const attribute.
19815 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19816 to gnu_dev_{major,minor,makedev} functions.
19817
3ff94596
MP
198182011-07-20 Marek Polacek <mpolacek@redhat.com>
19819
19820 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19821
28b59fca
AS
198222011-07-20 Andreas Schwab <schwab@redhat.com>
19823
19824 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19825 strlen results.
19826
19df733e
AK
198272011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19828
19829 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19830 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19831 register in order to avoid conflicts with the soft frame pointer
19832 being held in r11 when necessary.
19833 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19834 (INTERNAL_VSYSCALL_NCS): Likewise.
19835
c8835729
MP
198362011-07-14 Marek Polacek <mpolacek@redhat.com>
19837
19838 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19839 * elf/dl-fini.c (_dl_fini): Adjust caller.
19840 * elf/dl-close.c (_dl_close_worker): Likewise.
19841 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19842
b902330c
MP
198432011-07-15 Marek Polacek <mpolacek@redhat.com>
19844
8991e135
MP
19845 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19846 "aux_cache->nlibs < 0".
19847
b902330c
MP
19848 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19849 in the reload-count case.
19850
99710781
LD
198512011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19852
19853 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19854 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19855 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19856 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19857 * sysdeps/x86_64/multiarch/strcat.S: New file.
19858 * sysdeps/x86_64/multiarch/strncat.S: New file.
19859 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19860 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19861 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19862 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19863 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19864 (USE_AS_STRCAT): Define.
19865 Add strcat and strncat support.
19866 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19867 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19868 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19869 * string/strncat.c: Update.
19870 (USE_AS_STRNCAT): Define.
19871 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19872 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19873 and i7.
19874 * sysdeps/x86_64/multiarch/init-arch.h
19875 (bit_Prefer_PMINUB_for_stringop): New.
19876 (index_Prefer_PMINUB_for_stringop): Likewise.
19877 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19878 bit_Prefer_PMINUB_for_stringop.
19879
7dc6bd90
UD
198802011-07-19 Ulrich Drepper <drepper@gmail.com>
19881
19882 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19883 buffer64.
19884 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19885 of casting of buffer.
19886 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19887 buffer32 and buffer64.
19888 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19889 writes instead of casting of buffer.
19890 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19891 buffer32.
19892 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19893 casting of buffer.
19894
e0e72284
AS
198952011-07-19 Andreas Schwab <schwab@redhat.com>
19896
19897 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19898
feb1eb0b
UD
198992011-07-19 Ulrich Drepper <drepper@gmail.com>
19900
19901 * nscd/nscd.c (termination_handler): Don't do anything for a database
19902 if it has not yet been initialized.
19903
298711ff
UD
199042011-07-18 Ulrich Drepper <drepper@gmail.com>
19905
19906 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19907
199082011-07-15 Marek Polacek <mpolacek@redhat.com>
19909
19910 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19911
f9d68389
UD
199122011-07-18 Ulrich Drepper <drepper@gmail.com>
19913
19914 * po/nl.po: Update from translation team.
19915 * po/sv.po: Likewise.
19916
db290cf5
RM
199172011-07-16 Roland McGrath <roland@hack.frob.com>
19918
19919 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19920 now disallowed by GCC.
5c550700 19921
fd5e21c7
RM
19922 * configure.in (use-default-link): Default to yes if a test -shared
19923 link meets our qualifications.
19924 * configure: Regenerated.
19925
5c550700
RM
19926 * config.make.in (output-format): New variable.
19927 * configure.in: Check for ld --print-output-format support.
19928 * configure: Regenerated.
19929 * Makerules ($(common-objpfx)format.lds)
19930 [$(output-format) != unknown]: Just use $(output-format),
19931 instead of the linker-script munging.
19932
9fa2c032
RM
199332011-07-14 Roland McGrath <roland@hack.frob.com>
19934
a6928d51
RM
19935 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19936 of $(common-objpfx)shlib.lds.
19937 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19938
661607b3
RM
19939 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19940 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19941
9fa2c032
RM
19942 * configure.in (-z relro check): Adjust test code to add a large
19943 writable data section after it.
19944 * configure: Regenerated.
19945
defe9061
RM
199462011-07-11 Roland McGrath <roland@hack.frob.com>
19947
19948 * configure.in (-z relro check): Fix test code to make the variable
19949 truly const.
19950 * configure: Regenerated.
19951
319b9ad4
UD
199522011-07-11 Ulrich Drepper <drepper@gmail.com>
19953
19954 * nscd/nscd.h (struct traced_file): Define.
19955 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19956 elements. Add traced_files.
19957 (inotify_fd): Declare.
19958 (register_traced_file): Declare.
19959 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19960 (inotify_fd): Export.
19961 (resolv_conf_descr): Remove.
19962 (nscd_init): Move inotify descriptor creation to main.
19963 Don't register files for notification here.
19964 (register_traced_file): New function.
19965 (invalidate_cache): Don't use reset_res to determine whether to call
19966 res_init, go through the list of registered files.
19967 (main_loop_poll): The inotify descriptors are now stored in the
19968 structures for the traced files.
19969 (main_loop_epoll): Likewise
19970 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19971 to __nss_disable_nscd.
19972 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19973 for a database anymore. Check the records for all the registered
19974 files instead.
19975 * nss/Makefile (libnss_files-routines): Add files-init.
19976 (libnss_db-routines): Add db-init.
19977 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19978 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19979 * nss/nss_db/db-init.c: New file.
19980 * nss/nss_files/files-init.c: New file.
19981 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19982 __nss_lookup_function.
19983 (__nss_lookup_function): Call nss_load_library.
19984 (nss_load_all_libraries): New function.
19985 (__nss_disable_nscd): Take parameter with callback function for files
19986 to register. Set is_nscd. Load all the DSOs for the NSS modules
19987 used for the cached services.
19988 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19989 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19990 options for features to all the files in nscd.
19991
19992 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19993
23bee3e8
RM
199942011-07-10 Roland McGrath <roland@hack.frob.com>
19995
19996 * csu/elf-init.c (__libc_csu_init): Comment typo.
19997
46a5b7f0
UD
199982011-07-09 Ulrich Drepper <drepper@gmail.com>
19999
20000 * po/pl.po: Update from translation team.
20001 * po/ja.po: Likewise.
20002 * po/ru.po: Likewise.
20003 * po/ko.po: Likewise.
20004 * po/fr.po: Likewise.
20005
d30cf5bb
RM
200062011-07-09 Roland McGrath <roland@hack.frob.com>
20007
113ddea4
RM
20008 * configure.in (.ctors/.dtors header and trailer check):
20009 Use an empirical test on a built program.
20010 * configure: Regenerated.
20011
574920b4
RM
20012 * configure.in (-z relro check): Use an empirical test on a built DSO.
20013 Detect, but do not require, on ia64.
20014 * configure: Regenerated.
20015
d30cf5bb
RM
20016 * configure.in (READELF): Find it with AC_CHECK_TOOL.
20017 Update tests that use readelf to use $READELF instead.
20018 * configure: Regenerated.
20019
8538fdb3
UD
200202011-07-08 Ulrich Drepper <drepper@gmail.com>
20021
20022 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20023 if the result is not used.
20024
04d08991
AJ
200252011-07-05 Andreas Jaeger <aj@suse.de>
20026
20027 [BZ#9696]
20028 * stdlib/tst-strtod.c: Add testcase.
20029
de283087
AD
200302011-07-07 Ulrich Drepper <drepper@gmail.com>
20031
4e5f31c8 20032 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 20033 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
20034 The latter has a higher limit. Take additional parameter to pass to
20035 the new function.
20036 (__pathconf): Pass file to __statfs_link_max.
20037 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20038 __statfs_link_max.
20039 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20040 __statfs_link_max.
20041
de283087
AD
20042 [BZ #12868]
20043 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20044 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20045 Handle Lustre.
20046 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20047 (__statfs_filesize_max): Likewise.
20048 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20049
c75fa153
AJ
200502011-07-05 Andreas Jaeger <aj@suse.de>
20051
20052 * resolv/res_comp.c (dn_skipname): Remove unused variable.
20053
1a544854
UD
200542011-07-06 Marek Polacek <mpolacek@redhat.com>
20055
20056 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20057 `status' variable.
20058 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20059 Likewise.
20060
6f0eec67
UD
200612011-07-04 H.J. Lu <hongjiu.lu@intel.com>
20062
20063 * Makefile (strop-tests): Add strncat.
20064 * string/test-strncat.c: New file.
20065
aae30307
UD
200662011-06-30 Marek Polacek <mpolacek@redhat.com>
20067
20068 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20069
c0cfb5eb
UD
200702011-06-21 Andreas Jaeger <aj@suse.de>
20071
20072 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20073 Copy rule from iconvdata/Makefile.
20074
01636b21
UD
200752011-07-06 Ulrich Drepper <drepper@gmail.com>
20076
20077 [BZ #12922]
20078 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20079 but no long options are defined, just return 'W'.
20080
9895c8bc
UD
200812011-06-22 Marek Polacek <mpolacek@redhat.com>
20082
20083 [BZ #9696]
20084 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20085
5d4cf042
UD
200862011-07-06 Ulrich Drepper <drepper@gmail.com>
20087
20088 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20089 netgroups to read.
960e5535 20090 (innetgr): Likewise.
5d4cf042 20091
751eb97e
RM
200922011-07-05 Roland McGrath <roland@hack.frob.com>
20093
20094 * config.make.in (install_root): Default to $(DESTDIR).
20095
f15f1e45
UD
200962011-07-05 Ulrich Drepper <drepper@gmail.com>
20097
20098 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20099
4e34ac6a
RM
201002011-07-02 Roland McGrath <roland@hack.frob.com>
20101
5e9b6af4
RM
20102 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20103
84f9ea0f
RM
20104 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20105 containing directory rather than embedding absolute directory names.
20106
ea5ee9f7
RM
20107 * scripts/check-local-headers.sh: Rewritten using awk.
20108 Match by word, not by line. Print error messages for matches.
20109 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20110
1b74661a
RM
20111 * Makerules [shlib-lds-flags empty]:
20112 ($(common-objpfx)libc_pic.opts): New target.
20113 ($(common-objpfx)libc_pic.os.clean): New target.
20114 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20115
20116 * config.make.in (OBJCOPY): New variable.
20117 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20118 * configure: Regenerated.
20119
f781ef40
RM
20120 * config.make.in (use-default-link): New variable.
20121 * configure.in (use_default_link): Grok --with-default-link to set it.
20122 * configure: Regenerated.
20123 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20124 (shlib-lds, shlib-lds-flags): Define to empty.
20125
2d4fa81e
RM
20126 * Makerules (shlib-lds): New variable.
20127 (shlib-lds-flags): New variable.
20128 (build-shlib, build-moduile, build-module-asneeded): Use it.
20129 ($(common-objpfx)libc.so): Use $(shlib-lds).
20130 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20131 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20132
31fffa6b
RM
20133 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20134 DT_FLAGS/DT_FLAGS_1 with zero flags.
20135
4e34ac6a
RM
20136 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20137 linker script munging.
20138
fcfc776b
UD
201392011-07-02 Ulrich Drepper <drepper@gmail.com>
20140
20141 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20142 as 128-bit value.
20143 * crypt/sha512.c (sha512_process_block): Perform total addition using
20144 128-bit if possible.
20145 (__sha512_finish_ctx): Likewise.
20146 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20147 as 64-bit value.
20148 * crypt/sha256.c (SWAP64): Define.
20149 (sha256_process_block): Perform total addition using 64-bit if
20150 possible.
20151 (__sha256_finish_ctx): Likewise.
20152
99231d9a
UD
201532011-07-01 Ulrich Drepper <drepper@gmail.com>
20154
20155 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20156 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20157 * nscd/hstcache.c (cache_addhst): Likewise.
20158 * nscd/grpcache.c (cache_addgr): Likewise.
20159 * nscd/aicache.c (addhstaiX): Likewise
20160 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20161
445b4a53
TK
201622011-07-01 Thorsten Kukuk <kukuk@suse.de>
20163
20164 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20165 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20166 * nscd/hstcache.c (cache_addhst): Likewise.
20167 * nscd/grpcache.c (cache_addgr): Likewise.
20168 * nscd/aicache.c (addhstaiX): Likewise
20169
6d4d8e8e
AS
201702011-07-01 Andreas Schwab <schwab@redhat.com>
20171
20172 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20173 domain only when needed.
20174
89f654c5
AS
201752011-06-30 Andreas Schwab <schwab@redhat.com>
20176
20177 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20178 is always restored.
20179
cf3b23ff
UD
201802011-06-29 Ulrich Drepper <drepper@gmail.com>
20181
20182 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20183 are re-adding the entry.
20184 * nscd/servicescache.c (cache_addserv): Likewise.
20185
751626f9
AJ
201862011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20187
20188 * sysdeps/generic/dl-irel.h: fix protection against multiple
20189 inclusions.
20190 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20191
9113ea1f
UD
201922011-06-28 Ulrich Drepper <drepper@gmail.com>
20193
5c0b8d90
UD
20194 [BZ #12935]
20195 * malloc/memusage.sh: Fix quoting in message.
20196 * debug/xtrace.sh: Likewise.
20197
9113ea1f
UD
20198 * configure.in: Remove support for --experimental-malloc option, make
20199 it the default.
20200 * config.make.in: Likewise.
20201 * malloc/Makefile: Likewise.
20202
a4172181
AS
202032011-06-27 Andreas Schwab <schwab@redhat.com>
20204
20205 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20206 two-byte characters.
20207
78a7eee7
RM
202082011-06-27 Roland McGrath <roland@hack.frob.com>
20209
62bede13
RM
20210 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20211 AC_CACHE_CHECK invocation.
20212 * configure: Regenerated.
20213
78a7eee7
RM
20214 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20215
5ce33a62
UD
202162011-06-27 Ulrich Drepper <drepper@gmail.com>
20217
034807a9
UD
20218 [BZ #12350]
20219 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20220 bit from old_res_options.
20221
4902da17
UD
20222 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20223
5ce33a62
UD
20224 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20225 value type for setfct.
20226
c2344f56
L
202272011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20228
20229 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20230 __gettimeofday instead of gettimeofday.
20231
68468076
UD
202322011-06-26 Ulrich Drepper <drepper@gmail.com>
20233
20234 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20235
acb0d739
L
202362011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20237
20238 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20239
20240 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20241 info.
20242
8912479f
L
202432011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20244
20245 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20246 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20247 strcpy-sse2-unaligned strncpy-sse2-unaligned
20248 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20249 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20250 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20251 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20252 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20253 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20254 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20255 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20256 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20257 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20258 (STRCPY): Support SSE2 and SSSE3 versions.
20259
d5495a11
UD
202602011-06-24 Ulrich Drepper <drepper@gmail.com>
20261
20262 [BZ #12874]
20263 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20264 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20265 kernels which artificially limit size of requests.
20266
0b1cbaae
L
202672011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20268
20269 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20270 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20271 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20272 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20273 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20274 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20275 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20276 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20277 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20278 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20279 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20280 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20281 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20282 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20283 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20284 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20285 Enable unaligned load optimization for Intel Core i3, i5 and i7
20286 processors.
20287 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20288 Define.
20289 (index_Fast_Unaligned_Load): Define.
20290 (HAS_FAST_UNALIGNED_LOAD): Define.
20291
07f494a0
MP
202922011-06-23 Marek Polacek <mpolacek@redhat.com>
20293
20294 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20295
fa3fc0fe
UD
202962011-06-22 Ulrich Drepper <drepper@gmail.com>
20297
20298 [BZ #12907]
20299 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20300 until it is clear that the information is realy needed.
20301 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20302
e12df166
AS
203032011-06-22 Andreas Schwab <schwab@redhat.com>
20304
20305 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20306
852eb34d
UD
203072011-06-22 Ulrich Drepper <drepper@gmail.com>
20308
84e2a551
UD
20309 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20310 /sys/devices/system/cpu/online if it is usable.
20311
852eb34d
UD
20312 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20313 reading the information from the /proc filesystem to once a second.
20314
6e502e19
UD
203152011-06-21 Andreas Jaeger <aj@suse.de>
20316
20317 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20318 NULL after inclusion of kernel headers.
20319
75d39ff2
UD
203202011-06-21 Ulrich Drepper <drepper@gmail.com>
20321
51f9aa6a
UD
20322 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20323 calls to internal_setent.
20324
c0244a9d
UD
20325 [BZ #12885]
20326 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20327 addresses using gethostbyname4_r ignore IPv4 addresses.
20328
c5e3c2ae
UD
20329 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20330 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20331
75d39ff2
UD
20332 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20333
42675c6f
DM
203342011-06-20 David S. Miller <davem@davemloft.net>
20335
20336 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20337 inclusions.
20338 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20339
20340 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20341 (elf_irel): Use it.
20342 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20343 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20344 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20345 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20346 * sysdeps/x86_64/dl-irel.h: Likewise.
20347
20348 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20349 * elf/dl-sym.c: Likewise.
20350
57912a71
UD
203512011-06-15 Ulrich Drepper <drepper@gmail.com>
20352
20353 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20354 need to dereference resplen2.
20355
ee22793d
AS
203562011-06-14 Andreas Schwab <schwab@redhat.com>
20357
20358 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20359
a9e836b0
UD
203602011-06-15 Ulrich Drepper <drepper@gmail.com>
20361
77fb9117
UD
20362 * Makeconfig: Define vardbdir and inst_vardbdir.
20363 * nss/Makefile: Add rules to install db-Makefile.
20364
40c1b22c
UD
20365 * nss/nss_db/db-XXX.c: Cleanup.
20366
9f2da732
UD
20367 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20368 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20369 GLIBC_PRIVATE.
20370 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20371 * nss/makedb.c: Implement -g option to specify that value strings
20372 are generated and should not be added to table iterated over for
20373 get*ent calls.
20374 * nss/nss_db/db-initgroups.c: New file.
20375
82e9a1f7
UD
20376 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20377 interface.
20378
c41af17e
UD
20379 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20380 (internal_getgrouplist): Adjust to name change.
20381 Update use_initgroups_entry if this is not the first call.
20382 * nss/databases.def: Add initgroups entry.
20383
a9e836b0
UD
20384 * nss/makedb.c (compute_tables): Check result of multiple hash table
20385 sizes to minimize maximum chain length.
20386
2666d441
UD
203872011-06-14 Ulrich Drepper <drepper@gmail.com>
20388
20389 * Versions.def: Add entry for libnss_db.
20390 * shlib-versions: Likewise.
20391 * nss/Makefile: Add rules to build libnss_db.
20392 * nss/Versions: Add libnss_db information. Organize libnss_files
20393 entries better.
20394 * nss/db-Makefile: Add gshadow support. Change rules for the new
20395 makedb progra. Some minor improvements to generate smaller files.
20396 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20397 here from...
20398 * nss/makedb.c: ...here.
20399 Improve database format to be smaller and require less memory at
20400 runtime.
20401 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20402 db anymore.
20403 * nss/nss_db/db-netgrp.c: Likewise.
20404 * nss/nss_db/db-open.c: Likewise.
20405 * nss/nss_files/flies-XXX.x: Adjust comments.
20406 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20407 * nss/nss_files/files-grp.c: Likewise.
20408 * nss/nss_files/files-hosts.c: Likewise.
20409 * nss/nss_files/files-network.c: Likewise.
20410 * nss/nss_files/files-proto.c: Likewise.
20411 * nss/nss_files/files-pwd.c: Likewise.
20412 * nss/nss_files/files-rpc.c: Likewise.
20413 * nss/nss_files/files-service.c: Likewise.
20414 * nss/nss_files/files-sgrp.c: Likewise.
20415 * nss/nss_files/files-spwd.c: Likewise.
20416 * nss/nss_db/db-alias.c: Removed.
20417 * nss/nss_db/dummy-db.h: Removed.
20418
9ee76b5a
UD
204192011-06-02 Ulrich Drepper <drepper@gmail.com>
20420
20421 * nss/makedb.c: Rewritten to not use database library.
20422 * nss/Makefile: Update to build new makedb program.
20423
c71ca1f8
AJ
204242011-06-14 Andreas Jaeger <aj@suse.de>
20425
20426 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20427 memset declaration.
20428
3154bfb8
UD
204292011-06-10 Andreas Schwab <schwab@redhat.com>
20430
20431 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20432 tmpbuf.
20433
b350afab
RM
204342011-06-10 Roland McGrath <roland@hack.frob.com>
20435
decd4e50
RM
20436 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20437 * elf/Makefile ($(objpfx)ld.so): Likewise.
20438
5615eaf2
RM
20439 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20440 Don't list ld.so twice in dependencies.
20441
20442 * posix/bug-regex31.c: Include <stdlib.h>.
20443
20444 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20445
20446 * nis/nss_compat/compat-spwd.c
20447 (getspent_next_nss_netgr): Remove unused variable.
20448 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20449
20450 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20451 nonmembers" output to use the right array.
20452
20453 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20454
20455 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20456
20457 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20458 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20459 * catgets/gencat.c (read_input_file): Likewise.
20460 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20461
20462 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20463 variable definition inside #if's controlling its use.
20464
20465 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20466
20467 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20468
20469 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20470
20471 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20472 unreachable code.
20473
20474 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20475
b68e08db
RM
20476 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20477 * configure: Regenerated.
20478
b350afab
RM
20479 * Makerules: Revert last change.
20480 * elf/Makefile: Likewise.
20481
28368601
RM
204822011-06-09 Roland McGrath <roland@hack.frob.com>
20483
20484 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20485 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20486 (reloc-link): Likewise.
20487
11988f8f
UD
204882011-06-09 Ulrich Drepper <drepper@gmail.com>
20489
20490 * elf/Makefile: Add rules to build pldd.
20491 * elf/pldd.c: New file.
20492 * elf/pldd-xx.c: New file.
20493
e80fab37
UD
204942011-06-07 Ulrich Drepper <drepper@gmail.com>
20495
20496 * version.h: Update for 2.15 development version.
20497
9b849836
DM
204982011-06-07 David S. Miller <davem@davemloft.net>
20499
20500 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20501 ifuncs.
20502 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20503 elf_machine_lazy_rel): Likewise.
20504 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20505 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20506 elf_machine_lazy_rel): Likewise.
20507 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20508 dl_hwcap via passed in argument.
20509 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20510 Likewise.
20511
5a31b283
AK
205122011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20513
20514 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20515
069e52f8
RM
205162011-06-06 Roland McGrath <roland@hack.frob.com>
20517
20518 [BZ #12849]
20519 * manual/fdl-1.1.texi: New file, verbatim from:
20520 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20521 * manual/lgpl-2.1.texi: New file, verbatim from:
20522 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20523 * manual/Makefile (licenses): New variable, list those new file names.
20524 (texis): Use it.
20525 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20526
20527 * manual/fdl.texi: File removed.
20528 * manual/lesser.texi: File removed.
20529 * manual/libc.texinfo (Copying, Documentation License):
20530 Use new @include file names, put @appendix directive before @include.
20531
f16846a5
JJ
205322011-06-04 Jakub Jelinek <jakub@redhat.com>
20533
20534 [BZ #12841]
20535 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20536 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20537 (mq_open): Add __NTH.
20538
3d29045b
L
205392011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20540
20541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20542 Assume Intel Core i3/i5/i7 processor if AVX is available.
20543
8c297311
UD
205442011-05-31 Ulrich Drepper <drepper@gmail.com>
20545
20546 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20547 typo.
20548
c8fc0c91
UD
205492011-05-31 Andreas Schwab <schwab@redhat.com>
20550
20551 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20552 memory. Use alloca_account. Fix memory leak when retrying.
20553
5b27a807
UD
205542011-05-31 Ulrich Drepper <drepper@gmail.com>
20555
356f8bc6
UD
20556 * version.h (RELEASE): Bump for 2.14 release.
20557 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20558
5b27a807
UD
20559 * config.make.in (RANLIB): Remove entry.
20560
01f16ab0
UD
205612011-05-30 Ulrich Drepper <drepper@gmail.com>
20562
41fce8bd
UD
20563 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20564 (libc.pot): Work around missing support for .ksh extension in xgettext.
20565
4769ae77
UD
20566 [BZ #12684]
20567 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20568 if both request failed.
20569 (send_dg): In case of server errors clear resplen or *resplen2.
20570
6b1e7d19
UD
20571 [BZ #12454]
20572 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20573 when there are multiple maps.
20574 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20575 (_dl_fini): Remove test here.
20576
01f16ab0
UD
20577 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20578
b1ebd700
UD
205792011-05-29 Ulrich Drepper <drepper@gmail.com>
20580
7ae22829
UD
20581 [BZ #12350]
20582 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20583 bit from old_res_options.
20584 (gaih_inet): Likewise.
20585
553149f6 20586 [BZ #11099]
18a84741 20587 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
20588 as signed.
20589
652ffab1
UD
20590 * resolv/res_init.c (res_setoptions): Make the code more compact.
20591
16985fd0
UD
20592 [BZ #11558]
20593 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20594 set RES_USEVC.
20595
0464f746
UD
20596 [BZ #11634]
20597 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20598
7d17596c
UD
20599 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20600
cf6bbbd7
UD
20601 [BZ #11781]
20602 * malloc/malloc.h: Declare malloc hook variables as volatile.
20603
13f1ab36
UD
20604 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20605 in last patch.
20606
b1ebd700
UD
20607 [BZ #11799]
20608 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 20609 raise in the comment.
80e2212d
UD
20610 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20611 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20612 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 20613
ce67228d
UD
206142011-05-28 Ulrich Drepper <drepper@gmail.com>
20615
8887a920
UD
20616 [BZ #12811]
20617 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20618 grow the buffers more if it already has to be sufficient.
20619 (build_wcs_upper_buffer): Likewise.
20620 * posix/regexec.c (check_matching): Likewise.
20621 (clean_state_log_if_needed): Likewise.
20622 (extend_buffers): Don't enlarge buffers beyond size of the input
20623 buffer.
20624 Patches mostly by Emil Wojak <emil@wojak.eu>.
20625 * posix/bug-regex32.c: New file.
20626 * posix/Makefile (tests): Add bug-regex32.
20627
4f031072
UD
20628 * locale/findlocale.c (_nl_find_locale): Return right away if
20629 _nl_explode_name failed.
20630 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20631
d0478f0c
UD
20632 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20633
de81b246
UD
20634 * debug/xtrace.sh: Unify messages.
20635 * malloc/memusage.sh: Likewise.
20636
c738465a
UD
20637 [BZ #12813]
20638 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20639 time symbol from vDSO. Substitute with vsyscall if not available.
20640 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20641 __vdso_time.
20642
f1f929d7
UD
20643 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20644 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20645 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20646 Add sendmmsg and internal_sendmmsg.
20647 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20648 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20649 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20650
ce67228d
UD
20651 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20652 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20653 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20654
e57420c6
UD
206552011-05-27 Ulrich Drepper <drepper@gmail.com>
20656
a8509ca5
UD
20657 [BZ #12813]
20658 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20659 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20660 available.
20661 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20662 __vdso_getcpu.
20663
e57420c6
UD
20664 [BZ #12814]
20665 * iconvdata/Makefile (tests): Add bug-iconv9.
20666 * iconvdata/bug-iconv9.c: New file.
20667
4d07db15
AS
206682011-05-27 Andreas Schwab <schwab@redhat.com>
20669
20670 [BZ #12814]
20671 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20672
ea486f69
JJ
206732011-05-25 Jakub Jelinek <jakub@redhat.com>
20674
20675 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20676 (struct user_regs_struct): Change intcs field back to cs.
20677
6f038433
UD
206782011-05-25 Ulrich Drepper <drepper@gmail.com>
20679
20680 * po/ja.po: Update from translation team.
20681
67f86a25
UD
206822011-05-23 Ulrich Drepper <drepper@gmail.com>
20683
20684 [BZ #12795]
20685 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20686 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20687
def7fbd6
AS
206882011-05-20 Andreas Schwab <schwab@redhat.com>
20689
20690 * stdlib/longlong.h: Update from GCC.
20691
f50ef8f1
AS
206922011-05-23 Andreas Schwab <schwab@redhat.com>
20693
20694 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20695 parameter name.
20696 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20697 Add parameter name.
20698 (__sysconf): Pass it down.
20699
de7ce8f1
UD
207002011-05-22 Ulrich Drepper <drepper@gmail.com>
20701
f2962a71
UD
20702 [BZ #12671]
20703 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20704 some situations.
20705 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20706 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20707 add in in __libc_use_alloca calls. Adjust callers.
20708 (glob): Use malloc in some situations.
20709
de7ce8f1
UD
20710 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20711 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20712 pltexit.
20713
aec84f53
UD
207142011-05-21 Ulrich Drepper <drepper@gmail.com>
20715
05bb4a68
UD
20716 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20717 and CLOCK_BOOTTIME_ALARM.
20718
7ea72f99
UD
20719 [BZ #12782]
20720 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20721 is returned.
20722
7e4afad5
UD
20723 * string/_strerror.c (__strerror_r): Print negative errors as signed
20724 numbers.
20725
8e211fec
UD
20726 [BZ #12777]
20727 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20728 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20729 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20730
f7d82dc9
UD
20731 * configure.in: Fix typo in redirection and correct removal of test
20732 files in two cases.
20733
cc9e536d
UD
20734 [BZ #12788]
20735 * locale/setlocale.c (new_composite_name): Fix test to check for
20736 identical name of all categories.
20737
aec84f53
UD
20738 [BZ #12792]
20739 * libio/filedoalloc.c (local_isatty): New function.
20740 (_IO_file_doallocate): Use local_isatty.
20741 * stdio-common/perror.c (perror): In case a new stream is used
20742 forward the stream error.
20743 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20744 error flag.
20745
78e64fdc
RT
207462011-05-20 Ulrich Drepper <drepper@gmail.com>
20747
34a9094f
UD
20748 [BZ #11869]
20749 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20750 alloca.
20751 * include/alloca.h (extend_alloca_account): Define.
20752
78e64fdc
RT
20753 [BZ #11857]
20754 * posix/regex.h: Fix comments with documentation of user-accessible
20755 fields after compilation and describe correct free'ing of pattern
20756 after re_compile_pattern.
20757 Patch by Reuben Thomas <rrt@sc3d.org>.
20758
457bddfc
RA
207592011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20760
20761 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20762 and -mno-altivec to prevent the compiler from using Altivec and/or
20763 VSX instructions when the corresponding registers are not available.
20764
a4527b51
AS
207652011-05-19 Andreas Schwab <schwab@redhat.com>
20766
20767 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20768
ed690b2f
UD
207692011-05-19 Ulrich Drepper <drepper@gmail.com>
20770
20771 * libio/freopen.c (freopen): Use __dup2, not dup2.
20772 * libio/freopen64.c (freopen64): Likewise.
20773
8db73634
L
207742011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20775
20776 [BZ #12775]
20777 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20778 * math/Makefile (tests): Add test-powl.
20779 (CFLAGS-test-powl.c): Define.
20780 * math/test-powl.c: New file.
20781
0a197a9d
L
207822011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20783
20784 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20785
ee30c380
UD
207862011-05-17 Ulrich Drepper <drepper@gmail.com>
20787
20788 [BZ #11837]
20789 * iconvdata/gb18030.c: Update to GB18020-2005.
20790
6ce75379
UD
207912011-05-16 Ulrich Drepper <drepper@gmail.com>
20792
a4b89fd8
AR
20793 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20794 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20795 Patch by Aharon Robbins <arnold@skeeve.com>.
20796
ea389b12
UD
20797 [BZ #11892]
20798 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20799 on the stack.
20800
68a3f91f
UD
20801 [BZ #11895]
20802 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20803 through underflows.
20804
15cc7dd1
UD
20805 [BZ #12766]
20806 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20807 point to strings before performing equality test for error_one_per_line
20808 mode.
20809
f3799213
UD
20810 [BZ #11697]
20811 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20812
d79a9c94
UD
20813 [BZ #11820]
20814 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20815 (struct user_fpregs_struct): Avoid __uint*_t types.
20816
56e5eb46
UD
20817 [BZ #6420]
20818 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20819 symbol info. Use it instead of calling _dl_addr locally.
20820 (lock_and_info): New function.
20821 (tr_freehook): Call lock_and_info and pass symbol info as additional
20822 parameter to tr_where.
20823 (tr_mallochook): Likewise.
20824 (tr_reallochook): Likewise.
20825 (tr_memalignhook): Likewise.
20826
6ce75379
UD
20827 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20828 used and couldn't be at all thread-safe.
20829
f8a3b5bf
UD
208302011-05-15 Ulrich Drepper <drepper@gmail.com>
20831
94b7cc37
UD
20832 * libio/freopen.c (freopen): Don't close old file descriptor
20833 before the new one is opened. Instead dup the new file descriptor
20834 to the old one after the new stream is created.
20835 * libio/freopen64.c (freopen64): Likewise.
20836 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20837 * libio/fileops.c (_IO_new_file_close_it): Handle new
20838 _IO_FLAGS2_NOCLOSE flag.
20839 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20840 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20841 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20842 _IO_FLAGS2_NOCLOSE flag.
20843 * include/unistd.h: Add hidden_proto for dup3.
20844 Define __have_dup3.
20845 * io/dup3.c: Define hidden symbol.
20846 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20847
bd25564e
UD
20848 [BZ #7101]
20849 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20850 when an incomplete long option is used.
20851 * posix/tst-getopt_long1.c: New file.
20852 * posix/Makefile (tests): Add tst-getopt_long1.
20853
c84cfef4
UD
20854 [BZ #10138]
20855 * scripts/config.guess: Update from autoconf-2.68.
20856 * scripts/config.sub: Likewise.
20857
3b85df27
UD
20858 [BZ #10157]
20859 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20860 tests into ...
20861 (has_cpuclock): ...this. New function.
20862 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20863 macro here based on has_cpuclock code.
20864
15a856b1
UD
20865 [BZ #10149]
20866 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20867 First byte (not low byte) is now always NUL.
20868 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20869
05f399e6
UD
20870 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20871 Use non-cancelable interfaces.
20872
10a52685 20873 [BZ #9809]
94ecc67d
UD
20874 * locale/iso-639.def: Add entry for Sorani.
20875
f8a3b5bf
UD
20876 [BZ #11901]
20877 * include/stdlib.h: Move include protection to the right place.
20878 Define abort_msg_s. Declare __abort_msg with it.
20879 * stdlib/abort.c (__abort_msg): Adjust type.
20880 * assert/assert.c (__assert_fail_base): New function. Majority
20881 of code from __assert_fail. Allocate memory for __abort_msg with
20882 mmap.
20883 (__assert_fail): Now call __assert_fail_base.
20884 * assert/assert-perr.c: Remove bulk of implementation. Use
20885 __assert_fail_base.
20886 * include/assert.hL Declare __assert_fail_base.
20887 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20888 mmap.
20889 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20890
1af4e298
UD
208912011-05-14 Ulrich Drepper <drepper@gmail.com>
20892
f8a3b5bf 20893 [BZ #11952]
d26dfc60
MG
20894 [BZ #12453]
20895 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20896 until all modules are registered in the DTV.
20897 * elf/Makefile: Add rules to build and run tst-tls19.
20898 * elf/tst-tls19.c: New file.
20899 * elf/tst-tls19mod1.c: New file.
20900 * elf/tst-tls19mod2.c: New file.
20901 * elf/tst-tls19mod3.c: New file.
20902 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20903
2fc54d6f
UD
20904 [BZ #12083]
20905 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20906 correctly.
20907
98d76b46
UD
20908 [BZ #12601]
20909 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20910 two-byte sequence errors.
20911 * iconvdata/Makefile (tests): Add bug-iconv8.
20912 * iconvdata/bug-iconv8.c: New file.
20913
da3c19ef
UD
20914 [BZ #12626]
20915 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20916 buf2 definition.
20917
ca408c15
UD
20918 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20919
d6f67f7d
UD
20920 [BZ #12432]
20921 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20922 (dummy_getcfa): New function.
20923 (init): Get _Unwind_GetCFA address, use dummy if not found.
20924 (backtrace_helper): In recursion check, also check whether CFA changes.
20925 (__backtrace): Completely initialize arg.
20926
1af4e298 20927 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
20928 storing incomplete byte sequence in state object. Avoid testing for
20929 guaranteed too small input if we know there is enough data available.
1af4e298 20930
da62f81b
AS
209312011-05-11 Andreas Schwab <schwab@redhat.com>
20932
20933 * Makeconfig (+link-pie): Indent.
20934 * Rules (binaries-pie): Define if $(have-fpie) and
20935 $(build-shared).
20936 (binaries-shared): Also filter out $(binaries-pie).
20937 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20938 * nscd/Makefile (others-pie): Add nscd.
20939 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20940 ($(objpfx)nscd): Remove command override.
20941 * login/Makefile (others-pie): Add pt_chown.
20942 ($(objpfx)pt_chown): Remove command override.
20943 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20944 remove command overrides.
20945
fcabc0f8
UD
209462011-05-13 Ulrich Drepper <drepper@gmail.com>
20947
20030ae6
UD
20948 * libio/tst_putwc.c: Fix error messages.
20949
fcabc0f8
UD
20950 [BZ #12724]
20951 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20952 currently writing and seek to current position when not.
20953 * libio/Makefile (tests): Add bug-fclose1.
20954 * libio/bug-fclose1.c: New file.
20955
320a5dc0
PB
209562011-05-12 Ulrich Drepper <drepper@gmail.com>
20957
20958 [BZ #12511]
20959 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20960 don't set DF_1_NODELETE here.
20961 (do_lookup_x): When entering new entry test for copy relocation
20962 and if necessary set DF_1_NODELETE flag.
20963 * elf/tst-unique4.cc: New file.
20964 * elf/tst-unique4.h: New file.
20965 * elf/tst-unique4lib.cc: New file.
20966 * elf/Makefile: Add rules to build and run tst-unique4.
20967 Patch by Piotr Bury <pbury@goahead.com>.
20968
22836f52
UD
209692011-05-11 Ulrich Drepper <drepper@gmail.com>
20970
f574184a
UD
20971 [BZ #12052]
20972 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20973
e1fb097f
UD
20974 [BZ #12625]
20975 * misc/mntent_r.c (addmntent): Flush the stream after the output
20976
22836f52
UD
20977 [BZ #12393]
20978 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20979 (is_trusted_path_normalize): Skip initial colon. Append slash
20980 to empty buffer. Duplicate is_trusted_path code but allow
20981 constructed patch to be prefix.
20982 (is_dst): Allow $ORIGIN followed by /.
20983 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20984 Correct testing of result of is_trusted_path_normalize
20985 (decompose_rpath): Fix warning.
20986
7b3b0b2a
UD
209872011-05-10 Ulrich Drepper <drepper@gmail.com>
20988
20989 [BZ #11257]
20990 * grp/initgroups.c (internal_getgrouplist): When we found the service
20991 list through the initgroups entry in nsswitch.conf do not always
20992 continue on a successful lookup. Don't always use the
eac80ce2 20993 __nss_group_database value if it is set.
7b3b0b2a
UD
20994 * nss/nsswitch.conf (initgroups): Change action for successful db
20995 lookup to continue for compatibility.
20996
2a81eaa5
UD
209972011-05-09 Ulrich Drepper <drepper@gmail.com>
20998
be97a69e
UD
20999 [BZ #11532]
21000 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21001 and CP774 modules.
21002 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21003 and CP774 modules.
21004 * iconvdata/tst-tables.sh: Likewise.
21005 * iconvdata/cp770.c: New file.
21006 * iconvdata/cp771.c: New file.
21007 * iconvdata/cp772.c: New file.
21008 * iconvdata/cp773.c: New file.
21009 * iconvdata/cp774.c: New file.
21010 * iconvdata/testdata/CP770: New file.
21011 * iconvdata/testdata/CP770..UTF8: New file.
21012 * iconvdata/testdata/CP771: New file.
21013 * iconvdata/testdata/CP771..UTF8: New file.
21014 * iconvdata/testdata/CP772: New file.
21015 * iconvdata/testdata/CP772..UTF8: New file.
21016 * iconvdata/testdata/CP773: New file.
21017 * iconvdata/testdata/CP773..UTF8: New file.
21018 * iconvdata/testdata/CP774: New file.
21019 * iconvdata/testdata/CP774..UTF8: New file.
21020
21021 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21022 END CHARMAP line.
21023 * iconvdata/gen-8bit-gap.sh: Likewise.
21024 * iconvdata/gen-8bit.sh: Likewise.
21025
c1e9e399
UD
21026 * locale/iso-639.def: Add ary entry.
21027
24c55fb3 21028 [BZ #11258]
96b4b1b0
UD
21029 * locale/C-translit.h.in: Add U20A1 transliteration.
21030
bdc2f971
KB
21031 [BZ #12178]
21032 * locale/iso-639.def: Add wae entry.
21033 Patch by Kevin Bortis <bortis@translate-wae.ch>.
21034
2952b117
UD
21035 [BZ #12545]
21036 * locale/programs/localedef.c (construct_output_path): Use ssize_t
21037 for n.
21038
2a81eaa5
UD
21039 [BZ #12711]
21040 * locale/C-translit.h.in: Add entry for U20B9.
21041 Patch by pravin.d.s@gmail.com.
21042
28377d1b
UD
210432011-05-08 Ulrich Drepper <drepper@gmail.com>
21044
7fb90fb8
UD
21045 [BZ #12713]
21046 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21047 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
21048 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
21049 in rtld. Use *stat64.
7fb90fb8 21050 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 21051 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 21052 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
21053 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21054 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21055 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21056 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21057 __fstatat64 macros.
7fb90fb8
UD
21058 * include/dirent.h: Add libc_hidden_proto for rewinddir.
21059 * dirent/rewinddir.c: Add libc_hidden_def.
21060 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 21061 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 21062
28377d1b
UD
21063 * include/dirent.h (__alloc_dir): Add flags parameter.
21064 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21065 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21066 __alloc_dir.
21067 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
21068 from fdopendir if O_CLOEXEC is already set.
21069
66bdbaa4
AM
210702011-03-15 Alan Modra <amodra@gmail.com>
21071
21072 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21073 l_tls_firstbyte_offset non-zero. Save padding offset in
21074 l_tls_firstbyte_offset for later use.
21075 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21076 freeing static tls block.
21077
95721191
JN
210782011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21079
21080 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21081 where #ifdef was intended. The intent is to prevent ARG_MAX from
21082 being defined by the kernel headers.
21083
f87dfb1f
UD
210842011-05-07 Ulrich Drepper <drepper@gmail.com>
21085
21086 [BZ #12734]
21087 * resolv/resolv.h: Define RES_NOTLDQUERY.
21088 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21089 no-tld-query and set RES_NOTLDQUERY.
21090 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21091 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21092 modern BIND to search name as TLD unless forbidden.
21093
47c3cd7a
UD
210942011-05-07 Petr Baudis <pasky@suse.cz>
21095 Ulrich Drepper <drepper@gmail.com>
21096
21097 [BZ #12393]
21098 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21099 (is_trusted_path): ...to here.
c1e9ea35 21100 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 21101 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 21102 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 21103
8a35c912
PP
211042011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21105
21106 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21107 __BEGIN/__END_DECLS.
21108
acd41f47
UD
211092011-05-06 Ulrich Drepper <drepper@gmail.com>
21110
21111 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21112 NSS_STATUS_NOTFOUND if no record was found.
21113
597df647
AS
211142011-05-05 Andreas Schwab <schwab@redhat.com>
21115
21116 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21117 (headers-not-in-tirpc): Remove rpc/netdb.h
21118 * resolv/netdb.h: Revert last change.
21119
b9af1301
PP
211202011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21121
21122 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21123 circular dependency between libgcc.a and libc.a.
21124
4e34d5f5
AS
211252011-05-05 Andreas Schwab <schwab@redhat.com>
21126
21127 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21128 * nis/Makefile: Don't install rpcsvc/*.
21129 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21130 instead of <rpc/types.h>.
21131 (MAXHOSTNAMELEN): Define.
21132
00ee369c
AS
211332011-05-03 Andreas Schwab <schwab@redhat.com>
21134
21135 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21136
0b592a30
MB
211372011-04-28 Maciej Babinski <mbabinski@google.com>
21138
21139 [BZ #12714]
21140 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21141 gethostbyname4_r when IPv6 results are possible.
21142
6e04cbbe
UD
211432011-05-02 Ulrich Drepper <drepper@gmail.com>
21144
21145 [BZ #12723]
21146 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21147 _PC_PIPE_BUF handling.
21148
e4ecafe0
BH
211492011-04-30 Bruno Haible <bruno@clisp.org>
21150
21151 [BZ #12717]
21152 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21153 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21154 to 'int'.
21155 * inet/getnameinfo.c (getnameinfo): Likewise.
21156
125ee683
UD
211572011-04-29 Ulrich Drepper <drepper@gmail.com>
21158
21159 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21160 to groups setting in database lookup.
21161 * nss/nsswitch.conf: Add initgroups entry.
21162
b722481a
EB
211632011-04-22 Ulrich Drepper <drepper@gmail.com>
21164
21165 [BZ #12685]
21166 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21167 mode string.
21168 Patch by Eric Blake <eblake@redhat.com>.
21169
4df46dbd
L
211702011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21171
21172 * sunrpc/Makefile (need-export-routines): Add svc_run.
21173 (routines): Remove svc_run.
21174 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21175 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21176 * sunrpc/svc_run.c (svc_run): Likewise.
21177 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21178
e84142d2
UD
211792011-04-21 Ulrich Drepper <drepper@gmail.com>
21180
21181 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21182 problem in reallocation in last patch.
21183
877175d8
UD
211842011-04-20 Ulrich Drepper <drepper@gmail.com>
21185
21186 * sunrpc/Makefile: Move inclusion of Rules.
21187
ab8eed78
UD
211882011-04-19 Ulrich Drepper <drepper@gmail.com>
21189
21190 * nss/nss_files/files-initgroups.c: New file.
21191 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21192 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21193 _nss_files_initgroups_dyn.
21194
e3d8f584
RS
211952011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21196
21197 * elf/elf.h (R_ARM_IRELATIVE): Define.
21198
af190f45
UD
211992011-04-19 Ulrich Drepper <drepper@gmail.com>
21200
21201 * po/ru.po: Update from translation team.
21202
53cf59ef
UD
212032011-04-17 Ulrich Drepper <drepper@gmail.com>
21204
21205 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21206 dependencies.
21207
4c559bcd
MF
212082011-02-06 Mike Frysinger <vapier@gentoo.org>
21209
21210 [BZ #12653]
21211 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21212 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21213 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21214 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21215 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21216
4420675c
AS
212172011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21218
21219 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21220 differing bytes.
21221 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21222 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21223 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21224
75ea32ab
UD
212252011-04-17 Ulrich Drepper <drepper@gmail.com>
21226
21227 [BZ #12420]
21228 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21229 storing it.
21230 * stdlib/bug-getcontext.c: New file.
21231 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21232
27390476
AK
212332011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21234
21235 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21236 instructions into .machine "z9-109".
21237 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21238 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21239
10442705
AK
212402011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21241
21242 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21243 between environment variables and auxiliary vector.
21244
7b57bfe5
UD
212452011-04-16 Ulrich Drepper <drepper@gmail.com>
21246
21247 * Makefile: Add rules to build linkobj/libc.so.
21248 * include/libc-symbols.h: Define libc_hidden_nolink.
21249 * include/rpc/auth.h: Mark functions which are to be hidden.
21250 * include/rpc/auth_des.h: Likewise.
21251 * include/rpc/auth_unix.h: Likewise.
21252 * include/rpc/clnt.h: Likewise.
21253 * include/rpc/des_crypt.h: Likewise.
21254 * include/rpc/key_prot.h: Likewise.
21255 * include/rpc/pmap_clnt.h: Likewise.
21256 * include/rpc/pmap_prot.h: Likewise.
21257 * include/rpc/pmap_rmt.h: Likewise.
21258 * include/rpc/rpc_msg.h: Likewise.
21259 * include/rpc/svc.h: Likewise.
21260 * include/rpc/svc_auth.h: Likewise.
21261 * include/rpc/xdr.h: Likewise.
21262 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21263 * nss/Makefile: Likewise.
21264 * sunrpc/Makefile: Don't install headers. Build library with normal
21265 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21266 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21267 for the compat linking library. Remove use of INTDEF/INTUSE.
21268 * sunrpc/auth_none.c: Likewise.
21269 * sunrpc/auth_unix.c: Likewise.
21270 * sunrpc/authdes_prot.c: Likewise.
21271 * sunrpc/authuxprot.c: Likewise.
21272 * sunrpc/clnt_gen.c: Likewise.
21273 * sunrpc/clnt_perr.c: Likewise.
21274 * sunrpc/clnt_raw.c: Likewise.
21275 * sunrpc/clnt_simp.c: Likewise.
21276 * sunrpc/clnt_tcp.c: Likewise.
21277 * sunrpc/clnt_udp.c: Likewise.
21278 * sunrpc/clnt_unix.c: Likewise.
21279 * sunrpc/des_crypt.c: Likewise.
21280 * sunrpc/des_soft.c: Likewise.
21281 * sunrpc/get_myaddr.c: Likewise.
21282 * sunrpc/key_call.c: Likewise.
21283 * sunrpc/key_prot.c: Likewise.
21284 * sunrpc/netname.c: Likewise.
21285 * sunrpc/pm_getmaps.c: Likewise.
21286 * sunrpc/pm_getport.c: Likewise.
21287 * sunrpc/pmap_clnt.c: Likewise.
21288 * sunrpc/pmap_prot.c: Likewise.
21289 * sunrpc/pmap_prot2.c: Likewise.
21290 * sunrpc/pmap_rmt.c: Likewise.
21291 * sunrpc/publickey.c: Likewise.
21292 * sunrpc/rpc_cmsg.c: Likewise.
21293 * sunrpc/rpc_common.c: Likewise.
21294 * sunrpc/rpc_dtable.c: Likewise.
21295 * sunrpc/rpc_prot.c: Likewise.
21296 * sunrpc/rpc_thread.c: Likewise.
21297 * sunrpc/rtime.c: Likewise.
21298 * sunrpc/svc.c: Likewise.
21299 * sunrpc/svc_auth.c: Likewise.
21300 * sunrpc/svc_authux.c: Likewise.
21301 * sunrpc/svc_raw.c: Likewise.
21302 * sunrpc/svc_run.c: Likewise.
21303 * sunrpc/svc_simple.c: Likewise.
21304 * sunrpc/svc_tcp.c: Likewise.
21305 * sunrpc/svc_udp.c: Likewise.
21306 * sunrpc/svc_unix.c: Likewise.
21307 * sunrpc/svcauth_des.c: Likewise.
21308 * sunrpc/xcrypt.c: Likewise.
21309 * sunrpc/xdr.c: Likewise.
21310 * sunrpc/xdr_array.c: Likewise.
21311 * sunrpc/xdr_float.c: Likewise.
21312 * sunrpc/xdr_intXX_t.c: Likewise.
21313 * sunrpc/xdr_mem.c: Likewise.
21314 * sunrpc/xdr_rec.c: Likewise.
21315 * sunrpc/xdr_ref.c: Likewise.
21316 * sunrpc/xdr_sizeof.c: Likewise.
21317 * sunrpc/xdr_stdio.c: Likewise.
21318
e6c61494
UD
213192011-04-10 Ulrich Drepper <drepper@gmail.com>
21320
21321 [BZ #12650]
21322 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21323 * sysdeps/ia64/dl-tls.h: Likewise.
21324 * sysdeps/powerpc/dl-tls.h: Likewise.
21325 * sysdeps/s390/dl-tls.h: Likewise.
21326 * sysdeps/sh/dl-tls.h: Likewise.
21327 * sysdeps/sparc/dl-tls.h: Likewise.
21328 * sysdeps/x86_64/dl-tls.h: Likewise.
21329 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21330
34fe483e
AS
213312011-03-14 Andreas Schwab <schwab@redhat.com>
21332
21333 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21334 rpath element also skip the following colon.
21335 (expand_dynamic_string_token): Add is_path parameter and pass
21336 down to DL_DST_REQUIRED and _dl_dst_substitute.
21337 (decompose_rpath): Call expand_dynamic_string_token with
21338 non-zero is_path. Ignore empty rpaths.
21339 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21340 with zero is_path.
21341
f12a32e6
AS
213422011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21343
21344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21345 Make cancelable.
21346
38a7d692
UD
213472011-04-09 Ulrich Drepper <drepper@gmail.com>
21348
21349 [BZ #12655]
21350 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21351 Patch by Filipe David Manana <fdmanana@apache.org>.
21352
e451d22b
AS
213532011-04-07 Andreas Schwab <schwab@redhat.com>
21354
21355 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21356 Maintain aligned stack.
21357 (CHECK_RSP): Remove unused macro.
21358
dedc7c7b
UD
213592011-04-03 Ulrich Drepper <drepper@gmail.com>
21360
21361 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21362 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21363
94521213
UD
213642011-04-02 Ulrich Drepper <drepper@gmail.com>
21365
21366 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21367
8cb700c0 21368 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 21369
0354e355
L
213702011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21371
21372 [BZ #12518]
21373 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21374 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21375 * sysdeps/x86_64/memmove.c: New file.
21376 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21377 (memcpy): Renamed to ...
21378 (__new_memcpy): This.
21379 (memcpy): Provide GLIBC_2_14 memcpy.
21380 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21381 (memcpy): Provide GLIBC_2_2_5 memcpy.
21382
8593482f
UD
213832011-04-01 Ulrich Drepper <drepper@gmail.com>
21384
21385 [BZ #12631]
21386 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21387
81a5726b
AS
213882011-03-30 Andreas Schwab <schwab@redhat.com>
21389
21390 * misc/syncfs.c: New file.
21391 * misc/Makefile (routines): Add syncfs.
21392 * posix/unistd.h: Declare syncfs.
21393 * sysdeps/unix/syscalls.list: Add syncfs.
21394
00e5419f
AS
213952011-04-01 Andreas Schwab <schwab@redhat.com>
21396
21397 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21398 open_by_handle_at.
21399 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21400 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21401 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21402 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21403 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21404 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21405 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21406
748876bf
UD
214072011-04-01 Ulrich Drepper <drepper@gmail.com>
21408
658e451d
UD
21409 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21410 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21411 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21412 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21413 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21414 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21415 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21416
748876bf
UD
21417 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21418 sync_file_range.c with -fexceptions.
21419 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21420 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21421 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21422 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21423 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21424 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21425 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
21426 sync_file_range as cancellation point
21427 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21428 now a wrapper around __call_sync_file_range with cancellation handling.
21429 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21430 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21431 function name to __call_sync_file_range.
21432 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21433 Add call_sync_file_range.
748876bf 21434
6e63d5e1
AS
214352011-04-01 Andreas Schwab <schwab@redhat.com>
21436
21437 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 21438 bits/timex.h.
6e63d5e1 21439
46998f74
UD
214402011-04-01 Ulrich Drepper <drepper@gmail.com>
21441
4c1423ed
UD
21442 * iconv/iconv.h: Fix typo in comment.
21443 * io/fcntl.h: Likewise.
21444 * libio/stdio.h: Likewise.
21445 * posix/spawn.h: Likewise.
21446 * posix/unistd.h: Likewise.
21447 * stdlib/stdlib.h: Likewise.
21448 * time/time.h: Likewise.
21449 * wcsmbs/wchar.h: Likewise.
21450
158648c0
UD
21451 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21452 open_by_handle): Add.
21453 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21454 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21455 Augment a few comments.
21456 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21457 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21458 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21459 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21460 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21461 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21462 open_by_handle.
21463
46998f74
UD
21464 * io/fcntl.h (AT_EMPTY_PATH): Define.
21465
83fe108b
UD
214662011-03-30 Ulrich Drepper <drepper@gmail.com>
21467
21468 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21469 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21470 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21471 to...
21472 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
21473 * Versions.def: Add GLIBC_2.14.
21474 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21475 Export.
83fe108b 21476
bb242059
UD
214772011-03-22 Ulrich Drepper <drepper@gmail.com>
21478
21479 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21480 round counter.
21481 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21482
c97a1282
L
214832011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21484
21485 [BZ #12597]
21486 * string/test-strncmp.c (do_page_test): New function.
21487 (check2): Likewise.
21488 (test_main): Call check2.
21489 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21490
2a115601
UD
214912011-03-20 Ulrich Drepper <drepper@gmail.com>
21492
21493 [BZ #12587]
21494 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21495 Handle cache information in CPU leaf 4.
21496 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21497
8126d904
UD
214982011-03-18 Ulrich Drepper <drepper@gmail.com>
21499
042c49c6 21500 [BZ #12583]
8126d904
UD
21501 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21502 character representation.
21503 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21504
ccfe366e
RA
215052011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21506
21507 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21508 END(__isnan) to END(__isnanf) to match function entry point/label
21509 EALIGN(__isnanf,...).
21510
c6e13027
JJ
215112011-03-10 Jakub Jelinek <jakub@redhat.com>
21512
21513 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21514
33f85a3f
UD
215152011-03-10 Ulrich Drepper <drepper@gmail.com>
21516
028478fa
UD
21517 [BZ #12510]
21518 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21519 copy from the symbol referenced in the relocation to initialize the
21520 used variable.
21521 Patch by Piotr Bury <pbury@goahead.com>.
21522 * elf/Makefile: Add rules to build and tst-unique3.
21523 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21524 * elf/tst-unique3.cc: New file.
21525 * elf/tst-unique3.h: New file.
21526 * elf/tst-unique3lib.cc: New file.
21527 * elf/tst-unique3lib2.cc: New file.
21528
33f85a3f
UD
21529 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21530
03592fc7
MF
215312011-03-10 Mike Frysinger <vapier@gentoo.org>
21532
21533 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21534 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21535 to _start.
03592fc7 21536
6a5ee102
UD
215372011-03-06 Ulrich Drepper <drepper@gmail.com>
21538
21539 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21540 to-be-loaded object along a path to loader is ld.so.
21541
7e4ba49c
HJ
215422011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21543 Ulrich Drepper <drepper@gmail.com>
21544
21545 * sysdeps/x86_64/memset.S: After aligning destination, code
21546 branches to different locations depending on the value of
21547 misalignment, when multiarch is enabled. Fix this.
21548
215492011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21550
21551 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21552 Set _x86_64_preferred_memory_instruction for AMD processsors.
21553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21554 Set bit_Prefer_SSE_for_memop for AMD processors.
21555
13a804de
UD
215562011-03-04 Ulrich Drepper <drepper@gmail.com>
21557
21558 * libio/fmemopen.c (fmemopen): Optimize a bit.
21559
9d25c392
AS
215602011-03-03 Andreas Schwab <schwab@redhat.com>
21561
21562 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21563
a5543c6a
RM
215642011-03-03 Roland McGrath <roland@redhat.com>
21565
21566 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21567
012d35f7
DM
215682011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21569
7e4ba49c 21570 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
21571 __bzero_ultra1 instead of __memset_ultra1.
21572
4bff6e01
AS
215732011-02-23 Andreas Schwab <schwab@redhat.com>
21574 Ulrich Drepper <drepper@gmail.com>
21575
21576 [BZ #12509]
21577 * include/link.h (struct link_map): Add l_orig_initfini.
21578 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21579 returning unsuccessfully.
21580 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21581 close of a file loaded at startup, restore the original l_initfini
21582 list.
21583 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21584 list, store the pointer.
21585 * elf/Makefile ($(objpfx)noload-mem): New rule.
21586 (noload-ENV): Define.
21587 (tests): Add $(objpfx)noload-mem.
21588 * elf/noload.c: Include <memcheck.h>.
21589 (main): Call mtrace. Close all opened handles.
21590
f2092faf
AS
215912011-02-17 Andreas Schwab <schwab@redhat.com>
21592
21593 [BZ #12454]
21594 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21595 dependencies are missing.
21596
6c8a2e88
ST
215972011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21598
f2092faf 21599 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
21600 Hurd needs munmap.
21601 * sysdeps/mach/hurd/ifreq.h: New file.
21602
84a42118
PB
216032011-01-27 Petr Baudis <pasky@suse.cz>
21604 Ulrich Drepper <drepper@gmail.com>
21605
071f805e 21606 [BZ 12445]#
84a42118
PB
21607 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21608 to extend_alloca().
21609 * stdio-common/bug23.c: New file.
21610 * stdio-common/Makefile (tests): Add bug23.
21611
e23fe25b
AS
216122010-09-28 Andreas Schwab <schwab@redhat.com>
21613 Ulrich Drepper <drepper@gmail.com>
21614
21615 [BZ #12489]
21616 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21617 before performing relro protection. At old place add assertion
21618 to make sure nothing changed.
21619
d3f02e10
NS
216202011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21621 Glauber de Oliveira Costa <glommer@gmail.com>
21622
21623 * elf/elf.h: Add new ARM TLS relocs.
21624
d55fd7a5
RA
216252011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21626
21627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21628 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21629 cast from r3.
21630 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21631 'tests' variable.
21632 * sysdeps/wordsize-64/tst-writev.c: New file.
21633
2206397e
RA
216342011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21635
21636 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21637 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21638 insns in _dl_start to prevent a TOC reference before relocs are
21639 resolved.
21640
e9433893
UD
216412011-02-15 Ulrich Drepper <drepper@gmail.com>
21642
21643 [BZ #12469]
21644 * Makeconfig: Remove RANLIB definition.
21645 * Makerules: Don't use RANLIB.
21646 * aclocal.m4: Remove ranlib test.
21647 * configure.in: No need to check for ranlib.
21648 * elf/rtld-Rules: Don't use RANLIB.
21649
f75286c6
ST
216502011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21651
8e31c82d
ST
21652 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21653 protection macro.
21654 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21655 inclusion protection macro.
21656
f75286c6
ST
21657 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21658 SIGRTMIN and SIGRTMAX and print information in that case only when
21659 SIGRTMIN is defined.
21660
c1d0e639
JJ
216612011-02-11 Jakub Jelinek <jakub@redhat.com>
21662
21663 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21664 arginfo fn returning -1.
21665
21666 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21667 and thousands string is zero terminated.
21668
edf9294e
AS
216692011-02-03 Andreas Schwab <schwab@redhat.com>
21670
21671 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21672 sysdeps/unix/sysv/linux/bits/socket.h.
21673
2b7e92df
ST
216742011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21675
edf9294e
AS
21676 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21677 (__CPU_COUNT): Remove old macros.
21678 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21679 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21680 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
21681 (__sched_cpualloc, __sched_cpufree): Add declarations.
21682
a4c7ea7b
UD
216832011-02-05 Ulrich Drepper <drepper@gmail.com>
21684
21685 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21686 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21687 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21688 (readdhstai): Return value of addhstaiX call.
21689 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21690 (addgrbyX): Return value returned by cache_addgr.
21691 (readdgrbyname): Return value returned by addgrbyX.
21692 (readdgrbygid): Likewise.
21693 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21694 (addpwbyX): Return value returned by cache_addpw.
21695 (readdpwbyname): Return value returned by addhstbyX.
21696 (readdpwbyuid): Likewise.
21697 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21698 (addservbyX): Return value returned by cache_addserv.
21699 (readdservbyname): Return value returned by addservbyX:
21700 (readdservbyport): Likewise.
21701 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21702 (addhstbyX): Return value returned by cache_addhst.
21703 (readdhstbyname): Return value returned by addhstbyX.
21704 (readdhstbyaddr): Likewise.
21705 (readdhstbynamev6): Likewise.
21706 (readdhstbyaddrv6): Likewise.
21707 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21708 (readdinitgroups): Return value returned by addinitgroupsX.
21709 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21710 (prune_cache): Keep track of timeout value of re-added entries.
21711 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21712 * nscd/nscd.h: Adjust prototypes of readd* functions.
21713
a0bf67cc
RM
217142011-02-04 Roland McGrath <roland@redhat.com>
21715
21716 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21717 (nis_stats): Likewise.
21718 * nis/nis_modify.c (nis_modify): Likewise.
21719 * nis/nis_remove.c (nis_remove): Likewise.
21720 * nis/nis_add.c (nis_add): Likewise.
21721
21722 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21723
21724 * posix/fnmatch_loop.c: Add some consts.
21725
21726 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21727
435b95eb
L
217282011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21729
21730 [BZ #12460]
21731 * config.make.in (config-cflags-novzeroupper): Define.
21732 * configure.in: Substitute libc_cv_cc_novzeroupper.
21733 * elf/Makefile (AVX-CFLAGS): Define.
21734 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21735 (CFLAGS-tst-auditmod4a.c): Likewise.
21736 (CFLAGS-tst-auditmod4b.c): Likewise.
21737 (CFLAGS-tst-auditmod6b.c): Likewise.
21738 (CFLAGS-tst-auditmod6c.c): Likewise.
21739 (CFLAGS-tst-auditmod7b.c): Likewise.
21740 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21741
8517b15e
UD
217422011-02-02 Ulrich Drepper <drepper@gmail.com>
21743
21744 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21745 function to the callback.
21746 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21747
10a656fe
AS
217482011-02-02 Andreas Schwab <schwab@redhat.com>
21749
21750 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21751 of errno.
21752
968dad0a
UD
217532011-01-19 Ulrich Drepper <drepper@gmail.com>
21754
9f94d2ea 21755 [BZ #11724]
968dad0a
UD
21756 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21757 of constructors.
21758 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21759 of destructors.
21760 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21761
21762 [BZ #11724]
21763 * elf/Makefile: Add rules to build and run new test.
21764 * elf/tst-initorder.c: New file.
21765 * elf/tst-initorder.exp: New file.
21766 * elf/tst-initordera1.c: New file.
21767 * elf/tst-initordera2.c: New file.
21768 * elf/tst-initordera3.c: New file.
21769 * elf/tst-initordera4.c: New file.
21770 * elf/tst-initorderb1.c: New file.
21771 * elf/tst-initorderb2.c: New file.
21772 * elf/tst-order-a1.c: New file.
21773 * elf/tst-order-a2.c: New file.
21774 * elf/tst-order-a3.c: New file.
21775 * elf/tst-order-a4.c: New file.
21776 * elf/tst-order-b1.c: New file.
21777 * elf/tst-order-b2.c: New file.
21778 * elf/tst-order-main.c: New file.
21779 New test case by George Gensure <werkt0@gmail.com>.
21780
86e92359
UD
217812010-10-01 Andreas Schwab <schwab@redhat.com>
21782
21783 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21784 decoding ACE if AI_CANONIDN.
21785
5d5732b0
UD
217862011-01-18 Ulrich Drepper <drepper@gmail.com>
21787
21788 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21789
a77e8cbc
UD
217902011-01-17 Ulrich Drepper <drepper@gmail.com>
21791
6392473f
UD
21792 * version.h (RELEASE): Bump for 2.13 release.
21793 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21794
620a0529
UD
21795 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21796
18ba70a5
UD
21797 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21798 MADV_NOHUGEPAGE.
32465c3e
UD
21799 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21800 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21801 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21802 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21803 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21804 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21805
c0dafcf1
UD
21806 * posix/getconf.c: Update copyright year.
21807 * catgets/gencat.c: Likewise.
21808 * csu/version.c: Likewise.
21809 * debug/catchsegv.sh: Likewise.
21810 * debug/xtrace.sh: Likewise.
21811 * elf/ldconfig.c: Likewise.
21812 * elf/ldd.bash.in: Likewise.
21813 * elf/sprof.c (print_version): Likewise.
21814 * iconv/iconv_prog.c: Likewise.
21815 * iconv/iconvconfig.c: Likewise.
21816 * locale/programs/locale.c: Likewise.
21817 * locale/programs/localedef.c: Likewise.
21818 * malloc/memusage.sh: Likewise.
21819 * malloc/mtrace.pl: Likewise.
21820 * nscd/nscd.c (print_version): Likewise.
21821 * nss/getent.c: Likewise.
21822
a77e8cbc
UD
21823 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21824 PF_CAIF, and PF_ALG.
21825 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21826
77e8bddf
AS
218272011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21828
1f20b93a
AS
21829 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21830 (modules-names): Use them.
21831 (ifunc-test-modules, ifunc-pie-tests): Define.
21832 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21833 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21834 (test-extras): Likewise.
21835 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21836 $(compile-command.c).
21837 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21838 (all-built-dso): Define.
21839 (check-textrel.out, check-execstack.out): Depend on it.
21840
77e8bddf
AS
21841 * configure.in: Don't override --enable-multi-arch.
21842
bc425b33
UD
218432011-01-15 Ulrich Drepper <drepper@gmail.com>
21844
21845 [BZ #6812]
21846 * nscd/hstcache.c (tryagain): Define.
21847 (cache_addhst): Return tryagain not notfound for temporary errors.
21848 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21849 failed.
21850
794c3ad3
UD
218512011-01-14 Ulrich Drepper <drepper@gmail.com>
21852
70181fdd
UD
21853 [BZ #10563]
21854 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21855 to make the syscall.
21856 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21857
794c3ad3
UD
21858 [BZ #12378]
21859 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21860 and fall back to matching as normal character if the string ends before
21861 the matching ']' is found. This is what POSIX requires.
21862 * posix/testfnm.c: Adjust test result.
21863 * posix/globtest.sh: Adjust test result. Add new test.
21864 * posix/tst-fnmatch.input: Likewise.
21865 * posix/tst-fnmatch2.c: Add new test.
21866
68dc9497
AS
218672010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21868
21869 * elf/Makefile (check-execstack): Revert last change. Depend on
21870 check-execstack.h.
21871 (check-execstack.h): New target.
21872 (generated): Add check-execstack.h.
21873 * elf/check-execstack.c: Include "check-execstack.h".
21874 (main): Revert last change.
21875 (handle_file): Return zero if GNU_STACK is absent and
21876 DEFAULT_STACK_PERMS doesn't include PF_X.
21877
451f001b
UD
218782011-01-13 Ulrich Drepper <drepper@gmail.com>
21879
cfa28e56
UD
21880 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21881 in child fails because the descriptor is already closed.
8cf8ce17
UD
21882 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21883 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21884 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 21885
1086d70d
UD
21886 [BZ #12397]
21887 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21888 syscall.
21889
451f001b
UD
21890 [BZ #10484]
21891 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21892 temporary buffer used to handle multi lookups locally.
a85b5cb4 21893 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 21894
08769175
UD
218952011-01-12 Ulrich Drepper <drepper@gmail.com>
21896
21897 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21898 loader is ld.so.
21899
5e49c52e
UD
219002011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21901
21902 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21903 alignment for SSE2.
21904
60522a5f
UD
219052011-01-12 Ulrich Drepper <drepper@gmail.com>
21906
21907 [BZ #12394]
21908 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21909 characters. When rounding increased number of integer digits recompute
21910 number of groups.
21911 * stdio-common/tst-grouping.c: New file.
21912 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21913
f257bbd7
UD
219142011-01-09 Ulrich Drepper <drepper@gmail.com>
21915
21916 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21917 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21918
21919 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21920 void.
21921 * bits/select.h: Likewise.
21922
fa9c15cb
UD
219232011-01-08 Ulrich Drepper <drepper@gmail.com>
21924
21925 * po/ja.po: Update from translation team.
21926
16c2895f
DM
219272011-01-04 David S. Miller <davem@sunset.davemloft.net>
21928
21929 [BZ #11155]
21930 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21931 implementation just like for lxstat, fxstatat, et al.
21932
2543fef2
JM
219332010-12-27 Jim Meyering <meyering@redhat.com>
21934
21935 [BZ #12348]
21936 * posix/regexec.c (build_trtable): Return failure indication upon
21937 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21938
98727dbe
UD
219392010-12-25 Ulrich Drepper <drepper@gmail.com>
21940
5bd6dc5c
UD
21941 [BZ #12201]
21942 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21943 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21944 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21945 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21946
97983464
UD
21947 [BZ #12207]
21948 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21949
98727dbe
UD
21950 [BZ #12204]
21951 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21952 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21953
4a531bb0
L
219542010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21955
21956 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21957 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21958 script has SORT_BY_INIT_PRIORITY.
21959 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21960 NO_CTORS_DTORS_SECTIONS is defined.
21961 * elf/soinit.c: Likewise.
21962 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21963 NO_CTORS_DTORS_SECTIONS is defined.
21964 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21965 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21966 * sysdeps/sh/init-first.c: Likewise.
21967 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21968
07eb4b71
UD
219692010-12-24 Ulrich Drepper <drepper@gmail.com>
21970
21971 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21972 always use the slow path.
21973
30950a5f
RA
219742010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21975
21976 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21977 similar rule which adds the sysdep directories to the header search in
21978 order to pick up the correct platform stackinfo.h.
21979 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21980 perform test if it is, otherwise return successfully without testing.
21981 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21982 DEFAULT_STACK_PERMS define in stackinfo.h.
21983 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21984 defined in stackinfo.h.
21985 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21986 DEFAULT_STACK_PERMS defined in stackinfo.h.
21987 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21988 * sysdeps/ia64/stackinfo.h: Likewise.
21989 * sysdeps/s390/stackinfo.h: Likewise.
21990 * sysdeps/sh/stackinfo.h: Likewise.
21991 * sysdeps/sparc/stackinfo.h: Likewise.
21992 * sysdeps/x86_64/stackinfo.h: Likewise.
21993 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21994 PF_X for powerpc64. Retain PF_X for powerpc32.
21995
db753e2c
UD
219962010-12-19 Ulrich Drepper <drepper@gmail.com>
21997
14b697f7
UD
21998 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21999 accurately.
db753e2c
UD
22000 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22001 GETDENTS_64BIT_ALIGNED.
22002
28300719
UD
220032010-12-14 Ulrich Drepper <dreper@gmail.com>
22004
14b697f7 22005 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 22006
4f197237
AS
220072010-12-10 Andreas Schwab <schwab@redhat.com>
22008
dbb0472f
AS
22009 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22010 _GNU_SOURCE.
22011
4f197237
AS
22012 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22013 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22014 Remove __restrict.
22015 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22016 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22017
fb88ac72
UD
220182010-12-09 Ulrich Drepper <drepper@gmail.com>
22019
22020 [BZ #11655]
22021 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22022 are initialized.
22023
42acbb92
JJ
220242010-12-09 Jakub Jelinek <jakub@redhat.com>
22025
22026 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22027
c038d98d
UD
220282010-12-03 Ulrich Drepper <drepper@gmail.com>
22029
22030 * po/it.po: Update from translation team.
22031
3a4a2499
L
220322010-12-01 H.J. Lu <hongjiu.lu@intel.com>
22033
22034 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22035 unused codes.
22036
1e24cf6e
UD
220372010-11-30 Ulrich Drepper <drepper@gmail.com>
22038
22039 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22040
a7690819
AS
220412010-11-24 Andreas Schwab <schwab@redhat.com>
22042
22043 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22044 specially.
22045 (gaih_getanswer_slice): Likewise.
22046
3bf8d1b1
JJ
220472010-10-20 Jakub Jelinek <jakub@redhat.com>
22048
22049 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22050
6db52fbb
PB
220512010-05-31 Petr Baudis <pasky@suse.cz>
22052
22053 [BZ #11149]
22054 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22055 silently even in the chroot mode.
22056
eaca7569
UD
220572010-11-22 Ulrich Drepper <drepper@gmail.com>
22058
22059 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22060 last patch a bit. Pretty printing
22061
3056dcdb
UD
220622010-05-31 Petr Baudis <pasky@suse.cz>
22063
22064 [BZ #10085]
22065 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22066 initialization of skip_initgroups_dyn.
22067
cf7c9078
UD
220682010-11-19 Ulrich Drepper <drepper@gmail.com>
22069
22070 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22071 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22072
a1fb5e3e
UD
220732010-11-16 Ulrich Drepper <drepper@gmail.com>
22074
22075 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22076
3540d66b
AS
220772010-11-11 Andreas Schwab <schwab@redhat.com>
22078
22079 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22080 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22081 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22082 ($(objpfx)tst-fnmatch-mem): New rule.
22083 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22084 * posix/tst-fnmatch.c (main): Call mtrace.
22085
13b69574
L
220862010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22087
22088 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22089 Support Intel processor model 6 and model 0x2c.
22090
da93d214
LM
220912010-11-10 Luis Machado <luisgpm@br.ibm.com>
22092
22093 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22094 signed comparison.
22095
8ca52c6e
L
220962010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22097
22098 [BZ #12205]
22099 * string/test-strncasecmp.c (check_result): New function.
22100 (do_one_test): Use it.
22101 (check1): New function.
22102 (test_main): Use it.
22103 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22104 Support strcasecmp and strncasecmp.
22105
69da074d
UD
221062010-11-08 Ulrich Drepper <drepper@gmail.com>
22107
22108 [BZ #12194]
22109 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22110 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22111
ff02d528
L
221122010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22113
22114 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22115 IFUNC support.
22116 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22117 memset-x86-64.
22118 * sysdeps/x86_64/multiarch/bzero.S: New file.
22119 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22120 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22121 * sysdeps/x86_64/multiarch/memset.S: New file.
22122 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22123 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22124 Set bit_Prefer_SSE_for_memop for Intel processors.
22125 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22126 Define.
22127 (index_Prefer_SSE_for_memop): Define.
22128 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22129
344d0b54
LM
221302010-11-04 Luis Machado <luisgpm@br.ibm.com>
22131
22132 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22133 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22134
c0dde15b
UD
221352010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22136
22137 [BZ #12191]
22138 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22139 (__x86_64_raw_data_cache_size_half): Likewise.
22140 (__x86_64_raw_shared_cache_size): Likewise.
22141 (__x86_64_raw_shared_cache_size_half): Likewise.
22142
22143 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22144 (__x86_64_raw_data_cache_size_half): Likewise.
22145 (__x86_64_raw_shared_cache_size): Likewise.
22146 (__x86_64_raw_shared_cache_size_half): Likewise.
22147 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22148 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22149 and __x86_64_raw_shared_cache_size_half. Round
22150 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22151 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22152 to multiple of 256 bytes.
22153
0e516e0e
MS
221542010-11-03 Ulrich Drepper <drepper@gmail.com>
22155
22156 [BZ #12167]
22157 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22158 of inacessible symlinks. Verify result of symlink before returning it.
22159 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22160 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22161
0e012e87
ER
221622010-10-28 Erich Ritz <erichritz@gmail.com>
22163
22164 * math/math.h (isinf): Fix typo in comment.
22165
de0ff7bc
UD
221662010-11-01 Ulrich Drepper <drepper@gmail.com>
22167
22168 * po/da.po: Update from translation team.
22169
fa41c84d
UD
221702010-10-26 Ulrich Drepper <drepper@gmail.com>
22171
22172 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22173 is added to the list.
22174
f0967738
AK
221752010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22176 Ulrich Drepper <drepper@gmail.com>
22177
22178 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22179 the global list here. Move code to...
22180 (_dl_add_to_namespace_list): ...here. New function.
22181 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22182 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22183 * elf/dl-load.c (lose): Don't remove the element from the list.
22184 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22185 (_dl_map_object): Likewise.
22186
221872010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
22188
22189 [BZ #12159]
22190 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22191 into all bytes of SSE register.
22192 Patch by Richard Li <richardpku@gmail.com>.
22193
f0967738 221942010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
22195
22196 [BZ #12140]
22197 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22198 perturbing.
22199
d0b9e94f
MB
222002010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22201
22202 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22203 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22204 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22205 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22207 submachine.
22208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22209
8e9f92e9
AS
222102010-10-22 Andreas Schwab <schwab@redhat.com>
22211
22212 * include/dlfcn.h (__RTLD_SECURE): Define.
22213 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22214 mode & __RTLD_SECURE instead.
22215 (open_path): Rename preloaded parameter to secure.
22216 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22217 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22218 * elf/dl-deps.c (openaux): Likewise.
22219 * elf/rtld.c (struct map_args): Remove is_preloaded.
22220 (map_doit): Don't use it.
22221 (dl_main): Likewise.
22222 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22223 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22224
bc96fbda
AS
222252010-09-09 Andreas Schwab <schwab@redhat.com>
22226
22227 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22228 (sysd-rules-targets): Remove duplicates.
22229 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22230 rtld-%.$o dependency.
22231
22cd1c9b
AS
222322010-10-18 Andreas Schwab <schwab@redhat.com>
22233
22234 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22235 _dl_map_object do it.
22236
18edac48
UD
222372010-10-19 Ulrich Drepper <drepper@gmail.com>
22238
22239 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22240 fast fma builtins, define the macros in the C99 standard.
22241 (FP_FAST_FMAF): Likewise.
22242 (FP_FAST_FMAL): Likewise.
22243 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22244
22245 * bits/mathdef.h: Update copyright year.
22246 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22247
d2050124
MM
222482010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22249
22250 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22251 builtins, define the macros in the C99 standard.
22252 (FP_FAST_FMAF): Likewise.
22253 (FP_FAST_FMAL): Likewise.
22254 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22255 multiply/add.
22256 (FP_FAST_FMAF): Likewise.
22257
475facd1
JJ
222582010-10-15 Jakub Jelinek <jakub@redhat.com>
22259
22260 [BZ #3268]
22261 * math/libm-test.inc (fma_test): Some new testcases.
22262 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22263 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22264 y and infinite z. Do multiplication by C already in long double.
22265 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22266 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22267 y and infinite z. Do bitwise or of inexact bit into u.d.
22268 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22269 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22270 * sysdeps/i386/fpu/s_fma.S: Removed.
22271 * sysdeps/i386/fpu/s_fmal.S: Removed.
22272
7c08a05c
JJ
222732010-10-16 Jakub Jelinek <jakub@redhat.com>
22274
22275 [BZ #3268]
22276 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22277 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22278 computation is not scheduled after fetestexcept. Fix value
22279 of minimum denormal long double.
22280
f3f7372d
JJ
222812010-10-14 Jakub Jelinek <jakub@redhat.com>
22282
22283 [BZ #3268]
22284 * math/libm-test.inc (fma_test): Add some more tests.
22285 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22286 correctly.
22287
14d43591
AS
222882010-10-15 Andreas Schwab <schwab@redhat.com>
22289
22290 * scripts/data/localplt-s390-linux-gnu.data: New file.
22291 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22292
5e908464
JJ
222932010-10-13 Jakub Jelinek <jakub@redhat.com>
22294
22295 [BZ #3268]
22296 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22297 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22298 instead of dbl-64.
22299 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22300 inlines.
22301 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22302 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22303 if one of x and y is very large and the other is subnormal.
22304 * sysdeps/s390/fpu/s_fmaf.c: New file.
22305 * sysdeps/s390/fpu/s_fma.c: New file.
22306 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22307 * sysdeps/powerpc/fpu/s_fma.S: New file.
22308 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22309 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22310 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22311
223122010-10-12 Jakub Jelinek <jakub@redhat.com>
22313
22314 [BZ #3268]
22315 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22316 fma tests.
22317 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22318 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22319 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22320 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22321 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22322 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22323 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22324
b833d51f
UD
223252010-10-12 Ulrich Drepper <drepper@redhat.com>
22326
22327 [BZ #12078]
22328 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22329 * posix/bug-regex31.input: Add test case.
22330
1751705d
UD
223312010-10-11 Ulrich Drepper <drepper@gmail.com>
22332
e9b9cbf5
UD
22333 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22334 * posix/bug-regex31.input: New file.
22335
22336 [BZ #12078]
22337 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22338 (parse_sub_exp): Fix last change, use postorder.
22339
ef06edbe
UD
22340 * posix/bug-regex31.c: New file.
22341 * posix/Makefile: Add rules to build and run bug-regex31.
22342
a129c80d
UD
22343 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22344
22345 [BZ #12078]
22346 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22347
b76b818e
UD
22348 [BZ #12108]
22349 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22350 to have entries in sys_siglist.
22351
1751705d
UD
22352 [BZ #12093]
22353 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22354 be NULL.
22355
9ff8d36f
JJ
223562010-10-07 Jakub Jelinek <jakub@redhat.com>
22357
22358 [BZ #3268]
22359 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22360 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22361 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22362 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22363 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22364 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22365 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22366 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22367 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22368 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22369 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22370 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22371 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22372 * math/ftestexcept.c (fetestexcept): Likewise.
22373 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22374 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22375 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22376 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22377 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22378 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22379 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22380
af325969
UD
223812010-10-11 Ulrich Drepper <drepper@gmail.com>
22382
c579b202 22383 [BZ #12107]
af325969
UD
22384 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22385 newline.
22386
67a67b95
UD
223872010-10-06 Ulrich Drepper <drepper@gmail.com>
22388
22389 * string/bug-strstr1.c: New file.
22390 * string/Makefile: Add rules to build and run bug-strstr1.
22391
5fb308bc
EB
223922010-10-05 Eric Blake <eblake@redhat.com>
22393
22394 [BZ #12092]
22395 * string/str-two-way.h (two_way_long_needle): Always clear memory
22396 when skipping input due to the shift table.
22397
45db99c7
UD
223982010-10-03 Ulrich Drepper <drepper@gmail.com>
22399
3b111893
UD
22400 [BZ #12005]
22401 * malloc/mcheck.c: Handle large requests.
22402
45db99c7
UD
22403 [BZ #12077]
22404 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22405 for strncmp and strncasecmp.
22406 * string/stratcliff.c: Add tests for strcmp and strncmp.
22407 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22408
cf7a1eb8
NI
224092010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22410
22411 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22412 __set_fpscr.
22413
6484ba5e
AJ
224142010-09-30 Andreas Jaeger <aj@suse.de>
22415
22416 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22417 (CGROUP_SUPER_MAGIC): Define.
22418 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22419 Handle btrfs and cgroup file systems.
22420 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22421 Likewise.
22422
91c42559
LM
224232010-09-27 Luis Machado <luisgpm@br.ibm.com>
22424
22425 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22426 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22427
87a97932
AK
224282010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22429
22430 [BZ #12067]
22431 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22432 trying to locate the ELF header.
22433
c21cc9bc
AS
224342010-09-27 Andreas Schwab <schwab@redhat.com>
22435
22436 [BZ #11611]
22437 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22438 Mask out sign-bit copies when constructing f_fsid.
22439
315970f6
PB
224402010-09-24 Petr Baudis <pasky@suse.cz>
22441
22442 * debug/stack_chk_fail_local.c: Add missing licence exception.
22443 * debug/warning-nop.c: Likewise.
22444
1ac7a2c7
JM
224452010-09-15 Joseph Myers <joseph@codesourcery.com>
22446
22447 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22448 implementing getdents64 using getdents syscall, set d_type if
22449 __ASSUME_GETDENTS32_D_TYPE.
22450
56801c50
AS
224512010-09-16 Andreas Schwab <schwab@redhat.com>
22452
22453 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22454 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22455
dda51327
UD
224562010-09-21 Ulrich Drepper <drepper@redhat.com>
22457
22458 [BZ #12037]
22459 * posix/unistd.h: Undo change of feature selection for ftruncate from
22460 2010-01-11.
22461
8ffcee4a
UD
224622010-09-20 Ulrich Drepper <drepper@redhat.com>
22463
a545ecd9 22464 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
22465 detection.
22466
e24f0a8b
AS
224672010-09-20 Andreas Schwab <schwab@redhat.com>
22468
22469 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22470 fanotify_mark.
22471 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22472
7291c56f
AS
224732010-09-14 Andreas Schwab <schwab@redhat.com>
22474
22475 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22476 variables after CHECK_SP call.
22477 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22478
bc5fb037
AS
224792010-09-13 Andreas Schwab <schwab@redhat.com>
22480 Ulrich Drepper <drepper@redhat.com>
22481
22482 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22483 re-relocationg ld.so.
22484 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22485 _dl_init_paths call.
22486 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22487 here anymore.
22488
e66e7419
UD
224892010-09-14 Ulrich Drepper <drepper@redhat.com>
22490
22491 * resolv/res_init.c (__res_vinit): Count the default server we added.
22492
c044aa75
CLT
224932010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22494 Ulrich Drepper <drepper@redhat.com>
22495
22496 [BZ #11968]
22497 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22498 (____longjmp_chk): Use %ebx for saving value across system call.
22499 Add unwind info.
22500
32cf4069
AS
225012010-09-06 Andreas Schwab <schwab@redhat.com>
22502
22503 * manual/Makefile: Don't mix pattern rules with normal rules.
22504
817328ee
AS
225052010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22506
22507 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22508 operation.
22509 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22510 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22511 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22512 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22513 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22514 Likewise.
22515
29fddf61
UD
225162010-09-04 Ulrich Drepper <drepper@redhat.com>
22517
22518 [BZ #11979]
22519 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22520 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22521
0959ffc9
UD
225222010-09-02 Ulrich Drepper <drepper@redhat.com>
22523
22524 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22525 * sysdeps/x86_64/addmul_1.S: Likewise.
22526 * sysdeps/x86_64/lshift.S: Likewise.
22527 * sysdeps/x86_64/mul_1.S: Likewise.
22528 * sysdeps/x86_64/rshift.S: Likewise.
22529 * sysdeps/x86_64/sub_n.S: Likewise.
22530 * sysdeps/x86_64/submul_1.S: Likewise.
22531
ece29840
ST
225322010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22533
0959ffc9
UD
22534 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22535 Define __sched_param instead of SCHED_* and sched_param when
ece29840 22536 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 22537 * bits/sched.h [__need_schedparam]
ece29840 22538 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
22539 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22540 (__defined_schedparam): Define to 1.
ece29840
ST
22541 (__sched_param): New structure, identical to sched_param.
22542 (__need_schedparam): Undefine.
22543
e53a31fe
MF
225442010-08-31 Mike Frysinger <vapier@gentoo.org>
22545
fdc0c10d
MF
22546 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22547 (epoll_create1): Declare.
22548
e53a31fe
MF
22549 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22550
a726d796
AS
225512010-08-31 Andreas Schwab <schwab@redhat.com>
22552
22553 [BZ #7066]
22554 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22555 shifting retval into place.
22556
2f3e3dc7
UD
225572010-09-01 Ulrich Drepper <drepper@redhat.com>
22558
f2933da9
UD
22559 * nis/rpcsvc/nis.h: Update copyright notice.
22560 * nis/rpcsvc/nis.x: Likewise.
22561 * nis/rpcsvc/nis_callback.h: Likewise.
22562 * nis/rpcsvc/nis_callback.x: Likewise.
22563 * nis/rpcsvc/nis_object.x: Likewise.
22564 * nis/rpcsvc/nis_tags.h: Likewise.
22565 * nis/rpcsvc/yp.h: Likewise.
22566 * nis/rpcsvc/yp.x: Likewise.
22567 * nis/rpcsvc/ypupd.h: Likewise.
22568 * nis/yp_xdr.c: Likewise.
22569 * nis/ypupdate_xdr.c: Likewise.
22570
2f3e3dc7
UD
22571 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22572 mainly the body of pmap_getport. Add parameters to specify timeouts.
22573 (pmap_getport): Use __libc_rpc_getport.
22574 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22575 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22576 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22577
f3dcc2f9
AS
225782010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22579
22580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22581 fanotify_mark.
22582
6d34eb5b
RM
225832010-08-27 Roland McGrath <roland@redhat.com>
22584
22585 * sysdeps/i386/i686/multiarch/Makefile
22586 (CFLAGS-varshift.c): New variable.
22587
9ea3de11
UD
225882010-08-27 Ulrich Drepper <drepper@redhat.com>
22589
c96d23fc
UD
22590 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22591 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22592
9ea3de11
UD
22593 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22594
22595 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22596
623aac7f
L
225972010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22598
22599 * sysdeps/x86_64/strlen.S: Unroll the loop.
22600 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22601 strlen-sse2 strlen-sse2-bsf.
22602 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22603 __strlen_no_bsf if bit_Slow_BSF is set.
22604 (__strlen_sse42): Removed.
22605 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22606 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22607
8b2b7715
RM
226082010-08-25 Roland McGrath <roland@redhat.com>
22609
22610 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22611 * sysdeps/x86_64/multiarch/varshift.c: New file.
22612 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22613 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22614 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22615 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22616
e73015f2
L
226172010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22618
22619 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22620 strlen-sse2 strlen-sse2-bsf.
22621 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22622 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22623 (__strlen_sse2): Removed.
22624 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22625 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22626 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22627 bit_Slow_BSF for Atom.
22628 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22629 (index_Slow_BSF): Define.
22630 (HAS_SLOW_BSF): Define.
22631
df24a73e
UD
226322010-08-25 Ulrich Drepper <drepper@redhat.com>
22633
22634 [BZ #10851]
22635 * resolv/res_init.c (__res_vinit): When no server address at all
22636 is given default to loopback.
22637
f2ac4868
RM
226382010-08-24 Roland McGrath <roland@redhat.com>
22639
09055553
RM
22640 * configure.in: Remove config-name.h generation.
22641 * configure: Regenerated.
22642 * config-name.in: File removed.
22643 * scripts/config-uname.sh: New file.
22644 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22645 ($(objdir)config-name.h): New target.
22646
f2ac4868
RM
22647 * sunrpc/rpc_parse.h: Avoid nested comment.
22648
73f27d5e
RH
226492010-08-24 Richard Henderson <rth@redhat.com>
22650 Ulrich Drepper <drepper@redhat.com>
22651 H.J. Lu <hongjiu.lu@intel.com>
22652
22653 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22654 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22655 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22656 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22657 _mm_alignr_epi8 with _mm_loadu_si128.
22658 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22659 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22660 (__m128i_shift_right): Removed.
22661 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22662 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22663 * sysdeps/x86_64/multiarch/varshift.h: New file.
22664 * sysdeps/x86_64/multiarch/varshift.S: New file.
22665
84b9230c
MF
226662010-08-21 Mike Frysinger <vapier@gentoo.org>
22667
22668 * configure.in: Move assembler checks to before sysdep dir checking.
22669
9bbd0ddc
PB
226702010-08-20 Petr Baudis <pasky@suse.cz>
22671
22672 * LICENSES: Sync the sunrpc license.
22673
9da4bb31
UD
226742010-08-19 Ulrich Drepper <drepper@redhat.com>
22675
a7ab6ec8
UD
22676 * sunrpc/auth_des.c: Update copyright notice once again.
22677 * sunrpc/auth_none.c: Likewise.
22678 * sunrpc/auth_unix.c: Likewise.
22679 * sunrpc/authdes_prot.c: Likewise.
22680 * sunrpc/authuxprot.c: Likewise.
22681 * sunrpc/bindrsvprt.c: Likewise.
22682 * sunrpc/clnt_gen.c: Likewise.
22683 * sunrpc/clnt_perr.c: Likewise.
22684 * sunrpc/clnt_raw.c: Likewise.
22685 * sunrpc/clnt_simp.c: Likewise.
22686 * sunrpc/clnt_tcp.c: Likewise.
22687 * sunrpc/clnt_udp.c: Likewise.
22688 * sunrpc/clnt_unix.c: Likewise.
22689 * sunrpc/des_crypt.c: Likewise.
22690 * sunrpc/des_soft.c: Likewise.
22691 * sunrpc/get_myaddr.c: Likewise.
22692 * sunrpc/getrpcport.c: Likewise.
22693 * sunrpc/key_call.c: Likewise.
22694 * sunrpc/key_prot.c: Likewise.
22695 * sunrpc/openchild.c: Likewise.
22696 * sunrpc/pm_getmaps.c: Likewise.
22697 * sunrpc/pm_getport.c: Likewise.
22698 * sunrpc/pmap_clnt.c: Likewise.
22699 * sunrpc/pmap_prot.c: Likewise.
22700 * sunrpc/pmap_prot2.c: Likewise.
22701 * sunrpc/pmap_rmt.c: Likewise.
22702 * sunrpc/rpc/auth.h: Likewise.
22703 * sunrpc/rpc/auth_unix.h: Likewise.
22704 * sunrpc/rpc/clnt.h: Likewise.
22705 * sunrpc/rpc/des_crypt.h: Likewise.
22706 * sunrpc/rpc/key_prot.h: Likewise.
22707 * sunrpc/rpc/netdb.h: Likewise.
22708 * sunrpc/rpc/pmap_clnt.h: Likewise.
22709 * sunrpc/rpc/pmap_prot.h: Likewise.
22710 * sunrpc/rpc/pmap_rmt.h: Likewise.
22711 * sunrpc/rpc/rpc.h: Likewise.
22712 * sunrpc/rpc/rpc_des.h: Likewise.
22713 * sunrpc/rpc/rpc_msg.h: Likewise.
22714 * sunrpc/rpc/svc.h: Likewise.
22715 * sunrpc/rpc/svc_auth.h: Likewise.
22716 * sunrpc/rpc/types.h: Likewise.
22717 * sunrpc/rpc/xdr.h: Likewise.
22718 * sunrpc/rpc_clntout.c: Likewise.
22719 * sunrpc/rpc_cmsg.c: Likewise.
22720 * sunrpc/rpc_common.c: Likewise.
22721 * sunrpc/rpc_cout.c: Likewise.
22722 * sunrpc/rpc_dtable.c: Likewise.
22723 * sunrpc/rpc_hout.c: Likewise.
22724 * sunrpc/rpc_main.c: Likewise.
22725 * sunrpc/rpc_parse.c: Likewise.
22726 * sunrpc/rpc_parse.h: Likewise.
22727 * sunrpc/rpc_prot.c: Likewise.
22728 * sunrpc/rpc_sample.c: Likewise.
22729 * sunrpc/rpc_scan.c: Likewise.
22730 * sunrpc/rpc_scan.h: Likewise.
22731 * sunrpc/rpc_svcout.c: Likewise.
22732 * sunrpc/rpc_tblout.c: Likewise.
22733 * sunrpc/rpc_util.c: Likewise.
22734 * sunrpc/rpc_util.h: Likewise.
22735 * sunrpc/rpcinfo.c: Likewise.
22736 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22737 * sunrpc/rpcsvc/key_prot.x: Likewise.
22738 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22739 * sunrpc/rpcsvc/mount.x: Likewise.
22740 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22741 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22742 * sunrpc/rpcsvc/rex.x: Likewise.
22743 * sunrpc/rpcsvc/rstat.x: Likewise.
22744 * sunrpc/rpcsvc/rusers.x: Likewise.
22745 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22746 * sunrpc/rpcsvc/spray.x: Likewise.
22747 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22748 * sunrpc/rtime.c: Likewise.
22749 * sunrpc/svc.c: Likewise.
22750 * sunrpc/svc_auth.c: Likewise.
22751 * sunrpc/svc_authux.c: Likewise.
22752 * sunrpc/svc_raw.c: Likewise.
22753 * sunrpc/svc_run.c: Likewise.
22754 * sunrpc/svc_simple.c: Likewise.
22755 * sunrpc/svc_tcp.c: Likewise.
22756 * sunrpc/svc_udp.c: Likewise.
22757 * sunrpc/svc_unix.c: Likewise.
22758 * sunrpc/svcauth_des.c: Likewise.
22759 * sunrpc/xcrypt.c: Likewise.
22760 * sunrpc/xdr.c: Likewise.
22761 * sunrpc/xdr_array.c: Likewise.
22762 * sunrpc/xdr_float.c: Likewise.
22763 * sunrpc/xdr_mem.c: Likewise.
22764 * sunrpc/xdr_rec.c: Likewise.
22765 * sunrpc/xdr_ref.c: Likewise.
22766 * sunrpc/xdr_sizeof.c: Likewise.
22767 * sunrpc/xdr_stdio.c: Likewise.
22768
9da4bb31
UD
22769 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22770 handling.
22771
bdaa77bc
AS
227722010-08-19 Andreas Schwab <schwab@redhat.com>
22773
22774 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22775
fe2f79db
LM
227762010-08-19 Luis Machado <luisgpm@br.ibm.com>
22777
22778 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22779 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22780 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22781 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22782 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22783 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22784 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22785 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22786 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22787 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22788 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22789 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22790 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22791 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22792
b9b42ee0
AB
227932010-07-26 Anton Blanchard <anton@samba.org>
22794
22795 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22796 * malloc/arena.c (heap_trim): Likewise.
22797
1c06ba31
UD
227982010-08-16 Ulrich Drepper <drepper@redhat.com>
22799
22800 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22801 here. Not...
22802 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22803 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22804
f8392f40
L
228052010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22806
22807 * sysdeps/i386/elf/Makefile: New file.
22808
3162f12e
AS
228092010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22810
22811 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22812 from fanotify_init.
22813 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22814 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22815
28c90b2c
UD
228162010-08-15 Ulrich Drepper <drepper@redhat.com>
22817
22818 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22819 of strncasecmp_l.
1feccb6c 22820 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 22821
ca6bb004
UD
228222010-08-14 Ulrich Drepper <drepper@redhat.com>
22823
e9f82e0d
UD
22824 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22825 strncase_l-nonascii.
22826 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22827 Add strncase_l-ssse3.
22828 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22829 * sysdeps/x86_64/strcmp.S: Likewise.
22830 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22831 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22832 * sysdeps/x86_64/strncase.S: New file.
22833 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22834 * sysdeps/x86_64/strncase_l.S: New file.
22835 * string/Makefile (strop-tests): Add strncasecmp.
22836 * string/test-strncasecmp.c: New file.
22837
22838 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22839 warning.
22840
ca6bb004
UD
22841 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22842 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22843
052fa7b3
AS
228442010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22845
22846 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22847
962dba78
UD
228482010-08-12 Ulrich Drepper <drepper@redhat.com>
22849
22850 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22851 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22852 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22853
bebff237
AM
228542010-05-01 Alan Modra <amodra@gmail.com>
22855
22856 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22857 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22858 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22859 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22860 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22861 tidying. Don't tail-call __sigjmp_save for static lib.
22862 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22863 save location.
22864 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22865 (CALL_MCOUNT): Add eh info, and nop after bl.
22866 (TAIL_CALL_SYSCALL_ERROR): New macro.
22867 (PSEUDO_RET): Use it.
22868 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22869 Correct save location of integer regs and cr.
22870 (_dl_profile_resolve): Correct cr save location. Delete nops
22871 after bl when SHARED. Reduce cfi size a little by better
22872 placement of cfi directives.
22873 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22874 make a stack frame. Instead use parm save area as a temp.
22875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22876 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22878 Don't make a stack frame for parent, use parm save area.
22879 Increase child stack frame to 112 bytes. Don't save unused reg,
22880 and adjust reg usage. Set up cfi on error recovery and
22881 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22883 (__makecontext): Add dummy nop after jump to exit.
22884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22885 Use correct parm save area and cr save, reduce stack frame.
22886 Correct cfi for possible PSEUDO_RET frame setup.
22887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22888 Branch to local label emitted by PSEUDO_RET rather than
22889 __syscall_error.
22890
02637374
AS
228912010-08-12 Andreas Schwab <schwab@redhat.com>
22892
22893 [BZ #11904]
22894 * locale/programs/locale.c (print_assignment): New function.
22895 (show_locale_vars): Use it.
22896
c3e2f19b
UD
228972010-08-11 Ulrich Drepper <drepper@redhat.com>
22898
3cdaa6ad
UD
22899 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22900 field.
22901 (struct statfs64): Likewise.
22902 (_STATFS_F_FLAGS): Define.
22903 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22904 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22905 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22906 (ST_VALID): Define locally.
22907 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22908 __statvfs_getflags, use the provided value.
22909 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22910 __ASSUME_STATFS_F_FLAGS.
22911
754f7da3
UD
22912 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22913
10b3bedc
UD
22914 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22915 Add sys/fanotify.h.
22916 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22917 fanotify_mask for GLIBC_2.13.
22918 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22919 fanotify_init and fanotify_mark.
22920 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22921 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22922
c08fb0d7
UD
22923 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22924 Add prlimit.
22925 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22926 prlimit64 for GLIBC_2.13.
22927 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22928 prlimit64.
22929 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22930 syscall.
22931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22932 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22933 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22934 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22935 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22936 add prlimit alias.
22937 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22938
15bac72b
UD
22939 [BZ #11903]
22940 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22941 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22942
c3e2f19b
UD
22943 * nss/Makefile: Add rules to build and run tst-nss-test1.
22944 * shlib-versions: Add entry for libnss_test1.
22945 * nss/nss_test1.c: New file.
22946 * nss/tst-nss-test1.c: New file.
22947
22948 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22949 (__nss_configure_lookup): Set appropriate entry in
22950 __nss_configure_lookup to true.
22951 * nss/nsswitch.h: Define enum with indeces of databases in
22952 databases and __nss_database_custom arrays. Declare
22953 __nss_database_custom.
22954 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22955 to avoid using nscd when custom rules are installed.
22956 * nss/getXXbyYY_r.c: Likewise.
22957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22958
22959 * nss/nss_files/files-parse.c: Whitespace fixes.
22960
f15ce4d8
UD
229612010-08-09 Ulrich Drepper <drepper@redhat.com>
22962
22963 [BZ #11883]
22964 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22965 * posix/fnmatch_loop.c: Likewise.
22966
d22e4cc9
AK
229672010-07-17 Andi Kleen <ak@linux.intel.com>
22968
22969 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22970 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22971 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22972 * Versions.def [GLIBC_2.13]: Add.
22973
805bc17d
UD
229742010-08-06 Ulrich Drepper <drepper@redhat.com>
22975
22976 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22977 Also fail if tpwd after pwuid call is NULL.
22978
5a42321d
ST
229792010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22980
22981 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22982 when converting to ms.
22983
fd3ebeda
ST
229842010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22985
22986 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22987 EOPNOTSUPP errors with ENOTTY.
22988 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22989 EOPNOTSUPP errors with ENOTTY.
22990
73507d3a
UD
229912010-07-31 Ulrich Drepper <drepper@redhat.com>
22992
22993 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22994 Add strcasecmp_l-ssse3.
22995 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22996 strcasecmp.
22997 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22998 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22999 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23000
fe36dd02
UD
230012010-07-30 Ulrich Drepper <drepper@redhat.com>
23002
66f6765a
UD
23003 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23004
42e08a54
UD
23005 * string/Makefile (strop-tests): Add strcasecmp.
23006 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23007 strcasecmp_l-nonascii.
23008 (gen-as-const-headers): Add locale-defines.sym.
23009 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23010 * sysdeps/x86_64/strcasecmp.S: New file.
23011 * sysdeps/x86_64/strcasecmp_l.S: New file.
23012 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23013 * sysdeps/x86_64/locale-defines.sym: New file.
23014 * string/test-strcasecmp.c: New file.
23015
fe36dd02
UD
23016 * string/test-strcasestr.c: Test both ends of the range of characters.
23017 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23018
48cbc0d6
RM
230192010-07-29 Roland McGrath <roland@redhat.com>
23020
76e6d6bc 23021 [BZ #11856]
48cbc0d6
RM
23022 * manual/locale.texi (Yes-or-No Questions): Fix example code.
23023
880113d9
UD
230242010-07-27 Ulrich Drepper <drepper@redhat.com>
23025
23026 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23027 for ld.so.
23028
deb9cabb
AS
230292010-07-27 Andreas Schwab <schwab@redhat.com>
23030
23031 * manual/memory.texi (Malloc Tunable Parameters): Document
23032 M_PERTURB.
23033
1c7570ff
RM
230342010-07-26 Roland McGrath <roland@redhat.com>
23035
23036 [BZ #11840]
23037 * configure.in (-fgnu89-inline check): Set and substitute
23038 gnu89_inline, not libc_cv_gnu89_inline.
23039 * configure: Regenerated.
23040 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23041
24fb0f88
UD
230422010-07-26 Ulrich Drepper <drepper@redhat.com>
23043
23044 * string/test-strnlen.c: New file.
23045 * string/Makefile (strop-tests): Add strnlen.
23046 * string/tester.c (test_strnlen): Add a few more test cases.
23047 * string/tst-strlen.c: Better error reporting.
23048
23049 * sysdeps/x86_64/strnlen.S: New file.
23050
8e96b93a
UD
230512010-07-24 Ulrich Drepper <drepper@redhat.com>
23052
23053 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23054 lower-latency instructions.
23055
dbc676d4
UD
230562010-07-23 Ulrich Drepper <drepper@redhat.com>
23057
23058 * string/test-strcasestr.c: New file.
23059 * string/test-strstr.c: New file.
23060 * string/Makefile (strop-tests): Add strstr and strcasestr.
23061 * string/str-two-way.h: Don't undefine MAX.
23062 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23063
f6a31e0e
AS
230642010-07-21 Andreas Schwab <schwab@redhat.com>
23065
23066 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23067 strcasestr-nonascii.
23068 (CFLAGS-strcasestr-nonascii.c): Define.
23069 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23070 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23071 Remove unused attribute.
23072
5dbc3b6c
RM
230732010-07-20 Roland McGrath <roland@redhat.com>
23074
23075 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23076 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23077 ld.so.cache was broken. With it, there is no way to disable dsocaps
23078 like LD_HWCAP_MASK can disable hwcaps.
23079
23d101d8
EPM
230802010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23081
23082 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23083
cc9f2e47
UD
230842010-07-16 Ulrich Drepper <drepper@redhat.com>
23085
23086 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23087 call in strcasestr.
23088 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23089 __strcasestr_sse42_nonascii.
23090 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23091 strcasestr-nonascii.c.
23092 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23093
77c1b069
LM
230942010-06-15 Luis Machado <luisgpm@br.ibm.com>
23095
23096 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23097 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23098 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23099 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23100
440566c3
UD
231012010-07-09 Ulrich Drepper <drepper@redhat.com>
23102
23103 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23104 fcntl.
23105
5be9d05d
AS
231062010-07-06 Andreas Schwab <schwab@redhat.com>
23107
c30b7ee2 23108 [BZ #11577]
5be9d05d
AS
23109 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23110 dl_signal_cerror.
23111
8a492a67
UD
231122010-07-06 Ulrich Drepper <drepper@redhat.com>
23113
23114 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23115 _PC_PIPE_BUF using F_GETPIPE_SZ.
23116
713df3d5
RM
231172010-07-05 Roland McGrath <roland@redhat.com>
23118
23119 * manual/arith.texi (Rounding Functions): Fix rint description
23120 implicit in round description.
23121
702e8f14
UD
231222010-07-02 Ulrich Drepper <drepper@redhat.com>
23123
23124 * elf/Makefile: Fix linking for a few tests to make recent linker
23125 happy.
23126
52ed8be9
AS
231272010-06-30 Andreas Schwab <schwab@redhat.com>
23128
23129 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23130 $(common-objpfx)libc_nonshared.a.
23131
f47c9a11
LM
231322010-06-21 Luis Machado <luisgpm@br.ibm.com>
23133
23134 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23135 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23136 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23137 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23138 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23139 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23140 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23141 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23156 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23157 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23158 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23159 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23160 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23161 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23162 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23163 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23164 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23165 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23166 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23167 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23182
6fb8cbcb
L
231832010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23184
23185 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23186 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23187 * string/memmove.c (memmove): Renamed to ...
23188 (MEMMOVE): ...this. Default to memmove.
23189 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23190 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23191 (END_CHK): Define.
23192 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23193 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23194 mempcpy-ssse3-back memmove-ssse3-back.
23195 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23196 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23197 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23198 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23199 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23200 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23201 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23202 * sysdeps/x86_64/multiarch/memmove.c: New file.
23203 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23204 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23205 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23206 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23207 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23208 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23209 Define.
23210 (index_Fast_Copy_Backward): Define.
23211 (HAS_ARCH_FEATURE): Define.
23212 (HAS_FAST_REP_STRING): Define.
23213 (HAS_FAST_COPY_BACKWARD): Define.
23214
4e733bac 232152010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
23216
23217 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23218 Restore proper fallback handling.
23219
63c4ed22
UD
232202010-06-19 Ulrich Drepper <drepper@redhat.com>
23221
ac2b484c
UD
23222 [BZ #11701]
23223 * posix/group_member.c (__group_member): Correct checking loop.
23224
63c4ed22
UD
23225 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23226 OOM in getpwuid_r correctly. Return error number when the caller
23227 should return, otherwise -1.
23228 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23229 call returning > 0 value.
23230 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23231
765ade4b
AS
232322010-06-07 Andreas Schwab <schwab@redhat.com>
23233
23234 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23235 libc_nonshared.a from targets in modules-names.
23236
80da2e09
KS
232372010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23238
23239 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23240 requires it.
23241
158db122
LM
232422010-06-10 Luis Machado <luisgpm@br.ibm.com>
23243
23244 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23245 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23246 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23247 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23248
caa78cf8
AS
232492010-06-02 Andreas Schwab <schwab@redhat.com>
23250
23251 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23252
b2ef2c01
UD
232532010-06-14 Ulrich Drepper <drepper@redhat.com>
23254
23255 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23256 and F_GETPIPE_SZ.
23257 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23258 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23259 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23260 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23261 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23262 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23263
fbd643b6
RM
232642010-06-14 Roland McGrath <roland@redhat.com>
23265
23266 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23267
f32f2869
JJ
232682010-06-07 Jakub Jelinek <jakub@redhat.com>
23269
23270 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23271 __REDIRECT followed by __THROW.
23272 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23273 * posix/getopt.h (getopt): Likewise.
23274
2a50c078
EPM
232752010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23276
23277 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23278 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23279 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23280 in AT_FLAGS.
23281 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23282 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23283
eb5ad2eb
LM
232842010-05-28 Luis Machado <luisgpm@br.ibm.com>
23285
23286 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23287
3c88fe1e
L
232882010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23289
23290 [BZ #11640]
23291 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23292 Properly check family and model.
23293
d2f73151
TY
232942010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23295
23296 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23297
ebd2e13d
LM
232982010-05-24 Luis Machado <luisgpm@br.ibm.com>
23299
23300 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23301
b32b8b45
UD
233022010-05-21 Ulrich Drepper <drepper@redhat.com>
23303
23304 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23305 symbol reference.
23306
9acbe24d
AS
233072010-05-19 Andreas Schwab <schwab@redhat.com>
23308
23309 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23310 symbol reference.
23311
f0ccf6ea
AS
233122010-05-21 Andreas Schwab <schwab@redhat.com>
23313
3d04ff3a
AS
23314 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23315 and internal_recvmmsg.
23316 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23317 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23318 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23319 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23320
f0ccf6ea
AS
23321 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23322 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23323 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23324
5b08ac57
AS
233252010-05-20 Andreas Schwab <schwab@redhat.com>
23326
23327 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23328
4828935d
LM
233292010-05-17 Luis Machado <luisgpm@br.ibm.com>
23330
23331 POWER7 optimizations.
23332 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23333 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23334
373d545e
UD
233352010-05-19 Ulrich Drepper <drepper@redhat.com>
23336
23337 * version.h: Update for 2.13 development version.
23338
21a2b1ae
AS
233392010-05-12 Andrew Stubbs <ams@codesourcery.com>
23340
23341 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23342 exceptions. Return 0.
23343
3f7dcb2b
RM
233442010-05-07 Roland McGrath <roland@redhat.com>
23345
23346 * elf/ldconfig.c (main): Add a const.
23347
5f24d53a 233482010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 23349
a160f8d8
UD
23350 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23351 (args_options): Add no-idn option.
23352 (ahosts_keys_int): Add idn_flags to ai_flags.
23353 (parse_option): Handle 'i' option to clear idn_flags.
23354
5f24d53a
UD
23355 * malloc/malloc.c (_int_free): Possible race in the most recently
23356 added check. Only act on the data if no current modification
23357 happened.
265bb1ce
UD
23358
23359See ChangeLog.17 for earlier changes.