]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update French translation.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
0549fbba
DM
12013-01-01 David S. Miller <davem@davemloft.net>
2
a141f1a7
DM
3 * po/fr.po: Update from translation team.
4
0549fbba
DM
5 * catgets/gencat.c: Update copyright year.
6 * csu/version.c: Likewise.
7 * debug/catchsegv.sh: Likewise.
8 * debug/pcprofiledump.c: Likewise.
9 * debug/xtrace.sh: Likewise.
10 * elf/ldconfig.c: Likewise.
11 * elf/ldd.bash.in: Likewise.
12 * elf/pldd.c: Likewise.
13 * elf/sotruss.ksh: Likewise.
14 * elf/sprof.c: Likewise.
15 * iconv/iconv_prog.c: Likewise.
16 * iconv/iconvconfig.c: Likewise.
17 * locale/programs/locale.c: Likewise.
18 * locale/programs/localedef.c: Likewise.
19 * login/programs/pt_chown.c: Likewise.
20 * malloc/memusage.sh: Likewise.
21 * malloc/memusagestat.c: Likewise.
22 * malloc/mtrace.pl: Likewise.
23 * nscd/nscd.c: Likewise.
24 * nss/getent.c: Likewise.
25 * nss/makedb.c: Likewise.
26 * posix/getconf.c: Likewise.
27
18ea052c
SP
282012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29
30 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
31 numbers.
32
9c89fca6
MF
332012-12-30 Mike Frysinger <vapier@gentoo.org>
34
35 * math/bits/mathcalls.h (modf): Use __nonnull.
36
085ec079
SP
372012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38
39 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
40 (split): Use macro CN instead of the bare value.
41 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
42 could be used.
43 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
44 instead of the bare value.
45 (power1): Likewise.
46
6d9f97e1
SP
472012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
48
d63f73be
SP
49 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
50 __ATAN_TWOM.
51 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52
6d9f97e1
SP
53 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
54 their values.
55 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
58 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
59
4c4febf5
AJ
602012-12-28 Andreas Jaeger <aj@suse.de>
61
af5843ef
AJ
62 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
63 values are from Linux 3.7.
64
4c4febf5
AJ
65 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
66 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
67
99136f82
SP
682012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
69
2f216c3c 70 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
71 TRUE case.
72
99136f82
SP
73 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
74 (norm): Likewise.
75 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
76 variables with preprocessor constants.
77 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
78 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
79 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
80
7fffbdff
BH
812012-12-27 Bruno Haible <bruno@clisp.org>
82
83 [BZ #14317]
84 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
85 only if needed.
86
b76eb5f0
SP
872012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
88
31a7fe5c
SP
89 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
90 and use variable directly.
91 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
92
b76eb5f0
SP
93 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
94 MPONE.
95 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
96 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
97 variable MPONE.
98 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
99 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
100 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
101 include directive. Remove local variable MPONE.
102 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
103 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
104 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
105
2c8bfe7d
DM
1062012-12-25 David S. Miller <davem@davemloft.net>
107
108 * version.h (RELEASE): Set to "development".
109 (VERSION): Set to "2.17.90".
110 * NEWS: Add 2.18 section.
111
147d03b0
DM
1122012-12-21 David S. Miller <davem@davemloft.net>
113
114 * po/hr.po: Update from translation team.
115
a8ebb2b9
AK
1162012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
117
118 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
119
95b4f1b6
SE
1202012-12-19 Steve Ellcey <sellcey@mips.com>
121
b2d94007 122 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 123
cedb2a90
MS
1242012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
125
126 * manual/contrib.texi (Contributors): Spelling correction.
127
bbf527d6
DM
1282012-12-15 David S. Miller <davem@davemloft.net>
129
130 * po/ru.po: Update from translation team.
131
bc38c906
DM
1322012-12-13 David S. Miller <davem@davemloft.net>
133
85429b1a
DM
134 * NEWS: Mention IFUNC testsuite enhancements.
135
d283e353
DM
136 * po/pl.po: Update from translation team.
137 * po/bg.po: Likewise.
138
bc38c906
DM
139 * manual/contrib.texi (Contributors): Update entries for Hongjiu
140 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
141
a181b0d7
DM
1422012-12-11 David S. Miller <davem@davemloft.net>
143
4641d57e
DM
144 * po/sv.po: Update from translation team.
145
f7bc6495
DM
146 * po/vi.po: Update from translation team.
147
6fc9048f
DM
148 * po/cs.po: Update from translation team.
149
a181b0d7
DM
150 * po/de.po: Update from translation team.
151 * po/eo.po: Likewise.
152 * po/nl.po: Likewise.
153
f70bfe80
SP
1542012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
155
3c8b4190
SP
156 [BZ #14246]
157 * manual/argp.texi (Argp Helper Functions): Move node to follow
158 Argp Parsing State.
159
f70bfe80
SP
160 [BZ #14872]
161 * manual/conf.texi (Limits on File System Capacity): Mention if
162 terminating null is included in the max size.
163
188f0adf
AJ
1642012-12-10 Andreas Jaeger <aj@suse.de>
165
166 * po/cs.po: Update from translation team.
167
56e7d3ad
SP
1682012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
169
170 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
171 void pointer and cast to uintptr_t.
172 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
173 path.
174 * sysdeps/s390/s390-64/memcpy.S: Likewise.
175 * sysdeps/s390/s390-64/memset.S: Likewise.
176
76f2d2ea 1772012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
178
179 [BZ #14833]
180 * menual/message.texi (Message Translation): Fix typos.
181 (Helper programs for gettext): Likewise.
182
67cbf9a2
AS
1832012-12-07 Andreas Schwab <schwab@linux-m68k.org>
184
185 [BZ #14898]
186 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
187 Change to -1.
188
682d0e9a
DM
1892012-12-07 David S. Miller <davem@davemloft.net>
190
191 * po/libc.pot: Update.
192
573cd484
RH
1932012-12-07 Richard Henderson <rth@redhat.com>
194
7e9da188 195 [BZ #10114]
573cd484
RH
196 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
197 normal/normal case to before the switch.
198 (_FP_DIV): Likewise.
199
e933a943
MF
2002012-12-06 Carlos O'Donell <carlos@systemhalted.org>
201 Mike Frysinger <vapier@gentoo.org>
202
203 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
204 check for __NR_fadvise64_64.
205
82123268
CM
2062012-12-06 Chris Metcalf <cmetcalf@tilera.com>
207
208 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
209 0, not just to plain "0" as a statement.
210 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
211 with cw.
212
d9814526
JM
2132012-12-06 Joseph Myers <joseph@codesourcery.com>
214
215 * NEWS: Use sourceware.org in Bugzilla URL.
216
7728c574
SP
2172012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
218
f16946dd
SP
219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
220 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
221
5704bbcb
SP
222 * stdio-common/tst-put-error.c (do_test): Add newline to the
223 padded test to ensure flush.
224
17aa0516
JL
2252012-12-05 Jeff Law <law@redhat.com>
226
227 * sunrpc/etc.rpc (fedfs_admin): Add entry.
228
363313b5
JM
2292012-12-05 Joseph Myers <joseph@codesourcery.com>
230
effbd42a
JM
231 * README: Don't refer to ports add-on as distributed separately.
232 Mention AArch64 in list of systems supported in the ports add-on.
233
87600365
JM
234 * LICENSES: Add more non-FSF copyright and license notices.
235
a0d7066a
JM
236 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
237 ((unused)).
238
66ca5a5b
JM
239 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
240
363313b5
JM
241 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
242 10000 as width of padded output.
243
b37984ad
JM
2442012-12-04 Joseph Myers <joseph@codesourcery.com>
245
9003570a
JM
246 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
247
b37984ad
JM
248 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
249 variable LX with __attribute__ ((unused)).
250 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
251 Likewise.
252 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
253 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
254 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
255 with __attribute__ ((unused)).
256
c8df52ec
DM
2572012-12-04 David S. Miller <davem@abraco.davemloft.net>
258
259 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
260
b3b099af
JM
2612012-12-04 Joseph Myers <joseph@codesourcery.com>
262
c33aa6e3
JM
263 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
264 (CFLAGS-nldbl-acos.c): New variable.
265 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
266 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
267 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
268 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
269 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
270 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
271 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
272 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
273 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
274 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
275 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
276 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
277 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
278 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
279 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
280 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
281 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
282 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
283 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
284 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
285 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
286 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
287 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
288 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
289 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
290 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
291 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
292 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
293 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
294 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
295 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
296 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
297 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
298 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
299 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
300 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
301 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
302 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
303 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
304 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
305 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
306 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
307 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
308 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
309 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
310 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
311 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
312 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
313 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
314 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
315 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
316 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
317 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
318 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
319 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
320 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
321 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
322 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
323 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
324 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
325 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
326 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
327 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
328 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
329 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
330 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
331 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
332 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
333 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
334 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
335 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
336 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
337 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
338 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
339 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
340 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
341 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
342 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
343 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
344 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
345 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
346 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
347 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
348 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
349 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
350 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
351 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
352 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
353 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
354 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
355 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
356 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
357 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
358 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
359 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
360 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
361 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
362
20f0018d
JM
363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
364 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
365
b3b099af
JM
366 [BZ #14914]
367 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
368 whole low double instead of just low 47 bits when splitting values
369 into two parts.
370
029264d1
AM
3712012-12-03 Allan McRae <allan@archlinux.org>
372
373 * manual/stdio.texi (Predefined Printf Handlers): Remove
374 @hsep and @vsep usage.
375
c9d6789e
MF
3762012-12-03 Mike Frysinger <vapier@gentoo.org>
377
378 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
379 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
380
4b7634a5
JL
3812012-12-03 Jeff Law <law@redhat.com>
382
383 * time/sys/time.h (settimeofday): Do not mark TV argument
384 as __nonnull.
385
eb6cbd24
MF
3862012-12-01 Mike Frysinger <vapier@gentoo.org>
387
388 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
389 when currently writing and seek to current position when not.
390 * libio/Makefile (tests): Remove bug-fclose1.
391 * libio/bug-fclose1.c: Delete.
392
f638872a
JM
3932012-12-01 Joseph Myers <joseph@codesourcery.com>
394
395 * manual/arith.texi (feenableexcept): Fix typo.
396 (fedisableexcept): Likewise.
397
48085d14
RM
3982012-11-30 Roland McGrath <roland@hack.frob.com>
399
400 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
401 second, differently-typed declaration, rather than a cast.
402
1a538b9f
SP
4032012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
404
405 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
406 * include/rpc/svc.h: ... here.
407
d07f2ff1 4082012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
409
410 [BZ #13013]
411 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
412 depending n and resplen2 to catch cases where answer
413 equals answerp2.
414
c93ec1f0
CD
4152012-11-29 Carlos O'Donell <carlos@systemhalted.org>
416
417 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
418 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
419
37db69de
MF
4202012-11-29 Mike Frysinger <vapier@gentoo.org>
421
422 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
423
e10c4e4f
RM
4242012-11-29 Roland McGrath <roland@hack.frob.com>
425
426 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
427
2af1b328
JL
4282012-11-28 Jeff Law <law@redhat.com>
429
430 [BZ #13761]
431 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
432 dataset_temporary. Track alloca usage into alloca_used.
433 If dataset is large allocate and release it via malloc/free.
434
111db5b1
FW
4352012-06-04 Florian Weimer <fweimer@redhat.com>
436
f06cc227 437 [BZ #14197]
111db5b1
FW
438 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
439
dd694abd
DM
4402012-11-28 David S. Miller <davem@davemloft.net>
441
442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
443
9984dd01
JM
4442012-11-28 Joseph Myers <joseph@codesourcery.com>
445
446 [BZ #14803]
447 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
448 of pi/2 rounded to nearest to 64 bits.
449 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
450 nearest to 64 bits.
451 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
452 bits.
453
14bc93a9
JL
4542012-11-28 Jeff Law <law@redhat.com>
455 Martin Osvald <mosvald@redhat.com>
456
457 [BZ #14889]
458 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
459 * sunrpc/svc.c: Include time.h.
460 (__svc_accept_failed): New function.
461 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
462 any reason other than EINTR, call __svc_accept_failed.
463 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
464 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
465
e3c6aa3a
AS
4662012-11-28 Andreas Schwab <schwab@suse.de>
467
468 * scripts/abilist.awk: Also handle indirect functions in .opd
469 section.
470
1bead169
JM
4712012-11-28 Joseph Myers <joseph@codesourcery.com>
472
473 [BZ #13881]
474 * sysdeps/x86/fpu/powl_helper.c: New file.
475 * sysdeps/x86/fpu/Makefile: Likewise.
476 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
477 (p3): New object.
478 (__ieee754_powl): Use __powl_helper for finite arguments except
479 integer exponents below 8.
480 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
481 (p3): New object.
482 (__ieee754_powl): Use __powl_helper for finite arguments except
483 integer exponents below 8.
484 * math/libm-test.inc (pow_test): Add more tests and enable some
485 previously disabled tests.
486 * sysdeps/i386/fpu/libm-test-ulps: Update.
487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
488
0817d63d
SP
4892012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
490 Carlos O'Donell <carlos_odonell@mentor.com>
491
492 * nss/makedb.c (is_prime): Assert that input is odd and greater
493 than 4. Note that fact in a comment too.
494 (next_prime): Add 4 to input.
495
de2fd463
SP
4962012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
497
498 [BZ #11741]
499 * libio/Makefile (tests): Add test case tst-fwrite-error.
500 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
501 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
502 * libio/tst-fwrite-error.c: New test case.
503
c515fb51
L
5042012-11-26 H.J. Lu <hongjiu.lu@intel.com>
505
506 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
507 before casting to void *.
508 * include/libc-internal.h (__pointer_type): New macro.
509 (__integer_if_pointer_type_sub): Likewise.
510 (__integer_if_pointer_type): Likewise.
511 (cast_to_integer): Likewise.
512 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
513 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
514 before casting to atomic64_t.
515 (atomic_exchange_acq): Likewise.
516 (__arch_exchange_and_add_body): Likewise.
517 (__arch_add_body): Likewise.
518 (atomic_add_negative): Likewise.
519 (atomic_add_zero): Likewise.
520
4cf77aa9
JM
5212012-11-26 Joseph Myers <joseph@codesourcery.com>
522
523 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
524 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
525 (add_fdes): Likewise.
526 (linear_search_fdes): Likewise.
527 (binary_search_unencoded_fdes): Likewise.
528
d260b3b4
AS
5292012-11-26 Andreas Schwab <schwab@linux-m68k.org>
530
531 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
532
67060746
AC
5332012-11-24 Adam Conrad <adconrad@0c3.net>
534
535 * configure.in: Autodetect C++ header directories.
536 * configure: Regenerated.
537
800938a1
MF
5382012-11-23 Mike Frysinger <vapier@gentoo.org>
539
540 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
541
4e6e34e6
AS
5422012-11-23 Andreas Schwab <schwab@linux-m68k.org>
543
544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
545
7c7feb47
JM
5462012-11-22 Joseph Myers <joseph@codesourcery.com>
547
7184dcdf
JM
548 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
549 LDBL_MANT_DIG == 106]: Disable some tests.
550 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
551 Likewise.
552 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
553 Likewise.
554
0a42601f
JM
555 [BZ #14871]
556 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
557 input for small inputs. Return +/- pi/2 for large inputs.
558 * math/libm-test.inc (atan_test): Add more tests.
559
79c9b9fe
JM
560 * sysdeps/generic/unwind-dw2-fde-glibc.c
561 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
562 __attribute__ ((unused)).
563
c60d3bf2
JM
564 [BZ #14645]
565 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
566 x * y if x and y are nonzero and z is zero.
567
ef1e0867
JM
568 [BZ #14811]
569 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
570 nonzero exponents with absolute value below 0x1p-117 to +/-
571 0x1p-117.
572
1468ded3
JM
573 [BZ #14869]
574 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
575 up arguments below 2**-450, not just those below 2**-500.
576 * math/libm-test.inc (hypot_test): Add another test.
577
8e27e3cc
JM
578 [BZ #14868]
579 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
580 Return a+b for ratio over 2**120, not 2**60.
581 * math/libm-test.inc (hypot_test): Add another test.
582
c9c0279b
JM
583 * math/libm-test.inc (clog_test): Use
584 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
585 (clog10_test): Likewise.
586
7c7feb47
JM
587 [BZ #6778]
588 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
589
fff1530e
AS
5902012-11-22 Andreas Schwab <schwab@suse.de>
591
592 * sysdeps/i386/fpu/libm-test-ulps: Update.
593
94558d30
PT
5942012-11-22 Pino Toscano <toscano.pino@tiscali.it>
595
596 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
597 printf output with newline.
598
7e1be741
L
5992012-11-21 H.J. Lu <hongjiu.lu@intel.com>
600
6bfea974
L
601 [BZ #14865]
602 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
603 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
604 -z nodlopen, -z initfirst and -z execstack support.
605 * configure: Regenerated.
606
7e1be741
L
607 * elf/elf.h (DF_1_NODIRECT): New macro.
608 (DF_1_IGNMULDEF): Likewise.
609 (DF_1_NOKSYMS): Likewise.
610 (DF_1_NOHDR): Likewise.
611 (DF_1_EDITED): Likewise.
612 (DF_1_NORELOC): Likewise.
613 (DF_1_SYMINTPOSE): Likewise.
614 (DF_1_GLOBAUDIT): Likewise.
615 (DF_1_SINGLETON): Likewise.
616 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
617 DT_1_SUPPORTED_MASK bits.
618 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
619
105ce2ce
CD
6202012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
621
622 * sysdeps/unix/make-syscalls.sh: Document prefixes.
623
123be9de
TS
6242012-11-20 Thomas Schwinge <thomas@codesourcery.com>
625
d072f3f7
TS
626 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
627 macro.
628
123be9de
TS
629 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
630 (sendmmsg): Move declarations...
631 * socket/sys/socket.h: ... here.
632 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
633 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
634 include it from...
635 * socket/recvmmsg.c: ... this new file.
636 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
637 (sendmmsg): Rename to __sendmmsg, create weak alias and make
638 definition of __sendmmsg hidden.
639 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
640 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
641 Move ENOSYS stub into and include it from...
642 * socket/sendmmsg.c: ... this new file.
643 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
644 (sysdep_routines): Move recvmmsg and sendmmsg...
645 * socket/Makefile (routines): ... here.
646 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
647 (GLIBC_PRIVATE): Add __sendmmsg.
648 * include/sys/socket.h (__sendmmsg): Add declarations.
649 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
650 sendmmsg.
651
cf9a5d18
JM
6522012-11-20 Joseph Myers <joseph@codesourcery.com>
653
654 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
655 variable I1 with __attribute__ ((unused)).
656 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
657
ecd4caf9
JM
6582012-11-19 Joseph Myers <joseph@codesourcery.com>
659
be14d48f
JM
660 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
661 DUMMY variables with __attribute__ ((unused)).
662
ecd4caf9
JM
663 * bits/byteswap.h: Include <bits/types.h>.
664 (__bswap_64): Use __uint64_t instead of unsigned long long int.
665
986cab95
PT
6662012-11-19 Pino Toscano <toscano.pino@tiscali.it>
667
668 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
669 string_t. Do not manually set errno.
670 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
671 length with __strnlen. Make sure to both set errno and return it on
672 failure.
673
6d33cc9d
DM
6742012-11-19 David S. Miller <davem@davemloft.net>
675
676 With help from Joseph Myers.
677 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
678 very large arguments properly.
679 * math/libm-test.inc (atan_test): New tests.
680 (atan2_test): New tests.
681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
682 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
683
ee663277
JM
6842012-11-19 Joseph Myers <joseph@codesourcery.com>
685
877f2d8e
JM
686 [BZ #14856]
687 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
688 Define to 3.
689
116fc08a
JM
690 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
691 [POSIX] (EADDRNOTAVAIL): Likewise.
692 [POSIX] (EAFNOSUPPORT): Likewise.
693 [POSIX] (EALREADY): Likewise.
694 [POSIX] (ECONNABORTED): Likewise.
695 [POSIX] (ECONNREFUSED): Likewise.
696 [POSIX] (ECONNRESET): Likewise.
697 [POSIX] (EDESTADDRREQ): Likewise.
698 [POSIX] (EDQUOT): Likewise.
699 [POSIX] (EHOSTUNREACH): Likewise.
700 [POSIX] (EIDRM): Likewise.
701 [POSIX] (EISCONN): Likewise.
702 [POSIX] (ELOOP): Likewise.
703 [POSIX] (EMULTIHOP): Likewise.
704 [POSIX] (ENETDOWN): Likewise.
705 [POSIX] (ENETUNREACH): Likewise.
706 [POSIX] (ENOBUFS): Likewise.
707 [POSIX] (ENODATA): Likewise.
708 [POSIX] (ENOLINK): Likewise.
709 [POSIX] (ENOMSG): Likewise.
710 [POSIX] (ENOPROTOOPT): Likewise.
711 [POSIX] (ENOSR): Likewise.
712 [POSIX] (ENOSTR): Likewise.
713 [POSIX] (ENOTCONN): Likewise.
714 [POSIX] (ENOTSOCK): Likewise.
715 [POSIX] (EOPNOTSUPP): Likewise.
716 [POSIX] (EOVERFLOW): Likewise.
717 [POSIX] (EPROTO): Likewise.
718 [POSIX] (EPROTONOSUPPORT): Likewise.
719 [POSIX] (EPROTOTYPE): Likewise.
720 [POSIX] (ESTALE): Likewise.
721 [POSIX] (ETIME): Likewise.
722 [POSIX] (ETXTBSY): Likewise.
723 [POSIX] (EWOULDBLOCK): Likewise.
724 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
725 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
726 [POSIX] (SEEK_CUR): Likewise.
727 [POSIX] (SEEK_END): Likewise.
728 [POSIX || UNIX98] (mode_t): Do not require.
729 [POSIX] (off_t): Likewise.
730 [POSIX] (pid_t): Likewise.
731 [POSIX] (sys/stat.h): Do not allow header.
732 [POSIX] (unistd.h): Likewise.
733 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
734 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
735 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
736 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
737 require.
738 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
739 sigevent): Specify elements.
740 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
741 entry.
742 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
743 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
744
a483863f
JM
745 * conform/data/cpio.h-data [POSIX]: Disable whole file.
746 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
747 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
748 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
749 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
750 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
751 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
752 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
753 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
754 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
755 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
756 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
757 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
758 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
759 Likewise.
760 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
761 Likewise.
762 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
763 Likewise.
764 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
765 Likewise.
766 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
767 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
768 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
769 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
770 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
771 Specify lower bound on value.
772 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
773 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
774 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
775 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
776 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
777 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
778 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
779 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
780 value.
781 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
782 as optional.
783 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
784 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
785 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
786 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
787 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
788 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
789 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
790 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
791 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
792 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
793 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
794 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
795 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
796 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
797 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
798 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
799 entry.
800 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
801 optional.
802 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
803 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
804 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
805 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
806 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
807 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
808 Likewise.
809 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
810 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
811 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
812 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
813 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
814 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
815 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
816 as optional.
817 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
818 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
819 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
820 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
821 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
822 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
823 specify as optional.
824 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
825 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
826 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
827 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
828 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
829 [XPG3] (NL_LANGMAX): Likewise.
830 [POSIX || XPG3] (NL_MSGMAX): Likewise.
831 [POSIX || XPG3] (NL_NMAX): Likewise.
832 [POSIX || XPG3] (NL_SETMAX): Likewise.
833 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
834 [XPG3] (NZERO): Likewise.
835 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
836 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
837 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
838 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
839 (REG_ERANGE): Expect.
840 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
841 optional-constant.
842 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
843 Use (void) in prototype.
844 [POSIX] (*_t): Allow.
845 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
846 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
847 (WRDE_BADVAL): Expect.
848
5ba924e3
JM
849 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
850 expect.
851 [XPG3 || XPG4] (O_RSYNC): Likewise.
852 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
853 Likewise.
854 [XPG3 || XPG4] (pthread_sigmask): Likewise.
855 [XPG3 || XPG4] (sigqueue): Likewise.
856 [XPG3 || XPG4] (sigtimedwait): Likewise.
857 [XPG3 || XPG4] (sigwaitinfo): Likewise.
858 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
859 [XPG3 || XPG4] (vsnprintf): Likewise.
860 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
861 Likewise.
862 [XPG3 || XPG4] (blksize_t): Likewise.
863 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
864 Likewise.
865 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
866 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
867 [XPG3 || XPG4] (struct itimerspec): Likewise.
868 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
869 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
870 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
871 [XPG3 || XPG4] (clockid_t): Likewise.
872 [XPG3 || XPG4] (timer_t): Likewise.
873 [XPG3 || XPG4] (clock_getres): Likewise.
874 [XPG3 || XPG4] (clock_gettime): Likewise.
875 [XPG3 || XPG4] (clock_settime): Likewise.
876 [XPG3 || XPG4] (nanosleep): Likewise.
877 [XPG3 || XPG4] (timer_create): Likewise.
878 [XPG3 || XPG4] (timer_delete): Likewise.
879 [XPG3 || XPG4] (timer_gettime): Likewise.
880 [XPG3 || XPG4] (timer_getoverrun): Likewise.
881 [XPG3 || XPG4] (timer_settime): Likewise.
882 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
883 [XPG3 || XPG4] (getlogin_r): Likewise.
884 [XPG3 || XPG4] (pread): Likewise.
885 [XPG3 || XPG4] (pthread_atfork): Likewise.
886 [XPG3 || XPG4] (pwrite): Likewise.
887
ee663277
JM
888 [BZ #14835]
889 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
890 <bits/siginfo.h>.
891
942caa16
PT
8922012-11-19 Pino Toscano <toscano.pino@tiscali.it>
893
e19af380
PT
894 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
895 finalizing MALLSTREAM.
896
942caa16
PT
897 * sysdeps/mach/hurd/syncfs.c: New file.
898
cfde9b46
SP
8992012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
900
901 [BZ #14719]
902 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
903 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
904 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
905 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
906 (_nss_dns_gethostbyname4_r): Likewise.
907 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
908 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
909
f6da27e5
PH
9102012-11-19 Peng Haitao <penght@cn.fujitsu.com>
911
912 [BZ #13763]
913 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
914
6665d4a2
SM
9152012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
916
1f51ee92
SM
917 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
918 * elf/cache.c (print_entry): Print ",AArch64" for
919 FLAG_AARCH64_LIB64
920
6665d4a2
SM
921 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
922 * elf/cache.c (print_entry): Print ",hard-float" for
923 FLAG_ARM_LIBHF.
924
05b227bd
DM
9252012-11-18 David S. Miller <davem@davemloft.net>
926
927 With help from Joseph Myers.
928 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
929 cutoff to 2**-13.
930 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
931 cutoff to 2**-25.
932 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
933 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
934 small.
935 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
936 * math/libm-test.inc (y0_test): New tests.
937 (y1_test): New tests.
938 * sysdeps/i386/fpu/libm-test-ulps: Update.
939 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
941
786b0b67
AS
9422012-11-18 Andreas Schwab <schwab@linux-m68k.org>
943
944 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
945 64-bit targets.
946 * configure: Regenerated.
947
8e18b86d
DM
9482012-11-17 David S. Miller <davem@davemloft.net>
949
950 [BZ #14811]
951 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
952 nonzero exponents with absolute value below 0x1p-128 to +/-
953 0x1p-128.
954
531f1ae0
JM
9552012-11-17 Joseph Myers <joseph@codesourcery.com>
956
12df29e2
JM
957 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
958
150dc1a0
JM
959 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
960
531f1ae0
JM
961 * posix/getconf-speclist.c: New file.
962 * posix/posix-envs.def: Likewise.
963 * posix/confstr.c (START_ENV_GROUP): New macro.
964 (END_ENV_GROUP): Likewise.
965 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
966 (KNOWN_PRESENT_ENV_STRING): Likewise.
967 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
968 (UNKNOWN_ENVIRONMENT): Likewise.
969 (confstr): Include posix-envs.def instead of handling
970 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
971 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
972 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
973 (END_ENV_GROUP): Likewise.
974 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
975 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
976 (UNKNOWN_ENVIRONMENT): Likewise.
977 (__sysconf): Include posix-envs.def instead of handling associated
978 cases directly here.
979 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
980 preprocessing getconf-speclist.c rather than running getconf or
981 generating empty file.
982
a93f9cbc
PT
9832012-11-16 Pino Toscano <toscano.pino@tiscali.it>
984
985 * scripts/check-local-headers.sh: Ignore 'mach' headers.
986
d64d9f87
AL
9872012-11-16 Andrej Lajovic <natrij@gmail.com>
988
989 [BZ #14672]
990 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
991
447885eb
DM
9922012-11-16 David S. Miller <davem@davemloft.net>
993
994 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
995 smaller than LDBL_EPSILON/2.0L, just return xm1.
996
bcbf9830
L
9972012-11-16 H.J. Lu <hongjiu.lu@intel.com>
998
999 * elf/tst-array1.c (init): Set constructor priority to 1000.
1000 (fini): Set destructor priority to 1000.
1001 * elf/tst-array2dep.c: Likewise.
1002
2b766585
SP
10032012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1004
1005 [BZ #11741]
1006 * libio/fileops.c (_IO_new_file_write): Correctly return error.
1007 (_IO_new_file_xsputn): Also return EOF if none of the input
1008 data was written when overflow failed.
1009 * libio/iopadn.c (_IO_padn): Likewise.
1010 * libio/iowpadn.c (_IO_wpadn): Likewise.
1011 * stdio-common/tst-put-error.c: Add copyright notice.
1012 (do_test): Add case for printing padded string.
1013 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1014 _IO_padn returned error.
1015 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1016 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1017 return EOF.
1018
b1848fde
SP
10192012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1020
1021 * libio/libioP.h: Add comment note that the references to C++
1022 bits are now obsolete.
1023
2fd89785
MS
10242012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1025
1026 * math/libm-test.inc (check_complex): Use asprintf.
1027
e3ea5409
JM
10282012-11-14 Joseph Myers <joseph@codesourcery.com>
1029
1030 * debug/pcprofiledump.c (print_version): Update copyright year.
1031 * malloc/memusagestat.c (print_version): Likewise.
1032
2e64d265
L
10332012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1034
1035 [BZ #14831]
1036 * elf/Makefile (tests): Add tst-audit8.
1037 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1038 ($(objpfx)tst-audit8.out): New target.
1039 (tst-audit8-ENV): New variable.
1040 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1041 audit if l_reloc_result is NULL.
1042 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1043 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1044 * elf/tst-audit8.c: New file.
1045
c485e4d2
MS
10462012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1047
1048 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1049 * misc/Makefile (CFLAGS-select.c): Define.
1050 * posix/Makefile (CFLAGS-pause.c): Define.
1051
3a0d900a
DM
10522012-11-13 David S. Miller <davem@davemloft.net>
1053
1054 * crypt/Makefile: Move test targets after toplevel Rules
1055 inclusion. Grab any necessary sysdep routines when linking.
1056 * crypt/md5.c (md5_process_block): Remove define, we will always
1057 name it __md5_process_block.
1058 (md5_finish_ctx): Update md5_process_block call.
1059 (md5_stream): Likewise.
1060 (md5_process_bytes): Likewise.
1061 (md5_process_block): Rename to __md5_process_block and move to ...
1062 * crypt/md5-block.c: ... here.
1063 * crypt/sha256.c (sha256_process_block): Move to ...
1064 * crypt/sha256-block.c: ... here.
1065 * crypt/sha512.c (sha512_process_block): Move to ...
1066 * crypt/sha512-block.c: ... here.
1067 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1068 path.
1069 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1070 * sysdeps/sparc/sparc64/multiarch/Makefile
1071 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1072 crypt subdir.
1073 (localedef-aux): Add md5 crypto assembler when in locale subdir.
1074 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1075 multiarch changes.
1076 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1077 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1078 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1079 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1080 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1081 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1082 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1083 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1084 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1085 file.
1086 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1087 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1088 file.
1089 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1090
8ca89318
JM
10912012-11-13 Joseph Myers <joseph@codesourcery.com>
1092
e27d476a
JM
1093 * timezone/tzselect.ksh: Update from tzcode git revision
1094 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1095 * timezone/zdump.c: Likewise.
1096 * timezone/zic.c: Likewise.
1097 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1098 in TZVERSION setting, not $(PKGVERSION).
1099 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
1100 REPORT_BUGS_TO settings.
1101
8ca89318
JM
1102 [BZ #14838]
1103 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1104 macro.
1105
47594329
MS
11062012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1107
1108 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1109 detection to immediately after _FP_ROUND().
1110 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1111 bits are 0.
1112
640ac3f1
DM
11132012-11-11 David S. Miller <davem@davemloft.net>
1114
1115 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1116 inttypes.h
1117 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1118 __close rather than their public counterparts.
1119
3d2577bb
JM
11202012-11-10 Joseph Myers <joseph@codesourcery.com>
1121
1122 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1123 file.
1124 [UNIX98] (sem_timedwait): Do not expect.
1125 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1126 [XPG4 || UNIX98] (sockatmark): Do not expect.
1127 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1128 (clock_getcpuclockid): Do not expect.
1129 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1130 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1131 Do not expect.
1132 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1133 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1134 [UNIX98] (vwscanf): Likewise.
1135 [UNIX98] (vswscanf): Likewise.
1136
fb1ae1ee
JM
11372012-11-09 Joseph Myers <joseph@codesourcery.com>
1138
9ec6f8bd
JM
1139 * timezone/version.h: Remove file.
1140 * timezone/README: Do not refer to version.h.
1141 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1142 $(objpfx)version.h.
1143 ($(objpfx)zdump.o): Likewise.
c3f81911 1144 ($(objpfx)version.h): New target.
9ec6f8bd 1145
0aa8f8a1
JM
1146 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1147 2012i.
1148 * timezone/README: Don't mention modification to tzselect.ksh.
1149 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1150 work on unmodified tzselect.ksh. Substitute version numbers in
1151 tzselect.ksh.
1152
4e87147f
JM
1153 * Makefile (format-me): Remove.
1154 (INSTALL): Adjust indentation. Use commands directly instead of
1155 using $(format-me).
1156
8b748aed
JM
1157 * aclocal.m4 (ACX_PKGVERSION): New macro.
1158 (ACX_BUGURL): Likewise.
1159 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1160 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1161 (REPORT_BUGS_TO): Likewise.
1162 * configure: Regenerated.
1163 * config.h.in (PKGVERSION): New macro.
1164 (REPORT_BUGS_TO): Likewise.
1165 * config.make.in (PKGVERSION): New variable.
1166 (PKGVERSION_TEXI): Likewise.
1167 (REPORT_BUGS_TO): Likewise.
1168 (REPORT_BUGS_TEXI): Likewise.
1169 * Makefile (format-me): Use -I$(common-objpfx)manual.
1170 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1171 ($(common-objpfx)manual/%): New target.
1172 (manual/%): Remove target.
1173 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1174 (print_version): Use PKGVERSION.
1175 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1176 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1177 and REPORT_BUGS_TO.
1178 ($(objpfx)xtrace): Likewise.
1179 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1180 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1181 (print_version): Use PKGVERSION.
1182 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1183 (do_version): Use PKGVERSION.
1184 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1185 REPORT_BUGS_TO.
1186 (common-ldd-rewrite): Likewise.
1187 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1188 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1189 (print_version): Use PKGVERSION.
1190 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1191 * elf/pldd.c (argp_program_bug_address): Remove variable.
1192 (more_help): New function.
1193 (argp): Use more_help.
1194 (print_version): Use PKGVERSION.
1195 * elf/sln.c (main): Use PKGVERSION.
1196 (usage): Use REPORT_BUGS_TO.
1197 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1198 (top level): Use PKGVERSION.
1199 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1200 (print_version): Use PKGVERSION.
1201 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1202 (print_version): Use PKGVERSION.
1203 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1204 (print_version): Use PKGVERSION.
1205 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1206 (print_version): Use PKGVERSION.
1207 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1208 (print_version): Use PKGVERSION.
1209 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1210 (print_version): Use PKGVERSION.
1211 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1212 and BUGURL.
1213 ($(objpfx)memusage): Likewise.
1214 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1215 (do_version): Use PKGVERSION.
1216 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1217 (print_version): Use PKGVERSION.
1218 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1219 ($PKGVERSION): New variable.
1220 ($REPORT_BUGS_TO): Likewise.
1221 (usage): Use $REPORT_BUGS_TO.
1222 (top level): Use $PKGVERSION.
1223 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1224 ($(objpfx)pkgvers.texi): New rule.
1225 ($(objpfx)stamp-pkgvers): Likewise.
1226 * manual/install.texi: Include pkgvers.texi.
1227 (--with-pkgversion): Document new configure option.
1228 (--with-bugurl): Likewise.
1229 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1230 than necessarily for this particular distribution. Use
1231 REPORT_BUGS_TO for where to report bugs.
1232 * INSTALL: Regenerated.
1233 * manual/libc.texinfo: Include pkgvers.texi.
1234 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1235 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1236 (print_version): Use PKGVERSION.
1237 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1238 (print_version): Use PKGVERSION.
1239 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1240 (print_version): Use PKGVERSION.
1241 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1242 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1243 macro.
1244 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1245 (print_version): Use PKGVERSION.
1246 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1247 (print_version): Use PKGVERSION.
1248 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1249 and PKGVERSION.
1250
92e4b6a9
JM
1251 * timezone/checktab.awk: Update from tzcode 2012i.
1252 * timezone/ialloc.c: Likewise.
1253 * timezone/private.h: Likewise.
1254 * timezone/scheck.c: Likewise.
1255 * timezone/tzfile.h: Likewise.
1256 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1257 (TZVERSION): Hardcode tzcode version number.
1258 * timezone/zdump.c: Update from tzcode 2012i.
1259 * timezone/zic.c: Likewise.
1260 * timezone/version.h: New file.
1261 * timezone/README: Describe version.h. Update upstream location.
1262
9bde902c
JM
1263 [BZ #14824]
1264 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1265 (mktemp): Enable declaration.
1266 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1267 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1268 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1269 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1270 Likewise.
1271 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1272 Likewise.
1273 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1274 Likewise.
1275 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1276 Likewise.
1277 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1278 Likewise.
1279 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1280 Likewise.
1281
fb1ae1ee
JM
1282 [BZ #14821]
1283 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1284 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1285 for copies of such integer values.
1286 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1287 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1288
2c1adbcb
AJ
12892012-11-09 Andreas Jaeger <aj@suse.de>
1290
1291 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1292 definitions and declarations that are provided by
1293 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1294
d0f8457e
AK
12952012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1296
1297 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1298 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1299 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1300 definition.
1301
57241e26
MS
13022012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1303
1304 * elf/elf.h: Update comment before AArch64 relocations.
1305
60e8270d
DM
13062012-11-07 David S. Miller <davem@davemloft.net>
1307
1308 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1309 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1310 (__start_context): Declare.
1311 (__makecontext_ret): Delete.
1312 (__makecontext): Hook up __start_context instead of
1313 __makecontext_ret.
1314 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1315 (sysdep_routines): Add __start_context when in stdlib.
1316
0fbb0fbc
JM
13172012-11-07 Joseph Myers <joseph@codesourcery.com>
1318
1319 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1320 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1321 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1322 hardcoded "nm".
1323 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1324 (READELF): New variable. Use it instead of hardcoded "readelf".
1325
eb48db7e
L
13262012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1327
1328 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1329 * sysdeps/x86/Makefile: Here.
1330 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1331 * sysdeps/x86/tst-xmmymm.sh: This.
1332
05bcf62a
JM
13332012-11-07 Joseph Myers <joseph@codesourcery.com>
1334
c4b6cf53
JM
1335 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1336 expectations.
1337 [UNIX98] (pthread_barrier_t): Do not expect.
1338 [UNIX98] (pthread_barrierattr_t): Likewise.
1339 [UNIX98] (pthread_spinlock_t): Likewise.
1340 [UNIX98] (pthread_barrier_destroy): Likewise.
1341 [UNIX98] (pthread_barrier_init): Likewise.
1342 [UNIX98] (pthread_barrier_wait): Likewise.
1343 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1344 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1345 [UNIX98] (pthread_barrierattr_init): Likewise.
1346 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1347 [UNIX98] (pthread_getcpuclockid): Likewise.
1348 [UNIX98] (pthread_mutex_timedlock): Likewise.
1349 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1350 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1351 [UNIX98] (pthread_sigmask): Likewise.
1352 [UNIX98] (pthread_spin_destroy): Likewise.
1353 [UNIX98] (pthread_spin_init): Likewise.
1354 [UNIX98] (pthread_spin_lock): Likewise.
1355 [UNIX98] (pthread_spin_trylock): Likewise.
1356 [UNIX98] (pthread_spin_unlock): Likewise.
1357 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1358 Do not expect.
1359 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1360 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1361 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1362 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1363 [XPG3 || XPG4] (pthread_key_t): Likewise.
1364 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1365 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1366 [XPG3 || XPG4] (pthread_once_t): Likewise.
1367 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1368 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1369 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1370 [XPG3 || XPG4] (pthread_t): Likewise.
1371
cbe6e120
JM
1372 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1373 not expect.
1374 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1375
1b126443
JM
1376 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1377 Change function return type to int.
1378
b961a573
JM
1379 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1380 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1381 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1382 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1383 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1384 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1385 [!POSIX] (posix_madvise): Likewise.
1386 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1387 && !UNIX98].
1388 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1389 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1390 (mode_t): Likewise.
1391 (posix_mem_offset): Likewise.
1392 (posix_typed_mem_get_info): Likewise.
1393 (posix_typed_mem_open): Likewise.
1394
9e188909
JM
1395 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1396 Change condition to [XOPEN2K8].
1397
05bcf62a
JM
1398 * conform/conformtest.pl: Preprocess allow-header data with -x c
1399 instead of from stdin.
1400 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1401 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1402 [C99-based standards] (cerfc): Likewise.
1403 [C99-based standards] (cexp2): Likewise.
1404 [C99-based standards] (cexpm1): Likewise.
1405 [C99-based standards] (clog10): Likewise.
1406 [C99-based standards] (clog1p): Likewise.
1407 [C99-based standards] (clog2): Likewise.
1408 [C99-based standards] (clgamma): Likewise.
1409 [C99-based standards] (ctgamma): Likewise.
1410 [C99-based standards] (cerff): Likewise.
1411 [C99-based standards] (cerfcf): Likewise.
1412 [C99-based standards] (cexp2f): Likewise.
1413 [C99-based standards] (cexpm1f): Likewise.
1414 [C99-based standards] (clog10f): Likewise.
1415 [C99-based standards] (clog1pf): Likewise.
1416 [C99-based standards] (clog2f): Likewise.
1417 [C99-based standards] (clgammaf): Likewise.
1418 [C99-based standards] (ctgammaf): Likewise.
1419 [C99-based standards] (cerfl): Likewise.
1420 [C99-based standards] (cerfcl): Likewise.
1421 [C99-based standards] (cexp2l): Likewise.
1422 [C99-based standards] (cexpm1l): Likewise.
1423 [C99-based standards] (clog10l): Likewise.
1424 [C99-based standards] (clog1pl): Likewise.
1425 [C99-based standards] (clog2l): Likewise.
1426 [C99-based standards] (clgammal): Likewise.
1427 [C99-based standards] (ctgammal): Likewise.
1428 * conform/data/inttypes.h-data [C99-based standards]: Include
1429 stdint.h-data. Remove all expectations for stdint.h contents.
1430 [C99-based standards] (PRI*): Do not allow.
1431 [C99-based standards] (SCN*): Likewise.
1432 [C99-based standards] (*_t): Likewise.
1433 [C99-based-standards] (PRId8): Expect macro.
1434 [C99-based-standards] (PRIi8): Likewise.
1435 [C99-based-standards] (PRIo8): Likewise.
1436 [C99-based-standards] (PRIu8): Likewise.
1437 [C99-based-standards] (PRIx8): Likewise.
1438 [C99-based-standards] (PRIX8): Likewise.
1439 [C99-based-standards] (SCNd8): Likewise.
1440 [C99-based-standards] (SCNi8): Likewise.
1441 [C99-based-standards] (SCNo8): Likewise.
1442 [C99-based-standards] (SCNu8): Likewise.
1443 [C99-based-standards] (SCNx8): Likewise.
1444 [C99-based-standards] (PRIdLEAST8): Likewise.
1445 [C99-based-standards] (PRIiLEAST8): Likewise.
1446 [C99-based-standards] (PRIoLEAST8): Likewise.
1447 [C99-based-standards] (PRIuLEAST8): Likewise.
1448 [C99-based-standards] (PRIxLEAST8): Likewise.
1449 [C99-based-standards] (PRIXLEAST8): Likewise.
1450 [C99-based-standards] (SCNdLEAST8): Likewise.
1451 [C99-based-standards] (SCNiLEAST8): Likewise.
1452 [C99-based-standards] (SCNoLEAST8): Likewise.
1453 [C99-based-standards] (SCNuLEAST8): Likewise.
1454 [C99-based-standards] (SCNxLEAST8): Likewise.
1455 [C99-based-standards] (PRIdFAST8): Likewise.
1456 [C99-based-standards] (PRIiFAST8): Likewise.
1457 [C99-based-standards] (PRIoFAST8): Likewise.
1458 [C99-based-standards] (PRIuFAST8): Likewise.
1459 [C99-based-standards] (PRIxFAST8): Likewise.
1460 [C99-based-standards] (PRIXFAST8): Likewise.
1461 [C99-based-standards] (SCNdFAST8): Likewise.
1462 [C99-based-standards] (SCNiFAST8): Likewise.
1463 [C99-based-standards] (SCNoFAST8): Likewise.
1464 [C99-based-standards] (SCNuFAST8): Likewise.
1465 [C99-based-standards] (SCNxFAST8): Likewise.
1466 [C99-based-standards] (PRId16): Likewise.
1467 [C99-based-standards] (PRIi16): Likewise.
1468 [C99-based-standards] (PRIo16): Likewise.
1469 [C99-based-standards] (PRIu16): Likewise.
1470 [C99-based-standards] (PRIx16): Likewise.
1471 [C99-based-standards] (PRIX16): Likewise.
1472 [C99-based-standards] (SCNd16): Likewise.
1473 [C99-based-standards] (SCNi16): Likewise.
1474 [C99-based-standards] (SCNo16): Likewise.
1475 [C99-based-standards] (SCNu16): Likewise.
1476 [C99-based-standards] (SCNx16): Likewise.
1477 [C99-based-standards] (PRIdLEAST16): Likewise.
1478 [C99-based-standards] (PRIiLEAST16): Likewise.
1479 [C99-based-standards] (PRIoLEAST16): Likewise.
1480 [C99-based-standards] (PRIuLEAST16): Likewise.
1481 [C99-based-standards] (PRIxLEAST16): Likewise.
1482 [C99-based-standards] (PRIXLEAST16): Likewise.
1483 [C99-based-standards] (SCNdLEAST16): Likewise.
1484 [C99-based-standards] (SCNiLEAST16): Likewise.
1485 [C99-based-standards] (SCNoLEAST16): Likewise.
1486 [C99-based-standards] (SCNuLEAST16): Likewise.
1487 [C99-based-standards] (SCNxLEAST16): Likewise.
1488 [C99-based-standards] (PRIdFAST16): Likewise.
1489 [C99-based-standards] (PRIiFAST16): Likewise.
1490 [C99-based-standards] (PRIoFAST16): Likewise.
1491 [C99-based-standards] (PRIuFAST16): Likewise.
1492 [C99-based-standards] (PRIxFAST16): Likewise.
1493 [C99-based-standards] (PRIXFAST16): Likewise.
1494 [C99-based-standards] (SCNdFAST16): Likewise.
1495 [C99-based-standards] (SCNiFAST16): Likewise.
1496 [C99-based-standards] (SCNoFAST16): Likewise.
1497 [C99-based-standards] (SCNuFAST16): Likewise.
1498 [C99-based-standards] (SCNxFAST16): Likewise.
1499 [C99-based-standards] (PRId32): Likewise.
1500 [C99-based-standards] (PRIi32): Likewise.
1501 [C99-based-standards] (PRIo32): Likewise.
1502 [C99-based-standards] (PRIu32): Likewise.
1503 [C99-based-standards] (PRIx32): Likewise.
1504 [C99-based-standards] (PRIX32): Likewise.
1505 [C99-based-standards] (SCNd32): Likewise.
1506 [C99-based-standards] (SCNi32): Likewise.
1507 [C99-based-standards] (SCNo32): Likewise.
1508 [C99-based-standards] (SCNu32): Likewise.
1509 [C99-based-standards] (SCNx32): Likewise.
1510 [C99-based-standards] (PRIdLEAST32): Likewise.
1511 [C99-based-standards] (PRIiLEAST32): Likewise.
1512 [C99-based-standards] (PRIoLEAST32): Likewise.
1513 [C99-based-standards] (PRIuLEAST32): Likewise.
1514 [C99-based-standards] (PRIxLEAST32): Likewise.
1515 [C99-based-standards] (PRIXLEAST32): Likewise.
1516 [C99-based-standards] (SCNdLEAST32): Likewise.
1517 [C99-based-standards] (SCNiLEAST32): Likewise.
1518 [C99-based-standards] (SCNoLEAST32): Likewise.
1519 [C99-based-standards] (SCNuLEAST32): Likewise.
1520 [C99-based-standards] (SCNxLEAST32): Likewise.
1521 [C99-based-standards] (PRIdFAST32): Likewise.
1522 [C99-based-standards] (PRIiFAST32): Likewise.
1523 [C99-based-standards] (PRIoFAST32): Likewise.
1524 [C99-based-standards] (PRIuFAST32): Likewise.
1525 [C99-based-standards] (PRIxFAST32): Likewise.
1526 [C99-based-standards] (PRIXFAST32): Likewise.
1527 [C99-based-standards] (SCNdFAST32): Likewise.
1528 [C99-based-standards] (SCNiFAST32): Likewise.
1529 [C99-based-standards] (SCNoFAST32): Likewise.
1530 [C99-based-standards] (SCNuFAST32): Likewise.
1531 [C99-based-standards] (SCNxFAST32): Likewise.
1532 [C99-based-standards] (PRId64): Likewise.
1533 [C99-based-standards] (PRIi64): Likewise.
1534 [C99-based-standards] (PRIo64): Likewise.
1535 [C99-based-standards] (PRIu64): Likewise.
1536 [C99-based-standards] (PRIx64): Likewise.
1537 [C99-based-standards] (PRIX64): Likewise.
1538 [C99-based-standards] (SCNd64): Likewise.
1539 [C99-based-standards] (SCNi64): Likewise.
1540 [C99-based-standards] (SCNo64): Likewise.
1541 [C99-based-standards] (SCNu64): Likewise.
1542 [C99-based-standards] (SCNx64): Likewise.
1543 [C99-based-standards] (PRIdLEAST64): Likewise.
1544 [C99-based-standards] (PRIiLEAST64): Likewise.
1545 [C99-based-standards] (PRIoLEAST64): Likewise.
1546 [C99-based-standards] (PRIuLEAST64): Likewise.
1547 [C99-based-standards] (PRIxLEAST64): Likewise.
1548 [C99-based-standards] (PRIXLEAST64): Likewise.
1549 [C99-based-standards] (SCNdLEAST64): Likewise.
1550 [C99-based-standards] (SCNiLEAST64): Likewise.
1551 [C99-based-standards] (SCNoLEAST64): Likewise.
1552 [C99-based-standards] (SCNuLEAST64): Likewise.
1553 [C99-based-standards] (SCNxLEAST64): Likewise.
1554 [C99-based-standards] (PRIdFAST64): Likewise.
1555 [C99-based-standards] (PRIiFAST64): Likewise.
1556 [C99-based-standards] (PRIoFAST64): Likewise.
1557 [C99-based-standards] (PRIuFAST64): Likewise.
1558 [C99-based-standards] (PRIxFAST64): Likewise.
1559 [C99-based-standards] (PRIXFAST64): Likewise.
1560 [C99-based-standards] (SCNdFAST64): Likewise.
1561 [C99-based-standards] (SCNiFAST64): Likewise.
1562 [C99-based-standards] (SCNoFAST64): Likewise.
1563 [C99-based-standards] (SCNuFAST64): Likewise.
1564 [C99-based-standards] (SCNxFAST64): Likewise.
1565 [C99-based-standards] (PRIdMAX): Likewise.
1566 [C99-based-standards] (PRIiMAX): Likewise.
1567 [C99-based-standards] (PRIoMAX): Likewise.
1568 [C99-based-standards] (PRIuMAX): Likewise.
1569 [C99-based-standards] (PRIxMAX): Likewise.
1570 [C99-based-standards] (PRIXMAX): Likewise.
1571 [C99-based-standards] (SCNdMAX): Likewise.
1572 [C99-based-standards] (SCNiMAX): Likewise.
1573 [C99-based-standards] (SCNoMAX): Likewise.
1574 [C99-based-standards] (SCNuMAX): Likewise.
1575 [C99-based-standards] (SCNxMAX): Likewise.
1576 [C99-based-standards] (PRIdPTR): Likewise.
1577 [C99-based-standards] (PRIiPTR): Likewise.
1578 [C99-based-standards] (PRIoPTR): Likewise.
1579 [C99-based-standards] (PRIuPTR): Likewise.
1580 [C99-based-standards] (PRIxPTR): Likewise.
1581 [C99-based-standards] (PRIXPTR): Likewise.
1582 [C99-based-standards] (SCNdPTR): Likewise.
1583 [C99-based-standards] (SCNiPTR): Likewise.
1584 [C99-based-standards] (SCNoPTR): Likewise.
1585 [C99-based-standards] (SCNuPTR): Likewise.
1586 [C99-based-standards] (SCNxPTR): Likewise.
1587 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1588 allow.
1589 * conform/data/stdint.h-data: Update comments to clarify
1590 requirements.
1591 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1592 type.
1593 [C99-based standards] (INT8_MAX): Likewise.
1594 [C99-based standards] (INT16_MIN): Likewise.
1595 [C99-based standards] (INT16_MAX): Likewise.
1596 [C99-based standards] (INT32_MIN): Likewise.
1597 [C99-based standards] (INT32_MAX): Likewise.
1598 [C99-based standards] (INT64_MIN): Likewise.
1599 [C99-based standards] (INT64_MAX): Likewise.
1600 [C99-based standards] (UINT8_MAX): Likewise.
1601 [C99-based standards] (UINT16_MAX): Likewise.
1602 [C99-based standards] (UINT32_MAX): Likewise.
1603 [C99-based standards] (UINT64_MAX): Likewise.
1604 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1605 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1606 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1607 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1608 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1609 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1610 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1611 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1612 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1613 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1614 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1615 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1616 [C99-based standards] (INT_FAST8_MIN): Likewise.
1617 [C99-based standards] (INT_FAST8_MAX): Likewise.
1618 [C99-based standards] (INT_FAST16_MIN): Likewise.
1619 [C99-based standards] (INT_FAST16_MAX): Likewise.
1620 [C99-based standards] (INT_FAST32_MIN): Likewise.
1621 [C99-based standards] (INT_FAST32_MAX): Likewise.
1622 [C99-based standards] (INT_FAST64_MIN): Likewise.
1623 [C99-based standards] (INT_FAST64_MAX): Likewise.
1624 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1625 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1626 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1627 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1628 [C99-based standards] (INTPTR_MIN): Likewise.
1629 [C99-based standards] (INTPTR_MAX): Likewise.
1630 [C99-based standards] (UINTPTR_MAX): Likewise.
1631 [C99-based standards] (INTMAX_MIN): Likewise.
1632 [C99-based standards] (INTMAX_MAX): Likewise.
1633 [C99-based standards] (UINTMAX_MAX): Likewise.
1634 [C99-based standards] (PTRDIFF_MIN): Likewise.
1635 [C99-based standards] (PTRDIFF_MAX): Likewise.
1636 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1637 [C99-based standards] (SIZE_MAX): Likewise.
1638 [C99-based standards] (WCHAR_MAX): Likewise.
1639 [C99-based standards] (WINT_MAX): Likewise.
1640 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1641 constraint on value.
1642 [C99-based standards] (WCHAR_MIN): Likewise.
1643 [C99-based standards] (WINT_MIN): Likewise.
1644 [C99-based standards] (*_t): Allow.
1645 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1646 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1647 Include math.h-data and complex.h-data. Remove all expectations
1648 of math.h and complex.h contents.
1649 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1650 at end of line.
1651 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1652 (struct tm): Expect tag.
1653 [C99-based-standards] (wcstof): Expect function.
1654 [C99-based-standards] (wcstold): Likewise.
1655 [C99-based-standards] (wcstoll): Likewise.
1656 [C99-based-standards] (wcstoull): Likewise.
1657 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1658 macro-int-constant. Specify type.
1659 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1660 constraint on value.
1661 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1662 Specify type.
1663 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1664 Specify value.
1665 [ISO C standards]: Do not allow headers.
1666 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1667 wcs[abcdefghijklmnopqrstuvwxyz]*.
1668 [ISO C standards] (*_t): Do not allow.
1669 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1670 Expect function.
1671 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1672 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1673 Specify type.
1674 [ISO C standards]: Do not allow headers.
1675 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1676 is[abcdefghijklmnopqrstuvwxyz]*.
1677 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1678 to[abcdefghijklmnopqrstuvwxyz]*.
1679 [ISO C standards] (*_t): Do not allow.
1680 * conform/data/stdalign.h-data: New file.
1681 * conform/data/stdbool.h-data: Likewise.
1682 * conform/data/stdnoreturn.h-data: Likewise.
1683
7514feb8
RM
16842012-11-07 Roland McGrath <roland@hack.frob.com>
1685
1686 [BZ #14815]
1687 * manual/filesys.texi (Directory Entries): Typo fix.
1688 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1689
19b2ecfc
MS
16902012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1691
1692 * elf/elf.h (EM_AARCH64): New macro.
1693 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1694 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1695 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1696 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1697 (R_AARCH64_TLSDESC): Likewise.
1698 (NT_ARM_TLS): Likewise.
1699 (NT_ARM_HW_BREAK): Likewise.
1700 (NT_ARM_HW_WATCH): Likewise.
1701
60e235ee
JM
17022012-11-07 Joseph Myers <joseph@codesourcery.com>
1703
1704 [BZ #14811]
1705 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1706 (__ieee754_powl): Saturate nonzero exponents with absolute value
1707 below 0x1p-79 to +/- 0x1p-79.
1708 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1709 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1710 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1711 nonzero exponents with absolute value below 0x1p-32 to +/-
1712 0x1p-32.
1713 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1714 (__ieee754_powl): Saturate nonzero exponents with absolute value
1715 below 0x1p-79 to +/- 0x1p-79.
1716 * math/libm-test.inc (pow_test): Add more tests.
1717
0ab234b7
AK
17182012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1719
1720 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1721 _dl_s390_cap_flags with kernel. Increase string length.
1722 (_dl_s390_platforms): Add z196 and zEC12.
1723
45832f74
JM
17242012-11-07 Joseph Myers <joseph@codesourcery.com>
1725
1726 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1727 Change XOPEN21K to XOPEN2K.
1728
19218757
MK
17292012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1730
1731 * string/memmove.c: Use memcpy when possible.
1732
c5f45721
AJ
17332012-11-06 Andreas Jaeger <aj@suse.de>
1734
1735 * po/eo.po: Update from translation team.
1736
82477c28
JM
17372012-11-06 Joseph Myers <joseph@codesourcery.com>
1738
1739 [BZ #14793]
1740 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1741 exponent and small x and y exponents, scale x or y up. Increase
1742 by 2 the exponent used in scaling up.
1743 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1744 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1745 * math/libm-test.inc (fma_test): Add more tests.
1746 (fma_test_towardzero): Likewise.
1747 (fma_test_downward): Likewise.
1748 (fma_test_upward): Likewise.
1749
99252c8c
JM
17502012-11-05 Joseph Myers <joseph@codesourcery.com>
1751
acfa885f
JM
1752 [BZ #14805]
1753 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1754 fenv_t *.
1755
99252c8c
JM
1756 [BZ #14801]
1757 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1758 namespace for names of struct fields.
1759 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1760 fenv_t fields.
1761 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1762 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1763
d6d98dea
ST
17642012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1765
1766 [BZ #3665]
1767 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1768
e10bb107
TS
17692012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1770
1771 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1772 PTR_DEMANGLE.
1773
1774 [BZ #5246]
1775 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1776 PTR_DEMANGLE.
1777
a0c2940d
JM
17782012-11-04 Joseph Myers <joseph@codesourcery.com>
1779
1780 [BZ #14797]
1781 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1782 definitely overflow as x * y not x * y + z.
1783 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1784 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1785 * math/libm-test.inc (fma_test): Add more tests.
1786 (fma_test_towardzero): Likewise.
1787 (fma_test_downward): Likewise.
1788 (fma_test_upward): Likewise.
1789
b830319d
TS
17902012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1791
1792 [BZ #157]
1793
1794 * include/stub-tag.h: Remove file.
1795 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1796 '#include' of it.
1797 * manual/maint.texi (Porting): Don't reference it.
1798 * Makerules ($(objpfx)stubs): Likewise.
1799 * dirent/closedir.c: Don't include <stub-tag.h>.
1800 * dirent/dirfd.c: Likewise.
1801 * dirent/fdopendir.c: Likewise.
1802 * dirent/getdents.c: Likewise.
1803 * dirent/getdents64.c: Likewise.
1804 * dirent/opendir.c: Likewise.
1805 * dirent/readdir.c: Likewise.
1806 * dirent/readdir64.c: Likewise.
1807 * dirent/readdir64_r.c: Likewise.
1808 * dirent/readdir_r.c: Likewise.
1809 * dirent/rewinddir.c: Likewise.
1810 * dirent/seekdir.c: Likewise.
1811 * dirent/telldir.c: Likewise.
1812 * gmon/profil.c: Likewise.
1813 * grp/setgroups.c: Likewise.
1814 * inet/if_index.c: Likewise.
1815 * io/access.c: Likewise.
1816 * io/chdir.c: Likewise.
1817 * io/chmod.c: Likewise.
1818 * io/chown.c: Likewise.
1819 * io/close.c: Likewise.
1820 * io/dup.c: Likewise.
1821 * io/dup2.c: Likewise.
1822 * io/dup3.c: Likewise.
1823 * io/euidaccess.c: Likewise.
1824 * io/faccessat.c: Likewise.
1825 * io/fchdir.c: Likewise.
1826 * io/fchmod.c: Likewise.
1827 * io/fchmodat.c: Likewise.
1828 * io/fchown.c: Likewise.
1829 * io/fchownat.c: Likewise.
1830 * io/fcntl.c: Likewise.
1831 * io/flock.c: Likewise.
1832 * io/fstatfs.c: Likewise.
1833 * io/fstatfs64.c: Likewise.
1834 * io/fstatvfs.c: Likewise.
1835 * io/fstatvfs64.c: Likewise.
1836 * io/futimens.c: Likewise.
1837 * io/fxstat.c: Likewise.
1838 * io/fxstat64.c: Likewise.
1839 * io/fxstatat.c: Likewise.
1840 * io/fxstatat64.c: Likewise.
1841 * io/getcwd.c: Likewise.
1842 * io/isatty.c: Likewise.
1843 * io/lchmod.c: Likewise.
1844 * io/lchown.c: Likewise.
1845 * io/link.c: Likewise.
1846 * io/linkat.c: Likewise.
1847 * io/lseek.c: Likewise.
1848 * io/lseek64.c: Likewise.
1849 * io/lxstat64.c: Likewise.
1850 * io/mkdir.c: Likewise.
1851 * io/mkdirat.c: Likewise.
1852 * io/mkfifo.c: Likewise.
1853 * io/mkfifoat.c: Likewise.
1854 * io/open.c: Likewise.
1855 * io/open64.c: Likewise.
1856 * io/openat.c: Likewise.
1857 * io/openat64.c: Likewise.
1858 * io/pipe.c: Likewise.
1859 * io/pipe2.c: Likewise.
1860 * io/poll.c: Likewise.
1861 * io/posix_fadvise.c: Likewise.
1862 * io/posix_fadvise64.c: Likewise.
1863 * io/posix_fallocate.c: Likewise.
1864 * io/posix_fallocate64.c: Likewise.
1865 * io/read.c: Likewise.
1866 * io/readlink.c: Likewise.
1867 * io/readlinkat.c: Likewise.
1868 * io/rmdir.c: Likewise.
1869 * io/sendfile.c: Likewise.
1870 * io/sendfile64.c: Likewise.
1871 * io/statfs.c: Likewise.
1872 * io/statfs64.c: Likewise.
1873 * io/statvfs.c: Likewise.
1874 * io/statvfs64.c: Likewise.
1875 * io/symlink.c: Likewise.
1876 * io/symlinkat.c: Likewise.
1877 * io/ttyname.c: Likewise.
1878 * io/ttyname_r.c: Likewise.
1879 * io/umask.c: Likewise.
1880 * io/unlink.c: Likewise.
1881 * io/unlinkat.c: Likewise.
1882 * io/utime.c: Likewise.
1883 * io/utimensat.c: Likewise.
1884 * io/write.c: Likewise.
1885 * io/xmknod.c: Likewise.
1886 * io/xmknodat.c: Likewise.
1887 * io/xstat.c: Likewise.
1888 * io/xstat64.c: Likewise.
1889 * login/getpt.c: Likewise.
1890 * login/grantpt.c: Likewise.
1891 * login/unlockpt.c: Likewise.
1892 * math/e_acoshl.c: Likewise.
1893 * math/e_acosl.c: Likewise.
1894 * math/e_asinl.c: Likewise.
1895 * math/e_atan2l.c: Likewise.
1896 * math/e_atanhl.c: Likewise.
1897 * math/e_coshl.c: Likewise.
1898 * math/e_expl.c: Likewise.
1899 * math/e_fmodl.c: Likewise.
1900 * math/e_gammal_r.c: Likewise.
1901 * math/e_hypotl.c: Likewise.
1902 * math/e_j0l.c: Likewise.
1903 * math/e_j1l.c: Likewise.
1904 * math/e_jnl.c: Likewise.
1905 * math/e_lgammal_r.c: Likewise.
1906 * math/e_log10l.c: Likewise.
1907 * math/e_log2l.c: Likewise.
1908 * math/e_logl.c: Likewise.
1909 * math/e_powl.c: Likewise.
1910 * math/e_rem_pio2l.c: Likewise.
1911 * math/e_sinhl.c: Likewise.
1912 * math/e_sqrtl.c: Likewise.
1913 * math/fclrexcpt.c: Likewise.
1914 * math/fedisblxcpt.c: Likewise.
1915 * math/feenablxcpt.c: Likewise.
1916 * math/fegetenv.c: Likewise.
1917 * math/fegetexcept.c: Likewise.
1918 * math/fegetround.c: Likewise.
1919 * math/feholdexcpt.c: Likewise.
1920 * math/fesetenv.c: Likewise.
1921 * math/fesetround.c: Likewise.
1922 * math/feupdateenv.c: Likewise.
1923 * math/fgetexcptflg.c: Likewise.
1924 * math/fraiseexcpt.c: Likewise.
1925 * math/fsetexcptflg.c: Likewise.
1926 * math/ftestexcept.c: Likewise.
1927 * math/k_cosl.c: Likewise.
1928 * math/k_rem_pio2l.c: Likewise.
1929 * math/k_sinl.c: Likewise.
1930 * math/k_tanl.c: Likewise.
1931 * math/s_asinhl.c: Likewise.
1932 * math/s_atanl.c: Likewise.
1933 * math/s_cbrtl.c: Likewise.
1934 * math/s_erfl.c: Likewise.
1935 * math/s_expm1l.c: Likewise.
1936 * math/s_log1pl.c: Likewise.
1937 * math/s_tanhl.c: Likewise.
1938 * misc/acct.c: Likewise.
1939 * misc/brk.c: Likewise.
1940 * misc/chflags.c: Likewise.
1941 * misc/chroot.c: Likewise.
1942 * misc/fchflags.c: Likewise.
1943 * misc/fgetxattr.c: Likewise.
1944 * misc/flistxattr.c: Likewise.
1945 * misc/fremovexattr.c: Likewise.
1946 * misc/fsetxattr.c: Likewise.
1947 * misc/fsync.c: Likewise.
1948 * misc/ftruncate.c: Likewise.
1949 * misc/futimes.c: Likewise.
1950 * misc/futimesat.c: Likewise.
1951 * misc/getdomain.c: Likewise.
1952 * misc/getdtsz.c: Likewise.
1953 * misc/gethostid.c: Likewise.
1954 * misc/gethostname.c: Likewise.
1955 * misc/getloadavg.c: Likewise.
1956 * misc/getpagesize.c: Likewise.
1957 * misc/getsysstats.c: Likewise.
1958 * misc/getxattr.c: Likewise.
1959 * misc/gtty.c: Likewise.
1960 * misc/ioctl.c: Likewise.
1961 * misc/lgetxattr.c: Likewise.
1962 * misc/listxattr.c: Likewise.
1963 * misc/llistxattr.c: Likewise.
1964 * misc/lremovexattr.c: Likewise.
1965 * misc/lsetxattr.c: Likewise.
1966 * misc/lutimes.c: Likewise.
1967 * misc/madvise.c: Likewise.
1968 * misc/mincore.c: Likewise.
1969 * misc/mlock.c: Likewise.
1970 * misc/mlockall.c: Likewise.
1971 * misc/mmap.c: Likewise.
1972 * misc/mprotect.c: Likewise.
1973 * misc/msync.c: Likewise.
1974 * misc/munlock.c: Likewise.
1975 * misc/munlockall.c: Likewise.
1976 * misc/munmap.c: Likewise.
1977 * misc/preadv.c: Likewise.
1978 * misc/preadv64.c: Likewise.
1979 * misc/ptrace.c: Likewise.
1980 * misc/pwritev.c: Likewise.
1981 * misc/pwritev64.c: Likewise.
1982 * misc/readv.c: Likewise.
1983 * misc/reboot.c: Likewise.
1984 * misc/remap_file_pages.c: Likewise.
1985 * misc/removexattr.c: Likewise.
1986 * misc/revoke.c: Likewise.
1987 * misc/select.c: Likewise.
1988 * misc/setdomain.c: Likewise.
1989 * misc/setegid.c: Likewise.
1990 * misc/seteuid.c: Likewise.
1991 * misc/sethostid.c: Likewise.
1992 * misc/sethostname.c: Likewise.
1993 * misc/setregid.c: Likewise.
1994 * misc/setreuid.c: Likewise.
1995 * misc/setxattr.c: Likewise.
1996 * misc/sstk.c: Likewise.
1997 * misc/stty.c: Likewise.
1998 * misc/swapoff.c: Likewise.
1999 * misc/swapon.c: Likewise.
2000 * misc/sync.c: Likewise.
2001 * misc/syncfs.c: Likewise.
2002 * misc/syscall.c: Likewise.
2003 * misc/truncate.c: Likewise.
2004 * misc/ualarm.c: Likewise.
2005 * misc/usleep.c: Likewise.
2006 * misc/ustat.c: Likewise.
2007 * misc/utimes.c: Likewise.
2008 * misc/vhangup.c: Likewise.
2009 * misc/writev.c: Likewise.
2010 * posix/_exit.c: Likewise.
2011 * posix/alarm.c: Likewise.
2012 * posix/execve.c: Likewise.
2013 * posix/fexecve.c: Likewise.
2014 * posix/fork.c: Likewise.
2015 * posix/fpathconf.c: Likewise.
2016 * posix/getaddrinfo.c: Likewise.
2017 * posix/getegid.c: Likewise.
2018 * posix/geteuid.c: Likewise.
2019 * posix/getgid.c: Likewise.
2020 * posix/getgroups.c: Likewise.
2021 * posix/getlogin.c: Likewise.
2022 * posix/getlogin_r.c: Likewise.
2023 * posix/getpgid.c: Likewise.
2024 * posix/getpid.c: Likewise.
2025 * posix/getppid.c: Likewise.
2026 * posix/getresgid.c: Likewise.
2027 * posix/getresuid.c: Likewise.
2028 * posix/getsid.c: Likewise.
2029 * posix/getuid.c: Likewise.
2030 * posix/glob64.c: Likewise.
2031 * posix/nanosleep.c: Likewise.
2032 * posix/pathconf.c: Likewise.
2033 * posix/pause.c: Likewise.
2034 * posix/posix_madvise.c: Likewise.
2035 * posix/pread.c: Likewise.
2036 * posix/pread64.c: Likewise.
2037 * posix/pwrite.c: Likewise.
2038 * posix/pwrite64.c: Likewise.
2039 * posix/sched_getaffinity.c: Likewise.
2040 * posix/sched_getp.c: Likewise.
2041 * posix/sched_gets.c: Likewise.
2042 * posix/sched_primax.c: Likewise.
2043 * posix/sched_primin.c: Likewise.
2044 * posix/sched_rr_gi.c: Likewise.
2045 * posix/sched_setaffinity.c: Likewise.
2046 * posix/sched_setp.c: Likewise.
2047 * posix/sched_sets.c: Likewise.
2048 * posix/sched_yield.c: Likewise.
2049 * posix/setgid.c: Likewise.
2050 * posix/setlogin.c: Likewise.
2051 * posix/setpgid.c: Likewise.
2052 * posix/setresgid.c: Likewise.
2053 * posix/setresuid.c: Likewise.
2054 * posix/setsid.c: Likewise.
2055 * posix/setuid.c: Likewise.
2056 * posix/sleep.c: Likewise.
2057 * posix/spawni.c: Likewise.
2058 * posix/sysconf.c: Likewise.
2059 * posix/times.c: Likewise.
2060 * posix/wait.c: Likewise.
2061 * posix/wait3.c: Likewise.
2062 * posix/wait4.c: Likewise.
2063 * posix/waitpid.c: Likewise.
2064 * resolv/gai_sigqueue.c: Likewise.
2065 * resource/getpriority.c: Likewise.
2066 * resource/getrlimit.c: Likewise.
2067 * resource/getrusage.c: Likewise.
2068 * resource/nice.c: Likewise.
2069 * resource/setpriority.c: Likewise.
2070 * resource/setrlimit.c: Likewise.
2071 * resource/ulimit.c: Likewise.
2072 * rt/aio_cancel.c: Likewise.
2073 * rt/aio_fsync.c: Likewise.
2074 * rt/aio_read.c: Likewise.
2075 * rt/aio_sigqueue.c: Likewise.
2076 * rt/aio_suspend.c: Likewise.
2077 * rt/aio_write.c: Likewise.
2078 * rt/clock_getres.c: Likewise.
2079 * rt/clock_gettime.c: Likewise.
2080 * rt/clock_nanosleep.c: Likewise.
2081 * rt/clock_settime.c: Likewise.
2082 * rt/lio_listio.c: Likewise.
2083 * rt/mq_close.c: Likewise.
2084 * rt/mq_getattr.c: Likewise.
2085 * rt/mq_notify.c: Likewise.
2086 * rt/mq_open.c: Likewise.
2087 * rt/mq_receive.c: Likewise.
2088 * rt/mq_send.c: Likewise.
2089 * rt/mq_setattr.c: Likewise.
2090 * rt/mq_timedreceive.c: Likewise.
2091 * rt/mq_timedsend.c: Likewise.
2092 * rt/mq_unlink.c: Likewise.
2093 * rt/shm_open.c: Likewise.
2094 * rt/shm_unlink.c: Likewise.
2095 * rt/timer_create.c: Likewise.
2096 * rt/timer_delete.c: Likewise.
2097 * rt/timer_getoverr.c: Likewise.
2098 * rt/timer_gettime.c: Likewise.
2099 * rt/timer_settime.c: Likewise.
2100 * setjmp/__longjmp.c: Likewise.
2101 * setjmp/setjmp.c: Likewise.
2102 * signal/kill.c: Likewise.
2103 * signal/killpg.c: Likewise.
2104 * signal/raise.c: Likewise.
2105 * signal/sigaction.c: Likewise.
2106 * signal/sigaltstack.c: Likewise.
2107 * signal/sigblock.c: Likewise.
2108 * signal/sigignore.c: Likewise.
2109 * signal/sigintr.c: Likewise.
2110 * signal/signal.c: Likewise.
2111 * signal/sigpause.c: Likewise.
2112 * signal/sigpending.c: Likewise.
2113 * signal/sigqueue.c: Likewise.
2114 * signal/sigreturn.c: Likewise.
2115 * signal/sigset.c: Likewise.
2116 * signal/sigsetmask.c: Likewise.
2117 * signal/sigstack.c: Likewise.
2118 * signal/sigsuspend.c: Likewise.
2119 * signal/sigtimedwait.c: Likewise.
2120 * signal/sigvec.c: Likewise.
2121 * signal/sigwait.c: Likewise.
2122 * signal/sigwaitinfo.c: Likewise.
2123 * signal/sysv_signal.c: Likewise.
2124 * socket/accept.c: Likewise.
2125 * socket/accept4.c: Likewise.
2126 * socket/bind.c: Likewise.
2127 * socket/connect.c: Likewise.
2128 * socket/getpeername.c: Likewise.
2129 * socket/getsockname.c: Likewise.
2130 * socket/getsockopt.c: Likewise.
2131 * socket/isfdtype.c: Likewise.
2132 * socket/listen.c: Likewise.
2133 * socket/recv.c: Likewise.
2134 * socket/recvfrom.c: Likewise.
2135 * socket/recvmsg.c: Likewise.
2136 * socket/send.c: Likewise.
2137 * socket/sendmsg.c: Likewise.
2138 * socket/sendto.c: Likewise.
2139 * socket/setsockopt.c: Likewise.
2140 * socket/shutdown.c: Likewise.
2141 * socket/sockatmark.c: Likewise.
2142 * socket/socket.c: Likewise.
2143 * socket/socketpair.c: Likewise.
2144 * stdio-common/ctermid.c: Likewise.
2145 * stdio-common/cuserid.c: Likewise.
2146 * stdio-common/remove.c: Likewise.
2147 * stdio-common/rename.c: Likewise.
2148 * stdio-common/renameat.c: Likewise.
2149 * stdio-common/tempname.c: Likewise.
2150 * stdlib/getcontext.c: Likewise.
2151 * stdlib/makecontext.c: Likewise.
2152 * stdlib/setcontext.c: Likewise.
2153 * stdlib/swapcontext.c: Likewise.
2154 * stdlib/system.c: Likewise.
2155 * streams/fattach.c: Likewise.
2156 * streams/fdetach.c: Likewise.
2157 * streams/getmsg.c: Likewise.
2158 * streams/getpmsg.c: Likewise.
2159 * streams/putmsg.c: Likewise.
2160 * streams/putpmsg.c: Likewise.
2161 * sysdeps/unix/bsd/getpt.c: Likewise.
2162 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2163 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2164 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2166 Likewise.
2167 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2168 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2169 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2170 * sysvipc/msgctl.c: Likewise.
2171 * sysvipc/msgget.c: Likewise.
2172 * sysvipc/msgrcv.c: Likewise.
2173 * sysvipc/msgsnd.c: Likewise.
2174 * sysvipc/semctl.c: Likewise.
2175 * sysvipc/semget.c: Likewise.
2176 * sysvipc/semop.c: Likewise.
2177 * sysvipc/semtimedop.c: Likewise.
2178 * sysvipc/shmat.c: Likewise.
2179 * sysvipc/shmctl.c: Likewise.
2180 * sysvipc/shmdt.c: Likewise.
2181 * sysvipc/shmget.c: Likewise.
2182 * termios/tcdrain.c: Likewise.
2183 * termios/tcflow.c: Likewise.
2184 * termios/tcflush.c: Likewise.
2185 * termios/tcgetattr.c: Likewise.
2186 * termios/tcgetpgrp.c: Likewise.
2187 * termios/tcsendbrk.c: Likewise.
2188 * termios/tcsetattr.c: Likewise.
2189 * termios/tcsetpgrp.c: Likewise.
2190 * time/adjtime.c: Likewise.
2191 * time/clock.c: Likewise.
2192 * time/getitimer.c: Likewise.
2193 * time/gettimeofday.c: Likewise.
2194 * time/setitimer.c: Likewise.
2195 * time/settimeofday.c: Likewise.
2196 * time/stime.c: Likewise.
2197 * time/time.c: Likewise.
2198
21992012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 2200
a20492cf
PT
2201 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2202 /usr/old/bin.
2203
72e182e3
PT
2204 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2205 instead of spaces.
2206 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2207
fbeafede
JM
22082012-11-03 Joseph Myers <joseph@codesourcery.com>
2209
5b5b04d6
JM
2210 [BZ #14796]
2211 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2212 FE_TONEAREST before applying Dekker multiplication and Knuth
2213 addition. Clear inexact exceptions and check for exact zero
2214 results afterwards.
2215 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2216 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2217 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2218 * math/libm-test.inc (fma_test): Add more tests.
2219 (fma_test_towardzero): Likewise.
2220 (fma_test_downward): Likewise.
2221 (fma_test_upward): Likewise.
2222 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2223 function.
2224 (libc_fesetround): New macro.
2225 (libc_fesetroundf): Likewise.
2226 (libc_fesetroundl): Likewise.
2227 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2228 function.
2229 (libc_fesetround_387): Likewise.
2230 (libc_fesetroundf): New macro.
2231 (libc_fesetround): Likewise.
2232 (libc_fesetroundl): Likewise.
2233 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2234 function.
2235 (libc_fesetroundf): New macro.
2236 (libc_fesetround): Likewise.
2237 (libc_fesetroundl): Likewise.
2238 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2239 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2240 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2241 libm_hidden_ver.
2242 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2243 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2244 libm_hidden_def.
2245 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2246 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2247 libm_hidden_ver.
2248 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2249 libm_hidden_def.
2250
fbeafede
JM
2251 [BZ #3439]
2252 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2253 integer constant usable in #if and use that to give value to enum
2254 constant.
2255 (FE_DIVBYZERO): Likewise.
2256 (FE_UNDERFLOW): Likewise.
2257 (FE_OVERFLOW): Likewise.
2258 (FE_INVALID): Likewise.
2259 (FE_INVALID_SNAN): Likewise.
2260 (FE_INVALID_ISI): Likewise.
2261 (FE_INVALID_IDI): Likewise.
2262 (FE_INVALID_ZDZ): Likewise.
2263 (FE_INVALID_IMZ): Likewise.
2264 (FE_INVALID_COMPARE): Likewise.
2265 (FE_INVALID_SOFTWARE): Likewise.
2266 (FE_INVALID_SQRT): Likewise.
2267 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2268 (FE_TONEAREST): Likewise.
2269 (FE_TOWARDZERO): Likewise.
2270 (FE_UPWARD): Likewise.
2271 (FE_DOWNWARD): Likewise.
2272 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2273 (FE_DIVBYZERO): Likewise.
2274 (FE_OVERFLOW): Likewise.
2275 (FE_UNDERFLOW): Likewise.
2276 (FE_INEXACT): Likewise.
2277 (FE_TONEAREST): Likewise.
2278 (FE_DOWNWARD): Likewise.
2279 (FE_UPWARD): Likewise.
2280 (FE_TOWARDZERO): Likewise.
2281 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2282 (FE_UNDERFLOW): Likewise.
2283 (FE_OVERFLOW): Likewise.
2284 (FE_DIVBYZERO): Likewise.
2285 (FE_INVALID): Likewise.
2286 (FE_TONEAREST): Likewise.
2287 (FE_TOWARDZERO): Likewise.
2288 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2289 (FE_OVERFLOW): Likewise.
2290 (FE_UNDERFLOW): Likewise.
2291 (FE_DIVBYZERO): Likewise.
2292 (FE_INEXACT): Likewise.
2293 (FE_TONEAREST): Likewise.
2294 (FE_TOWARDZERO): Likewise.
2295 (FE_UPWARD): Likewise.
2296 (FE_DOWNWARD): Likewise.
2297 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2298 (FE_DIVBYZERO): Likewise.
2299 (FE_OVERFLOW): Likewise.
2300 (FE_UNDERFLOW): Likewise.
2301 (FE_INEXACT): Likewise.
2302 (FE_TONEAREST): Likewise.
2303 (FE_DOWNWARD): Likewise.
2304 (FE_UPWARD): Likewise.
2305 (FE_TOWARDZERO): Likewise.
2306
105ca950
CM
23072012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2308
2309 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2310
a542b389
AS
23112012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2312
2313 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2314 commands. Quote $PWD.
2315 (blacklist_exports): Don't use remove_newlines. Replace "declare
2316 -x" by "export".
2317 (remove_newlines): Remove.
2318
f62c8abc
L
23192012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2320
2321 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2322 * stdlib/stdlib.h (atof): Moved to ...
2323 * include/bits/stdlib-float.h: Here. New file.
2324 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2325 * stdlib/bits/stdlib-float.h: New file.
2326 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2327 -mno-sse -mno-mmx.
2328 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2329 <xmmintrin.h>.
2330
0155d5b2
JM
23312012-11-02 Joseph Myers <joseph@codesourcery.com>
2332
a68d0680
JM
2333 * conform/conformtest.pl (@headers): Add fenv.h.
2334 * conform/data/fenv.h-data: New file.
2335 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2336 include of <math/fenv.h>.
2337
caf7f573
JM
2338 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2339 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2340 && !UNIX98]. Enables tests for XOPEN2K8.
2341 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2342 POSIX2008]: Likewise.
2343
6c073ad6
JM
2344 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2345 (struct rusage): Do not expect type or its members.
2346
0155d5b2
JM
2347 [BZ #3439]
2348 * math/math.h (FP_NAN): Define macro to integer constant usable in
2349 #if and use that to give value to enum constant.
2350 (FP_INFINITE): Likewise.
2351 (FP_ZERO): Likewise.
2352 (FP_SUBNORMAL): Likewise.
2353 (FP_NORMAL): Likewise.
2354
b5dcacb4
AS
23552012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2356
2357 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2358 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2359 arguments.
2360
f7934be8
RM
23612012-11-02 Roland McGrath <roland@hack.frob.com>
2362
2363 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2364 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2365 autoconf-time if not.
2366 * configure.in: Remove AC_PREREQ.
2367
d7d08bde
TMQMF
23682012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2369
2370 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2371 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2372 of the internal implementation.
2373
dcdae19a
JM
23742012-11-02 Joseph Myers <joseph@codesourcery.com>
2375
2376 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2377 except include of <misc/sys/syslog.h>.
2378
d6cffd3e
AS
23792012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2380
2381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2382 function returns with a NULL context exit with zero.
2383
b3563932
TMQMF
23842012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2385
2386 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2387
b288a93d
L
23882012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2389
2390 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2391 (run_program_cmd): This.
2392 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2393 (tst_langinfo): New variable. Use it.
2394
a2421a68
SAS
23952012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2396
2397 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2398 floating point opcodes.
2399
6f796e1b
TS
24002012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2401
7402596b
TS
2402 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2403 variable.
2404
d0d4f868
TS
2405 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2406
6f796e1b
TS
2407 * sysdeps/mach/hurd/powerpc: Remove directory.
2408 * sysdeps/mach/powerpc: Likewise.
2409
4da224a2
AS
24102012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2411
2412 * scripts/check-local-headers.sh: Ignore c++ headers.
2413
341dd673
TS
24142012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2415
2416 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2417 __libc_cleanup_region_start argument.
2418
473611b2
JM
24192012-11-01 Joseph Myers <joseph@codesourcery.com>
2420
2421 [BZ #14784]
2422 [BZ #14785]
2423 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2424 x * y using scaling, not as x * y + z.
2425 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2426 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2427 * math/libm-test.inc (fma_test): Add more tests.
2428 (fma_test_towardzero): Likewise.
2429 (fma_test_downward): Likewise.
2430 (fma_test_upward): Likewise.
2431
4078da3d
TS
24322012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2433
2434 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2435
903252aa
JM
24362012-10-31 Joseph Myers <joseph@codesourcery.com>
2437
2438 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2439 New variable.
2440
cbc818d0
TS
24412012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2442
2443 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2444
5a03cb1e
AS
24452012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2446
2447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2448 Fix sort order.
2449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2450 Likewise.
2451
90aff2ff
TMQMF
24522012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2453
2454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2455 Fix the order of the list for glibc 2.17.
2456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2457 Likewise.
2458
1818fcb7
AS
24592012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2460
2461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2462
ef82f4da
JM
24632012-10-31 Joseph Myers <joseph@codesourcery.com>
2464
16a0e2ec
JM
2465 [BZ #14610]
2466 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2467 for low part of x being zero before using __atanl (y).
2468 * math/libm-test.inc (atan2_test): Add another test.
2469
0eb69512
JM
2470 * manual/install.texi (Configuring and compiling): Document
2471 general use of test-wrapper and test-wrapper-env.
2472 * INSTALL: Regenerated.
2473
ef82f4da
JM
2474 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2475 (__fma): Do not extract and scale down low bits on after-rounding
2476 systems when result rounded to normal precision would have normal
2477 exponent.
2478 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2479 (__fmal): Do not extract and scale down low bits on after-rounding
2480 systems when result rounded to normal precision would have normal
2481 exponent.
2482 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2483 (__fmal): Do not extract and scale down low bits on after-rounding
2484 systems when result rounded to normal precision would have normal
2485 exponent.
2486 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2487 macro.
2488 (fma_test): Add more tests.
2489 (fma_test_towardzero): Likewise.
2490 (fma_test_downward): Likewise.
2491 (fma_test_upward): Likewise.
2492
954ef0d9
L
24932012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2494
2495 * sysdeps/i386/tininess.h: Renamed to ...
2496 * sysdeps/x86/tininess.h: This.
2497 * sysdeps/x86_64/tininess.h: Removed.
2498
df61ffb2
JM
24992012-10-30 Joseph Myers <joseph@codesourcery.com>
2500
2501 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2502 input. Use $(build-program-cmd).
2503 ($(objpfx)tst-array1-static.out): Likewise.
2504 ($(objpfx)tst-array2.out): Likewise.
2505 ($(objpfx)tst-array3.out): Likewise.
2506 ($(objpfx)tst-array4.out): Likewise.
2507 ($(objpfx)tst-array5.out): Likewise.
2508 ($(objpfx)tst-array5-static.out): Likewise.
2509
01767843
CM
25102012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2511
47cc1490
CM
2512 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2513 if defined.
2514
01767843
CM
2515 * nss/nsswitch.h (nss_interface_function): Provide new
2516 macro for use with NSS functions.
2517 * grp/initgroups.c: Use new macro.
2518 * nss/getXXbyYY.c: Likewise.
2519 * nss/getXXbyYY_r.c: Likewise.
2520 * nss/getXXent.c: Likewise.
2521 * nss/getXXent_r.c: Likewise.
2522 * sysdeps/posix/getaddrinfo.c: Likewise.
2523
8321aa97
AJ
25242012-10-30 Andreas Jaeger <aj@suse.de>
2525
2526 * po/ru.po: Update Russion translation from translation project.
2527
2a27fd6d
JM
25282012-10-30 Joseph Myers <joseph@codesourcery.com>
2529
8627a232
JM
2530 [BZ #14152]
2531 [BZ #14783]
2532 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2533 result and shift together with sticky bit instead of replicating
2534 round-to-nearest rounding.
2535 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2536 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2537 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2538 missing underflow exceptions.
2539 (fma_test_towardzero): Add more tests.
2540 (fma_test_downward): Likewise.
2541 (fma_test_upward): Likewise.
2542
2a27fd6d
JM
2543 [BZ #14047]
2544 * sysdeps/generic/tininess.h: New file.
2545 * sysdeps/i386/tininess.h: Likewise.
2546 * sysdeps/sh/tininess.h: Likewise.
2547 * sysdeps/x86_64/tininess.h: Likewise.
2548 * stdlib/tst-strtod-underflow.c: Likewise.
2549 * stdlib/tst-tininess.c: Likewise.
2550 * stdlib/strtod_l.c: Include <tininess.h>.
2551 (round_and_return): Do not set errno for exact underflow cases.
2552 Force an underflow exception when setting errno for underflow.
2553 Determine underflow based on rounding to normal precision if
2554 TININESS_AFTER_ROUNDING.
2555 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2556 ERANGE for exact underflow cases.
2557 * stdlib/Makefile (tests): Add tst-tininess and
2558 tst-strtod-underflow.
2559 ($(objpfx)tst-tininess): Use $(link-libm).
2560 ($(objpfx)tst-strtod-underflow): Likewise.
2561
e7170363
AJ
25622012-10-30 Andreas Jaeger <aj@suse.de>
2563
e5088dc6
AJ
2564 [BZ#14767]
2565 * elf/Makefile (tests): Remove conditional for have-initfini-array
2566 since this is now always required and the variable does not exist
2567 anymore.
2568 (tests-static): Likewise.
2569 (modules-names): Likewise.
2570
e7170363 2571 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
2572
2573 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2574 merged with constructor/destructor.
2575 (init_array): Likewise.
2576 * elf/tst-array2dep.c (fini_array): Likewise.
2577 (init_array): Likewise.
2578
60457d8a
MF
25792012-10-29 Mike Frysinger <vapier@gentoo.org>
2580
2581 * manual/message.texi: Delete @cartouche tags.
2582
8bece752
PT
25832012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2584
94ce799f
PT
2585 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2586 EOPNOTSUPP.
2587 * sysdeps/mach/hurd/fsync.c: Likewise.
2588
8bece752
PT
2589 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2590 [_POSIX_REALTIME_SIGNALS]: Change condition to
2591 [_POSIX_REALTIME_SIGNALS > 0].
2592
86ebe6b1
AJ
25932012-10-27 Andreas Jaeger <aj@suse.de>
2594
2595 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2596 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2597 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2598 [__WORDSIZE != 64]: Likewise.
2599
54399c08
L
26002012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2601
2602 * iconvdata/tst-table.sh: Remove ${SHELL}.
2603 * iconvdata/tst-tables.sh: Likewise.
2604
e2211bed
DM
26052012-10-25 David S. Miller <davem@davemloft.net>
2606
2607 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2608 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2609 of strtoull.
2610
f303f97c
DM
2611 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2612 ifunc-impl-list.c
2613 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2614 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2615 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2616 file.
2617
1e9d84cd
RM
26182012-10-25 Roland McGrath <roland@hack.frob.com>
2619
2620 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2621 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2622 __getdirentries.
2623
df381762
JM
26242012-10-25 Joseph Myers <joseph@codesourcery.com>
2625 Jim Blandy <jimb@codesourcery.com>
2626
2627 * scripts/cross-test-ssh.sh: New file.
2628 * manual/install.texi (Configuring and compiling): Document use of
2629 cross-test-ssh.sh.
2630 * INSTALL: Regenerated.
2631
bff64913
PT
26322012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2633
2634 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2635 EOPNOTSUPP.
2636
25fe8932
JM
26372012-10-25 Joseph Myers <joseph@codesourcery.com>
2638
2639 * Makeconfig (run-program-prefix): Fix comment.
2640
cc1290d0
JM
26412012-10-24 Joseph Myers <joseph@codesourcery.com>
2642 Jim Blandy <jimb@codesourcery.com>
2643
2644 * Makeconfig (test-wrapper): New variable,
2645 (test-wrapper-env): Likewise.
2646 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2647 (run-built-tests): Define to yes.
2648 (run-program-prefix): Use $(test-wrapper).
2649 (built-program-cmd): Likewise.
2650 * Rules (make-test-out): Use $(test-wrapper-env) and
2651 $(host-built-program-cmd).
2652 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2653 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2654 tst-pathopt.sh.
2655 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2656 $(test-wrapper-env) to tst-rtld-load-self.sh.
2657 ($(objpfx)order2.out): Use $(test-wrapper).
2658 ($(objpfx)tst-initorder.out): Likewise.
2659 ($(objpfx)tst-initorder2.out): Likewise.
2660 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2661 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2662 (test_wrapper_env): New variable. Use it to run ld.so.
2663 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2664 Use it to run ld.so.
2665 (test_wrapper_env): Likewise.
2666 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2667 $(test-wrapper) to run-iconv-test.sh.
2668 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2669 (ICONV): Use $test_wrapper.
2670 * posix/Makefile ($(objpfx)globtest.out): Pass
2671 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2672 globtest.sh, not $(run-program-prefix).
2673 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2674 (test_wrapper): Likewise.
2675 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2676 set together with run_via_rtld_prefix.
2677 (run_program_prefix): Define in terms of test_wrapper and
2678 run_via_rtld_prefix.
2679
6e6249d0
RM
26802012-10-24 Roland McGrath <roland@hack.frob.com>
2681
2682 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2683 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2684 Targets removed.
2685
2686 [BZ #14743]
2687 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2688 Declare __clock_getres, __clock_gettime, __clock_settime,
2689 __clock_nanosleep, and __clock_getcpuclockid.
2690 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2691 Remove librt_hidden_def (clock_gettime).
2692 * sysdeps/unix/clock_gettime.c: Likewise.
2693 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2694 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2695 * rt/clock_getres.c: Define __clock_getres as an alias.
2696 * sysdeps/posix/clock_getres.c: Likewise.
2697 * rt/clock_settime.c: Define __clock_settime as an alias.
2698 * sysdeps/unix/clock_settime.c: Likewise.
2699 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2700 * sysdeps/unix/clock_nanosleep.c: Likewise.
2701 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2702 * rt/clock-compat.c: New file.
2703 * rt/Makefile (librt-routines): Add clock-compat and move
2704 $(clock-routines) to ...
2705 (routines): ... here, new variable.
2706 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2707 Don't add get_clockfreq here.
2708 * rt/Versions (libc: GLIBC_2.17): New version set.
2709 Add clock_* symbols here.
2710 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2711 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2712 (GLIBC_2.17): Add clock_* symbols.
2713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2715 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2717 Likewise.
2718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2719 Likewise.
2720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2724 * NEWS: Mention the move.
2725
2726 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2727 Use __open, __read, __close rather than their public counterparts.
2728 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2729 (__get_clockfreq_via_cpuinfo): Likewise.
2730 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2731 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2732
2733 * config.h.in (HAVE_IFUNC): New #undef.
2734 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2735 was successful.
2736 * configure: Regenerated.
2737
0cae3f4b
MF
27382012-10-24 Mike Frysinger <vapier@gentoo.org>
2739
2740 * configure.in: Move READELF check to start of file.
2741 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2742 libc_cv_asm_gnu_indirect_function in the process.
2743 * configure: Regenerated.
2744
8175a253
MF
27452012-10-24 Mike Frysinger <vapier@gentoo.org>
2746
2747 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2748 send the output to /dev/null.
2749 (libc_cv_cc_with_libunwind): Likewise.
2750 (libc_cv_as_noexecstack): Likewise.
2751 * configure: Regenerate.
2752
0708a7d1
JM
27532012-10-24 Joseph Myers <joseph@codesourcery.com>
2754
10b40d85
JM
2755 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2756
0708a7d1
JM
2757 * posix/globtest.sh (TMPDIR): Do not set.
2758 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2759 (testout): Likewise.
2760
9fddec1a
AJ
27612012-10-24 Andreas Jaeger <aj@suse.de>
2762
3a8db22f
AJ
2763 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2764 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2765 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2766 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2767 posix_fadvise64, posix_fallocate64.
2768
9fddec1a
AJ
2769 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2770 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2771 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2772 Likewise.
2773 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2774 Likewise.
2775 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2776
2777 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2778 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2779 <bits/fcntl-linux.h>.
2780 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2781
2782 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2783 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2784 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2785 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2786 [__WORDSIZE != 64]: Likewise.
2787
ebfd1bbd
JM
27882012-10-23 Joseph Myers <joseph@codesourcery.com>
2789
03ac099f
JM
2790 * Makeconfig (run-built-tests): New variable.
2791 * Rules [$(cross-compiling) = yes]: Change condition to
2792 [$(run-built-tests) = no].
2793 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2794 to [$(run-built-tests) = yes].
2795 * elf/Makefile [$(cross-compiling) = no]: Likewise
2796 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2797 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2798 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2799 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2800 * io/Makefile [$(cross-compiling) = no]: Likewise.
2801 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2802 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2803 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2804 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2805 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2806 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2807 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2808 * string/Makefile [$(cross-compiling) = no]: Likewise.
2809
ebfd1bbd
JM
2810 * posix/Makefile ($(objpfx)globtest.out): Pass
2811 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2812 $(rtld-installed-name).
2813 * posix/globtest.sh (elf_objpfx): Remove variable.
2814 (rtld_installed_name): Likewise.
2815 (library_path): Likewise.
2816 (run_program_prefix): New variable. Use for running globtest
2817 binary.
2818
166bca24
JB
28192012-10-23 Jim Blandy <jimb@codesourcery.com>
2820 Joseph Myers <joseph@codesourcery.com>
2821
2822 * Makeconfig (host-built-program-cmd): New variable.
2823 * elf/Makefile (tst-stackguard1-ARGS): Use
2824 $(host-built-program-cmd).
2825 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2826 (tst-spawn-ARGS): Likewise.
2827 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2828
88866099
JM
28292012-10-23 Joseph Myers <joseph@codesourcery.com>
2830 Jim Blandy <jimb@codesourcery.com>
2831
2832 * Makeconfig (run-via-rtld-prefix): New variable.
2833 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2834 (built-program-cmd): Likewise.
2835
b4b4c296
AJ
28362012-10-22 Andreas Jaeger <aj@suse.de>
2837
2838 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2839 __O_RSYNC if it exists, otherwise to O_SYNC.
2840
6fb54a22
JB
28412012-10-22 Jim Blandy <jimb@codesourcery.com>
2842 Joseph Myers <joseph@codesourcery.com>
2843
2844 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2845 /dev/null.
2846 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2847 from /dev/null
2848 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2849 /dev/null.
2850
481b90b9
AJ
28512012-10-22 Andreas Jaeger <aj@suse.de>
2852
2a0e2669
AJ
2853 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2854 Define always.
2855 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2856
76e38f9a
AJ
2857 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2858 bits/fcntl-linux.h.
2859
7cd37b43
AJ
2860 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2861 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2862
481b90b9
AJ
2863 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2864 to __O_LARGEFILE.
2865 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2866 to __O_LARGEFILE.
2867
aba75984
JB
28682012-10-21 Jim Blandy <jimb@codesourcery.com>
2869 Joseph Myers <joseph@codesourcery.com>
2870
2871 * config.make.in (NM): New variable.
2872
88d4247f
AJ
28732012-10-21 Andreas Jaeger <aj@suse.de>
2874
2875 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2876 definitions and declarations that are provided by
2877 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2878
f2eed205
L
28792012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2880
2881 [BZ #14683]
2882 * elf/Makefile (tests-static): Add tst-leaks1-static.
2883 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2884 ($(objpfx)tst-leaks1-static): New rule.
2885 ($(objpfx)tst-leaks1-static-mem): Likewise.
2886 (tst-leaks1-static-ENV): New macro.
2887 * elf/dl-open.c (dl_open_worker): Check the main application
2888 only if SHARED is defined.
2889 * elf/tst-leaks1-static.c: New file.
2890
335e6931
AJ
28912012-10-20 Andreas Jaeger <aj@suse.de>
2892
2893 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2894 generic values for Linux.
2895 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2896 and declarations that are provided by <bits/fcntl-linux.h> and
2897 include <bits/fcntl-linux.h>.
2898 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2899 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2900
ac5c94d3
RM
29012012-10-20 Roland McGrath <roland@hack.frob.com>
2902
2903 * io/fcntl.h: Move include of <bits/types.h> to the top and
2904 include it unconditionally.
2905
de54b33a
L
29062012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2907
228cfb01
L
2908 * wcsmbs/Makefile (tests-ifunc): New variable.
2909 (tests): Add $(tests-ifunc).
2910 * wcsmbs/test-wcschr-ifunc.c: New file.
2911 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2912 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2913 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2914 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2915 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2916
69f07e5f
L
2917 * string/Makefile (tests-ifunc): New variable.
2918 (tests): Add $(tests-ifunc).
2919 * string/test-memccpy.c (TEST_NAME): New macro.
2920 * string/test-memchr.c (TEST_NAME): Likewise.
2921 * string/test-memcmp.c (TEST_NAME): Likewise.
2922 * string/test-memcpy.c (TEST_NAME): Likewise.
2923 * string/test-memmem.c (TEST_NAME): Likewise.
2924 * string/test-memmove.c (TEST_NAME): Likewise.
2925 * string/test-memset.c (TEST_NAME): Likewise.
2926 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2927 * string/test-stpcpy.c (TEST_NAME): Likewise.
2928 * string/test-stpncpy.c (TEST_NAME): Likewise.
2929 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2930 * string/test-strcasestr.c (TEST_NAME): Likewise.
2931 * string/test-strcat.c (TEST_NAME): Likewise.
2932 * string/test-strchr.c (TEST_NAME): Likewise.
2933 * string/test-strcmp.c(TEST_NAME): Likewise.
2934 * string/test-strcpy.c (TEST_NAME): Likewise.
2935 * string/test-strcspn.c (TEST_NAME): Likewise.
2936 * string/test-strlen.c (TEST_NAME): Likewise.
2937 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2938 * string/test-strncmp.c (TEST_NAME): Likewise.
2939 * string/test-strncpy.c (TEST_NAME): Likewise.
2940 * string/test-strnlen.c (TEST_NAME): Likewise.
2941 * string/test-strpbrk.c (TEST_NAME): Likewise.
2942 * string/test-strrchr.c (TEST_NAME): Likewise.
2943 * string/test-strspn.c (TEST_NAME): Likewise.
2944 * string/test-strstr.c (TEST_NAME): Likewise.
2945 * string/test-bcopy-ifunc.c: New file.
2946 * string/test-bzero-ifunc.c: Likewise.
2947 * string/test-memccpy-ifunc.c: Likewise.
2948 * string/test-memchr-ifunc.c: Likewise.
2949 * string/test-memcmp-ifunc.c: Likewise.
2950 * string/test-memcpy-ifunc.c: Likewise.
2951 * string/test-memmem-ifunc.c: Likewise.
2952 * string/test-memmove-ifunc.c: Likewise.
2953 * string/test-mempcpy-ifunc.c: Likewise.
2954 * string/test-memset-ifunc.c: Likewise.
2955 * string/test-rawmemchr-ifunc.c: Likewise.
2956 * string/test-stpcpy-ifunc.c: Likewise.
2957 * string/test-stpncpy-ifunc.c: Likewise.
2958 * string/test-strcasecmp-ifunc.c: Likewise.
2959 * string/test-strcasestr-ifunc.c: Likewise.
2960 * string/test-strcat-ifunc.c: Likewise.
2961 * string/test-strchr-ifunc.c: Likewise.
2962 * string/test-strchrnul-ifunc.c: Likewise.
2963 * string/test-strcmp-ifunc.c: Likewise.
2964 * string/test-strcpy-ifunc.c: Likewise.
2965 * string/test-strcspn-ifunc.c: Likewise.
2966 * string/test-strlen-ifunc.c: Likewise.
2967 * string/test-strncasecmp-ifunc.c: Likewise.
2968 * string/test-strncat-ifunc.c: Likewise.
2969 * string/test-strncmp-ifunc.c: Likewise.
2970 * string/test-strncpy-ifunc.c: Likewise.
2971 * string/test-strnlen-ifunc.c: Likewise.
2972 * string/test-strpbrk-ifunc.c: Likewise.
2973 * string/test-strrchr-ifunc.c: Likewise.
2974 * string/test-strspn-ifunc.c: Likewise.
2975 * string/test-strstr-ifunc.c: Likewise.
2976
de54b33a
L
2977 * debug/Makefile (tests-ifunc): New variable.
2978 (tests): Add $(tests-ifunc).
2979 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2980 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2981 * debug/test-stpcpy_chk-ifunc.c: New file.
2982 * debug/test-strcpy_chk-ifunc.c: Likewise.
2983
88481c16
SP
29842012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2985
2986 [BZ #13601]
2987 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2988 header is not read in.
2989
135948bd
JM
29902012-10-19 Joseph Myers <joseph@codesourcery.com>
2991
89f1c388
JM
2992 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2993 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2994 directly. Pass built executable to script as
2995 $(built-program-cmd).
2996 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2997 $testprogram without using LD_LIBRARY_PATH and $ldso.
2998
e40a0d21
JM
2999 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3000 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3001 $(rtld-installed-name).
3002 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3003 (rtld_installed_name): Likewise.
3004 (library_path): Likewise.
3005 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
3006 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3007 $(run-program-prefix) to tst-tables.sh.
3008 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
3009 it to run tst-table-from and tst-table-to.
3010 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3011 Pass it to tst-table.sh.
3012 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3013 $(run-program-prefix) to tst-gettext.sh.
3014 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3015 tst-translit.sh.
3016 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3017 tst-gettext2.sh.
3018 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
3019 to run tst-gettext.
3020 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
3021 to run tst-gettext2.
3022 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
3023 to run tst-translit.
3024 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3025 $(run-program-prefix) to tst-mtrace.sh.
3026 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
3027 to run tst-mtrace.
3028 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3029 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3030 $(rtld-installed-name).
3031 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3032 (rtld_installed_name): Likewise.
3033 (run_program_prefix): New variable. Use it to run wordexp-test.
3034
728e272a
JM
3035 * Makeconfig (ARCH): Remove all definitions.
3036 (machine): Likewise.
3037 [ARCH]: Remove conditional code.
3038 [!objdir]: Give error.
3039 [!objdir] (objpfx): Remove.
3040 [!objdir] (common-objpfx): Likewise.
3041 [!objdir] (common-objdir): Likewise.
3042 * configure.in (config_makefile): Remove. Hardcode Makefile in
3043 AC_CONFIG_FILES call.
3044 * configure: Regenerated.
3045
d528cdcf
JM
3046 [BZ #13888]
3047 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3048 or TMPDIR.
3049 (testout): Likewise.
3050
135948bd
JM
3051 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3052 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3053 $(rtld-installed-name).
3054 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3055 (rtld_installed_name): Likwise.
3056 (runit): Remove function.
3057 (run_getconf): New variable, Use it for running getconf binary.
3058
38c78296
L
30592012-10-18 H.J. Lu <hongjiu.lu@intel.com>
3060
3061 [BZ #14716]
3062 * string/test-memmem.c (check_result): New function.
3063 (do_one_test): Use it.
3064 (check1): New function.
3065 (test_main): Use it.
3066
d077f65f
MT
30672012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
3068
3069 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3070
ced52c71
JM
30712012-10-18 Joseph Myers <joseph@codesourcery.com>
3072
3073 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3074 (_G_LSEEK64): Likewise.
3075 (_G_MMAP64): Likewise.
3076 (_G_FSTAT64): Likewise.
3077 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3078 (_G_LSEEK64): Likewise.
3079 (_G_MMAP64): Likewise.
3080 (_G_FSTAT64): Likewise.
3081 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3082 unconditional. Call __mmap64 directly.
3083 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3084 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
3085 __lseek64 directly.
3086 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3087 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
3088 __mmap64 directly.
3089 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3090 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
3091 __lseek64 directly.
3092 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3093 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
3094 __lseek64 directly.
3095 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3096 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
3097 __lseek64 directly.
3098 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3099 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
3100 __fxstat64 directly.
3101 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3102 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3103 unconditional.
3104 (freopen64) [!_G_OPEN64]: Remove conditional code.
3105 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3106 unconditional.
3107 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3108 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3109 unconditional.
3110 (ftello64) [!_G_LSEEK64]: Remove conditional code.
3111 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3112 unconditional.
3113 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3114 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3115 unconditional.
3116 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3117 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3118 unconditional.
3119 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3120 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3121 unconditional.
3122 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3123 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3124 unconditional.
3125 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3126
b741de23
SP
31272012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3128
3129 [BZ #12140]
3130 * manual/memory.texi (Malloc Tunable Parameters): Add note
3131 about free list pointers overwriting some perturb bytes.
3132 Wording suggested by Roland McGrath.
3133
f9b9d9c9
JM
31342012-10-17 Joseph Myers <joseph@codesourcery.com>
3135
3136 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3137 (lgamma_test): Likewise.
3138 (tgamma_test): Likewise.
3139
172a631a
FW
31402012-10-16 Florian Weimer <fweimer@redhat.com>
3141
3142 [BZ #14700]
3143 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3144 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3145
e9f37252
MK
31462012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3147
3148 * NEWS: Mention BZ #14716.
3149 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3150 when removing AVAILABLE1_USES_J macro.
3151
d394eb74
L
31522012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3153
3154 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3155 (__bswap_64): __uint64_t for unsigned 64-bit int.
3156
ca38dc17
AS
31572012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3158
3159 * include/string.h (memmem): Declare libc hidden alias.
3160 * string/memmem.c (memmem): Define libc hidden alias.
3161 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3162 __read, __close instead of open, read, close.
3163
9a387d1f
L
31642012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3165
ac49ecaf
L
3166 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3167 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3168 global and hidden.
3169 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3170 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3171 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3172 Likewise.
3173 (__rawmemchr_sse2): Likewise.
3174 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3175 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3176 (__strchr_sse2): Likewise.
3177 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3178 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3179 (__strcasecmp_sse2): Likewise.
3180 (__strncasecmp_sse2): Likewise.
3181 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3182 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3183 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3184 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3185 (__strrchr_sse2): Likewise.
3186 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3187 ifunc-impl-list.c.
3188 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3189 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3190 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3191 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3192 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3193 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3194 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3195 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3196 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3197 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3198 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3199 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3200 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3201 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3202 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3203 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3204 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3205 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3206 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3207 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3208 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3209 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3210 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3211 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3212 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3213 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3214 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3215 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3216 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3217 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3218
b090e8ea
L
3219 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3220 global and hidden.
3221 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3222 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3223 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3224 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3225 Likewise.
3226 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3227 Likewise.
3228 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3229 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3230 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3231 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3232 ifunc-impl-list.c.
3233 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3234 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3235 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3236 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3237 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3238 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3239 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3240 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3241 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3242 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3243 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3244 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3245 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3246 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3247 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3248 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3249 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3250 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3251 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3252 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3253 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3254 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3255 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3256 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3257 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3258 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3259 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3260 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3261 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3262 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3263 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3264 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3265 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3266 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3267 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3268 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3269 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3270 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3271 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3272 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3273 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3274
11dd4af6
L
3275 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3276 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3277 * include/ifunc-impl-list.h: New file.
3278 * misc/ifunc-impl-list.c: Likewise.
3279 * misc/Makefile (routines): Add ifunc-impl-list.
3280 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3281 * string/test-string.h: Include <ifunc-impl-list.h>.
3282 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3283 impl_array): New variables.
3284 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3285 are defined.
3286 (test_init): Call __libc_ifunc_impl_list to initialize
3287 func_list if TEST_IFUNC and TEST_NAME are defined.
3288
9a387d1f
L
3289 * string/Makefile (strop-tests): Add bcopy and bzero.
3290 * string/test-bcopy.c: New file.
3291 * string/test-bzero.c: Likewise.
3292 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3293 defined.
3294 * string/test-memset.c: Support bzero test if TEST_BZERO is
3295 defined.
3296 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3297 __libc_memmove.
3298 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3299 __libc_memset.
3300 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3301 of memset.
3302
472371b9
JM
33032012-10-10 Joseph Myers <joseph@codesourcery.com>
3304
1e4a9536
JM
3305 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3306 * configure: Regenerated.
3307
d173d12e
JM
3308 * Makeconfig (+link-static-before-libc): Don't include
3309 $(link-static-libc).
3310
472371b9
JM
3311 * libio/libio.h (_IO_pos_t): Remove.
3312
89a3ad0b
AO
33132012-10-10 Alexandre Oliva <aoliva@redhat.com>
3314
3315 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3316 McGrath.
3317
e7451425
AO
33182012-10-10 Alexandre Oliva <aoliva@redhat.com>
3319
3320 * crypt/crypt-entry.c: Include fips-private.h.
3321 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3322 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3323 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3324 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3325
4ba74a35
AO
33262012-10-10 Alexandre Oliva <aoliva@redhat.com>
3327
3328 * crypt/crypt-private.h: Include stdbool.h.
3329 (_ufc_setup_salt_r): Return bool.
3330 * crypt/crypt-entry.c: Include errno.h.
3331 (__crypt_r): Return NULL with EINVAL for bad salt.
3332 * crypt/crypt_util.c (bad_for_salt): New.
3333 (_ufc_setup_salt_r): Check that salt is long enough and within
3334 the specified alphabet.
3335 * crypt/badsalttest.c: New file.
3336 * crypt/Makefile (tests): Add it.
3337 ($(objpfx)badsalttest): New.
3338
f96f1242
MK
33392012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3340
3341 * NEWS: Add entry for BZ #14602.
3342
0e8e0c1c
JM
33432012-10-09 Joseph Myers <joseph@codesourcery.com>
3344
3345 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3346 type-generic.
3347 * math/libm-test.inc: Update comment listing what functions and
3348 macros are tested.
3349 (isgreater_test): New function.
3350 (isgreaterequal_test): Likewise.
3351 (isless_test): Likewise.
3352 (islessequal_test): Likewise.
3353 (islessgreater_test): Likewise.
3354 (isunordered_test): Likewise.
3355 (main): Call the new functions.
3356
273edc5e
RM
33572012-10-09 Roland McGrath <roland@hack.frob.com>
3358
b8493de0
RM
3359 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3360 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3361 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3362 * sysdeps/i386/configure: Regenerated.
3363 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3364 * sysdeps/mach/configure: Regenerated.
3365 * sysdeps/mach/hurd/configure: Regenerated.
3366 * sysdeps/powerpc/configure: Regenerated.
3367 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3368 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3369 * sysdeps/s390/s390-32/configure: Regenerated.
3370 * sysdeps/s390/s390-64/configure: Regenerated.
3371 * sysdeps/sh/configure: Regenerated.
3372 * sysdeps/sparc/configure: Regenerated.
3373 * sysdeps/unix/sysv/linux/configure: Regenerated.
3374 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3375 * sysdeps/x86_64/configure: Regenerated.
3376
273edc5e
RM
3377 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3378 defined. Don't check if MAP is NULL.
3379
c8450f70
JM
33802012-10-09 Joseph Myers <joseph@codesourcery.com>
3381
3382 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3383 (_G_stat64): Likewise.
3384 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3385 (_G_stat64): Likewise.
3386 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3387 instead of struct _G_stat64.
3388 * libio/fileops.c (mmap_remap_check): Likewise.
3389 (decide_maybe_mmap): Likewise.
3390 (_IO_new_file_seekoff): Likewise.
3391 (_IO_file_stat): Likewise.
3392 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3393 _G_off64_t.
3394 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3395 instead of struct _G_stat64.
3396 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3397
57e605ba
MK
33982012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3399
3400 [BZ #14602]
3401 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3402 Replace with ...
3403 (CHECK_EOL): New macro.
3404 (two_way_short_needle): Check beginning of haystack for EOL. Use
3405 CHECK_EOL.
3406 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3407 Replace with CHECK_EOL.
3408 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3409 Replace with CHECK_EOL.
3410
ef1bb361
JM
34112012-10-08 Joseph Myers <joseph@codesourcery.com>
3412
3413 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3414 type-generic.
3415 * math/libm-test.inc: Update comment listing what functions and
3416 macros are tested.
3417 (finite_test): New function.
3418 (isinf_test): Likewise.
3419 (isnan_test): Likewise.
3420 (fpclassify_test): Test subnormal input.
3421 (isfinite_test): Likewise.
3422 (isnormal_test): Likewise.
3423 (main): Call the new functions.
3424
55f11534
JN
34252012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3426
3427 [BZ #14660]
3428 * Makerules (%.dynsym): Force C locale when running
3429 $(OBJDUMP) --dynamic-syms.
3430
1ab29350
AS
34312012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3432
3433 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3434 <stdint.h>.
3435
f1ecb7ef
DM
34362012-10-06 David S. Miller <davem@davemloft.net>
3437
3438 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3439 upper 32-bits of the length value in %o2 since we use branch-on-register
3440 tests which consider the entire 64-bit register.
3441
5d41d91a
L
34422012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3443
3444 * string/test-strstr.c (check2): Add a test for page boundary.
3445
3baddb72
DM
34462012-10-05 David S. Miller <davem@davemloft.net>
3447
3448 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3449 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3450 file.
3451 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3452 sysdep_routines.
3453 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3454 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3455 and bzero when HWCAP_SPARC_CRYPTO is present.
3456
9cee5585
L
34572012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3458
d7e0dab9
L
3459 [BZ #14602]
3460 * string/test-strstr.c (check2): New function.
3461 (test_main): Call check2.
3462
03759f47
L
3463 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3464 and bug-strchr1.
3465 * string/bug-strcasestr1.c (do_test): Moved to ...
3466 * string/test-strcasestr.c (check1): Here. New function.
3467 (do_one_test): Break out result checking code into ...
3468 (check_result): This. New function.
3469 (do_one_test): Call check_result.
3470 (test_main): Call check1.
3471 * string/bug-strchr1.c (do_test): Moved to ...
3472 * string/test-strchr.c (check1): Here. New function.
3473 (do_one_test): Break out result checking code into ...
3474 (check_result): This. New function.
3475 (do_one_test): Call check_result.
3476 (test_main): Call check1.
3477 * string/bug-strstr1.c (main): Moved to ...
3478 * string/test-strchr.c (check1): Here. New function.
3479 (do_one_test): Break out result checking code into ...
3480 (check_result): This. New function.
3481 (do_one_test): Call check_result.
3482 (test_main): Call check1.
3483 * string/bug-strcasestr1.c: Removed.
3484 * string/bug-strchr1.c: Likewise.
3485 * string/bug-strstr1.c: Likewise.
3486
53cea63e
L
3487 * elf/Makefile (dl-routines): Add hwcaps.
3488 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3489 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3490 (_dl_important_hwcaps): Moved to ...
3491 * elf/dl-hwcaps.c: Here. New file.
3492 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3493
9cee5585 3494 [BZ #14557]
bb859b06
L
3495 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3496 if IS_IN_rtld isn't defined.
3497
9cee5585
L
3498 * elf/dl-support.c (_dl_sysinfo_map): New.
3499 Include "get-dynamic-info.h" and "setup-vdso.h".
3500 (_dl_non_dynamic_init): Call setup_vdso.
3501 * elf/dynamic-link.h: Don't include <assert.h>.
3502 (elf_get_dynamic_info): Moved to ...
3503 * elf/get-dynamic-info.h: Here. New file.
3504 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3505 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3506 * elf/setup-vdso.h: Here. New file.
3507 * elf/rtld.c: Include "setup-vdso.h".
3508 (dl_main): Call setup_vdso.
3509
23c31b76
JM
35102012-10-05 Joseph Myers <joseph@codesourcery.com>
3511
28234b07
JM
3512 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3513 creal in comment listing functions tested. List finite, isinf,
3514 isnan, isless, islessequal, isgreater, isgreaterequal,
3515 islessgreater, isunordered, lgamma_r and pow10 as functions and
3516 macros not tested. Mention which functions not tested are aliases
3517 for other functions. Fix typo. Note that signs of NaNs are not
3518 tested.
3519
23c31b76
JM
3520 * scripts/config.guess: Update from config.git.
3521 * scripts/config.sub: Likewise.
3522
9043e228
RM
35232012-10-04 Roland McGrath <roland@hack.frob.com>
3524
3525 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3526 * misc/madvise.c (madvise): Renamed to __madvise.
3527 Make madvise a weak alias.
3528 * include/sys/mman.h: Declare __madvise.
3529 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3530 * sysdeps/unix/syscalls.list
3531 (madvise): Make __madvise the strong name, and madvise a weak alias.
3532 * sysdeps/unix/sysv/linux/syscalls.list
3533 (madvise, mmap): Remove redundant entries.
3534 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3535 * malloc/malloc.c (mtrim): Likewise.
3536 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3537
f57f8055
RM
35382012-10-03 Roland McGrath <roland@hack.frob.com>
3539
3540 * sysdeps/mach/hurd/dl-cache.c: File removed.
3541 * config.h.in (USE_LDCONFIG): New #undef.
3542 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3543 * configure: Regenerated.
3544 * elf/Makefile (dl-routines): Add dl-cache only under
3545 [$(use-ldconfig) = yes].
3546 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3547 cache on [USE_LDCONFIG].
3548 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3549 [USE_LDCONFIG].
3550 * elf/rtld.c (dl_main): Likewise.
3551
5bb0c10a
PT
35522012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3553
3554 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3555 _SC_LEVEL4_CACHE_LINESIZE.
3556
010188c6
RM
35572012-10-03 Roland McGrath <roland@hack.frob.com>
3558
3559 * sysdeps/unix/bsd/confstr.h: File removed.
3560
b6c5ec07
AO
35612012-10-02 Alexandre Oliva <aoliva@redhat.com>
3562
3563 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3564 sys/sdt-config.h.
3565
408223d4
RM
35662012-10-02 Roland McGrath <roland@hack.frob.com>
3567
3568 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3569 Make 'mapoff' field ElfW(Off) rather than off_t.
3570
bb9510dc
DL
35712012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3572
fc997c6e
DL
3573 * nscd/Makefile: Remove nscd-cflags and all its users.
3574 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3575 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3576
bb9510dc
DL
3577 [BZ #10631]
3578 * malloc.c (malloc_printerr): Clarify error message.
3579
05699367
L
35802012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3581
3582 [BZ #14648]
3583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3584 Set bit_FMA_Usable if FMA is supported.
3585 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3586 macro.
3587 (bit_FMA4_Usable): Updated.
3588 (index_FMA_Usable): New macro.
3589 (CPUID_FMA): Likewise
3590 (HAS_FMA): Defined with bit_FMA_Usable.
3591
51367701
RM
35922012-10-01 Roland McGrath <roland@hack.frob.com>
3593
3594 * bits/types.h (__swblk_t): Type removed.
3595 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3596 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3597 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3598 (__SWBLK_T_TYPE): Likewise.
3599 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3600 (__SWBLK_T_TYPE): Likewise.
3601 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3602 (__SWBLK_T_TYPE): Likewise.
3603 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3604 (__SWBLK_T_TYPE): Likewise.
3605
4d57bf63 36062012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 3607 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
3608
3609 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3610 (xdr_mapname): Use YPMAXMAP as maxsize.
3611 (xdr_peername): Use YPMAXPEER as maxsize.
3612 (xdr_keydat): Use YPAXRECORD as maxsize.
3613 (xdr_valdat): Use YPMAXRECORD as maxsize.
3614
93c65d43
RM
36152012-10-01 Roland McGrath <roland@hack.frob.com>
3616
497a03d6
RM
3617 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3618
93c65d43
RM
3619 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3620 * csu/init-first.c: ... here.
3621 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3622 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3623 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3624 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3625 * sysdeps/i386/init-first.c: File removed.
3626 * sysdeps/sh/init-first.c: File removed.
3627
bec749fd
JM
36282012-10-01 Joseph Myers <joseph@codesourcery.com>
3629
3630 [BZ #14645]
3631 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3632 if x * y might underflow to zero and z is zero.
3633 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3634 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3635 * math/libm-test.inc (min_subnorm_value): New variable.
3636 (fma_test): Add more tests.
3637 (fma_test_towardzero): Likewise.
3638 (fma_test_downward): Likewise
3639 (fma_test_upward): Likewise.
3640 (initialize): Set min_subnorm_value.
3641
8ec5b013
JM
36422012-09-29 Joseph Myers <joseph@codesourcery.com>
3643
3644 [BZ #14638]
3645 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3646 0 + 0.
3647 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3648 mode for addition resulting in exact zero.
3649 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3650 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3651 exact 0 + 0.
3652 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3653 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3654 * math/libm-test.inc (fma_test): Add more tests.
3655 (fma_test_towardzero): New function.
3656 (fma_test_downward): Likewise.
3657 (fma_test_upward): Likewise.
3658 (main): Call the new functions.
3659
b1fa802e
DM
36602012-09-28 David S. Miller <davem@davemloft.net>
3661
3662 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3663
d3b9fd9e
RM
36642012-09-28 Roland McGrath <roland@hack.frob.com>
3665
ea4d37b3
RM
3666 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3667 instead of SIGALRM.
3668
ac51c949
RM
3669 * sysdeps/gnu/_G_config.h: Moved to ...
3670 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3671 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3672 * sysdeps/generic/_G_config.h: ... here.
3673
28c195f7
RM
3674 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3675
848917f9
RM
3676 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3677
6bacf05b
RM
3678 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3679 Conditionalize target on [libnss_test1.so-version].
3680
91363dbb
RM
3681 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3682
cc87f7d8
RM
3683 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3684 (elfobjdir): Move out of conditionals.
3685
b1c608fe
RM
3686 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3687 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3688 (__nss_lookup_function): Conditionalize label remove_from_tree on
3689 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 3690
1d9a6d96
DM
36912012-09-28 David S. Miller <davem@davemloft.net>
3692
3693 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3694 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3695 file.
3696 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3697 sysdep_routines.
3698 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3699 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3700 when HWCAP_SPARC_CRYPTO is present.
3701
72581615
PT
37022012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3703
3704 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3705
715a900c
JL
37062012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3707
3708 [BZ #6530]
3709 * stdio-common/vfprintf.c (process_string_arg): Revert
3710 2000-07-22 change.
3711
37122011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3713
3714 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3715 for testcase.
3716 * stdio-common/tst-sprintf.c: Include <locale.h>
3717 (main): Test sprintf's handling of incomplete multibyte
3718 characters.
3719
9bac1d86
L
37202012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3721
3722 * elf/dl-runtime.c (VERSYMIDX): Removed.
3723 * elf/dl-version.c (VERSYMIDX): Likewise.
3724 * elf/do-rel.h (VERSYMIDX): Likewise.
3725 (VALIDX): Likewise.
3726 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3727 * elf/rtld.c (VALIDX): Likewise.
3728 (ADDRIDX): Likewise.
9bac1d86
L
3729 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3730 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3731 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
3732 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3733 (VALIDX): Likewise.
3734 (ADDRIDX): Likewise.
9bac1d86 3735
b31606c0
PT
37362012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3737
3738 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3739
11541177
JL
37402012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3741
3742 [BZ #11438]
3743 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3744 to global scope.
3745 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3746 addresses are in the same scope as 192.0.2/24.
3747 * posix/gai.conf: Document new scope table defaults.
3748
adb26fae
SP
37492012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3750
3751 [BZ #5298]
3752 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3753 for ftell. Compute offsets from write pointers instead.
3754 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3755
4573c6b0
SP
37562012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3757
3758 [BZ #14543]
3759 * libio/Makefile (tests): New test case tst-fseek.
3760 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3761 combination works in wide mode.
3762 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3763 state when the external buffer state changes.
3764
aa9bbfe6
DM
37652012-09-27 David S. Miller <davem@davemloft.net>
3766
3767 [BZ #14376]
3768 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3769 pass reloc->r_addend in as the 'high' argument to
3770 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3771
784421e7
DM
3772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3773
c39bc8b8
PT
37742012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3775
3776 * rt/tst-aio2.c: Include <pthread.h>.
3777 * rt/tst-aio3.c: Likewise.
3778
1ccc2399
SE
37792012-09-27 Steve Ellcey <sellcey@mips.com>
3780
3781 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3782
31ed4153
L
37832012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3784
25f5f885
L
3785 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3786 contents on [SHARED].
31ed4153 3787
b7bfe116
MP
37882012-09-26 Marek Polacek <polacek@redhat.com>
3789
3790 [BZ #14530]
3791 [BZ #13741]
3792 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3793 for C++ and GCC <4.3 as well as for non GCC compilers.
3794
43c4edba
MT
37952012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3796
3797 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3798
6a1bf82f
RM
37992012-09-25 Roland McGrath <roland@hack.frob.com>
3800
3801 * Makefile.in (all, install): Declare with .PHONY.
3802 Reported by Michael Hope <michael.hope@linaro.org>.
3803
8ad11b9a
TMQMF
38042012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3805
3806 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3807 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3808 system header.
3809 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3810 Likewise.
3811 (sydep_routines): Add the new and the internal functions.
3812 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3813 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3815 (GLIBC_2.17): Add the new function.
3816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3817 (GLIBC_2.17): Likewise.
3818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3819 (GLIBC_2.17): Likewise.
3820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3821 (GLIBC_2.17): Likewise.
3822 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3823
7e2fca8d
AM
38242012-09-25 Alan Modra <amodra@gmail.com>
3825
3826 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3827 Add release barrier before setting once_control to say
3828 initialisation is done. Add hints on lwarx. Use macro in
3829 place of isync.
3830 (clear_once_control): Add release barrier.
3831
b87c4b24
JM
38322012-09-25 Joseph Myers <joseph@codesourcery.com>
3833
d032e0d2
JM
3834 [BZ #13629]
3835 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3836 specially.
3837 * math/s_clog10.c (__clog10): Likewise.
3838 * math/s_clog10f.c (__clog10f): Likewise.
3839 * math/s_clog10l.c (__clog10l): Likewise.
3840 * math/s_clogf.c (__clogf): Likewise.
3841 * math/s_clogl.c (__clogl): Likewise.
3842 * math/Makefile (libm-calls): Add x2y2m1.
3843 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3844 (__x2y2m1): Likewise.
3845 (__x2y2m1l): Likewise.
3846 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3847 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3848 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3849 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3850 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3851 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3852 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3853 * sysdeps/i386/fpu/libm-test-ulps: Update.
3854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3855
b87c4b24
JM
3856 [BZ #14621]
3857 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3858 int as type of variable DEPTH.
3859 (glob): Use size_t instead of int as type of variables NEWCOUNT
3860 and OLD_PATHC.
3861
6d3bf199
LD
38622012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3863
22bf5c17
LD
3864 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3865 Add s_sincosf-sse2.
3866 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3867 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3868 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3869 macros for using routine as __sincosf_ia32.
3870 Use macro for function declaration and weak_alias.
3871 * sysdeps/i386/fpu/libm-test-ulps: Update.
3872
3873 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3874 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3875
3876 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
3877 subnormal argument.
3878 * math/s_cexpf.c (__cexpf): Likewise.
3879 * math/s_csinf.c (__csinf): Likewise.
3880 * math/s_csinhf.c (__csinhf): Likewise.
3881 * math/s_ctanf.c (__ctanf): Likewise.
3882 * math/s_ctanhf.c (__ctanhf): Likewise.
3883 * math/s_ccosh.c (__ccoshf): Likewise.
3884 * math/s_cexp.c (__cexpl): Likewise.
3885 * math/s_csin.c (__csin): Likewise.
3886 * math/s_csinh.c (__csinh): Likewise.
3887 * math/s_ctan.c (__ctan): Likewise.
3888 * math/s_ctanh.c (ctanh): Likewise.
3889 * math/s_ccoshl.c (__ccoshl): Likewise.
3890 * math/s_cexpl.c (__cexpl): Likewise.
3891 * math/s_csinl.c (__csinl): Likewise.
3892 * math/s_csinhl.c (__csinhl): Likewise.
3893 * math/s_ctanl.c (__ctanl): Likewise.
3894 * math/s_ctanhl.c (__ctanhl): Likewise.
3895
203e5603
JM
38962012-09-25 Joseph Myers <joseph@codesourcery.com>
3897
3898 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3899 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3900 (_IO_off_t): Define to __off_t, not _G_off_t.
3901 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3902 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3903 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3904 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3905 type of __dummy and __dummy2 fields.
3906 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3907 (_G_ssize_t): Likewise.
3908 (_G_off_t): Likewise.
3909 (_G_pid_t): Likewise.
3910 (_G_uid_t): Likewise.
3911 (_G_wchar_t): Likewise.
3912 (_G_wint_t): Likewise.
3913 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3914 (_G_ssize_t): Likewise.
3915 (_G_off_t): Likewise.
3916 (_G_pid_t): Likewise.
3917 (_G_uid_t): Likewise.
3918 (_G_wchar_t): Likewise.
3919 (_G_wint_t): Likewise.
3920 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3921 (_G_ssize_t): Likewise.
3922 (_G_off_t): Likewise.
3923 (_G_pid_t): Likewise.
3924 (_G_uid_t): Likewise.
3925 (_G_wchar_t): Likewise.
3926 (_G_wint_t): Likewise.
3927
9fab36eb
SP
39282012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3929
3930 * malloc/arena.c: Include malloc-sysdep.h.
3931 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3932 is sufficient to shrink the heap or an unmap is needed.
3933 * sysdeps/generic/malloc-sysdep.h: New file. Define
3934 new function check_may_shrink_heap.
3935 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3936 new function check_may_shrink_heap.
3937
2b4f00d1
SP
39382012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3939
3940 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3941 comments.
3942
9a9028b1
DL
39432012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3944
57c69bef
DL
3945 * catgets/test-gencat.sh: Add "set -e".
3946 * elf/tst-pathopt.sh: Likewise.
3947 * grp/tst_fgetgrent.sh: Likewise.
3948 * iconvdata/run-iconv-test.sh: Likewise.
3949 * intl/tst-gettext.sh: Likewise.
3950 * intl/tst-gettext2.sh: Likewise.
3951 * intl/tst-gettext4.sh: Likewise.
3952 * intl/tst-gettext6.sh: Likewise.
3953 * intl/tst-translit.sh: Likewise.
3954 * io/ftwtest-sh: Likewise.
3955 * libio/test-freopen.sh: Likewise.
3956 * malloc/tst-mtrace.sh: Likewise.
3957 * posix/globtest.sh: Likewise.
3958 * posix/tst-getconf.sh: Likewise.
3959 * posix/wordexp-tst.sh: Likewise.
3960 * stdio-common/tst-printf.sh: Likewise.
3961 * stdio-common/tst-unbputc.sh: Likewise.
3962 * stdlib/tst-fmtmsg.sh: Likewise.
3963 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3964 * catgets/Makefile: Do not specify -e option when running
3965 testsuite shell scripts.
3966 * elf/Makefile: Likewise.
3967 * grp/Makefile: Likewise.
3968 * iconvdata/Makefile: Likewise.
3969 * intl/Makefile: Likewise.
3970 * io/Makefile: Likewise.
3971 * libio/Makefile: Likewise.
3972 * malloc/Makefile: Likewise.
3973 * posix/Makefile: Likewise.
3974 * stdio-common/Makefile: Likewise.
3975 * stdlib/Makefile: Likewise.
3976 * sysdeps/x86_64/Makefile: Likewise.
3977
9a9028b1
DL
3978 * io/ftwtest-sh: Add copyright header.
3979 * posix/globtest.sh: Likewise.
3980 * posix/tst-getconf.sh: Likewise.
3981 * posix/wordexp-tst.sh: Likewise.
3982 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3983
ced6f16e
L
39842012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3985
94b32c39
L
3986 [BZ #13679]
3987 * Makeconfig (+link): Defined as $(+link-static) if
3988 $(build-shared) isn't yes.
3989 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3990 isn't yes.
3991 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3992
189e935b
L
3993 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3994
ced6f16e
L
3995 [BZ #14562]
3996 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3997 new chunk size with MALLOC_ALIGN_MASK.
3998
a9f8e53a
JM
39992012-09-24 Joseph Myers <joseph@codesourcery.com>
4000
4001 [BZ #5044]
4002 * stdio-common/printf_fphex.c: Include <stdbool.h> and
4003 <rounding-mode.h>.
4004 (__printf_fphex): Determine rounding using get_rounding_mode and
4005 round_away.
4006 * stdio-common/tst-printf-round.c (struct hex_test): New
4007 structure.
4008 (hex_tests): New variable.
4009 (test_hex_in_one_mode): New function.
4010 (do_test): Also run tests for hex float output.
4011
43153109
JM
40122012-09-21 Joseph Myers <joseph@codesourcery.com>
4013
4014 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4015 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4016 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4017 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4018 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4019 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4020 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4021 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4022
8a26625d
JM
40232012-09-20 Joseph Myers <joseph@codesourcery.com>
4024
4025 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4026 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4027 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4028 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4029
f3fd569c
DL
40302012-09-19 Dmitry V. Levin <ldv@altlinux.org>
4031
4032 [BZ #14579]
4033 * elf/rtld.c (dl_main): Limit the check for self loading to normal
4034 mode only.
4035 * elf/tst-rtld-load-self.sh: New test.
4036 * elf/Makefile: Run it.
4037
63bbedd4
JM
40382012-09-18 Joseph Myers <joseph@codesourcery.com>
4039
4040 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4041 (tst-writev-ENV): Remove.
4042 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4043
626f8b6a
CM
40442012-09-17 Chris Metcalf <cmetcalf@tilera.com>
4045
4046 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4047
b7aaa4d6
JM
40482012-09-17 Joseph Myers <joseph@codesourcery.com>
4049
4050 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4051 unconditional.
4052 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4053 Likewise.
4054 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4055 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4056 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4057 Likewise.
4058
65513990
L
40592012-09-14 H.J. Lu <hongjiu.lu@intel.com>
4060
4061 [BZ #14587]
4062 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4063 * config.make.in (have-cpp-asm-debuginfo): Removed.
4064 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4065 * configure: Regenerated.
4066
784761be
JM
40672012-09-14 Joseph Myers <joseph@codesourcery.com>
4068
4069 [BZ #5044]
4070 * stdio-common/printf_fp.c: Include <stdbool.h> and
4071 <rounding-mode.h>.
4072 (___printf_fp): Determine rounding using get_rounding_mode and
4073 round_away.
4074 * stdio-common/tst-printf-round.c: New file.
4075 * stdio-common/Makefile (tests): Add tst-printf-round.
4076 (link-libm): New variable.
4077 ($(objpfx)tst-printf-round): Depend in $(link-libm).
4078
9503345f
L
40792012-09-13 H.J. Lu <hongjiu.lu@intel.com>
4080
4081 [BZ #14576]
4082 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4083 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4084 Likewise.
4085 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4086 Likewise.
4087
ad35fc00
JM
40882012-09-13 Joseph Myers <joseph@codesourcery.com>
4089
4090 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4091 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4092 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4093 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4094
6c9b0f68
JM
40952012-09-12 Joseph Myers <joseph@codesourcery.com>
4096
4097 [BZ #14518]
4098 * include/rounding-mode.h: New file.
4099 * sysdeps/generic/get-rounding-mode.h: Likewise.
4100 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4101 * stdlib/strtod_l.c: Include <rounding-mode.h>.
4102 (MAX_VALUE): New macro.
4103 (MIN_VALUE): Likewise.
4104 (overflow_value): New function.
4105 (underflow_value): Likewise.
4106 (round_and_return): Use overflow_value and underflow_value to
4107 determine return values in overflow and underflow cases. Use
4108 round_away to determine rounding depending on rounding mode.
4109 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4110 determine return values in overflow and underflow cases.
4111 * stdlib/tst-strtod-round.c: Include <fenv.h>.
4112 (struct test_results): New structure.
4113 (struct test): Use struct test_results to store expected results
4114 for all rounding modes.
4115 (TEST): Include expected results for all rounding modes.
4116 (test_in_one_mode): New function.
4117 (do_test): Use test_in_one_mode to compute and check results.
4118 Check results for all rounding modes.
4119 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4120 $(link-libm).
4121
19fcedd5
AM
41222012-12-09 Allan McRae <allan@archlinux.org>
4123
1e9d84cd 4124 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 4125
8bbfd2f1
JM
41262012-09-11 Joseph Myers <joseph@codesourcery.com>
4127
4128 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4129 (_G_int32_t): Likewise.
4130 (_G_uint16_t): Likewise.
4131 (_G_uint32_t): Likewise.
4132 (_G_HAVE_BOOL): Likewise.
4133 (_G_HAVE_ATEXIT): Likewise.
4134 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4135 (_G_HAVE_IO_FILE_OPEN): Likewise.
4136 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4137 (_G_int32_t): Likewise.
4138 (_G_uint16_t): Likewise.
4139 (_G_uint32_t): Likewise.
4140 (_G_HAVE_BOOL): Likewise.
4141 (_G_HAVE_ATEXIT): Likewise.
4142 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4143 (_G_HAVE_IO_FILE_OPEN): Likewise.
4144 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4145 (_G_int32_t): Likewise.
4146 (_G_uint16_t): Likewise.
4147 (_G_uint32_t): Likewise.
4148 (_G_HAVE_BOOL): Likewise.
4149 (_G_HAVE_ATEXIT): Likewise.
4150 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4151 (_G_HAVE_IO_FILE_OPEN): Likewise.
4152
b1dc5912
L
41532012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4154
4155 * csu/libc-tls.c: Update copyright years.
4156
0e886ef9
JM
41572012-09-10 Joseph Myers <joseph@codesourcery.com>
4158
28361c5e
JM
4159 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4160 [!_G_USING_THUNKS]: Remove conditional code.
4161 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4162 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4163
0e886ef9
JM
4164 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4165 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4166 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4167 (_G_VTABLE_LABEL_PREFIX): Likewise.
4168 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4169 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4170 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4171 (_G_VTABLE_LABEL_PREFIX): Likewise.
4172 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4173 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4174 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4175 (_G_VTABLE_LABEL_PREFIX): Likewise.
4176 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4177
bcba7aa2
L
41782012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4179
4180 * libio/Makefile: Include ../Makeconfig before tests.
4181 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4182 only if $(build-shared) is yes.
4183
06585ee8
L
4184 * iconv/gconv_db.c: Update copyright years.
4185
80ccd52c
LD
41862012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4187
4188 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4189 unwind info if defined PIC. Fix special cases description.
4190 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4191
4192 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4193 DP_HI_MASK entry.
4194 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4195
691bc9c1
L
41962012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4197
3d9b46b3
L
4198 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4199
de2139a9
L
4200 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4201 is NULL.
4202
5ca78dd0
L
4203 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4204 (LDLIBS-tst-chk4): This.
4205 (LDFLAGS-tst-chk5): Renamed to ...
4206 (LDLIBS-tst-chk5): This.
4207 (LDFLAGS-tst-chk6): Renamed to ...
4208 (LDLIBS-tst-chk6): This.
4209 (LDFLAGS-tst-lfschk4): Renamed to ...
4210 (LDLIBS-tst-lfschk4): This.
4211 (LDFLAGS-tst-lfschk5): Renamed to ...
4212 (LDLIBS-tst-lfschk5): This.
4213 (LDFLAGS-tst-lfschk6): Renamed to ...
4214 (LDLIBS-tst-lfschk6): This.
4215
691bc9c1
L
4216 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4217 on $(common-objpfx)soversions.mk.
4218
65cafb1c
JM
42192012-09-07 Joseph Myers <joseph@codesourcery.com>
4220
4221 [BZ #10014]
4222 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4223 example host name.
4224
c78ab094
SP
42252012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4226
4227 * malloc/arena.c (arena_get_retry): New function that gets
4228 another arena for the caller to try its request on.
4229 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4230 current arena cannot fulfill the request.
4231 (__libc_memalign): Likewise.
4232 (__libc_memalign): Likewise.
4233 (__libc_pvalloc): Likewise.
4234 (__libc_calloc): Likewise.
4235
01f49f59
JT
42362012-09-05 John Tobey <john.tobey@gmail.com>
4237
4238 [BZ #13542]
4239 * manual/arith.texi (Operations on Complex): Fix description
4240 of carg branch cut.
4241
4c23fed5
JM
42422012-09-06 Joseph Myers <joseph@codesourcery.com>
4243
1d3c8572
JM
4244 [BZ #10014]
4245 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4246 host name.
4247
4c23fed5
JM
4248 [BZ #10038]
4249 * manual/memory.texi (Memory): Make order of menu items match
4250 order of sections.
4251
04570aaa
L
42522012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4253
4254 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4255 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4256 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4257
b80af2f4
L
42582012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4259
4260 * csu/libc-tls.c (static_dtv): Renamed to ...
4261 (_dl_static_dtv): This. Make it global.
4262 (_dl_initial_dtv): Removed.
4263 (__libc_setup_tls): Updated.
4264 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4265 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4266 DL_INITIAL_DTV.
4267
2abe9f15
PM
42682012-09-06 Petr Machata <pmachata@redhat.com>
4269
4270 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4271 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4272 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4273 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4274
0948c3af
L
42752012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4276
4277 [BZ #14545]
4278 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4279 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4280 freeing dtv[-1].
4281
a5055ad1
L
42822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4283
4284 [BZ #14544]
4285 * Makeconfig (link-static-before-libc): Replace $(+prector)
4286 with $(+prectorT).
4287 (link-static-after-libc): Replace $(+postctor) with
4288 $(+postctorT).
4289 (link-bounded): Replace $(+prector)/$(+postctor) with
4290 $(+prectorT)/$(+postctorT).
4291 (+prectorT): New macro.
4292 (+postctorT): Likewise.
4293
ed8c2ecd
JM
42942012-09-06 Joseph Myers <joseph@codesourcery.com>
4295
4296 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4297 (round_str): Handle values above the maximum for IBM long double
4298 as inexact.
4299 * stdlib/tst-strtod-round.c (tests): Regenerated.
4300
14c996c8
AK
43012012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4302
4303 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4304 assembler flag.
4305 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4306 zarch_nohighgprs around the zarch optimized routines.
4307 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4308 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4309 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4310 for zarch.
4311
430d6ce6
DM
43122012-09-05 David S. Miller <davem@davemloft.net>
4313
4314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4315
ff04dda4
DM
4316 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4317 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4318 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4319 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4320 entries.
4321
24d4e01b
AO
43222012-09-05 Alexandre Oliva <aoliva@redhat.com>
4323
4324 * malloc/arena.c: Fold copyright years.
4325 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4326
61d58174
AO
43272012-09-05 Alexandre Oliva <aoliva@redhat.com>
4328
4329 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4330
20196a5e
AO
43312012-09-05 Alexandre Oliva <aoliva@redhat.com>
4332
4333 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4334
5c447383
AO
43352012-09-05 Alexandre Oliva <aoliva@redhat.com>
4336
4337 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4338 change internal state upon failure.
4339
fad64255
AO
43402012-09-05 Alexandre Oliva <aoliva@redhat.com>
4341
4342 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4343 * malloc/memusage.c (mmap): Likewise.
4344 (mmap64, mremap): Likewise. Adjust name in comment.
4345
1ffb8c90
SP
43462012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4347
4348 * libio/fileops.c: Fix typos in comments.
4349 * libio/oldfileops.c: Likewise.
4350 * libio/wfileops.c: Likewise.
4351
6ef9cc37
SP
43522012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4353
4354 [BZ #1349]
4355 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4356 (tst-malloc-usable-ENV): Set environment for test case.
4357 * malloc/hooks.c (malloc_check_get_size): New function to get
4358 requested size.
4359 * malloc/malloc.c (musable): Use malloc_check_get_size.
4360 * malloc/tst-malloc-usable.c: New test case.
4361
4d038ae3
AS
43622012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4363
4364 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4365
c4e85184
AM
43662012-09-05 Allan McRae <allan@archlinux.org>
4367
b9dafc56 4368 [BZ #13966]
c4e85184
AM
4369 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4370 determine header location.
4371 * configure: Regenerated.
4372
e1343020
AS
43732012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4374
4375 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4376 float format.
4377 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
4378 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4379 format.
e1343020
AS
4380 (test): Regenerate.
4381
0a9f1987
DM
43822012-09-04 David S. Miller <davem@davemloft.net>
4383
4384 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4385 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4386 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4387
29237804
FW
43882012-09-04 Florian Weimer <fweimer@redhat.com>
4389
4390 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4391 failures.
4392
edb3cb88
FW
4393 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4394
60160d83
JM
43952012-09-04 Joseph Myers <joseph@codesourcery.com>
4396
4397 [BZ #9914]
4398 * libio/iogetdelim.c: Include <limits.h>.
4399 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4400 + len + 1 would overflow.
4401
bcd6c8dc
AJ
44022012-09-03 Andreas Jaeger <aj@suse.de>
4403
4404 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4405 * sysdeps/i386/fpu/libm-test-ulps: Update.
4406
4ffffbd2
LD
44072012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4408
4409 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4410 Add s_sinf-sse2, s_conf-sse2.
4411
4412 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4413 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4414 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4415 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4416
4417 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4418 for using routine as __sinf_ia32.
4419 Use macro for function declaration and weak_alias.
4420 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4421 for using routine as __cosf_ia32.
4422 Use macro for function declaration and weak_alias.
4423
4424 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4425 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4426
4427 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4428 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4429 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4430
4431 * math/libm-test.inc (cos_test): Add more test cases.
4432 (sin_test): Likewise.
4433 (sincos_test): Likewise.
4434
511fa286
AK
44352012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4436
4437 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4438 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4439 hidden.
4440 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4441
5f30cfec
L
44422012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4443
4444 [BZ #14538]
4445 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4446 first element of the GOT.
4447 (elf_machine_load_address): Return the difference between
4448 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4449
0786794f
AM
44502012-09-01 Allan McRae <allan@archlinux.org>
4451
5f30cfec
L
4452 [BZ #13412]
4453 * configure.in (AWK): Require gawk version 3.0 or later.
4454 * configure: Regenerated.
0786794f 4455
26889eac
JM
44562012-09-01 Joseph Myers <joseph@codesourcery.com>
4457
4458 * sysdeps/unix/sysv/linux/kernel-features.h
4459 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4460 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4461 [__NR_clock_getres]: Make code unconditional.
4462 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4463 (clock_getcpuclockid): Remove code left unreachable by removal of
4464 conditionals.
4465 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4466 code unconditional.
4467 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4468 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4469 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4470 Make code unconditional.
4471 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4472 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4473 * sysdeps/unix/sysv/linux/clock_settime.c
4474 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4475 conditional code.
4476 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4477 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4478
d22e28b0
L
44792012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4480
4481 [BZ #14476]
4482 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4483 scripts/test-installation.pl.
4484
4485 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4486 and $ld_so_version if it is set.
4487
050af9c4
SP
44882012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4489
4490 [BZ #14516]
4491 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4492 failure if reading from procfs failed.
4493 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4494
ad845c0b
JM
44952012-08-27 Joseph Myers <joseph@codesourcery.com>
4496
4497 * sysdeps/unix/sysv/linux/kernel-features.h
4498 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4499 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4500 Remove conditional code.
4501 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4502 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4503 Remove conditional code.
4504 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4505 * sysdeps/unix/sysv/linux/i386/fxstat.c
4506 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4507 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4508 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4509 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4510 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4511 * sysdeps/unix/sysv/linux/i386/lxstat.c
4512 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4513 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4514 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4515 Remove conditional code.
4516 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4517 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4518 Remove conditional code.
4519 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4520 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4521 <kernel-features.h>.
4522 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4523 Remove.
4524 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4525 Remove conditional code.
4526 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4527 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4528 Remove conditional.
4529
5dbf56af
MF
45302012-08-27 Mike Frysinger <vapier@gentoo.org>
4531
4532 [BZ #5400]
4533 * NEWS: Add fixed bug number.
4534
d6e70f43
JM
45352012-08-27 Joseph Myers <joseph@codesourcery.com>
4536
7efb4737
JM
4537 [BZ #14519]
4538 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4539 underflowing exponent in case of negative sign.
4540 * stdlib/tst-strtod-round-data: Add more tests.
4541 * stdlib/tst-strtod-round.c (tests): Regenerated.
4542
af92131a
JM
4543 [BZ #3479]
4544 * stdlib/strtod_l.c (NDIG): Remove.
4545 (HEXNDIG): Likewise.
4546 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4547 smallest representable value.
4548 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4549 lie within an exact representation of 1/2 ulp of the result.
4550 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4551 unconditionally.
4552 (TENS_P9_IDX): Define unconditionally.
4553 (TENS_P9_SIZE): Likewise.
4554 (TENS_P10_IDX): Likewise.
4555 (TENS_P10_SIZE): Likewise.
4556 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4557 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4558 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4559 entries for 10^2^13 and 10^2^14.
4560 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4561 (TENS_P13_IDX): Define.
4562 (TENS_P13_SIZE): Likewise.
4563 (TENS_P14_IDX): Likewise.
4564 (TENS_P14_SIZE): Likewise.
4565 (_fpioconst_pow10): Change array size to
4566 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4567 unconditional.
4568 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4569 1024]: Add entries for 10^2^13 and 10^2^14.
4570 [LAST_POW10 > _LAST_POW10]: Remove #error.
4571 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4572 (_fpioconst_pow10): Change array size to
4573 FPIOCONST_POW10_ARRAY_SIZE.
4574 * stdlib/gen-fpioconst.c: New file.
4575 * stdlib/gen-tst-strtod-round.c: Likewise.
4576 * stdlib/tst-strtod-round-data: Likewise.
4577 * stdlib/tst-strtod-round.c: Likewise.
4578 * stdlib/Makefile (tests): Add tst-strtod-round.
4579
d6e70f43
JM
4580 [BZ #14459]
4581 * stdlib/strtod_l.c: Include <stdint.h>.
4582 (NDEBUG): Do not define.
4583 (round_and_return): Change EXPONENT parameter to type intmax_t.
4584 Rearrange calculations to avoid internal overflow possibilities.
4585 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4586 Rearrange calculations to avoid internal overflow possibilities.
4587 Assert that number fits inside MPNSIZE limbs.
4588 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4589 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4590 calculations and add assertions to avoid internal overflow
4591 possibilities. Add casts to avoid signed/unsigned operations.
4592 * stdlib/tst-strtod-overflow.c: New file.
4593 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4594
1f529f7d
MP
45952012-08-25 Marek Polacek <polacek@redhat.com>
4596
4597 * time/time.h: Fix some typos in comments.
4598
59a629f1
RM
45992012-08-23 Roland McGrath <roland@hack.frob.com>
4600
4601 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4602 * posix/tst-rfc3484-2.c: Likewise.
4603 * posix/tst-rfc3484-3.c: Likewise.
4604
d3bafbc9
SM
46052012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4606
4607 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4608 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4609
4efcc022
JM
46102012-08-23 Joseph Myers <joseph@codesourcery.com>
4611
4612 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4613 #include of fxstatat64.c.
4614
3cc3ef96
RM
46152012-08-22 Roland McGrath <roland@hack.frob.com>
4616
f04e2132
RM
4617 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4618 * shadow/getspent_r.c: Likewise.
4619 * shadow/getspnam.c: Likewise.
4620 * shadow/getspnam_r.c: Likewise.
4621 * gshadow/getsgent.c: Likewise.
4622 * gshadow/getsgent_r.c: Likewise.
4623 * gshadow/getsgnam.c: Likewise.
4624 * gshadow/getsgnam_r.c: Likewise.
4625 * inet/getnetbyad.c: Likewise.
4626 * inet/getnetbyad_r.c: Likewise.
4627 * inet/getnetbynm.c: Likewise.
4628 * inet/getnetbynm_r.c: Likewise.
4629 * inet/getnetent.c: Likewise.
4630 * inet/getnetent_r.c: Likewise.
4631 * inet/getproto.c: Likewise.
4632 * inet/getproto_r.c: Likewise.
4633 * inet/getprtent.c: Likewise.
4634 * inet/getprtent_r.c: Likewise.
4635 * inet/getprtname.c: Likewise.
4636 * inet/getprtname_r.c: Likewise.
4637 * inet/getrpcbyname.c: Likewise.
4638 * inet/getrpcbyname_r.c: Likewise.
4639 * inet/getrpcbynumber.c: Likewise.
4640 * inet/getrpcbynumber_r.c: Likewise.
4641 * inet/getrpcent.c: Likewise.
4642 * inet/getrpcent_r.c: Likewise.
4643 * inet/getaliasent.c: Likewise.
4644 * inet/getaliasent_r.c: Likewise.
4645 * inet/getaliasname.c: Likewise.
4646 * inet/getaliasname_r.c: Likewise.
4647 * nscd/getgrgid_r.c: Likewise.
4648 * nscd/getgrnam_r.c: Likewise.
4649 * nscd/gethstbyad_r.c: Likewise.
4650 * nscd/gethstbynm3_r.c: Likewise.
4651 * nscd/getpwnam_r.c: Likewise.
4652 * nscd/getpwuid_r.c: Likewise.
4653 * nscd/getsrvbynm_r.c: Likewise.
4654 * nscd/getsrvbypt_r.c: Likewise.
4655 * nscd/gai.c: Likewise.
4656
c53d909c
RM
4657 * configure.in (build_nscd): New substituted variable, set
4658 by --disable-build-nscd and defaults to $use_nscd.
4659 * configure: Regenerated.
4660 * config.make.in (build-nscd): New substituted variable.
4661 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4662 Change conditional to require [$(build-nscd) = yes] as well.
4663 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4664
3cc3ef96
RM
4665 [BZ# 13696]
4666 * configure.in (use_nscd): New substituted variable, set by
4667 --disable-nscd. If enabled, define USE_NSCD.
4668 * configure: Regenerated.
4669 * config.h.in: Add USE_NSCD.
4670 * config.make.in (use-nscd): New substituted variable.
4671 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4672 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4673 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4674 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4675 (CFLAGS-getgrnam_r.c): Likewise.
4676 (CFLAGS-initgroups.c): Likewise.
4677 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4678 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4679 Variables removed.
4680 * inet/getnetgrent_r.c
4681 (nscd_setnetgrent): New function, broken out of ...
4682 (setnetgrent): ... here. Call it.
4683 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4684 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4685 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4686 * nscd/Makefile (routines, aux): Move definitions after include of
4687 Makeconfig. Conditionalize on [$(use-nscd) != no].
4688 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4689 Conditionalize on [USE_NSCD].
4690 (is_nscd, nscd_init_cb): Likewise.
4691 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4692 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4693 * nss/nss_db/db-init.c: Likewise.
4694 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4695 [USE_NSCD].
4696 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4697 (make_request): Use it.
4698 (cache_valid_p): New function.
4699 (__check_pf): Use it.
4700 * NEWS: Add item for --disable-nscd.
4701
07e51550
DL
47022012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4703
4704 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4705 to support sed >= 4.2.1-20-ga9bf076.
4706 * configure: Regenerated.
4707
35a5b08b
RM
47082012-08-22 Roland McGrath <roland@hack.frob.com>
4709
4710 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4711 Conditionalize whole body on [IREL].
4712
8479f23a
JL
47132012-08-22 Jeff Law <law@redhat.com>
4714
4715 [BZ #14505]
4716 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4717 if the family is PF_UNSPEC.
4718
48da0b21
MF
47192012-08-22 Mike Frysinger <vapier@gentoo.org>
4720
4721 * Makerules (lib-version): Rename from V.
4722 (install-lib-nosubdir): Change V to lib-version.
4723
15d0da8c
WS
47242012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4725
4726 [BZ #14252]
4727 * powerpc32/power6/wcschr.c: New file.
4728 * powerpc32/power6/wcscpy.c: New file.
4729 * powerpc32/power6/wcsrchr.c: New file.
4730 * powerpc64/power6/wcschr.c: New file.
4731 * powerpc64/power6/wcscpy.c: New file.
4732 * powerpc64/power6/wcsrchr.c: New file.
4733
bcca0895
MK
47342012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4735
4736 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4737 (two_way_short_needle): Use it.
5a4aaa33
RM
4738 * string/strstr.c (AVAILABLE1_USES_J): Define.
4739 * string/strcasestr.c: Likewise.
99677e57
MK
4740
4741 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4742 array references.
4743 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4744
400726de
MK
4745 [BZ #11607]
4746 * NEWS: Add an entry.
4747 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4748 define their defaults.
4749 (two_way_short_needle): Detect end-of-string on-the-fly.
4750 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4751 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4752 * string/bug-strcasestr1.c: New test.
4753 * string/Makefile: Run it.
4754
20a71f2c
MK
47552012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4756
4757 [BZ #11607]
4758 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4759 the first character.
4760
21ad0558
RM
47612012-08-21 Roland McGrath <roland@hack.frob.com>
4762
4763 * csu/elf-init.c (__libc_csu_irel): Function removed.
4764 * csu/libc-start.c (apply_irel): New function.
4765 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4766
0e1d9911
JM
47672012-08-21 Joseph Myers <joseph@codesourcery.com>
4768
4769 * sysdeps/unix/sysv/linux/kernel-features.h
4770 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4771 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4772 <kernel-features.h>.
4773 [__NR_fadvise64_64]: Make code unconditional.
4774 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4775 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4776 !__NR_fadvise64_64)]: Likewise.
4777 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4778 !__NR_fadvise64_64))]: Likewise.
4779 [__NR_fadvise64]: Make code unconditional.
4780 [!__NR_fadvise64]: Remove conditional code.
4781 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4782 <kernel-features.h>.
4783 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4784 unconditional.
4785 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4786 conditional code.
4787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4788 not include <kernel-features.h>.
4789 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4790 unconditional.
4791 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4792 conditional code.
4793 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4794 include <kernel-features.h>.
4795 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4796 unconditional.
4797 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4798 conditional code.
4799
14a50c9d
WS
48002012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4801
4802 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4803 slight instruction rearrangements per scrollpipe analysis.
4804 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4805
c0f4faf0
RM
48062012-08-20 Roland McGrath <roland@hack.frob.com>
4807
696da859
RM
4808 * manual/syslog.texi (syslog; vsyslog, closelog):
4809 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4810 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4811
c0f4faf0
RM
4812 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4813 DSOCAPS to match condition on defining it.
4814
348363b2
JM
48152012-08-20 Joseph Myers <joseph@codesourcery.com>
4816
a35cbf28
JM
4817 * sysdeps/unix/sysv/linux/kernel-features.h
4818 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4820 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4821 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4823 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4824 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4826 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4827 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4828
445f7ecd
JM
4829 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4830 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4831
348363b2
JM
4832 * sysdeps/unix/sysv/linux/kernel-features.h
4833 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4834 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4835 unconditional.
4836 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4837 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4838 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4839 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4840 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4841 Make code unconditional.
4842 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4843 (__mmap64) [!__NR_mmap2]: Likewise.
4844 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4845 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4846 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4847 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4848 [__NR_mmap2]: Make code unconditional.
4849 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4850 (__mmap64) [!__NR_mmap2]: Likewise.
4851
bc5bc0e5
AK
48522012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4853
4854 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4855
88d506de
AJ
48562012-08-18 Andreas Jaeger <aj@suse.de>
4857
4858 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4859
493387d2
MF
48602012-08-18 Mike Frysinger <vapier@gentoo.org>
4861
4862 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4863 * include/unistd.h (__have_sock_cloexec): Likewise.
4864 (__have_pipe2): Likewise.
4865 (__have_dup3): Likewise.
4866
a277af22
MF
48672012-08-18 Mike Frysinger <vapier@gentoo.org>
4868
4869 [BZ #9685]
4870 * include/unistd.h (__have_pipe2): Change define into an extern int.
4871 (__have_dup3): Likewise.
4872 * socket/have_sock_cloexec.c: Include fcntl.h.
4873 (__have_pipe2): New variable.
4874 (__have_dup3): Likewise.
4875
fdab8fd3
MF
48762012-08-17 Mike Frysinger <vapier@gentoo.org>
4877
4878 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4879
31035e80
MP
48802012-08-17 Marek Polacek <polacek@redhat.com>
4881
4882 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4883 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4884
3bd9e993
RM
48852012-08-17 Roland McGrath <roland@hack.frob.com>
4886
c91c505f
RM
4887 * configure.in: Add AC_SUBST for sysheaders.
4888 * configure: Regenerated.
4889 * config.make.in (sysheaders): New substituted variable.
4890
7c6f9d53
RM
4891 * sysdeps/unix/mkfifo.c: Moved ...
4892 * sysdeps/posix/mkfifo.c: ... here.
4893 * sysdeps/unix/mkfifoat.c: Moved ...
4894 * sysdeps/posix/mkfifoat.c: ... here.
4895
4896 * sysdeps/unix/utime.c: Moved ...
4897 * sysdeps/posix/utime.c: ... here.
4898
4899 * sysdeps/unix/time.c: Moved ...
4900 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
4901 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4902 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
4903
4904 * sysdeps/unix/nice.c: Moved ...
4905 * sysdeps/posix/nice.c: ... here.
4906
4907 * sysdeps/unix/alarm.c: Moved ...
4908 * sysdeps/posix/alarm.c: ... here.
4909
3bd9e993
RM
4910 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4911
d1f09384
JL
49122012-08-17 Jeff Law <law@redhat.com>
4913
4914 * intl/Makefile (codeset_mo): New variable.
4915 ($(codeset_mo)): New target.
4916 (tst-codeset.out): Depend on that. Remove explicit rule.
4917 (tst-gettext3.out, tst-gettext5.out): Likewise.
4918 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4919 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4920 * intl/tst-codeset.sh: Remove.
4921 * intl/tst-gettext3.sh: Likewise.
4922 * intl/tst-gettext5.sh: Likewise.
4923
2ae1ae5c
RM
49242012-08-17 Roland McGrath <roland@hack.frob.com>
4925
c31fdb83
RM
4926 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4927 * sysdeps/unix/syscalls.list: ... here.
4928
a0844057
RM
4929 * sysdeps/posix/getaddrinfo.c
4930 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4931 (gaiconf_init, gaiconf_reload): Use them.
4932 [!_STATBUF_ST_NSEC]
4933 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4934 Define using time_t rather than struct timespec.
4935
750c1f2a
RM
4936 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4937 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4938 Macros removed.
4939 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4940 [!NO_THREADS].
4941 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4942 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4943 Likewise.
4944
2ae1ae5c
RM
4945 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4946 __libc_cleanup_push argument.
4947
e66a42f5
RM
4948 * bits/param.h: New file.
4949 * misc/sys/param.h: New file.
4950 * include/sys/param.h: New file.
4951 * misc/Makefile (headers): Add bits/param.h.
4952 * sysdeps/generic/sys/param.h: File removed.
4953 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4954 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4955 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 4956 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 4957
b7c08a66
RM
4958 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4959 last change.
4960
b2e1c562
RM
4961 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4962 [_IO_MTSAFE_IO].
4963 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4964 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4965 New macros.
4966
c75ccd4c
RM
4967 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4968 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4969 rather than -D_IO_MTSAFE_IO conditionally.
4970 * stdio-common/Makefile (CPPFLAGS): Likewise.
4971 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4972 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4973 Use $(libio-mtsafe).
4974 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4975 of -D_IO_MTSAFE_IO.
4976 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4977 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4978 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4979 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4980 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4981 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4982 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4983 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4984 (CFLAGS-fread_u_chk.c): Likewise.
4985 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4986 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4987 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4988 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4989 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4990 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4991 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4992 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4993 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4994
4995 * libio/Makefile: Test [$(libc-reentrant) = yes]
4996 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4997
4998 * Makeconfig
4999 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5000 * sysdeps/pthread/configure: File removed.
5001 * sysdeps/pthread/Makeconfig: New file.
5002 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5003 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5004
d9195db8
GB
50052012-08-16 Gary Benson <gbenson@redhat.com>
5006
5007 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5008 unmapping the first object in a namespace.
5009
86466cd9
RM
50102012-08-16 Roland McGrath <roland@hack.frob.com>
5011
5012 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5013 (__internal_setnetgrent): ... this. Add internal_function to
5014 definition. Add libc_hidden_def.
5015 (setnetgrent): Update caller.
5016 (internal_endnetgrent): Renamed to ...
5017 (__internal_endnetgrent): ... this. Add internal_function to
5018 definition. Add libc_hidden_def.
5019 (endnetgrent): Update caller.
5020 (internal_getnetgrent_r): Renamed to ...
5021 (__internal_getnetgrent_r): ... this. Add internal_function to
5022 definition. Add libc_hidden_def.
5023 (__getnetgrent_r): Update caller.
5024 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
5025
c3c8283c
JM
50262012-08-16 Joseph Myers <joseph@codesourcery.com>
5027
5028 * stdlib/longlong.h: Update from GCC.
5029
db1ee0a8
RM
50302012-08-16 Roland McGrath <roland@hack.frob.com>
5031
5032 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5033 on _QL, which is set by umul_ppmm but never used.
5034 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5035 variables, which are set by GMP macros but never used.
5036 * stdio-common/_itowa.c (_itowa): Likewise.
5037 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5038 * stdlib/mod_1.c (mpn_mod_1): Likewise.
5039
30f69637
CD
50402012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
5041
5042 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5043 struct La_sh_regs is not constant.
5044 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5045 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5046 and struct La_sparc64_regs are not constant.
5047
93a78ac4
JM
50482012-08-16 Joseph Myers <joseph@codesourcery.com>
5049
5050 * sysdeps/unix/sysv/linux/kernel-features.h
5051 (__ASSUME_POSIX_TIMERS): Remove.
5052 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5053 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5054 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5055 Make code unconditional.
5056 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5057 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5058 Make code unconditional.
5059 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5060 * sysdeps/unix/sysv/linux/clock_nanosleep.c
5061 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5062 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5063 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5064 Make code unconditional.
5065 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5066 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5067 (__libc_missing_posix_timers): Remove.
5068
dd924cd7
RM
50692012-08-15 Roland McGrath <roland@hack.frob.com>
5070
4b4f2771
RM
5071 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5072 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5073
601c888b
RM
5074 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5075
176790a7
RM
5076 * elf/dl-sym.c: Include <stdlib.h>.
5077
329bc018
RM
5078 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5079 constants, which avoids warnings in 32-bit builds.
5080
e04e272d
RM
5081 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5082 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5083
952bf94a
RM
5084 * misc/lseek.c: File moved to ...
5085 * io/lseek.c: ... here.
5086
7c99b50a
RM
5087 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5088
dd924cd7
RM
5089 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5090 shifting LEN more than 31 bits at once.
5091
b3f479a8
LD
50922012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5093
5094 [BZ #14195]
8c4ae0d4
RM
5095 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5096 segmentation fault for a case of two empty input strings.
b3f479a8
LD
5097 * string/test-strncasecmp.c (check1): Renamed to...
5098 (bz12205): ...this.
5099 (bz14195): Add new testcase for two empty input strings and N > 0.
5100 (test_main): Call new testcase, adapt for renamed function.
5101
9c55864e
AJ
51022012-08-15 Andreas Jaeger <aj@suse.de>
5103
5104 [BZ #14090]
5105 * crypt/md5test2.c: New test, based on test supplied by Serge
5106 Belyshev <belyshev@depni.sinp.msu.ru>.
5107 * crypt/Makefile (xtests): Add md5test-giant..
5108 * crypt/Makefile ($(objpfx)md5test-giant): Add.
5109
02dcb6c5
PE
51102012-08-15 Paul Eggert <eggert@cs.ucla.edu>
5111
5112 [BZ #14090]
5113 * crypt/md5.c (md5_process_block): Don't assume the buffer
5114 length is less than 2**32.
5115 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5116 length is less than 2**64.
5117
a3f95dcc
RM
51182012-08-15 Roland McGrath <roland@hack.frob.com>
5119
be75d758
RM
5120 * string/str-two-way.h: Include <sys/param.h>.
5121 (MAX): Macro removed.
5122
7312ca90
RM
5123 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5124 Move #define and #undef of memmove to just before and after
5125 including <string.h>.
5126
9a0a5486
RM
5127 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5128 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5129 and after including <string.h>. Move declarations of
5130 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5131 to before #include "string/memmove.c".
5132
67cc348d
RM
5133 * include/dirent.h: Declare __getdirentries.
5134
a3f95dcc
RM
5135 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5136 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5137
ca98e171
MF
51382012-08-14 Mike Frysinger <vapier@gentoo.org>
5139
5140 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5141 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5142 * sysdeps/i386/configure: Regenerated.
5143 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5144 STABS_CURRENT_FILE, and STABS_FUN.
5145 (END): Remove call to STABS_FUN_END.
5146 (STABS_CURRENT_FILE1): Delete.
5147 (STABS_CURRENT_FILE): Likewise.
5148 (STABS_FUN): Likewise.
5149 (STABS_FUN_END): Likewise.
5150 (STABS_FUN2): Likewise.
5151 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5152 * sysdeps/x86_64/configure: Regenerated.
5153
5908bf46
RM
51542012-08-14 Roland McGrath <roland@hack.frob.com>
5155
5156 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 5157 * elf/dl-lookup.c: Likewise.
5908bf46 5158
f2c05b9e
JM
51592012-08-14 Joseph Myers <joseph@codesourcery.com>
5160
5161 * sysdeps/unix/sysv/linux/kernel-features.h
5162 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5163 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5164 unconditionally.
5165 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5166 unconditionally.
5167 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5168 condition on __ASSUME_CLONE_THREAD_FLAGS.
5169
e11f5155
AJ
51702012-08-14 Andreas Jaeger <aj@suse.de>
5171
5172 * sysdeps/i386/fpu/libm-test-ulps: Update.
5173
51a9ba86
MK
51742012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5175
2fdd4f78
AJ
5176 * include/atomic.h (atomic_exchange_and_add): Split into ...
5177 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5178 New atomic macros.
51a9ba86 5179
ba6cba9e
MT
51802012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5181
5182 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5183
42443a47
JL
51842012-08-13 Jeff Law <law@redhat.com>
5185
5186 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5187 null byte in the output string.
5188
121dce05
JM
51892012-08-10 Joseph Myers <joseph@codesourcery.com>
5190
5191 * sysdeps/unix/sysv/linux/kernel-features.h
5192 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5193 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5194 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5195 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5196 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5197 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5198 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5199
bf51f568
JL
52002012-08-09 Jeff Law <law@redhat.com>
5201
5202 [BZ #13939]
5203 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5204 When avoid_arena is set, don't retry in the that arena. Pick the
5205 next one, whatever it might be.
5206 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5207 (arena_lock): Pass in new parameter to arena_get2.
5208 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5209 arena_get2.
5210 (__libc_malloc): Unify retrying after main arena failure with
5211 __libc_memalign version.
5212 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5213
f85fa270
L
52142012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5215
5216 [BZ #14166]
5217 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5218 to __redirect_strstr.
5219 (__strstr_sse42): Use typeof __redirect_strstr.
5220 (__strstr_ia32): Likewise.
5221 (__libc_strstr): New prototype.
5222 (strstr): Renamed to ...
5223 (__libc_strstr): This.
5224 (strstr): New strong alias of __libc_strstr.
5225 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5226 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5227 __redirect_time.
5228 Include <time.h>.
5229 (__libc_time): New prototype.
5230 (time_ifunc): Replace time with __libc_time.
5231 (time): New strong alias and hidden definition of __libc_time.
5232 (__GI_time): Remove strong alias.
5233 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5234 Include <stddef.h>.
5235 (memmove): Redefined to __redirect_memmove.
5236 (__memmove_sse2): Use typeof __redirect_memmove.
5237 (__memmove_ssse3): Likewise.
5238 (__memmove_ssse3_back): Likewise.
5239 (__libc_memmove): New prototype.
5240 (memmove): Renamed to ...
5241 (__libc_memmove): This.
5242 (memmove): New strong alias of __libc_memmove.
5243
33b4a91e
MS
52442012-08-08 Mark Salter <msalter@redhat.com>
5245
5246 * elf/elf.h
5247 (R_MN10300_TLS_GD): Define.
5248 (R_MN10300_TLS_LD): Likewise.
5249 (R_MN10300_TLS_LDO): Likewise.
5250 (R_MN10300_TLS_GOTIE): Likewise.
5251 (R_MN10300_TLS_IE): Likewise.
5252 (R_MN10300_TLS_LE): Likewise.
5253 (R_MN10300_TLS_DTPMOD): Likewise.
5254 (R_MN10300_TLS_DTPOFF): Likewise.
5255 (R_MN10300_TLS_TPOFF): Likewise.
5256 (R_MN10300_SYM_DIFF): Likewise.
5257 (R_MN10300_ALIGN): Likewise.
5258 (R_MN10300_NUM): Update.
5259
b36137f1
JM
52602012-08-08 Joseph Myers <joseph@codesourcery.com>
5261
5262 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5263 Remove.
5264
cdd915fd
RM
52652012-08-08 Roland McGrath <roland@hack.frob.com>
5266
a2433aac
RM
5267 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5268
cdd915fd
RM
5269 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5270 sysdeps/unix -> sysdeps/posix move.
5271 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5272
bf9b740a
AM
52732012-08-07 Allan McRae <allan@archlinux.org>
5274
5275 [BZ #14303]
5276 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5277 (SUNOS_CPP): Likewise.
5278 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5279 not found.
5280 (open_input): Call CPP using execvp.
5281
93df14ee
JM
52822012-08-07 Joseph Myers <joseph@codesourcery.com>
5283
5284 * sysdeps/unix/sysv/linux/kernel-features.h
5285 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5286 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5287 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5288 (__ASSUME_WAITID_SYSCALL): Likewise.
5289 * sysdeps/unix/sysv/linux/dl-execstack.c
5290 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5291 code unconditional.
5292 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5293 conditional code.
5294 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5295 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5296 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5297 code.
5298 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5299 unconditional.
5300 [__ASSUME_WAITID_SYSCALL]: Likewise.
5301 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5302
d34689de
RM
53032012-08-07 Roland McGrath <roland@hack.frob.com>
5304
a281decc
RM
5305 * sysdeps/unix/closedir.c: Renamed to ...
5306 * sysdeps/posix/closedir.c: ... here.
5307 * sysdeps/unix/dirfd.c: Renamed to ...
5308 * sysdeps/posix/dirfd.c: ... here.
5309 * sysdeps/unix/dirstream.h: Renamed to ...
5310 * sysdeps/posix/dirstream.h: ... here.
5311 * sysdeps/unix/fdopendir.c: Renamed to ...
5312 * sysdeps/posix/fdopendir.c: ... here.
5313 * sysdeps/unix/opendir.c: Renamed to ...
5314 * sysdeps/posix/opendir.c: ... here.
5315 * sysdeps/unix/readdir.c: Renamed to ...
5316 * sysdeps/posix/readdir.c: ... here.
5317 * sysdeps/unix/readdir_r.c: Renamed to ...
5318 * sysdeps/posix/readdir_r.c: ... here.
5319 * sysdeps/unix/rewinddir.c: Renamed to ...
5320 * sysdeps/posix/rewinddir.c: ... here.
5321 * sysdeps/unix/seekdir.c: Renamed to ...
5322 * sysdeps/posix/seekdir.c: ... here.
5323 * sysdeps/unix/telldir.c: Renamed to ...
5324 * sysdeps/posix/telldir.c: ... here.
5325 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5326 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5327 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5328 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5329
22895b47
RM
5330 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5331 * bits/fcntl.h: ... here.
5332
707a53b6
RM
5333 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5334 not 0.
5335 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5336 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5337 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5338 (struct flock): Move l_start, l_len to the beginning.
5339 Use __pid_t for l_pid.
5340 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5341 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5342 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5343 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5344 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5345 [__USE_LARGEFILE64] (struct flock64): New type.
5346 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5347
f0bd3e25
RM
5348 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5349 * bits/dirent.h: ... here.
5350
d34689de
RM
5351 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5352 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5353
6dad2c06
JM
53542012-08-07 Joseph Myers <joseph@codesourcery.com>
5355
5356 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5357 Change from 2.6.0 to 2.6.16.
5358 * sysdeps/unix/sysv/linux/configure: Regenerated.
5359 * sysdeps/unix/sysv/linux/kernel-features.h
5360 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5361 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5362 version.
5363 (__ASSUME_UTIMES): Likewise.
5364 (__ASSUME_CLONE_STOPPED): Remove.
5365 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5366 architectures, not kernel version.
5367 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5368 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5369 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5370 (__ASSUME_WAITID_SYSCALL): Likewise.
5371 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5372 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5373 * README: State 2.6.16 as minimum Linux kernel version. Do not
5374 refer to older versions.
5375
03af9520
RM
53762012-08-06 Roland McGrath <roland@hack.frob.com>
5377
8e49df1d
RM
5378 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5379 Define alphasort64 as an alias.
5380 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5381 Define versionsort64 as an alias.
5382 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5383 Define scandir64 as an alias.
5384 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5385 Define scandirat64 as an alias.
5386 * dirent/alphasort64.c (alphasort64):
5387 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5388 * dirent/versionsort64.c: Likewise.
5389 * dirent/scandir64.c: Likewise.
5390 * dirent/scandirat64.c: Likewise.
5391 * sysdeps/wordsize-64/alphasort.c: File removed.
5392 * sysdeps/wordsize-64/alphasort64.c: File removed.
5393 * sysdeps/wordsize-64/scandir.c: File removed.
5394 * sysdeps/wordsize-64/scandir64.c: File removed.
5395 * sysdeps/wordsize-64/scandirat.c: File removed.
5396 * sysdeps/wordsize-64/scandirat64.c: File removed.
5397 * sysdeps/wordsize-64/versionsort.c: File removed.
5398 * sysdeps/wordsize-64/versionsort64.c: File removed.
5399 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5400 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5401 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5402 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5403 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5404 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5405 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5406 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5407
5408 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5409 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5410 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5411 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5412 [defined __arch64__ || defined __sparcv9]
5413 (__INO_T_MATCHES_INO64_T): New macro.
5414 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5415 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5416 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5417 * sysdeps/unix/sysv/linux/bits/dirent.h
5418 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5419 (_DIRENT_MATCHES_DIRENT64): New macro.
5420
03af9520
RM
5421 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5422 Define lockf64 as an alias.
5423 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5424 Define fseeko64 as an alias.
5425 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5426 Define ftello64 as an alias.
5427 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5428 Define _IO_fgetpos64 and fgetpos64 as aliases.
5429 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5430 Define _IO_fsetpos64 and fsetpos64 as aliases.
5431 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5432 Conditionalize body on this.
5433 * libio/fseeko64.c: Likewise.
5434 * libio/ftello64.c: Likewise.
5435 * libio/iofgetpos64.c: Likewise.
5436 * libio/iofsetpos64.c: Likewise.
5437 * sysdeps/wordsize-64/lockf.c: File removed.
5438 * sysdeps/wordsize-64/lockf64.c: File removed.
5439 * sysdeps/wordsize-64/fseeko.c: File removed.
5440 * sysdeps/wordsize-64/fseeko64.c: File removed.
5441 * sysdeps/wordsize-64/ftello.c: File removed.
5442 * sysdeps/wordsize-64/ftello64.c: File removed.
5443 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5444 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5445 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5446 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5447 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5448 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5449 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5450 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5451 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5452 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5453 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5454 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5455 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5456 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5457
5458 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5459 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5460 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5461 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5462 [defined __arch64__ || defined __sparcv9]
5463 (__OFF_T_MATCHES_OFF64_T): New macro.
5464 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5465 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5466 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5467 (__OFF_T_MATCHES_OFF64_T): New macro.
5468
c5757acd
L
54692012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5470
5471 * stdlib/secure-getenv.c (__secure_getenv): Replace
5472 GLIBC_2_16 with GLIBC_2_17.
5473
3a31811e
L
54742012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5475
5476 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5477 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5478
faa2bccb
DM
54792012-08-03 David S. Miller <davem@davemloft.net>
5480
5481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5482
85fe1997
JM
54832012-08-03 Joseph Myers <joseph@codesourcery.com>
5484
5485 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5486 Remove.
5487 (__ASSUME_CORRECT_SI_PID): Likewise.
5488 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5489 (__ASSUME_TMPFS_NAME): Likewise.
5490 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5491 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5492 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5493 (HAVE_AUX_SECURE): Make definition unconditional.
5494 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5495 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5496
4f75b7a0
RM
54972012-08-03 Roland McGrath <roland@hack.frob.com>
5498
5499 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5500 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5501 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5502 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5503 __eloop_threshold instead of SYMLOOP_MAX.
5504
5505 * sysdeps/generic/eloop-threshold.h: New file.
5506 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5507 of MAXSYMLINKS.
5508 * elf/chroot_canon.c (chroot_canon): Likewise.
5509
7aab07e4
JM
55102012-08-03 Joseph Myers <joseph@codesourcery.com>
5511
5512 [BZ #13717]
5513 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5514 Change to 2.6.0 everywhere.
5515 * sysdeps/unix/sysv/linux/configure: Regenerated.
5516 * sysdeps/unix/sysv/linux/kernel-features.h
5517 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5518 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5519 kernel versions.
5520 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5521 (__ASSUME_FUTEX_REQUEUE): Remove.
5522 (__ASSUME_STATFS64): Define unconditionally.
5523 (__ASSUME_AT_SECURE): Likewise.
5524 (__ASSUME_CORRECT_SI_PID): Likewise.
5525 (__ASSUME_TGKILL): Define without depending on kernel version for
5526 i386.
5527 (__ASSUME_UTIMES): Likewise.
5528 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5529 kernel version.
5530 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5531 (__ASSUME_TMPFS_NAME): Likewise.
5532 * README: Update reference to Linux kernel versions.
5533
b67e9372
MP
55342012-08-02 Marek Polacek <polacek@redhat.com>
5535
1f529f7d 5536 [BZ# 14150]
b67e9372
MP
5537 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5538 libc_cv_asm_type_prefix with %.
5539 * configure: Regenerated.
d2441631
RM
5540 * include/libc-symbols.h: Remove comment about
5541 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
5542 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5543 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5544 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5545 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5546 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5547 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5548 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5549 * elf/tst-unique2mod1.c: Likewise.
5550 * elf/tst-unique1mod2.c: Likewise.
5551 * elf/tst-unique1mod1.c: Likewise.
5552 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5553 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5554 Replace ASM_TYPE_DIRECTIVE with .type.
5555 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5556 * sysdeps/i386/sysdep.h: Likewise.
5557 * sysdeps/x86_64/sysdep.h: Likewise.
5558 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
5559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5560 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 5561 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
5562 * sysdeps/powerpc/powerpc32/sysdep.h:
5563 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
5564 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5565 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5566 * sysdeps/i386/fpu/e_powf.S: Likewise.
5567 * sysdeps/i386/fpu/e_expl.S: Likewise.
5568 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5569 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5570 * sysdeps/i386/fpu/e_pow.S: Likewise.
5571 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5572 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5573 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5574 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5575 * sysdeps/i386/fpu/e_log2.S: Likewise.
5576 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5577 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5578 * sysdeps/i386/fpu/e_powl.S: Likewise.
5579 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5580 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5581 * sysdeps/i386/fpu/e_logl.S: Likewise.
5582 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5583 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5584 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5585 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5586 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5587 * sysdeps/i386/fpu/e_log.S: Likewise.
5588 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5589 * sysdeps/i386/fpu/e_logf.S: Likewise.
5590 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5591 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5592 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5593 * sysdeps/i386/fpu/e_log10.S: Likewise.
5594 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5595 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5596 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5597 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5598 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5599 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5600 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5601 * sysdeps/i386/i686/strtok.S: Likewise.
5602 * sysdeps/i386/i386-mcount.S: Likewise.
5603 * sysdeps/i386/strtok.S: Likewise.
5604 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5605 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5606 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5607 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5608 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5609 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5610 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5611 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5612 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5613 * sysdeps/x86_64/_mcount.S: Likewise.
5614 * sysdeps/x86_64/strtok.S: Likewise.
5615 * sysdeps/sh/_mcount.S: Likewise.
5616
2747bf9a
RM
56172012-08-01 Roland McGrath <roland@hack.frob.com>
5618
5619 * libio/iofopen.c: Include <fcntl.h>.
5620 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5621 (_IO_fopen64, fopen64): Define as aliases.
5622 * libio/iofopen64.c: Include <fcntl.h>.
5623 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5624 Conditionalize body on this.
5625 * sysdeps/wordsize-64/iofopen.c: File removed.
5626 * sysdeps/wordsize-64/iofopen64.c: File removed.
5627
3fb791b8
MP
56282012-08-01 Marek Polacek <polacek@redhat.com>
5629
5630 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5631 Use dlfcn directly instead of a variable.
5632 (binfmt-subdir): Do not define.
5633 (dlfcn): Likewise.
5634
a9f1039f
JM
56352012-08-01 Joseph Myers <joseph@codesourcery.com>
5636
23bddc06
JM
5637 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5638 Remove all definitions.
5639 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5640 <kernel-features.h>.
5641 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5642 (miss_F_GETOWN_EX): Remove all definitions.
5643 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5644 macro definition.
5645 [!__ASSUME_FCNTL64]: Remove conditional code.
5646 [__ASSUME_FCNTL64]: Make code unconditional.
5647 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5648 <kernel-features.h>.
5649 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5650 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5651 (lockf64) [__NR_fcntl64]: Make code unconditional.
5652 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5653
a9f1039f
JM
5654 * sysdeps/unix/sysv/linux/kernel-features.h
5655 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5656 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5657 Make code unconditional.
5658 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5659 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5661 [__NR_vfork]: Make code unconditional.
5662 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5663 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5665 [__NR_vfork]: Make code unconditional.
5666 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5667 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5668
09c0ee5f
RM
56692012-08-01 Roland McGrath <roland@hack.frob.com>
5670
48aec5b9
RM
5671 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5672 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5673
cd97c966
RM
5674 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5675 Define mkstemp64 as an alias.
3f55550c
RM
5676 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5677 Define mkstemps64 as an alias.
cd97c966
RM
5678 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5679 Define mkostemp64 as an alias.
b8625cfc
RM
5680 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5681 Define mkostemps64 as an alias.
cd97c966
RM
5682 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5683 Conditionalize body on this.
5684 * misc/mkostemp64.c: Likewise.
b8625cfc 5685 * misc/mkostemps64.c: Likewise.
3f55550c 5686 * misc/mkstemps64.c: Likewise.
cd97c966
RM
5687 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5688 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5689 * sysdeps/wordsize-64/mkostemp.c: File removed.
5690 * sysdeps/wordsize-64/mkstemp.c: File removed.
5691 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5692 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5693 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5694 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5695
09c0ee5f
RM
5696 [BZ #14138]
5697 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5698 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5699 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5700 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5701
5702 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5703 compat_symbol macros from <shlib-compat.h> rather than the underlying
5704 default_symbol_version and symbol_version macros, so that DEFAULT
5705 lines in shlib-versions are respected.
5706 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5707
7e66ee51
FW
57082012-08-01 Florian Weimer <fweimer@redhat.com>
5709
5710 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5711 Declare with warn_unused_result.
5712 (setgid, setregid, setegid, setresgid): Likewise.
5713 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5714 Likewise.
5715 * WUR-REPORT: Remove set*id functions.
5716
d2a54255
PT
57172012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5718
5719 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5720
7ecdb005
RM
57212012-07-31 Roland McGrath <roland@hack.frob.com>
5722
789bd351
RM
5723 * include/sys/socket.h (__libc_accept, __libc_accept4):
5724 Add attribute_hidden.
5725 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5726
40ce302d
RM
5727 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5728 use of PTR_MANGLE.
5729 * inet/getnetgrent_r.c (setup): Likewise.
5730
7ecdb005
RM
5731 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5732
e2eabb2c
DM
57332012-07-31 David S. Miller <davem@davemloft.net>
5734
5735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5736
d0419dbf
JM
57372012-07-31 Joseph Myers <joseph@codesourcery.com>
5738
5739 [BZ #13629]
5740 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5741 value between 1.0 and 2.0 and smaller part has absolute value less
5742 than 1.0.
5743 * math/s_clog10.c (__clog10): Likewise.
5744 * math/s_clog10f.c (__clog10f): Likewise.
5745 * math/s_clog10l.c (__clog10l): Likewise.
5746 * math/s_clogf.c (__clogf): Likewise.
5747 * math/s_clogl.c (__clogl): Likewise.
5748 * math/libm-test.inc (clog_test): Add more tests.
5749 (clog10_test): Likewise.
5750 * sysdeps/i386/fpu/libm-test-ulps: Update.
5751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5752
2bc13872
FW
57532012-07-31 Florian Weimer <fweimer@redhat.com>
5754
5755 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5756 Exit with zero in case no suitable GID is found, and write a
5757 message to standard error.
5758
bea9b193
RM
57592012-07-30 Roland McGrath <roland@hack.frob.com>
5760
5761 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5762 rather than to 1.
5763 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5764 (MAXPATHLEN): Removed.
5765 (NOGROUP, NODEV): New macros.
5766 (setbit, clrbit, isset, isclr): New macros.
5767 (howmany, roundup, powerof2): New macros.
5768 (DEV_BSIZE): New macro.
5769
5770 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5771 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5772
5773 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5774 definition on [!__NO_LONG_DOUBLE_MATH].
5775
5776 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5777 PTR_MANGLE and PTR_DEMANGLE.
5778
5779 * socket/accept4.c (accept4): Rename to __libc_accept4.
5780 Define accept4 as a weak alias.
5781
5782 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5783 on [_DIRENT_HAVE_D_TYPE].
5784 * io/ftw.c (ftw_dir): Likewise.
5785
5786 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5787
5788 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5789
5790 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5791 Use the BSD numbers rather than the arbitrary ones we had.
5792 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5793 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5794 (SIGXCPU, SIGXFSZ): New macros.
5795 (_NSIG): Now 32.
5796
5797 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5798 initializer on [_LIBC_REENTRANT].
5799
5800 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5801 definitions inside [_POSIX_MAPPED_FILES].
5802
5803 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5804
5805 * dirent/opendir.c: Include <fcntl.h>.
5806
5807 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5808 (__libc_getspecific): Likewise.
5809 (__libc_key_create): Likewise.
5810
5811 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5812 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5813 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5814 (tmpfile64): Define as alias.
5815 * sysdeps/wordsize-64/tmpfile.c: File removed.
5816 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5817 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5818 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5819
5820 * stdio-common/vfscanf.c: Include <stdbool.h>.
5821 * nss/makedb.c: Likewise.
5822 * stdio-common/_i18n_number.h: Likewise.
5823 * argp/argp-help.c: Likewise.
5824 * posix/wordexp.c: Likewise.
5825 * sysdeps/posix/spawni.c: Likewise.
5826 * nss/nss_files/files-initgroups.c: Likewise.
5827 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5828 * nss/nss_files/files-initgroups.c: Likewise.
5829 * nss/nss_db/db-netgrp.c: Likewise.
5830 * nss/nss_db/db-initgroups.c: Likewise.
5831 * io/fchmodat.c: Include <sys/stat.h>.
5832
5833 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5834 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5835
5836 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5837 [HAVE_MMAP].
5838
5839 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5840 Add multiple inclusion protection.
5841
e5abc686
DM
58422012-07-27 David S. Miller <davem@davemloft.net>
5843
5844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5845
815e6fa3
GB
58462012-07-27 Gary Benson <gbenson@redhat.com>
5847
5848 [BZ #14298]
5849 * elf/rtld.c: Include <stap-probe.h>.
5850 (dl_main): Added static probes "init_start" and "init_complete".
5851 * elf/dl-load.c: Include <stap-probe.h>.
5852 (lose): Take new parameter "nsid".
5853 Added static probe "map_failed".
5854 (_dl_map_object_from_fd): Pass namespace id to lose.
5855 Added static probe "map_start".
5856 (open_verify): Pass namespace id to lose.
5857 * elf/dl-open.c: Include <stap-probe.h>.
5858 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5859 and "reloc_complete".
5860 * elf/dl-close.c: Include <stap-probe.h>.
5861 (_dl_close_worker): Added static probes "unmap_start" and
5862 "unmap_complete".
5863 * elf/rtld-debugger-interface.txt: New file documenting the above.
5864
9f98c16c
RM
58652012-07-26 Roland McGrath <roland@hack.frob.com>
5866
5867 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5868 rather than a string variable.
5869 * sunrpc/rpc_main.c (h_output): Likewise.
5870 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5871
f3c22df3
PT
58722012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5873
5874 * inet/check_native.c: New file.
5875
3129cfc6
JM
58762012-07-26 Joseph Myers <joseph@codesourcery.com>
5877
da865e95
JM
5878 [BZ #13629]
5879 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5880 if larger part has absolute value 1.0.
5881 * math/s_clog10.c (__clog10): Likewise.
5882 * math/s_clog10f.c (__clog10f): Likewise.
5883 * math/s_clog10l.c (__clog10l): Likewise.
5884 * math/s_clogf.c (__clogf): Likewise.
5885 * math/s_clogl.c (__clogl): Likewise.
5886 * math/libm-test.inc (clog_test): Add more tests.
5887 (clog10_test): Likewise.
5888 * sysdeps/i386/fpu/libm-test-ulps: Update.
5889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5890
3129cfc6
JM
5891 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5892 (pltexit): Likewise.
5893 (La_regs): Likewise.
5894 (La_retval): Likewise.
5895 (int_retval): Likewise.
5896 Update #error for removed macros to refer only to definitions in
5897 tst-audit.h.
5898 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5899 macro.
5900 (pltexit): Likewise.
5901 (La_regs): Likewise.
5902 (La_retval): Likewise.
5903 (int_retval): Likewise.
5904 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5905 macro.
5906 (pltexit): Likewise.
5907 (La_regs): Likewise.
5908 (La_retval): Likewise.
5909 (int_retval): Likewise.
5910 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5911 macro.
5912 (pltexit): Likewise.
5913 (La_regs): Likewise.
5914 (La_retval): Likewise.
5915 (int_retval): Likewise.
5916 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5917 macro.
5918 (pltexit): Likewise.
5919 (La_regs): Likewise.
5920 (La_retval): Likewise.
5921 (int_retval): Likewise.
5922 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5923 macro.
5924 (pltexit): Likewise.
5925 (La_regs): Likewise.
5926 (La_retval): Likewise.
5927 (int_retval): Likewise.
5928 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5929 macro.
5930 (pltexit): Likewise.
5931 (La_regs): Likewise.
5932 (La_retval): Likewise.
5933 (int_retval): Likewise.
5934 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5935 macro definitions in tst-audit.h.
5936 * sysdeps/i386/tst-audit.h: New file.
5937 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5938 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5939 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5940 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5941 * sysdeps/sh/tst-audit.h: Likewise.
5942 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5943 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5944 * sysdeps/x86_64/tst-audit.h: Likewise.
5945
bfc07087
AJ
59462012-07-26 Andreas Jaeger <aj@suse.de>
5947
b1b2aaf8
AJ
5948 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5949 ptrace.
5950
5951 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5952 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5953 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5954 PTRACE_O_MASK.
5955 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5956 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5957 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5958
bfc07087
AJ
5959 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5960 value.
5961
5962 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5963 _sigsys.
5964 (si_call_addr, si_syscall, si_arch): Define new macro.
5965 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5966 _sigsys.
5967 (si_call_addr, si_syscall, si_arch): Define new marcro.
5968 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5969 _sigsys.
5970 (si_call_addr, si_syscall, si_arch): Define new macro.
5971 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5972 _sigsys.
5973 (si_call_addr, si_syscall, si_arch): Define new macro.
5974
89b4b02f
JM
59752012-07-25 Joseph Myers <joseph@codesourcery.com>
5976
5977 [BZ #13717]
5978 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5979 Change to 2.4.21 where previously 2.4.1.
5980 * sysdeps/unix/sysv/linux/configure: Regenerated.
5981 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5982 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5983 Linux kernel version.
5984 (__ASSUME_STD_AUXV): Remove.
5985 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5986 kernel version.
5987 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5988 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5989 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5990 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5991 (__ASSUME_NETLINK_SUPPORT): Likewise.
5992 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5993 (__no_netlink_support): Remove conditional definition.
5994 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5995 Remove.
5996 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5997 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5998 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5999 (if_nameindex_ioctl): Remove.
6000 (if_nameindex_netlink): Do not handle __no_netlink_support.
6001 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6002 code.
6003 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6004 Remove conditional code.
6005 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6006 code.
6007 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6008 unconditional.
6009 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6010 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6011 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6012 Remove.
6013 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6014 [!__ASSUME_STD_AUXV]: Remove conditional code.
6015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6016 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6017 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6019 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6020 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6021 code.
6022 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6024 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6025 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6026 conditional code.
6027 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6029 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6030 code.
6031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6032 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6033 conditional code.
6034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6035 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6036 code unconditional.
6037 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6038 conditional code.
6039 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6040 unconditional.
6041 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6042 conditional code.
6043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6044 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6045 unconditional.
6046 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6047 conditional code.
6048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6049 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6050 code unconditional.
6051 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6052 conditional code.
6053 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6054 unconditional.
6055 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6056 conditional code.
6057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6058 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6059 code unconditional.
6060 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6061 conditional code.
6062 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6063 unconditional.
6064 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6065 conditional code.
6066
842a39cd
AS
60672012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6068
6069 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6070 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6071 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6072 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6073 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6074 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6075 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6076 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6077 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6078 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6079 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6080 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6081 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6082 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6083 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6084 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6085 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6086 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6087 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6088 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6089 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6090 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6091 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6092
84b3fd84
FW
60932012-07-25 Florian Weimer <fweimer@redhat.com>
6094
6095 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
6096 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6097 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6098 Introduce __libc_secure_getenv.
0c7936d5
FW
6099 * stdlib/Versions (2.17): Add secure_getenv
6100 (GLIBC_PRIVATE): Add __libc_secure_getenv.
6101 * stdlib/secure-getenv.c: Rename __secure_getenv to
6102 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
6103 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
6104 * stdlib/tst-secure-getenv.c: New.
6105 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
6106 * manual/startup.texi (Environment Access): Document
6107 secure_getenv.
84b3fd84
FW
6108 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6109 __libc_secure_getenv.
6110 * inet/ruserpass.c (ruserpass): Likewise.
6111 * malloc/mtrace.c (mtrace): Likewise.
6112 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 6113 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
6114 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6115 * sysdeps/posix/tempname.c: Likewise. Evaluate
6116 HAVE_SECURE_GETENV.
6117 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 6118 __secure_getenv to __libc_secure_getenv.
84b3fd84 6119 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
6120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6121 Likewise.
6122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6123 Likewise.
6124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6126 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 6131
56e49b71
JM
61322012-07-25 Joseph Myers <joseph@codesourcery.com>
6133
6134 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6135 (struct La_i86_retval): Likewise.
6136 (struct La_x86_64_regs): Likewise.
6137 (struct La_x86_64_retval): Likewise.
6138 (struct La_x32_regs): Likewise.
6139 (struct La_x32_retval): Likewise.
6140 (struct La_ppc32_regs): Likewise.
6141 (struct La_ppc32_retval): Likewise.
6142 (struct La_ppc64_regs): Likewise.
6143 (struct La_ppc64_retval): Likewise.
6144 (struct La_sh_regs): Likewise.
6145 (struct La_sh_retval): Likewise.
6146 (struct La_s390_32_regs): Likewise.
6147 (struct La_s390_32_retval): Likewise.
6148 (struct La_s390_64_regs): Likewise.
6149 (struct La_s390_64_retval): Likewise.
6150 (struct La_sparc32_regs): Likewise.
6151 (struct La_sparc32_retval): Likewise.
6152 (struct La_sparc64_regs): Likewise.
6153 (struct La_sparc64_retval): Likewise.
6154 (struct audit_ifaces): Remove architecture-specific pltenter and
6155 pltexit members.
6156 * sysdeps/i386/ldsodefs.h: New file.
6157 * sysdeps/powerpc/ldsodefs.h: Likewise.
6158 * sysdeps/s390/ldsodefs.h: Likewise.
6159 * sysdeps/sh/ldsodefs.h: Likewise.
6160 * sysdeps/sparc/ldsodefs.h: Likewise.
6161 * sysdeps/x86_64/ldsodefs.h: Likewise.
6162
354691b7
MP
61632012-07-25 Marek Polacek <polacek@redhat.com>
6164
6165 [BZ #6808]
6166 * math/libm-test.inc (yn_test): Add another test.
6167 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6168 to ERANGE when the result is +-Inf.
6169 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6170 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6171 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6172 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6173
bf9e2071
JM
61742012-07-24 Joseph Myers <joseph@codesourcery.com>
6175
6176 * conform/data/time.h-data (NULL): Use macro-constant. Require
6177 equal to 0.
6178 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6179 clock_t.
6180 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6181
57633811
TS
61822012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6183
6184 * configure.in <sysdeps resolving>: Correct printing
6185 Implies_before.
6186 * configure: Regenerate.
6187
c23c33b0
TS
61882012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6189
6190 * math/w_ilogb.c: Include <limits.h>.
6191 * math/w_ilogbl.c: Likewise.
6192
b5982523
JM
61932012-07-20 Joseph Myers <joseph@codesourcery.com>
6194
6195 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6196 va_copy. Document allowing for unavailable va_copy only as
6197 pre-C99 compatibility.
6198 * manual/string.texi (Copying and Concatenation): Use va_copy
6199 instead of __va_copy in concat example.
6200
ac4ea442
PT
62012012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6202
6203 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6204 (__sendto): Use create_address_port. Initialize APORT and deallocate
6205 it if not null.
6206
f98eafbd
PT
6207 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6208 with O_NOLINK passed to __file_name_lookup.
6209
898c7aab
PT
6210 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6211 with O_NOLINK passed to __file_name_lookup.
6212
0ced335a
PT
6213 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6214 negative N or less than NGIDS.
6215
b3404dbd
PT
6216 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6217 type to string_t. Set ERANGE as errno and return it if NAME is not big
6218 enough. Use memcpy instead of strncpy.
6219
0f48659e
JM
62202012-07-20 Joseph Myers <joseph@codesourcery.com>
6221
6222 * elf/Makefile (check-data): Remove.
6223 (localplt.data): New vpath directive.
6224 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6225 instead of $(check-data).
6226 * scripts/data/localplt-generic.data: Move to ...
6227 * sysdeps/generic/localplt.data: ... here.
6228 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6229 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6230 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6232 ... here.
6233 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6235 ... here.
6236 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6238 ... here.
6239 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6241 ... here.
6242 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6244 ... here.
6245 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6247 ... here.
6248
d37cbdaa
AZ
62492012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6250
6251 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6252 PPC32 and PPC64 files.
6253 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6254 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6255
46f85fc2
AK
62562012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6257
6258 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6259 __makecontext_ret to ...
6260 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6261 ... here and call exit if uc_link is NULL. New file.
6262 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6263 __makecontext_ret.S.
6264 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6265 __makecontext_ret to ...
6266 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6267 ... here and call exit if uc_link is NULL. New file.
6268 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6269 __makecontext_ret.S.
6270
08f43f9b
AK
62712012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6272
6273 * elf/elf.h (R_390_IRELATIVE): New definition.
6274 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6275 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6276 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6277 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6278 (elf_machine_lazy_rel): Likewise.
6279 * sysdeps/s390/dl-irel.h: New file.
6280 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6281 * sysdeps/s390/s390-64/memset.S: New asm code.
6282 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6283 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6284 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6285 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6286 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6287 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6288 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6289 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6290 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6291 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6292 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6293 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6294 * sysdeps/s390/s390-32/memset.S: New asm code.
6295 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6296
3b05db33
MP
62972012-07-17 Marek Polacek <polacek@redhat.com>
6298
6299 [BZ #14349]
6300 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6301 * sysdeps/s390/s390-64/configure.in: Likewise.
6302 * sysdeps/sparc/configure.in: Likewise.
6303 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6304 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6305 * sysdeps/i386/configure.in: Likewise.
6306 * sysdeps/x86_64/configure.in: Likewise.
6307 * sysdeps/sh/configure.in: Likewise.
6308 * sysdeps/s390/s390-32/configure: Regenerated.
6309 * sysdeps/s390/s390-64/configure: Likewise.
6310 * sysdeps/x86_64/configure: Likewise.
6311 * sysdeps/sh/configure: Likewise.
6312 * sysdeps/powerpc/powerpc64/configure: Likewise.
6313 * sysdeps/powerpc/powerpc32/configure: Likewise.
6314 * sysdeps/sparc/configure: Likwise.
6315 * sysdeps/i386/configure: Likewise.
6316
a66877c6
MP
6317 * elf/dl-open.c: Comment fixes.
6318
cfc82fd8
JM
63192012-07-17 Joseph Myers <joseph@codesourcery.com>
6320
bd29910a
JM
6321 * Makefile [CXX] (check-data): Remove.
6322 [CXX] (c++-types.data): New vpath directive.
6323 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6324 vpath. Do not allow for C++ type data being missing.
6325 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6326 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6327 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6328 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6329 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6330 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6331 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6333 ... here.
6334 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6336 ... here.
6337 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6339 ... here.
6340 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6342 ... here.
6343 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6344 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6345 ... here.
6346 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6348 ... here.
6349 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6351 ... here.
6352 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6353 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6354
cfc82fd8
JM
6355 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6356 definitions to architecture-specific files.
6357 (TLS_IE): Likewise.
6358 (TLS_LD): Likewise.
6359 (TLS_GD): Likewise.
6360 * sysdeps/i386/tls-macros.h: New file.
6361 * sysdeps/powerpc/tls-macros.h: Likewise.
6362 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6363 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6364 * sysdeps/sh/tls-macros.h: Likewise.
6365 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6366 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6367 * sysdeps/x86_64/tls-macros.h: Likewise.
6368
f7db3170
TS
63692012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6370
07cbfc23
TS
6371 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6372 zero value for regular exit case.
6373
f7db3170
TS
6374 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6375 (__start_context): Preserve zero value for regular exit case.
6376
dc97c227
TS
63772012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6378 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6379
6380 * manual/setjmp.texi (setcontext): Clarify normal process
6381 termination when uc_link is the null pointer.
6382 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6383 exit call.
6384
d0cd7d02
AS
63852012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6386
6387 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6388 preprocessor. Test for each exception mask separately.
6389
dd318934
AJ
63902012-07-16 Andreas Jaeger <aj@suse.de>
6391
6392 * po/ru.po: Update from translation team.
6393
8048311a
JM
63942012-07-15 Joseph Myers <joseph@codesourcery.com>
6395
6396 * conform/data/string.h-data (NULL): Use macro-constant. Require
6397 equal to 0.
6398 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6399 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6400 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6401 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6402 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6403
b637d46e
AJ
64042012-07-13 Andreas Jaeger <aj@suse.de>
6405
6406 * po/fr.po: Update from translation team.
6407
541428fe
MP
64082012-07-12 Marek Polacek <polacek@redhat.com>
6409
6410 [BZ #14173]
6411 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6412 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6413 loop condition.
6414
ec332e94
JM
64152012-07-12 Joseph Myers <joseph@codesourcery.com>
6416
6417 [BZ #13717]
6418 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6419 Change to 2.4.1 where previously 2.4.0.
6420 * sysdeps/unix/sysv/linux/configure: Regenerated.
6421 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6422 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6423 version.
6424 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6425 (__ASSUME_AT_CLKTCK): Remove.
6426 (__ASSUME_AT_PAGESIZE): Likewise.
6427 (__ASSUME_AT_XID): Likewise.
6428 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6429 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6430 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6431 unconditionally.
6432 (HAVE_AUX_PAGESIZE): Likewise.
6433 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6434 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6435 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6436
7b6e99be
JB
64372012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6438
6439 [BZ #14307]
6440 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6441 the temporary buffer used to invoke __gethostbyname2_r,
6442 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6443 host_data / struct gaih_addrtuple.
6444 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6445 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6446 header file nss/nsswitch.h.
6447 * nss/nsswitch.h (global scope): Add definition of implementation
6448 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6449 resolv/nss_dns/dns-host.c).
6450
608404eb
AJ
64512012-07-11 Andreas Jaeger <aj@suse.de>
6452
6453 * po/fr.po: Update from translation team.
6454
71220aca
AJ
6455 * po/sv.po: Update from translation team
6456 * po/fr.po: Another update from translation team.
6457
28cfe843
AZ
64582012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6459
6460 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6461 for subnormals or multiply small sinh result by itself.
6462 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6464
6b90f981
DM
64652012-07-11 David S. Miller <davem@davemloft.net>
6466
6467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6468
c6825772
AS
64692012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6470
6471 [BZ #14347]
6472 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6473 (INTERNAL_MARK): Shift it here.
6474
7b8e0d49
MP
64752012-07-10 Marek Polacek <polacek@redhat.com>
6476
6477 [BZ #14151]
6478 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6479 libc_cv_asm_global_directive with .globl.
6480 * configure: Regenerated.
6481 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6482 with .globl.
6483 * sysdeps/i386/configure: Regenerated.
6484 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6485 with .globl.
6486 * sysdeps/x86_64/configure: Regenerated.
6487 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6488 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6489 * elf/tst-unique2mod2.c: Likewise.
6490 * elf/tst-unique2mod1.c: Likewise.
6491 * elf/tst-unique1mod2.c: Likewise.
6492 * elf/tst-unique1mod1.c: Likewise.
6493 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6494 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6495 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6496 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6497 * sysdeps/mach/sysdep.h: Likewise.
6498 * sysdeps/i386/sysdep.h: Likewise.
6499 * sysdeps/i386/i386-mcount.S: Likewise.
6500 * sysdeps/x86_64/_mcount.S: Likewise.
6501 * sysdeps/x86_64/sysdep.h: Likewise.
6502 * sysdeps/sh/_mcount.S: Likewise.
6503 * sysdeps/sh/sysdep.h: Likewise.
6504 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6505 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6506 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6507 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6508 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6509 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6510 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6511 * locale/localeinfo.h: Likewise.
6512 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6513 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6514
6c55cda3
RM
65152012-07-09 Roland McGrath <roland@hack.frob.com>
6516
6517 [BZ #14336]
6518 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6519 system".
6520 * manual/message.texi (The Uniforum approach): Likewise.
6521 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6522 (glibc iconv Implementation): Likewise.
6523
638a572e
JM
65242012-07-09 Joseph Myers <joseph@codesourcery.com>
6525
6526 [BZ #14337]
6527 * math/s_clog.c (__clog): Avoid scaling a value down where that
6528 could result in underflow.
6529 * math/s_clog10.c (__clog10): Likewise.
6530 * math/s_clog10f.c (__clog10f): Likewise.
6531 * math/s_clog10l.c (__clog10l): Likewise.
6532 * math/s_clogf.c (__clogf): Likewise.
6533 * math/s_clogl.c (__clogl): Likewise.
6534 * math/libm-test.inc (clog_test): Add more tests.
6535 (clog10_test): Likewise.
6536 * sysdeps/i386/fpu/libm-test-ulps: Update.
6537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6538
261f4859
AS
65392012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6540
0abaf3e4
AS
6541 [BZ #14283]
6542 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6543 by 7 not 8 to examine high bit of fractional part.
6544
261f4859
AS
6545 [BZ #14042]
6546 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6547 for call to __mcount_internal.
6548 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6549 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6550 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6551
f17ac40d
JM
65522012-07-06 Joseph Myers <joseph@codesourcery.com>
6553
9ad63c23
JM
6554 [BZ #14154]
6555 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6556 approximation for values within 0x1p-13f of an odd multiple of
6557 pi/4.
6558 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6559 exception. Add more tests.
6560 * sysdeps/i386/fpu/libm-test-ulps: Update.
6561
f17ac40d
JM
6562 [BZ #6778]
6563 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6564 inputs and return -1 for them. Do not check for +Inf in case not
6565 reachable for +Inf.
6566 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6567 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6568 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6569 and return -1 for them. Do not check for +Inf in case not
6570 reachable for +Inf.
6571 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6572 define.
6573 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6574 and return -1 for them. Do not check for +Inf in case not
6575 reachable for +Inf.
6576 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6577 spurious underflow.
6578 * sysdeps/i386/fpu/libm-test-ulps: Update.
6579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6580
fb21f89b
MF
65812012-07-06 Mike Frysinger <vapier@gentoo.org>
6582
6583 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6584
cdfe2c5e
JM
65852012-07-05 Joseph Myers <joseph@codesourcery.com>
6586
6587 [BZ #14157]
6588 [BZ #14331]
6589 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6590 could result in spurious underflow. Scale down values above
6591 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6592 * math/s_csqrtf.c (__csqrtf): Likewise.
6593 * math/s_csqrtl.c (__csqrtl): Likewise.
6594 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6595 spurious underflow.
6596 * sysdeps/i386/fpu/libm-test-ulps: Update.
6597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6598
70d35b67
AS
65992012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6600
704bc459
AS
6601 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6602 xopen-msg.sed.
6603 * catgets/xopen-msg.awk: New file.
6604 * catgets/xopen-msg.sed: Removed.
6605
70d35b67
AS
6606 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6607 po2text.sed.
6608 * intl/po2test.awk: New file.
6609 * intl/po2test.sed: Removed.
6610
ca61cf32
JM
66112012-07-04 Joseph Myers <joseph@codesourcery.com>
6612
6613 [BZ #14328]
6614 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6615 or multiply small sinh result by itself.
6616 * math/s_ctanf.c (__ctanf): Likewise.
6617 * math/s_ctanh.c (__ctanh): Likewise.
6618 * math/s_ctanhf.c (__ctanhf): Likewise.
6619 * math/s_ctanhl.c (__ctanhl): Likewise.
6620 * math/s_ctanl.c (__ctanl): Likewise.
6621 * math/libm-test.inc (ctan_test_tonearest): New function.
6622 (ctan_test_towardzero): Likewise.
6623 (ctan_test_downward): Likewise.
6624 (ctan_test_upward): Likewise.
6625 (ctanh_test_tonearest): Likewise.
6626 (ctanh_test_towardzero): Likewise.
6627 (ctanh_test_downward): Likewise.
6628 (ctanh_test_upward): Likewise.
6629 (main): Call these new functions.
6630 * sysdeps/i386/fpu/libm-test-ulps: Update.
6631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6632
ca48a46a
MF
66332012-07-03 Mike Frysinger <vapier@gentoo.org>
6634
6635 * .gitignore: Delete /ports entry.
6636
9d63d37d
AJ
66372012-07-03 Andreas Jaeger <aj@suse.de>
6638
6639 * po/bg.po: Update from translation team.
6640 * po/cs.po: Likewise.
6641 * po/de.po: Likewise.
6642 * po/hr.po: Likewise.
6643 * po/nl.pl: Likewise.
6644 * po/pl.po: Likewise.
6645 * po/vi.po: Likewise.
6646
370ca3d2
JM
66472012-07-03 Joseph Myers <joseph@codesourcery.com>
6648
95f5a9a8
JM
6649 * Makeconfig [!+link] (+link-before-libc): New variable.
6650 [!+link] (+link-after-libc): Likewise.
6651 [!+link] (+link-tests): Likewise.
6652 [!+link] (+link): Define in terms of $(+link-before-libc) and
6653 $(+link-after-libc).
6654 [!+link-static] (+link-static-before-libc): New variable.
6655 [!+link-static] (+link-static-after-libc): Likewise.
6656 [!+link-static] (+link-static-tests): Likewise.
6657 [!+link-static] (+link-static): Define in terms of
6658 $(+link-static-before-libc) and $(+link-static-after-libc).
6659 [build-shared] (link-libc-before-gnulib): New variable.
6660 [build-shared] (link-libc-tests): Likewise.
6661 [build-shared] (link-libc): Define in terms of
6662 $(link-libc-before-gnulib).
6663 [!build-shared] (link-libc-tests): New variable.
6664 (link-libc-static-tests): New variable.
6665 [!gnulib] (gnulib-arch): New variable.
6666 [!gnulib] (gnulib-tests): Likewise.
6667 [!gnulib] (static-gnulib-arch): Likewise.
6668 [!gnulib] (static-gnulib-tests): Likewise.
6669 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6670 Define with "=" instead of ":=".
6671 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6672 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6673 * Rules (binaries-all-notests): New variable.
6674 (binaries-all-tests): Likewise.
6675 (binaries-static-notests): Likewise.
6676 (binaries-static-tests): Likewise.
6677 (binaries-all): Define using $(binaries-all-notests) and
6678 $(binaries-all-tests).
6679 (binaries-static): Define using $(binaries-static-notests) and
6680 $(binaries-static-tests).
6681 (binaries-shared-tests): New variable.
6682 (binaries-shared-notests): Likewise.
6683 (binaries-shared): Remove variable.
6684 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6685 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6686 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6687 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6688 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6689 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6690 * elf/Makefile (sln-modules): New variable.
6691 (extra-objs): Add $(sln-modules:=.o).
6692 (ldconfig-modules): Add static-stubs.
6693 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6694 * elf/static-stubs.c: New file.
6695
7a845b2c
JM
6696 [BZ #14283]
6697 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6698 by 7 not 8 to examine high bit of fractional part. Use volatile
6699 variables when splitting into final array of floats if
6700 __FLT_EVAL_METHOD__ != 0.
6701 * math/libm-test.inc (cos_test): Add another test.
6702 (sin_test): Likewise.
6703 * sysdeps/i386/fpu/libm-test-ulps: Update.
6704
e2283f38
JM
6705 [BZ #14273]
6706 * math/libm-test.inc (cosh_test): Add more tests.
6707
370ca3d2
JM
6708 * version.h (RELEASE): Set to "development".
6709 (VERSION): Set to "2.16.90".
6710
ee9247c3
CD
67112012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6712
6713 * NEWS: Update copyright. Remove last-updated date.
6714 Mention math library bug fixes and timezone data changes.
6715 * README: Mention GNU/Hurd, x32, and HPPA support status.
6716
4648c381
TS
67172012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6718
6719 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6720
aac78a43
AJ
67212012-06-27 Andreas Jaeger <aj@suse.de>
6722
6723 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6724
ed3dbfad
AJ
67252012-06-25 Andreas Jaeger <aj@suse.de>
6726
6727 * sysdeps/s390/fpu/libm-test-ulps: Update.
6728
4d0ee855
AS
67292012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6730 Thomas Schwinge <thomas@codesourcery.com>
6731
6732 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6733 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6734 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6735 fanotify_mark.
6736
af1bce34
TS
67372012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6738
a9fa33ba
TS
6739 * sysdeps/mach/start.c: Remove file.
6740 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6741 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6742 * sysdeps/sh/init-first.c: Likewise.
6743
58f902b8
TS
6744 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6745 registers for frame unwinding purposes, add CFI directives.
6746 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6747 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6748 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6749 Likewise.
6750
1518f58b
TS
6751 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6752 __fortify_fail returning.
6753 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6754
db9b5059
TS
6755 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6756 sysdeps/sh/____longjmp_chk.S.
6757 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6758 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6759 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6760 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6761
967705fe
TS
6762 * sysdeps/sh/abort-instr.h: New file.
6763 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6764 process in case exit returns.
6765
a9def8c4
TS
6766 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6767 initialize the GOT register before use.
6768
2a649725
TS
6769 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6770 calculation of ARGC > 4.
6771
af1bce34
TS
6772 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6773 meaningful names to some local labels.
6774
d230f50a
KK
67752012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6776 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6777
6778 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6779 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6780 (__arch_compare_and_exchange_val_16_acq): Likewise.
6781 (__arch_compare_and_exchange_val_32_acq): Likewise.
6782 (atomic_exchange_and_add): Fix gUSA sequence.
6783 (atomic_add): Likewise.
6784 (atomic_add_negative): Likewise.
6785 (atomic_add_zero): Likewise.
6786 (atomic_bit_test_set): Likewise.
6787
0479b305
AS
67882012-06-22 Andreas Schwab <schwab@redhat.com>
6789
6790 [BZ #13579]
6791 * include/link.h (struct link_map): Add l_free_initfini.
6792 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6793 l_initfini.
6794 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6795 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6796 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6797 set.
6798
0e3933b9
CD
67992012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6800
6801 * configure.in: Use AC_LANG_SOURCE.
6802 * configure: Regenerate.
6803
4248b1b1
RM
68042012-06-22 Roland McGrath <roland@hack.frob.com>
6805
6806 * configure.in (libc_cv_localstatedir): New substituted variable.
6807 * configure: Regenerated.
6808 * config.make.in (localstatedir): New variable, substituted from
6809 libc_cv_localstatedir.
6810 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6811 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6812 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6813 * sysdeps/gnu/configure: Regenerated.
6814
006dd861
JL
68152012-06-21 Jeff Law <law@redhat.com>
6816
6817 [BZ #14277]
6818 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6819 free. Simplify list management for _LIBC case.
6820
79662d42
JM
68212012-06-21 Joseph Myers <joseph@codesourcery.com>
6822
b7abb4bf
JM
6823 [BZ #14273]
6824 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6825 Clear sign bit of 64-bit integer value before comparing against
6826 overflow value.
6827
79662d42
JM
6828 * sysdeps/mach/configure: Regenerated.
6829
1f150908
L
68302012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6831
6832 [BZ #14278]
6833 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6834
28363bbf
JL
68352012-06-21 Jeff Law <law@redhat.com>
6836
6837 [BZ #13882]
6838 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6839 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 6840 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
6841 * elf/dl-open.c (dl_open_worker): Likewise.
6842
09615db4
CD
68432012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6844
6845 * scripts/list-sources.sh: Scan PORTS for translations.
6846 * po/libc.pot: Regenerated.
6847
2174c6dd
AJ
68482012-06-21 Andreas Jaeger <aj@suse.de>
6849
6850 [BZ #12194]
6851 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6852 warning.
6853 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6854 * bits/byteswap-16.h (__bswap_16): Likewise.
6855 * bits/byteswap.h (__bswap_constant_16): Likewise.
6856
3ee947b1
L
68572012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6858
6859 [BZ #14117]
a2f34833
L
6860 * sysdeps/i386/fpu_control.h: Removed.
6861 * sysdeps/x86_64/fpu_control.h: Moved to ...
6862 * sysdeps/x86/fpu_control.h: Here.
6863
3ee947b1
L
6864 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6865 (_FPU_SETCW): Likewise.
6866
ed1825f8
L
68672012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6868
25f1282a
L
6869 [BZ #14117]
6870 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6871 * sysdeps/x86/fpu/bits/mathinline.h: This.
6872 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6873
ed1825f8
L
6874 [BZ #14050]
6875 [BZ #14117]
6876 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6877 functions if __x86_64__ is defined.
6878
36d54b74
CLT
68792012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6880
6881 * string/endian.h: Add !__ASSEMBLER__ condition for including
6882 conversion interfaces.
6883
10285c21
JM
68842012-06-15 Joseph Myers <joseph@codesourcery.com>
6885
6886 [BZ #14241]
6887 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6888 of ABS(x) in calculating zero to negative powers other than odd
6889 integers.
6890 * math/libm-test.inc (pow_test): Add more tests.
6891
06c5abbd
AJ
68922012-06-15 Andreas Jaeger <aj@suse.de>
6893
6894 * manual/contrib.texi (Contributors): Update entry of Liubov
6895 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6896 Machado Filho.
6897
a3aeac40
CH
68982012-06-15 Cyril Hrubis <metan@ucw.cz>
6899
6900 * string/string.h: Add __wur to GNU version of strerror_r.
6901
49bdf4c1
L
69022012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6903
6904 [BZ #14229]
6905 * string/Makefile (tests): Add tst-strtok_r.
6906 * string/tst-strtok_r.c: New file.
6907 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6908 RAX_LP/RDX_LP on SAVE_PTR.
6909
834f9b8d
RM
69102012-06-14 Roland McGrath <roland@hack.frob.com>
6911
6912 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6913
75fa1921
JM
69142012-06-14 Joseph Myers <joseph@codesourcery.com>
6915
6916 * libm_test.inc (csqrt_test): Allow more spurious underflow
6917 exceptions.
6918 (j0_test): Likewise.
6919 (j1_test): Likewise.
6920 (y0_test): Likewise.
6921 (y1_test): Likewise.
6922
771766df
CD
69232012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6924
6925 * po/Makefile (libc.pot): Use UTF-8 charset.
6926
ceb9e56b
PP
69272012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6928
6929 [BZ #14210]
6930 Suppress sign-conversion warning from FD_SET.
6931 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6932 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6933 not unsigned long int.
6934 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6935
ddb28975
L
69362012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6937
6938 [BZ #14050]
6939 [BZ #14117]
6940 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6941 __extern_always_inline instead of __extern_inline.
6942 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6943 (__signbit): Likewise.
6944 (__signbitl): Support C++ namespace.
6945 (lrintf): New inline function.
6946 (lrint): Likewise.
6947 (llrintf): Likewise.
6948 (llrint): Likewise.
6949 (fmaxf): Likewise.
6950 (fmax): Likewise.
6951 (fminf): Likewise.
6952 (fmin): Likewise.
6953 (rint): Likewise.
6954 (rintf): Likewise.
6955 (ceil): Likewise.
6956 (ceilf): Likewise.
6957 (floor): Likewise.
6958 (floorf): Likewise.
6959 (nearbyint): Likewise.
6960 (nearbyintf): Likewise.
6961
d7b4fb26
TS
69622012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6963
6964 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6965 non-default versions.
6966
eb55f5c2
RM
69672012-06-11 Roland McGrath <roland@hack.frob.com>
6968
6969 [BZ #14218]
6970 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6971
366af02c
TS
69722012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6973
99ff6e5c
TS
6974 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6975 (FE_UPWARD, FE_DOWNWARD): Don't define.
6976 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6977 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6978
366af02c
TS
6979 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6980 reading it.
6981 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6982 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6983
793ea851
KK
69842012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6985
6986 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6987 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6988 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6989 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6990
a728a38f
L
69912012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6992
6993 [BZ #14117]
c08010c7
L
6994 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6995 * sysdeps/i386/fpu/Implies: New file.
6996 * sysdeps/x86_64/fpu/Implies: Likewise.
6997 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6998 * sysdeps/x86/fpu/bits/fenv.h: This.
6999
a728a38f
L
7000 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7001 __SSE_MATH__.
7002
6e230d11
SP
70032012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7004
7005 [BZ #14134]
7006 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7007 character 0xffff that matches the last element of the
7008 conversion table.
7009
1b671feb
AZ
70102012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7011
7012 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7013 fmodl commit.
7014
6043738b
AZ
70152012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7016
7017 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7018 values higher than 25.6283.
7019
34ae0b32
AZ
70202012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7021
7022 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7023 subnormal exponent extraction and add some __builtin_expect.
7024 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7025 Fix for subnormal mantissa calculation.
7026
1214ec8f
MF
70272012-06-04 Mike Frysinger <vapier@gentoo.org>
7028
7029 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7030 cpu2 is -1 and errno is not ENOSYS.
7031
f3d1f93c
L
70322012-06-04 H.J. Lu <hongjiu.lu@intel.com>
7033
7034 [BZ #14117]
0e4a3cd7
L
7035 * sysdeps/i386/i486/bits/string.h: Renamed to ...
7036 * sysdeps/x86/bits/string.h: This.
7037 * sysdeps/x86_64/bits/string.h: Removed.
7038
6704c645
L
7039 * sysdeps/i386/i486/bits/string.h: Define inline functions only
7040 if not compiling for x86-64, but compiling for >= i486.
7041
48495318
L
7042 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7043 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7044
14adcbfc
L
7045 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7046 New macro from Linux kernel 3.4.0.
7047 (FP_XSTATE_MAGIC2): Likewise.
7048 (FP_XSTATE_MAGIC2_SIZE): Likewise.
7049 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7050 (struct _fpx_sw_bytes): New struct.
7051 (struct _xsave_hdr): Likewise.
7052 (struct _ymmh_state): Likewise.
7053 (struct _xstate): Likewise.
7054
68e408ab
L
7055 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7056 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7057 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7058 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7059 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7060 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7061
f3d1f93c
L
7062 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7063 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7064 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7065 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7066 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7067 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7068
d9dc34cd
TMQMF
70692012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7070
7071 [BZ #13743]
7072 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7073 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7074 (sysdep_headers): Include sys/platform/ppc.h.
7075 * sysdeps/powerpc/test-gettimebase.c: Test for
7076 __ppc_get_timebase() to catch future ISA opcode/insn changes.
7077 * manual/Makefile (appendices): Include platform.texi.
7078 * manual/contrib.texi (Contributors): Update @node pointers.
7079 * manual/maint.texi (Maintenance): Likewise.
7080 (Platform): New node.
7081 * manual/platform.texi: New file. Document the new features.
7082
4af3879c
SP
70832012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7084 Jakub Jelinek <jakub@redhat.com>
7085
7086 [BZ #14188]
7087 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7088 where __builtin_expect is unavailable.
7089
2fd6ff13
DM
70902012-06-03 David S. Miller <davem@davemloft.net>
7091
7092 * stdlib/longlong.h: Updated from GCC.
7093
173f7220
AS
70942012-06-02 Andreas Schwab <schwab@linux-m68k.org>
7095
7096 [BZ #14042]
7097 * sysdeps/powerpc/powerpc32/mcount.c: New file.
7098 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7099 __mcount_internal.
7100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7101 (GLIBC_2.16): Likewise.
7102
f34a1c6f
L
71032012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7104
7105 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7106
88a4576f
JM
71072012-06-01 Joseph Myers <joseph@codesourcery.com>
7108
ea32bcdd
JM
7109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7110 (default-abi): New variable.
7111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7112 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7113 variable.
7114 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7115 Likewise.
7116 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7117 Likewise.
7118 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7119 Likewise.
7120
88a4576f
JM
7121 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7122 definition. Document in comment.
7123
402fe938
DM
71242012-06-01 David S. Miller <davem@davemloft.net>
7125
7126 * stdlib/longlong.h: Updated from GCC.
7127
3553723f
L
71282012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7129
7130 [BZ #14117]
3bd872c4
L
7131 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7132 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7133 sys/debugreg.h sys/io.h here.
7134 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7135 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7136 sys/io.h.
7137 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7138 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7139 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7140 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7141 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7142 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7143
3553723f
L
7144 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7145 Define only if __x86_64__ is defined.
7146
4842e4fe
JM
71472012-06-01 Joseph Myers <joseph@codesourcery.com>
7148
c5bfe3d5
JM
7149 [BZ #14048]
7150 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7151 Use int64_t for variable i.
7152 * math/libm-test.inc (fmod_test): Add more tests.
7153
4842e4fe
JM
7154 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7155 z computation is not scheduled after fetestexcept.
7156 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7157 Use math_force_eval instead of asm to ensure calculation scheduled
7158 before exception test.
7159 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7160 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7161
efb73488
AJ
71622012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7163
7164 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7165 computation is not scheduled after fetestexcept.
7166
29bcce7c
L
71672012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7168
7169 [BZ #14117]
7170 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7171 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7172
73a68f94
AZ
71732012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7174
7175 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7176 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7177
67b6df78
L
71782012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7179
edf2933a 7180 [BZ #14117]
ebc64a18
L
7181 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7182 <bits/wordsize.h>.
7183 (__WCHAR_MIN): Support __WORDSIZE == 64.
7184 (__WCHAR_MAX): Likewise.
7185
edf2933a
L
7186 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7187 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7188
57c6cf40
L
7189 [BZ #14183]
7190 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7191 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7192
67b6df78 7193 [BZ #14117]
8eb6281e
L
7194 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7195 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7196
aac639f4
L
7197 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7198 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7199
67b6df78
L
7200 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7201 Defined to 1 if __x86_64__ isn't defined.
7202 (_STAT_VER_LINUX_OLD): New.
7203 (st_atime): Remove duplicate.
7204 (st_mtime): Likewise.
7205 (st_ctime): Likewise.
7206
1c2cfe81
DM
72072012-05-31 David S. Miller <davem@davemloft.net>
7208
7209 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7210 entries.
7211
5be8418c
AS
72122012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7213
e7725326
AS
7214 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7215 gen-libm-test.pl.
7216
5be8418c
AS
7217 [BZ #14132]
7218 * elf/dl-reloc.c: Include <_itoa.h>.
7219 (_dl_reloc_bad_type): Remove use of INTUSE.
7220 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7221 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7222 * stdio-common/psiginfo.c (psiginfo): Likewise.
7223 * stdio-common/psignal.c (psignal): Likewise.
7224 * string/strsignal.c (strsignal): Likewise.
7225 * include/signal.h (_sys_siglist): Declare hidden proto.
7226 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7227 INTVARDEF with libc_hidden_data_def.
7228 * stdio-common/itoa-udigits.c: Likewise.
7229 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7230 (_itoa_lower_digits_internal): Remove declaration.
7231 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7232 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7233 (_sys_sigabbrev_internal): Remove aliases.
7234 (_sys_siglist): Define hidden alias.
7235
507352f1
MT
72362012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7237
7238 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7239 bits/sysctl.h.
7240
42bbb1c3
L
72412012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7242
7243 [BZ #14117]
6bd784b6
L
7244 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7245 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7246
8bca20f0
L
7247 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7248 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7249 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7250 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7251 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7252 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7253
f9e890a9
L
7254 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7255 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7256 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7257
471101a1
L
7258 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7259 with __addr.
7260 (insw): Likewise.
7261 (insl): Likewise.
7262 (outsb): Likewise.
7263 (outsw): Likewise.
7264 (outsl): Likewise.
7265
6451c862
L
7266 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7267 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7268 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7269
a254b8c9
L
7270 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7271 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7272 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7273 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7274 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7275 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7276
b8dfdd92
L
7277 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7278 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7279
578cd270
L
7280 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7281 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7282
de662f5f
L
7283 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7284 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7285 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7286
25653439
L
7287 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7288 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7289 to ...
7290 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7291
6bad24a0
L
7292 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7293 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7294 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7295
42bbb1c3
L
7296 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7297 for x86-64.
7298 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7299
2d10d547
JM
73002012-05-31 Joseph Myers <joseph@codesourcery.com>
7301
7302 * math/math.h (M_El): Use two more decimal places.
7303 (M_LOG2El): Likewise.
7304 (M_LOG10El): Likewise.
7305 (M_LN2l): Likewise.
7306 (M_LN10l): Likewise.
7307 (M_PIl): Likewise.
7308 (M_PI_2l): Likewise.
7309 (M_PI_4l): Likewise.
7310 (M_1_PIl): Likewise.
7311 (M_2_PIl): Likewise.
7312 (M_2_SQRTPIl): Likewise.
7313 (M_SQRT2l): Likewise.
7314 (M_SQRT1_2l): Likewise.
7315
f230c29b
DM
73162012-05-31 David S. Miller <davem@davemloft.net>
7317
7318 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7319 values between float registers.
7320 * sysdeps/sparc/sparc64/memset.S: Likewise.
7321 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7322
fed806c3
MF
73232012-05-31 Mike Frysinger <vapier@gentoo.org>
7324
7325 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7326 -D_FORTIFY_SOURCE=1.
7327 (CPPFLAGS-tst-longjmp_chk.c): Define.
7328 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7329 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7330 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7331 CFLAGS-tst-wchar-h.c.
7332
30917259
MP
73332012-05-31 Marek Polacek <polacek@redhat.com>
7334
7335 [BZ #14132]
7336 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7337 __endmntent_internal): Remove declaration.
7338 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7339 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7340 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7341
1c58d5dc
DM
73422012-05-30 David S. Miller <davem@davemloft.net>
7343
7344 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7345 (___Q_simulate_exceptions): Use real FP ops rather than writing
7346 into the %fsr.
7347 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7348 Likewise.
7349
7dc00e0d
L
73502012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7351
7352 [BZ #14117]
0bd53985
L
7353 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7354 * sysdeps/x86/bits/xtitypes.h: This.
7355
3a257e66
L
7356 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7357 * sysdeps/x86/bits/wordsize.h: This.
7358
62f62904
L
7359 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7360 * sysdeps/x86/bits/huge_vall.h: This.
7361
404fe9d9
L
7362 * sysdeps/i386/bits/select.h: Removed.
7363 * sysdeps/x86_64/bits/select.h: Renamed to ...
7364 * sysdeps/x86/bits/select.h: This.
7365
d48d0446
L
7366 * sysdeps/i386/bits/setjmp.h: Removed.
7367 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7368 * sysdeps/x86/bits/setjmp.h: This.
7369
7dc00e0d
L
7370 * sysdeps/i386/bits/mathdef.h: Removed.
7371 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7372 * sysdeps/x86/bits/mathdef.h: This.
7373
03277f8f
AS
73742012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7375
7376 [BZ #14132]
7377 * include/sys/socket.h (__connect_internal)
7378 (__libc_sa_len_internal): Remove declaration.
7379 (__connect, __libc_sa_len): Declare hidden_proto.
7380 (SA_LEN): Remove use of INTUSE.
7381 * socket/connect.c: Add libc_hidden_def.
7382 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7383 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7384 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7385 alias.
7386 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7387 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7388 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7389 of adding _internal alias.
7390
13764867
L
73912012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7392
7393 [BZ #14117]
6bd97696
L
7394 * sysdeps/i386/bits/link.h: Removed.
7395 * sysdeps/i386/bits/linkmap.h: Likewise.
7396 * sysdeps/x86_64/bits/link.h: Renamed to ...
7397 * sysdeps/x86/bits/link.h: This.
7398 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7399 * sysdeps/x86/bits/linkmap.h: This.
7400
f726f0bb
L
7401 * sysdeps/i386/bits/endian.h: Removed.
7402 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7403 * sysdeps/x86/bits/endian.h: This.
7404
13764867
L
7405 * sysdeps/i386/bits/byteswap.h: Removed.
7406 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7407 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7408 * sysdeps/x86/bits/byteswap.h: This.
7409 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7410 * sysdeps/x86/bits/byteswap-16.h: This.
7411 * sysdeps/i386/Implies: Add x86.
7412 * sysdeps/x86_64/Implies: Likewise.
7413
ae251b0b
DM
74142012-05-30 David S. Miller <davem@davemloft.net>
7415
7416 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7417 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7418 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7419 (FP_TRAPPING_EXCEPTIONS): Define.
7420 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7421 (FP_TRAPPING_EXCEPTIONS): Define.
7422 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7423 subnormals only when inexact has been signalled or underflow
7424 exceptions are enabled.
7425 (_FP_PACK_CANONICAL): Likewise.
7426
d5c90867
L
74272012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7428
7429 [BZ #14183]
7430 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7431 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7432
63f1549e
RH
74332012-05-30 Richard Henderson <rth@twiddle.net>
7434
8d8f2279
RH
7435 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7436 with #ifndef NOT_IN_libc.
7437
63f1549e
RH
7438 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7439 marked to avoid plt entry.
7440
0ab0291b
L
74412012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7442
7443 [BZ #14112]
7444 * Makeconfig (default-abi): New macro.
7445 (abi-includes): Likewise.
7446 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7447 $(abi-$(default-abi)-lib-soname) for soname if defined.
7448 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7449 abi-variants.
7450 * Makefile (installed-stubs): Likewise.
7451 * include/stubs-biarch.h: Removed.
7452 * scripts/lib-names.awk: Only handle one library at a time.
7453 * scripts/soversions.awk: Remove WORDSIZE support.
7454 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7455 entries.
7456 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7457 Removed.
7458 (syscall-list-default-condition): Likewise.
7459 (syscall-list-default-condition): Likewise.
7460 (syscall-list-includes): Likewise.
7461 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7462 syscall-list-* with abi-*. Handle undefined abi-variants.
7463 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7464 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7465 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7466 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7467 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7468 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7469 Removed.
7470 (syscall-list-32-options): Likewise.
7471 (syscall-list-32-condition): Likewise.
7472 (syscall-list-64-options): Likewise.
7473 (syscall-list-64-condition): Likewise.
7474 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7475 macro.
7476 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7477 Renamed to ...
7478 (abi-*): This.
7479 (abi-64-ld-soname): New macro.
7480 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7481 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7482 Renamed to ...
7483 (abi-*): This.
7484 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7485 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7486
4da0431d
JM
74872012-05-30 Joseph Myers <joseph@codesourcery.com>
7488
3a85279c
JM
7489 * sysdeps/unix/sysv/linux/kernel-features.h
7490 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7491 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7492 include <kernel-features.h>.
7493 [!__NR_ftruncate64]: Remove conditional code.
7494 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7495 [__NR_ftruncate64]: Make code unconditional.
7496 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7497 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7498 include <kernel-features.h>.
7499 [!__NR_ftruncate64]: Remove conditional code.
7500 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7501 [__NR_ftruncate64]: Make code unconditional.
7502 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7504 include <kernel-features.h>.
7505 [!__NR_ftruncate64]: Remove conditional code.
7506 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7507 [__NR_ftruncate64]: Make code unconditional.
7508 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7510 include <kernel-features.h>.
7511 [!__NR_ftruncate64]: Remove conditional code.
7512 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7513 [__NR_ftruncate64]: Make code unconditional.
7514 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7515
4da0431d
JM
7516 * configure.in (libc_cv_fpie): Weaken to a compile test using
7517 LIBC_TRY_CC_OPTION.
7518 * configure: Regenerated.
7519
11ef492c
AK
75202012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7521
7522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7526 Refreshed.
7527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7533 Refreshed.
7534
d66ef399
DM
75352012-05-27 David S. Miller <davem@davemloft.net>
7536
7537 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7538 (___Q_zero): New.
7539 (__Q_simulate_exceptions): Return void. Change to simulate
7540 exceptions by writing into the %fsr.
7541 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7542 (__Qp_handle_exceptions): Likewise.
7543 (numbers): Delete.
7544 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7545 __Qp_handle_exceptions.
7546 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7547 __Qp_handle_exceptions.
7548 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7549 as unused and give dummy FP_RND_NEAREST initializer.
7550 (FP_INHIBIT_RESULTS): Define.
7551 (___Q_simulate_exceptions): Update declaration.
7552 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7553 formatting.
7554 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7555 as unused and give dummy FP_RND_NEAREST initializer.
7556 (__Qp_handle_exceptions): Update declaration.
7557 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7558 formatting.
7559
04fb54b5
TS
75602012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7561
7562 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7563 the temporary FPU control word.
7564 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7565 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7566 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7567 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7568 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7569 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7570 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7571 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7572 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7573 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7574 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7575
3f99608f
KK
75762012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7577
7578 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7579 fields.
7580
65a4de4e
CLT
75812012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7582
7583 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7584 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7585 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7586 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7587 Likewise.
7588 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7589 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7590 Likewise.
7591
15749d40
UD
75922012-05-27 Ulrich Drepper <drepper@gmail.com>
7593
7594 * po/h.po: Update from translation team.
7595
25dbcb27
AS
75962012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7597
3d3f8e55
AS
7598 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7599
25dbcb27
AS
7600 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7601 handling of denormals.
7602 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7603 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7604 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7605 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7606 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7607 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7608 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7609 Likewise.
7610
7ad47a80 76112012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
7612
7613 [BZ #14152]
7614 * math/libm-test.inc (fma_test): Don't always expect underflow
7615 exception.
7616
9c6ea9fa
SP
76172012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7618
7619 [BZ #12416]
7620 * elf/tst-execstack.c: Include stackinfo.h.
7621 (do_test): Adjust test case to ensure that pthread_getattr_np
7622 behaviour remains the same after marking stack executable.
7623
a8239222
JM
76242012-05-25 Joseph Myers <joseph@codesourcery.com>
7625
7626 * sysdeps/unix/sysv/linux/kernel-features.h
7627 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7628 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7629 kernel-features.h.
7630 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7631 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7632 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7633 kernel-features.h.
7634 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7635 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7636
918b5606
L
76372012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7638
7639 * configure.in: Define the default includes to being none.
7640 * configure: Regenerated.
7641
3a097cc7
RM
76422012-05-25 Roland McGrath <roland@hack.frob.com>
7643
8422c9a5
RM
7644 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7645 * sysdeps/x86_64/setjmp.S: Likewise.
7646 * sysdeps/i386/bsd-setjmp.S: Likewise.
7647 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7648 * sysdeps/i386/setjmp.S: Likewise.
7649 * sysdeps/i386/__longjmp.S: Likewise.
7650 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7651 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7652
3a097cc7
RM
7653 * include/stap-probe.h: New file.
7654 * configure.in: Handle --enable-systemtap.
7655 * configure: Regenerated.
7656 * config.h.in (USE_STAP_PROBE): New #undef.
7657 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7658 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7659 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7660
21708942
JM
76612012-05-25 Joseph Myers <joseph@codesourcery.com>
7662
7663 [BZ #13717]
7664 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7665 to 2.4.0 where earlier.
7666 * sysdeps/unix/sysv/linux/configure: Regenerated.
7667 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7668 <kernel-features.h>.
7669 [__ASSUME_32BITUIDS]: Make code unconditional.
7670 [!__ASSUME_32BITUIDS]: Remove conditional code.
7671 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7672 <kernel-features.h>.
7673 [__ASSUME_32BITUIDS]: Make code unconditional.
7674 [!__ASSUME_32BITUIDS]: Remove conditional code.
7675 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7676 [__ASSUME_32BITUIDS]: Make code unconditional.
7677 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7678 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7679 <kernel-features.h>.
7680 [__ASSUME_32BITUIDS]: Make code unconditional.
7681 [!__ASSUME_32BITUIDS]: Remove conditional code.
7682 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7683 <kernel-features.h>.
7684 [__ASSUME_32BITUIDS]: Make code unconditional.
7685 [!__ASSUME_32BITUIDS]: Remove conditional code.
7686 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7687 <kernel-features.h>.
7688 [__ASSUME_32BITUIDS]: Make code unconditional.
7689 [!__ASSUME_32BITUIDS]: Remove conditional code.
7690 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7691 <kernel-features.h>.
7692 [__ASSUME_32BITUIDS]: Make code unconditional.
7693 [!__ASSUME_32BITUIDS]: Remove conditional code.
7694 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7695 <kernel-features.h>.
7696 [__ASSUME_32BITUIDS]: Make code unconditional.
7697 [!__ASSUME_32BITUIDS]: Remove conditional code.
7698 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7699 <kernel-features.h>.
7700 [__ASSUME_32BITUIDS]: Make code unconditional.
7701 [!__ASSUME_32BITUIDS]: Remove conditional code.
7702 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7703 <kernel-features.h>.
7704 [__ASSUME_32BITUIDS]: Make code unconditional.
7705 [!__ASSUME_32BITUIDS]: Remove conditional code.
7706 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7707 <kernel-features.h>.
7708 [__ASSUME_32BITUIDS]: Make code unconditional.
7709 [!__ASSUME_32BITUIDS]: Remove conditional code.
7710 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7711 <kernel-features.h>.
7712 [__ASSUME_32BITUIDS]: Make code unconditional.
7713 [!__ASSUME_32BITUIDS]: Remove conditional code.
7714 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7715 <kernel-features.h>.
7716 [__ASSUME_32BITUIDS]: Make code unconditional.
7717 [!__ASSUME_32BITUIDS]: Remove conditional code.
7718 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7719 <kernel-features.h>.
7720 [__NR_setresgid] (__setresgid): Do not declare.
7721 [__ASSUME_32BITUIDS]: Make code unconditional.
7722 [!__ASSUME_32BITUIDS]: Remove conditional code.
7723 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7724 <kernel-features.h>.
7725 [__NR_setresuid] (__setresuid): Do not declare.
7726 [__ASSUME_32BITUIDS]: Make code unconditional.
7727 [!__ASSUME_32BITUIDS]: Remove conditional code.
7728 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7729 <kernel-features.h>.
7730 [__ASSUME_32BITUIDS]: Make code unconditional.
7731 [!__ASSUME_32BITUIDS]: Remove conditional code.
7732 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7733 <kernel-features.h>.
7734 [__ASSUME_32BITUIDS]: Make code unconditional.
7735 [!__ASSUME_32BITUIDS]: Remove conditional code.
7736 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7737 <kernel-features.h>.
7738 [__ASSUME_32BITUIDS]: Make code unconditional.
7739 [!__ASSUME_32BITUIDS]: Remove conditional code.
7740 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7741 <kernel-features.h>.
7742 [__ASSUME_32BITUIDS]: Make code unconditional.
7743 [!__ASSUME_32BITUIDS]: Remove conditional code.
7744 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7745 <kernel-features.h>.
7746 [__ASSUME_32BITUIDS]: Make code unconditional.
7747 [!__ASSUME_32BITUIDS]: Remove conditional code.
7748 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7749 <kernel-features.h>.
7750 [__ASSUME_32BITUIDS]: Make code unconditional.
7751 [!__ASSUME_32BITUIDS]: Remove conditional code.
7752 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7753 <kernel-features.h>.
7754 [__ASSUME_32BITUIDS]: Make code unconditional.
7755 [!__ASSUME_32BITUIDS]: Remove conditional code.
7756 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7757 <kernel-features.h>.
7758 [__ASSUME_32BITUIDS]: Make code unconditional.
7759 [!__ASSUME_32BITUIDS]: Remove conditional code.
7760 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7761 <kernel-features.h>.
7762 [__ASSUME_32BITUIDS]: Make code unconditional.
7763 [!__ASSUME_32BITUIDS]: Remove conditional code.
7764 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7765 <kernel-features.h>.
7766 [__ASSUME_32BITUIDS]: Make code unconditional.
7767 [!__ASSUME_32BITUIDS]: Remove conditional code.
7768 * sysdeps/unix/sysv/linux/kernel-features.h
7769 (__ASSUME_SETRESUID_SYSCALL): Remove.
7770 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7771 (__ASSUME_32BITUIDS): Likewise.
7772 (__ASSUME_LDT_WORKS): Likewise.
7773 (__ASSUME_O_DIRECTORY): Likewise.
7774 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7775 architecture but not kernel version.
7776 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7777 (__ASSUME_MMAP2_SYSCALL): Likewise.
7778 (__ASSUME_STAT64_SYSCALL): Likewise.
7779 (__ASSUME_IPC64): Likewise.
7780 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7781 <kernel-features.h>.
7782 [__ASSUME_32BITUIDS]: Make code unconditional.
7783 [!__ASSUME_32BITUIDS]: Remove conditional code.
7784 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7785 <kernel-features.h>.
7786 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7787 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7788 132096]: Remove conditional code.
7789 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7790 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7791 <kernel-features.h>.
7792 [__ASSUME_32BITUIDS]: Make code unconditional.
7793 [!__ASSUME_32BITUIDS]: Remove conditional code.
7794 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7795 <kernel-features.h>.
7796 [__ASSUME_32BITUIDS]: Make code unconditional.
7797 [!__ASSUME_32BITUIDS]: Remove conditional code.
7798 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7799 <kernel-features.h>.
7800 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7801 unconditional.
7802 (__setresgid): Do not declare.
7803 [__ASSUME_32BITUIDS]: Make code unconditional.
7804 [!__ASSUME_32BITUIDS]: Remove conditional code.
7805 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7806 <kernel-features.h>.
7807 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7808 unconditional.
7809 (__setresuid): Do not declare.
7810 [__ASSUME_32BITUIDS]: Make code unconditional.
7811 [!__ASSUME_32BITUIDS]: Remove conditional code.
7812 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7813 <kernel-features.h>.
7814 [__ASSUME_32BITUIDS]: Make code unconditional.
7815 [!__ASSUME_32BITUIDS]: Remove conditional code.
7816 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7817 <kernel-features.h>.
7818 [__ASSUME_32BITUIDS]: Make code unconditional.
7819 [!__ASSUME_32BITUIDS]: Remove conditional code.
7820
a386f1cc
RH
78212012-05-25 Richard Henderson <rth@twiddle.net>
7822
7823 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7824 dl_hwcap to ifunc resolver.
7825 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7826 elf_ifunc_invoke.
7827 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7828 dl_hwcap to ifunc resolver.
7829 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7830
b6550497
JM
78312012-05-24 Joseph Myers <joseph@codesourcery.com>
7832
7833 [BZ #14153]
7834 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7835 for |x| <= 2**-26, not 2**-57.
7836 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7837 exception.
7838
b0bc23a1
JL
78392012-05-24 Jeff Law <law@redhat.com>
7840
7841 * stdio-common/Makefile (tests): Add bug25.
7842 * stdio-common/bug25.c: New test.
7843
347c92e9
L
78442012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7845
7846 [BZ #13576]
7847 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7848 multiple of MALLOC_ALIGNMENT in size.
7849 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7850
6bcc8b3f
JM
78512012-05-24 Joseph Myers <joseph@codesourcery.com>
7852
7853 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7854 Require >= 256.
7855 (FILENAME_MAX): Use macro-int-constant.
7856 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7857 (_IOFBF): Use macro-int-constant.
7858 (_IOLBF): Likewise.
7859 (_IONBF): Likewise.
7860 (SEEK_CUR): Likewise.
7861 (SEEK_END): Likewise.
7862 (SEEK_SET): Likewise.
7863 (TMP_MAX): Likewise.
7864 (EOF): Use macro-int-constant. Require < 0.
7865 (NULL): Use macro-constant. Require == 0.
7866 (stdin): Require type to be FILE *.
7867 (stdout): Likewise.
7868 (stderr): Likewise.
7869 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7870 macro-int-constant.
7871 (EXIT_SUCCESS): Likewise.
7872 (NULL): Use macro-constant. Require == 0.
7873 (RAND_MAX): Use macro-int-constant.
7874 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7875 [C99-based standards] (strtof): Require function.
7876 [C99-based standards] (strtold): Likewise.
7877 [C99-based standards] (strtoll): Likewise.
7878 [C99-based standards] (strtoull): Likewise.
7879 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7880 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7881 [ISO || ISO99 || ISO11] (math.h): Likewise.
7882 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7883 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7884 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7885
d18ea0c5
AS
78862012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7887
7888 [BZ #14132]
56d25bb8
AS
7889 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7890 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7891 * intl/dgettext.c (DCGETTEXT): Likewise.
7892 * intl/gettext.c (DCGETTEXT): Likewise.
7893 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7894 * posix/regex_internal.h (gettext): Likewise.
7895 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7896 Remove declaration.
7897 * include/argz.h (__argz_count_internal)
7898 (__argz_stringify_internal): Remove declaration.
7899 (__argz_count, __argz_stringify): Declare hidden proto.
7900 * intl/dcgettext.c: Remove use of INTDEF.
7901 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7902 * string/argz-stringify.c: Likewise.
7903 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7904 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7905 Declare hidden proto.
d18ea0c5
AS
7906 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7907 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7908 Declare hidden proto.
7909 * include/stdio.h (__asprintf_internal): Don't declare.
7910 (__asprintf): Don't define as macro. Declare hidden proto.
7911 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7912 (__fsetlocking): Declare hidden proto.
7913 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7914 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7915 hidden proto.
7916 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7917 (_IO_setlinebuf): Remove use of INTUSE.
7918 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7919 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7920 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7921 Remove declaration.
7922 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7923 (_IO_do_flush): Remove use of INTUSE.
7924 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7925 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7926 (_IO_adjust_column, _IO_least_wmarker)
7927 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7928 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7929 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7930 (_IO_default_doallocate, _IO_wdefault_doallocate)
7931 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7932 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7933 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7934 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7935 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7936 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7937 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7938 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7939 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7940 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7941 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7942 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7943 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7944 proto.
7945 (_IO_flush_all_internal, _IO_adjust_column_internal)
7946 (_IO_default_uflow_internal, _IO_default_finish_internal)
7947 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7948 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7949 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7950 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7951 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7952 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7953 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7954 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7955 (_IO_file_close_internal, _IO_file_close_it_internal)
7956 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7957 (_IO_file_init_internal, _IO_file_attach_internal)
7958 (_IO_file_fopen_internal, _IO_file_read_internal)
7959 (_IO_file_sync_internal, _IO_file_seek_internal)
7960 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7961 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7962 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7963 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7964 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7965 (_IO_list_all_internal, _IO_link_in_internal)
7966 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7967 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7968 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7969 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7970 (_IO_do_write_internal, _IO_padn_internal)
7971 (_IO_getline_info_internal, _IO_getline_internal)
7972 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7973 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7974 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7975 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7976 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7977 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7978 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7979 with libc_hidden_ver, remove use of INTUSE.
7980 * libio/genops.c: Likewise.
7981 * libio/freopen.c: Likewise.
7982 * libio/freopen64.c: Likewise.
7983 * libio/iofclose.c: Likewise.
7984 * libio/iofdopen.c: Likewise.
7985 * libio/iofflush.c: Likewise.
7986 * libio/iofflush_u.c: Likewise.
7987 * libio/iofgets.c: Likewise.
7988 * libio/iofgets_u.c: Likewise.
7989 * libio/iofopen.c: Likewise.
7990 * libio/iofopncook.c: Likewise.
7991 * libio/iofread.c: Likewise.
7992 * libio/iofread_u.c: Likewise.
7993 * libio/ioftell.c: Likewise.
7994 * libio/iofwrite.c: Likewise.
7995 * libio/iogetline.c: Likewise.
7996 * libio/iogets.c: Likewise.
7997 * libio/iogetwline.c: Likewise.
7998 * libio/iopadn.c: Likewise.
7999 * libio/iopopen.c: Likewise.
8000 * libio/ioseekoff.c: Likewise.
8001 * libio/ioseekpos.c: Likewise.
8002 * libio/iosetbuffer.c: Likewise.
8003 * libio/iosetvbuf.c: Likewise.
8004 * libio/ioungetc.c: Likewise.
8005 * libio/ioungetwc.c: Likewise.
8006 * libio/iovdprintf.c: Likewise.
8007 * libio/iovsprintf.c: Likewise.
8008 * libio/iovsscanf.c: Likewise.
8009 * libio/memstream.c: Likewise.
8010 * libio/obprintf.c: Likewise.
8011 * libio/oldfileops.c: Likewise.
8012 * libio/oldiofclose.c: Likewise.
8013 * libio/oldiofdopen.c: Likewise.
8014 * libio/oldiofopen.c: Likewise.
8015 * libio/oldiopopen.c: Likewise.
8016 * libio/oldstdfiles.c: Likewise.
8017 * libio/putc.c: Likewise.
8018 * libio/setbuf.c: Likewise.
8019 * libio/setlinebuf.c: Likewise.
8020 * libio/stdfiles.c: Likewise.
8021 * libio/strops.c: Likewise.
8022 * libio/vasprintf.c: Likewise.
8023 * libio/vscanf.c: Likewise.
8024 * libio/vsnprintf.c: Likewise.
8025 * libio/vswprintf.c: Likewise.
8026 * libio/wfiledoalloc.c: Likewise.
8027 * libio/wfileops.c: Likewise.
8028 * libio/wgenops.c: Likewise.
8029 * libio/wmemstream.c: Likewise.
8030 * libio/wstrops.c: Likewise.
8031 * libio/__fpurge.c: Likewise.
8032 * libio/__fsetlocking.c: Likewise.
8033 * assert/assert.c: Likewise.
8034 * debug/fgets_chk.c: Likewise.
8035 * debug/fgets_u_chk.c: Likewise.
8036 * debug/fread_chk.c: Likewise.
8037 * debug/fread_u_chk.c: Likewise.
8038 * debug/gets_chk.c: Likewise.
8039 * debug/obprintf_chk.c: Likewise.
8040 * debug/vasprintf_chk.c: Likewise.
8041 * debug/vdprintf_chk.c: Likewise.
8042 * debug/vsnprintf_chk.c: Likewise.
8043 * debug/vsprintf_chk.c: Likewise.
8044 * malloc/mtrace.c: Likewise.
8045 * misc/error.c: Likewise.
8046 * misc/syslog.c: Likewise.
8047 * stdio-common/asprintf.c: Likewise.
8048 * stdio-common/fxprintf.c: Likewise.
8049 * stdio-common/getw.c: Likewise.
8050 * stdio-common/isoc99_fscanf.c: Likewise.
8051 * stdio-common/isoc99_scanf.c: Likewise.
8052 * stdio-common/isoc99_vfscanf.c: Likewise.
8053 * stdio-common/isoc99_vscanf.c: Likewise.
8054 * stdio-common/isoc99_vsscanf.c: Likewise.
8055 * stdio-common/printf-prs.c: Likewise.
8056 * stdio-common/printf_fp.c: Likewise.
8057 * stdio-common/printf_fphex.c: Likewise.
8058 * stdio-common/printf_size.c: Likewise.
8059 * stdio-common/putw.c: Likewise.
8060 * stdio-common/scanf.c: Likewise.
8061 * stdio-common/sprintf.c: Likewise.
8062 * stdio-common/tmpfile.c: Likewise.
8063 * stdio-common/vfprintf.c: Likewise.
8064 * stdio-common/vfscanf.c: Likewise.
8065 * stdlib/strfmon_l.c: Likewise.
8066 * sunrpc/openchild.c: Likewise.
8067 * sunrpc/xdr_stdio.c: Likewise.
8068 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8069 * sysdeps/mach/hurd/tmpfile.c: Likewise.
8070
d6c33fda
RM
80712012-05-24 Roland McGrath <roland@hack.frob.com>
8072
c1487492
RM
8073 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8074
8075 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8076 in the third column, to generate for the shared library an IFUNC
8077 that uses _dl_vdso_vsym.
8078 * Makerules (COMPILE.c, compile-stdin.c): New variables.
8079 * Makeconfig (object-suffixes-noshared): New variable.
8080
8081 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8082 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8083 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8084 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8085
d6c33fda
RM
8086 [BZ #14132]
8087 * include/sys/time.h (__gettimeofday): Remove macro.
8088 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8089 * time/gettimeofday.c (__gettimeofday): Remove #undef.
8090 Remove INTDEF.
8091 (__gettimeofday): Add libc_hidden_def.
8092 (gettimeofday): Add libc_hidden_weak.
8093 * sysdeps/mach/gettimeofday.c: Likewise.
8094 * sysdeps/posix/gettimeofday.c: Likewise.
8095 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8096 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8097 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8098 (__gettimeofday_internal): Remove strong_alias.
8099 (__gettimeofday): Add libc_hidden_def.
8100 (gettimeofday): Add libc_hidden_weak.
8101 * sysdeps/unix/syscalls.list (gettimeofday):
8102 Remove __gettimeofday_internal alias.
8103
b5a2bbe6
L
81042012-05-24 Daniel Jacobowitz <drow@false.org>
8105 H.J. Lu <hongjiu.lu@intel.com>
8106
8107 [BZ #12495]
8108 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8109 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8110 (largebin_index_32_big): New.
8111 (largebin_index): Use it for 16-byte alignment.
8112 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
8113 correction with front_misalign.
8114
cfba4fda
L
81152012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8116
7f907421
L
8117 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8119 Likewise.
8120 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8121 Likewise.
8122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8123 Likewise.
8124 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8125 Likewise.
8126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8127 Likewise.
8128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8129 Likewise.
8130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8131 Likewise.
8132 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8133 Likewise.
8134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8135 Likewise.
8136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8137 Likewise.
8138 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8139 Likewise.
8140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8141 Likewise.
8142
cfba4fda
L
8143 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8144 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8145
80bad0cc
JM
81462012-05-24 Joseph Myers <joseph@codesourcery.com>
8147
7a25eb06
JM
8148 [BZ #10846]
8149 [BZ #14036]
8150 * math/libm-test.inc (exp_test): Add test from bug 14036.
8151 (pow_test): Add test from bug 10846.
8152
795405f9
JM
8153 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8154 and other flags.
8155 (special_function): Do not include flags in test name.
8156 (parse_args): Likewise.
8157 * sysdeps/i386/fpu/libm-test-ulps: Update.
8158 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8159 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8160 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8162
80bad0cc
JM
8163 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8164 exceptions.
8165 * math/libm-test.inc ("Philosophy"): Update comment about
8166 exception testing.
8167 (UNDERFLOW_EXCEPTION): New macro.
8168 (UNDERFLOW_EXCEPTION_OK): Likewise.
8169 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8170 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8171 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8172 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8173 (INVALID_EXCEPTION_OK): Update value.
8174 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8175 (OVERFLOW_EXCEPTION_OK): Likewise.
8176 (IGNORE_ZERO_INF_SIGN): Likewise.
8177 (test_exceptions): Handle underflow exceptions.
8178 (acos_test): Update for underflow exception expectations.
8179 (cexp_test): Likewise.
8180 (clog_test): Likewise.
8181 (clog10_test): Likewise.
8182 (csqrt_test): Likewise.
8183 (ctan_test): Likewise.
8184 (ctanh_test): Likewise.
8185 (exp_test): Likewise.
8186 (exp10_test): Likewise.
8187 (exp2_test): Likewise.
8188 (expm1_test): Likewise.
8189 (fma_test): Likewise.
8190 (j0_test): Likewise.
8191 (jn_test): Likewise.
8192 (nexttoward_test): Likewise.
8193 (pow_test): Likewise.
8194 (scalbn_test): Likewise.
8195 (scalbln_test): Likewise.
8196 (tan_test): Likewise.
8197 (y1_test): Likewise.
8198 * sysdeps/i386/fpu/libm-test-ulps: Update.
8199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8200
9e0e3d0b
DM
82012012-05-23 David S. Miller <davem@davemloft.net>
8202
8203 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8204 (__libc_sigaction): Remove unused local variables.
8205
ccd0a08f
L
82062012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8207
8208 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8209
62bdf9a6
PE
82102012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8211
f8591f80
PE
8212 mktime: avoid signed integer overflow
8213 * time/mktime.c (__mktime_internal): Do not mishandle the case
8214 where diff == INT_MIN.
8215
94c7d826
PE
8216 mktime: simplify computation of average
8217 * time/mktime.c (ranged_convert): Use new time_t_avg function
8218 instead of rolling our own (probably-slower) code.
8219
ce73d683
PE
8220 mktime: do not assume signed right shift propagates sign bit
8221 * time/mktime.c (isdst_differ): New static function.
8222 (__mktime_internal): No need to normalize tm_isdst now.
8223 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8224 tm_isdst values.
8225
72a22e59
PE
8226 mktime: merge another wrapv change from gnulib
8227 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8228 from some compilers.
8229
68605433
PE
8230 mktime: remove incorrect attempt at unusual arithmetics
8231 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8232 The code didn't really work on such machines anyway.
8233 (TYPE_MINIMUM): Assume two's complement.
8234 (twos_complement_arithmetic): Verify that long_int and time_t
8235 are two's complement (or unsigned, in the latter case).
8236
03cf7fe3
PE
8237 mktime: check signed shifts on long_int and time_t, too
8238 * time/mktime.c (SHR): Check that shifts work as desired
8239 on the types long_int and time_t too, as SHR is used on
8240 such types.
8241
f04dfbc2
PE
8242 mktime: do not assume 'long' is wide enough
8243 * time/mktime.c (verify): Move decl up.
8244 (long_int): New type.
8245 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8246 to remove assumption in the code that 'long' is wide enough to
8247 store year values. This assumption is not true on x32 and on
8248 some non-glibc platforms.
8249
62bdf9a6
PE
8250 mktime: merge wrapv change from gnulib
8251 * time/mktime.c (WRAPV): New macro.
8252 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8253 (guess_time_tm, __mktime_internal): Do not assume that signed
8254 integer overflow wraps around; modern compilers generate code
8255 where this assumption is no longer valid.
8256
5e292e4f
L
82572012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8258
8259 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8260 Replace "jmp L(pseudo_end)" with "ret".
8261 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8262 Likewise.
8263
8caf8c87
AJ
82642012-05-23 Andreas Jaeger <aj@suse.de>
8265
8266 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8267 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8268
1a09dc56
AJ
82692012-05-23 Andreas Jaeger <aj@suse.de>
8270 Maximilian Attems <max@stro.at>
8271
8272 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8273 New macros.
8274
1c87aba0
L
82752012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8276
8277 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8278 code so that pseudo_end is just ret and the stack pointer is
8279 correct also for static library in error case.
8280
40e45bd5
JM
82812012-05-23 Joseph Myers <joseph@codesourcery.com>
8282
c2670533
JM
8283 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8284 move to syscalls.list.
8285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8289
40e45bd5
JM
8290 * manual/install.texi (Running make install): Do not mention Linux
8291 kernel version for which pt_chown is not needed.
8292 (Linux): Do not mention problems with nscd with 2.0 kernels.
8293 * INSTALL: Regenerated.
8294
be08eda5
AJ
82952012-05-23 Andreas Jaeger <aj@suse.de>
8296
8297 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8298 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8299 macro.
8300 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8301 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8302 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8303 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8304 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8305 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8306 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8307 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8308 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8309 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8310 * sysdeps/unix/sysv/linux/bits/in.h
8311 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8312
a6a056bb
RM
83132012-05-22 Roland McGrath <roland@hack.frob.com>
8314
8315 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8316 (PREPARE_VERSION): Just use assert instead, it will be elided
8317 under [NDEBUG] anyway.
8318
c9009328
L
83192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8320
8321 * sysdeps/unix/sysv/linux/Makefile: Include
8322 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 8323 (sysdep_routines): Remove sysctl.
c9009328
L
8324 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8325 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8326 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8327 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8328 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8329
73338355
AJ
83302012-05-22 Andreas Jaeger <aj@suse.de>
8331
8332 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8333 that pseudo_end is just ret and the stack pointer is correct also
8334 for static library in error case.
8335
d44638b0
PP
83362012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8337
8338 [BZ #14122]
8339 * nss/nsswitch.c (defconfig_entries): New variable.
8340 (__nss_database_lookup): Don't leak defconfig entries.
8341 (nss_parse_service_list): Don't leak on error paths.
8342 (free_database_entries): New function.
8343 (free_defconfig): New function.
8344 (free_mem): Move common code to free_database_entries.
8345
31a39bd8
L
83462012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8347
da0331a8
L
8348 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8349 Add arch_prctl.
8350 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8351
31a39bd8
L
8352 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8353 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8354 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8355 New macro.
8356 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8357 (INTERNAL_SYSCALL_TYPES): Likewise.
8358 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8359 (LOAD_REGS_TYPES_[1-6]): Likewise.
8360 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8361 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8362
45470df3
AZ
83632012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8364
8365 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8366 copysignl for GLIBC_2_0.
8367 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8368 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8369 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8370 logbl for GLIBC_2_0.
8371 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8372 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8373
98a61bcb
L
83742012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8375
a4f6e481
L
8376 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8377 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8378
f63d5db6
L
8379 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8380 Use "neg %eax".
8381
98a61bcb
L
8382 * time/mktime.c: Update copyright years.
8383
95770f14
PE
83842012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8385
6226efbd
PE
8386 mktime: merge comment-quoting-style change from gnulib
8387 * time/mktime.c: Quote 'like this' in comments.
8388 The GNU coding standards suggest that we no longer quote `like this',
8389 as "`" and "'" are typically rendered asymmetrically nowadays.
8390 The typical gnulib style is to quote 'like this' when quoting
8391 code, and "like this" when quoting English.
8392
b99e4f78
PE
8393 * time/mktime.c (compile-command): Add "-I.".
8394
643e01e6
PE
8395 mktime: merge mktime-internal.h change from gnulib
8396 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8397
2554247d
PE
8398 mktime: merge time_r change from gnulib
8399 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8400
826dd0ab
PE
8401 mktime: merge DEBUG change from gnulib
8402 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8403 case system <time.h> has a #define.
8404
bd83aabe
PE
8405 mktime: merge <sys/types.h> change from gnulib
8406 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8407 since <time.t> is now guaranteed to define time_t.
8408
95770f14
PE
8409 mktime: merge HAVE_CONFIG_H change from gnulib
8410 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8411
5e1a27a9
L
84122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8413
0e44a77e
L
8414 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8415 Use "neg %eax".
8416
5e1a27a9
L
8417 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8418 __rlim_t cast.
8419 (struct rusage): Use anonymous union to pad each field to
8420 __syscall_slong_t.
8421
46259bec
DM
84222012-05-21 David S. Miller <davem@davemloft.net>
8423
8424 * Makefules (o-iterator): Remove .s cases.
8425 (compile-command.s): Delete.
8426 (COMPILE.s): Delete.
8427 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8428
59f0c22e
JM
84292012-05-21 Joseph Myers <joseph@codesourcery.com>
8430
8431 * configure.in (libc_cv_predef_stack_protector): Only consider
8432 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8433 * configure: Regenerated.
8434
20c07380
L
84352012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8436
bbb3154b
L
8437 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8438 New macro. Use R*LP on int and pointer.
8439 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
8440 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8441 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
8442 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8443
20c07380
L
8444 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8445 [__WORDSIZE_TIME64_COMPAT32] instead of
8446 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8447 (struct utmp): Likewise.
8448 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8449 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8450 Renamed to ...
8451 (__WORDSIZE_TIME64_COMPAT32): This.
8452 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8453 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8454 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8455 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8456 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8457 (__WORDSIZE_TIME64_COMPAT32): New macro.
8458
d8d1017e
AJ
84592012-05-21 Andreas Jaeger <aj@suse.de>
8460
8461 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8462 only if [SHARED]. Add prototype for __wcschr_ia32.
8463
6c7fb145
RM
84642012-05-21 Roland McGrath <roland@hack.frob.com>
8465
8466 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8467 of %rbp unmolested in the jmp_buf while mangling the low bits.
8468 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8469 unmolested high bits of %rbp while demangling the low bits.
8470 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8471
66274218
AJ
84722012-05-21 Andreas Jaeger <aj@suse.de>
8473
07c58f8f
AJ
8474 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8475 * sunrpc/svc_simple.c: Use it for registerrpc.
8476 * sunrpc/xcrypt.c: Use it for passwd2des.
8477
66274218
AJ
8478 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8479
61f65140
L
84802012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8481
8482 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8483 Don't define if [__SYSCALL_WORDSIZE != 32].
8484 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8485 New macro.
8486
5fefb436
AJ
84872012-05-21 Bruno Haible <bruno@clisp.org>
8488 Andreas Jaeger <aj@suse.de>
8489
8490 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8491 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8492 inptr and inend for must_buffer_ch.
8493 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8494 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8495 * stdio-common/Makefile (tests): Remove bug15.
8496 (bug15-ENV): Remove macro.
8497 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8498 anymore.
8499
d8e272ab
AJ
85002012-05-19 Andreas Jaeger <aj@suse.de>
8501 Roland McGrath <roland@hack.frob.com>
8502
8503 * manual/contrib.texi: Completely rewritten. It contains now an
8504 alphabetical list of contributors and their contributions.
8505
4a56a162
RH
85062012-05-21 Richard Henderson <rth@twiddle.net>
8507
8508 * misc/getauxval.c (__getauxval): Use unsigned long int.
8509 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8510 (getauxval): Use unsigned long int.
8511
d024d23c
L
85122012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8513
8514 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8515
cbc00a03
RM
85162012-05-21 Roland McGrath <roland@hack.frob.com>
8517
8518 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8519 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8520 __alignof__ (long double).
8521
478143fa
AZ
85222012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8523
8524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8525
c7683a6d
RH
85262012-05-20 Richard Henderson <rth@twiddle.net>
8527
8528 * misc/getauxval.c: New file.
8529 * misc/sys/auxv.h: New file.
8530 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8531 (routines): Add getauxval.
8532 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8533 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8534 * elf/dl-sysdep.c (_dl_auxv): Remove.
8535 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8536 * elf/dl-support.c (_dl_auxv): New variable.
8537 (_dl_aux_init): Initialize it.
8538 * manual/startup.texi (Auxiliary Vector): New node.
8539 * sysdeps/generic/bits/hwcap.h: New file.
8540 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8541 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8542 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8543 * sysdeps/sparc/sysdep.h: ... here. Include it.
8544 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8545 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
8546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8547 Update.
c7683a6d
RH
8548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8551 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8556
a6f1845d
AZ
85572012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8558
8559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8560
cbcbe830
DM
85612012-05-19 David S. Miller <davem@davemloft.net>
8562
8563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8564
e0b16cc2
JM
85652012-05-19 Joseph Myers <joseph@codesourcery.com>
8566
8567 [BZ #14123]
8568 * math/s_ccosh.c: Include <float.h>
8569 (__ccosh): Avoid internal overflow calculating sinh and cosh
8570 values before multiplying by sin and cos values.
8571 * math/s_ccoshf.c: Likewise.
8572 * math/s_ccoshl.c: Likewise.
8573 * math/s_csin.c: Likewise.
8574 * math/s_csinf.c: Likewise.
8575 * math/s_csinl.c: Likewise.
8576 * math/s_csinh.c: Likewise.
8577 * math/s_csinhf.c: Likewise.
8578 * math/s_csinhl.c: Likewise.
8579 * math/libm-test.inc (ccos_test): Add more tests.
8580 (ccosh_test): Likewise.
8581 (csin_test): Likewise.
8582 (csinh_test): Likewise.
8583 * sysdeps/i386/fpu/libm-test-ulps: Update.
8584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8585
6ad13e08
L
85862012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8587
f66f0ce8
L
8588 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8589 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8590
6ad13e08
L
8591 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8592
b1d072a7
JM
85932012-05-19 Joseph Myers <joseph@codesourcery.com>
8594
8595 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8596 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8597 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8598 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8599 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8600 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8601 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8602 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8603 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8604 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8605 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8606 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8607 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8608 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8609 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8610 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8611 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8612 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8613 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8614 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8615 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8616 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8617 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8618 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8619 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8620 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8621 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8622 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8623 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8624 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8625 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8626
9eae47cb
AJ
86272012-05-18 Andreas Jaeger <aj@suse.de>
8628
8629 * csu/.gitignore: Delete.
8630
bb07f69f
L
86312012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8632
8633 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8634 (timex): Use __syscall_slong_t.
8635
e6bdb741
AJ
86362012-05-18 Andreas Jaeger <aj@suse.de>
8637 Carlos O'Donell <carlos_odonell@mentor.com>
8638
8639 * manual/install.texi (Configuring and compiling): Update
8640 description about files modified in the source directory.
d6c33fda 8641 * INSTALL: Regenerated.
e6bdb741 8642
1b74487e
L
86432012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8644
8645 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8646 value. Use "or" to set return value to -1.
8647 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8648 negate return value.
8649
a88b64b9
TMQMF
86502012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8651
8652 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8653 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8654 failure if the compiler has Graphite support disabled.
8655 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8656 Likewise.
8657 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8658 CFLAGS-memmove.c): Likewise.
8659 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8660 Likewise.
8661
3707636e
L
86622012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8663
610b8622
L
8664 * sysdeps/x86_64/x32/_itoa.h: New file.
8665
7cd195df
L
8666 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8667 getdents system call only if kernel and user dirents have the
8668 same d_ino and d_off.
8669
94b07d20
L
8670 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8671 LLONG_MAX != LONG_MAX.
8672 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8673 (_fitoa_word): Likewise.
8674
18298070
L
8675 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8676 years.
8677 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8678 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8679 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8680
553c7ea4
L
8681 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8682 include <bits/wordsize.h>. Check __x86_64__ instead of
8683 __WORDSIZE.
8684 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8685 if __x86_64__ is defined. Use anonymous union on fpstate.
8686
3707636e
L
8687 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8688 anonymous union.
8689
b53ef01a
AS
86902012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8691
37fb1dc0
AS
8692 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8693 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8694 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8695 Refer to _rtld_local_ro instead of _rtld_global_ro.
8696 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8697 Likewise.
8698 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8699 Likewise.
8700 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8701 Likewise.
8702 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8703 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8704 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8705
b53ef01a
AS
8706 * sysdeps/powerpc/powerpc32/dl-machine.c
8707 (__elf_machine_runtime_setup) [PROF]: Don't reference
8708 _dl_prof_resolve.
8709
7a185db2
AJ
87102012-05-18 Andreas Jaeger <aj@suse.de>
8711
8712 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8713 function only available for GCCs before 3.4 since GCC 3.4
8714 introduced a builtin.
8715 (lrint): Likewise.
8716 (llrintf): Likewise.
8717 (llrint): Likewise.
8718 (fmaxf): Likewise.
8719 (fmax): Likewise.
8720 (fminf): Likewise.
8721 (fmin): Likewise.
8722 (rint): Likewise.
8723 (rintf): Likewise.
8724 (nearbyint): Likewise.
8725 (nearbyintf): Likewise.
8726 (ceil): Likewise.
8727 (ceilf): Likewise.
8728 (floor): Likewise.
8729 (floorf): Likewise.
8730
3e5aef87
L
87312012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8732
428bd707
L
8733 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8734 on both fields and cast pointer to __syscall_ulong_t.
8735
3e5aef87
L
8736 * bits/types.h (__fsword_t): New type.
8737 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8738 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8739 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8740 (__FSWORD_T_TYPE): Likewise.
8741 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8742 (__FSWORD_T_TYPE): Likewise.
8743 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8744 (__FSWORD_T_TYPE): Likewise.
8745 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8746 (__FSWORD_T_TYPE): Likewise.
8747 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8748 __SWORD_TYPE with __fsword_t.
8749 (statfs64): Likewise.
8750
1ba7c3dc
DM
87512012-05-17 David S. Miller <davem@davemloft.net>
8752
8753 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8754
59910343
AJ
87552012-05-17 Andreas Jaeger <aj@suse.de>
8756
8757 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8758 warning.
8759
2e4c1e9e
L
87602012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8761
8762 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8763
de7f5ce7
AJ
87642012-05-17 Andreas Jaeger <aj@suse.de>
8765
8766 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8767 when it is used.
8768
286abc3d
CM
87692012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8770
8771 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8772
477cc68e
L
87732012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8774
8775 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8776 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8777
1a0994f5
CD
87782012-05-17 Andreas Jaeger <aj@suse.de>
8779 Carlos O'Donell <carlos_odonell@mentor.com>
8780
8781 [BZ #14059]
8782 * sysdeps/x86_64/multiarch/init-arch.h
8783 (bit_YMM_Usable): Rename to...
8784 (bit_AVX_Usable): ... this.
8785 (bit_FMA4_Usable): New macro.
8786 (bit_XMM_state): New macro.
8787 (bit_YMM_state): New macro.
8788 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8789 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8790 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8791 (CPUID_OSXSAVE): New macro.
8792 (CPUID_AVX): New macro.
8793 (CPUID_FMA4): New macro.
8794 (index_YMM_Usable): Rename to...
8795 (index_AVX_Usable): ... this.
8796 (HAS_AVX): Use HAS_ARCH_FEATURE.
8797 (HAS_FMA4): Likewise.
8798 (HAS_YMM_USABLE): Remove.
8799 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8800 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8801 are present.
8802 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8803 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8804 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8805 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8806 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8807
0af797de
CM
88082012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8809
8810 * math/libm-test.c: Support platforms without multiple rounding modes.
8811 * math/bug-nextafter.c: Support platforms without FP exceptions.
8812 * math/bug-nexttoward.c: Likewise.
8813 * math/test-fenv.c: Likewise.
8814 * math/test-misc.c: Likewise.
8815 * stdlib/bug-getcontext.c: Likewise.
8816
e39745ff
AJ
88172012-05-17 Andreas Jaeger <aj@suse.de>
8818
8819 * manual/examples/search.c (critter_cmp): Change signature to
8820 avoid warnings.
8821 * manual/string.texi (Collation Functions): Likewise.
8822
48970aba
L
88232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8824
8825 * bits/types.h: Fold copyright years.
8826 * bits/typesizes.h: Likewise.
8827 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8828 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8829 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8830 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8831 * time/time.h: Likewise.
8832
bedee953
PP
88332012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8834
8835 [BZ #208]
8836 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8837 in instead of returning them. Return void.
8838 (__libc_mallinfo): Accumulate over all arenas.
8839 (__malloc_stats): Adjust for change in int_mallinfo interface.
8840
61653dfb
RM
88412012-05-16 Roland McGrath <roland@hack.frob.com>
8842
30b99d79
RM
8843 [BZ #10375]
8844 * configure.in (NM): Add AC_CHECK_TOOL for it.
8845 (libc_extra_cflags): New substituted variable.
8846 Check for -fstack-protector being used implicitly.
8847 * configure: Regenerated.
8848 * config.make.in (config-extra-cflags): New variable,
8849 gets @libc_extra_cflags@.
8850 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8851
61653dfb
RM
8852 [BZ #10375]
8853 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8854 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8855 * configure: Regenerated.
8856 * config.make.in (CPPUNDEFS): New substituted variable.
8857 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8858 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8859 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8860
661768bb
L
88612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8862
8863 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8864 (mq_attr): Use __syscall_slong_t.
8865
d4261567
L
88662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8867
8868 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8869 Check __x86_64__ instead of __WORDSIZE.
8870 (_STAT_VER_LINUX): Likewise.
8871 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8872 __syscall_ulong_t and __syscall_slong_t.
8873 (stat64): Likewise.
8874
cf3ff365
L
88752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8876
8877 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8878
76cf3e4d
L
88792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8880
8881 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8882
a637753a
L
88832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8884
8885 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8886 __syscall_ulong_t.
8887
d5e05119
L
8888 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8889 include <bits/wordsize.h>. Check __x86_64__ instead of
8890 __WORDSIZE.
8891 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8892 defined.
8893 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8894
f62ee380
L
8895 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8896 include <bits/wordsize.h>. Check __x86_64__ instead of
8897 __WORDSIZE.
8898 (user_regs_struct): Use "__extension__ unsigned long long"
8899 instead of "unsigned long" if __x86_64__ is defined.
8900 (user): Likewise. Pad after pointer field if __ILP32__ is
8901 defined.
8902
4e124ced
JM
89032012-05-16 Joseph Myers <joseph@codesourcery.com>
8904
6a3951a0
JM
8905 * configure.in (makeinfo): Require version 4.5 or later. Allow
8906 versions 5 to 9.
8907 * configure: Regenerated.
8908 * manual/install.texi (texinfo): Increase version requirement to
8909 4.5 or later.
8910 * INSTALL: Regenerated.
8911
4e124ced
JM
8912 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8913
953ca31a
L
89142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8915
8916 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8917
617aca05
L
8918 * sysdeps/x86_64/x32/ffs.c: New file.
8919
5762f7ae
L
8920 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8921 __syscall_ulong_t.
8922 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8923 defined. Use __syscall_ulong_t.
8924 (shminfo): Use __syscall_ulong_t.
8925 (shm_info): Likewise.
8926
a26b6856
L
8927 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8928 __syscall_ulong_t.
8929
cb2b9ef7
L
8930 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8931 <bits/wordsize.h>.
8932 (msgqnum_t): Use __syscall_ulong_t.
8933 (msglen_t): Likewise.
8934 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8935 __syscall_ulong_t.
8936
34683bb0
L
8937 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8938 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8939
84a68786
L
8940 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8941
48baa5f1
L
8942 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8943 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8944
180be88b
L
8945 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8946 __syscall_slong_t.
8947
5e90c8ad
L
8948 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8949 include <bits/wordsize.h>. Check __x86_64__ instead of
8950 __WORDSIZE.
8951
23dfb58b
L
8952 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8953 "unsigned long long int" if __x86_64__ is defined.
8954 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8955
ce5d54b0
L
8956 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8957 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8958 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8959
13dc9eac
L
8960 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8961 <stdint.h>.
8962 (GET_PC): Cast to uintptr_t first.
8963 (GET_FRAME): Likewise.
8964 (GET_STACK): Likewise.
8965
a7895d15
L
8966 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8967 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8968 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8969 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8970 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8971 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8972 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8973 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8974 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8975 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8976 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8977 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8978 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8979 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8980 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8981 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8982 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8983 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8984 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8985 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8986 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8987 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8988 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8989 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8990 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8991 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8992 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8993 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8994 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8995
656416c9
AS
89962012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8997
5bd66283
AS
8998 * Makerules (+depfiles): Also collect depfiles from .oS in
8999 $(extra-objs).
9000 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9001 .oS, $(libnldbl-routines)).
9002
656416c9
AS
9003 * Makerules (native-compile-mkdep-flags): Define.
9004 * sunrpc/Makefile (extra-objs): Add $(addprefix
9005 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9006 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9007 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
9008 calling $(make-target-directory).
9009
a46f2169
L
90102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9011
9012 * bits/types.h (__snseconds_t): Removed.
9013 * time/time.h (struct timespec): Replace __snseconds_t with
9014 __syscall_slong_t.
9015 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9016 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9017 Likewise.
9018 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9019 (__SNSECONDS_T_TYPE): Likewise.
9020 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9021 (__SNSECONDS_T_TYPE): Likewise.
9022 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9023 (__SNSECONDS_T_TYPE): Likewise.
9024
6af6528b
L
90252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9026
9027 * sysdeps/mach/hurd/bits/typesizes.h
9028 (__SYSCALL_SLONG_TYPE): New macro.
9029 (__SYSCALL_ULONG_TYPE): Likewise.
9030
de986b56
L
90312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9032
9033 * bits/types.h (__syscall_slong_t): New type.
9034 (__syscall_ulong_t): Likewise.
9035
9036 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9037 (__SYSCALL_ULONG_TYPE): Likewise.
9038 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9039 (__SYSCALL_SLONG_TYPE): Likewise.
9040 (__SYSCALL_ULONG_TYPE): Likewise.
9041 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9042 (__SYSCALL_SLONG_TYPE): Likewise.
9043 (__SYSCALL_ULONG_TYPE): Likewise.
9044 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9045 (__SYSCALL_SLONG_TYPE): Likewise.
9046 (__SYSCALL_ULONG_TYPE): Likewise.
9047
85736dc7
L
90482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9049
9050 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9051 Add sigaltstack-offsets.sym.
9052 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9053 <sigaltstack-offsets.h>.
9054 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
9055 longjmp_msg pointer.
9056 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
9057 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9058 signal stack.
9059 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9060
cc03b296
JM
90612012-05-15 Joseph Myers <joseph@codesourcery.com>
9062
a9538892
JM
9063 * elf/stackguard-macros.h: Remove file.
9064 * sysdeps/generic/stackguard-macros.h: New file.
9065 * sysdeps/i386/stackguard-macros.h: Likewise.
9066 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9067 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9068 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9069 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9070 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9071 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9072 * sysdeps/x86_64/stackguard-macros.h: Likewise.
9073 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9074 <elf/stackguard-macros.h>.
9075
cc03b296
JM
9076 [BZ #14109]
9077 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9078 __aligned__ in attribute.
9079 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9080 (gregset_t): Likewise.
9081
93171016
L
90822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9083
9084 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9085 * sysdeps/x86_64/64/Implies-after: Here. New file.
9086 * sysdeps/x86_64/x32/Implies-after: New file.
9087
d86813a0
L
90882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9089
9090 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9091 and access return value for _dl_profile_fixup. Use R10_LP to
9092 load frame size.
9093
2953ec75
L
90942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9095
9096 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9097
3b550e9e
L
90982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9099
9100 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9101 * sysdeps/x86_64/x32/sysdep.h: New file.
9102
eda41706
L
91032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9104
9105 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9106 * sysdeps/x86_64/setjmp.S: Likewise.
9107
9ea01d93
AZ
91082012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9109
9110 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9111 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9112 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9113 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9114 remove unused global constant.
9115
02a91938
CM
91162012-05-15 Chris Metcalf <cmetcalf@tilera.com>
9117
9118 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9119 include of <not-cancel.h>.
9120
6540185f
RM
91212012-05-15 Roland McGrath <roland@hack.frob.com>
9122
9123 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9124
509072a0
AJ
91252012-05-15 Jeff Law <law@redhat.com>
9126 Andreas Jaeger <aj@suse.de>
9127
9128 [BZ #13594]
9129 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9130 out from...
9131 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9132 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9133 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9134 code changing __hst_map_handle.map.
9135
ba75122d
RM
91362012-05-15 Roland McGrath <roland@hack.frob.com>
9137
9138 * configure.in (sysnames): Look for Implies-before and Implies-after
9139 files.
9140 * configure: Regenerated.
9141
890d8bd8
L
91422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9143
9144 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9145 8-byte data alignment with LP_SIZE alignment.
9146
f6ee6623
L
91472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9148
9149 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9150 into R10_LP.
9151
ea2626f6
L
91522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9153
9154 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9155
085f715e
L
91562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9157
9158 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9159 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9160 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9161 Likewise.
9162 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9163
be8498fc
L
91642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9165
9166 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9167 (stackinfo_sub_sp): Likewise.
9168
70bc83b9
L
91692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9170
9171 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9172 RAX_LP.
9173
9bc0b730
L
91742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9175
9176 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9177 into R*_LP.
9178
6d2850e7
L
91792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9180
9181 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9182 sizes into R*_LP.
9183
3cb84561
L
91842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9185
9186 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9187
54e2ed81
L
91882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9189
9190 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9191 into R11_LP and load __x86_64_shared_cache_size_half into
9192 R8_LP.
9193
8a17f349
L
91942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9195
9196 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9197 R8_LP.
9198
777b1eea
AZ
91992012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9200
9201 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9202 logb for POWER7.
9203 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9204 logbf for POWER7.
9205 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9206 logbl for POWER7.
9207 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9208 powerpc32/power7/fpu/s_logb.c via #include.
9209 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9210 powerpc32/power7/fpu/s_logbf.c via #include.
9211 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9212 powerpc32/power7/fpu/s_logbl.c via #include.
9213
d20d4ac2
JM
92142012-05-15 Joseph Myers <joseph@codesourcery.com>
9215
9216 * README.libm: Remove file.
9217
6cdef1ab
L
92182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9219
9220 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9221 count for x32. Use R*_LP and omit operand-size suffix.
9222
0b254d8f
L
92232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9224
9225 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9226 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9227 * sysdeps/x86_64/x32/shlib-versions: New file.
9228
ceb809dc
RM
92292012-05-14 Roland McGrath <roland@hack.frob.com>
9230
9231 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9232 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9233 Use _dl_fatal_printf instead.
9234
37f1abd4
JM
92352012-05-14 Joseph Myers <joseph@codesourcery.com>
9236
9237 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9238 set if not set by the user. Do not allow for being unset.
9239 * sysdeps/unix/sysv/linux/configure: Regenerated.
9240
11de3a33
L
92412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9242
9243 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9244 the `q' suffix from lea and replace .quad with ASM_ADDR.
9245
e02f153a
L
92462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9247
9248 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9249 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9250 instead of $17.
9251 (PTR_DEMANGLE): Likewise.
9252
520ae0fd
L
92532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9254
9255 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9256 (LP_OP): Likewise.
9257 (ASM_ADDR): Likewise.
9258 (RAX_LP): Likewise.
9259 (RBP_LP): Likewise.
9260 (RBX_LP): Likewise.
9261 (RCX_LP): Likewise.
9262 (RDI_LP): Likewise.
9263 (RSI_LP): Likewise.
9264 (RSP_LP): Likewise.
9265 (R8_LP): Likewise.
9266 (R9_LP): Likewise.
9267 (R10_LP): Likewise.
9268 (R10_LP): Likewise.
9269 (R11_LP): Likewise.
9270 (R12_LP): Likewise.
9271 (R13_LP): Likewise.
9272 (R14_LP): Likewise.
9273 (R15_LP): Likewise.
9274
b985be81
L
92752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9276
9277 * sysdeps/x86_64/x32/dl-machine.h: New file.
9278
6a4888ff
AJ
92792012-05-14 Andreas Jaeger <aj@suse.de>
9280
9281 * manual/Makefile (subdir): Remove export of subdir.
9282 (all): Remove target.
9283 (.PHONY): Remove all from list.
9284 (mkinstalldirs): Remove.
9285 (.PHONY): Remove installdirs from list.
9286 ($(inst_infodir)/libc.info): Use make-target-directory.
9287 (installdirs): Remove.
9288 (subdir_%): Remove.
9289 (glibc-targets): Remove.
9290 (lib): Remove.
9291 (stubs): Remove.
9292 ($(objpfx)stubs ../po/manual.pot): Remove.
9293 ($(objpfx)stamp%): Remove.
9294 (make-target-directory): Remove.
9295 (subdir_install): Remove.
9296 (routines): Remove.
9297 (aux): Remove.
9298 (sources): Remove.
9299 (objects): Remove.
9300 (headers): Remove.
9301
9302 [BZ #13750]
9303 * manual/.gitignore: Remove, it's not needed anymore.
9304 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9305 all files in it.
9306 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9307 directory.
9308 (texis): Renamed to $(objpfx)texis.
9309 (texis-path): New, contains path to generated files.
9310 (chapters.%): Use texis-path for complete path, add extra argument
9311 libc-texinfo.sh.
9312 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9313 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9314 (summary,texi, stamp-summary): Use complete path of
9315 files. Generate files in build dir.
9316 (dir-add.texi): Build in build dir.
9317 (libm-err.texi,stamp-libm-err): Likewise.
9318 (version.texi, stamp-version): Likewise.
9319 (.%c.texi): Likewise.
9320 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9321 (mostlyclean): Remove target.
9322 (realclean): Remove target.
9323 (generated): Add new variable with contents from mostlyclean and
9324 realclean, remove entries duplicated in common-mostlyclean, add
9325 stamp-libm-err and stamp-version.
9326 (generated-dirs): Add libc directory.
9327 ($(inst_infodir)/libc.info): Install files from build dir.
9328
9329 * manual/install.texi (Configuring and compiling): Adjust since
9330 the info files are not part of the tar ball anymore.
9331
7ac77294
AJ
93322012-05-14 Andreas Jaeger <aj@suse.de>
9333
9334 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9335 variable.
9336
ffb7875d
JM
93372012-05-14 Joseph Myers <joseph@codesourcery.com>
9338
9339 [BZ #13717]
9340 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9341 to 2.2.0 where earlier.
9342 * sysdeps/unix/sysv/linux/configure: Regenerated.
9343 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9344 Remove conditional code.
9345 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9346 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9347 Remove conditional code.
9348 [!__NR_lchown]: Likewise.
9349 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9350 [__NR_lchown]: Likewise.
9351 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9352 comment referencing __ASSUME_LCHOWN_SYSCALL.
9353 * sysdeps/unix/sysv/linux/i386/sigaction.c
9354 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9355 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9356 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9357 Remove conditional code.
9358 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9359 (__protocol_available): Remove #if 0 code.
9360 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9361 conditional code.
9362 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9363 * sysdeps/unix/sysv/linux/kernel-features.h
9364 (__ASSUME_GETCWD_SYSCALL): Don't define.
9365 (__ASSUME_REALTIME_SIGNALS): Likewise.
9366 (__ASSUME_PREAD_SYSCALL): Likewise.
9367 (__ASSUME_PWRITE_SYSCALL): Likewise.
9368 (__ASSUME_POLL_SYSCALL): Likewise.
9369 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9370 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9371 non-SPARC.
9372 (__ASSUME_SIOCGIFNAME): Don't define.
9373 (__ASSUME_MSG_NOSIGNAL): Likewise.
9374 (__ASSUME_SENDFILE): Define unconditionally.
9375 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9376 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9377 conditional code.
9378 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9379 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9380 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9381 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9382 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9383 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9384 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9386 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9387 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9389 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9390 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9392 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9393 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9395 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9396 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9398 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9399 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9401 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9402 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9404 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9405 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9407 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9408 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9409 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9410 Remove conditional code.
9411 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9412 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9413 Remove conditional code.
9414 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9415 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9416 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9417 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9418 Remove conditional code.
9419 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9420 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9421 Remove conditional code.
9422 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9423 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9424 Remove conditional code.
9425 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9426 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9427 Remove conditional code.
9428 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9429 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9430 Remove conditional code.
9431 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9432 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9433 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9434 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9435 * sysdeps/unix/sysv/linux/sigaction.c
9436 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9437 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9438 * sysdeps/unix/sysv/linux/sigpending.c
9439 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9440 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9441 * sysdeps/unix/sysv/linux/sigprocmask.c
9442 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9443 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9444 * sysdeps/unix/sysv/linux/sigsuspend.c
9445 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9446 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9447 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9448 (__libc_missing_rt_sigs): Remove.
9449 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9450 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9451 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9452 Remove conditional code.
9453 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9454 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9455 return 1.
9456 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9457 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9458 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9459 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9460
1bfb7291
AJ
94612012-05-14 Andreas Jaeger <aj@suse.de>
9462
caae5a81
AJ
9463 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9464 it's not used in glibc.
9465 (__coshm1): Likewise.
9466 (__acosh1p): Likewise.
9467 (__sgn): Likewise.
9468
1bfb7291
AJ
9469 * manual/string.texi (Copying and Concatenation): Add missing
9470 variable in concat example.
9471 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9472
c044d724
L
94732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9474
144c5467 9475 [BZ #14103]
c044d724
L
9476 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9477 __builtin_clzl with __builtin_clzll.
9478
2523c62b
L
94792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9480
9481 [BZ #14104]
9482 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9483 libc_freeres_ptr.
9484
d7bb4c42
LD
94852012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9486
9487 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9488 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9489 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9490 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9491
9dc4e1fb
MF
94922012-05-14 Mike Frysinger <vapier@gentoo.org>
9493
9494 * NEWS: Update ia64 info.
9495
c7df0112
AS
94962012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9497
9498 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9499 used as bcopy.
9500
dc70356c
TS
95012012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9502
9503 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9504 * sysdeps/unix/syscalls.list (dup3): Likewise.
9505 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9506 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9507
9fb1a21f
L
95082012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9509
9510 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9511 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9512
4822a2a5
L
95132012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9514
9515 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9516 thread pointer.
9517 (TLS_IE): Use mov/add instead of movq/addq to load thread
9518 pointer.
9519 (TLS_GD_PREFIX): New.
9520 (TLS_GD): Use it.
9521
842b81d6
DM
95222012-05-11 David S. Miller <davem@davemloft.net>
9523
9524 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9525 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9526 (_FPU_SETCW): Likewise.
9527
1cf463cd
L
95282012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9529
9530 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9531 is 32-byte aligned.
9532
60cc4a18
AS
95332012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9534
9535 [BZ #11837]
9536 * iconvdata/gb18030.c: Update tables.
9537 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9538 characters specially.
9539 (BODY for TO_LOOP): Add encoding of missing ranges.
9540
febb44a4
TS
95412012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9542
9543 [BZ #13673]
9544 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9545 * sysdeps/mach/hurd/dup3.c: Likewise.
9546 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9547 * sysdeps/powerpc/memmove.c:: Likewise.
9548
0a10fb9e
L
95492012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9550
9551 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9552 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9553
df8a552f
L
95542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9555
9556 * elf/elf.h (R_X86_64_RELATIVE64): New.
9557 (R_X86_64_NUM): Updated.
9558 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9559 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9560 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9561 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9562 tst-quad1pie tst-quad2pie
9563 (modules-names): Add tst-quadmod1 tst-quadmod2.
9564 ($(objpfx)tst-quad1): New dependency.
9565 ($(objpfx)tst-quad2): Likewise.
9566 ($(objpfx)tst-quad1pie): Likewise.
9567 ($(objpfx)tst-quad2pie): Likewise.
9568 * sysdeps/x86_64/tst-quad1.c: New file.
9569 * sysdeps/x86_64/tst-quad1pie.c: New file.
9570 * sysdeps/x86_64/tst-quad2.c: Likewise.
9571 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9572 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9573 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9574 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9575 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9576
f34d6f84
ST
95772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9578
f42d41d1
ST
9579 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9580 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9581 * streams/stropts.h (t_scalar_t): Define type.
9582
3c3571fc
ST
9583 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9584 (_PATH_PRESERVE): Set to "/var/lib".
9585 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9586
61f06bd3
ST
9587 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9588 instead of int.
9589
918d4d71
ST
9590 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9591 if __dir_mkfile succeeded.
9592
f34d6f84
ST
9593 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9594 checking for _hurd_dtablesize. Unlock it right after having
9595 finished _hurd_dtable allocation.
9596
10589b4a
TS
95972012-05-10 Thomas Schwinge <thomas@schwinge.name>
9598
674cdbc7
TS
9599 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9600 * sysdeps/mach/hurd/configure: Regenerated.
9601 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9602 special-casing to...
9603 * sysdeps/gnu/configure.in: ... this new file.
9604 * sysdeps/unix/sysv/linux/configure: Regenerated.
9605 * sysdeps/gnu/configure: New generated file.
9606
8e41b99f
TS
9607 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9608 for Linux: use nsec instead of usec, as well as:
9609 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9610 members of type struct timespec.
9611 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9612 New macros.
9613 (struct stat64): Likewise.
9614 (_STATBUF_ST_NSEC): New macro.
9615 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9616
10589b4a
TS
9617 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9618 __strtoul_internal rather than strtoul.
9619
63643c85
PT
96202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9621
9622 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9623 and reject them.
9624
3faebe6a
ST
96252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9626
9627 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9628 which preserves existing values.
9629 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9630
c6474b07
PT
96312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9632
9633 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9634 TIMEOUT values. Return EINVAL for NFDS values either negative or
9635 greater than FD_SETSIZE.
9636
1043890b
ST
96372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9638
9639 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9640 allocated, call __vm_protect to finish enabling the existing space, and
9641 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9642 allocate the remainder.
9643
37ed8b9b
PT
96442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9645
9646 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9647 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9648
db653660
ST
96492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9650
37ed8b9b
PT
9651 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9652 sysdeps/mach/hurd/readlink.c.
b29d4053 9653
db653660
ST
9654 * posix/tst-sysconf.c (posix_options): Only use
9655 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9656 _POSIX_SYNCHRONIZED_IO when they are defined
9657 * sysdeps/mach/hurd/bits/posix_opt.h:
9658 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9659 (_XOPEN_REALTIME): Undefine macro.
9660 (_XOPEN_REALTIME_THREADS): Undefine macro.
9661 (_XOPEN_SHM): Undefine macro.
9662 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9663 macro to -1.
9664 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9665 macro to -1.
9666 (_POSIX_ASYNC_IO): Undefine macro.
9667 (_POSIX_PRIORITIZED_IO): Undefine macro.
9668 (_POSIX_SPIN_LOCKS): Define macro to -1.
9669
ee16e894
ST
9670 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9671 SA_NODEFER, SA_RESETHAND.
9672 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9673 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9674 F_DUPFD_CLOEXEC.
9675
6103ae3b
TS
96762012-05-10 Thomas Schwinge <thomas@schwinge.name>
9677
9678 * elf/Makefile (pldd-modules): Define unconditionally.
9679
80b4e5f3
TS
96802012-05-10 Thomas Schwinge <thomas@schwinge.name>
9681
9682 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9683
edadcbd6
ST
96842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9685
9686 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9687 Return ENOENT when name is empty.
9688 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9689
80694780
TS
96902012-05-10 Thomas Schwinge <thomas@schwinge.name>
9691
1792c087
TS
9692 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9693
80694780
TS
9694 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9695
6b645f0d
ST
96962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9697
80694780
TS
9698 Fix mlock in all cases except non-readable pages.
9699 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9700 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 9701
6b645f0d
ST
9702 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9703 (__mkdir): When path is `/', just fail with EEXIST.
9704 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9705
e468f8a3
TS
97062012-05-10 Thomas Schwinge <thomas@schwinge.name>
9707
9708 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9709 <sys/uio.h> (for writev).
9710 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9711 and <sys/param.h> (for MIN).
9712
a4186cff
PT
97132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9714
9715 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9716 REQUESTED_TIME. Properly set the remaining time and return EINTR
9717 if interrupted.
9718
510bbf14
TS
97192012-05-10 Thomas Schwinge <thomas@schwinge.name>
9720
9721 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9722 Depend on against $(link-rpcuserlibs).
9723
5d5722e8
ST
97242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9725
a4186cff
PT
9726 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9727 (__libc_stack_end): Do not use attribute_relro.
9728 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9729 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 9730 to libthread-provided value.
a4186cff
PT
9731 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9732 attribute_relro.
5d5722e8 9733
37233df9
TS
97342012-05-10 Thomas Schwinge <thomas@schwinge.name>
9735
be971a2b
TS
9736 [BZ #3748]
9737 * bits/libc-lock.h (__libc_once_get): New macro.
9738 * sysdeps/mach/bits/libc-lock.h: Likewise.
9739 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9740 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9741 instead of using implementation details.
9742
37233df9
TS
9743 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9744 * libio/freopen.c: Likewise.
9745 * libio/freopen64.c: Likewise.
9746 * misc/syslog.c: Likewise.
9747 * nscd/connections.c: Likewise.
9748 * nscd/netgroupcache.c: Likewise.
9749 * sysdeps/posix/getcwd.c: Likewise.
9750
38de94a5
RM
97512012-05-10 Roland McGrath <roland@hack.frob.com>
9752
9753 * math/w_ilogbf.c: Add #include <limits.h>.
9754
67530489
ST
97552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9756
a4186cff 9757 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
9758 path instead of returning without unlocking.
9759
67530489
ST
9760 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9761 immediate-write ioctls.
9762 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9763
5aa3a74a
TS
97642012-05-10 Thomas Schwinge <thomas@schwinge.name>
9765
18bad2ae
TS
9766 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9767 __builtin_frame_address instead of making assumptions about the
9768 location of the return address relative to DATA. Force early load of
9769 the return address.
9770 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9771 __builtin_frame_address.
9772
5aa3a74a
TS
9773 dup3 for GNU Hurd.
9774 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9775 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9776 implement dup3 and do some further code clean-ups.
9777 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9778 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9779
ecd0de9a
ST
97802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9781
cd9fa985
ST
9782 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9783
a4186cff
PT
9784 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9785 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9786 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9787 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9788 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9789 d->port.lock.
802ca5a5 9790
a4186cff
PT
9791 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9792 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9793 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 9794
bcf55240
TS
97952012-05-10 Thomas Schwinge <thomas@schwinge.name>
9796
6960eb42
TS
9797 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9798 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9799 definitions.
9800
eb43375f
TS
9801 accept4 for GNU Hurd.
9802 * include/sys/socket.h (__libc_accept4): New prototype.
9803 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9804 to implement __libc_accept4.
9805 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9806 __libc_accept4.
9807 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9808
bcf55240
TS
9809 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9810 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9811 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9812 signal-defines.sym.
9813
6178c55b
ST
98142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9815
a4186cff 9816 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 9817
6f080c2f
TS
98182012-05-10 Thomas Schwinge <thomas@schwinge.name>
9819
9820 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9821 assertion on O_CLOEXEC flag.
9822 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9823 * hurd/intern-fd.c: Likewise.
9824 * hurd/port2fd.c: Likewise.
9825
bcfe3a54
ST
98262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9827
9828 [BZ #3906]
9829 * bits/in.h (IPV6_PKTINFO): Define new macro.
9830 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9831
89c9aa49
AZ
98322012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9833
9834 [BZ #13954]
9835 [BZ #13955]
9836 [BZ #13956]
9837 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9838 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9839 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9840 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9841 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9842 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9843 * math/libm-test.inc (logb_test) : Additional logb tests.
9844
021db4be
AJ
98452012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9846 Andreas Jaeger <aj@suse.de>
9847
9848 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9849 * configure: Regenerated.
9850 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9851 * config.make.in (link-obsolete-rpc): New substituted variable.
9852 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9853 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9854 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9855 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9856 so that libc.a contains the symbols.
9857 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9858 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9859 * sunrpc/auth_none.c: Likewise.
9860 * sunrpc/auth_unix.c: Likewise.
9861 * sunrpc/authdes_prot.c: Likewise.
9862 * sunrpc/authuxprot.c: Likewise.
9863 * sunrpc/clnt_gen.c: Likewise.
9864 * sunrpc/clnt_perr.c: Likewise.
9865 * sunrpc/clnt_raw.c: Likewise.
9866 * sunrpc/clnt_simp.c: Likewise.
9867 * sunrpc/clnt_tcp.c: Likewise.
9868 * sunrpc/clnt_udp.c: Likewise.
9869 * sunrpc/clnt_unix.c: Likewise.
9870 * sunrpc/des_crypt.c: Likewise.
9871 * sunrpc/des_soft.c: Likewise.
9872 * sunrpc/get_myaddr.c: Likewise.
9873 * sunrpc/key_call.c: Likewise.
9874 * sunrpc/key_prot.c: Likewise.
9875 * sunrpc/netname.c: Likewise.
9876 * sunrpc/pm_getmaps.c: Likewise.
9877 * sunrpc/pm_getport.c: Likewise.
9878 * sunrpc/pmap_clnt.c: Likewise.
9879 * sunrpc/pmap_prot.c: Likewise.
9880 * sunrpc/pmap_prot2.c: Likewise.
9881 * sunrpc/pmap_rmt.c: Likewise.
9882 * sunrpc/publickey.c: Likewise.
9883 * sunrpc/rpc_cmsg.c: Likewise.
9884 * sunrpc/rpc_common.c: Likewise.
9885 * sunrpc/rpc_dtable.c: Likewise.
9886 * sunrpc/rpc_prot.c: Likewise.
9887 * sunrpc/rpc_thread.c: Likewise.
9888 * sunrpc/rtime.c: Likewise.
9889 * sunrpc/svc.c: Likewise.
9890 * sunrpc/svc_auth.c: Likewise.
9891 * sunrpc/svc_raw.c: Likewise.
9892 * sunrpc/svc_run.c: Likewise.
9893 * sunrpc/svc_tcp.c: Likewise.
9894 * sunrpc/svc_udp.c: Likewise.
9895 * sunrpc/svc_unix.c: Likewise.
9896 * sunrpc/svcauth_des.c: Likewise.
9897 * sunrpc/xcrypt.c: Likewise.
9898 * sunrpc/xdr.c: Likewise.
9899 * sunrpc/xdr_array.c: Likewise.
9900 * sunrpc/xdr_float.c: Likewise.
9901 * sunrpc/xdr_intXX_t.c: Likewise.
9902 * sunrpc/xdr_mem.c: Likewise.
9903 * sunrpc/xdr_rec.c: Likewise.
9904 * sunrpc/xdr_ref.c: Likewise.
9905 * sunrpc/xdr_sizeof.c: Likewise.
9906 * sunrpc/xdr_stdio.c: Likewise.
9907
b5c086a2
RM
99082012-05-10 Roland McGrath <roland@hack.frob.com>
9909
9910 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9911 change. Update copyright years.
9912
6d74dd09
JM
99132012-05-10 Joseph Myers <joseph@codesourcery.com>
9914
9915 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9916
28e72501
MK
99172012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9918 Joseph Myers <joseph@codesourcery.com>
9919 Paul Pluzhnikov <ppluzhnikov@google.com>
9920
9921 [BZ #14012]
9922 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9923 requiring rpcgen.
9924 [cross-compiling] (extra-libs): Likewise.
9925 [cross-compiling] (extra-libs-others): Likewise.
9926 [cross-compiling] (librpcsvc-routines): Likewise.
9927 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9928 [cross-compiling] (omit-deps): Likewise.
9929 (sunrpc-CPPFLAGS): New variable.
9930 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9931 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9932 (cross-rpcgen-objs): New variable.
9933 (extra-objs): Append $(cross-rpcgen-objs).
9934 ($(cross-rpcgen-objs)): New rule.
9935 ($(objpfx)cross-rpcgen): Likewise.
9936 (rpcgen-cmd): Define to use $(built-program-file). Expand
9937 comment.
9938 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9939 ($(objpfx)x%.stmp): Likewise.
9940 * sunrpc/proto.h [IS_IN_build] (_): Define.
9941 [IS_IN_build] (_libc_intl_domainname): Likewise.
9942
c8c59454
L
99432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9944
9945 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9946 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9947 and R_X86_64_TPOFF64.
9948
6f27cd16
JM
99492012-05-10 Joseph Myers <joseph@codesourcery.com>
9950
9951 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9952 sysdeps/unix/sysv/syscalls.list.
9953 (stime): Likewise.
9954 (utime): Likewise.
9955 * sysdeps/unix/sysv/syscalls.list: Remove file.
9956
02467e1c
PE
99572012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9958
9959 [BZ #3440]
9960 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9961 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9962 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9963 (__LC_IDENTIFICATION): Make these macros useful in #if
9964 expressions, as required by C99.
9965
da392631
AS
99662012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9967
9968 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9969 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9970 after this.
9971
8115f29b
L
99722012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9973
9974 * stdlib/longlong.h: Updated from GCC.
9975
bdd74070
AJ
99762012-05-09 Andreas Jaeger <aj@suse.de>
9977
edfe0dbe
AJ
9978 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9979 default is first entry.
9980 (run_mode): Set type.
9981 (main): Remove informal message about syslog.
9982 (options): Fix typo.
9983
bcfe3a54
ST
9984 [BZ #14053]
9985 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 9986 to asm.
bcfe3a54
ST
9987 (lrint): Likewise.
9988 (llrintf): Likewise.
9989 (llrint): Likewise.
9990 (rint): Likewise.
9991 (rintf): Likewise.
9992 (nearbyint): Likewise.
9993 (nearbyintf): Likewise.
bdd74070 9994
91d8d69e
AJ
99952012-05-09 Andreas Jaeger <aj@suse.de>
9996 Pedro Alves <palves@redhat.com>
9997
9998 * nscd/nscd.c (run_mode): Use enum.
9999 (main): Cleanup coding style issue.
10000
bb90b80b
AJ
100012012-05-09 Alexandre Oliva <aoliva@redhat.com>
10002 Andreas Jaeger <aj@suse.de>
10003
bcfe3a54
ST
10004 * nscd/nscd.c (go_background): Replaced with...
10005 (run_mode): ... this.
bb90b80b 10006 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
10007 (options): Add -F --foreground.
10008 (main): Implement it.
10009 (parse_opt): Parse it.
bb90b80b 10010
1a4b75a1
AJ
100112012-05-09 Andreas Jaeger <aj@suse.de>
10012
10013 [BZ #14083]
10014 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10015 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10016 -Wconversion warning.
10017 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10018 Likewise.
10019
b1cc2472
JM
100202012-05-09 Joseph Myers <joseph@codesourcery.com>
10021
10022 * conform/data/locale.h-data (NULL): Use macro-constant. Require
10023 == 0.
10024 (LC_ALL): Use macro-int-constant.
10025 (LC_COLLATE): Likewise.
10026 (LC_CTYPE): Likewise.
10027 (LC_MESSAGES): Likewise.
10028 (LC_MONETARY): Likewise.
10029 (LC_NUMERIC): Likewise.
10030 (LC_TIME): Likewise.
10031 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10032 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10033 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10034 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10035 Specify type.
10036 [C99-based standards] (float_t): Expect type.
10037 [C99-based standards] (double_t): Expect type.
10038 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
10039 type.
10040 [C99-based standards] (HUGE_VALL): Likewise.
10041 [C99-based standards] (INFINITY): Likewise.
10042 [C99-based standards] (NAN): Likewise.
10043 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10044 [C99-based standards] (FP_NAN): Likewise.
10045 [C99-based standards] (FP_NORMAL): Likewise.
10046 [C99-based standards] (FP_SUBNORMAL): Likewise.
10047 [C99-based standards] (FP_ZERO): Likewise.
10048 [C99-based standards] (FP_FAST_FMA): Use
10049 optional-macro-int-constant. Specify type. Require == 1.
10050 [C99-based standards] (FP_FAST_FMAF): Likewise.
10051 [C99-based standards] (FP_FAST_FMAL): Likewise.
10052 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10053 [C99-based standards] (FP_ILOGBNAN): Likewise.
10054 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10055 Specify type.
10056 [C99-based standards] (MATH_ERREXCEPT): Likewise.
10057 [C99-based standards] (math_errhandling): Specify type.
10058 [ISO99 || ISO11] (signgam): Do not allow.
10059 [non-C99-based standards] (copysignf): Do not allow.
10060 [non-C99-based standards] (exp2f): Likewise.
10061 [non-C99-based standards] (log2f): Likewise.
10062 [non-C99-based standards] (modff): Allow.
10063 [non-C99-based standards] (erff): Do not allow.
10064 [non-C99-based standards] (erfcf): Likewise.
10065 [non-C99-based standards] (gammaf): Likewise.
10066 [non-C99-based standards] (hypotf): Likewise.
10067 [non-C99-based standards] (j0f): Likewise.
10068 [non-C99-based standards] (j1f): Likewise.
10069 [non-C99-based standards] (jnf): Likewise.
10070 [non-C99-based standards] (lgammaf): Likewise.
10071 [non-C99-based standards] (tgammaf): Likewise.
10072 [non-C99-based standards] (y0f): Likewise.
10073 [non-C99-based standards] (y1f): Likewise.
10074 [non-C99-based standards] (ynf): Likewise.
10075 [non-C99-based standards] (isnanf): Likewise.
10076 [non-C99-based standards] (acoshf): Likewise.
10077 [non-C99-based standards] (asinhf): Likewise.
10078 [non-C99-based standards] (atanhf): Likewise.
10079 [non-C99-based standards] (cbrtf): Likewise.
10080 [non-C99-based standards] (expm1f): Likewise.
10081 [non-C99-based standards] (ilogbf): Likewise.
10082 [non-C99-based standards] (log1pf): Likewise.
10083 [non-C99-based standards] (logbf): Likewise.
10084 [non-C99-based standards] (nextafterf): Likewise.
10085 [non-C99-based standards] (remainderf): Likewise.
10086 [non-C99-based standards] (rintf): Likewise.
10087 [non-C99-based standards] (scalbf): Likewise.
10088 [non-C99-based standards] (copysignl): Likewise.
10089 [non-C99-based standards] (exp2l): Likewise.
10090 [non-C99-based standards] (log2l): Likewise.
10091 [non-C99-based standards] (modfl): Allow.
10092 [non-C99-based standards] (erfl): Do not allow.
10093 [non-C99-based standards] (erfcl): Likewise.
10094 [non-C99-based standards] (gammal): Likewise.
10095 [non-C99-based standards] (hypotl): Likewise.
10096 [non-C99-based standards] (j0l): Likewise.
10097 [non-C99-based standards] (j1l): Likewise.
10098 [non-C99-based standards] (jnl): Likewise.
10099 [non-C99-based standards] (lgammal): Likewise.
10100 [non-C99-based standards] (tgammal): Likewise.
10101 [non-C99-based standards] (y0l): Likewise.
10102 [non-C99-based standards] (y1l): Likewise.
10103 [non-C99-based standards] (ynl): Likewise.
10104 [non-C99-based standards] (isnanl): Likewise.
10105 [non-C99-based standards] (acoshl): Likewise.
10106 [non-C99-based standards] (asinhl): Likewise.
10107 [non-C99-based standards] (atanhl): Likewise.
10108 [non-C99-based standards] (cbrtl): Likewise.
10109 [non-C99-based standards] (expm1l): Likewise.
10110 [non-C99-based standards] (ilogbl): Likewise.
10111 [non-C99-based standards] (log1pl): Likewise.
10112 [non-C99-based standards] (logbl): Likewise.
10113 [non-C99-based standards] (nextafterl): Likewise.
10114 [non-C99-based standards] (remainderl): Likewise.
10115 [non-C99-based standards] (rintl): Likewise.
10116 [non-C99-based standards] (scalbl): Likewise.
10117 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10118 [non-C99-based standards] (FP_*): Do not allow.
10119 [C99-based standards] (FP_*): Change to
10120 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10121 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10122 allow.
10123 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10124 (SIG_ERR): Likewise.
10125 [X/Open-based standards] (SIG_HOLD): Likewise.
10126 (SIG_IGN): Likewise.
10127 (SIGABRT): Use macro-int-constant. Specify type. Require
10128 positive value.
10129 (SIGFPE): Likewise.
10130 (SIGILL): Likewise.
10131 (SIGINT): Likewise.
10132 (SIGSEGV): Likewise.
10133 (SIGTER): Likewise.
10134 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10135 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10136 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10137 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10138 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10139 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10140 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10141 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10142 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10143 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10144 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10145 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10146 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10147 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10148 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10149 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10150 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10151 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10152 [X/Open-based standards] (SIGTRAP): Likewise.
10153 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10154 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10155 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10156 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10157 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10158 allow.
10159
b9f1922d
IW
101602012-05-08 Ian Wienand <ianw@vmware.com>
10161
10162 [BZ #14080]
10163 * time/tzset.c (__tzset_parse_tz): Update default rules for
10164 daylight time changes in the Energy Policy Act of 2005.
10165
1db86e88
AJ
101662012-05-09 Andreas Jaeger <aj@suse.de>
10167
10168 [BZ #13983]
10169 * elf/ldconfig.c (parse_conf): Change string to make clear that
10170 ldconfig only issued a warning if ld.so.conf does not exist.
10171
dee4a4e3
DM
101722012-05-08 David S. Miller <davem@davemloft.net>
10173
ee0db190
DM
10174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10175 movxtod instead of popping the value on the stack.
10176
dee4a4e3
DM
10177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10178
6a43ec98
CD
101792012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10180
10181 * config.h.in: Add HAVE_ARM_PCS_VFP.
10182
05c2c961
RMG
101832012-05-08 Roland Mc Grath <roland@hack.frob.com>
10184
bcfe3a54
ST
10185 [BZ #13979]
10186 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10187 checking but the checks are disabled for any reason.
05c2c961 10188
4b30f61a
L
101892012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10190
10191 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10192 and ELF64_R_TYPE with ELFW(R_TYPE).
10193
eee2bc67
JM
101942012-05-08 Joseph Myers <joseph@codesourcery.com>
10195
7ea5391a
JM
10196 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10197 (ulimit): Likewise.
10198
eee2bc67
JM
10199 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10200 (settimeofday): Likewise.
10201
abb66a67
MF
102022012-05-08 Mike Frysinger <vapier@gentoo.org>
10203
10204 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10205 a struct th_u2 inside the union, and move tu_block/tu_code into
10206 a new th_u3 union of tu_block/tu_code inside of that. Move
10207 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10208 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10209 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10210 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10211 (th_stuff): Change to th_u1.tu_stuff.
10212 (th_data): Define.
10213 (th_msg): Change to th_u1.th_u2.tu_data.
10214
7f18b530
DM
102152012-05-07 David S. Miller <davem@davemloft.net>
10216
05760585
DM
10217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10218
7f18b530
DM
10219 [BZ #14074]
10220 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10221 (SETUP_PIC_REG): Use it.
10222 (SETUP_PIC_REG_LEAF): Use it.
10223
495fd99f
JM
102242012-05-07 Joseph Myers <joseph@codesourcery.com>
10225
10226 [BZ #13885]
10227 [BZ #13923]
10228 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10229 USE_AS_EXPM1L.
10230 (EXPL_FINITE): Likewise.
10231 (FLDLOG): Likewise.
10232 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10233 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10234 e_expl.S.
10235 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10236 USE_AS_EXPM1L.
10237 (EXPL_FINITE): Likewise.
10238 (FLDLOG): Likewise.
10239 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10240 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10241 e_expl.S.
10242 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10243 test of -max_value argument for long double.
10244 * sysdeps/i386/fpu/libm-test-ulps: Update.
10245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10246
6693d694
DM
102472012-05-06 David S. Miller <davem@davemloft.net>
10248
10249 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10250 quad soft-float symbols whose references which are compiler
10251 generated.
10252 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10253
6c23e11c
JM
102542012-05-06 Joseph Myers <joseph@codesourcery.com>
10255
d8b82cad
JM
10256 [BZ #13884]
10257 [BZ #13914]
10258 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10259 USE_AS_EXP10L.
10260 (EXPL_FINITE): Likewise.
10261 (FLDLOG): Likewise.
10262 (c0): Likewise.
10263 (c1): Likewise.
10264 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10265 Adjust comments for base varying.
10266 (__expl_finite): Change alias to EXPL_FINITE.
10267 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10268 e_expl.S.
10269 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10270 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10271 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10272 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10273 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10274 USE_AS_EXP10L.
10275 (EXPL_FINITE): Likewise.
10276 (FLDLOG): Likewise.
10277 (c0): Likewise.
10278 (c1): Likewise.
10279 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10280 Adjust comments for base varying.
10281 (__expl_finite): Change alias to EXPL_FINITE.
10282 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10283 tests for bugs.
10284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10285
6c23e11c
JM
10286 [BZ #14064]
10287 * math/libm-test.inc (check_float_internal): Correct ulp
10288 calculation for subnormal expected results.
10289
29ba805c
AJ
102902012-05-06 Andreas Jaeger <aj@suse.de>
10291
10292 * Makeconfig (+math-flags): New, set to -frounding-math.
10293 (+cflags): Add +math-flags so that all of glibc gets compiled with
10294 it.
10295
10296 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10297
7b17aeda
JM
102982012-05-05 Joseph Myers <joseph@codesourcery.com>
10299
5779f134
JM
10300 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10301 Disable one test.
10302
41498f4d
JM
10303 [BZ #13787]
10304 [BZ #13922]
10305 [BZ #14036]
10306 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10307 (__ieee754_expl): Allow for and saturate large arguments.
10308 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10309 (u_threshold): Likewise.
10310 (__exp): Call __ieee754_exp before checking for overflow and
10311 underflow.
10312 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10313 (u_threshold): Likewise.
10314 (__expf): Call __ieee754_expf before checking for overflow and
10315 underflow.
10316 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10317 (u_threshold): Likewise.
10318 (__expl): Call __ieee754_expl before checking for overflow and
10319 underflow.
10320 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10321 (__ieee754_expl): Allow for and saturate large arguments.
10322 * math/libm-test.inc (exp_test): Add another test. Do not allow
10323 missing overflow exception on overflow.
10324 (expm1_test): Do not allow missing overflow exception on overflow.
10325
6698b8bf
JM
10326 * sysdeps/i386/fpu/e_expl.c: Move to ...
10327 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10328 rather than using inline asm.
10329 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10330 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10331 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10332
7b17aeda
JM
10333 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10334 (nice): Likewise.
10335 (poll): Likewise.
10336 (signal): Likewise.
10337 (time): Likewise.
10338 (times): Likewise.
10339
f7c85819
JM
103402012-05-04 Joseph Myers <joseph@codesourcery.com>
10341
10342 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10343 sysdeps/unix/common/syscalls.list.
10344 (fchmod): Likewise.
10345 (fchown): Likewise.
10346 (ftruncate): Likewise.
10347 (getrusage): Likewise.
10348 (gettimeofday): Likewise.
10349 (setpgid): Likewise.
10350 (setregid): Likewise.
10351 (setreuid): Likewise.
10352 (sigaction): Likewise.
10353 (truncate): Likewise.
10354 (vhangup): Likewise.
10355 * sysdeps/unix/common/syscalls.list: Remove file.
10356 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10357 * sysdeps/unix/sysv/linux/Implies: Likewise.
10358
336270d0
L
103592012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10360
10361 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10363 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10364 Moved to ...
10365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10366 Here.
10367 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10368 to ...
10369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10370 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10371 to ...
10372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10373 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10374 to ...
10375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10376 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10377 to ...
10378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10379 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10380 to ...
10381 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10382 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10383 to ...
10384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10385 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10386 to ...
10387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10388 Here.
10389 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10390 to ...
10391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10392 Here.
10393 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10394 to ...
10395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10396 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10397 Moved to ...
10398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10399 Here.
10400 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10401 to ...
10402 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10403
d128e450
JM
104042012-05-04 Joseph Myers <joseph@codesourcery.com>
10405
fa8ee516
JM
10406 * sysdeps/unix/common/bits/dirent.h: Remove file.
10407 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10408
d128e450
JM
10409 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10410 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10411 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10412 * sysdeps/unix/bsd/isatty.c: Likewise.
10413 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10414 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10415 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10416
ff8faaf0 104172012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 10418
62881be4 10419 [BZ #13563]
31dc8730
AZ
10420 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10421 long double comparison inaccuracies.
10422 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10424
6fef930c
AS
104252012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10426
10427 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10428 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10429
8f203e6c
JM
104302012-05-04 Joseph Myers <joseph@codesourcery.com>
10431
10432 [BZ #14049]
10433 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10434 nonzero digits before rounding a hex value.
10435 * stdlib/tst-strtod.c (tests): Add another test.
10436
5197d9c2
AK
104372012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10438
10439 * sysdeps/s390/fpu/libm-test-ulps: Update.
10440
f0c1dedf
AJ
104412012-05-03 Andreas Jaeger <aj@suse.de>
10442
10443 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10444 does not get optimized out.
10445 (malloc_opt_barrier): New.
10446
a65ef2ae 104472012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 10448 Roland McGrath <roland@hack.frob.com>
a65ef2ae 10449
2b942cb7 10450 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 10451 intermediate file deletion.
2b942cb7 10452 (generated): Add .symlist files.
a65ef2ae 10453
54b71e02
JM
104542012-05-03 Joseph Myers <joseph@codesourcery.com>
10455
10456 [BZ #13775]
10457 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10458 Redirect under this condition.
10459 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10460 [__USE_GNU] (__dprintf_chk): Not under this condition.
10461 [__USE_GNU] (__vdprintf_chk): Likewise.
10462 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10463 under this condition.
10464 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10465 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10466 [__USE_XOPEN2K8] (vdprintf): Likewise.
10467 [__USE_GNU] (__dprintf_chk): Not under this condition.
10468 [__USE_GNU] (__vdprintf_chk): Likewise.
10469 [__USE_GNU] (dprintf): Likewise.
10470 [__USE_GNU] (vdprintf): Likewise.
10471
d3dfcc41
RM
104722012-05-03 Roland McGrath <roland@hack.frob.com>
10473
10474 * elf/Makefile (common-generated): Set this instead of generated for
10475 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10476 $(all-built-dso)-derived lists.
10477
7ac30cc5
AJ
104782012-05-03 Andreas Jaeger <aj@suse.de>
10479
0c51e550
AJ
10480 * sysdeps/i386/fpu/libm-test-ulps: Update.
10481
7ac30cc5
AJ
10482 * FAQ: Removed.
10483 * FAQ.in: Likewise.
10484 * scripts/gen-FAQ.pl: Likewise.
10485 * manual/install.texi (Installation): Point to online location of
10486 FAQ.
10487 * Makefile (files-for-dist): Remove FAQ.
10488 (FAQ): Remove.
10489
d4c2917f
AM
104902012-05-02 Allan McRae <allan@archlinux.org>
10491
10492 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10493 (LDFLAGS-reldepmod5.so): Likewise.
10494 (LDFLAGS-reldep6mod1.so): Likewise.
10495 (LDFLAGS-reldep6mod4.so): Likewise.
10496 (LDFLAGS-reldep8mod3.so): Likewise.
10497 (LDFLAGS-unload4mod1.so): Likewise.
10498 (LDFLAGS-unload4mod2.so): Likewise.
10499 (LDFLAGS-tst-initorder): Likewise.
10500 (LDFLAGS-tst-initordera2.so): Likewise.
10501 (LDFLAGS-tst-initordera3.so): Likewise.
10502 (LDFLAGS-tst-initordera4.so): Likewise.
10503 (LDFLAGS-tst-initorderb2.so): Likewise.
10504 (LDFLAGS-noload): Likewise.
10505 (LDFLAGS-next): Likewise.
10506 (LDFLAGS-order2mod1.so): Likewise.
10507 (LDFLAGS-order2mod2.so): Likewise.
10508 (LDFLAGS-tst-initorder2): Likewise.
10509 (LDFLAGS-tst-initorder2a.so): Likewise.
10510 (LDFLAGS-tst-initorder2b.so): Likewise.
10511 (LDFLAGS-tst-initorder2c.so): Likewise.
10512 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10513
d77f993f
DM
105142012-05-02 David S. Miller <davem@davemloft.net>
10515
10516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10517
171a70b4
PP
105182012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10519
10520 [BZ #14055]
10521 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10522
0be196ad
AJ
105232012-05-02 Andreas Jaeger <aj@suse.de>
10524
10525 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10526 since we manipulate rounding mode.
10527 (CPPFLAGS-test-idouble.c): Likewise.
10528 (CPPFLAGS-test-ifloat.c): Likewise.
10529 (CFLAGS-test-ldouble.c): Likewise.
10530 (CFLAGS-test-double.c): Likewise.
10531 (CFLAGS-test-float.c): Likewise.
10532 (CFLAGS-test-misc.c): Likewise.
10533 (CFLAGS-test-test-fenv.c): Likewise.
10534
4f9d04aa
AZ
105352012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10536
2b942cb7
RM
10537 [BZ #2550]
10538 [BZ #2570]
10539 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10540 comparisons to determine direction to adjust input.
4f9d04aa 10541
82a79e7d
RM
105422012-05-01 Roland McGrath <roland@hack.frob.com>
10543
f5a01ca9
RM
10544 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10545 output to the target.
10546
90fe4186
RM
10547 * scripts/localplt.awk: New file.
10548 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10549 (check-localplt-CFLAGS): Variable removed.
10550 ($(all-built-dso:=.jmprel)): New static pattern rule.
10551 (generated): Add those targets.
10552 (localplt-built-dso): New variable.
10553 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10554
10555 * elf/check-localplt.c: File removed.
10556
82397ed6
RM
10557 * scripts/check-execstack.awk: New file.
10558 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10559 (check-execstack-CFLAGS): Variable removed.
10560 ($(objpfx)check-execstack.h): Target removed.
10561 ($(objpfx)execstack-default): New target.
10562 (generated): Add that instead of check-execstack.h.
10563 ($(all-built-dso:=.phdr)): New static pattern rule.
10564 (generated): Add those targets.
10565 * elf/check-execstack.c: File removed.
10566
82a79e7d
RM
10567 * scripts/check-textrel.awk: New file.
10568 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10569 (check-textrel-CFLAGS): Variable removed.
10570 (all-built-dso): Use := to define.o
10571 ($(all-built-dso:=.dyn)): New static pattern rule.
10572 (generated): Add those targets.
10573 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10574 * config.make.in (READELF): New substituted variable.
10575 * elf/check-textrel.c: File removed.
10576
62fde54f 105772012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 10578
615605c9
JM
10579 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10580 allow.
10581 * conform/data/ctype.h-data [C99-based standards] (isblank):
10582 Expect function.
10583 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10584 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10585 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10586 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10587 Specify type. Require positive value.
10588 (EILSEQ): Likewise.
10589 (ERANGE): Likewise.
10590 [ISO || POSIX] (EILSEQ): Do not expect.
10591 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10592 Specify type. Require positive value.
10593 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10594 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10595 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10596 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10597 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10598 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10599 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10600 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10601 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10602 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10603 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10604 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10605 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10606 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10607 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10608 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10609 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10610 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10611 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10612 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10613 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10614 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10615 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10616 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10617 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10618 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10619 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10620 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10621 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10622 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10623 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10624 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10625 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10626 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10627 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10628 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10629 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10630 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10631 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10632 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10633 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10634 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10635 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10636 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10637 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10638 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10639 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10640 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10641 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10642 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10643 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10644 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10645 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10646 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10647 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10648 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10649 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10650 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10651 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10652 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10653 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10654 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10655 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10656 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10657 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10658 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10659 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10660 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10661 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10662 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10663 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10664 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10665 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10666 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10667 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10668 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10669 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10670 Require >= 2.
10671 (FLT_ROUNDS): Expect as macro, not constant.
10672 (FLT_MANT_DIG): Use macro-int-constant.
10673 (DBL_MANT_DIG): Likewise.
10674 (LDBL_MANT_DIG): Likewise.
10675 (FLT_DIG): Likewise.
10676 (DBL_DIG): Likewise.
10677 (LDBL_DIG): Likewise.
10678 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10679 (DBL_MIN_EXP): Likewise.
10680 (LDBL_MIN_EXP): Likewise.
10681 (FLT_MAX_EXP): Use macro-int-constant.
10682 (DBL_MAX_EXP): Likewise.
10683 (LDBL_MAX_EXP): Likewise.
10684 (FLT_MAX_10_EXP): Likewise.
10685 (DBL_MAX_10_EXP): Likewise.
10686 (LDBL_MAX_10_EXP): Likewise.
10687 (FLT_MAX): Use macro-constant.
10688 (DBL_MAX): Likewise.
10689 (LDBL_MAX): Likewise.
10690 (FLT_EPSILON): Use macro-constant. Give upper bound.
10691 (DBL_EPSILON): Likewise.
10692 (LDBL_EPSILON): Likewise.
10693 (FLT_MIN): Likewise.
10694 (DBL_MIN): Likewise.
10695 (LDBL_MIN): Likewise.
10696 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10697 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10698 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10699 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10700 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10701 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10702 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10703 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10704 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10705 [ISO11] (FLT_TRUE_MIN): Likewise.
10706 [ISO11] (LDBL_TRUE_MIN): Likewise.
10707 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10708 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10709 (SCHAR_MIN): Use macro-int-constant. Specify type.
10710 (SCHAR_MAX): Likewise.
10711 (UCHAR_MAX): Likewise.
10712 (CHAR_MIN): Likewise.
10713 (CHAR_MAX): Likewise.
10714 (MB_LEN_MAX): Use macro-int-constant.
10715 (SHRT_MIN): Use macro-int-constant. Specify type.
10716 (SHRT_MAX): Likewise.
10717 (USHRT_MAX): Likewise.
10718 (INT_MAX): Likewise.
10719 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10720 bound negative.
10721 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10722 bound with "U".
10723 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10724 bound with "L".
10725 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10726 bound negative. Suffix upper bound with "L".
10727 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10728 bound with "UL".
10729 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10730 Specify type.
10731 [C99-based standards] (LLONG_MAX): Likewise.
10732 [C99-based standards] (ULLONG_MAX): Likewise.
10733 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10734 == 0.
10735 [ISO11] (max_align_t): Require type.
10736 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10737
c9140a62
JM
10738 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10739 from $CFLAGS, without defining away __attribute__ calls.
10740 (checknamespace): Use $CFLAGS_namespace.
10741
9af0bf29
JM
10742 * conform/conformtest.pl (@keywords): Only include C99 keywords
10743 for standards based on C99 or C11.
10744
343222a2
JM
10745 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10746 Disable tests.
10747 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10748 UNIX98]: Likewise.
10749
661f8cf0
JM
10750 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10751 usability of symbols in #if.
10752
ee74b9cb
JM
10753 * conform/conformtest.pl: If macro or constant types start
10754 "promoted:", expect the symbol to be of the following type
10755 promoted by the integer promotions.
62fde54f 10756
aafc49b3
JM
10757 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10758 in one place. Also handle "macro-constant".
10759
fefdf574
JM
10760 * conform/conformtest.pl: Only accept expected macro values with
10761 "==". Parse all "macro" lines in one place.
10762 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10763
f2d922fe
JM
10764 * conform/conformtest.pl: Handle braced types on "constant" lines
10765 instead of handling "typed-constant".
10766 * conform/data/signal.h-data: Use "constant" instead of
10767 "typed-constant".
10768
d22956c9
JM
10769 * conform/conformtest.pl: Handle "optional-" at start of lines in
10770 one place rather than duplicating several cases. Handle each
10771 format of "macro" line with initial "optional-".
10772
028e2e38
JM
10773 * conform/conformtest.pl: Only accept expected constant or
10774 optional-constant values with "==". Parse all "constant" lines in
10775 one place. Parse all "optional-constant" lines in one place.
10776 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10777 * conform/data/fmtmsg.h-data: Likewise.
10778 * conform/data/netinet/in.h-data: Likewise.
10779 * conform/data/tar.h-data: Likewise.
10780 * conform/data/limits.h-data: Use "==" form on "constant" and
10781 "optional-constant" lines.
10782
1b8f2850
JM
10783 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10784 Use -std=c99 for XOPEN2K.
10785 (@knownproblems): Remove.
10786 (newtoken): Don't check %isknown.
10787
a05a144b
JM
10788 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10789 Do not expect macro.
10790 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10791 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10792 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10793 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10794 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10795 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10796 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10797 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10798 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10799 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10800 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10801 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10802 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10803 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10804 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10805 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10806 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10807 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10808 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10809 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10810 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10811 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10812 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10813 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10814 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10815 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10816 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10817 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10818 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10819 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10820 [XPG3] (acosh): Likewise.
10821 [XPG3] (asinh): Likewise.
10822 [XPG3] (atanh): Likewise.
10823 [XPG3] (cbrt): Likewise.
10824 [XPG3] (expm1): Likewise.
10825 [XPG3] (ilogb): Likewise.
10826 [XPG3] (log1p): Likewise.
10827 [XPG3] (logb): Likewise.
10828 [XPG3] (nextafter): Likewise.
10829 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10830 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10831 [XPG3] (remainder): Likewise.
10832 [XPG3] (rint): Likewise.
10833 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10834 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10835 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10836 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10837 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10838 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10839 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10840 [UNIX98 || XOPEN2K] (scalb): Expect.
10841 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10842 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10843 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10844 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10845 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10846 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10847 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10848 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10849 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10850 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10851 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10852 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10853 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10854 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10855 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10856 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10857 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10858 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10859 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10860 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10861 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10862 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10863 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10864 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10865 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10866 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10867 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10868 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10869 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10870 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10871 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10872 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10873 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10874 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10875 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10876 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10877 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10878 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10879 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10880 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10881 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10882 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10883 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10884 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10885 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10886 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10887 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10888 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10889 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10890 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10891 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10892 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10893 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10894 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10895 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10896 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10897 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10898 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10899 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10900 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10901 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10902 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10903 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10904 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10905 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10906 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10907 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10908 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10909 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10910 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10911 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10912 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10913 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10914 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10915 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10916 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10917 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10918 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10919 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10920 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10921 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10922 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10923 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10924 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10925 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10926 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10927 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10928 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10929 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10930 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10931 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10932 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10933 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10934 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10935 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10936 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10937 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10938 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10939 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10940 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10941 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10942 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10943 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10944 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10945 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10946 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10947 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10948 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10949 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10950 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10951 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10952 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10953 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10954 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10955 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10956 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10957 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10958 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10959 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10960 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10961 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10962 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10963 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10964 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10965 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10966 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10967 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10968 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10969 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10970 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10971 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10972 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10973 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10974 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10975 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10976 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10977 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10978
73c5ebe3
JM
10979 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10980 _XOPEN_SOURCE_EXTENDED for XPG4.
10981
39c33b6c
JM
10982 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10983
62fde54f
JM
10984 * Makeconfig (localtime): Remove variable.
10985 (inst_localtime-file): Likewise.
10986
0741d64c
AS
109872012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10988
10989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10990 Update.
10991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10992 Update.
10993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10994 Update.
10995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10996 Update.
10997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10998 Update.
10999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11000 Update.
11001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11002 Update.
11003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11004 Update.
11005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11006 Update.
11007
7cb029ee
JM
110082012-05-01 Joseph Myers <joseph@codesourcery.com>
11009
11010 [BZ #2550]
11011 [BZ #2570]
11012 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11013 comparisons to determine direction to adjust input.
11014 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11015 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11016 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11017 Likewise.
11018 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11019 Likewise.
11020 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11021 Likewise.
11022 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11023 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11024 Likewise.
11025 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11026 Likewise.
11027 * math/libm-test.inc (nexttoward_test): Add more tests.
11028
412bd966
AS
110292012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11030
11031 [BZ #14040]
11032 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11033 in version GLIBC_2.1, not GLIBC_2.0.
11034 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11035 Likewise.
11036
9568c0c2
JM
110372012-04-30 Joseph Myers <joseph@codesourcery.com>
11038
adfbc8ac
JM
11039 [BZ #13942]
11040 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11041 (1 - x) * (1 + x).
11042 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11043 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11044 * math/libm-test.inc (acos_test): Add more tests.
11045 (asin_test): Likewise.
11046 * sysdeps/i386/fpu/libm-test-ulps: Update.
11047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11048
5ba3cc69
JM
11049 [BZ #14034]
11050 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11051 of square root.
11052 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11053 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11054 * math/libm-test.inc (acos_test_tonearest): New function.
11055 (acos_test_towardzero): Likewise.
11056 (acos_test_downward): Likewise.
11057 (acos_test_upward): Likewise.
11058 (asin_test_tonearest): Likewise.
11059 (asin_test_towardzero): Likewise.
11060 (asin_test_downward): Likewise.
11061 (asin_test_upward): Likewise.
11062 (main): Call the new functions.
11063 * sysdeps/i386/fpu/libm-test-ulps: Update.
11064 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11065
9568c0c2
JM
11066 [BZ #13884]
11067 [BZ #13924]
11068 * math/e_exp10.c: Include <float.h>.
11069 (__ieee754_exp10): Handle underflow here rather than multiplying
11070 large negative argument by M_LN10.
11071 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11072 of __ieee754_expf.
11073 * math/e_exp10l.c: Include <float.h>.
11074 (__ieee754_exp10l): Handle underflow here rather than multiplying
11075 large negative argument by M_LN10l.
11076 * math/libm-test.inc (exp10_test): Add another test. Do not allow
11077 spurious overflow exception on underflow.
11078
5ac3ea17
MP
110792012-04-29 Marek Polacek <polacek@redhat.com>
11080
11081 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11082 (__fortify_function): New macro.
11083 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11084 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11085 __extern_always_inline.
11086 * libio/bits/stdio2.h: Likewise.
11087 * libio/bits/stdio.h: Likewise.
11088 * string/string.h: Likewise.
11089 * string/bits/string3.h: Likewise.
11090 * include/stdio.h: Likewise.
11091 * stdlib/bits/stdlib.h: Likewise.
11092 * stdlib/stdlib.h: Likewise.
11093 * rt/bits/mqueue2.h: Likewise.
11094 * rt/mqueue.h: Likewise.
11095 * posix/bits/unistd.h: Likewise.
11096 * posix/unistd.h: Likewise.
11097 * io/bits/poll2.h: Likewise.
11098 * io/bits/fcntl2.h: Likewise.
11099 * io/fcntl.h: Likewise.
11100 * io/sys/poll.h: Likewise.
11101 * misc/bits/syslog.h: Likewise.
11102 * misc/bits/syslog-ldbl.h: Likewise.
11103 * misc/sys/syslog.h: Likewise.
11104 * socket/bits/socket2.h: Likewise.
11105 * socket/sys/socket.h: Likewise.
11106 * debug/tst-chk1.c: Likewise.
11107 * wcsmbs/bits/wchar2.h: Likewise.
11108 * wcsmbs/bits/wchar-ldbl.h: Likewise.
11109 * wcsmbs/wchar.h: Likewise.
11110
ecf0ebfb
AJ
111112012-04-29 Andreas Jaeger <aj@suse.de>
11112
11113 * Makerules (tests): Remove enable-check-abi protection.
11114 (check-abi-warn): Remove.
11115 (check-abi-%): Remove check-abi-warn usage.
11116
11117 * configure.in: Remove check-abi configure option.
11118 * configure: Regenerated.
11119 * config.make.in (enable-check-abi): Remove.
11120
6d5c57fa
AS
111212012-04-28 Andreas Schwab <schwab@linux-m68k.org>
11122
24c5d07e 11123 [BZ #14033]
ded5180a
AS
11124 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11125 double functions to double *_finite functions.
11126
7e0d315d
AS
11127 [BZ #13941]
11128 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11129 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11130 LDBL_MIN_EXP.
11131 * stdio-common/Makefile (tests): Add tst-sprintf3.
11132 * stdio-common/tst-sprintf3.c: New file.
11133
6d5c57fa
AS
11134 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11135 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11136
0749ff8b
JM
111372012-04-28 Joseph Myers <joseph@codesourcery.com>
11138
11139 * conform/conformtest.pl: Remove duplicate typed-constant
11140 handling.
11141
8dbd5d7b
DM
111422012-04-28 David S. Miller <davem@davemloft.net>
11143
11144 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11145 (check-abi-%): Remove AWK script prerequisite and explicit
11146 abilist directory.
11147 (check-abi): Rewrite to just diff the symlist with the abilist.
11148 (config-tls, config-abi-config): Delete, no longer used.
11149 (update-abi-%): Remove AWK script and explicit abilist directory.
11150 (update-abi): Rewrite to simply compare and conditionally copy the
11151 symlist and the sysdep abilist file. Remove update-abi-config
11152 checks.
11153 * abilist/ld.abilist: Remove.
11154 * abilist/libBrokenLocale.abilist: Remove.
11155 * abilist/libanl.abilist: Remove.
11156 * abilist/libcrypt.abilist: Remove.
11157 * abilist/libdl.abilist: Remove.
11158 * abilist/librt.abilist: Remove.
11159 * abilist/libthread_db.abilist: Remove.
11160 * abilist/libutil.abilist: Remove.
11161 * scripts/extract-abilist.awk: Remove.
11162 * scripts/merge-abilist.awk: Remove.
11163 * sysdeps/generic/libcidn.abilist: New file.
11164 * sysdeps/generic/libnss_compat.abilist: New file.
11165 * sysdeps/generic/libnss_db.abilist: New file.
11166 * sysdeps/generic/libnss_dns.abilist: New file.
11167 * sysdeps/generic/libnss_files.abilist: New file.
11168 * sysdeps/generic/libnss_hesiod.abilist: New file.
11169 * sysdeps/generic/libnss_nis.abilist: New file.
11170 * sysdeps/generic/libnss_nisplus.abilist: New file.
11171 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11172 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11173 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11174 file.
11175 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11176 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11177 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11178 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11179 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11180 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11181 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11182 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11183 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11184 file.
11185 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11186 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11187 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11188 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11189 file.
11190 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11191 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11192 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11193 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11194 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11195 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11196 file.
11197 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11198 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11199 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11200 file.
11201 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11202 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11203 New file.
11204 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11205 New file.
11206 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11207 New file.
11208 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11209 New file.
11210 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11211 New file.
11212 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11213 New file.
11214 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11215 New file.
11216 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11217 New file.
11218 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11219 New file.
11220 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11221 New file.
11222 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11223 New file.
11224 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11225 New file.
11226 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11227 New file.
11228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11229 file.
11230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11231 New file.
11232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11233 New file.
11234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11235 file.
11236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11237 New file.
11238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11239 New file.
11240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11241 file.
11242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11243 New file.
11244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11245 New file.
11246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11247 New file.
11248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11249 New file.
11250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11251 New file.
11252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11253 New file.
11254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11256 file.
11257 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11258 New file.
11259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11260 file.
11261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11262 file.
11263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11264 file.
11265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11266 file.
11267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11268 file.
11269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11270 New file.
11271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11272 file.
11273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11274 file.
11275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11276 New file.
11277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11278 file.
11279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11281 file.
11282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11283 New file.
11284 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11285 file.
11286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11287 file.
11288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11289 file.
11290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11291 file.
11292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11293 file.
11294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11295 New file.
11296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11297 file.
11298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11299 file.
11300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11301 New file.
11302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11303 file.
11304 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11305 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11306 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11307 file.
11308 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11309 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11310 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11311 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11312 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11313 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11314 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11315 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11316 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11317 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11320 file.
11321 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11322 New file.
11323 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11324 file.
11325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11326 file.
11327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11328 file.
11329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11330 file.
11331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11332 file.
11333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11334 New file.
11335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11336 New file.
11337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11338 file.
11339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11340 New file.
11341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11342 file.
11343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11344 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11345 file.
11346 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11347 New file.
11348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11349 file.
11350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11351 file.
11352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11353 file.
11354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11355 file.
11356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11357 file.
11358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11359 New file.
11360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11361 New file.
11362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11363 file.
11364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11365 New file.
11366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11367 file.
11368
41d73a1b
JM
113692012-04-28 Joseph Myers <joseph@codesourcery.com>
11370
11371 * conform/conformtest.pl: Fix typo in handling typed-constant from
11372 allow-header.
11373
28aeeda4
JM
113742012-04-27 Joseph Myers <joseph@codesourcery.com>
11375
adae8f5e
JM
11376 * README: Cut down references to pre-2.6 Linux kernels and
11377 Linuxthreads. Update lists of configurations in libc and ports
11378 and sort alphabetically. Say "or newer" with Linux kernel version
11379 requirements.
11380
28aeeda4
JM
11381 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11382
a462cb63
RA
113832012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11384
11385 [BZ #887]
11386 * math/libm-test.inc (logb_test_downward): New test to expose
11387 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11388 rounding mode.
11389
6ad3493e
JM
113902012-04-27 Joseph Myers <joseph@codesourcery.com>
11391
11392 [BZ #14027]
11393 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11394 to be done.
11395 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11396 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11397
2ce4f015
JM
113982012-04-26 Joseph Myers <joseph@codesourcery.com>
11399
5aeb141a
JM
11400 * sysdeps/unix/i386/brk.S: Remove file.
11401 * sysdeps/unix/i386/dl-brk.S: Likewise.
11402 * sysdeps/unix/i386/pipe.S: Likewise.
11403 * sysdeps/unix/i386/sigreturn.S: Likewise.
11404 * sysdeps/unix/i386/syscall.S: Likewise.
11405 * sysdeps/unix/i386/vfork.S: Likewise.
11406 * sysdeps/unix/i386/wait.S: Likewise.
11407
7143acae
JM
11408 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11409 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11410
2ce4f015
JM
11411 * configure.in (arm*-none*): Do not allow without
11412 --enable-hacker-mode.
11413 (netbsd*): Remove case setting base_os.
11414 (386bsd*): Likewise.
11415 (freebsd*): Likewise.
11416 (bsdi*): Likewise.
11417 (osf*): Likewise.
11418 (sunos*): Likewise.
11419 (ultrix*): Likewise.
11420 (newsos*): Likewise.
11421 (dynix*): Likewise.
11422 (*bsd*): Likewise.
11423 (sysv*): Likewise.
11424 (isc*): Likewise.
11425 (esix*): Likewise.
11426 (sco*): Likewise.
11427 (minix*): Likewise.
11428 (irix4*): Likewise.
11429 (irix6*): Likewise.
11430 (solaris[2-9]*): Likewise.
11431 (none): Likewise.
11432 * configure: Regenerated.
11433
0ac229c8
AZ
114342012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11435
11436 [BZ #11521]
11437 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11438 overflow or cancellation in calculating denominator.
11439 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11440 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11441 down expression to avoid unexpected rounding in newer GCCs.
11442 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11443
33f244f4
DM
114442012-04-26 David S. Miller <davem@davemloft.net>
11445
11446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11447 long-double compat symbols.
11448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11461
cfa1f3e8
DM
114622012-04-25 David S. Miller <davem@davemloft.net>
11463
11464 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11465 HWCAP_* values only after the memory barriers have been defined.
11466 (atomic_full_barrier): Define.
11467 (atomic_read_barrier): Define.
11468 (atomic_write_barrier): Define.
11469
6e236b92
SP
114702012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11471
11472 * shlib-versions: Add libgcc_s version information.
11473 * sysdeps/generic/libgcc_s.h: Remove.
11474 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11475 libgcc_s.h.
11476 * sysdeps/gnu/unwind-resume.c: Likewise.
11477 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11478
aab39a09
DM
114792012-04-25 David S. Miller <davem@davemloft.net>
11480
11481 * sysdeps/unix/sparc/brk.S: Delete.
11482 * sysdeps/unix/sparc/dl-brk.S: Delete.
11483 * sysdeps/unix/sparc/pipe.S: Delete.
11484 * sysdeps/unix/sparc/sysdep.S: Delete.
11485 * sysdeps/unix/sparc/sysdep.h: Delete.
11486 * sysdeps/unix/sparc/vfork.S: Delete.
11487 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11488 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11489 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11490 ret_ERRVAL, r0, r1, MOVE): Define.
11491 (JUMPTARGET): Remove.
11492 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11493 sysdeps/unix/sparc/sysdep.h
11494 (ENTRY, END): Remove.
11495 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11496
a3cc4f48
JM
114972012-04-25 Joseph Myers <joseph@codesourcery.com>
11498
2ed8cda2
JM
11499 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11500 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11501 -DIS_IN_build.
11502
35d76d59
JM
11503 * timezone/README: Update upstream location and email address for
11504 tzcode and tzdata.
11505 * timezone/zdump.c: Update from tzcode 2012b.
11506 * timezone/zic.c: Likewise.
11507
a3cc4f48
JM
11508 * configure.in (libc_cv_as_needed): Remove test.
11509 * configure: Regenerated.
11510 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11511 conditional definition.
11512 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11513 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11514 * config.make.in (have-as-needed): Remove variable.
11515
ceab42c3
SP
115162012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11517 Paul Pluzhnikov <ppluzhnikov@google.com>
11518
11519 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11520 strings correctly.
11521
3ce2865f
CLT
115222012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11523
11524 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11525 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11526 * sysdeps/sh/strlen.S: Likewise.
11527
f37e0d68
JM
115282012-04-24 Joseph Myers <joseph@codesourcery.com>
11529
ae186e9a
JM
11530 * sysdeps/unix/fork.S: Remove file.
11531 * sysdeps/unix/i386/fork.S: Likewise.
11532 * sysdeps/unix/sparc/fork.S: Likewise.
11533
b96914af
JM
11534 * sysdeps/unix/system.c: Remove file.
11535 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11536
f37e0d68
JM
11537 * sysdeps/unix/getegid.S: Remove file.
11538 * sysdeps/unix/geteuid.S: Likewise.
11539
87ef29ca
RM
115402012-04-24 Roland McGrath <roland@hack.frob.com>
11541
83bcd236
RM
11542 * scripts/check-localplt.awk: New file.
11543 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11544 of diff.
11545 * scripts/data/localplt-generic.data: Add a comment.
11546
87ef29ca
RM
11547 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11548 NODE when __dir_mkfile failed.
11549 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11550 Reported by Ludovic Courtès <ludo@gnu.org>.
11551
e5a6e567
AJ
115522012-04-24 Andreas Jaeger <aj@suse.de>
11553
11554 * Makerules (common-clean): Also remove gen-as-const-headers
11555 files.
11556
c1820385
JM
115572012-04-24 Joseph Myers <joseph@codesourcery.com>
11558
11559 * Makerules (native-compile): Do not change working directory for
11560 build. Use $(OUTPUT_OPTION) in command.
11561 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11562
94e02fc4
AZ
115632012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11564
11565 [BZ #13886]
11566 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11567 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11568 * math/libm-test.inc (floor_test): Add more tests.
11569 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11570
3a533ca3
JM
115712012-04-24 Joseph Myers <joseph@codesourcery.com>
11572
940ab4b3
JM
11573 * sysdeps/unix/getdents.c: Remove file.
11574 * sysdeps/unix/sysv/getdents.c: Likewise.
11575 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11576
90e037bd
JM
11577 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11578 sysdeps/unix/mman/syscalls.list.
11579 (mmap): Likewise.
11580 (mprotect): Likewise.
11581 (msync): Likewise.
11582 (munmap): Likewise.
11583 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11584 * sysdeps/unix/mman/syscalls.list: Remove.
11585 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11586
3a533ca3
JM
11587 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11588 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11589 * configure: Regenerated.
11590 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11591 $(libgcc_s_suffix).
11592 * config.make.in (libgcc_s_suffix): Remove variable.
11593
1ad743de
JM
115942012-04-23 Joseph Myers <joseph@codesourcery.com>
11595
4ad451e2
JM
11596 * sysdeps/unix/sysv/gethostname.c: Move to ...
11597 * sysdeps/posix/gethostname.c: ... here.
11598
5e37ce39
JM
11599 * sysdeps/unix/execve.S: Remove file.
11600
1ad743de
JM
11601 * sysdeps/unix/_exit.S: Remove file.
11602
4e681b5b
AJ
116032012-04-23 Andreas Jaeger <aj@suse.de>
11604
11605 [BZ #13739]
11606 * manual/Makefile: Remove make dist support, there's no
11607 need for a stand-alone documentation tar ball.
11608 (TEXI2DVI): Define always, it's not in Makeconfig.
11609 (dist): Removed.
11610 (tar-it): Removed.
11611 (edition): Removed.
11612 (glibc-doc-$(edition).tar): Removed
11613 (%.Z): Removed.
11614 (%.gz): Removed.
11615 (%.uu): Removed.
11616 (ETAGS): Remove, it's in Makeconfig.
11617 (move-if-change): Remove, it's in Makeconfig.
11618
c0baea34
PE
116192013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11620
11621 [BZ #13970]
11622 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11623 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11624 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11625 (strtod_l, strtof_l, strtold_l): Remove __wur.
11626 It is not necessarily an error to ignore strtol's return value.
11627 One can reliably look at the stored endptr to decide whether
11628 the number had valid syntax.
11629
7c0616fa
AJ
116302012-04-21 Andreas Jaeger <aj@suse.de>
11631
803cb6b7 11632 [BZ #13739]
7c0616fa
AJ
11633 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11634
b0fe253f
JM
116352012-04-21 Joseph Myers <joseph@codesourcery.com>
11636
11637 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11638 * sysdeps/unix/sysv/Versions: Remove file.
11639
8280f22d
MT
116402012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11641
11642 [BZ #13927]
11643 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11644
75ce411f 116452012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
11646
11647 [BZ #7064]
11648 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11649 version from __vm86.
11650
097d59fa
JM
116512012-04-20 Joseph Myers <joseph@codesourcery.com>
11652
a90f3bcb
JM
11653 * sysdeps/unix/common/lxstat.c: Remove file.
11654 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11655
edc7ea78
JM
11656 * sysdeps/unix/sysv/Makefile: Remove file.
11657
cb78c221
JM
11658 * sysdeps/unix/sysv/direct.h: Remove file.
11659
efa6a45f
JM
11660 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11661 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11662 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11663 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11664 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11665 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11666 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11667
9c9f2d0c
JM
11668 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11669
4541c83b
JM
11670 * sysdeps/unix/xmknod.c: Remove file.
11671 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11672
f5d153a0
JM
11673 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11674
aa746595
JM
11675 * sysdeps/unix/sysv/i386/time.S: Remove file.
11676
cce5905e
JM
11677 * sysdeps/unix/fxstat.c: Remove file.
11678 * sysdeps/unix/xstat.c: Likewise.
11679 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11680
37fa3841
JM
11681 * sysdeps/unix/sysv/sigaction.c: Remove file.
11682
ff1962a3
JM
11683 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11684 (sysdep_headers): Remove variable.
11685 [termio.h not in sysdep_headers] (generated): Likewise.
11686 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11687 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11688 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11689 * sysdeps/unix/sysv/tcflow.c: Likewise.
11690 * sysdeps/unix/sysv/tcflush.c: Likewise.
11691 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11692 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11693 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11694 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11695 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11696
e7740d31
JM
11697 * sysdeps/unix/siglist.c: Remove file.
11698
ee06f18b
JM
11699 * sysdeps/unix/getppid.S: Remove file.
11700
097d59fa
JM
11701 * sysdeps/unix/mkdir.c: Remove file.
11702 * sysdeps/unix/rmdir.c: Likewise.
11703
ff3d51ec
AS
117042012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11705
11706 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11707 ERR_MAX value.
11708 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11709 errlist-compat value.
11710
50f81fd7
DM
117112012-04-18 David S. Miller <davem@davemloft.net>
11712
11713 * sysdeps/generic/memcopy.h (reg_char): Delete.
11714 * debug/strcat_chk.c: Use char, not reg_char.
11715 * debug/strcpy_chk.c: Likewise.
11716 * debug/strncat_chk.c: Likewise.
11717 * debug/strncpy_chk.c: Likewise.
11718 * string/memchr.c: Likewise.
11719 * string/memrchr.c: Likewise.
11720 * string/rawmemchr.c: Likewise.
11721 * string/strcat.c: Likewise.
11722 * string/strchr.c: Likewise.
11723 * string/strchrnul.c: Likewise.
11724 * string/strcmp.c: Likewise.
11725 * string/strcpy.c: Likewise.
11726 * string/strncat.c: Likewise.
11727 * string/strncmp.c: Likewise.
11728 * string/strncpy.c: Likewise.
11729
8ff41c46
WS
117302012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11731
11732 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11733 __builtin_memcopy is called when src and dest ranges are known to not
11734 overlap.
11735
6b652f46
WS
117362012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11737
11738 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11739 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11740 fwd_align_merge macro call.
11741 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11742 bwd_align_merge macro call.
11743 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11744
b282631e
WS
117452012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11746
11747 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11748 bwd_align_merge macros.
11749 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11750 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11751 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11752
95aa737c
DM
117532012-04-18 David S. Miller <davem@davemloft.net>
11754
11755 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11756
7a99a614
AJ
117572012-04-18 Andreas Jaeger <aj@suse.de>
11758
11759 [BZ# 6794]
11760 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11761 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11762 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11763
11764 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11765 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11766 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11767
11768 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11769 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11770 Adjust for changed ldbl-128 files.
11771
11772 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11773 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11774 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11775
e5270c23
DM
117762012-04-17 David S. Miller <davem@davemloft.net>
11777
11778 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11779
fb5e92c9
AS
117802012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11781
11782 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11783 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11784 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11785 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11786 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11787 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11788
76da7265
AZ
117892012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11790
11791 [BZ #6794]
11792 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11793 * math/libm-test.inc: Add ilogb errno and exception tests.
11794 * math/w_ilogb.c: New file: ilogb wrapper.
11795 * math/w_ilogbf.c: New file: ilogbf wrapper.
11796 * math/w_ilogbl.c: New file: ilogbl wrapper.
11797 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11798 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11799 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11800 exception being thrown with 0.0 as argument.
11801 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11802 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11803 exception being thrown with 0.0 as argument.
11804 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11805 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11806 exception being thrown with 0.0 as argument.
11807 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11808 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11809 exception being thrown with 0.0 as argument.
11810 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11811 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 11812 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
11813 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11814 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11815 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11816 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11817 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11818 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11819
0396e69d
PB
118202012-04-17 Petr Baudis <pasky@ucw.cz>
11821
11822 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11823 with altivec.
11824
750b5926
MP
118252012-04-16 Marek Polacek <polacek@redhat.com>
11826
11827 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11828
751728a1
MP
118292012-04-16 Marek Polacek <polacek@redhat.com>
11830
11831 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11832 operands of fdivp instruction.
11833
34a27407
L
118342012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11835
11836 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11837 * elf/tst-auditmod3b.c: Likewise.
11838 * elf/tst-auditmod4b.c: Likewise.
11839 * elf/tst-auditmod5b.c: Likewise.
11840 * elf/tst-auditmod6b.c: Likewise.
11841 * elf/tst-auditmod6c.c: Likewise.
11842 * elf/tst-auditmod7b.c: Likewise.
11843 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11844 * sysdeps/x86_64/preconfigure.in: Likewise.
11845 * sysdeps/x86_64/preconfigure: Regenerated.
11846
7e73e17d
L
118472012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11848
11849 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11850 __ILP32__.
11851
c7a6ab72
AB
118522012-04-13 Antoine Balestrat <merkil33@gmail.com>
11853
11854 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11855 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11856
a9e8e0e0
CL
118572012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11858
11859 [BZ #13973]
11860 * locale/iso-639.def: Fix gl language name. Spotted by
11861 Yaron Shahrabani.
11862
ec98af7d
RM
118632012-04-12 Roland McGrath <roland@hack.frob.com>
11864
11865 [BZ #2074]
11866 * libio/libio.h (__io_write_fn): Update comment.
11867
247c3ede
PB
118682012-04-12 Petr Baudis <pasky@ucw.cz>
11869
11870 [BZ #2074]
11871 * stdio.texi (Hook Functions): The user provided writer function
11872 is not allowed to return -1.
11873
55939d6d
DM
118742012-04-11 David S. Miller <davem@davemloft.net>
11875
11876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11877
90020f5a
MF
118782012-04-11 Mike Frysinger <vapier@gentoo.org>
11879
11880 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11881 Add a leading slash to rtkaio.
11882
288f9098
JM
118832012-04-11 Jim Meyering <meyering@redhat.com>
11884
90020f5a
MF
11885 [BZ #11959]
11886 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11887 It is not necessarily an error to ignore fwrite's return
11888 value. One can reliably use ferror to test for errors after
11889 the fact.
288f9098 11890
4be2b570
L
118912012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11892
11893 * bits/types.h (__snseconds_t): New type.
11894 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11895
11896 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11897 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11898 (__SNSECONDS_T_TYPE): Likewise.
11899 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11900 (__SNSECONDS_T_TYPE): Likewise.
11901 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11902 (__SNSECONDS_T_TYPE): Likewise.
11903
288f9098 119042012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
11905
11906 [BZ #2636]
11907 * manual/time.texi (Processor Time): Return type of times is
11908 elapsed real time since an arbitrary point in the past.
11909 (CPU Time): Move CLK_TCK from here...
11910 (Processor Time): ...to here. Correct description.
11911 * manual/conf.texi (Constants for Sysconf): Correct description of
11912 _SC_CLK_TCK.
11913
d7dd4413
DM
119142012-04-10 David S. Miller <davem@davemloft.net>
11915
11916 [BZ #13967]
11917 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11918 where the is a gap between DT_REL(A) and DT_JMPREL.
11919
b46068fc
L
119202012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11921
11922 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11923 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11924 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11925
73d65cc3
SP
119262012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11927
11928 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11929 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11930 (dl_main): Handle --inhibit-cache.
11931 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11932 _dl_inhibit_cache.
11933 * elf/dl-load.c (_dl_map_object): Use it.
11934 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11935
bcc8d661
JM
119362012-04-09 Joseph Myers <joseph@codesourcery.com>
11937
8f9a2fae
JM
11938 [BZ #13872]
11939 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11940 (__ieee754_powl): Saturate large exponents rather than testing for
11941 overflow of y*log2(x).
11942 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11943 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11944 exceptions.
11945
bcc8d661
JM
11946 [BZ #11521]
11947 * math/s_ctan.c: Include <float.h>.
11948 (__ctan): Avoid internal overflow or cancellation in calculating
11949 denominator.
11950 * math/s_ctanf.c: Likewise.
11951 * math/s_ctanl.c: Likewise.
11952 * math/s_ctanh.c: Likewise.
11953 * math/s_ctanhf.c: Likewise.
11954 * math/s_ctanhl.c: Likewise.
11955 * math/libm-test.inc (ctan_test): Add more tests.
11956 (ctanh_test): Likewise.
11957 * sysdeps/i386/fpu/libm-test-ulps: Update.
11958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11959
823fbbb4
AJ
119602012-04-09 Andreas Jaeger <aj@suse.de>
11961
03879793
AJ
11962 [BZ #6894]
11963 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11964 is an optional BSD extension.
11965
823fbbb4
AJ
11966 [BZ #10254]
11967 * manual/stdio.texi (Opening Streams): Document additional fopen
11968 parameters.
11969
8de131cb
RM
119702012-04-09 Roland McGrath <roland@hack.frob.com>
11971
11972 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11973 %eax without telling the compiler.
11974
c0ed9d7d
CD
119752012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11976
11977 [BZ # 13963]
11978 * manual/install.texi: Use sourceware.org.
11979
c483f6b4
JM
119802012-04-09 Joseph Myers <joseph@codesourcery.com>
11981
d7dd9453
JM
11982 [BZ #13873]
11983 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11984 (__ieee754_pow): Generate overflow and underflow using huge*huge
11985 and tiny*tiny rather than just returning constant infinity or zero
11986 for large exponents.
11987 * math/libm-test.inc (pow_test): Require overflow exceptions for
11988 applicable cases of large exponents.
11989
c483f6b4
JM
11990 [BZ #706]
11991 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11992 (__ieee754_pow): Use iterative multiplication algorithm only for
11993 integer exponents with absolute value below 1024. Check for odd
11994 integer exponents when using algorithm for real exponents.
11995 * math/libm-test.inc (pow_test): Add more tests.
11996 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11997
d2de7579
JM
119982012-04-08 Joseph Myers <joseph@codesourcery.com>
11999
12000 [BZ #13705]
12001 * math/libm-test.inc (exp_test): Do not allow overflow exception
12002 on underflow test.
12003
f77f1232
AJ
120042012-04-08 Aurelien Jarno <aurelien@aurel32.net>
12005
12006 [BZ #13705]
12007 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12008 instead of __kernel_standard_f.
12009
3884932b
MF
120102012-04-08 Mike Frysinger <vapier@gentoo.org>
12011
12012 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12013 * sysdeps/x86_64/memset_chk.S: Likewise.
12014
54472e9c
AJ
120152012-04-08 Andreas Jaeger <aj@suse.de>
12016
6ab0fbfc
AJ
12017 [BZ #10153]
12018 * manual/startup.texi (Environment Access): Describe return value
12019 for putenv and setenv.
12020
61efba8c
AJ
12021 [BZ #6895]
12022 * manual/filesys.texi (Directory Entries): Add description for
12023 DT_LNK.
12024
95c3f29a
AJ
12025 [BZ #6890]
12026 * manual/filesys.texi (Directory Entries): Clarify that it's file
12027 system not operating system in the description of DT_UNKNOWN.
12028
54472e9c
AJ
12029 [BZ #6578]
12030 * manual/syslog.texi (closelog): Fix reference, it's openlog.
12031
624254b1
SC
120322012-04-08 Stephen Compall <s11@member.fsf.org>
12033
12034 [BZ #6649]
12035 * manual/llio.texi (Opening and Closing Files): Add cross
12036 reference to explain mode argument.
12037
1e4920e0
MF
120382012-04-07 Mike Frysinger <vapier@gentoo.org>
12039
12040 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12041 * sysdeps/x86_64/memset_chk.S: Likewise.
12042
5ed848f3
DM
120432012-04-07 David S. Miller <davem@davemloft.net>
12044
12045 * elf/elf.h (R_SPARC_WDISP10): Define.
12046 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12047 R_SPARC_SIZE32.
12048 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12049 R_SPARC_SIZE64 and R_SPARC_H34.
12050
96154cd8
CD
120512012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
12052
12053 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12054 conditions and remove no longer applicable assertion.
12055
9904dc47
L
120562012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12057
12058 * bits/byteswap.h: Include <features.h>.
12059 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12060 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12061
f8887d0a
L
120622012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12063
12064 * bits/byteswap.h (__bswap_16): Removed.
12065 Include <bits/byteswap-16.h> to get __bswap_16.
12066 * sysdeps/i386/bits/byteswap.h: Likewise.
12067 * sysdeps/s390/bits/byteswap.h: Likewise.
12068 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12069 * bits/byteswap-16.h: New file.
12070 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12071 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12072 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12073 * string/Makefile (headers): Add bits/byteswap-16.h.
12074
62470f60
PP
120752012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12076
12077 [BZ #13895]
12078 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12079 extra indirection.
12080 * nss/Makefile (tests-static, tests): Add tst-nss-static.
12081 * nss/tst-nss-static.c: New.
12082
4dad7bab
RM
120832012-04-06 Robert Millan <rmh@gnu.org>
12084
12085 [BZ #6486]
12086 * manual/llio.texi (File Position Primitive): lseek
12087 refers to WHENCE when it really means OFFSET.
12088
e9142a17
AJ
120892012-04-06 Andreas Jaeger <aj@suse.de>
12090
2c040eff
AJ
12091 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12092 strncmp declarations.
12093
e9142a17
AJ
12094 * abilist/libc.abilist: Add __poll and __ppoll.
12095
ff9f1c5f
DM
120962012-04-05 David S. Miller <davem@davemloft.net>
12097
dcd2ae90
DM
12098 * scripts/check-local-headers.sh: Accept a host triplet in the
12099 path matched by the exclude regexp.
12100
993eb054
DM
12101 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12102 definition.
12103 * sysdeps/powerpc/powerpc32/dl-machine.h
12104 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12105 * sysdeps/s390/s390-32/dl-machine.h
12106 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12107 * sysdeps/sparc/sparc32/dl-machine.h
12108 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12109 * sysdeps/sparc/sparc64/dl-machine.h
12110 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12111
ff9f1c5f
DM
12112 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12113 lazy binding.
48e2e132 12114 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
12115 undefined symbol errors.
12116
48e2e132 12117 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
12118 DT_NEEDED entries.
12119
e80d6f94
MM
121202012-04-05 Michael Matz <matz@suse.de>
12121
12122 [BZ #13592]
12123 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12124
349fa79f
AJ
121252012-04-05 Andreas Jaeger <aj@suse.de>
12126
12127 [BZ #13908]
12128 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12129 comment.
12130
f402708f
KK
121312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12132
12133 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12134 which ROUND is no valid rounding mode.
12135
2ecccfc9
KK
121362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12137
12138 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12139 read again.
12140 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12141
8a53f50f
KK
121422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12143
12144 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12145 an exception using FPU order intentionally.
12146
121472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12148
12149 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12150 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12151 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12152 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12153
d653abb7
SJ
121542012-04-05 Simon Josefsson <simon@josefsson.org>
12155
12156 [BZ #12340]
12157 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12158 EINVAL when BUFLEN is too smal.
12159
c3b1bf7d
TS
121602012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12161
12162 [BZ #13553]
12163 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12164 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12165
b1aa60f3
AJ
121662012-04-03 Andreas Jaeger <aj@suse.de>
12167
c3b1bf7d 12168 [BZ #13938]
67f60a26
AJ
12169 * manual/setjmp.texi (System V contexts): Fix sentence.
12170
b1aa60f3
AJ
12171 [BZ #13926]
12172 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12173 New macro for this case.
12174 [!__GNUC__] (__bswap_64): New inline function for this case.
12175 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12176 * bits/byteswap.h: Likewise.
12177 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12178 ull, guard with __GLIBC_HAVE_LONG_LONG.
12179
12180 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12181 __GLIBC_HAVE_LONG_LONG.
12182
12183 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12184 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12185
39c59c35
TMQMF
121862012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12187
12188 [BZ #13691]
12189 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12190 inptr and inend, rather than using last_ch.
12191
135ffda8
DM
121922012-04-02 David S. Miller <davem@davemloft.net>
12193
12194 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12195 * stdio-common/printf-parse.h (read_int): Change return type to
12196 'int', return -1 on INT_MAX overflow.
12197 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12198 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12199 overflows INT_MAX. Check for overflow of in-format-string precision
12200 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12201 SIZE_MAX not INT_MAX for integer overflow test.
12202 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12203 skip the construct in the format string but do not record anything.
12204 * stdio-common/bug22.c: Adjust to test both width/prevision
12205 INT_MAX overflow as well as total length INT_MAX overflow. Check
12206 explicitly for proper errno values.
12207
228c019e
TS
122082012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12209
302cadd3
TS
12210 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12211 CHAR_MAX.
12212 * string/test-strcmp.c [! WIDE]: Likewise.
12213 * time/tst-mktime2.c: Likewise for INT_MAX.
12214 * string/test-string.h: #include <sys/param.h> for MIN.
12215
228c019e
TS
12216 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12217 * sysdeps/i386/init-first.c (init): Likewise.
12218 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12219 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12220 * sysdeps/sh/init-first.c (init): Likewise.
12221
cfa633f5
UD
122222012-04-01 Ulrich Drepper <drepper@gmail.com>
12223
12224 * po/ru.po: Update from translation team.
d1635ef8 12225 * po/vi.po: Likewise.
cfa633f5 12226
6cd0a5ea
SP
122272012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12228
12229 * resolv/nss_dns/dns-host.c: Merge copyright years.
12230
4b43400f
LD
122312012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12232
12233 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12234 Optimize memcpy with prefetch if
12235 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12236 src, dst pointers have unequal 16 byte alignments.
12237
48c41d04
SP
122382012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12239
12240 [BZ #13928]
12241 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12242 from a CNAME entry and return the minimum ttl for the query.
12243 (gaih_getanswer_slice): Likewise.
12244
b8dc394d
JL
122452012-03-30 Jeff Law <law@redhat.com>
12246
12247 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12248 due to long keys.
12249 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12250 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12251
2f5a5ed0
JL
12252 * resolv/nss_dns/dns-host.c: Update copyright year.
12253
1d39e359
UD
122542012-03-30 Ulrich Drepper <drepper@gmail.com>
12255
c030f70c 12256 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 12257 requests to save a system call. Fix check that all bytes are sent.
c030f70c 12258
1d39e359
UD
12259 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12260 comments for sendmmsg.
12261
122622012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
12263
12264 [BZ #13691]
12265 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12266 with only 1 character between 0x0041 and 0x01b0.
12267 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12268 * wcsmbs/tst-mbsnrtowcs.c: New file.
12269
20fde227
DM
122702012-03-29 David S. Miller <davem@davemloft.net>
12271
12272 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12273 small copies by hand.
12274
984a4237
JL
122752012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12276
12277 [BZ #13761]
12278 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12279 _nss_compat_initgroups_dyn): Fall back to malloc/free
12280 for large group memberships.
12281
18c9d62b
DM
122822012-03-28 David S. Miller <davem@davemloft.net>
12283
88d85d4f
DM
12284 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12285 that branches into memcpy.
12286 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12287 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12288 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12289 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12290 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12291 bits.
12292 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12293 implementation too.
12294 * sysdeps/sparc/mempcpy.S: New file.
12295
e5aa83e1
DM
12296 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12297 the IFUNC routine in the libc case.
12298 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12299
88570753
DM
12300 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12301 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12302 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12303 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12304 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12305 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12306 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12307 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12308
249d7567
DM
12309 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12310 loop to 256 bytes instead of 64 bytes and fix test signedness.
12311
18c9d62b
DM
12312 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12313 * sysdeps/sparc/sparc32/Makefile: rather than here...
12314 * sysdeps/sparc/sparc64/Makefile: and here.
12315
05f3d1f6
UD
123162012-03-28 Ulrich Drepper <drepper@gmail.com>
12317
12318 * malloc/mallocbug.c: Avoid warnings about unused variables.
12319
86ae07a8
JL
123202012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12321
12322 [BZ #13760]
12323 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12324 in the right place. Discard and retry query if response is
12325 larger than input buffer size.
12326
41bf21a1
JM
123272012-03-28 Joseph Myers <joseph@codesourcery.com>
12328
d6270972
JM
12329 [BZ #369]
12330 [BZ #2678]
12331 [BZ #3866]
12332 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12333 x for large integer exponent.
12334 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12335 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12336 sign of result as needed afterwards.
12337 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12338 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12339 result for underflowing pow the same as for overflow.
12340 (__kernel_standard_l): Handle powl overflow and underflow here
12341 rather than calling __kernel_standard.
12342 * math/libm-test.inc (pow_test): Add more tests.
12343
414fca03 12344 [BZ #3868]
41bf21a1
JM
12345 [BZ #13879]
12346 [BZ #13910]
12347 [BZ #13911]
12348 [BZ #13912]
12349 [BZ #13913]
12350 [BZ #13915]
12351 [BZ #13916]
12352 [BZ #13917]
12353 [BZ #13918]
12354 [BZ #13919]
12355 [BZ #13920]
12356 [BZ #13921]
12357 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12358 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12359 (__kernel_standard_l): New function.
12360 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12361 __kernel_standard.
12362 * math/w_acosl.c (__acosl): Likewise.
12363 * math/w_asinl.c (__asinl): Likewise.
12364 * math/w_atan2l.c (__atan2l): Likewise.
12365 * math/w_atanhl.c (__atanhl): Likewise.
12366 * math/w_coshl.c (__coshl): Likewise.
12367 * math/w_exp10l.c (__exp10l): Likewise.
12368 * math/w_exp2l.c (__exp2l): Likewise.
12369 * math/w_fmodl.c (__fmodl): Likewise.
12370 * math/w_hypotl.c (__hypotl): Likewise.
12371 * math/w_j0l.c (__j0l, __y0l): Likewise.
12372 * math/w_j1l.c (__j1l, __y1l): Likewise.
12373 * math/w_jnl.c (__jnl, __ynl): Likewise.
12374 * math/w_lgammal.c (__lgammal): Likewise.
12375 * math/w_log10l.c (__log10l): Likewise.
12376 * math/w_log2l.c (__log2l): Likewise.
12377 * math/w_logl.c (__logl): Likewise.
12378 * math/w_powl.c (__powl): Likewise.
12379 * math/w_remainderl.c (__remainderl): Likewise.
12380 * math/w_scalbl.c (sysv_scalbl): Likewise.
12381 * math/w_sinhl.c (__sinhl): Likewise.
12382 * math/w_sqrtl.c (__sqrtl): Likewise.
12383 * math/w_tgammal.c (__tgammal): Likewise.
12384 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12385 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12386 * math/libm-test.inc (acos_test): Add more tests.
12387 (acosh_test): Likewise.
12388 (asin_test): Likewise.
12389 (atanh_test): Likewise.
12390 (exp_test): Likewise.
12391 (exp10_test): Likewise.
12392 (exp2_test): Likewise.
12393 (expm1_test): Likewise.
12394 (lgamma_test): Likewise.
12395 (log_test): Likewise.
12396 (log10_test): Likewise.
12397 (log1p_test): Likewise.
12398 (log2_test): Likewise.
12399 (pow_test): Do not allow some spurious overflow exceptions.
12400 (sqrt_test): Add more tests.
12401 (tgamma_test): Likewise.
12402 (y0_test): Likewise.
12403 (y1_test): Likewise.
12404 (yn_test): Likewise.
12405
dd62fda6
AB
124062012-03-27 Anton Blanchard <anton@samba.org>
12407
12408 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12409 MAP_HUGETLB.
12410 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12411 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12412 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12413
1e3cdfda
AJ
124142012-03-27 David S. Miller <davem@davemloft.net>
12415
b855ab85
DM
12416 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12417
1e3cdfda
AJ
12418 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12419 have-as-vis3 check.
12420
124212012-03-27 Andreas Jaeger <aj@suse.de>
12422
12423 * sysdeps/x86_64/elf/configure.in: Moved to ...
12424 * sysdeps/x86_64/configure.in: ... here.
12425 * sysdeps/x86_64/elf/start.S: Moved to ...
12426 * sysdeps/x86_64/start.S: ... here.
12427 * sysdeps/x86_64/elf/configure: Delete.
12428
12429 * sysdeps/x86_64/configure.in: Merge contents from
12430 sysdeps/i386/configure.in (without i686 check).
12431
12432 * sysdeps/i386/elf/Versions: Merge into ...
12433 * sysdeps/i386/Versions: ... this.
12434 * sysdeps/i386/elf/Versions: Delete file.
12435 * sysdeps/i386/elf/start.S: Moved to ...
12436 * sysdeps/i386/start.S: ...here.
12437 * sysdeps/i386/elf/configure.in: Merge into...
12438 * sysdeps/i386/configure.in: ...here.
12439 * sysdeps/i386/elf/configure.in: Delete file.
12440 * sysdeps/i386/elf/configure: Delete file.
12441
12442 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12443 * debug/backtracesyms.c: ... here.
12444 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12445 * debug/backtracesymsfd.c: ... here.
12446 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12447 * sysdeps/generic/ifunc-sel.h: ... here.
12448
12449 * sysdeps/unix/i386/start.c: Delete file.
12450 * sysdeps/unix/sparc/start.c: Delete file.
12451 * sysdeps/unix/start.c: Delete file.
12452
12453 * sysdeps/sh/elf/configure.in: Moved to ...
12454 * sysdeps/sh/configure.in: ... here.
12455 * sysdeps/sh/elf/start.S: Moved to ...
12456 * sysdeps/sh/start.S: ... here.
12457 * sysdeps/sh/elf/configure: Delete file.
12458
12459 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12460 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12461 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12462 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12463 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12464 * sysdeps/powerpc/powerpc64/start.S: here.
12465 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12466 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12467 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12468 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12469 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12470
12471 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12472 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12473 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12474 * sysdeps/powerpc/powerpc32/start.S: ... here.
12475 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12476 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12477 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12478
12479 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12480 * sysdeps/powerpc/ifunc-sel.h: ... here.
12481 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12482 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12483
12484 * sysdeps/sparc/elf/configure.in: Moved to ...
12485 * sysdeps/sparc/configure.in: ... here.
12486 * sysdeps/sparc/elf/configure: Delete file.
12487 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12488 * sysdeps/sparc/sparc32/start.S: ... here.
12489 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12490 * sysdeps/sparc/sparc64/start.S: ... here.
12491 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12492 * sysdeps/sparc/sparc32/Makefile: ... this.
12493 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12494 * sysdeps/sparc/sparc64/Makefile: ... this.
12495
12496 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12497 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12498 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12499 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12500 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12501 * sysdeps/s390/s390-32/setjmp.S: ... here.
12502 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12503 * sysdeps/s390/s390-32/configure.in: ... here.
12504 * sysdeps/s390/s390-32/elf/configure: Delete file.
12505 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12506 * sysdeps/s390/s390-32/start.S: ... here.
12507
12508 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12509 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12510 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12511 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12512 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12513 * sysdeps/s390/s390-64/setjmp.S: ... here.
12514 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12515 * sysdeps/s390/s390-64/configure.in: ... here
12516 * sysdeps/s390/s390-64/elf/configure: Delete file.
12517 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12518 * sysdeps/s390/s390-64/start.S: ... here.
12519 * sysdeps/s390/s390-64/elf/configure: Delete.
12520
12521 * configure.in: Remove support for elf directories in sysdeps.
12522
12523 * configure: Regenerated.
12524 * sysdeps/i386/configure: Regenerated.
12525 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12526 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12527 * sysdeps/s390/s390-32/configure: Regenerated.
12528 * sysdeps/s390/s390-64/configure: Regenerated.
12529 * sysdeps/sh/configure: Regenerated.
12530 * sysdeps/sparc/configure: Regenerated.
12531 * sysdeps/x86_64/configure: Regenerated.
12532
a3f61311
AS
125332012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12534
c876e002
AS
12535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12536
a3f61311
AS
12537 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12538 denormal result into account.
12539
ac4c54f0
RM
125402012-03-25 Roland McGrath <roland@hack.frob.com>
12541
12542 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12543 Reported by Allan McRae <allan@archlinux.org>.
12544
6a9b9c02
JL
125452012-03-23 Jeff Law <law@redhat.com>
12546
12547 * nss/getnssent.c (__nss_getent): Fix typo.
12548
4c42a0c1
DM
125492012-03-23 David S. Miller <davem@davemloft.net>
12550
12551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12552
1532c7ac
L
125532012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12554
12555 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12556 to pad to uint64_t for each field.
12557 (dl_tls_index): Replace unsigned long with uint64_t.
12558
3ff42526
PP
125592012-03-23 Daniel Jacobowitz <dmj@google.com>
12560 Paul Pluzhnikov <ppluzhnikov@google.com>
12561
12562 [BZ #6528]
12563 * grp/Makefile (otherlibs): Don't set it.
12564 * inet/Makefile (otherlibs): Likewise.
12565 * login/Makefile (otherlibs): Likewise.
12566 * nscd/Makefile (otherlibs): Likewise.
12567 * posix/Makefile (otherlibs): Likewise.
12568 * pwd/Makefile (otherlibs): Likewise.
12569 * rt/Makefile (otherlibs): Likewise.
12570 * sunrpc/Makefile (otherlibs): Likewise.
12571 * nss/Makefile (otherlibs): Likewise.
12572 Add libnss_files to routines and static-only-routines.
12573 ($(objpfx)getent): Remove rule.
12574 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12575 static-only-routines.
12576
7c69cd14
JM
125772012-03-22 Joseph Myers <joseph@codesourcery.com>
12578
12579 [BZ #13892]
12580 * math/s_cexp.c: Include <float.h>.
12581 (__cexp): Handle exp result overflowing not necessarily
12582 overflowing both real and imaginary parts of result.
12583 * math/s_cexpf.c: Likewise.
12584 * math/s_cexpl.c: Likewise.
12585 * math/libm-test.inc (cexp_test): Add more tests.
12586 * sysdeps/i386/fpu/libm-test-ulps: Update.
12587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12588
81b035fe
L
125892012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12590
12591 * include/link.h (ELFW): New macro.
12592 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12593 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12594
1da7940c
L
125952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12596
12597 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12598 with uint64_t.
12599
b749dbb9
L
126002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12601
12602 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12603 declaration.
12604 (struct La_x32_retval): Likewise.
12605
2ff87f3f
L
126062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12607
12608 * sysdeps/x86_64/preconfigure.in: New file.
12609 * sysdeps/x86_64/preconfigure: New generated file.
12610
c0df8e69
JM
126112012-03-22 Joseph Myers <joseph@codesourcery.com>
12612
48e44791
JM
12613 [BZ #13824]
12614 * math/e_exp2l.c: Include <float.h>.
12615 (__ieee754_exp2l): Handle overflow and underflow cases
12616 separately. Only pass fractional part of argument to
12617 __ieee754_expl.
12618 * math/libm-test.inc (exp2_test): Add more tests.
12619
c0df8e69
JM
12620 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12621 negating x to take absolute value.
12622 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12623 Likewise.
12624 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12625 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12626 Likewise.
12627 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12628 computing low part if x was negated.
12629 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12630
c8e43ba7
L
126312012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12632
12633 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12634 la_x32_gnu_pltexit.
12635 (pltexit): Cast int_retval to ptrdiff_t.
12636 * elf/tst-auditmod3b.c: Likewise.
12637 * elf/tst-auditmod4b.c: Likewise.
12638 * elf/tst-auditmod5b.c: Likewise.
12639 * elf/tst-auditmod6b.c: Likewise.
12640 * elf/tst-auditmod6c.c: Likewise.
12641 * elf/tst-auditmod7b.c: Likewise.
12642
12643 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12644 and x32_gnu_pltexit.
12645
12646 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12647 __ELF_NATIVE_CLASS.
12648 (La_x32_regs): New macro.
12649 (La_x32_retval): Likewise.
12650 (la_x32_gnu_pltenter): New function prototype.
12651 (la_x32_gnu_pltexit): Likewise.
12652
7998fa78
AS
126532012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12654
dcb33988
AS
12655 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12656 exponent.
12657
233fc563
AS
12658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12659
7998fa78
AS
12660 * configure.in (libc_cv_cc_nofma): Check for option to disable
12661 generation of FMA instructions.
12662 * configure: Regenerate.
12663 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12664 * sysdeps/ieee754/dbl-64/Makefile: New file.
12665 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12666 Remove brandred-fma4.
12667 (CFLAGS-brandred-fma4.c): Remove.
12668 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12669 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12670 define.
12671 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12672 define.
12673
8e95c99a
L
126742012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12675
12676 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12677 LLONG_MAX != LONG_MAX.
12678 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12679 (_fitoa_word): Likewise.
12680 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12681 LLONG_MAX != LONG_MAX.
12682 * stdio-common/_itowa.h: Include <_itoa.h>.
12683 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12684 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12685 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12686 only if not defined.
12687 (_ITOA_WORD_TYPE): Likewise.
12688 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12689 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12690
6f4db457
DM
126912012-03-21 David S. Miller <davem@davemloft.net>
12692
12693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12694
7785fe5a
L
126952012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12696
12697 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12698 of x86_64 when setting libc_cv_slibdir, libdir and
12699 libc_cv_localedir.
12700 * sysdeps/unix/sysv/linux/configure: Regenerated.
12701
4535cd55
JM
127022012-03-21 Joseph Myers <joseph@codesourcery.com>
12703
12704 * manual/lang.texi (Old Varargs): Remove section.
12705 (How Variadic): Update menu.
12706 (va_start): Do not mention varargs.h.
12707
17228132
TS
127082012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12709 Joseph Myers <joseph@codesourcery.com>
12710
12711 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12712 link test.
12713 * configure: Regenerated.
12714
8149f976
TS
127152012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12716
05f3d1f6
UD
12717 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12718 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12719 conformtest.pl
8149f976 12720
1a4ac776
JM
127212012-03-21 Joseph Myers <joseph@codesourcery.com>
12722
be22ce65
JM
12723 * NOTES: Remove.
12724 * Makefile (files-for-dist): Remove NOTES.
12725 (NOTES): Remove rule.
12726 * README: Don't refer to NOTES.
12727 * manual/creature.texi: Don't include macros.texi.
12728 * manual/intro.texi (creature.texi): Remove comment referring to
12729 NOTES.
12730
40b601fb
JM
12731 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12732 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12733 * configure: Regenerated.
12734 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12735 LIBC_TRY_CC_OPTION.
12736 (libc_cv_as_i686): Likewise.
12737 (libc_cv_cc_avx): Likewise.
12738 (libc_cv_cc_sse2avx): Likewise.
12739 (libc_cv_cc_fma4): Likewise.
12740 (libc_cv_cc_novzeroupper): Likewise.
12741 * sysdeps/i386/configure: Regenerated.
12742
1a4ac776
JM
12743 [BZ #13883]
12744 * sysdeps/i386/fpu/s_cexp.S: Remove.
12745 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12746 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12747 * math/libm-test.inc (cexp_test): Add more tests.
12748 * sysdeps/i386/fpu/libm-test-ulps: Update.
12749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12750
a458e7fe
AM
127512012-03-21 Allan McRae <allan@archlinux.org>
12752
12753 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12754
0cb7efc5
JM
127552012-03-21 Joseph Myers <joseph@codesourcery.com>
12756
12757 [BZ #13871]
12758 * math/w_exp2.c: Do not include <float.h>.
12759 (o_threshold, u_threshold): Remove.
12760 (__exp2): Calculate result before checking finiteness and calling
12761 __kernel_standard.
12762 * math/w_exp2f.c: Likewise.
12763 * math/w_exp2l.c: Likewise.
12764 * math/libm-test.inc (exp2_test): Require overflow exception for
12765 1e6 input.
2460d3aa
JM
12766
12767 [BZ #3866]
12768 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12769 range of signed 64-bit integers before using fistpll. Remove
12770 checks for whether integers fit in mantissa bits.
12771 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12772 the range of signed 32-bit integers before using fistpl. Remove
12773 checks for whether integers fit in mantissa bits.
12774 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12775 (__ieee754_powl): Test for y outside the range of signed 64-bit
12776 integers before using fistpll. Reduce 64-bit values to 63-bit
12777 ones as needed.
12778 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12779 divide-by-zero is raised for zero to large negative powers.
12780 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12781 (__ieee754_powl): Test for y outside the range of signed 64-bit
12782 integers before using fistpll. Reduce 64-bit values to 63-bit
12783 ones as needed.
12784 * math/libm-test.inc (pow_test): Add more tests.
12785
eb96ffb0
L
127862012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12787
12788 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12789 <stdio-common/_itoa.h>.
12790 * debug/segfault.c: Likewise.
12791 * elf/dl-cache.c: Likewise.
12792 * elf/dl-minimal.c: Likewise.
12793 * elf/dl-misc.c: Likewise.
12794 * elf/dl-sysdep.c: Likewise.
12795 * elf/dl-version.c: Likewise.
12796 * elf/rtld.c: Likewise.
12797 * hurd/hurdsock.c: Likewise.
12798 * hurd/lookup-retry.c: Likewise.
12799 * malloc/malloc.c: Likewise.
12800 * malloc/mtrace.c: Likewise.
12801 * nscd/nscd_getgr_r.c: Likewise.
12802 * nscd/nscd_getpw_r.c: Likewise.
12803 * nscd/nscd_getserv_r.c: Likewise.
12804 * posix/getopt_init.c: Likewise.
12805 * posix/wordexp.c: Likewise.
12806 * stdio-common/_itoa.c: Likewise.
12807 * stdio-common/printf_fphex.c: Likewise.
12808 * stdio-common/vfprintf.c: Likewise.
12809 * string/_strerror.c: Likewise.
12810 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12811 * sysdeps/i386/i686/hp-timing.h: Likewise.
12812 * sysdeps/mach/_strerror.c: Likewise.
12813 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12814 * sysdeps/mach/hurd/sethostid.c: Likewise.
12815 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12816 * sysdeps/mach/xpg-strerror.c: Likewise.
12817 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12818 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12819 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12820 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12821 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12822 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12823 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12824 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12825 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12826 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12827 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12828 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12829 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12830 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12831 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12832 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12833 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12834 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12835 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12836 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12837 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12838
12839 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12840
12841 * stdio-common/_itoa.h: Moved to ...
12842 * sysdeps/generic/_itoa.h: Here.
12843
12844 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12845
12846 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12847 instead of "_itoa.h" and "_itowa.h".
12848 * stdio-common/vfprintf.: Likewise.
12849
d1af992d
L
128502012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12851
12852 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12853 <bits/wordsize.h>.
12854 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12855 (__signbit): Likwise.
12856 (llrintf): Likwise.
12857 (llrint): Likwise.
12858
114883e0
L
128592012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12860
12861 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12862 __WORDSIZE != 64.
12863
c135cc1b
JM
128642012-03-20 Joseph Myers <joseph@codesourcery.com>
12865
12866 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12867 OVERFLOW_EXCEPTION_OK.
12868 * math/libm-test.inc ("Philosophy"): Update comment about
12869 exception testing.
12870 (OVERFLOW_EXCEPTION): Define.
12871 (OVERFLOW_EXCEPTION_OK): Likewise.
12872 (INVALID_EXCEPTION_OK): Renumber.
12873 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12874 (IGNORE_ZERO_INF_SIGN): Likewise.
12875 (test_exceptions): Handle FE_OVERFLOW.
12876 (exp10_test): Expect overflow exceptions.
12877 (exp2_test): Likewise.
12878 (expm1_test): Likewise.
12879 (nextafter_test): Likewise.
12880 (pow_test): Likewise.
12881 (scalbn_test): Likewise.
12882 (scalbln_test): Likewise.
12883
95443d88
L
128842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12885
12886 * sysdeps/x86_64/bits/atomic.h
12887 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12888 64bit integer.
12889 (atomic_exchange_acq): Likewise.
12890 (__arch_exchange_and_add_body): Likewise.
12891 (__arch_add_body): Likewise.
12892 (atomic_add_negative): Likewise.
12893 (atomic_add_zero): Likewise.
12894
490df6c4
L
128952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12896
c2722551 12897 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
12898 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12899
5e52b189
L
129002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12901
12902 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12903 Check __x86_64__ instead of __WORDSIZE.
12904
a9879d4c
L
129052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12906
12907 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12908
5df98260
DM
129092012-03-19 David S. Miller <davem@davemloft.net>
12910
e1497744
DM
12911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12912
5df98260
DM
12913 * sysdeps/sparc/fpu/fenv_private.h: New file.
12914 * sysdeps/sparc/fpu/math_private.h: Use it.
12915 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12916 Remove.
12917 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12918 (libc_feholdexcept_setroundl): Remove.
12919 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12920 Remove.
12921 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12922 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12923
b4c35121
L
129242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12925
12926 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12927 int64_t instead of long int.
12928 (INSERT_WORDS64): Likwise.
12929
56965fd7
L
129302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12931
12932 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12933 _Unwind_GetCFA return to _Unwind_Ptr first.
12934
83d1aec8
JM
129352012-03-19 Joseph Myers <joseph@codesourcery.com>
12936
1897ad44
JM
12937 [BZ #13629]
12938 * math/s_clog.c: Include <float.h>.
12939 (__clog): Scale large or subnormal inputs.
12940 * math/s_clogf.c: Likewise.
12941 * math/s_clogl.c: Likewise.
12942 * math/s_clog10.c: Include <float.h>.
12943 (M_LOG10_2): Define.
12944 (__clog10): Scale large or subnormal inputs.
12945 * math/s_clog10f.c: Likewise.
12946 * math/s_clog10l.c: Likewise.
12947 * math/libm-test.inc (clog_test): Add more tests.
12948 (clog10_test): Likewise.
12949 * sysdeps/i386/fpu/libm-test-ulps: Update.
12950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12951
7726d6a9
JM
12952 [BZ #11451]
12953 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12954 x and y.
12955 * math/libm-test.inc (atan2_test): Add another test.
12956
83d1aec8
JM
12957 * Makerules (common-objdir-compile): Remove.
12958 * sysdeps/unix/Makefile (config-generated): Do not add
12959 $(unix-generated) to variable.
12960 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12961 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12962 Remove rule.
12963 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12964 Likewise.
12965 [generic bits/local_lim.h] (before-compile): Do not append to
12966 variable.
12967 [generic bits/local_lim.h] (common-generated): Likewise.
12968 [generic sys/param.h] (before-compile): Do not append to variable.
12969 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12970 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12971 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12972 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12973 include.
12974 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12975 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12976 [generic sys/param.h] ($(addprefix
12977 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12978 [generic sys/param.h] (common-generated): Do not append to
12979 variable.
12980 [generic sys/param.h] (sysdep_headers): Likewise.
12981 [generic bits/errno.h] (before-compile): Do not append to
12982 variable.
12983 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12984 rule.
12985 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12986 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12987 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12988 [generic bits/errno.h] (common-generated): Do not append to
12989 variable.
12990 [generic bits/ioctls.h] (before-compile): Do not append to
12991 variable.
12992 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12993 rule.
12994 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12995 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12996 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12997 rule.
12998 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12999 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13000 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13001 [generic bits/ioctls.h] (common-generated): Do not append to
13002 variable.
13003 [generic sys/syscall.h] (syscall.h): Remove variable.
13004 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13005 rule.
13006 [generic sys/syscall.h] (before-compile): Do not append to
13007 variable.
13008 [generic sys/syscall.h] (common-generated): Likewise.
13009 * sysdeps/unix/errnos-tmpl.c: Remove file.
13010 * sysdeps/unix/errnos.awk: Likewise.
13011 * sysdeps/unix/ioctls-tmpl.c: Likewise.
13012 * sysdeps/unix/ioctls.awk: Likewise.
13013 * sysdeps/unix/mk-local_lim.c: Likewise.
13014 * sysdeps/unix/snarf-ioctls: Likewise.
13015
4851a949
RH
130162012-03-19 Richard Henderson <rth@twiddle.net>
13017
bd37f2ee
RH
13018 * sysdeps/i386/fpu/fenv_private.h: New file.
13019 * sysdeps/i386/fpu/math_private.h: Use it.
13020 (math_opt_barrier, math_force_eval): Remove.
13021 (libc_feholdexcept_setround_53bit): Remove.
13022 (libc_feupdateenv_53bit): Remove.
13023 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13024 (math_opt_barrier, math_force_eval): Remove.
13025 (libc_feholdexcept): Remove.
13026 (libc_feholdexcept_setround): Remove.
13027 (libc_fetestexcept, libc_fesetenv): Remove.
13028 (libc_feupdateenv_test): Remove.
13029 (libc_feupdateenv, libc_feholdsetround): Remove.
13030 (libc_feresetround): Remove.
13031
d0adc922
RH
13032 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13033 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13034
0fe0f1f8
RH
13035 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13036 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13037 (libc_feupdateenv_testl): New.
13038 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13039 (libc_feupdateenv_testf): New.
13040 (libc_feupdateenv): Use libc_feupdateenv_test.
13041 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13042 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13043
eb92c487
RH
13044 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13045 (libc_feholdsetroundf, libc_feholdsetroundl): New.
13046 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13047 (libc_feresetround_noex): New.
13048 (libc_feresetround_noexf): New.
13049 (libc_feresetround_noexl): New.
13050 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13051 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13052 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13053 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13054 SET_RESTORE_ROUND.
13055 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13056 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13057 (__cos): Likewise.
13058 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13059 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13060 SET_RESTORE_ROUND_NOEX.
13061 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13062 SET_RESTORE_ROUND_NOEXF.
13063 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13064 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13065 (libc_feholdsetroundf): New.
13066 (libc_feresetround, libc_feresetroundf): New.
13067
7d2e8012
RH
13068 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13069 (libc_feholdexcept_setround_53bit): Convert from macro to function.
13070 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
13071
b4dabbb4
RH
13072 * sysdeps/generic/math_private.h: Include <fenv.h>.
13073 (default_libc_feholdexcept): New.
13074 (default_libc_feholdexcept_setround): New.
13075 (default_libc_fesetenv, default_libc_feupdateenv): New.
13076 (libc_feholdexcept): Only define if undefined.
13077 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13078 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13079 (libc_feholdexcept_setroundl): Likewise.
13080 (libc_feholdexcept_setround_53bit): Likewise.
13081 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13082 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13083 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13084 (libc_feupdateenv_53bit): Likewise.
13085 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13086 (libc_feholdexcept): Convert from macro to inline function.
13087 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13088 (libc_fesetenv, libc_feupdateenv): Likewise.
13089
4851a949
RH
13090 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13091 not previously defined.
13092 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13093 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13094 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13095 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13096 * sysdeps/ieee754/flt-32/math_private.h: New file.
13097 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13098 math_private.h below SET_FLOAT_WORD.
13099 (__isnan, __isinf_ns, __finite): Remove.
13100 (__isnanf, __isinf_nsf, __finitef): Remove.
13101
e79d442e
AS
131022012-03-18 Andreas Schwab <schwab@linux-m68k.org>
13103
13104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13105
90b80344
DM
131062012-03-17 David S. Miller <davem@davemloft.net>
13107
13108 [BZ #6471]
13109 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13110 for 2.16.
13111
edc21804
DM
131122012-03-16 David S. Miller <davem@davemloft.net>
13113
77e927af
DM
13114 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13115 warnings.
13116
374976dd
DM
13117 [BZ #6471]
13118 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13119 properly.
13120 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13121 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13122 sysdep_routines when subdir is sysvipc.
13123 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13124 __getshmlba helper.
13125
edc21804
DM
13126 * sysdeps/sparc/fpu/libm-test/ulps: Update.
13127
473c3ef3
L
131282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13129
13130 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13131 [__LP64__].
13132
eb0f39b6
L
131332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13134
13135 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13136 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13137 (__lround): Renamed to ...
13138 (__llround): This. Replace long int with long long int.
13139 Define lround functions as aliases of llround functions.
13140 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13141
6b6cd74b
L
131422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13143
13144 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13145 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13146 adresses to uintptr_t. Replace "long int" and "unsigned long
13147 int" with "greg_t" on va_arg.
13148
f1a77b01
L
131492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13150
13151 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13152 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13153
13154 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13155 Move e_machine check before EI_CLASS check. Handle x32
13156 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13157 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13158 SKIP_EM_IA_64 and include
13159 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13160
13161 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13162 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13163 (add_system_dir): New macro.
13164
13165 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13166 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13167
11b90b9f
JM
131682012-03-16 Joseph Myers <joseph@codesourcery.com>
13169
c36e1d23
JM
13170 [BZ #2551]
13171 [BZ #2552]
13172 [BZ #2553]
13173 [BZ #2554]
13174 [BZ #2562]
13175 [BZ #2563]
13176 [BZ #2565]
13177 [BZ #2566]
13178 [BZ #2576]
13179 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13180 (y0): Likewise.
13181 * math/w_j0f.c (j0f): Likewise.
13182 (y0f): Likewise.
13183 * math/w_j0l.c (__j0l): Likewise.
13184 (__y0l): Likewise.
13185 * math/w_j1.c (j1): Likewise.
13186 (y1): Likewise.
13187 * math/w_j1f.c (j1f): Likewise.
13188 (y1f): Likewise.
13189 * math/w_j1l.c (__j1l): Likewise.
13190 (__y1l): Likewise.
13191 * math/w_jn.c (jn): Likewise.
13192 (yn): Likewise.
13193 * math/w_jnf.c (jnf): Likewise.
13194 (ynf): Likewise.
13195 * math/w_jnl.c (__jnl): Likewise.
13196 (__ynl): Likewise.
13197 * math/libm-test.inc (j0_test): Add more tests.
13198 (j1_test): Likewise.
13199 (jn_test): Likewise. Add trailing semicolon to existing test.
13200 (y0_test): Likewise.
13201 (y1_test): Likewise.
13202 * sysdeps/i386/fpu/libm-test-ulps: Update.
13203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13204
11b90b9f
JM
13205 [BZ #13851]
13206 [BZ #13854]
13207 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13208 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13209 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13210 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13211 (__tanl): Set errno for infinite argument.
13212 * sysdeps/i386/fpu/mptan.c: Remove.
13213 * sysdeps/i386/fpu/s_tan.S: Likewise.
13214 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13215 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13216 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13217 * math/libm-test.inc (tan_test): Add more tests and enable more
13218 tests for double and long double.
13219 * sysdeps/i386/fpu/libm-test-ulps: Update.
13220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13221
6a1bd2a1
JK
132222012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13223
13224 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13225 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13226
10a803e0
RM
132272012-03-16 Roland McGrath <roland@hack.frob.com>
13228
13229 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13230 * configure.in: Use it for both main tree and add-ons.
13231 * configure: Regenerated.
13232
f196c7f7
L
132332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13234
13235 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13236
8848d99d
JM
132372012-03-16 Joseph Myers <joseph@codesourcery.com>
13238
96cbe7f4
JM
13239 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13240 in comment.
13241
8848d99d
JM
13242 [BZ #13851]
13243 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13244 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13245 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13246 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13247 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13248 infinite argument.
13249 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13250 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13251 != 0 for prec == 2.
13252 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13253 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13254 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13255 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13256 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13257 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13258 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13259 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13260 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13261 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13262 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13263 * math/libm-test.inc (cos_test): Add more tests and enable more
13264 tests for long double.
13265 (sin_test): Likewise.
13266 (sincos_test): Likewise.
13267 * sysdeps/i386/fpu/libm-test-ulps: Update.
13268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13269
dd7f4703
DM
132702012-03-16 David S. Miller <davem@davemloft.net>
13271
13272 * sysdeps/sparc/fpu/math_private.h: New file.
13273
006f1daa
DM
132742012-03-15 David S. Miller <davem@davemloft.net>
13275
c0c83bc8
DM
13276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13277 file.
e6a62e18 13278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
13279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13280 file.
e6a62e18
DM
13281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13282 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13283 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13284 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13285 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13286 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13287 sysdep routines.
13288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13289
88cb87d9
DM
13290 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13291 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13292
006f1daa 13293 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
13294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13295 sparc-ifunc.h
006f1daa 13296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
13297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13298 Likewise.
13299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13300 Likewise.
006f1daa
DM
13301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
13304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13305 Likewise.
006f1daa
DM
13306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
13310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13311 Likewise.
13312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13313 Likewise.
006f1daa
DM
13314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13318 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13319 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13320 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13321 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13322 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13323 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13324 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13325 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13326 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13327 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13328 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13329 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13330 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13331 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13332 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13333 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13334 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13335 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13336 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13337 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13338
11e0098e
AS
133392012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13340
13341 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13342 scaling.
13343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13344
e85b09d0
AJ
133452012-03-15 Andreas Jaeger <aj@suse.de>
13346
13347 [BZ #13852]
13348 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13349 ieee754/flt-32 implementation for sin, cos and sincos.
13350 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13351 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13352 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13353 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13354 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13355 ieee754/flt-32 implementation for tan.
13356
13357 * math/libm-test.inc (cos_test): Enable some large input tests for
13358 float as well
13359 (sin_test): Likewise.
13360 (sincos_test): Likewise.
13361 (tan_test): Add tests for large input.
13362
13363 * sysdeps/i386/fpu/libm-test-ulps: Update.
13364
81c64153
AJ
133652012-03-15 Andreas Jaeger <aj@suse.de>
13366
13367 [BZ #13658]
13368 * math/libm-test.inc (cos_test): Add more test cases.
13369 (sin_test): Likewise.
13370 (sincos_test): Likewise.
13371
7bbfa5c6
AJ
133722012-03-15 Andreas Jaeger <aj@suse.de>
13373
13374 [BZ #13837]
13375 * math/libm-test.inc (cos_test): Add a test case for large input
13376 value.
13377 (sin_test): Likewise.
13378 (sincos_test): Likewise.
13379
133802012-03-15 Andreas Jaeger <aj@suse.de>,
13381 Joseph Myers <joseph@codesourcery.com>
13382
13383 [BZ #13658]
0671f479 13384 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
13385 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13386 * sysdeps/i386/fpu/branred.c: Likewise.
13387 * sysdeps/i386/fpu/dosincos.c: Likewise.
13388 * sysdeps/i386/fpu/mpa.c: Likewise.
13389 * sysdeps/i386/fpu/s_cos.S: Likewise.
13390 * sysdeps/i386/fpu/s_sin.S: Likewise.
13391 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13392 * sysdeps/i386/fpu/sincos32.c: Likewise.
13393
13394 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13395 Define.
13396 (libc_feupdateenv_53bit): Define.
13397 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13398 Define.
13399 (libc_feupdateenv_53bit): Define.
13400
13401 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13402 53 bit (without extend i386 double precision).
13403
13404 * math/libm-test.inc (sincos_test): Add tests for large input.
13405 (sin): Likewise.
13406 (cos): Likewise.
13407
13408 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13409
9cad04ea
AS
134102012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13411
13412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13413
f7062b9a
DM
134142012-03-15 David S. Miller <davem@davemloft.net>
13415
13416 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13417 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13418 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13419 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13424 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13425 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13426 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13427 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13428 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13429 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
13431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13432 file.
f7062b9a 13433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
13434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13435 file.
f7062b9a 13436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
13437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13438 file.
f7062b9a 13439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
13440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13441 file.
f7062b9a
DM
13442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13443 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13444 fmin/fmax sysdep routines.
13445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13446
7bd951ff
DM
134472012-03-14 David S. Miller <davem@davemloft.net>
13448
559398ab
DM
13449 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13450 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13451 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13452 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13453 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13454 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13455 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13456 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13457 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13458 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13459 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13460 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13461 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13462 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13463 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13464 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13465 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13466 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13467 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13468 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13469 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13470 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13471 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13472 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13473 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13474 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13475 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13476 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13477 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13478 routines.
13479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13480 file.
559398ab 13481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
13482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13483 file.
559398ab 13484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
13485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13486 file.
559398ab 13487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
13488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13489 file.
559398ab 13490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
13491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13492 file.
559398ab 13493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
13494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13495 file.
13496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13497 file.
13498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13499 file.
13500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13501 file.
13502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13503 New file.
13504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13505 file.
13506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13507 file.
559398ab 13508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
13509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13510 file.
559398ab 13511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13513 file.
559398ab 13514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
13515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13516 file.
559398ab 13517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
13518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13519 VIS3 routines.
559398ab
DM
13520
13521 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13522 New file.
13523
5a1c1e32
DM
13524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13525
eae47a36
DM
13526 * sysdeps/sparc/configure.in: New file.
13527 * sysdeps/sparc/configure: Generate.
13528 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13529 * configure: Regenerate.
13530 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13531 * config.make.in (have-as-vis3): New.
13532 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13533 available use -Av9d instead of -Av9a.
13534 * sysdeps/sparc/sparc64/Makefile: Likewise.
13535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
13536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13537 New file.
13538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13539 file.
13540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13541 New file.
13542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13543 file.
eae47a36
DM
13544 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13545 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13546 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13547 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13548 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13549
c0c83bc8
DM
13550 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13551 fzeros/fnegs to load 0x80000000 into a float register instead of
13552 using the stack.
7bd951ff
DM
13553 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13554
bd951ccb
JM
135552012-03-14 Joseph Myers <joseph@codesourcery.com>
13556
13557 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13558 bits/syscall.h.
13559 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13560 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13561 ($(inst_includedir)/bits/syscall.h): Remove rule.
13562 ($(objpfx)bits/syscall.d): Include instead of
13563 $(objpfx)syscall-list.d.
13564 (generated): Change syscall-list.h and syscall-list.d to
13565 bits/syscall.h and bits/syscall.d.
13566
bb4e6db2
RM
135672012-03-14 Roland McGrath <roland@hack.frob.com>
13568
13569 [BZ #13846]
13570 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13571
aa4a2ae1
JM
135722012-03-14 Joseph Myers <joseph@codesourcery.com>
13573
e456826d
JM
13574 [BZ #13841]
13575 * math/s_csqrt.c: Include <float.h>.
13576 (__csqrt): Scale large or subnormal inputs.
13577 * math/s_csqrtf.c: Likewise.
13578 * math/s_csqrtl.c: Likewise.
13579 * math/libm-test.inc (csqrt_test): Add more tests.
13580 * sysdeps/i386/fpu/libm-test-ulps: Update.
13581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13582
aa4a2ae1
JM
13583 [BZ #13840]
13584 * math/libm-test.inc (hypot_test): Add more tests.
13585
7c10fd35
DM
135862012-03-13 David S. Miller <davem@davemloft.net>
13587
13588 [BZ #13840]
13589 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13590 double-precision for the calculation instead of scaling.
13591
f453b98b
JM
135922012-03-13 Joseph Myers <joseph@codesourcery.com>
13593
13594 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13595 manipulate bits before adding and subtracting TWO52[sx].
13596 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13597 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13598 Likewise.
13599 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13600
09a3453f
DM
136012012-03-13 David S. Miller <davem@davemloft.net>
13602
8e59da90
DM
13603 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13604 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13605 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13606 rtld-global-offsets.h
13607 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13608
2a8ab7f2
DM
13609 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13610 large parameters.
13611
10f62770
DM
13612 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13613
5f0bdb18
DM
13614 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13615 'err' in the ifdef scope in which it is actually used.
13616
09a3453f
DM
13617 * nss/nss_db/db-init.c: Include string.h
13618
b4b2eb5e
DM
136192012-03-12 David S. Miller <davem@davemloft.net>
13620
98bb2f1c
DM
13621 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13622 masking out of the most significant byte of random value used.
13623 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13624 Fix coding style in previous change.
13625
b4b2eb5e
DM
13626 * sysdeps/unix/sysv/linux/kernel-features.h
13627 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13628 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13629 expression.
13630 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13631 later.
13632
6e226b09
DM
136332012-03-11 David S. Miller <davem@davemloft.net>
13634
a1bcbd40
DM
13635 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13636 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13637 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13638 for 'resultvar' otherwise things get truncated on 64-bit.
13639
cb9d6174
DM
13640 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13641 Fix masking out of the most significant byte of random value used.
13642
6e226b09
DM
13643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13644
058c132d
AS
136452012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13646
13647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13648
2d2cd515
DM
136492012-03-09 David S. Miller <davem@davemloft.net>
13650
13651 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13652 variables with appropriate CPP guards.
13653 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13654 frame pointer, not the stack pointer. Correct layout comments. Fix test
13655 on resulting framesize and the management of the outregs buffer for pltexit.
13656 Preserve floating point return values across _dl_call_pltexit call.
13657 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13658 framesize and the management of the outregs buffer for pltexit.
13659 Preserve floating point return values across _dl_call_pltexit
13660 call.
13661 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13662 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13663 (print_exit): Fix format string for return register value.
13664
9a07f9d0
JM
136652012-03-10 Joseph Myers <joseph@codesourcery.com>
13666
13667 * sunrpc/Makefile (others): Add rpcgen.
13668 ($(objpfx)rpcgen): Remove special build rule and dependency on
13669 libc.
13670 * sunrpc/rpcgen.c: New file.
13671
547b5e30
PE
136722012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13673
c524201a
PE
13674 [BZ #13673]
13675 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13676 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13677 * sysdeps/i386/crti.S: Likewise.
13678 * sysdeps/i386/crtn.S: Likewise.
13679 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13680 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13681 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13682 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13683 * sysdeps/sh/crti.S: Likewise.
13684 * sysdeps/sh/crtn.S: Likewise.
13685 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13686
7b6235f2
PE
13687 [BZ #13673]
13688 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13689 with URL.
13690 * locale/programs/locfile-kw.gperf: Likewise.
13691 * locale/programs/charmap-kw.h: Regenerated.
13692 * locale/programs/locfile-kw.h: Likewise.
13693
547b5e30
PE
13694 [BZ #13673]
13695 * intl/plural.y: Replace FSF snail mail address with URL.
13696 * intl/plural.c: Regenerated.
13697
5f0a5dae
RH
136982012-03-09 Richard Henderson <rth@twiddle.net>
13699
13700 * include/math_private.h: Remove file.
13701 * math/math_private.h: Move file ...
13702 * sysdeps/generic/math_private.h: ... here.
13703
b8c03620
RH
13704 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13705 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13706 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13707
4e234f5d 13708 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
13709 and <math_private.h>.
13710 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13711 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13712 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13713 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13714 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13715 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13716 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13717 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13718 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13719 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13720 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13721 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13722 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13723 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13724 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13725 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13726 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13727 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13728 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13729 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13730 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13731 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13732 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13733 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13734 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13735 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13736 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13737 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13738 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13739 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13740 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13741 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13742 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13743 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13744 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13745 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13746 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13747 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13748 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13749 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13750 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13751 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13752 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13753 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13754 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13755 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13756 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13757 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13758 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13759 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13760 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13761 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13762 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13763 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13764 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13765 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13766 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13767 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13768 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13769 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13770 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13771 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13772 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13773 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13774 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13775 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13776 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13777 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13778 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13779 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13780 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13781 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13782 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13783 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13784 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13785 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13786 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13787 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13788 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13789 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13790 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13791 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13792 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13793 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13794 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13795 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13796 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13797 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13798 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13799 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13800 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13801 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13802 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13803 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13804 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13805 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13806 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13807 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13808 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13809 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13810 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13811 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13812 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13813 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13814 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13815 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13816 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13817 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13818 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13819 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13820 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13821 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13822 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13823 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13824 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13825 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13826 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13827 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13828 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13829 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13830 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13831 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13832 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13833 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13834 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13835 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13836 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13837 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13838 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13839 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13840 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13841 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13842 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13843 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13844 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13845 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13846 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13847 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13848 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13849 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13850 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13851 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13852 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13853 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13854 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13855 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13856 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13857 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13858 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13859 * sysdeps/ieee754/k_standard.c: Likewise.
13860 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13861 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13862 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13863 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13864 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13865 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13866 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13867 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13868 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13869 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13870 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13871 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13872 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13873 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13874 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13875 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13876 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13877 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13878 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13879 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13880 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13881 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13882 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13883 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13884 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13885 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13886 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13887 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13888 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13889 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13890 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13891 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13892 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13893 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13894 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13895 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13896 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13897 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13898 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13899 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13900 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13901 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13902 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13903 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13904 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13905 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13906 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13907 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13908 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13909 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13910 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13911 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13912 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13913 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13914 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13915 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13916 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13917 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13918 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13919 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13920 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13921 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13922 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13923 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13924 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13925 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13926 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13927 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13928 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13929 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13930 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13931 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13932 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13933 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13934 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13935 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13936 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13937 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13938 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13939 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13940 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13941 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13942 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13943 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13944 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13945 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13946 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13947 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13948 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13949 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13950 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13951 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13952 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13953 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13954 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13955 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13956 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13957 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13958 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13959 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13960 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13961 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13962 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13963 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13964 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13965 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13966 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13967 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13968 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13969 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13970 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13971 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13972 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13973 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13974 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13975 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13976 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13977 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13978 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13979 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13980 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13981 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13982 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13983 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13984 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13985 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13986 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13987 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13988 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13989 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13990 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13991 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13992 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13993 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13994 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13995 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13996 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13997 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13998 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13999 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14000 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14001 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14002 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14003 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14004 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14005 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14006 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14007 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14008 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14009 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14010 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14011 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14012 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14013 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14014 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14015 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14016 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14017 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14018 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14019 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14020 * sysdeps/ieee754/s_lib_version.c: Likewise.
14021 * sysdeps/ieee754/s_matherr.c: Likewise.
14022 * sysdeps/ieee754/s_signgam.c: Likewise.
14023 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14024 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14025 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14026 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14027 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14028 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14029 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14030 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14031 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14032 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14033 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14034 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14035 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14036 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14037 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14038 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14039 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14040 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14041 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14042 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14043 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 14044
1991fa03
JM
140452012-03-09 Joseph Myers <joseph@codesourcery.com>
14046
14047 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14048 * sunrpc/rpc_main.c: Likewise.
14049 * sunrpc/rpc_svcout.c: Likewise.
14050
60d6f5a6
DM
140512012-03-09 David S. Miller <davem@davemloft.net>
14052
14053 * include/math_private.h: New file.
14054
4962050e
JM
140552012-03-09 Joseph Myers <joseph@codesourcery.com>
14056
02a6f887
JM
14057 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14058 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14059 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14060 from <bits/socket_type.h>.
14061 (enum __socket_type): Don't define here.
14062 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14063 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14064 bits/socket_type.h.
14065
c6e013c1
JM
14066 [BZ #13566]
14067 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14068 checking __USE_GNU.
14069
4962050e
JM
14070 * Makerules ($(inst_includedir)/%.h): New rule.
14071 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14072 (install-others): Remove variable setting.
14073 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14074
38842f45
RH
140752012-03-08 Richard Henderson <rth@twiddle.net>
14076
67bb6da6
RH
14077 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14078 from macro to inline function; merge with the
14079 !__LIBC_INTERNAL_MATH_INLINES version.
14080 (__ieee754_sqrtf): Likewise.
14081
15194b4b
RH
14082 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14083 to inline function.
14084 (__rintf, __floor, __floorf): Likewise.
14085
64e21ede
RH
14086 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14087 macro to inline function.
14088 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14089
38842f45
RH
14090 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14091 not <math/math_private.h>.
14092
c64bf5fe
DM
140932012-03-08 David S. Miller <davem@davemloft.net>
14094
14095 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14096 copyright year.
14097 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14098
82d86f28
TS
140992012-03-08 Thomas Schwinge <thomas@codesourcery.com>
14100
14101 * resolv/gai_misc.c (handle_requests): Fix struct timespec
14102 normalization.
14103 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14104 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14105
aea5d727
UD
141062012-03-08 Ulrich Drepper <drepper@gmail.com>
14107
14108 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
14109 be defined individually, they must be defined as a block. Define
14110 S for printing a string instead of hidint the different by using a
14111 macro for adding the 'l'.
14112 * stdio-common/tst-fphex-wide.c: Adjust.
14113
70bca0a3
MP
141142012-03-07 Marek Polacek <polacek@redhat.com>
14115
14116 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14117
65b81130
MP
141182012-03-08 Marek Polacek <polacek@redhat.com>
14119
14120 [BZ #13806]
14121 * stdio-common/Makefile (tests): Add tst-fphex-wide.
14122 * stdio-common/tst-fphex.c: Define a few macros to make the
14123 test reusable. Use them.
14124 * stdio-common/tst-fphex-wide.c: New file.
14125
07037eeb
JM
141262012-03-08 Joseph Myers <joseph@codesourcery.com>
14127
a7a93d50
JM
14128 [BZ #6911]
14129 * manual/macros.texi (gnusystems): New macro.
14130 (nongnusystems): Likewise.
14131 (gnulinuxhurdsystems): Likewise.
14132 (gnuhurdsystems): Likewise..
14133 (gnulinuxsystems): Likewise.
14134 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14135 variants of the GNU system, not "GNU system".
14136 * manual/conf.texi: Likewise.
14137 * manual/errno.texi: Likewise. Update example of errno macro
14138 expansion.
14139 * manual/filesys.texi: Likewise.
14140 (getumask): Document as specific to GNU/Hurd.
14141 * manual/install.texi: Likewise. Reword some references to
14142 GNU/Linux.
14143 * manual/intro.texi: Likewise.
14144 * manual/io.texi: Likewise.
14145 (File Name Portability): Detail which constraints are inapplicable
14146 to all GNU systems and which are only inapplicable to GNU/Hurd.
14147 * manual/job.texi: Likewise.
14148 * manual/llio.texi: Likewise.
14149 (O_NOCTTY): Document as present on GNU/Linux.
14150 * manual/maint.texi: Likewise.
14151 * manual/memory.texi: Likewise.
14152 * manual/pattern.texi: Likewise.
14153 * manual/pipe.texi: Likewise.
14154 * manual/process.texi: Likewise.
14155 * manual/resource.texi: Likewise.
14156 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14157 child on GNU/Hurd.
14158 * manual/setjmp.texi: Likewise.
14159 * manual/signal.texi: Likewise.
14160 * manual/startup.texi: Likewise.
14161 * manual/stdio.texi: Likewise.
14162 * manual/terminal.texi: Likewise.
14163 (ONLCR): Document as POSIX.
14164 (OXTABS): Document availability on GNU/Linux as XTABS.
14165 (ONOEOT): Document availability separately from other bits.
14166 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14167 * manual/time.texi: Likewise.
14168 * manual/users.texi: Likewise.
14169 * INSTALL: Regenerated.
14170 * sysdeps/gnu/errlist.c: Regenerated.
14171
07037eeb
JM
14172 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14173 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14174 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14175 puts.
14176 * configure: Regenerated.
14177
d1d3431a
JM
141782012-03-07 Joseph Myers <joseph@codesourcery.com>
14179
af6a1e37
JM
14180 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14181 default includes instead of AC_HEADER_CHECK.
14182 * sysdeps/i386/configure: Regenerated.
14183
d1d3431a
JM
14184 [BZ #10716]
14185 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14186 * math/s_cacoshf.c (__cacoshf): Likewise.
14187 * math/s_cacoshl.c (__cacoshl): Likewise.
14188 * math/s_casinh.c (__casinh): Set signs of result from argument.
14189 * math/s_casinhf.c (__casinhf): Likewise.
14190 * math/s_casinhl.c (__casinhl): Likewise.
14191 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14192 (casinh_test): Add more tests.
14193 * sysdeps/i386/fpu/libm-test-ulps: Update.
14194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14195
482ff4da
UD
141962012-03-07 Ulrich Drepper <drepper@gmail.com>
14197
872fda05
UD
14198 * po/zh_TW.po: Update from translation team.
14199
a4300c7a
UD
14200 * login/Makefile (distribute): Remove variable.
14201 * catgets/Makefile: Likewise.
14202 * mach/Makefile: Likewise.
14203 * malloc/Makefile: Likewise.
14204 * misc/Makefile: Likewise.
14205 * iconv/Makefile: Likewise.
14206 * nscd/Makefile: Likewise.
14207 * hurd/Makefile: Likewise.
14208 * manual/Makefile: Likewise.
14209 * locale/Makefile: Likewise.
14210 * intl/Makefile: Likewise.
14211 * conform/Makefile: Likewise.
14212 * nss/Makefile: Likewise.
14213 * time/Makefile: Likewise.
14214 * soft-fp/Makefile: Likewise.
14215 * dirent/Makefile: Likewise.
14216 * gmon/Makefile: Likewise.
14217 * po/Makefile: Likewise.
14218 * rt/Makefile: Likewise.
14219 * socket/Makefile: Likewise.
14220 * math/Makefile: Likewise.
14221 * signal/Makefile: Likewise.
14222 * debug/Makefile: Likewise.
14223 * elf/Makefile: Likewise.
14224 * timezone/Makefile: Likewise.
14225 * stdlib/Makefile: Likewise.
14226 * iconvdata/Makefile: Likewise.
14227 * sunrpc/Makefile: Likewise.
14228 * io/Makefile: Likewise.
14229 * argp/Makefile: Likewise.
14230 * inet/Makefile: Likewise.
14231 * hesiod/Makefile: Likewise.
14232 * grp/Makefile: Likewise.
14233 * csu/Makefile: Likewise.
14234 * wctype/Makefile: Likewise.
14235 * crypt/Makefile: Likewise.
14236 * libio/Makefile: Likewise.
14237 * string/Makefile: Likewise.
14238 * nis/Makefile: Likewise.
14239 * resolv/Makefile: Likewise.
14240 * stdio-common/Makefile: Likewise.
14241 * wcsmbs/Makefile: Likewise.
14242 * dlfcn/Makefile: Likewise.
14243 * posix/Makefile: Likewise.
14244
3b7c4e74 14245 [BZ #6959]
482ff4da
UD
14246 * timezone/Makefile: Don't install timezone files, just the programs
14247 and scripts.
14248
f72ed77d
UD
142492012-03-06 Ulrich Drepper <drepper@gmail.com>
14250
a000466f
UD
14251 * nss/databases.def: Add missing gshadow entry.
14252
f72ed77d
UD
14253 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14254
a53b7a4e
MP
142552012-03-06 Marek Polacek <polacek@redhat.com>
14256
14257 [BZ #13726]
14258 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14259 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14260 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14261 * stdio-common/tst-long-dbl-fphex.c: New file.
14262
e9258400
DM
142632012-03-06 David S. Miller <davem@davemloft.net>
14264
14265 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14266 (set_obp_int): New function.
14267 (get_obp_int): New function.
14268 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
14269 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14270 Avoid unused variable warnings on 'val' and use builtin_expect.
14271 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14272 __builtin_expect.
e9258400
DM
14273 (INLINE_CLONE_SYSCALL): Likewise.
14274
3bd2c723
DM
142752012-03-05 David S. Miller <davem@davemloft.net>
14276
14277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14278
bbb78d03
AS
142792012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14280
884c5db4
AS
14281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14282
bbb78d03
AS
14283 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14284 only for |x| >= 40.
14285 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14286
1c9f702a 142872012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
14288
14289 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14290 Replace gettimeofday with __vdso_gettimeofday.
14291
7be16f82
RM
14292 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14293 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14294 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
14295
14296 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14297 time with __vdso_time.
14298
ed58a00f
JM
142992012-03-05 Joseph Myers <joseph@codesourcery.com>
14300
14301 * manual/lang.texi (size_t): Note types to which size_t may be
14302 equivalent with the GNU C Library, but do not describe when
14303 differences between them are significant.
14304
30ee4ced
AJ
143052012-03-05 Andreas Jaeger <aj@suse.de>
14306
14307 * sysdeps/i386/fpu/libm-test-ulps: Update.
14308
b7cd39e8
JM
143092012-03-05 Joseph Myers <joseph@codesourcery.com>
14310
14311 [BZ #3976]
14312 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14313 (__ieee754_pow): Save and restore rounding mode and use
14314 round-to-nearest for main computations.
14315 * math/libm-test.inc (pow_test_tonearest): New function.
14316 (pow_test_towardzero): Likewise.
14317 (pow_test_downward): Likewise.
14318 (pow_test_upward): Likewise.
14319 (main): Call the new functions.
14320 * sysdeps/i386/fpu/libm-test-ulps: Update.
14321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
14322
14323 [BZ #3976]
14324 * math/libm-test.inc (cosh_test_tonearest): New function.
14325 (cosh_test_towardzero): Likewise.
14326 (cosh_test_downward): Likewise.
14327 (cosh_test_upward): Likewise.
14328 (sinh_test_tonearest): Likewise.
14329 (sinh_test_towardzero): Likewise.
14330 (sinh_test_downward): Likewise.
14331 (sinh_test_upward): Likewise.
14332 (main): Call the new functions.
14333 * sysdeps/i386/fpu/libm-test-ulps: Update.
14334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14335
6c6a98c9
TV
143362012-03-05 Tom de Vries <tom@codesourcery.com>
14337
14338 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14339 default stack guard is set in last bytes.
14340 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14341
21bb2d2e 143422012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 14343
21bb2d2e 14344 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 14345
21bb2d2e
AJ
14346 [BZ #13656]
14347 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14348 possibly allocate from heap instead of stack.
14349 * stdio-common/bug-vfprintf-nargs.c: New file.
14350 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 14351
c6922934
AS
143522012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14353
14354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14355
bc957d53
MP
143562012-03-03 Marek Polacek <polacek@redhat.com>
14357
14358 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14359 * math/math_private.h: Likewise.
14360 * stdlib/tst-strtod.c: Likewise.
14361 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14362 * sysdeps/x86_64/bits/atomic.h: Likewise.
14363
6358490d
DM
143642012-03-02 David S. Miller <davem@davemloft.net>
14365
14366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14370 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14371 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14372 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14373 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14374
01ae168d
RM
143752012-03-02 Roland McGrath <roland@hack.frob.com>
14376
d9a17c07
RM
14377 [BZ #13792]
14378 * manual/examples/README: New file, says the example source files
14379 can be used under GPL>=2.
14380 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14381 line containing just "*/".
14382 * manual/examples/add.c: Add copyright header (GPL>=2).
14383 * manual/examples/argp-ex1.c: Likewise.
14384 * manual/examples/argp-ex2.c: Likewise.
14385 * manual/examples/argp-ex3.c: Likewise.
14386 * manual/examples/argp-ex4.c: Likewise.
14387 * manual/examples/atexit.c: Likewise.
14388 * manual/examples/db.c: Likewise.
14389 * manual/examples/dir.c: Likewise.
14390 * manual/examples/dir2.c: Likewise.
14391 * manual/examples/execinfo.c: Likewise.
14392 * manual/examples/filecli.c: Likewise.
14393 * manual/examples/filesrv.c: Likewise.
14394 * manual/examples/fmtmsgexpl.c: Likewise.
14395 * manual/examples/genpass.c: Likewise.
14396 * manual/examples/inetcli.c: Likewise.
14397 * manual/examples/inetsrv.c: Likewise.
14398 * manual/examples/isockad.c: Likewise.
14399 * manual/examples/longopt.c: Likewise.
14400 * manual/examples/memopen.c: Likewise.
14401 * manual/examples/memstrm.c: Likewise.
14402 * manual/examples/mkfsock.c: Likewise.
14403 * manual/examples/mkisock.c: Likewise.
14404 * manual/examples/mygetpass.c: Likewise.
14405 * manual/examples/pipe.c: Likewise.
14406 * manual/examples/popen.c: Likewise.
14407 * manual/examples/rprintf.c: Likewise.
14408 * manual/examples/search.c: Likewise.
14409 * manual/examples/select.c: Likewise.
14410 * manual/examples/setjmp.c: Likewise.
14411 * manual/examples/sigh1.c: Likewise.
14412 * manual/examples/sigusr.c: Likewise.
14413 * manual/examples/stpcpy.c: Likewise.
14414 * manual/examples/strdupa.c: Likewise.
14415 * manual/examples/strftim.c: Likewise.
14416 * manual/examples/strncat.c: Likewise.
14417 * manual/examples/subopt.c: Likewise.
14418 * manual/examples/swapcontext.c: Likewise.
14419 * manual/examples/termios.c: Likewise.
14420 * manual/examples/testopt.c: Likewise.
14421 * manual/examples/testpass.c: Likewise.
14422 * manual/examples/timeval_subtract.c: Likewise.
14423
01ae168d
RM
14424 [BZ #13792]
14425 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14426 function to ...
14427 * manual/timeval_subtract.c.texi: ... here, new file.
14428
49efa33d
DM
144292012-03-02 David S. Miller <davem@davemloft.net>
14430
14431 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14432
28afd92d
JM
144332012-03-02 Joseph Myers <joseph@codesourcery.com>
14434
804360ed
JM
14435 [BZ #3976]
14436 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14437 (__sin): Save and restore rounding mode and use round-to-nearest
14438 for all computations.
14439 (__cos): Save and restore rounding mode and use round-to-nearest
14440 for all computations.
14441 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14442 <fenv.h>.
14443 (tan): Save and restore rounding mode and use round-to-nearest for
14444 all computations.
14445 * math/libm-test.inc (cos_test_tonearest): New function.
14446 (cos_test_towardzero): Likewise.
14447 (cos_test_downward): Likewise.
14448 (cos_test_upward): Likewise.
14449 (sin_test_tonearest): Likewise.
14450 (sin_test_towardzero): Likewise.
14451 (sin_test_downward): Likewise.
14452 (sin_test_upward): Likewise.
14453 (tan_test_tonearest): Likewise.
14454 (tan_test_towardzero): Likewise.
14455 (tan_test_downward): Likewise.
14456 (tan_test_upward): Likewise.
14457 (main): Call the new functions.
14458 * sysdeps/i386/fpu/libm-test-ulps: Update.
14459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14460
a6d06d7b
JM
14461 [BZ #10135]
14462 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14463 small n, then large n, before computing and testing k+n.
14464 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14465 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14466 Likewise.
14467 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14468 Likewise.
14469 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14470 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14471 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14472 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14473 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14474 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14475 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14476 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14477 * math/libm-test.inc (scalbn_test): Add more tests.
14478 (scalbln_test): Likewise.
14479
07e12bb3
JM
14480 * manual/filesys.texi (mode_t): Describe constraints on size and
14481 signedness, not exact equivalence to a particular type.
14482 (ino_t): Likewise.
14483 (ino64_t): Likewise.
14484 (dev_t): Likewise.
14485 (nlink_t): Likewise.
14486 (blkcnt_t): Likewise.
14487 (blkcnt64_t): Likewise.
14488 * manual/llio.texi (off_t): Likewise.
14489
28afd92d
JM
14490 [BZ #3976]
14491 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14492 (__ieee754_exp): Save and restore rounding mode and use
14493 round-to-nearest for all computations.
14494 * math/libm-test.inc (exp_test_tonearest): New function.
14495 (exp_test_towardzero): Likewise.
14496 (exp_test_downward): Likewise.
14497 (exp_test_upward): Likewise.
14498 (main): Call the new functions.
14499 * sysdeps/i386/fpu/libm-test-ulps: Update.
14500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14501
b1eeb65d
CD
145022012-03-01 Chris Demetriou <cgd@google.com>
14503
14504 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14505 have predictable order.
14506
53362a4b
DM
145072012-03-01 David S. Miller <davem@davemloft.net>
14508
3c969083
DM
14509 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14510
759707de
DM
14511 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14512 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14513 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14514 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14515
dfdb8ff2
DM
14516 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14517 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14518 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14520 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14521 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14522 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14523 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14524 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14525
ead89f96
DM
14526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14527
7f66bd07
DM
14528 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14529 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14530 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14531
53362a4b
DM
14532 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14533 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14534 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14535 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14536 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14537 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14538 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14539 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14540 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14541 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14542 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14543 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14544 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14545 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14546 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14547 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14548 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14549 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14550 * sysdeps/sparc/elf/configure: Regenerated.
14551
7b1902cb
JM
145522012-03-01 Joseph Myers <joseph@codesourcery.com>
14553
bec039bc
JM
14554 * configure.in (AS, LD): Require binutils 2.20 or later.
14555 * configure: Regenerated.
14556 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14557 as required minimum version.
14558 * INSTALL: Regenerated.
14559
7b1902cb
JM
14560 [BZ #2541]
14561 [BZ #4108]
14562 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14563 before squaring exponent.
14564 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14565 bottom long double and 27 bits of top long double before squaring
14566 exponent.
14567 * math/libm-test.inc (erfc_test): Add more tests.
14568 * sysdeps/i386/fpu/libm-test-ulps: Update.
14569 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14571
f775c276
KT
145722012-03-01 Kai Tietz <ktietz@redhat.com>
14573
14574 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14575 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14576 containing bit-fields.
14577 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14578 * soft-fp/single.h (_FP_UNION_S): Likewise.
14579 * soft-fp/double.h (_FP_UNION_D): Likewise.
14580
5b8a4d4a
JM
145812012-02-29 Joseph Myers <joseph@codesourcery.com>
14582
0bab47b6
JM
14583 [BZ #13786]
14584 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14585 not include ../strcmp.S.
14586 [USE_AS_STRNCASECMP_L]: Likewise.
14587 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14588 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14589 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14590 (__strncasecmp_l_ia32): Define as alias to
14591 __strncasecmp_l_nonascii.
14592
0fcad3e2
JM
14593 [BZ #5794]
14594 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14595 * sysdeps/i386/fpu/libm-test-ulps: Update.
14596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14597
5b8a4d4a
JM
14598 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14600
8fdceb2e
JL
146012012-02-29 Jeff Law <law@redhat.com>
14602
14603 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14604 out of bounds read.
14605
1f393a11
MP
146062012-02-29 Marek Polacek <polacek@redhat.com>
14607
14608 [BZ #13706]
14609 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14610 * elf/Makefile: Add rules to run tst-unused-dep.out.
14611
8847f037
DM
146122012-02-28 David S. Miller <davem@davemloft.net>
14613
14614 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14615 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14616 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14617 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14618 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14619 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14620
169d7f11
JM
146212012-02-29 Joseph Myers <joseph@codesourcery.com>
14622
14623 * math/libm-test.inc (llround_test): Move one test from
14624 lround_test. Use TEST_f_L in moved test.
14625 (lround_test): Move misplaced test to llround_test. Add testcase
14626 from bug 2561.
14627
39adf059
UD
146282012-02-28 Ulrich Drepper <drepper@gmail.com>
14629
14630 * sysdeps/x86_64/fpu/e_expf.S: New file.
14631 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14632
71b5d1c5
SB
146332012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14634
14635 [BZ #13637]
14636 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14637 of remain_len that may cause incomplete multi-byte character and
14638 false match.
14639 * posix/bug-regex33.c: New file.
14640 * posix/Makefile (tests): Add bug-regex33.
14641
1f77f049
JM
146422012-02-28 Joseph Myers <joseph@codesourcery.com>
14643
14644 * manual/macros.texi: New file.
14645 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14646 * manual/libc.texinfo: Include macros.texi.
14647 * manual/creatute.texi: Likewise.
14648 * manual/install.texi: Likewise.
14649 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14650 @glibcadj{} in references to the GNU C Library.
14651 * manual/charset.texi: Likewise.
14652 * manual/conf.texi: Likewise.
14653 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14654 when not using those macros.
14655 * manual/creature.texi: Likewise.
14656 * manual/crypt.texi: Likewise.
14657 * manual/errno.texi: Likewise.
14658 * manual/filesys.texi: Likewise.
14659 * manual/header.texi: Likewise.
14660 * manual/install.texi: Likewise.
14661 * manual/intro.texi: Likewise.
14662 * manual/io.texi: Likewise.
14663 * manual/job.texi: Likewise.
14664 * manual/lang.texi: Likewise.
14665 * manual/libc.texiinfo: Likewise.
14666 * manual/llio.texi: Likewise.
14667 * manual/locale.texi: Likewise.
14668 * manual/maint.texi: Likewise.
14669 * manual/math.texi: Likewise.
14670 * manual/memory.texi: Likewise.
14671 * manual/message.texi: Likewise.
14672 * manual/nss.texi: Likewise.
14673 * manual/pattern.texi: Likewise.
14674 * manual/process.texi: Likewise.
14675 * manual/resource.texi: Likewise.
14676 * manual/search.texi: Likewise.
14677 * manual/setjmp.texi: Likewise.
14678 * manual/signal.texi: Likewise.
14679 * manual/socket.texi: Likewise.
14680 * manual/startup.texi: Likewise.
14681 * manual/stdio.texi: Likewise.
14682 * manual/string.texi: Likewise.
14683 * manual/sysinfo.texi: Likewise.
14684 * manual/syslog.texi: Likewise.
14685 * manual/terminal.texi: Likewise.
14686 * manual/time.texi: Likewise.
14687 * manual/users.texi: Likewise.
14688 * INSTALL: Regenerated.
14689 * NOTES: Regenerated.
d40c5d54 14690 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 14691
450bf206
AS
146922012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14693
14694 * include/dirent.h: Include <dirstream.h> before
14695 <dirent/dirent.h>.
14696
741a235b
DM
146972012-02-28 David S. Miller <davem@davemloft.net>
14698
14699 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14700 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14701 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14702 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14703
d6b5aa58
DM
147042012-02-27 David S. Miller <davem@davemloft.net>
14705
1aff59a3
DM
14706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14708 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14709 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14710
d6b5aa58
DM
14711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14712 frame pointer instead of stack pointer relative arg slot.
14713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14714 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14715 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14716
433f48bf
CD
147172012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14718
14719 [BZ #3992]
14720 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14721
d674b76d
DM
147222012-02-27 David S. Miller <davem@davemloft.net>
14723
14724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14728 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14729 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14730 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14731 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14732
0e7727f7
JM
147332012-02-27 Joseph Myers <joseph@codesourcery.com>
14734
14735 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14736 later. Allow versions 5-9.
43be4ca2 14737 * configure: Regenerated.
0e7727f7
JM
14738 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14739 required minimum version and 4.6 as recommended version. Do not
14740 mention bugs in GCC 2.7 and 2.8.
43be4ca2 14741 * INSTALL: Regenerated.
0e7727f7 14742
a78bc654
DM
147432012-02-27 David S. Miller <davem@davemloft.net>
14744
428d5830
DM
14745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14749 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14750 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14751 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14752 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14753
a78bc654
DM
14754 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14755 manipulate bits before adding and subtracting TWO112[sx].
14756 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14757
4579f81c
RM
147582012-02-27 Roland McGrath <roland@hack.frob.com>
14759
36c8acb4
RM
14760 [BZ #13775]
14761 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14762 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14763 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14764 being in POSIX, because they are in 1003.1-2008.
14765
84ad622b
RM
14766 * rt/tst-aio.c: Include <fcntl.h>.
14767 * rt/tst-aio7.c: Likewise.
14768 * rt/tst-aio64.c: Likewise.
14769
4579f81c
RM
14770 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14771
abd923db
JM
147722012-02-27 Joseph Myers <joseph@codesourcery.com>
14773
14774 * manual/install.texi (--with-headers): Describe headers as
14775 interface headers, not private headers.
14776 (Specific advice for GNU/Linux systems): Describe use of headers
14777 from "make headers_install", not private headers from older
14778 kernels.
43be4ca2 14779 * INSTALL: Regenerated.
abd923db
JM
14780 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14781 Change to 2.6.19.
14782 * sysdeps/unix/sysv/linux/configure: Regenerated.
14783
6664049b
JM
14784 * manual/llio.texi (fclean): Remove documentation.
14785
bb8b6697
JM
14786 * manual/Makefile (libc-texi-generated): New variable. Include
14787 version.texi.
14788 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14789 $(libc-texi-generated), not duplicated list of files.
14790 (version.texi, stamp-version): New rules.
14791 (realclean): Remove $(libc-texi-generated), not individual files
14792 from that list. Do not remove dir-add.texinfo.
14793 * manual/libc.texinfo: Comment out uses of edition numbers and
14794 references to printed manual. Remove last-updated dates.
14795 (EDITION): Comment out.
14796 (ISBN): Likewise.
14797 (VERSION, UPDATED): Remove.
14798 (version.texi): Include.
14799
12e5c3b9
AS
148002012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14801
14802 * sysdeps/posix/spawni.c: Include <signal.h>.
14803 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14804 * sysdeps/pthread/aio_fsync.c: Likewise.
14805
4efeffc1 148062012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 14807
ba63ba08
UD
14808 * conform/Makefile (tests): Run only when not cross-compiling and
14809 when fast-check is not defined.
14810
d94a4670
UD
14811 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14812 * conform/data/limits.h-data: Fixes for POSIX2008.
14813 * conform/run-conformtest.sh: Run all tests.
14814 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14815 headers.
14816 * include/bits/dlfcn.h: Likewise.
14817 * include/langinfo.h: Likewise.
14818 * include/monetary.h: Likewise.
14819 * include/sys/poll.h: Likewise.
14820
14821 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14822 for __USE_GNU.
14823 * posix/spawn.h: Define __need_sigset_t.
14824 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14825 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14826 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14827 to get sigevent_t only.
14828 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14829 only for __USE_GNU.
14830 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14831 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14832 process_vm_writev only for __USE_GNU.
14833 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
14834
14835 * conform/Makefile: For now ignore errors from run-conformtest.
14836 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14837 POSIX to avoid namespace pollution. Don't prepend headers.
14838 * conform/data/aio.h-data: Fixes for POSIX testing.
14839 * conform/data/fcntl.h-data: Likewise.
14840 * conform/data/glob.h-data: Likewise.
14841 * conform/data/grp.h-data: Likewise.
14842 * conform/data/pthread.h-data: Likewise.
14843 * conform/data/pwd.h-data: Likewise.
14844 * conform/data/signal.h-data: Likewise.
14845 * conform/data/spawn.h-data: Likewise.
14846 * conform/data/stdio.h-data: Likewise.
14847 * conform/data/stdlib.h-data: Likewise.
14848 * conform/data/stropts.h-data: Likewise.
14849 * conform/data/sys/mman.h-data: Likewise.
14850 * conform/data/sys/stat.h-data: Likewise.
14851 * conform/data/sys/types.h-data: Likewise.
14852 * conform/data/sys/wait.h-data: Likewise.
14853 * conform/data/time.h-data: Likewise.
14854 * conform/data/unistd.h-data: Likewise.
14855 * conform/data/utime.h-data: Likewise.
14856
14857 * io/sys/stat.h: fchmod was always in POSIX.
14858 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14859 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14860 * rt/aio.h: Define __need_timespec before including <time.h>.
14861 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14862 struct. Add forward declaration of pthread_attr_t and use it in
14863 sigevent.
14864 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14865 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14866 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14867 always remove CLK_TCK definition.
14868
c20105c3
AS
148692012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14870
14871 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14872
7a270350
UD
148732012-02-25 Ulrich Drepper <drepper@gmail.com>
14874
31341567
UD
14875 * conform/run-conformtest.sh: New file.
14876 * conform/Makefile: Run run-conformtest for tests.
14877 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14878 support.
14879
14880 * conform/data/uchar.h-data: New file.
14881 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14882 * conform/data/arpa/inet.h-data: Likewise.
14883 * conform/data/assert.h-data: Likewise.
14884 * conform/data/complex.h-data: Likewise.
14885 * conform/data/cpio.h-data: Likewise.
14886 * conform/data/ctype.h-data: Likewise.
14887 * conform/data/dirent.h-data: Likewise.
14888 * conform/data/dlfcn.h-data: Likewise.
14889 * conform/data/errno.h-data: Likewise.
14890 * conform/data/fcntl.h-data: Likewise.
14891 * conform/data/float.h-data: Likewise.
14892 * conform/data/fmtmsg.h-data: Likewise.
14893 * conform/data/fnmatch.h-data: Likewise.
14894 * conform/data/ftw.h-data: Likewise.
14895 * conform/data/glob.h-data: Likewise.
14896 * conform/data/grp.h-data: Likewise.
14897 * conform/data/iconv.h-data: Likewise.
14898 * conform/data/inttypes.h-data: Likewise.
14899 * conform/data/langinfo.h-data: Likewise.
14900 * conform/data/libgen.h-data: Likewise.
14901 * conform/data/limits.h-data: Likewise.
14902 * conform/data/locale.h-data: Likewise.
14903 * conform/data/math.h-data: Likewise.
14904 * conform/data/monetary.h-data: Likewise.
14905 * conform/data/mqueue.h-data: Likewise.
14906 * conform/data/ndbm.h-data: Likewise.
14907 * conform/data/net/if.h-data: Likewise.
14908 * conform/data/netdb.h-data: Likewise.
14909 * conform/data/netinet/in.h-data: Likewise.
14910 * conform/data/nl_types.h-data: Likewise.
14911 * conform/data/poll.h-data: Likewise.
14912 * conform/data/pthread.h-data: Likewise.
14913 * conform/data/pwd.h-data: Likewise.
14914 * conform/data/regex.h-data: Likewise.
14915 * conform/data/sched.h-data: Likewise.
14916 * conform/data/search.h-data: Likewise.
14917 * conform/data/semaphore.h-data: Likewise.
14918 * conform/data/setjmp.h-data: Likewise.
14919 * conform/data/signal.h-data: Likewise.
14920 * conform/data/spawn.h-data: Likewise.
14921 * conform/data/stdarg.h-data: Likewise.
14922 * conform/data/stdio.h-data: Likewise.
14923 * conform/data/stdlib.h-data: Likewise.
14924 * conform/data/string.h-data: Likewise.
14925 * conform/data/strings.h-data: Likewise.
14926 * conform/data/stropts.h-data: Likewise.
14927 * conform/data/sys/ipc.h-data: Likewise.
14928 * conform/data/sys/mman.h-data: Likewise.
14929 * conform/data/sys/msg.h-data: Likewise.
14930 * conform/data/sys/resource.h-data: Likewise.
14931 * conform/data/sys/select.h-data: Likewise.
14932 * conform/data/sys/sem.h-data: Likewise.
14933 * conform/data/sys/shm.h-data: Likewise.
14934 * conform/data/sys/socket.h-data: Likewise.
14935 * conform/data/sys/stat.h-data: Likewise.
14936 * conform/data/sys/statvfs.h-data: Likewise.
14937 * conform/data/sys/time.h-data: Likewise.
14938 * conform/data/sys/timeb.h-data: Likewise.
14939 * conform/data/sys/times.h-data: Likewise.
14940 * conform/data/sys/types.h-data: Likewise.
14941 * conform/data/sys/uio.h-data: Likewise.
14942 * conform/data/sys/un.h-data: Likewise.
14943 * conform/data/sys/utsname.h-data: Likewise.
14944 * conform/data/sys/wait.h-data: Likewise.
14945 * conform/data/syslog.h-data: Likewise.
14946 * conform/data/tar.h-data: Likewise.
14947 * conform/data/termios.h-data: Likewise.
14948 * conform/data/utime.h-data: Likewise.
14949 * conform/data/utmpx.h-data: Likewise.
14950 * conform/data/varargs.h-data: Likewise.
14951 * conform/data/wchar.h-data: Likewise.
14952 * conform/data/wctype.h-data: Likewise.
14953 * conform/data/wordexp.h-data: Likewise.
14954
14955 * include/stropts.h: New file.
14956 * include/uchar.h: New file.
14957 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14958 * include/assert.h: Likewise.
14959 * include/ctype.h: Likewise.
14960 * include/dirent.h: Likewise.
14961 * include/dlfcn.h: Likewise.
14962 * include/fcntl.h: Likewise.
14963 * include/fnmatch.h: Likewise.
14964 * include/glob.h: Likewise.
14965 * include/grp.h: Likewise.
14966 * include/libio.h: Likewise.
14967 * include/locale.h: Likewise.
14968 * include/math.h: Likewise.
14969 * include/net/if.h: Likewise.
14970 * include/netdb.h: Likewise.
14971 * include/netinet/in.h: Likewise.
14972 * include/pthread.h: Likewise.
14973 * include/pwd.h: Likewise.
14974 * include/regex.h: Likewise.
14975 * include/sched.h: Likewise.
14976 * include/search.h: Likewise.
14977 * include/setjmp.h: Likewise.
14978 * include/signal.h: Likewise.
14979 * include/stdio.h: Likewise.
14980 * include/stdlib.h: Likewise.
14981 * include/string.h: Likewise.
14982 * include/sys/cdefs.h: Likewise.
14983 * include/sys/mman.h: Likewise.
14984 * include/sys/msg.h: Likewise.
14985 * include/sys/resource.h: Likewise.
14986 * include/sys/select.h: Likewise.
14987 * include/sys/socket.h: Likewise.
14988 * include/sys/stat.h: Likewise.
14989 * include/sys/statvfs.h: Likewise.
14990 * include/sys/time.h: Likewise.
14991 * include/sys/times.h: Likewise.
14992 * include/sys/uio.h: Likewise.
14993 * include/sys/utsname.h: Likewise.
14994 * include/sys/wait.h: Likewise.
14995 * include/termios.h: Likewise.
14996 * include/time.h: Likewise.
14997 * include/ulimit.h: Likewise.
14998 * include/unistd.h: Likewise.
14999 * include/utime.h: Likewise.
15000 * include/wchar.h: Likewise.
15001 * include/wctype.h: Likewise.
15002 * include/wordexp.h: Likewise.
15003
15004 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15005
7a270350
UD
15006 * time/time.h: TIME_UTC must be a macro.
15007 Make timespec_get available for ISO C11 only as well.
15008
7724defc
UD
150092012-02-24 Ulrich Drepper <drepper@gmail.com>
15010
15011 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15012 Reported by Peng Haitao <penght@cn.fujitsu.com>.
15013
6b1d1d46
JM
150142012-02-24 Joseph Myers <joseph@codesourcery.com>
15015
15016 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 15017
0f8bbd69
JM
150182012-02-24 Joseph Myers <joseph@codesourcery.com>
15019
15020 * manual/texinfo.tex: Update to version 2012-01-19.16.
15021
66ab80bc
JM
150222012-02-24 Joseph Myers <joseph@codesourcery.com>
15023
15024 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15025
74981cc5
RM
150262012-02-24 Roland McGrath <roland@hack.frob.com>
15027
ee968201
RM
15028 [BZ #13738]
15029 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15030 * manual/fdl-1.3.texi: New file.
15031 * manual/fdl-1.1.texi: File removed.
15032
74981cc5
RM
15033 [BZ #13738]
15034 * manual/libc.texinfo (FDL_VERSION): New @set.
15035 Use it for mention of FDL in cover text.
15036 (Documentation License): Use it in @include file name.
15037
7bb764bc
JM
150382012-02-22 Joseph Myers <joseph@codesourcery.com>
15039 Roland McGrath <roland@hack.frob.com>
15040
15041 [BZ #5461]
15042 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15043 not LONG_LONG_MAX and LONG_LONG_MIN.
15044 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15045 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
15046 name.
15047 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15048
6cbeae47
JM
150492012-02-22 Joseph Myers <joseph@codesourcery.com>
15050
15051 [BZ #2547]
15052 [BZ #11365]
15053 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15054 manipulate bits before adding and subtracting TWO23[sx].
15055 * math/libm-test.inc (nearbyint_test): Add more tests.
15056
fe45ce09
JM
150572012-02-22 Joseph Myers <joseph@codesourcery.com>
15058
15059 [BZ #2548]
15060 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15061 bits before adding and subtracting TWO23[sx].
15062 * math/libm-test.inc (rint_test): Add more tests.
15063 (rint_test_tonearest): Likewise.
15064 (rint_test_towardzero): Likewise.
15065 (rint_test_downward): Likewise.
15066 (rint_test_upward: Likewise.
15067
ff3b3d82
JM
150682012-02-22 Joseph Myers <joseph@codesourcery.com>
15069
15070 [BZ #10110]
15071 * include/stdc-predef.h: New file. Extracted from features.h.
15072 * include/features.h: Include stdc-predef.h.
15073 * Makefile (headers): Add stdc-predef.h.
15074 * CONFORMANCE (Compiler limitations): Update.
15075
ef0aab35
JM
150762012-02-22 Joseph Myers <joseph@codesourcery.com>
15077
15078 * manual/libc.texinfo (VERSION, UPDATED): Revert.
15079
58639409
DM
150802012-02-21 David S. Miller <davem@davemloft.net>
15081
15082 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15083 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15084
c0e70b25
DM
150852012-02-20 David S. Miller <davem@davemloft.net>
15086
15087 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15088 using a normal save/restore sequence, rather than allocating a
15089 dummy stack frame just to store a frame pointer and restore.
15090 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15091
fb06851d
JM
150922012-02-21 Joseph Myers <joseph@codesourcery.com>
15093
15094 * manual/install.texi: Fix stray word in line-wrapped comment.
15095
7a8b71c3
DM
150962012-02-20 David S. Miller <davem@davemloft.net>
15097
d510c123
DM
15098 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15099 both binutils and gcc support GOTDATA.
15100
0722d7c2
DM
15101 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15102 "rd %pc" in the PIC register setup sequences.
15103
3d2b3019
DM
15104 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15105 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15106 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15107 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15108 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15109 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15110 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15111 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15112 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15113 (SYSCALL_ERROR_HANDLER): Likewise.
15114 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15115 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15116 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15117 (SYSCALL_ERROR_HANDLER): Likewise.
15118
c80098a9
DM
15119 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15120 (HAVE_GCC_GOTDATA): New.
15121 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15122 relocation support in both binutils and gcc.
15123 * sysdeps/sparc/elf/configure: Regenerate.
15124
3a2545a0
DM
15125 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15126 * sysdeps/sparc/sparc32/elf/configure: Delete.
15127 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15128 * sysdeps/sparc/sparc64/elf/configure: Delete.
15129 * sysdeps/sparc/elf/configure.in: New file.
15130 * sysdeps/sparc/elf/configure: Generate.
15131
7a8b71c3
DM
15132 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15133 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15134 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15135 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15136 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15137
f1e86fca
JM
151382012-02-21 Joseph Myers <joseph@codesourcery.com>
15139
15140 * manual/install.texi: Do not mention specific glibc version
15141 numbers.
15142 * manual/libc.texinfo (VERSION, UPDATED): Update.
15143 (@copying): Use @copyright{} and range of years.
15144
0e7dfaef
JM
151452012-02-21 Joseph Myers <joseph@codesourcery.com>
15146
15147 [BZ #13695]
15148 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15149 [crti.S not in sysdirs] (generated): Do not append.
15150 [crti.S not in sysdirs] (omit-deps): Likewise.
15151 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15152 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15153 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15154 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15155 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15156 Likewise.
15157 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15158 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15159 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15160 * csu/defs.awk: Remove file.
15161 * sysdeps/generic/initfini.c: Likewise.
15162 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15163 variable.
15164 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15165 Likewise.
15166
599af3ca
JM
151672012-02-20 Joseph Myers <joseph@codesourcery.com>
15168
15169 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15170 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15171 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15172 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15173 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15174 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15175 <bits/epoll.h>.
15176 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15177 (__EPOLL_PACKED): Define to empty if not defined by
15178 <bits/epoll.h>.
15179 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15181 bits/epoll.h.
15182
0e499750
JM
151832012-02-20 Joseph Myers <joseph@codesourcery.com>
15184
15185 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15186 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15187 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15188 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15189 <bits/timerfd.h>.
15190 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15191 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15192 bits/timerfd.h.
15193
5ad91f6e
JM
151942012-02-20 Joseph Myers <joseph@codesourcery.com>
15195
15196 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15197 in C locale.
15198 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15199 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15200 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15202
06b99b02
AJ
152032012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15204
15205 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15206 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15207
7638c0fd
AS
152082012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15209
15210 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15211 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15212 defined.
15213 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15214 Likewise.
15215 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15216 entry for 2.16.
15217
92221550
AJ
152182012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15219
15220 * math/w_acos.c: Use non-signaling floating-point comparisons.
15221 * math/w_acosf.c: Likewise.
15222 * math/w_acosh.c: Likewise.
15223 * math/w_acoshf.c: Likewise.
15224 * math/w_acoshl.c: Likewise.
15225 * math/w_acosl.c: Likewise.
15226 * math/w_asin.c: Likewise.
15227 * math/w_asinf.c: Likewise.
15228 * math/w_asinl.c: Likewise.
15229 * math/w_atanh.c: Likewise.
15230 * math/w_atanhf.c: Likewise.
15231 * math/w_atanhl.c: Likewise.
15232 * math/w_exp2.c: Likewise.
15233 * math/w_exp2f.c: Likewise.
15234 * math/w_exp2l.c: Likewise.
15235 * math/w_j0.c: Likewise.
15236 * math/w_j0f.c: Likewise.
15237 * math/w_j0l.c: Likewise.
15238 * math/w_j1.c: Likewise.
15239 * math/w_j1f.c: Likewise.
15240 * math/w_j1l.c: Likewise.
15241 * math/w_jn.c: Likewise.
15242 * math/w_jnf.c: Likewise.
15243 * math/w_log.c: Likewise.
15244 * math/w_log10.c: Likewise.
15245 * math/w_log10f.c: Likewise.
15246 * math/w_log10l.c: Likewise.
15247 * math/w_log2.c: Likewise.
15248 * math/w_log2f.c: Likewise.
15249 * math/w_log2l.c: Likewise.
15250 * math/w_logf.c: Likewise.
15251 * math/w_logl.c: Likewise.
15252 * math/w_sqrt.c: Likewise.
15253 * math/w_sqrtf.c: Likewise.
15254 * math/w_sqrtl.c: Likewise.
15255 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15256 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15257 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15258 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15259 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15260
ebaf36eb
JM
152612012-02-19 Joseph Myers <joseph@codesourcery.com>
15262
15263 [BZ #9739]
15264 * manual/string.texi (strnlen): Use correct parameter name in
15265 equivalent expression.
15266
71c254a6
JM
152672012-02-19 Joseph Myers <joseph@codesourcery.com>
15268
15269 [BZ #11174]
15270 * manual/users.texi (seteuid): Consistently use neweuid for
15271 argument name.
15272
16d2c631
JM
152732012-02-19 Joseph Myers <joseph@codesourcery.com>
15274
15275 [BZ #13704]
15276 * manual/nss.texi (Services in the NSS configuration): Correct
15277 list of services in example configuration file.
15278
cd837b09
NB
152792012-02-19 Nick Bowler <nbowler@draconx.ca>
15280
15281 [BZ #11322]
15282 * manual/arith.texi: Remove statements about negative zero
15283 behaving identically to zero.
15284
02c4bbad
JM
152852012-02-18 Joseph Myers <joseph@codesourcery.com>
15286
15287 [BZ #5993]
15288 * manual/install.texi: Do not document upgrading from libc5.
15289
366842e7
JM
152902012-02-18 Joseph Myers <joseph@codesourcery.com>
15291
15292 [BZ #4596]
15293 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15294
dd54084d
DM
152952012-02-18 David S. Miller <davem@davemloft.net>
15296
15297 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15298 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15299 %o7 across the call.
15300 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15301 instead.
15302 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15303 SETUP_PIC_REG_LEAF.
15304 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15305 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15306 * sysdeps/sparc/crtn.S: Likewise.
15307
2bcc53a3
UD
153082012-02-17 Ulrich Drepper <drepper@gmail.com>
15309
15310 * aout/Makefile: Remove.
15311
09c093b5
RK
153122012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15313
15314 [BZ #13058]
15315 * manual/examples/argp-ex1.c (main): Format definition in GNU
15316 style.
15317 * manual/examples/argp-ex2.c (main): Likewise.
15318 * manual/examples/argp-ex3.c (main): Likewise.
15319 * manual/examples/argp-ex4.c (main): Likewise.
15320 * manual/examples/longopt.c (main): Use new-style prototype
15321 definition.
15322 * manual/examples/strncat.c (main): Specify return type and use
15323 (void) for arguments.
15324 * manual/examples/subopt.c (main): Use char **argv argument.
15325
2ee633a2
JM
153262012-02-17 Joseph Myers <joseph@codesourcery.com>
15327
15328 [BZ #5077]
15329 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15330 rounding modes.
15331
0520adde
FB
153322012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15333
15334 [BZ #6907]
15335 * manual/string.texi (strchr): Change when strchrnul is
15336 recommended.
15337
3f4081cd
DGM
153382012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15339
15340 [BZ #174]
15341 * manual/locale.texi (setlocale): Document LOCPATH.
15342
d1b10e78
JM
153432012-02-17 Joseph Myers <joseph@codesourcery.com>
15344
15345 [BZ #10210]
15346 * manual/process.texi (execle): Move @dots{} before last argument.
15347
79c6869c
PB
153482012-02-17 Paul Bolle <pebolle@tiscali.nl>
15349
15350 [BZ #12047]
15351 * manual/charset.texi (Generic Charset Conversion): Fix typo
15352 (LC_TYPE -> LC_CTYPE).
15353
cc6e48bc
NB
153542012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15355
15356 [BZ #5805]
15357 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15358 (scalbnf): Likewise.
15359 (scalbnl): Likewise.
15360 (scalbln): Likewise.
15361 (scalblnf): Likewise.
15362 (scalblnl): Likewise.
15363 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15364 (vwarnx): Likewise.
15365 (verr): Likewise.
15366 (verrx): Likewise.
15367 * manual/filesys.texi (telldir): Use braces around return type.
15368 * manual/llio.texi (mmap): Add space after comma.
15369 (mmap64): Likewise.
15370 * manual/math.texi (jn): Use @var{} on parameter names.
15371 (jnf): Likewise.
15372 (jnl): Likewise.
15373 (yn): Likewise.
15374 (ynf): Likewise.
15375 (ynl): Likewise.
15376 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15377 line.
15378 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15379 "...".
15380 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15381 (sched_get_priority_max): Likewise.
15382 * manual/signal.texi (sigvec): Add space after comma.
15383 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15384 names.
15385 (if_indextoname): Likewise.
15386 (if_freenameindex): Likewise.
15387 (sendto): Use ',' instead of '.' in prototype.
15388 * manual/startup.texi (syscall): Use @dots{} instead of literal
15389 "...".
15390 * manual/stdio.texi (__fpending): Separate initial words of
15391 paragraph from @deftypefun line.
15392 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15393 "...".
15394 (vsyslog): Use @var{} on parameter names.
15395 * manual/terminal.texi (stty): Use @var{} on parameter names.
15396 * manual/users.texi (getutmp): Use @var{} on parameter names.
15397 (getutmpx): Likewise.
15398
5b23062f
JM
153992012-02-17 Joseph Myers <joseph@codesourcery.com>
15400
15401 [BZ #6884]
15402 * manual/stdio.texi (fopen): Fix typos in description of
15403 ",ccs=STRING".
15404
8dee4833
AJ
154052012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15406
15407 [BZ #4026]
15408 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15409 get clock_id definition.
15410
9078ce93
TS
154112012-02-17 Thomas Schwinge <thomas@schwinge.name>
15412
15413 [BZ #4822]
15414 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15415 (madvise): Cast every argument to void on its own.
15416
3835c55f
JM
154172012-02-17 Joseph Myers <joseph@codesourcery.com>
15418
15419 [BZ #9902]
15420 * manual/startup.texi (Exit Status): Fix typo.
15421
35c47e37
JM
154222012-02-17 Joseph Myers <joseph@codesourcery.com>
15423
15424 [BZ #10140]
15425 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15426 * manual/examples/argp-ex2.c: Likewise.
15427 * manual/examples/argp-ex3.c: Likewise.
15428
e3b69ca7
RH
154292012-02-16 Richard Henderson <rth@redhat.com>
15430
15431 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15432 * sysdeps/s390/s390-32/initfini.c: Remove.
15433 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15434 * sysdeps/s390/s390-64/initfini.c: Remove.
15435
df83af67
KK
154362012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15437
15438 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15439 compiler output for sysdeps/generic/initfini.c.
15440 * sysdeps/sh/elf/initfini.c: Remove file.
15441
f63f3380
DM
154422012-02-16 David S. Miller <davem@davemloft.net>
15443
fb59b3a4
DM
15444 [BZ #11494]
15445 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15446
f63f3380
DM
15447 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15448 * sysdeps/sparc/crti.S: New file.
15449 * sysdeps/sparc/crtn.S: New file.
15450 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15451 * sysdeps/sparc/sparc64/Makefile: Likewise.
15452
df6a4a4a
MF
154532012-02-15 Mike Frysinger <vapier@gentoo.org>
15454
6dd8f3dc 15455 [BZ #3335]
df6a4a4a
MF
15456 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15457
1cac7236
RM
154582012-02-15 Roland McGrath <roland@hack.frob.com>
15459
d2c736f8
RM
15460 [BZ #4822]
15461 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15462
1cac7236
RM
15463 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15464 (write, read, close): Likewise.
15465 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15466
8e475601
JM
154672012-02-15 Joseph Myers <joseph@codesourcery.com>
15468
15469 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15470 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15471 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15472 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15473 <bits/signalfd.h>.
15474 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15475 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15476 bits/signalfd.h.
15477
ed656b40
MP
154782012-02-14 Marek Polacek <polacek@redhat.com>
15479
15480 * sysdeps/x86_64/crti.S: New file.
15481 * sysdeps/x86_64/crtn.S: New file.
15482 * sysdeps/x86_64/elf/initfini.c: Remove file.
15483
2a979d3a
JM
154842012-02-13 Joseph Myers <joseph@codesourcery.com>
15485
15486 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15487 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15488 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15489 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15490 <bits/inotify.h>.
15491 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15492 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15493 bits/inotify.h.
15494
2a418ac3
JM
154952012-02-13 Joseph Myers <joseph@codesourcery.com>
15496
15497 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15498 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15499 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15500 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15501 <bits/eventfd.h>.
15502 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15503 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15504 bits/eventfd.h.
15505
fb779be7
TS
155062012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15507
e19e83c5
RM
15508 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15509 __feraiseexcept instead of feraiseexcept.
7c35ffed 15510
fb779be7
TS
15511 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15512 nanosleep invocations.
15513 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15514 strings, and add error checking for a nanosleep invocations.
15515
59ba27a6
PE
155162012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15517
15518 Replace FSF snail mail address with URLs, as per GNU coding standards.
15519 Most of the snail mail addresses were wrong anyway, and omitting
15520 them makes the source code easier to maintain. Almost all of the
15521 changes are to license notices and to locale LC_IDENTIFICATION
15522 addresses, except for this one:
15523 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15524 not its snail mail address.
15525
57b957eb
RH
155262012-02-09 Richard Henderson <rth@twiddle.net>
15527
af850b1c
RH
15528 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15529 of kernel-features.h.
15530
57b957eb
RH
15531 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15532
6b73181a
MP
155332012-02-08 Marek Polacek <polacek@redhat.com>
15534
15535 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15536 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15537 * sysdeps/gnu/_G_config.h: Likewise.
15538 * sysdeps/generic/_G_config.h: Likewise.
15539
26ecc33a
AS
155402012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15541
6c6dbc63
AS
15542 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15543 tests.
15544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15545
e216c012
AS
15546 * sysdeps/powerpc/powerpc32/crti.S: New file.
15547 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15548 * sysdeps/powerpc/powerpc64/crti.S: New file.
15549 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15550
26ecc33a
AS
15551 * Makeconfig (have-initfini): Don't set.
15552 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15553 * configure.in (nopic_initfini): Don't substitute.
15554 * config.h.in (HAVE_INITFINI): Don't #undef.
15555 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15556 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15557
3add8e13
JM
155582012-02-08 Joseph Myers <joseph@codesourcery.com>
15559
15560 Support crti.S and crtn.S provided directly by architectures.
15561 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15562 [crti.S in sysdirs] (omit-deps): Likewise.
15563 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15564 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15565 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15566 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15567 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15568 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15569 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15570 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15571 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15572 compiler output for sysdeps/generic/initfini.c.
15573 * sysdeps/i386/elf/Makefile: Remove file.
15574 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15575
a22f12b4
MP
155762012-02-07 Marek Polacek <polacek@redhat.com>
15577
15578 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15579 * sysdeps/gnu/_G_config.h: Likewise.
15580 * sysdeps/mach/hurd/_G_config.h: Likewise.
15581
148cf100
MP
155822012-02-07 Marek Polacek <polacek@redhat.com>
15583
15584 * math/Makefile (tests): Add tst-CMPLX2.
15585 * math/tst-CMPLX2.c: New file.
15586
cfdc0dd7
AS
155872012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15588
84ba42c4
AS
15589 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15590
cfdc0dd7
AS
15591 * math/libm-test.inc (jn_test): Add missing L suffix.
15592
622c86f4
MP
155932012-02-06 Marek Polacek <polacek@redhat.com>
15594
15595 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15596 * sysdeps/i386/fpu/e_powf.S: Likewise.
15597 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15598 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15599 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15600 * sysdeps/i386/fpu/e_pow.S: Likewise.
15601 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15602 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15603 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15604 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15605 * sysdeps/i386/fpu/e_log2.S: Likewise.
15606 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15607 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15608 * sysdeps/i386/fpu/e_powl.S: Likewise.
15609 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15610 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15611 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15612 * sysdeps/i386/fpu/e_logl.S: Likewise.
15613 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15614 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15615 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15616 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15617 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15618 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15619 * sysdeps/i386/fpu/e_log.S: Likewise.
15620 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15621 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15622 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15623 * sysdeps/i386/fpu/e_logf.S: Likewise.
15624 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15625 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15626 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15627 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15628 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15629 * sysdeps/i386/fpu/e_log10.S: Likewise.
15630 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15631 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15632 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15633 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15634 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15635 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15636 * sysdeps/i386/asm-syntax.h: Likewise.
15637 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15638 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15639 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15640 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15641 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15642 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15643 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15644 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15645 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15646 * sysdeps/powerpc/sysdep.h: Likewise.
15647 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15648 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15649
d4a54ac6
JM
156502012-02-06 Joseph Myers <joseph@codesourcery.com>
15651
15652 [BZ #411]
15653 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15654
314054ea
JM
156552012-02-06 Joseph Myers <joseph@codesourcery.com>
15656
15657 * sysdeps/i386/sysdep.h: Include <features.h>.
15658 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15659 version.
15660
d8e0ca50
JM
156612012-02-05 Joseph Myers <joseph@codesourcery.com>
15662
15663 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15664 Define.
15665 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15666 LOAD_PIC_REG_STR.
15667
b1da7dd9
JM
156682012-02-03 Joseph Myers <joseph@codesourcery.com>
15669
15670 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15671 (SETUP_PIC_REG): Use GET_PC_THUNK.
15672 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15673 macro.
15674
9a1d9254
JM
156752012-02-03 Joseph Myers <joseph@codesourcery.com>
15676
15677 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15678 for non-PIC compilation.
15679 (SETUP_PIC_REG): Add .p2align directive.
15680 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15681 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15682 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15683 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15684 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15685 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15686 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15687 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15688 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15689 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15690 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15691 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15692 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15693 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15694 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15695 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15696 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15697 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15698 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15699 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15700 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15701 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15702 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15703 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15704 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15705 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15706 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15707 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15708 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15709 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15710 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15711 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15712 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15713 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15714 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15715 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15716 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15717 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15718 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15719 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15720 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15721
65dc3b75
JM
157222012-02-03 Joseph Myers <joseph@codesourcery.com>
15723
15724 * math/tst-CMPLX.c: Include <stdio.h>.
15725
d55bf177
JM
157262012-01-31 Joseph Myers <joseph@codesourcery.com>
15727
15728 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15729 float.
15730 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15731 * sysdeps/sparc/bits/mathdef.h: Likewise.
15732
69db4f8f
MP
157332012-01-31 Marek Polacek <polacek@redhat.com>
15734
15735 * libio/libio.h: Don't define _PARAMS.
15736 * locale/programs/config.h: Don't define PARAMS.
15737 * stdlib/strtol_l.c: Likewise.
15738 (__strtol_l): Remove PARAMS from the prototype.
15739
41b81892
UD
157402012-01-31 Ulrich Drepper <drepper@gmail.com>
15741
3b49edc0
UD
15742 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15743 names. Just use the correct names. Remove unnecessary wrapper
15744 functions.
15745 * malloc/arena.c: Likewise.
15746 * malloc/hooks.c: Likewise.
15747
41b81892
UD
15748 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15749 ARENA_TEST says not to. Simplify test for creation of a new arena.
15750 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15751
27a25b6e
UD
157522012-01-30 Ulrich Drepper <drepper@gmail.com>
15753
15754 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15755 into tail calls.
15756 (update_get_addr): New function.
15757 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15758 GET_ADDR_MODULE parameter.
15759
c8a89e7d
JM
157602012-01-30 Joseph Myers <joseph@codesourcery.com>
15761
15762 * crypt/cert.c: Remove __STDC__ conditionals.
15763 * crypt/crypt-entry.c: Likewise.
15764 * crypt/crypt_util.c: Likewise.
15765 * libio/filedoalloc.c: Likewise.
15766 * libio/fileops.c: Likewise.
15767 * libio/genops.c: Likewise.
15768 * libio/iofclose.c: Likewise.
15769 * libio/iofdopen.c: Likewise.
15770 * libio/iofopen.c: Likewise.
15771 * libio/iofopen64.c: Likewise.
15772 * libio/iogetdelim.c: Likewise.
15773 * libio/iopopen.c: Likewise.
15774 * libio/obprintf.c: Likewise.
15775 * libio/oldfileops.c: Likewise.
15776 * libio/oldiofclose.c: Likewise.
15777 * libio/oldiofdopen.c: Likewise.
15778 * libio/oldiofopen.c: Likewise.
15779 * libio/oldiopopen.c: Likewise.
15780 * libio/wfiledoalloc.c: Likewise.
15781 * libio/wgenops.c: Likewise.
15782 * locale/programs/xmalloc.c: Likewise.
15783 * misc/syslog.c: Likewise.
15784 * stdio-common/xbug.c: Likewise.
15785 * string/memchr.c: Likewise.
15786 * string/memcmp.c: Likewise.
15787 * string/memrchr.c: Likewise.
15788 * string/rawmemchr.c: Likewise.
15789 * sysdeps/posix/getcwd.c: Likewise.
15790 * time/strftime_l.c: Likewise.
15791
3b100462
JM
157922012-01-30 Joseph Myers <joseph@codesourcery.com>
15793
15794 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
15795 * config.make.in (config-cflags-sse2avx): Define.
15796 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15797 Fix typo.
15798
607998af
CM
157992012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15800
15801 * scripts/config.guess: Update from upstream config git repository.
15802 * scripts/config.sub: Likewise.
15803
3601428f
CM
158042012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15805
3ac8b282
CM
15806 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15807 (EM_NUM): Update.
15808 (R_TILEPRO_*, R_TILEGX_*): New macros.
15809
e034841e
CM
15810 * scripts/firstversions.awk: Fix bug in version range handling.
15811
540d7568
CM
15812 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15813
3601428f
CM
15814 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15815
463de862
CM
15816 * include/sys/epoll.h: New file.
15817 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15818 libc_hidden_def.
15819
73139a76
UD
158202012-01-28 Ulrich Drepper <drepper@gmail.com>
15821
96bc5b45
UD
15822 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15823 Avoid unnecessary __WORDSIZE == 64 test.
15824 (fmaxf): Use VEX format if possible.
15825 (fmax): Likewise.
15826 (fminf): Likewise.
15827 (fmin): Likewise.
15828
56f6f6a2
UD
15829 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15830 * math/math_private.h: Remove libc_fegetround* and
15831 libc_fesetround*.
15832 * sysdeps/i386/configure.in: Check for -msse2avx.
15833 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15834 also if SSE2AVX is defined.
15835 Remove libc_fegetround* and libc_fesetround*.
15836 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15837 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15838 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15839 of HAS_YMM_USABLE.
15840 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15841 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15842 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15843 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15844 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15845
73139a76
UD
15846 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15847
d73f93a4
AZ
158482012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15849
15850 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15851 size is not set.
15852 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15853
6ee65ed6
UD
158542012-01-27 Ulrich Drepper <drepper@gmail.com>
15855
15856 [BZ #13618]
15857 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15858 relocation.
15859 * Makeconfig (libm): Define.
15860 * elf/Makefile: Add rules to build and run tst-relsort1.
15861 * elf/tst-relsort1.c: New file.
15862 * elf/tst-relsort1mod1.c: New file.
15863 * elf/tst-relsort1mod2.c: New file.
15864
8db21882
JM
158652012-01-27 Joseph Myers <joseph@codesourcery.com>
15866
15867 * math/s_ldexp.c: Remove __STDC__ conditionals.
15868 * math/s_ldexpf.c: Likewise.
15869 * math/s_ldexpl.c: Likewise.
15870 * math/s_nextafter.c: Likewise.
15871 * math/s_nexttowardf.c: Likewise.
15872 * math/s_significand.c: Likewise.
15873 * math/s_significandf.c: Likewise.
15874 * math/s_significandl.c: Likewise.
15875 * math/w_jnl.c: Likewise.
15876 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15877 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15878 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15879 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15880 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15881 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15882 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15883 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15884 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15885 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15886 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15887 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15888 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15889 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15890 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15891 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15892 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15893 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15894 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15895 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15896 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15897 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15898 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15899 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15900 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15901 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15902 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15903 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15904 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15905 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15906 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15907 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15908 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15909 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15910 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15911 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15912 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15913 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15914 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15915 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15916 * sysdeps/ieee754/k_standard.c: Likewise.
15917 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15918 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15919 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15920 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15921 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15922 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15923 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15924 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15925 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15926 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15927 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15928 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15929 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15930 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15931 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15932 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15933 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15934 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15935 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15936 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15937 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15938 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15939 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15940 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15941 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15942 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15943 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15944 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15945 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15946 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15947 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15948 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15949 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15950 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15951 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15952 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15953 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15954 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15955 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15956 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15957 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15958 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15959 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15960 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15961 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15962 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15963 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15964 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15965 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15966 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15967 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15968 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15969 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15970 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15971 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15972 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15973 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15974 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15975 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15976 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15977 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15978 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15979 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15980 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15981 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15982 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15983 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15984 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15985 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15986 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15987 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15988 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15989 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15990 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15991 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15992 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15993 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15994 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15995 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15996 * sysdeps/ieee754/s_matherr.c: Likewise.
15997 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15998 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15999 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16000 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16001
965a54a4
JM
160022012-01-26 Joseph Myers <joseph@codesourcery.com>
16003
16004 * crypt/md5.h: Remove __STDC__ conditionals.
16005 * libio/libioP.h: Likewise.
16006 * locale/programs/config.h: Likewise.
16007 * sysdeps/generic/sysdep.h: Likewise.
16008 * sysdeps/i386/asm-syntax.h: Likewise.
16009 * sysdeps/s390/asm-syntax.h: Likewise.
16010 * sysdeps/unix/sysdep.h: Likewise.
16011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16013
7071ad79
JM
160142012-01-26 Joseph Myers <joseph@codesourcery.com>
16015
16016 * libio/libio.h: Remove __STDC__ conditionals.
16017 * malloc/obstack.h: Likewise.
16018 * math/complex.h: Likewise.
16019 * math/math.h: Likewise.
16020 * sysdeps/generic/_G_config.h: Likewise.
16021 * sysdeps/gnu/_G_config.h: Likewise.
16022 * sysdeps/mach/hurd/_G_config.h: Likewise.
16023 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16024 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16025 * sysdeps/sparc/bits/mathdef.h: Likewise.
16026
afc5ed09
UD
160272012-01-26 Ulrich Drepper <drepper@gmail.com>
16028
16029 [BZ #13583]
16030 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 16031 Clean up HAS_* macros.
afc5ed09 16032 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
16033 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16034 possible.
16035 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16036 HAS_AVX.
16037 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16038 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16039 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16040 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16041 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 16042
bdb6de1d
JM
160432012-01-25 Joseph Myers <joseph@codesourcery.com>
16044
16045 * elf/tst-unique3.cc (gets): Remove declaration.
16046 * elf/tst-unique3lib.cc (gets): Likewise.
16047 * elf/tst-unique3lib2.cc (gets): Likewise.
16048 * elf/tst-unique4.cc (gets): Likewise.
16049
b15549e6
UD
160502012-01-24 Ulrich Drepper <drepper@gmail.com>
16051
16052 * include/stdio.h: Add C++ protection. Add gets declarations and
16053 definitions.
16054 * debug/tst-chk1.c: Don't declare gets here.
16055 * stdio-common/tst-gets.c: Likewise.
16056
a037381f
JM
160572012-01-24 Joseph Myers <joseph@codesourcery.com>
16058
16059 * posix/glob: Remove directory.
16060
f1d4aa75
JM
160612012-01-24 Joseph Myers <joseph@codesourcery.com>
16062
16063 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16064
81c0c964
PT
160652012-01-22 Pino Toscano <toscano.pino@tiscali.it>
16066
16067 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16068 of the non-standard EPFNOSUPPORT.
16069
0ea698ae
ST
160702011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
16071
16072 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16073 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16074 ANYWHERE set to 1 only on KERN_NO_SPACE error.
16075
d220b117
UD
160762012-01-21 Ulrich Drepper <drepper@gmail.com>
16077
16078 * wcsmbs/uchar.h: Test __STDC_VERSION__.
16079
3e1aa84e
UD
160802012-01-20 Ulrich Drepper <drepper@gmail.com>
16081
16082 * nscd/aicache.c (addhstaiX): Do not cache negative results of
16083 transient errors.
16084 * nscd/grpcache.c (cache_addgr): Likewise.
16085 * nscd/hstcache.c (cache_addhst): Likewise.
16086 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16087 * nscd/pwdcache.c (cache_addpw): Likewise.
16088 * nscd/servicescache.c (cache_addserv): Likewise.
16089
400aa020
UD
160902012-01-16 Ulrich Drepper <drepper@gmail.com>
16091
d77e7869
UD
16092 * malloc/malloc.c: Various cleanups.
16093 * malloc/hooks.c: Likewise.
16094
400aa020
UD
16095 * stdlib/Makefile (tests): Add bug-fmtmsg1.
16096 * stdlib/bug-fmtmsg1.c: New file.
16097
16098 * stdlib/fmtmsg.c (init): Add missing unlock.
16099 Patch by Peng Haitao <penght@cn.fujitsu.com>.
16100
e0a309cf
MP
161012012-01-12 Marek Polacek <polacek@redhat.com>
16102
16103 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16104 and _GNU_SOURCE.
16105
929d11c7
WS
161062012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16107
16108 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16109 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16110 macro to ensure uniqueness of label name.
16111 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16112 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16113
41d0e869
UD
161142012-01-11 Ulrich Drepper <drepper@gmail.com>
16115
0cc5ed3b
UD
16116 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16117
41d0e869
UD
16118 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16119 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16120 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16121 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16122
a47a831a
UD
161232012-01-10 Ulrich Drepper <drepper@gmail.com>
16124
daa891c0
UD
16125 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16126
16127 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16128 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16129 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16130
e58ef0f2
UD
16131 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16132
a47a831a 16133 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
16134 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16135 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 16136 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
16137
16138 * math/bits/math-finite.h: Add ldexp support.
16139
a0bfc9c7
MP
161402012-01-10 Marek Polacek <polacek@redhat.com>
16141
16142 * locale/programs/localedef.h (show_archive_content): Add noreturn
16143 attribute.
16144
d6e97a1d
UD
161452012-01-09 Ulrich Drepper <drepper@gmail.com>
16146
16147 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16148
d5835c26
UD
161492012-01-08 Ulrich Drepper <drepper@gmail.com>
16150
e5f484c6
UD
16151 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16152
d5835c26
UD
16153 * io/Makefile (headers): Add bits/poll2.h.
16154
d1f741e9
WS
161552011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16156
16157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16158 typo #include statement.
16159
ec09c1c4
UD
161602012-01-08 Ulrich Drepper <drepper@gmail.com>
16161
16162 * include/sys/cdefs.h: Define __attribute_alloc_size.
16163 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16164 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16165 * elf/pldd.c: Likewise.
16166 * iconv/iconv_charmap.c: Likewise.
16167 * iconv/iconvconfig.c: Likewise.
16168 * iconv/strtab.c: Likewise.
16169 * locale/programs/locale.c: Likewise.
16170 * locale/programs/localedef.h: Likewise.
16171 * locale/programs/simple-hash.c: Likewise.
16172 * nscd/nscd.h: Likewise.
16173 * nss/makedb.c: Likewise.
16174 * sysdeps/generic/ldconfig.h: Likewise.
16175 * locale/programs/localedef.c: Remove xmalloc prototype.
16176 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16177
20b38e03
PP
161782012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16179
16180 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16181 appropriate.
16182
a0da5fe1
UD
161832012-01-08 Ulrich Drepper <drepper@gmail.com>
16184
1d5a644a 16185 * math/Makefile (tests): Add tst-CMPLX.
669704fd 16186 * math/tst-CMPLX.c: New file.
1d5a644a 16187
8784a6db
UD
16188 * math/complex.h (CMPLXL): Fix typo.
16189
d9a216c0
UD
16190 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16191 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16192 GLIBC_2.16.
16193 * debug/tst-chk1.c: Add poll and ppoll tests.
16194 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16195 * include/sys/poll.h: Add hidden proto for ppoll.
16196 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16197 * sysdeps/mach/hurd/ppoll.c: Likewise.
16198 * io/ppoll.c: Likewise.
16199 * debug/poll_chk.c: New file.
16200 * debug/ppoll_chk.c: New file.
16201 * include/bits/poll2.h: New file.
16202 * io/bits/poll2.h: New file.
16203
ac097f5c
UD
16204 [BZ #1350]
16205 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16206
2119dcfa
UD
16207 * configure.in: static is always set to yes. Remove.
16208 * config.make.in: Don't set build-static.
16209 * Makeconfig: Remove use of build-static.
16210 * dlfcn/Makefile: Likewise.
16211 * elf/Makefile: Likewise.
16212 * math/Makefile: Likewise.
16213 * misc/Makefile: Likewise.
16214 * nptl/Makefile: Likewise.
16215 * sysdeps/mach/hurd/Makefile: Likewise.
16216
121766a9
UD
16217 * configure.in: PWD_P is not used anymore.
16218 * config.make.in: Remove PWD_P entry.
16219
51a1d39c 16220 * configure.in: Remove last remnants of RANLIB.
8720d066 16221 No need to check for signed size_t anymore.
215f4bdc
UD
16222 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16223 and IA-64.
3857022a 16224 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
16225 * aclocal.m4: Likewise.
16226
d3ed7225
UD
16227 * wcsmbs/mbrtoc16.c: Implement using towc function.
16228 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16229 * wcsmbs/wcsmbsload.c: Likewise.
16230 * iconv/gconv_simple.c: Likewise.
16231 * iconv/gconv_int.h: Likewise.
16232 * iconv/gconv_builtin.h: Likewise.
16233 * iconv/iconv_prog.c: Remove CHAR16 handling.
16234
16235 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16236
16237 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16238
a0da5fe1
UD
16239 * configure.in: Remove --with-elf and --enable-bounded options.
16240 Dont set base_machine for ia64. More non-ELF conditions removed.
16241 Remove testing and setting of leading underscore information.
16242 * config.make.in (build-bounded): Set to no.
16243 * config.h.in: Remove NO_UNDERSCORES entry.
16244 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16245 them.
16246 * csu/start.c: Remove !NO_UNDERSCORE code.
16247 * locale/localeinfo.h: Likewise.
16248 * sysdeps/generic/machine-gmon.h: Likewise.
16249 * sysdeps/generic/sysdep.h: Likewise.
16250 * sysdeps/i386/sysdep.h: Likewise.
16251 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16252 * sysdeps/mach/sysdep.h: Likewise.
16253 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16254 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16255 * sysdeps/sh/sysdep.h: Likewise.
16256 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16257 * sysdeps/unix/i386/sysdep.S: Likewise.
16258 * sysdeps/unix/sparc/start.c: Likewise.
16259 * sysdeps/unix/sparc/sysdep.S: Likewise.
16260 * sysdeps/unix/sparc/sysdep.h: Likewise.
16261 * sysdeps/unix/start.c: Likewise.
16262 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16263 * sysdeps/x86_64/sysdep.h: Likewise.
16264
df78418a
UD
162652012-01-07 Ulrich Drepper <drepper@gmail.com>
16266
a784e502
UD
16267 [BZ #13553]
16268 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16269 for non-gcc.
16270 * argp/argp-fmtstream.h: Use const instead __const.
16271 * argp/argp.h: Likewise.
16272 * assert/assert.h: Likewise.
16273 * bits/fenv.h: Likewise.
16274 * bits/sched.h: Likewise.
16275 * bits/sigset.h: Likewise.
16276 * bits/sigthread.h: Likewise.
16277 * catgets/nl_types.h: Likewise.
16278 * conform/data/pthread.h-data: Likewise.
16279 * crypt/crypt-private.h: Likewise.
16280 * crypt/crypt.h: Likewise.
16281 * crypt/crypt_util.c: Likewise.
16282 * ctype/ctype.h: Likewise.
16283 * debug/execinfo.h: Likewise.
16284 * debug/mbsnrtowcs_chk.c: Likewise.
16285 * debug/mbsrtowcs_chk.c: Likewise.
16286 * debug/wcsnrtombs_chk.c: Likewise.
16287 * debug/wcsrtombs_chk.c: Likewise.
16288 * debug/wcstombs_chk.c: Likewise.
16289 * dirent/dirent.h: Likewise.
16290 * dlfcn/dlfcn.h: Likewise.
16291 * elf/neededtest4.c: Likewise.
16292 * grp/grp.h: Likewise.
16293 * gshadow/gshadow.h: Likewise.
16294 * iconv/gconv.h: Likewise.
16295 * iconv/gconv_int.h: Likewise.
16296 * iconv/gconv_simple.c: Likewise.
16297 * iconv/iconv.h: Likewise.
16298 * iconv/loop.c: Likewise.
16299 * iconv/skeleton.c: Likewise.
16300 * include/aio.h: Likewise.
16301 * include/aliases.h: Likewise.
16302 * include/argz.h: Likewise.
16303 * include/arpa/inet.h: Likewise.
16304 * include/assert.h: Likewise.
16305 * include/dirent.h: Likewise.
16306 * include/dlfcn.h: Likewise.
16307 * include/execinfo.h: Likewise.
16308 * include/fcntl.h: Likewise.
16309 * include/fenv.h: Likewise.
16310 * include/glob.h: Likewise.
16311 * include/grp.h: Likewise.
16312 * include/libintl.h: Likewise.
16313 * include/mntent.h: Likewise.
16314 * include/netdb.h: Likewise.
16315 * include/pwd.h: Likewise.
16316 * include/rpc/netdb.h: Likewise.
16317 * include/sched.h: Likewise.
16318 * include/search.h: Likewise.
16319 * include/shadow.h: Likewise.
16320 * include/signal.h: Likewise.
16321 * include/stdio.h: Likewise.
16322 * include/stdlib.h: Likewise.
16323 * include/string.h: Likewise.
16324 * include/sys/socket.h: Likewise.
16325 * include/sys/stat.h: Likewise.
16326 * include/sys/statfs.h: Likewise.
16327 * include/sys/statvfs.h: Likewise.
16328 * include/sys/syslog.h: Likewise.
16329 * include/sys/time.h: Likewise.
16330 * include/sys/uio.h: Likewise.
16331 * include/time.h: Likewise.
16332 * include/unistd.h: Likewise.
16333 * include/utmp.h: Likewise.
16334 * include/wchar.h: Likewise.
16335 * include/wctype.h: Likewise.
16336 * inet/aliases.h: Likewise.
16337 * inet/arpa/inet.h: Likewise.
16338 * inet/netinet/ether.h: Likewise.
16339 * inet/netinet/in.h: Likewise.
16340 * intl/libintl.h: Likewise.
16341 * io/bits/fcntl2.h: Likewise.
16342 * io/fcntl.h: Likewise.
16343 * io/ftw.h: Likewise.
16344 * io/sys/poll.h: Likewise.
16345 * io/sys/stat.h: Likewise.
16346 * io/sys/statfs.h: Likewise.
16347 * io/sys/statvfs.h: Likewise.
16348 * io/utime.h: Likewise.
16349 * libio/bits/stdio.h: Likewise.
16350 * libio/bits/stdio2.h: Likewise.
16351 * libio/libio.h: Likewise.
16352 * libio/libioP.h: Likewise.
16353 * libio/stdio.h: Likewise.
16354 * locale/lc-ctype.c: Likewise.
16355 * locale/locale.h: Likewise.
16356 * login/utmp.h: Likewise.
16357 * malloc/arena.c: Likewise.
16358 * malloc/malloc.c: Likewise.
16359 * malloc/malloc.h: Likewise.
16360 * malloc/mcheck.c: Likewise.
16361 * malloc/mtrace.c: Likewise.
16362 * math/bits/mathcalls.h: Likewise.
16363 * math/fenv.h: Likewise.
16364 * math/math_private.h: Likewise.
16365 * misc/bits/error.h: Likewise.
16366 * misc/bits/syslog.h: Likewise.
16367 * misc/err.h: Likewise.
16368 * misc/error.h: Likewise.
16369 * misc/fstab.h: Likewise.
16370 * misc/mntent.h: Likewise.
16371 * misc/regexp.h: Likewise.
16372 * misc/search.h: Likewise.
16373 * misc/sgtty.h: Likewise.
16374 * misc/sys/mman.h: Likewise.
16375 * misc/sys/syslog.h: Likewise.
16376 * misc/sys/uio.h: Likewise.
16377 * misc/sys/xattr.h: Likewise.
16378 * misc/ttyent.h: Likewise.
16379 * nis/rpcsvc/ypclnt.h: Likewise.
16380 * nss/nss.h: Likewise.
16381 * posix/bits/unistd.h: Likewise.
16382 * posix/fnmatch.h: Likewise.
16383 * posix/glob.h: Likewise.
16384 * posix/sched.h: Likewise.
16385 * posix/spawn.h: Likewise.
16386 * posix/sys/wait.h: Likewise.
16387 * posix/unistd.h: Likewise.
16388 * posix/wordexp.h: Likewise.
16389 * pwd/pwd.h: Likewise.
16390 * resolv/netdb.h: Likewise.
16391 * resource/sys/resource.h: Likewise.
16392 * rt/aio.h: Likewise.
16393 * rt/bits/mqueue2.h: Likewise.
16394 * rt/mqueue.h: Likewise.
16395 * shadow/shadow.h: Likewise.
16396 * signal/signal.h: Likewise.
16397 * socket/send.c: Likewise.
16398 * socket/sendto.c: Likewise.
16399 * socket/sys/socket.h: Likewise.
16400 * stdio-common/printf.h: Likewise.
16401 * stdlib/bits/stdlib.h: Likewise.
16402 * stdlib/fmtmsg.h: Likewise.
16403 * stdlib/monetary.h: Likewise.
16404 * stdlib/stdlib.h: Likewise.
16405 * stdlib/ucontext.h: Likewise.
16406 * streams/stropts.h: Likewise.
16407 * string/argz.h: Likewise.
16408 * string/bits/string2.h: Likewise.
16409 * string/string.h: Likewise.
16410 * string/strings.h: Likewise.
16411 * sunrpc/rpc/auth.h: Likewise.
16412 * sunrpc/rpc/auth_des.h: Likewise.
16413 * sunrpc/rpc/clnt.h: Likewise.
16414 * sunrpc/rpc/netdb.h: Likewise.
16415 * sunrpc/rpc/pmap_clnt.h: Likewise.
16416 * sunrpc/rpc/xdr.h: Likewise.
16417 * sysdeps/generic/inttypes.h: Likewise.
16418 * sysdeps/generic/net/if.h: Likewise.
16419 * sysdeps/generic/sys/swap.h: Likewise.
16420 * sysdeps/gnu/net/if.h: Likewise.
16421 * sysdeps/gnu/utmpx.h: Likewise.
16422 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16423 * sysdeps/i386/i486/bits/string.h: Likewise.
16424 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16425 * sysdeps/s390/bits/string.h: Likewise.
16426 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16427 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16428 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16429 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16430 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16431 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16432 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16433 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16434 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16435 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16436 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16437 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16438 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16439 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16440 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16441 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16442 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16443 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16444 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16445 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16446 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16447 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16448 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16449 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16450 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16451 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16452 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16453 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16454 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16455 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16456 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16457 * sysvipc/sys/ipc.h: Likewise.
16458 * sysvipc/sys/msg.h: Likewise.
16459 * sysvipc/sys/sem.h: Likewise.
16460 * sysvipc/sys/shm.h: Likewise.
16461 * termios/termios.h: Likewise.
16462 * time/sys/time.h: Likewise.
16463 * time/time.h: Likewise.
16464 * wcsmbs/bits/wchar2.h: Likewise.
16465 * wcsmbs/uchar.h: Likewise.
16466 * wcsmbs/wchar.h: Likewise.
16467 * wctype/wctype.h: Likewise.
16468
0269750c
UD
16469 [BZ #13551]
16470 * Makeconfig: Remove all but ELF support including AIX support.
16471 * Makerules: Likewise.
16472 * config.h.in: Likewise.
16473 * config.make.in: Likewise.
16474 * configure: Likewise.
16475 * configure.in: Likewise.
16476 * csu/Makefile: Likewise.
16477 * csu/version.c: Likewise.
16478 * debug/Makefile: Likewise.
16479 * dlfcn/Makefile: Likewise.
16480 * elf/Makefile: Likewise.
16481 * extra-lib.mk: Likewise.
16482 * iconv/Makefile: Likewise.
16483 * include/libc-symbols.h: Likewise.
16484 * include/shlib-compat.h: Likewise.
16485 * resolv/Makefile: Likewise.
16486 * resolv/res_libc.c: Likewise.
16487 * rt/Makefile: Likewise.
16488 * sysdeps/i386/asm-syntax.h: Likewise.
16489 * sysdeps/i386/sysdep.h: Likewise.
16490 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16491 * sysdeps/mach/sysdep.h: Likewise.
16492 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16493 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16494 * sysdeps/s390/asm-syntax.h: Likewise.
16495 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16496 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16497 * sysdeps/sh/sysdep.h: Likewise.
16498 * sysdeps/unix/sparc/sysdep.h: Likewise.
16499 * sysdeps/wordsize-32/divdi3.c: Likewise.
16500 * sysdeps/x86_64/sysdep.h: Likewise.
16501
00bbd29b
UD
16502 * argp/Versions: Remove _argp_unlock_xxx.
16503
16504 [BZ #13559]
16505 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16506 * abilist/libBrokenLocale.abilist: Likewise.
16507 * abilist/libanl.abilist: Likewise.
16508 * abilist/libc.abilist: Likewise.
16509 * abilist/libcrypt.abilist: Likewise.
16510 * abilist/libdl.abilist: Likewise.
16511 * abilist/libm.abilist: Likewise.
16512 * abilist/libnsl.abilist: Likewise.
16513 * abilist/libpthread.abilist: Likewise.
16514 * abilist/libresolv.abilist: Likewise.
16515 * abilist/librt.abilist: Likewise.
16516 * abilist/libthread_db.abilist: Likewise.
16517 * abilist/libutil.abilist: Likewise.
16518 * abilist/libnss_db.abilist: New file.
16519
16520 * scripts/abilist.awk: Add support for indirect functions.
16521
a2693a0e
UD
16522 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16523
3f05895f
UD
16524 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16525
ecb6fb48
UD
16526 * shlib-versions: Remove entries for ports architectures.
16527
664f8cb9
UD
16528 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16529 files in ports.
16530 * elf/stackguard-macros.h: Remove support for IA-64.
16531 * elf/tst-auditmod1.c: Likewise.
16532 * sysdeps/generic/ldsodefs.h: Likewise.
16533
7ae81d88
UD
16534 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16535 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16536 configure files.
16537
bdeba135
UD
16538 [BZ #13552]
16539 * configure.in: Remove --enable-omitfp support.
16540 * FAQ.in: Adjust.
16541 * config.make.in: Likewise.
16542 * Makeconfig: Likewise.
16543 * manual/install.texi: Likewise.
16544
d75a0a62
UD
16545 In case anyone cares, the IA-64 architecture could move to ports.
16546 * sysdeps/ia64/*: Removed.
16547 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 16548 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 16549
dcc9756b
UD
16550 [BZ #13555]
16551 * configure.in: Remove entries for unsupported architectures.
16552
d3761ebc 16553 [BZ #13533]
9954432e
UD
16554 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16555 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16556 routines.
16557 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16558 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16559 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16560 fall back to using wcrtomb.
16561 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16562 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16563 renaming.
16564 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16565 * wcsmbs/tst-c16c32-1.c: New file.
16566
16567 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16568 local variable.
16569
c3a87236
UD
16570 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16571
28926a1b
UD
16572 * elf/tst-unique3.cc: Add explicit declaration of gets.
16573 * elf/tst-unique3lib.cc: Likewise.
16574 * elf/tst-unique3lib2.cc: Likewise.
16575 * elf/tst-unique4.cc: Likewise.
16576
df78418a
UD
16577 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16578
8ecd6b2a
JM
165792012-01-06 Joseph Myers <joseph@codesourcery.com>
16580
16581 [BZ #13566]
16582 * assert/assert.h (static_assert): Don't define for C++.
16583 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16584 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16585
9f115170
UD
165862012-01-03 Ulrich Drepper <drepper@gmail.com>
16587
5e0d0300
UD
16588 * iconv/loop.c (single loop): Fix assertion in storing of
16589 remaining bytes.
16590
9f115170
UD
16591 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16592
81fb02b0
UD
165932012-01-01 Ulrich Drepper <drepper@gmail.com>
16594
16595 * posix/getconf.c: Update copyright year.
16596 * nss/getent.c: Likewise.
a316c1f6 16597 * nss/makedb.c: Likewise.
81fb02b0
UD
16598 * iconv/iconvconfig.c: Likewise.
16599 * iconv/iconv_prog.c: Likewise.
16600 * elf/ldconfig.c: Likewise.
a316c1f6
UD
16601 * elf/pldd.c: Likewise.
16602 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
16603 * catgets/gencat.c: Likewise.
16604 * csu/version.c: Likewise.
16605 * elf/ldd.bash.in: Likewise.
16606 * elf/sprof.c (print_version): Likewise.
16607 * locale/programs/locale.c: Likewise.
16608 * locale/programs/localedef.c: Likewise.
a316c1f6 16609 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
16610 * nscd/nscd.c (print_version): Likewise.
16611 * debug/xtrace.sh: Likewise.
16612 * malloc/memusage.sh: Likewise.
16613 * malloc/mtrace.pl: Likewise.
16614 * debug/catchsegv.sh: Likewise.
16615
2ba92745
JJ
166162011-12-30 Jakub Jelinek <jakub@redhat.com>
16617
16618 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16619 pure attribute.
16620
dadebdae
UD
166212011-12-24 Ulrich Drepper <drepper@gmail.com>
16622
d3761ebc 16623 [BZ #13533]
db6af3eb
UD
16624 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16625 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16626 transformations.
16627 * iconv/gconv_int.h: Likewise.
16628 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16629 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16630 from libc for GLIBC_2.16.
16631 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16632 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16633 * wcsmbs/uchar.h: Really define mbstate_t.
16634 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16635 * wcsmbs/c16rtomb.c: New file.
16636 * wcsmbs/mbrtoc16.c: New file.
16637 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16638 for C/POSIX locale.
16639 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16640 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16641
dadebdae
UD
16642 * wcsmbs/wchar.h: Add missing __restrict.
16643
67371b56
UD
166442011-12-23 Ulrich Drepper <drepper@gmail.com>
16645
74033a25
UD
16646 [BZ #13532]
16647 * time/Makefile (routines): Add timespec_get.
16648 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16649 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16650 timespec for ISO C11.
16651 * time/timespec_get.c: New file.
16652 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16653 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16654
380d7e87
UD
16655 [BZ #13531]
16656 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16657 * stdlib/stdlib.h: Declare aligned_alloc.
16658 * Versions.def: Add GLIBC_2.16 for libc.
16659 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16660
4e9e7a35
UD
16661 [BZ 13527]
16662 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16663 ISO C11.
16664
380d7e87 16665 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
16666 code.
16667
03a71829
UD
16668 [BZ #13528]
16669 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16670
839e283e
UD
16671 [BZ #13529]
16672 * assert/assert.h (static_assert): Define.
16673
ce5294e2 16674 * version.h: Update for 2.16 development version.
90fa7312 16675
8d44e150 16676 [BZ #13526]
d7809905
UD
16677 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16678 _ISOC11_SOURCE.
16679
c0da14cd
UD
16680 * version.h (RELEASE): Bump for 2.15 release.
16681 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16682
530a3249
MP
16683 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16684 Patch by Marek Polacek <mpolacek@redhat.com>.
16685
67371b56
UD
16686 * bits/byteswap.h: Protect long long constants with __extension__.
16687 * sysdeps/i386/bits/byteswap.h: Likewise.
16688 * sysdeps/ia64/bits/byteswap.h: Likewise.
16689 * sysdeps/s390/bits/byteswap.h: Likewise.
16690 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16691
15db4de1
LD
166922011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16693
16694 [BZ #13540]
bbe315ea
LD
16695 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16696 destination buffer.
15db4de1
LD
16697 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16698
2b2596b1
MP
166992011-12-23 Marek Polacek <polacek@redhat.com>
16700
16701 * elf/dl-addr.c (determine_info): Add inline keyword.
16702 * elf/tst-auditmod4b.c (check_avx): Likewise.
16703 * elf/tst-auditmod6b.c (check_avx): Likewise.
16704 * elf/tst-auditmod6c.c (check_avx): Likewise.
16705 * elf/tst-auditmod7b.c (check_avx): Likewise.
16706
70c6c246
UD
167072011-12-23 Ulrich Drepper <drepper@gmail.com>
16708
16709 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16710 !__SSE_MATH__.
16711
c044cf14
LD
167122011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16713
15db4de1 16714 [BZ #13540]
c044cf14
LD
16715 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16716 processing for last bytes.
16717
6b13d9d9
BH
167182011-08-06 Bruno Haible <bruno@clisp.org>
16719
d455f537
BH
16720 [BZ #13061]
16721 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16722 U+0385, not to U+1FEE.
16723
6b13d9d9
BH
16724 [BZ #13062]
16725 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16726 entry for U+00A5 U+0301.
16727
db910efd
UD
167282011-12-22 Ulrich Drepper <drepper@gmail.com>
16729
27deeafc
UD
16730 [BZ #13166]
16731 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16732 buffer for the output is too small.
16733
aed9d171
UD
16734 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16735 optimization.
16736
db910efd
UD
16737 [BZ #13185]
16738 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16739 SSE flags if possible.
16740
2bd779ae
LD
167412011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16742
e7f9dac3 16743 [BZ #13540]
2bd779ae
LD
16744 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16745 processing for last bytes.
16746
154bfc16
JM
167472011-12-22 Joseph Myers <joseph@codesourcery.com>
16748
16749 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16750 (syscall-list-default-options, syscall-list-default-condition)
16751 (syscall-list-includes): Define.
16752 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16753 list of ABIs and options and #if conditions for each ABI. Do not
16754 handle common syscalls between ABIs specially.
16755 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16756 Remove.
16757 (syscall-list-variants, syscall-list-32bit-options)
16758 (syscall-list-32bit-condition, syscall-list-64bit-options)
16759 (syscall-list-64bit-condition): Define.
16760 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16761 (syscall-list-variants, syscall-list-32bit-options)
16762 (syscall-list-32bit-condition, syscall-list-64bit-options)
16763 (syscall-list-64bit-condition): Define.
16764 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16765 Remove.
16766 (syscall-list-variants, syscall-list-32bit-options)
16767 (syscall-list-32bit-condition, syscall-list-64bit-options)
16768 (syscall-list-64bit-condition): Define.
16769 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16770 Remove.
16771 (syscall-list-variants, syscall-list-32bit-options)
16772 (syscall-list-32bit-condition, syscall-list-64bit-options)
16773 (syscall-list-64bit-condition): Define.
16774
21eaf3a5
UD
167752011-12-22 Ulrich Drepper <drepper@gmail.com>
16776
16c6f992
UD
16777 * locale/iso-639.def: Add brx entry.
16778
41043168
UD
16779 [BZ #13328]
16780 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16781 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16782
21eaf3a5
UD
16783 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16784 __feraiseexcept_renamed.
16785
e3a851a2
UD
167862011-12-21 Ulrich Drepper <drepper@gmail.com>
16787
4920765e
UD
16788 [BZ #13538]
16789 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16790 EPOLLET with unsigned values.
16791 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16792 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16793
e3a851a2
UD
16794 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16795 to large cancellation.
16796 * math/s_cacoshf.c: Likewise.
16797 * math/s_cacoshl.c: Likewise.
16798
b27e24b8
RK
167992011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16800
16801 [BZ #13305]
aebefeee 16802 [BZ #12786]
b27e24b8
RK
16803 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16804 * math/s_cacoshf.c: Likewise.
16805 * math/s_cacoshl.c: Likewise.
16806
ee190f67
UD
168072011-12-21 Ulrich Drepper <drepper@gmail.com>
16808
16809 [BZ #13439]
16810 * iconv/gconv.h: Define __GCONV_SWAP.
16811 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16812 * iconvdata/utf-16.c: Likewise.
16813 * iconvdata/utf-32.c: Likewise.
16814
707f25df
AS
168152011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16816
16817 [BZ #13524]
16818 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16819 numerator after shifting it by one limb.
16820
d2daaa1e
RÁE
168212011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16822
16823 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16824 under [__USE_EXTERN_INLINES].
16825
a4647e72
UD
168262011-12-17 Ulrich Drepper <drepper@gmail.com>
16827
16828 [BZ #13446]
16829 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16830
f0b264f1
AZ
168312011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16832
16833 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16834 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16835 optimized code.
16836 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16837 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16838 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16839 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16840 for strncasecmp/strncasecmp_l compilation.
16841 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16842 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16843
8ef4f244
MP
168442011-12-08 Marek Polacek <mpolacek@redhat.com>
16845
16846 [BZ #13484]
16847 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16848 of __asm__.
16849
97ac2654
UD
168502011-12-17 Ulrich Drepper <drepper@gmail.com>
16851
16852 [BZ #13506]
16853 * time/tzfile.c (__tzfile_read): Check values from file header.
16854
91d2a845
WS
168552011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16856
16857 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16858 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16859 * powerpc/powerpc32/dl-start.S: Likewise.
16860 * powerpc/powerpc32/elf/start.S: Likewise.
16861 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16862 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16863 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16864 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16865 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16866 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16867 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16868 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16869 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16870 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16871 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16872 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16873 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16874 * powerpc/powerpc32/memset.S: Likewise.
16875 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16876 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16877 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16878 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16879 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16880 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16881 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16882 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16883 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16884 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16885 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16886 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16887 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16888
a1267ba1
AZ
168892011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16890
16891 * math/libm-test.inc: Added more nearbyint tests.
16892 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16893 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16894 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16895 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16896
ad8ac1bd
RL
168972011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16898
16899 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16900 FD_CLOEXEC.
16901
1d3e4b61
UD
169022011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16903
16904 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16905 Add wcscpy-ssse3 wcscpy-c.
16906 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16907 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16908 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16909 * sysdeps/x86_64/wcschr.S: New file.
16910 * sysdeps/x86_64/wcsrchr.S: New file.
16911 * string/test-strcmp.c: Remove checking of wcscmp function for
16912 wrong alignments.
16913 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16914 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16915 wcsrchr-sse2 wcsrchr-c.
16916 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16917 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16918 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16919 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16920 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16921 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16922 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16923 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16924 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16925 * wcsmbc/wcschr.c (WCSCHR): New macro.
16926
5b330a2d
UD
169272011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16928
16929 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16930 * wcsmbs/test-wcsrchr.c: New file.
16931 * string/test-strrchr.c: Add wcsrchr support.
16932 (WIDE): New macro.
16933 * wcsmbs/test-wcscpy.c: New file.
16934 * string/test-strcpy.c: Add wcscpy support.
16935 (WIDE): New macro.
26428b7c 16936
f039c043
UD
169372011-12-10 Ulrich Drepper <drepper@gmail.com>
16938
16939 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16940 the inner loop.
16941
850fb039
AS
169422011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16943
16944 [BZ #13472]
16945 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16946
4efbd5cb
UD
169472011-12-04 Ulrich Drepper <drepper@gmail.com>
16948
52ff5dd0 16949 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 16950 Minor optimizations.
52ff5dd0 16951
4efbd5cb
UD
16952 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16953 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16954 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16955
8a426e12
UD
169562011-12-03 Ulrich Drepper <drepper@gmail.com>
16957
aff2453d
UD
16958 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16959 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16960 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16961 for gcc to avoid warnings.
16962 * inet/Makefile (tests): Add tst-checks.
16963 * inet/tst-checks.c: New file.
16964
16965 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16966 warning.
16967
16968 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16969 __wmemcmp_sse2.
16970
16971 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16972 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16973
8a426e12
UD
16974 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16975
9bea3473
UD
169762011-12-02 Ulrich Drepper <drepper@gmail.com>
16977
3a965496
UD
16978 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16979 problem.
16980
9bea3473
UD
16981 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16982
f101631b
UD
169832011-11-29 Joseph Myers <joseph@codesourcery.com>
16984
16985 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16986 conditional on GCC version.
16987 (__arch_compare_and_exchange_val_8_acq)
16988 (__arch_compare_and_exchange_val_16_acq)
16989 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16990 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16991 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16992
a98275aa
UD
169932011-12-02 Joseph Myers <joseph@codesourcery.com>
16994
16995 * sysdeps/sh/backtrace.c: New file.
16996
d4cc29a2
AS
169972011-12-02 Andreas Schwab <schwab@redhat.com>
16998
16999 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
17000 parenthesis.
17001
6257af2d
AS
170022011-12-01 Andreas Schwab <schwab@redhat.com>
17003
17004 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17005 falling back to utime.
17006
b5f44c1a
AS
170072011-11-30 Andreas Schwab <schwab@redhat.com>
17008
17009 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17010 expectations for float.
17011
f3a6cc0a
AS
170122011-11-29 Andreas Schwab <schwab@redhat.com>
17013
17014 * locale/weight.h (findidx): Add parameter len.
17015 * locale/weightwc.h (findidx): Likewise.
17016 * posix/fnmatch_loop.c (FCT): Adjust caller.
17017 * posix/regcomp.c (build_equiv_class): Likewise.
17018 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17019 * posix/regexec.c (check_node_accept_bytes): Likewise.
17020 * string/strcoll_l.c (STRCOLL): Likewise.
17021 * string/strxfrm_l.c (STRXFRM): Likewise.
17022
9d65ea3a
UD
170232011-11-17 Ulrich Drepper <drepper@gmail.com>
17024
17025 * Makefile.in: Remove CVSOPT handling.
17026 * configure.in: Remove use of AC_REVISION.
17027 * iconvdata/Makefile (distribute): No need to filter out CVS.
17028 * scripts/list-sources.sh: Remove CVS, subversion and monotone
17029 handling.
17030
5583a086
AS
170312011-11-16 Andreas Schwab <schwab@redhat.com>
17032
17033 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17034 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17035 [USE_AS_STRNCASECMP_L]: Likewise.
17036 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17037 NO_TLS_DIRECT_SEG_REFS.
17038 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17039 Fix argument offsets for non-PIC.
17040 [USE_AS_STRNCASECMP_L]: Likewise.
17041 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17042 NO_TLS_DIRECT_SEG_REFS.
17043
d62a8200
UD
170442011-11-15 Ulrich Drepper <drepper@gmail.com>
17045
9d65ea3a 17046 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
17047 O_CLOEXEC.
17048 * locale/loadlocale.c (_nl_load_locale): Likewise.
17049
09f93bd3
AS
170502011-11-15 Andreas Schwab <schwab@redhat.com>
17051
446514f9
AS
17052 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17053 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17054 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17055 (SYSCALL_GETTIME): Set errno on error.
17056
09f93bd3
AS
17057 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17058 count references to noai6ai_cached.
17059
312be3f9
UD
170602011-11-15 Ulrich Drepper <drepper@gmail.com>
17061
17062 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17063
17064 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17065 FD_CLOEXEC for /proc/self/maps.
17066
17067 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17068 FD_CLOEXEC for /proc/meminfo.
17069
17070 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17071 gai.conf.
17072
17073 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
17074 FD_CLOEXEC for given file.
17075
17076 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17077
17078 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17079 FD_CLOEXEC for /etc/hosts.
17080 (_gethtent): Likewise.
17081
17082 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17083
17084 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17085 cancellation and set FD_CLOEXEC for /etc/netgroup.
17086
17087 * nss/nss_files/files-key.c (search): Don't allow cancellation when
17088 reading /etc/publickey.
17089
17090 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17091 allow cancellation when reading /etc/group.
17092
17093 * nss/nss_files/files-alias.c (internal_setent): Don't allow
17094 cancellation.
17095 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
17096
17097 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17098 when using data file.
17099
17100 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17101
17102 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17103 (write_nis_obj): Use "c" and "e" in fopen.
17104
17105 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17106
17107 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17108
17109 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17110
17111 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17112
17113 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17114 locale.alias.
17115
17116 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17117
17118 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17119
17120 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17121
17122 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17123 file parsing and set FD_CLOEXEC.
17124
82af0fa8
UD
171252011-11-14 Ulrich Drepper <drepper@gmail.com>
17126
17127 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17128
a5fb313c
AS
171292011-11-14 Andreas Schwab <schwab@redhat.com>
17130
17131 * malloc/arena.c (arena_get2): Don't call reused_arena when
17132 _int_new_arena failed.
17133
6abf3465
UD
171342011-11-14 Ulrich Drepper <drepper@gmail.com>
17135
17136 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17137 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17138 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17139 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17140 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17141 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17142 to compile strcasecmp and strncasecmp.
17143 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17144 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17145
17146 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17147
76e3966e
UD
171482011-11-13 Ulrich Drepper <drepper@gmail.com>
17149
17150 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17151 locale-defines.sym to gen-as-const-headers.
17152 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17153 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17154 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17155 to compile strcasecmp and strncasecmp.
17156 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17157 strcasecmp_l and strncasecmp_l.
17158 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17159 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17160 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17161 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17162 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17163 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17164 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17165 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17166 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17167 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17168 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17169
ab26144e
UD
171702011-11-12 Ulrich Drepper <drepper@gmail.com>
17171
7edb22ef
UD
17172 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17173 result of SYSDEP_GETTIME_CPU to retval.
17174 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17175 parameter list to macro. Remove trailing semicolon. Adjust users.
17176
9694fc44
UD
17177 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17178 variable.
17179
8ad89ef8
UD
17180 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17181 mantissa words.
17182 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17183
0c822ef9
UD
17184 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17185 from unused variable.
17186
874e0564
UD
17187 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17188 DWARF definitions.
17189 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17190 for assembling.
17191
3a2edc79
UD
17192 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17193 over namespaces.
17194
f3c2577f
UD
17195 * sunrpc/rpc_prot.c (rejected): Fix case value.
17196
294ce126
UD
17197 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17198 unsigned long long int to avoid warnings in shift.
17199
5e2b63c6
UD
17200 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17201 of use of trans.
17202 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17203 variable tmp.
17204
e7f4b08e
UD
17205 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17206 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17207 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17208
ab26144e
UD
17209 * nis/nis_table.c (nis_list): Use variable of correct type for
17210 result of __follow_path call.
17211
8a6d5255
AZ
172122011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17213
17214 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17215 of math functions ceil, trunc, floor, round, and sqrt, when
17216 avaliable on the platform.
17217 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17218 name clash.
17219 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17220 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17221 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17222
aaddc98c
MP
172232011-10-30 Marek Polacek <mpolacek@redhat.com>
17224
17225 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17226 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17227
95b7042b
RM
172282011-11-11 Roland McGrath <roland@hack.frob.com>
17229
17230 * include/unistd.h: Fix __readlink return type.
17231 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17232
57769839
UD
172332011-11-11 Ulrich Drepper <drepper@gmail.com>
17234
17235 * stdlib/ucontext.h: Undo last change for makecontext.
17236
edc5984d
AS
172372011-11-11 Andreas Schwab <schwab@redhat.com>
17238
98591e58
AS
17239 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17240
edc5984d
AS
17241 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17242 * setjmp/setjmp.h: Mark functions as non-leaf.
17243 * setjmp/bits/setjmp2.h: Likewise.
17244 * stdlib/ucontext.h: Likewise.
17245
77cdc054
AS
172462011-11-10 Andreas Schwab <schwab@redhat.com>
17247
17248 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17249 (reused_arena): Don't check arena limit.
17250 (arena_get2): Atomically check arena limit.
17251
fe72eebd
UD
172522011-11-08 Ulrich Drepper <drepper@gmail.com>
17253
5f078c32
UD
17254 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17255 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17256
fe72eebd
UD
17257 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17258 instructions.
17259
ae1bc2fa
AS
172602011-11-07 Andreas Schwab <schwab@redhat.com>
17261
7583a88d
AS
17262 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17263 handler when locking.
17264
ae1bc2fa
AS
17265 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17266 Fix size of allocated buffer.
17267
10fb0bfa
AS
172682011-11-04 Andreas Schwab <schwab@redhat.com>
17269
998832a4
AS
17270 [BZ #10103]
17271 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17272 declarations for long double functions.
17273 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17274
10fb0bfa
AS
17275 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17276
3d7ba52b
AS
172772011-11-03 Andreas Schwab <schwab@redhat.com>
17278
a9ae54a1
AS
17279 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17280 installed.
17281
3d7ba52b
AS
17282 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17283 is disabled.
17284
bc8db248
ST
172852011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17286
17287 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17288
45b96dd6
AS
172892011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17290
647776f6
AS
17291 * include/alloca.h (stackinfo_alloca_round): Define.
17292 (extend_alloca): Use it.
17293 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17294 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17295 here.
17296
d91a8b93
AS
17297 * scripts/check-local-headers.sh: Ignore libaudit.h.
17298
45b96dd6
AS
17299 * nscd/Makefile (extra-objs): Make recursively expanded.
17300
432d41ce
UD
173012011-11-01 Ulrich Drepper <drepper@gmail.com>
17302
34372fc6
UD
17303 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17304 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17305
fadb59f8
UD
17306 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17307 * posix/tst-rfc3484-2.c: Likewise.
17308 * posix/tst-rfc3484-3.c: Likewise.
17309
78239589
UD
17310 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17311 process_vm_writev.
17312 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17313 process_vm_writev.
17314 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17315 process_vm_writev from libc using GLIBC_2.15 version.
17316
432d41ce
UD
17317 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17318
02f9c6cf
PP
173192011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17320
17321 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17322 stack usage.
17323
3a2c0242
UD
173242011-10-31 Ulrich Drepper <drepper@gmail.com>
17325
f4ec4833
UD
17326 [BZ #13367]
17327 * nss/getent.c (initgroups_keys): Show error message in case no group
17328 names are given.
17329
3a2c0242
UD
17330 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17331 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17332 __bump_nl_timestamp.
17333 * nscd/connections (nscd_init): When host database is served open
17334 netlink socket and request notification about configuration changes.
17335 (main_loop_poll): Track netlink file descriptor and bump timestamp
17336 in case data becomes available.
17337 (main_loop_epoll): Likewise.
17338 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17339 (database_pers_head): Add extra_data fileds.
17340 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17341 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17342 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17343 Adjust caller.
17344 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17345 in6ai data, call __free_in6ai.
17346 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17347 Add -DHAVE_NETLINK.
17348 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17349 interface information. Reuse previous data if netlink timestamp
17350 is not changed.
17351 (__bump_nl_timestamp): New function.
17352 (__free_in6ai): New function.
17353
636064eb
UD
173542011-10-30 Ulrich Drepper <drepper@gmail.com>
17355
17356 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17357 close_not_cancel_no_status here.
17358 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17359
9beb2334
UD
173602011-10-29 Ulrich Drepper <drepper@gmail.com>
17361
6ef76f3b
UD
17362 [BZ #13276]
17363 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17364 return value.
17365
0ffc4f3e 17366 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
17367 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17368 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17369
cb95113e
UD
173702011-07-03 Andreas Jaeger <aj@suse.de>
17371
17372 [BZ #10709]
17373 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17374 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17375 * math/libm-test.inc (sin_test): Add test case.
17376
a1b560ff
UD
173772011-10-29 Ulrich Drepper <drepper@gmail.com>
17378
c9aaface
UD
17379 [BZ #13337]
17380 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17381 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17382
d272e7f1
UD
17383 * elf/chroot_canon.c (chroot_canon): Cleanups.
17384
1bc33071
UD
17385 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17386
1760874d
TJ
17387 [BZ #13335]
17388 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17389 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17390
51d91b18
UD
17391 * string/test-strchr.c: Make usable for strchrnul testing.
17392 * string/test-strchrnul.c: New file.
17393 * string/Makefile (strop-tests): Add strchrnul.
17394
a1b560ff 17395 * po/it.po: Update from translation team.
b611fb81 17396 * po/es.po: Likewise.
a1b560ff 17397
a5b81e1f
UD
173982011-10-28 Ulrich Drepper <drepper@gmail.com>
17399
fd52bc6d
UD
17400 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17401 the three constants needed as parameters. Drop the others.
17402 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17403 __m128i_strloadu_tolower.
52e4b9eb
UD
17404 Create and initialize variable zero and use it in all the places
17405 where _mm_setzero_si128 was used.
fd52bc6d 17406
a5b81e1f
UD
17407 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17408 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17409 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17410 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17411 anymore.
17412 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17413 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17414 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17415 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17416 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17417 __mpranred, __mptan.
17418 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17419 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17420 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17421 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17422 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17423 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17424 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17425 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17426 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17427
b4343346
AS
174282011-10-28 Andreas Schwab <schwab@redhat.com>
17429
0c92d8a8
AS
17430 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17431 redefine if SHARED.
17432 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17433
b4343346
AS
17434 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17435 wide char related routines to wcsmbs subdir.
17436
3871f58f
AS
174372011-10-27 Andreas Schwab <schwab@redhat.com>
17438
17439 [BZ #13344]
17440 * misc/sys/cdefs.h (__THROWNL): Define.
17441 * posix/unistd.h: Use __THREADNL instead of __THREAD
17442 for memory synchronization functions.
17443
94d44d9f
RM
174442011-10-26 Roland McGrath <roland@hack.frob.com>
17445
21b64b15 17446 [BZ #13349]
94d44d9f
RM
17447 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17448 doesn't exist.
17449 * manual/stdio.texi (Obstack Streams): Node removed.
17450
f6ce9294
AS
174512011-10-26 Andreas Schwab <schwab@redhat.com>
17452
80479147
AS
17453 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17454 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17455 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17456
f6ce9294
AS
17457 * math/math_private.h (math_force_eval): Allow non-addressable
17458 arguments.
17459 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17460
618280a1
UD
174612011-10-25 Ulrich Drepper <drepper@gmail.com>
17462
e0016b11
UD
17463 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17464 file is not needed.
17465
17466 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17467 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17468 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17469 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17470 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17471 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17472 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17473 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17474 Add AVX variants.
17475 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17476 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17477 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17478 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17479 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17480 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17481 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17482 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17483 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17484 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17485 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17486 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17487 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17488 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17489 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17490 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17491 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17492 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17493 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17494
17495 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17496 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17497
618280a1
UD
17498 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17499 place. Use VEX encoding when compiling for AVX.
17500
37822576
AS
175012011-10-25 Andreas Schwab <schwab@redhat.com>
17502
1f1e1947
AS
17503 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17504 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17505
37822576
AS
17506 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17507
31ea014d
UD
175082011-10-25 Ulrich Drepper <drepper@gmail.com>
17509
d7826aa1 17510 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 17511 useless if() expression.
d7826aa1
UD
17512 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17513 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17514 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17515 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17516 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17517 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17518 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17519 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17520 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17521 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17522 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17523 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17524 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17525 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17526 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17527 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17528 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17529 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17530 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17531
31ea014d
UD
17532 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17533
16437fec
AS
175342011-10-25 Andreas Schwab <schwab@redhat.com>
17535
17536 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17537 condition.
17538 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17539
31d3cc00
UD
175402011-10-25 Ulrich Drepper <drepper@gmail.com>
17541
17542 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17543 .text section. Avoid duplicate constants.
17544 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17545 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17546 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17547 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17548 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17549 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17550 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17551 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17552 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17553 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17554 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17555 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17556 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17557 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17558 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17559 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17560 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17561 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17562 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17563 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17564 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17565 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17566 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17567 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17568 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17569 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17570 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17571 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17572 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17573 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17574 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17575 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17576 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17577 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17578 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17579 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17580 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17581 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17582 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17583 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17584 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17585 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17586 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17587 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17588 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17589
58985aa9
UD
175902011-10-24 Ulrich Drepper <drepper@gmail.com>
17591
202c9deb
UD
17592 * sysdeps/x86_64/dla.h: Move to ...
17593 * sysdeps/x86_64/fpu/dla.h: ...here.
17594 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17595 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 17596
af968f62
UD
17597 * config.make.in: Add have-mfma4 entry.
17598 * configure.in: Substitute libc_cv_cc_fma4.
17599 * math/Makefile (dbl-only-routines): Add sincostab.
17600 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17601 Use __sincostab not sincos.
17602 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17603 name is a macro.
17604 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17605 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17606 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17607 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17608 using __copysign.
17609 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17610 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17611 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17612 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17613 and __inv.
17614 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17615 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17616 __copysign.
17617 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17618 define aliases when function name is a macro.
17619 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17620 sysdeps/ieee754/dbl-64/sincos.tbl.
17621 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17622 fma4-enabled routines.
17623 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17624 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17625 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17626 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17627 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17628 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17629 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17630 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17631 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17632 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17633 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17634 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17635 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17636 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17637 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17638 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17639 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17640 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17641 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17642 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17643 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17644 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17645 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17646 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17647 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17648 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17649 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17650 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17651 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17652 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17653
58985aa9
UD
17654 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17655 rename.
17656 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17657 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17658 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17659 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17660 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17661 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17662 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17663 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17664
a201fbcf
AS
176652011-10-24 Andreas Schwab <schwab@redhat.com>
17666
17667 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17668
fc2ee42a
LD
176692011-10-23 Ulrich Drepper <drepper@gmail.com>
17670
bb3129bd
UD
17671 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17672
0275fff8
UD
17673 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17674 prediction.
17675 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17676
2fa2ae85
UD
17677 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17678 Remove unused variable magic_bits.
17679 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17680
fc2ee42a
LD
17681 * string/strnlen.c: Define and use STRNLEN macro.
17682 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17683 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17684 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17685 * wcsmbs/wcslen.c: Define and use WCSLEN.
17686 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17687 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17688 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17689 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17690 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17691 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17692 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17693
ce7dd29f
LD
176942011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17695
17696 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17697 strnlen-sse2-no-bsf.
17698 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17699 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17700 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17701 Add strnlen support.
17702 (USE_AS_STRNLEN): New macro.
17703 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17704 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17705 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17706 * sysdeps/x86_64/wcslen.S: New file.
17707
979c70a3
MZ
177082011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17709
17710 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17711 XMM-moves are used for copying on small sizes.
17712
2d09f82f
LD
177132011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17714
17715 * wcsmbs/Makefile (strop-tests): Add wcschr.
17716 * wcsmbs/test-wcschr.c: New file.
17717 * string/test-strchr.c: Update.
17718 Add wcschr support.
17719 (WIDE): New macro.
17720
619fccca
LD
177212011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17722
2d09f82f 17723 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
17724 * wcsmbs/test-wcslen.c: New file.
17725 * string/test-strlen.c: Update.
17726 Add wcslen support.
17727 (WIDE): New macro.
17728
09f699ea
UD
177292011-10-23 Ulrich Drepper <drepper@gmail.com>
17730
17731 * po/it.po: Update from translation team.
17732
95584d3b
LD
177332011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17734
17735 * sysdeps/x86_64/wcscmp.S: Update.
17736 Fix wrong comparison semantics.
17737 wcscmp shall use signed comparison not unsigned.
17738 Don't use substraction to avoid overflow bug.
17739 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17740 * wcsmbc/wcscmp.c: Likewise.
17741 * string/test-strcmp.c: Likewise.
17742 Add new tests to check cases with negative values.
17743
c8b3296b
UD
177442011-10-23 Ulrich Drepper <drepper@gmail.com>
17745
17746 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17747 * sysdeps/x86_64/dla.h: ...here. New file.
17748 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17749 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17750 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17751 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17752 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17753 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17754 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17755 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17756 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17757
246ad57a
AS
177582011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17759
17760 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17761 __ynl_finite aliases.
17762
a1a87169
UD
177632011-10-22 Ulrich Drepper <drepper@gmail.com>
17764
0d355eb7
UD
17765 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17766
a1a87169
UD
17767 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17768 define DLA_FMA.
17769 [DLA_FMA] (EMULV): Use DLA_FMA.
17770 [DLA_FMA] (MUL12): Use EMULV.
17771 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17772 that are not needed.
17773 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17774 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17775 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17776 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17777 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17778 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17779 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17780
ee2aafe0
AS
177812011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17782
17783 * math/s_nan.c: Undef __nan.
17784 * math/s_nanf.c: Undef __nanf.
17785 * math/s_nanl.c: Undef __nanl.
17786 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17787 "math_private.h".
17788
bc62c2fb
UD
177892011-10-22 Ulrich Drepper <drepper@gmail.com>
17790
77425c63
UD
17791 * math/s_catan.c: Add branch predictions.
17792 * math/s_catanf.c: Likewise.
17793 * math/s_catanh.c: Likewise.
17794 * math/s_catanhf.c: Likewise.
17795 * math/s_catanhl.c: Likewise.
17796 * math/s_catanl.c: Likewise.
17797 * math/s_cexp.c: Likewise.
17798 * math/s_cexpf.c: Likewise.
17799 * math/s_cexpl.c: Likewise.
17800 * math/s_clog.c: Likewise.
17801 * math/s_clog10.c: Likewise.
17802 * math/s_clog10f.c: Likewise.
17803 * math/s_clog10l.c: Likewise.
17804 * math/s_clogf.c: Likewise.
17805 * math/s_clogl.c: Likewise.
17806 * math/s_csqrt.c: Likewise.
17807 * math/s_csqrtf.c: Likewise.
17808 * math/s_csqrtl.c: Likewise.
17809 * math/s_ctanf.c: Likewise.
17810 * math/s_ctanh.c: Likewise.
17811 * math/s_ctanhf.c: Likewise.
17812 * math/s_ctanhl.c: Likewise.
17813 * math/s_ctanl.c: Likewise.
17814
bc62c2fb
UD
17815 * math/math_private.h: Define __nan, __nanf, __nanl.
17816 * math/s_cacosh.c: Include <math_private.h>.
17817 * math/s_cacoshl.c: Likewise.
17818 * math/s_casinh.c: Likewise.
17819 * math/s_casinhf.c: Likewise.
17820 * math/s_casinhl.c: Likewise.
17821 * math/s_ccos.c: Rely entire on ccosh.
17822 * math/s_ccosf.c: Rely entire on ccoshf.
17823 * math/s_ccosl.c: Rely entirely on ccoshl.
17824 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17825 Remove tests for FE_INVALID.
17826 * math/s_ccoshf.c: Likewise.
17827 * math/s_ccoshl.c: Likewise.
17828 * math/s_csin.c: Likewise.
17829 * math/s_csinf.c: Likewise.
17830 * math/s_csinh.c Likewise.
17831 * math/s_csinhf.c: Likewise.
17832 * math/s_csinhl.c: Likewise.
17833 * math/s_csinl.c: Likewise.
17834 * math/s_ctan.c: Likewise.
17835 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17836 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17837 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17838
8ec250a4
UD
178392011-10-21 Ulrich Drepper <drepper@gmail.com>
17840
c196fed8
UD
17841 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17842 compilation problems.
17843
8ec250a4
UD
17844 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17845 __builtin_expect.
17846
8d4f46c6
UD
178472011-10-20 Ulrich Drepper <drepper@gmail.com>
17848
ed72b654
UD
17849 * sysdeps/i386/configure.in: Test for -mfma4 option.
17850 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17851 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17852 COMMON_CPUID_INDEX_80000001.
17853 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17854 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17855 use it if FMA3 is not supported.
17856 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17857
8d4f46c6
UD
17858 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17859 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17860
d45c60c2
AS
178612011-10-20 Andreas Schwab <schwab@redhat.com>
17862
17863 [BZ #12892]
17864 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17865 it would create a cycle with a link time dependency.
17866
d9a4d2ab
UD
178672011-10-19 Ulrich Drepper <drepper@gmail.com>
17868
855d1560
UD
17869 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17870 instruction.
17871 * string/Makefile (strop-tests): Add rawmemchr.
17872 * string/test-rawmemchr.c: New file.
17873
d9a4d2ab
UD
17874 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17875 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17876 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17877 when compiling str{,n}casecmp and when AVX is available. Hook up
17878 new optimized code in initializers.
17879
8f3b1ffe
AS
178802011-10-19 Andreas Schwab <schwab@redhat.com>
17881
17882 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17883 __feraiseexcept instead of feraiseexcept.
17884
d38f1dba
UD
178852011-10-18 Ulrich Drepper <drepper@gmail.com>
17886
d9a8d0ab
UD
17887 * math/math_private.h: Define defaults for libc_fetestexcept and
17888 libc_feupdateenv.
17889 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17890 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17891 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17892 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17893 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17894 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17895 libc_fetestexcept and libc_feupdateenv.
17896
4855e3dd
UD
17897 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17898 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17899 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17900 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17901 libc_feholdexcept_setround.
17902
581d30e3
UD
17903 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17904 Add s_nearbyint-c and s_nearbyintf-c.
17905 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17906 nearbyintf inlines.
17907 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17908 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17909 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17910 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17911
d38f1dba
UD
17912 * math/math_private.h: Define defaults for libc_fegetround,
17913 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17914 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17915 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17916 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17917 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17918 standard functions.
17919 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17920 Remove comments and hacks for old compiler versions.
17921 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17922 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17923 libc_feholdexceptl.
17924
caa6c9d8
AS
179252011-10-18 Andreas Schwab <schwab@redhat.com>
17926
17927 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
17928 (__feraiseexcept_renamed): Add __NTH.
17929 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
17930 namespace violations.
17931
97c066e6
UD
179322011-10-17 Ulrich Drepper <drepper@gmail.com>
17933
99ce7b04
UD
17934 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17935
1004d182
UD
17936 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17937
228a984d
UD
17938 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17939 recently added interfaces.
17940 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17941
c8553a6a
UD
17942 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17943 about macro parameter expansion.
17944
ed22dcf6
UD
17945 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17946 __NO_MATH_INLINES is defined. Cleanups.
17947
17948 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17949 and __floorf is target has SSE4.1.
17950 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17951 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17952 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17953 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17954
b171c137
UD
17955 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17956 name.
17957 (floorf): Likewise.
17958
97c066e6
UD
17959 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17960
629f62ef
AS
179612011-10-17 Andreas Schwab <schwab@redhat.com>
17962
49a43d80
AS
17963 * misc/sys/cdefs.h: Fix last change.
17964
629f62ef
AS
17965 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17966 database lookup.
17967
e453f6cd
UD
179682011-10-16 Ulrich Drepper <drepper@gmail.com>
17969
aa78043a
UD
17970 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17971
ad0f5cad
UD
17972 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17973 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17974 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17975 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17976 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17977 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17978 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17979 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17980 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17981 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17982 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17983 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17984 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17985 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17986 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17987 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17988 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17989 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17990 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17991 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17992 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17993 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17994
17995 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17996 ceil, ceilf, floor, floorf.
17997
17998 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17999 Perform IRELATIVE relocations last.
18000
e453f6cd
UD
18001 * elf/do-rel.h: Add another parameter nrelative, replacing the
18002 local variable with the same name. Change name of the function
18003 to end in Rel or Rela (uppercase).
18004 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18005 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
18006 elf_dynamic_do_##reloc function.
18007
fd5bdc09
UD
180082011-10-15 Ulrich Drepper <drepper@gmail.com>
18009
79b195b5
UD
18010 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18011 is sufficient, at least on modern CPUs.
18012
d4a28569
UD
18013 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18014
b61099b5
UD
18015 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18016 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18017
bcf01e6d
UD
18018 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18019 __expl_finite.
18020 * math/bits/math-finite.h: Add entries for exp.
18021 * math/e_expl.c: Add __*_finite alias.
18022 * sysdeps/i386/fpu/e_exp.S: Likewise.
18023 * sysdeps/i386/fpu/e_expf.S: Likewise.
18024 * sysdeps/i386/fpu/e_expl.c: Likewise.
18025 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18026 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18027 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18028 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18029 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18030 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18031 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18032
ba1a0d59
UD
18033 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18034 is sufficient, at least on modern CPUs.
18035
fd5bdc09
UD
18036 * ctype/ctype-info.c (__ctype_init): Define.
18037 * include/ctype.h (__ctype_init): Declare.
18038 (__ctype_b_loc): The variable is always initialized.
18039 (__ctype_toupper_loc): Likewise.
18040 (__ctype_tolower_loc): Likewise.
18041 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18042 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18043
7872cfb0
AS
180442011-10-15 Andreas Schwab <schwab@linux-m68k.org>
18045
b468825a
AS
18046 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18047
7872cfb0
AS
18048 * configure.in: Also look in $cxxmachine/include for C++ system
18049 headers.
18050
be13f7bf
LD
180512011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18052
18053 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18054 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18055 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18056 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
18057 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18058 (USE_AS_WMEMCMP): New macro.
18059 Fixing indents.
18060 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18061 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18062 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18063 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18064 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18065 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18066 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18067 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18068 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18069 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18070 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18071 (USE_AS_WMEMCMP): New macro.
18072 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18073 * sysdeps/string/test-memcmp.c: Update.
18074 Fix simple_wmemcmp.
18075 Add new tests.
18076 * wcsmbs/wmemcmp.c: Update.
18077 (WMEMCMP): New macro.
18078 Fix overflow bug.
18079
556a2007
AJ
180802011-10-12 Andreas Jaeger <aj@suse.de>
18081
18082 [BZ #13268]
18083 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18084
538faaa7
UD
180852011-10-15 Ulrich Drepper <drepper@gmail.com>
18086
ab6737ff
UD
18087 * libio/iofwide.c (do_length): Avoid warning.
18088
538faaa7
UD
18089 * ctype/ctype.h (__isctype_f): Add missing __THROW.
18090
396a21b1
UD
180912011-10-14 Ulrich Drepper <drepper@gmail.com>
18092
cdf2901f
UD
18093 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18094
38ad40ce
UD
18095 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18096 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18097 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18098 * sysdeps/i386/i686/fpu/e_log.S: New file.
18099 * sysdeps/i386/i686/fpu/e_logf.S: New file.
18100 * sysdeps/i386/i686/fpu/e_logl.S: New file.
18101
396a21b1
UD
18102 * ctype/ctype.h: Add support for inlined isXXX functions when
18103 compiling C++ code.
18104
6b1f68c9
AS
181052011-10-14 Andreas Schwab <schwab@redhat.com>
18106
349290c0
AS
18107 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18108
6b1f68c9
AS
18109 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18110
f2282d42
RM
181112011-10-13 Roland McGrath <roland@hack.frob.com>
18112
18113 [BZ #13291]
18114 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18115
5298ffa8
AS
181162011-10-13 Andreas Schwab <schwab@redhat.com>
18117
714fad23
AS
18118 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18119 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18120 feraiseexcept.
18121
81dcc7fb
AS
18122 * sysdeps/x86_64/memrchr.S: Check for zero size.
18123
5298ffa8
AS
18124 * string/stratcliff.c: Add memrchr tests.
18125
951fbcec
LD
181262011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18127
18128 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18129 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18130 rawmemchr-sse2 rawmemchr-sse2-bsf.
18131 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18132 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18133 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18134 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18135 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18136 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18137 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18138 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18139 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18140 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18141 * string/memrchr.c (MEMRCHR): New macro.
18142
0ac5ae23
UD
181432011-10-12 Ulrich Drepper <drepper@gmail.com>
18144
18145 Add integration with gcc's -ffinite-math-only and optimize wrapper
18146 functions in libm.
18147 * Versions.def: Define GLIBC_2.15 version for libm.
18148 * math/Makefile (headers): Add bits/math-finite.h.
18149 * math/bits/math-finite.h: New file.
18150 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18151 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18152 * math/e_acoshl.c: Add __*_finite alias.
18153 * math/e_acosl.c: Likewise.
18154 * math/e_asinl.c: Likewise.
18155 * math/e_atan2l.c: Likewise.
18156 * math/e_atanhl.c: Likewise.
18157 * math/e_coshl.c: Likewise.
18158 * math/e_exp10.c: Likewise.
18159 * math/e_exp10f.c: Likewise.
18160 * math/e_exp10l.c: Likewise.
18161 * math/e_exp2l.c: Likewise.
18162 * math/e_fmodl.c: Likewise.
18163 * math/e_gammal_r.c: Likewise.
18164 * math/e_hypotl.c: Likewise.
18165 * math/e_j0l.c: Likewise.
18166 * math/e_j1l.c: Likewise.
18167 * math/e_jnl.c: Likewise.
18168 * math/e_lgammal_r.c: Likewise.
18169 * math/e_log10l.c: Likewise.
18170 * math/e_log2l.c: Likewise.
18171 * math/e_logl.c: Likewise.
18172 * math/e_powl.c: Likewise.
18173 * math/e_sinhl.c: Likewise.
18174 * math/e_sqrtl.c: Likewise.
18175 * math/e_scalb.c: Completely rewritten and optimized.
18176 * math/e_scalbf.c: Likewise.
18177 * math/e_scalbl.c: Likewise.
18178 * math/w_acos.c: Likewise.
18179 * math/w_acosf.c: Likewise.
18180 * math/w_acosl.c: Likewise.
18181 * math/w_acosh.c: Likewise.
18182 * math/w_acoshf.c: Likewise.
18183 * math/w_acoshl.c: Likewise.
18184 * math/w_asin.c: Likewise.
18185 * math/w_asinf.c: Likewise.
18186 * math/w_asinl.c: Likewise.
18187 * math/w_atan2.c: Likewise.
18188 * math/w_atan2f.c: Likewise.
18189 * math/w_atan2l.c: Likewise.
18190 * math/w_atanh.c: Likewise.
18191 * math/w_atanhf.c: Likewise.
18192 * math/w_atanhl.c: Likewise.
18193 * math/w_exp10.c: Likewise.
18194 * math/w_exp10f.c: Likewise.
18195 * math/w_exp10l.c: Likewise.
18196 * math/w_fmod.c: Likewise.
18197 * math/w_fmodf.c: Likewise.
18198 * math/w_fmodl.c: Likewise.
18199 * math/w_j0.c: Likewise.
18200 * math/w_j0f.c: Likewise.
18201 * math/w_j0l.c: Likewise.
18202 * math/w_j1.c: Likewise.
18203 * math/w_j1f.c: Likewise.
18204 * math/w_j1l.c: Likewise.
18205 * math/w_jn.c: Likewise.
18206 * math/w_jnf.c: Likewise.
18207 * math/w_log.c: Likewise.
18208 * math/w_logf.c: Likewise.
18209 * math/w_logl.c: Likewise.
18210 * math/w_log10.c: Likewise.
18211 * math/w_log10f.c: Likewise.
18212 * math/w_log10l.c: Likewise.
18213 * math/w_log2.c: Likewise.
18214 * math/w_log2f.c: Likewise.
18215 * math/w_log2l.c: Likewise.
18216 * math/w_pow.c: Likewise.
18217 * math/w_powf.c: Likewise.
18218 * math/w_powl.c: Likewise.
18219 * math/w_remainder.c: Likewise.
18220 * math/w_remainderf.c: Likewise.
18221 * math/w_remainderl.c: Likewise.
18222 * math/w_scalb.c: Likewise.
18223 * math/w_scalbf.c: Likewise.
18224 * math/w_scalbl.c: Likewise.
18225 * math/w_sqrt.c: Likewise.
18226 * math/w_sqrtf.c: Likewise.
18227 * math/w_sqrtl.c: Likewise.
18228 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18229 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18230 used.
18231 * math/math_private.h: Declare __kernel_standard_f.
18232 * math/w_cosh.c: Remove cruft and optimize a bit.
18233 * math/w_coshf.c: Likewise.
18234 * math/w_coshl.c: Likewise.
18235 * math/w_exp2.c: Likewise.
18236 * math/w_exp2f.c: Likewise.
18237 * math/w_exp2l.c: Likewise.
18238 * math/w_hypot.c: Likewise.
18239 * math/w_hypotf.c: Likewise.
18240 * math/w_hypotl.c: Likewise.
18241 * math/w_lgamma.c: Likewise.
18242 * math/w_lgamma_r.c: Likewise.
18243 * math/w_lgammaf.c: Likewise.
18244 * math/w_lgammaf_r.c: Likewise.
18245 * math/w_lgammal.c: Likewise.
18246 * math/w_lgammal_r.c: Likewise.
18247 * math/w_sinh.c: Likewise.
18248 * math/w_sinhf.c: Likewise.
18249 * math/w_sinhl.c: Likewise.
18250 * math/w_tgamma.c: Likewise.
18251 * math/w_tgammaf.c: Likewise.
18252 * math/w_tgammal.c: Likewise.
18253 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18254 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18255 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18256 Minor optimizations. Pretty printing. Remove cruft.
18257 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18258 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18259 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18260 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18261 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18262 * sysdeps/i386/fpu/e_asin.S: Likewise.
18263 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18264 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18265 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18266 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18267 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18268 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18269 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18270 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18271 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18272 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18273 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18274 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18275 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18276 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18277 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18278 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18279 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18280 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18281 * sysdeps/i386/fpu/e_log.S: Likewise.
18282 * sysdeps/i386/fpu/e_log10.S: Likewise.
18283 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18284 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18285 * sysdeps/i386/fpu/e_log2.S: Likewise.
18286 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18287 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18288 * sysdeps/i386/fpu/e_logf.S: Likewise.
18289 * sysdeps/i386/fpu/e_logl.S: Likewise.
18290 * sysdeps/i386/fpu/e_pow.S: Likewise.
18291 * sysdeps/i386/fpu/e_powf.S: Likewise.
18292 * sysdeps/i386/fpu/e_powl.S: Likewise.
18293 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18294 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18295 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18296 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18297 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18298 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18299 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18300 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18301 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18302 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18303 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18304 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18305 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18306 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18307 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18308 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18309 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18310 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18311 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18312 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18313 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18314 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18315 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18316 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18317 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18318 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18319 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18320 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18321 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18322 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18323 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18324 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18325 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18326 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18327 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18328 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18329 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18330 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18331 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18332 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18333 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18334 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18335 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18336 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18337 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18338 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18339 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18340 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18341 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18342 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18343 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18344 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18345 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18346 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18347 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18348 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18349 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18350 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18351 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18352 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18353 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18354 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18355 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18356 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18357 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18358 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18359 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18360 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18361 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18362 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18363 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18364 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18365 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18366 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18367 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18368 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18369 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18370 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18371 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18372 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18373 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18374 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18375 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18376 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18377 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18378 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18379 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18380 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18381 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18382 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18383 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18384 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18385 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18386 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18387 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18388 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18389 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18390 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18391 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18392 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18393 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18394 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18395 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18396 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18397 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18398 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18399 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18400 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18401 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18402 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18403 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18404 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18405 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18406 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18407 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18408 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18409 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18410 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18411 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18412 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18413 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18414 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18415 (__isnanf): Likewise.
18416 (__isinf_ns): Likewise.
18417 (__isinf_nsf): Likewise.
18418 (__finite): Likewise.
18419 (__finitef): Likewise.
18420 (__ieee754_sqrt): Define as macro.
18421 (__ieee754_sqrtf): Define as macro.
18422 (__ieee754_sqrtl): Define as macro.
18423 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18424 inlined copy.
18425 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18426 __FINITE_MATH_ONLY__ consistent.
18427 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18428
12cc2fcd
AS
184292011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18430
a843a204
AS
18431 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18432 of rawmemchr.
18433
12cc2fcd
AS
18434 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18435
c853acd5
UD
184362011-10-09 Ulrich Drepper <drepper@gmail.com>
18437
18438 * po/ja.po: Update from translation team.
18439
c658d255
RM
184402011-10-08 Roland McGrath <roland@hack.frob.com>
18441
110946e4
RM
18442 * locale/programs/locarchive.c (prepare_address_space): New function.
18443 (create_archive, enlarge_archive, open_archive): Use it.
18444
50604220
RM
18445 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18446 inside [SHARED], where it is used.
18447
c658d255
RM
18448 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18449
18450 * nss/getent.c (netgroup_keys): Remove unused variable.
18451 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18452
6a621eb7
UD
184532011-10-08 Ulrich Drepper <drepper@gmail.com>
18454
7edb55ce
UD
18455 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18456 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18457 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18458 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18459 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18460 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18461 * math/Makefile (libm-calls): Add s_isinf_ns.
18462 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18463 * math/multc3.c: Likewise.
18464 * math/s_casin.c: Likewise.
18465 * math/s_casinf.c: Likewise.
18466 * math/s_casinl.c: Likewise.
18467 * math/s_ccos.c: Likewise.
18468 * math/s_ccosf.c: Likewise.
18469 * math/s_ccosl.c: Likewise.
18470 * math/s_ctan.c: Likewise.
18471 * math/s_ctanf.c: Likewise.
18472 * math/s_ctanh.c: Likewise.
18473 * math/s_ctanhf.c: Likewise.
18474 * math/s_ctanhl.c: Likewise.
18475 * math/s_ctanl.c: Likewise.
18476 * math/w_fmod.c: Likewise.
18477 * math/w_fmodf.c: Likewise.
18478 * math/w_fmodl.c: Likewise.
18479 * math/w_remainder.c: Likewise.
18480 * math/w_remainderf.c: Likewise.
18481 * math/w_remainderl.c: Likewise.
18482 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18483 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18484 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18485 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18486 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18487 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18488 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18489 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18490
187da0ae
UD
18491 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18492 of the number.
18493 * stdio-common/printf_fphex.c: Likewise.
18494 * stdio-common/printf_size.c: Likewise.
18495
9277c064
UD
18496 * math/e_exp10.c: Include math_private.h using <...> not "...".
18497 * math/e_exp10f.c: Likewise.
18498 * math/e_exp10l.c: Likewise.
18499 * math/e_exp2l.c: Likewise.
18500 * math/e_j0l.c: Likewise.
18501 * math/e_j1l.c: Likewise.
18502 * math/e_jnl.c: Likewise.
18503 * math/e_lgammal_r.c: Likewise.
18504 * math/e_rem_pio2l.c: Likewise.
18505 * math/e_scalb.c: Likewise.
18506 * math/e_scalbf.c: Likewise.
18507 * math/e_scalbl.c: Likewise.
18508 * math/k_cosl.c: Likewise.
18509 * math/k_sinl.c: Likewise.
18510 * math/k_tanl.c: Likewise.
18511 * math/s_cacoshf.c: Likewise.
18512 * math/s_catan.c: Likewise.
18513 * math/s_catanf.c: Likewise.
18514 * math/s_catanh.c: Likewise.
18515 * math/s_catanhf.c: Likewise.
18516 * math/s_catanhl.c: Likewise.
18517 * math/s_catanl.c: Likewise.
18518 * math/s_ccosh.c: Likewise.
18519 * math/s_ccoshf.c: Likewise.
18520 * math/s_ccoshl.c: Likewise.
18521 * math/s_cexp.c: Likewise.
18522 * math/s_cexpf.c: Likewise.
18523 * math/s_cexpl.c: Likewise.
18524 * math/s_clog.c: Likewise.
18525 * math/s_clog10.c: Likewise.
18526 * math/s_clog10f.c: Likewise.
18527 * math/s_clog10l.c: Likewise.
18528 * math/s_clogf.c: Likewise.
18529 * math/s_clogl.c: Likewise.
18530 * math/s_csin.c: Likewise.
18531 * math/s_csinf.c: Likewise.
18532 * math/s_csinh.c: Likewise.
18533 * math/s_csinhf.c: Likewise.
18534 * math/s_csinhl.c: Likewise.
18535 * math/s_csinl.c: Likewise.
18536 * math/s_csqrt.c: Likewise.
18537 * math/s_csqrtf.c: Likewise.
18538 * math/s_csqrtl.c: Likewise.
18539 * math/s_ctan.c: Likewise.
18540 * math/s_ctanf.c: Likewise.
18541 * math/s_ctanh.c: Likewise.
18542 * math/s_ctanhf.c: Likewise.
18543 * math/s_ctanhl.c: Likewise.
18544 * math/s_ctanl.c: Likewise.
18545 * math/s_ldexp.c: Likewise.
18546 * math/s_ldexpf.c: Likewise.
18547 * math/s_ldexpl.c: Likewise.
18548 * math/s_significand.c: Likewise.
18549 * math/s_significandf.c: Likewise.
18550 * math/s_significandl.c: Likewise.
18551 * math/w_acos.c: Likewise.
18552 * math/w_acosf.c: Likewise.
18553 * math/w_acosh.c: Likewise.
18554 * math/w_acoshf.c: Likewise.
18555 * math/w_acoshl.c: Likewise.
18556 * math/w_acosl.c: Likewise.
18557 * math/w_asin.c: Likewise.
18558 * math/w_asinf.c: Likewise.
18559 * math/w_asinl.c: Likewise.
18560 * math/w_atan2.c: Likewise.
18561 * math/w_atan2f.c: Likewise.
18562 * math/w_atan2l.c: Likewise.
18563 * math/w_atanh.c: Likewise.
18564 * math/w_atanhf.c: Likewise.
18565 * math/w_atanhl.c: Likewise.
18566 * math/w_cosh.c: Likewise.
18567 * math/w_coshf.c: Likewise.
18568 * math/w_coshl.c: Likewise.
18569 * math/w_dremf.c: Likewise.
18570 * math/w_exp10.c: Likewise.
18571 * math/w_exp10f.c: Likewise.
18572 * math/w_exp10l.c: Likewise.
18573 * math/w_exp2.c: Likewise.
18574 * math/w_exp2f.c: Likewise.
18575 * math/w_fmod.c: Likewise.
18576 * math/w_fmodf.c: Likewise.
18577 * math/w_fmodl.c: Likewise.
18578 * math/w_hypot.c: Likewise.
18579 * math/w_hypotf.c: Likewise.
18580 * math/w_hypotl.c: Likewise.
18581 * math/w_j0.c: Likewise.
18582 * math/w_j0f.c: Likewise.
18583 * math/w_j0l.c: Likewise.
18584 * math/w_j1.c: Likewise.
18585 * math/w_j1f.c: Likewise.
18586 * math/w_j1l.c: Likewise.
18587 * math/w_jn.c: Likewise.
18588 * math/w_jnf.c: Likewise.
18589 * math/w_jnl.c: Likewise.
18590 * math/w_lgamma.c: Likewise.
18591 * math/w_lgamma_r.c: Likewise.
18592 * math/w_lgammaf.c: Likewise.
18593 * math/w_lgammaf_r.c: Likewise.
18594 * math/w_lgammal.c: Likewise.
18595 * math/w_lgammal_r.c: Likewise.
18596 * math/w_log.c: Likewise.
18597 * math/w_log10.c: Likewise.
18598 * math/w_log10f.c: Likewise.
18599 * math/w_log10l.c: Likewise.
18600 * math/w_log2.c: Likewise.
18601 * math/w_log2f.c: Likewise.
18602 * math/w_log2l.c: Likewise.
18603 * math/w_logf.c: Likewise.
18604 * math/w_logl.c: Likewise.
18605 * math/w_pow.c: Likewise.
18606 * math/w_powf.c: Likewise.
18607 * math/w_powl.c: Likewise.
18608 * math/w_remainder.c: Likewise.
18609 * math/w_remainderf.c: Likewise.
18610 * math/w_remainderl.c: Likewise.
18611 * math/w_scalb.c: Likewise.
18612 * math/w_scalbf.c: Likewise.
18613 * math/w_scalbl.c: Likewise.
18614 * math/w_sinh.c: Likewise.
18615 * math/w_sinhf.c: Likewise.
18616 * math/w_sinhl.c: Likewise.
18617 * math/w_sqrt.c: Likewise.
18618 * math/w_sqrtf.c: Likewise.
18619 * math/w_sqrtl.c: Likewise.
18620 * math/w_tgamma.c: Likewise.
18621 * math/w_tgammaf.c: Likewise.
18622 * math/w_tgammal.c: Likewise.
18623
6a621eb7
UD
18624 * po/ja.po: Update from translation team.
18625
bf582445
AJ
186262011-09-29 Andreas Jaeger <aj@suse.de>
18627
f9efbf3a
AJ
18628 [BZ #13179]
18629 * sunrpc/netname.c (netname2host): Fix logic.
18630
bf582445
AJ
18631 [BZ #6779]
18632 [BZ #6783]
18633 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18634 correctly.
18635 * math/w_remainder.c (__remainder): Likewise.
18636 * math/w_remainderf.c (__remainderf): Likewise.
18637 * math/libm-test.inc (remainder_test): Add test cases.
18638
48693bea
AK
186392011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18640
18641 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18642 sdiv_qrnnd.
18643
42622229
LD
186442011-10-07 Ulrich Drepper <drepper@gmail.com>
18645
18646 * string/test-memcmp.c: Avoid unncessary #defines.
18647 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18648
093ecf92
LD
186492011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18650
18651 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18652 Use new sse2 version for core i3 - i7 as it's faster
18653 than sse42 version.
18654 (bit_Prefer_PMINUB_for_stringop): New.
18655 * sysdeps/x86_64/rawmemchr.S: Update.
18656 Replace with faster SSE2 version.
18657 * sysdeps/x86_64/memrchr.S: New file.
18658 * sysdeps/x86_64/memchr.S: Update.
18659 Replace with faster SSE2 version.
18660
fde56e5c
MP
186612011-09-12 Marek Polacek <mpolacek@redhat.com>
18662
18663 * elf/dl-load.c (lose): Add cast to avoid warning.
18664
21fd49a9
UD
186652011-10-07 Ulrich Drepper <drepper@gmail.com>
18666
5a06e643
UD
18667 * po/ca.po: Update from translation team.
18668
684ae515
UD
18669 * inet/getnetgrent_r.c: Hook up nscd.
18670 * nscd/Makefile (routines): Add nscd_netgroup.
18671 (nscd-modules): Add netgroupcache.
18672 (CFLAGS-netgroupcache.c): Define.
18673 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18674 (cache_search): Add const to second parameter.
18675 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18676 INNETGR.
18677 (dbs): Add netgrdb entry.
18678 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18679 (verify_persistent_db): Handle netgrdb.
18680 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18681 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18682 GETFDNETGR.
18683 (netgroup_response_header): Define.
18684 (innetgroup_response_header): Define.
18685 (datahead): Add netgroup_response_header and innetgroup_response_header
18686 elements.
18687 * nscd/nscd.conf: Add entries for netgroup cache.
18688 * nscd/nscd.h (dbtype): Add netgrdb.
18689 (_PATH_NSCD_NETGROUP_DB): Define.
18690 (netgroup_iov_disabled): Declare.
18691 (xmalloc, xcalloc, xrealloc): Move declarations here.
18692 (cache_search): Adjust prototype.
18693 Add netgroup-related prototypes.
18694 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18695 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18696 (__nscd_innetgr): Declare.
18697 * nscd/selinux.c (perms): Use access_vector_t as element type and
18698 add netgroup-related initializers.
18699 * nscd/netgroupcache.c: New file.
18700 * nscd/nscd_netgroup.c: New file.
18701 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18702 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18703 For four parameters use innetgr.
18704 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18705 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18706 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18707 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18708
21fd49a9
UD
18709 * nscd/connections.c (register_traced_file): Don't register file
18710 for disabled databases.
18711
054c0457
UD
187122011-10-06 Ulrich Drepper <drepper@gmail.com>
18713
32b63198
UD
18714 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18715
054c0457
UD
18716 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18717 from tree and freeing node.
18718
64031225
JO
187192011-09-25 Jiri Olsa <jolsa@redhat.com>
18720
18721 * nss/nsswitch.c (__nss_database_lookup): Handle
18722 nss_parse_service_list out of memory case.
18723
0490345c
JO
187242011-09-15 Jiri Olsa <jolsa@redhat.com>
18725
18726 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18727 out of memory case.
18728
3a62d00d
AS
187292011-10-04 Andreas Schwab <schwab@redhat.com>
18730
18731 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18732 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18733 pass it down.
18734 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18735 elf_machine_rela, elf_machine_lazy_rel.
18736 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18737 (ELF_DYNAMIC_DO_REL): Likewise.
18738 (ELF_DYNAMIC_DO_RELA): Likewise.
18739 (ELF_DYNAMIC_RELOCATE): Likewise.
18740 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18741 to ELF_DYNAMIC_DO_REL.
18742 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18743 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18744 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18745 elf_machine_rela.
18746 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18747 skip_ifunc, don't call ifunc function if non-zero.
18748 (elf_machine_rela): Likewise.
18749 (elf_machine_lazy_rel): Likewise.
18750 (elf_machine_lazy_rela): Likewise.
18751 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18752 (elf_machine_lazy_rel): Likewise.
18753 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18754 Likewise.
18755 (elf_machine_lazy_rel): Likewise.
18756 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18757 Likewise.
18758 (elf_machine_lazy_rel): Likewise.
18759 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18760 (elf_machine_lazy_rel): Likewise.
18761 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18762 (elf_machine_lazy_rel): Likewise.
18763 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18764 (elf_machine_lazy_rel): Likewise.
18765 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18766 (elf_machine_lazy_rel): Likewise.
18767 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18768 (elf_machine_lazy_rel): Likewise.
18769 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18770 (elf_machine_lazy_rel): Likewise.
18771
68577918
UD
187722011-09-28 Ulrich Drepper <drepper@gmail.com>
18773
18774 * nss/nss_files/files-init.c (_nss_files_init): Use static
18775 initialization for all the *_traced_file variables.
18776
68822d74
AS
187772011-09-28 Andreas Schwab <schwab@redhat.com>
18778
18779 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18780
2056100b
RM
187812011-09-27 Roland McGrath <roland@hack.frob.com>
18782
18783 [BZ #13226]
18784 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18785
32c76b63
AS
187862011-09-27 Andreas Schwab <schwab@redhat.com>
18787
18788 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18789 Reread the line before reparsing it.
18790
bf972c9d
AS
187912011-09-26 Andreas Schwab <schwab@redhat.com>
18792
18793 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18794
e057a1b5
JM
187952011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18796 Maxim Kuvyrkov <maxim@codesourcery.com>
18797 Joseph Myers <joseph@codesourcery.com>
18798
18799 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18800 if needed for __stack_chk_guard.
18801
bc7e1c36
RM
188022011-09-19 Roland McGrath <roland@hack.frob.com>
18803
ecb1482f
RM
18804 * sysdeps/posix/spawni.c (script_execute): Always define it.
18805 It will be optimized away if unused.
18806 (maybe_script_execute): New function.
18807 (__spawni): Call it.
18808
bc7e1c36
RM
18809 * Makerules: Don't include tls.make.
18810 (config-tls): Always set to thread.
18811 * tls.make.c: File removed.
18812
1c3b002b
MF
188132011-09-19 Mike Frysinger <vapier@gentoo.org>
18814
18815 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18816 * config.make.in (CPPFLAGS-config): New substituted variable.
18817
2840865d
UD
188182011-09-15 Ulrich Drepper <drepper@gmail.com>
18819
88738eb6
UD
18820 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18821
cbf645a6 18822 [BZ #13192]
2840865d
UD
18823 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18824 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18825
b402e91a
RM
188262011-09-15 Roland McGrath <roland@hack.frob.com>
18827
18828 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18829 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18830 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18831 (CALL_FAIL): Likewise.
18832 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18833 (CALL_FAIL): Macro removed.
18834 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18835
4c1a1f71
UD
188362011-09-15 Ulrich Drepper <drepper@gmail.com>
18837
18838 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18839 for __FINITE_MATH_ONLY__ == 1.
18840
edc121be
AS
188412011-09-15 Andreas Schwab <schwab@redhat.com>
18842
18843 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18844 __ieee754_sqrt instead of sqrt.
18845 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18846 __ieee754_sqrtf instead of sqrtf.
18847 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18848 __floorf instead of floorf.
18849 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18850 __floorf, __truncf instead of floorf, truncf.
18851
cd205654
UD
188522011-09-14 Ulrich Drepper <drepper@gmail.com>
18853
ee4d0315
UD
18854 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18855
cd205654
UD
18856 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18857 __extern_always_inline.
18858 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18859 32-bit.
18860
48b67d71
AS
188612011-09-14 Andreas Schwab <schwab@redhat.com>
18862
18863 * elf/rtld.c (dl_main): Also relocate in dependency order when
18864 doing symbol dependency testing.
18865
1ae12c75
AS
188662011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18867
18868 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18869 Always define `refsym'.
18870
995a80df
AS
188712011-09-13 Andreas Schwab <schwab@redhat.com>
18872
e529793b
AS
18873 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18874 (__FD_ELT): Renamed from __FDELT.
18875 * misc/bits/select2.h (__FD_ELT): Likewise.
18876 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18877 __FD_MASK instead of __FDELT, __FDMASK.
18878 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18879 Likewise.
18880 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18881 Likewise.
18882
52d4fef8
AS
18883 * elf/Makefile (gen-ldd): Fix pattern.
18884
995a80df
AS
18885 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18886 (init_tls): Likewise.
18887
8682f8b0
UD
188882011-09-12 Ulrich Drepper <drepper@gmail.com>
18889
18890 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18891
de82006d
AS
188922011-09-12 Andreas Schwab <schwab@redhat.com>
18893
a7c8e6a1
AS
18894 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18895 `struct cmsghdr *' instead of `void *'.
18896 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18897 Likewise.
18898
0f31fe77
AS
188992011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18900
18901 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18902 if non-absolute.
18903 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18904 ldd_rewrite_script.
0f31fe77 18905
32b4c839
UD
189062011-09-11 Ulrich Drepper <drepper@gmail.com>
18907
83cd1420
UD
18908 * configure.in: Remove --with-tls option.
18909 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18910 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18911 out in case it is missing.
18912 * sysdeps/ia64/elf/configure.in: Likewise.
18913 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18914 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18915 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18916 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18917 * sysdeps/sh/elf/configure.in: Likewise.
18918 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18919 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18920 * sysdeps/x86_64/elf/configure.in: Likewise.
18921 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18922 * sysdeps/mach/hurd/tls.h: Likewise.
18923
633f745d
UD
18924 [BZ #13067]
18925 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18926
f318beb8
UD
18927 [BZ #13090]
18928 * configure.in: Fix use of AC_INIT.
18929
32b4c839
UD
18930 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18931
3ce1f295
UD
189322011-09-10 Ulrich Drepper <drepper@gmail.com>
18933
bb016596
UD
18934 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18935 __set_errno.
8e58439c
UD
18936 * malloc/hooks.c: Likewise.
18937
aebae053 18938 [BZ #11929]
02d46fc4
UD
18939 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18940 variables statically.
18941 (narenas): Initialize.
18942 (list_lock): Initialize.
bb016596
UD
18943 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18944 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
18945 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18946 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18947 Add initializers to main_arena and mp_.
18948 (malloc_state): Remove pagesize member. Change all users to use
18949 GLRO(dl_pagesize).
18950
18951 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18952 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18953 is always initialized.
18954
22a89187
UD
18955 * malloc/malloc.c: Removed unused configurations and dead code.
18956 * malloc/arena.c: Likewise.
18957 * malloc/hooks.c: Likewise.
02d46fc4 18958 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 18959
d063d164
UD
18960 * include/tls.h: Removed. USE___THREAD must always be defined.
18961 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18962 * elf/dl-libc.c: Likewise.
18963 * elf/dl-tsd.c: Likewise.
18964 * include/errno.h: Likewise.
18965 * include/netdb.h: Likewise.
18966 * include/resolv.h: Likewise.
18967 * inet/herrno-loc.c: Likewise.
18968 * inet/herrno.c: Likewise.
18969 * malloc/arena.c: Likewise.
18970 * malloc/hooks.c: Likewise.
18971 * malloc/malloc.c: Likewise.
18972 * resolv/res-state.c: Likewise.
18973 * resolv/res_libc.c: Likewise.
18974 * sysdeps/i386/dl-machine.h: Likewise.
18975 * sysdeps/ia64/dl-machine.h: Likewise.
18976 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18977 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18978 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18979 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18980 * sysdeps/sh/dl-machine.h: Likewise.
18981 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18982 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18983 * sysdeps/unix/i386/sysdep.S: Likewise.
18984 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18985 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18986 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18987 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18988 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18989 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18990 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18991 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18992 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18993 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18994 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18995 * sysdeps/x86_64/dl-machine.h: Likewise.
18996 * tls.make.c: Likewise.
18997
3ce1f295
UD
18998 * configure.in: Remove --with-__thread option. Make tests for
18999 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19000 tls_model attribute fail if no support is available. Remove
19001 USE_IN_LIBIO.
19002 * Makeconfig: Adjust for dropped configure option. All features are
19003 now mandatory.
19004 * Makerules: Likewise.
19005 * Versions.def: Likewise.
19006 * argp/argp-fmtstream.c: Likewise.
19007 * argp/argp-fmtstream.h: Likewise.
19008 * argp/argp-help.c: Likewise.
19009 * assert/assert.c: Likewise.
19010 * config.h.in: Likewise.
19011 * config.make.in: Likewise.
19012 * configure: Likewise.
19013 * configure.in: Likewise.
19014 * csu/Versions: Likewise.
19015 * csu/init.c: Likewise.
19016 * elf/tst-audit2.c: Likewise.
19017 * elf/tst-tls10.c: Likewise.
19018 * elf/tst-tls10.h: Likewise.
19019 * elf/tst-tls11.c: Likewise.
19020 * elf/tst-tls12.c: Likewise.
19021 * elf/tst-tls14.c: Likewise.
19022 * elf/tst-tlsmod11.c: Likewise.
19023 * elf/tst-tlsmod12.c: Likewise.
19024 * elf/tst-tlsmod13.c: Likewise.
19025 * elf/tst-tlsmod13a.c: Likewise.
19026 * elf/tst-tlsmod14a.c: Likewise.
19027 * elf/tst-tlsmod15b.c: Likewise.
19028 * elf/tst-tlsmod16a.c: Likewise.
19029 * elf/tst-tlsmod16b.c: Likewise.
19030 * elf/tst-tlsmod7.c: Likewise.
19031 * elf/tst-tlsmod8.c: Likewise.
19032 * elf/tst-tlsmod9.c: Likewise.
19033 * gmon/gmon.c: Likewise.
19034 * grp/fgetgrent_r.c: Likewise.
19035 * grp/putgrent.c: Likewise.
19036 * hurd/fopenport.c: Likewise.
19037 * include/libc-symbols.h: Likewise.
19038 * include/tls.h: Likewise.
19039 * intl/gettextP.h: Likewise.
19040 * intl/loadinfo.h: Likewise.
19041 * locale/global-locale.c: Likewise.
19042 * locale/localeinfo.h: Likewise.
19043 * mach/devstream.c: Likewise.
19044 * malloc/arena.c: Likewise.
19045 * malloc/set-freeres.c: Likewise.
19046 * misc/err.c: Likewise.
19047 * misc/getttyent.c: Likewise.
19048 * misc/mntent_r.c: Likewise.
19049 * posix/getopt.c: Likewise.
19050 * posix/wordexp.c: Likewise.
19051 * pwd/fgetpwent_r.c: Likewise.
19052 * resolv/Versions: Likewise.
19053 * resolv/res_hconf.c: Likewise.
19054 * shadow/fgetspent_r.c: Likewise.
19055 * shadow/putspent.c: Likewise.
19056 * stdio-common/printf_fphex.c: Likewise.
19057 * stdio-common/tmpfile.c: Likewise.
19058 * stdlib/abort.c: Likewise.
19059 * stdlib/fmtmsg.c: Likewise.
19060 * sunrpc/auth_unix.c: Likewise.
19061 * sunrpc/clnt_perr.c: Likewise.
19062 * sunrpc/clnt_tcp.c: Likewise.
19063 * sunrpc/clnt_udp.c: Likewise.
19064 * sunrpc/clnt_unix.c: Likewise.
19065 * sunrpc/openchild.c: Likewise.
19066 * sunrpc/svc_simple.c: Likewise.
19067 * sunrpc/svc_tcp.c: Likewise.
19068 * sunrpc/svc_udp.c: Likewise.
19069 * sunrpc/svc_unix.c: Likewise.
19070 * sunrpc/xdr.c: Likewise.
19071 * sunrpc/xdr_array.c: Likewise.
19072 * sunrpc/xdr_rec.c: Likewise.
19073 * sunrpc/xdr_ref.c: Likewise.
19074 * sunrpc/xdr_stdio.c: Likewise.
19075
1248c1c4
PB
190762011-09-09 Ulrich Drepper <drepper@gmail.com>
19077
19078 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19079
190802011-07-03 Andreas Jaeger <aj@suse.de>
19081
19082 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19083 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19084 regenerate with gen-libm-tests.pl.
19085
190862010-05-12 Petr Baudis <pasky@suse.cz>
19087
19088 [BZ #11589]
19089 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19090 around j0() zero points by switching to j1().
19091 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19092 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19093 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19094 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19095
f22e1074
UD
190962011-09-09 Ulrich Drepper <drepper@gmail.com>
19097
f19009c1
UD
19098 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19099 instead of 0.
19100 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
19101 instead of 0. .
19102 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19103 Patch in part by Pavel Roskin <proski@gnu.org>.
19104
3f8cc204
UD
19105 [BZ #13138]
19106 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19107 realloc.
19108 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
19109 Free memory block if necessary.
19110
f22e1074
UD
19111 [BZ #12847]
19112 * libio/genops.c (INTDEF): For string streams the _lock pointer can
19113 be NULL. Don't lock in this case.
19114
0a2349f9
RM
191152011-09-09 Roland McGrath <roland@hack.frob.com>
19116
19117 * elf/elf.h (ELFOSABI_GNU): New macro.
19118 (ELFOSABI_LINUX): Define to that.
19119
f3cdd467
DZ
191202011-07-29 Denis Zaitceff <zaitceff@gmail.com>
19121
19122 * string/strncat.c (strncat): Undef the symbol in case it has been
19123 defined in bits/string.h.
19124
74718d13
UD
191252011-09-09 Ulrich Drepper <drepper@gmail.com>
19126
633e9e0f
UD
19127 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19128
0a2349f9 19129 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
19130 link map.
19131
f9924780
AJ
191322011-08-17 Andreas Jaeger <aj@suse.de>
19133
19134 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19135
7f5517aa
PP
191362011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19137 Ian Lance Taylor <iant@google.com>
19138
19139 * math/libm-test.inc (lround_test): New testcase.
19140 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19141
762011fe
UD
191422011-09-08 Ulrich Drepper <drepper@gmail.com>
19143
92963737
UD
19144 * Makefile: Remove support for automatic cvs check-ins.
19145 * Makerules: Likewise.
19146 * config.make.in: Likewise.
19147 * configure.in: Likewise.
19148 * intl/Makefile: Likewise.
19149 * locale/Makefile: Likewise.
19150 * po/Makefile: Likewise.
19151 * posix/Makefile: Likewise.
19152 * sysdeps/gnu/Makefile: Likewise.
19153 * sysdeps/mach/hurd/Makefile: Likewise.
19154 * sysdeps/sparc/sparc32/Makefile: Likewise.
19155
b0727fd8
JS
19156 [BZ #13118]
19157 * posix/Makefile (bug-regex32-ENV): Define.
19158 Patch by John Stanley <jpsinthemix@verizon.net>.
19159
a0f33f99
UD
19160 * misc/Makefile (headers): Add bits/select2.h.
19161 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19162 * misc/bits/select2.h: New file.
19163 * include/bits/select2.h: New file.
19164 * debug/Makefile (routines): Add fdelt_chk.
19165 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19166 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19167 FD_ISSET.
19168 * debug/fdelt_chk.c: New file.
19169
762011fe
UD
19170 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19171 * wcsmbs/test-wmemcmp.c: Likewise.
19172 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 19173 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
19174
191752011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19176
19177 * string/Makefile (strop-tests): Add memcmp.
19178 * string/test-wmemcmp.c: New file.
19179 * string/test-memcmp.c: Add wmemcmp support.
19180
7f513ec8
RM
191812011-09-08 Roland McGrath <roland@hack.frob.com>
19182
0442afb4
RM
19183 [BZ #13153]
19184 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19185 2011-07-19 change.
19186
7f513ec8
RM
19187 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19188 garbage value in a __mach_port_mod_refs call in the cases of the
19189 task-self and thread-self ports.
19190
a12b2239
ST
191912011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19192
19193 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19194
610f9ab4
AS
191952011-09-08 Andreas Schwab <schwab@redhat.com>
19196
7f513ec8 19197 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 19198
48882a1a
LD
191992011-09-07 Ulrich Drepper <drepper@gmail.com>
19200
b49865be
UD
19201 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19202
fdc86bc9
UD
19203 * elf/dl-libc.c (dlerror_run): Pass back error code from
19204 dl_catch_error.
19205
c966526a
UD
19206 [BZ #13123]
19207 * elf/dl-load.c (lose): Free l_origin if it is valid.
19208
48882a1a
LD
19209 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19210 names.
19211 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19212 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19213 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19214 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19215 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19216 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19217
77a2a8b4
AZ
192182011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19219
19220 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19221 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19222 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19223 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19224 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19225 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19226 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19227 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19228 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19229 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19230
24f579d8
AM
192312011-08-15 Alan Modra <amodra@gmail.com>
19232
19233 [BZ #13092]
19234 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19235 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19236 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19237 ppc_mcount to static-only-routines.
19238 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19239 __mcount_internal.
19240 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19241 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19242
3d4837df
UD
192432011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19244
19245 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19246 for finite and infinity parameters.
19247
22700377
WS
192482011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19249
19250 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19251 and add nop instructions for throughput optimization.
19252 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19253
5025581e
WS
192542011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19255
19256 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19257 aligned copy for power7 with vector-scalar instructions.
19258 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19259
08a300c9
L
192602011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19261
19262 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19263 AVX check.
19264
59178ef9
AS
192652011-09-07 Andreas Schwab <schwab@redhat.com>
19266
19267 [BZ #13144]
19268 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19269 last change.
19270
e38ba7ab
UD
192712011-09-07 Ulrich Drepper <drepper@gmail.com>
19272
19273 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19274 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19275 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19276 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19277 clock_gettime.
19278
d53a73ac
UD
192792011-09-06 Ulrich Drepper <drepper@gmail.com>
19280
fc8bffcc
UD
19281 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19282 Forgot to demangle the pointer.
19283
ceaa0c5d
UD
19284 * sysdeps/i386/sysdep.h: Define atom_text_section.
19285 * sysdeps/x86_64/sysdep.h: Likewise.
19286 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19287 section with atom_text_section.
19288 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19289 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19290 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19291 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19292 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19293
a77d3c17
UD
19294 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19295 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19296 already be defined. Change to take two parameters and don't assign
19297 result to variable. Adjust all users.
19298 Define INTERNAL_GETTIME if not already defined.
19299 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19300 call.
19301 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19302 HAVE_CLOCK_GETTIME_VSYSCALL.
19303 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19304
d53a73ac
UD
19305 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19306 gettimeofday vsyscall, just use time.
19307
a8f84144
AS
193082011-09-06 Andreas Schwab <schwab@redhat.com>
19309
19310 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19311 <errno.h>.
19312
ef606249
UD
193132011-09-06 Ulrich Drepper <drepper@gmail.com>
19314
19315 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19316 syscall on x86-64.
19317 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19318 syscall.
19319 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19320 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19321 syscall if possible.
19322
6585cb60
UD
193232011-09-05 Ulrich Drepper <drepper@gmail.com>
19324
19325 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19326 e_ident. Don't pass to find_mapsXX.
19327 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19328
a5f524e4
LD
193292011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19330
19331 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19332 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19333 * sysdeps/x86_64/multiarch/strchr.S: Update.
19334 Check bit_slow_BSF bit.
19335 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19336 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19337 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19338
554881ef
UD
193392011-09-05 Ulrich Drepper <drepper@gmail.com>
19340
d96de963
UD
19341 [BZ #13134]
19342 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19343 before glibc 2.15.
19344 (tryshell): Define.
19345 (__spawni): Change last parameter to be flag. Test
19346 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19347 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19348 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19349 * posix/spawni.c: Likewise.
19350 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19351 * posix/spawnp.c: Likewise. Change normal version to use
19352 SPAWN_XFLAGS_USE_PATH.
19353 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19354 SPAWN_XFLAGS_TRY_SHELL.
19355
d48e5868
UD
19356 [BZ #13150]
19357 * posix/glob.h: Remove gcc 1.x support.
19358
554881ef
UD
19359 [BZ #13068]
19360 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19361
693fb948
LD
193622011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19363
19364 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19365 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19366 strrchr-sse2-bsf
19367 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19368 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19369 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19370 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19371 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19372 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19373
1b48c537
UD
193742011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19375
49d42c37
UD
19376 * sysdeps/x86_64/wcscmp.S: New file.
19377
1b48c537
UD
19378 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19379 wcscmp-c wcscmp-sse2
19380 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19381 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19382 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19383 * wcsmbs/wcscmp.c: Allow renaming.
19384
15c95c5d
DM
193852011-09-05 David S. Miller <davem@davemloft.net>
19386
19387 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19388 stack slot, rather than the struct return pointer slot.
19389 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19390 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19392 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19393
2f0ad8f3
UD
193942011-09-05 Ulrich Drepper <drepper@gmail.com>
19395
d88ae418
UD
19396 * po/ja.po: Update from translation team.
19397
2f0ad8f3
UD
19398 [BZ #13144]
19399 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19400 kernel in 64-bit binaries.
19401
5f4318d1
DM
194022011-09-01 David S. Miller <davem@davemloft.net>
19403
19404 * elf/elf.h (HWCAP_SPARC_*): Move to..
19405 * sysdeps/sparc/sysdep.h: this new file and add new values.
19406 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19407 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19408 _DL_HWCAP_COUNT to 24.
19409 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19410 entries.
19411 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19412 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19413 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19414 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19415 instead of magic constants.
19416 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19417
3ba57516
DM
194182011-08-31 David S. Miller <davem@davemloft.net>
19419
19420 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19421 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19422 Reimplement to do errno handling inline.
19423 (SYSCALL_ERROR_HANDLER): New macro.
19424 (__SYSCALL_STRING): Do not do errno handling in asm.
19425 (__CLONE_SYSCALL_STRING): Delete.
19426 (__INTERNAL_SYSCALL_STRING): Delete.
19427 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19428 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19429 (PSEUDO): Reimplement to do errno handling inline.
19430 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19431 (SYSCALL_ERROR_HANDLER): New macro.
19432 (__SYSCALL_STRING): Do not do errno handling in asm.
19433 (__CLONE_SYSCALL_STRING): Delete.
19434 (__INTERNAL_SYSCALL_STRING): Delete.
19435 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19436 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19437 i386.
19438 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19439 (inline_syscall*): Add 'err' argument.
19440 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19441 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19442 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19443 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19444
19445 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19446 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19447
2bc17433
AS
194482011-08-30 Andreas Schwab <schwab@redhat.com>
19449
19450 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19451
fbeb5f4d
JO
194522011-08-29 Jiri Olsa <jolsa@redhat.com>
19453
19454 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19455 directive.
19456
ad69cc26
DM
194572011-08-24 David S. Miller <davem@davemloft.net>
19458
19459 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19460
39dd69df
AS
194612011-08-24 Andreas Schwab <schwab@redhat.com>
19462
19463 * elf/Makefile: Add rules to build and run unload8 test.
19464 * elf/unload8.c: New file.
19465 * elf/unload8mod1.c: New file.
19466 * elf/unload8mod1x.c: New file.
19467 * elf/unload8mod2.c: New file.
19468 * elf/unload8mod3.c: New file.
19469
19470 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19471 it wasn't used.
19472
2c0b250a
DM
194732011-08-23 David S. Miller <davem@davemloft.net>
19474
19475 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19476 subtract stack bias.
19477 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19478 %sp not %fp in calculations.
19479 (_JMPBUF_UNWINDS_ADJ): Likewise.
19480
22044b48
DM
19481 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19482 (aio_suspend): Call it to force an exception region around the
19483 AIO_MISC_WAIT() invocation.
19484
2cae4995
AS
194852011-08-23 Andreas Schwab <schwab@redhat.com>
19486
19487 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19488 backslash.
19489
873a772e
AJ
194902011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19491
19492 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19493 protection macro.
19494 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19495 and <dl-machine.h>.
19496 (Elf64_FuncDesc): Remove.
19497
25ad0df1
DM
194982011-08-22 David S. Miller <davem@davemloft.net>
19499
19500 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19501 sigaltstack check, add missing cfi directives.
19502 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19503 missing cfi directives, and sigaltstack handling.
19504
e888bcbe
AS
195052011-08-16 Andreas Schwab <schwab@redhat.com>
19506
19507 [BZ #11724]
19508 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19509 object is seen twice.
19510 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19511
19512 * elf/Makefile (distribute): Add tst-initorder2.c.
19513 (tests): Add tst-initorder2.
19514 (modules-names): Add tst-initorder2a tst-initorder2b
19515 tst-initorder2c tst-initorder2d. Add rules to build them.
19516 ($(objpfx)tst-initorder2.out): New rule.
19517 * elf/tst-initorder2.c: New file.
19518 * elf/tst-initorder2.exp: New file.
19519
87162f46
AS
195202011-08-22 Andreas Schwab <schwab@redhat.com>
19521
70538b7f
AS
19522 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19523
f55ffe58
AS
19524 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19525 dependencies back to end of function.
19526
87162f46
AS
19527 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19528 $(elfobjdir)/ld.so.
19529
91b392a4
UD
195302011-08-21 Ulrich Drepper <drepper@gmail.com>
19531
19532 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19533 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19534 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19535 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19536 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19537 of __vdso_gettimeofday.
19538 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19539 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19540 attribute_hidden.
19541 (_libc_vdso_platform_setup): Remove initialization of
19542 __vdso_gettimeofday and __vdso_time.
19543
5c43483f
UD
195442011-08-20 Ulrich Drepper <drepper@gmail.com>
19545
775a77e7
UD
19546 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19547 and fgetc_unlocked.
19548 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19549 getc_unlocked.
89f447ed 19550
49c74ba9
UD
19551 * elf/dl-open.c (add_to_global): Report additions to the global scope
19552 for LD_DEBUG=scopes.
19553 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 19554 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 19555
5c43483f
UD
19556 [BZ #13114]
19557 * stdio-common/Makefile (tests): Add bug24.
19558 * stdio-common/bug24.c: New file.
19559
a101b025
AJ
195602011-08-19 Andreas Jaeger <aj@suse.de>
19561
19562 [BZ #13114]
19563 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19564 non-existant file when using close-on-exec mode.
19565
c88f1766
UD
195662011-08-20 Ulrich Drepper <drepper@gmail.com>
19567
0276a718
UD
19568 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19569 the very first instruction.
19570
c88f1766
UD
19571 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19572 the CFI state in the end.
19573 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19574 inclusion of dl-trampoline.h.
19575 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19576
51ccffa0
AS
195772011-08-19 Andreas Schwab <schwab@redhat.com>
19578
94d7165f
AS
19579 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19580 expectations for long double.
19581
51ccffa0
AS
19582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19583 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19584
fd708658 195852011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
19586
19587 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19588 artificual limit depends upon the system page size.
19589
44f0a71e
UD
195902011-08-17 Ulrich Drepper <drepper@gmail.com>
19591
19592 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19593 * resolv/Makefile: Define CFLAGS-libresolv.
19594
8de79a24
AS
195952011-08-17 Andreas Schwab <schwab@redhat.com>
19596
19597 * nss/makedb.c (compute_tables): Make variables used in nested
19598 function static.
19599
27724598
UD
196002011-08-17 Ulrich Drepper <drepper@gmail.com>
19601
c5305d88
UD
19602 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19603 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19604 if buffer was too small.
19605
27724598
UD
19606 * elf/pldd.c (main): Attach to all threads in the process.
19607 Rewrite /proc handling to use *at functions.
19608
076fe015
UD
196092011-08-16 Ulrich Drepper <drepper@gmail.com>
19610
174baab3
UD
19611 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19612 specifies first scope to show.
19613 (dl_open_worker): Update callers. Move printing scope of new
19614 object to before the relocation.
44f0a71e 19615 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
19616 * sysdeps/generic/ldsodefs.h: Update declaration.
19617
076fe015
UD
19618 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19619 string for the scope number.
19620
a60df2c3
UD
196212011-08-14 Ulrich Drepper <drepper@gmail.com>
19622
19623 * nscd/servicescache.c (cache_addserv): Make sure written is always
19624 initialized.
19625
5e4287d1
RM
196262011-08-14 Roland McGrath <roland@hack.frob.com>
19627
85ae0589
RM
19628 * sysdeps/i386/i486/bits/atomic.h
19629 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19630 statement expression, so as to suppress "set but not used" warning.
19631 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19632
69f63097
RM
19633 * string/strncat.c (STRNCAT): Use prototype definition.
19634
675456ef
RM
19635 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19636 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19637 -Iprograms here.
19638 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19639 (localedef-modules): Add localedef.
19640 (locale-modules): Add locale.
19641
5e4287d1
RM
19642 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19643 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19644 to avoid a warning.
19645
9c96ff23
DM
196462011-08-14 David S. Miller <davem@davemloft.net>
19647
19648 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19649 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19650
f9ddf089
UD
196512011-08-13 Ulrich Drepper <drepper@gmail.com>
19652
44f0a71e 19653 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
19654 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19655 * elf/rtld.c (dl_main): Set l_name of vDSO.
19656 Call _dl_show_scope when DL_DEBUG_SCOPES.
19657 (process_dl_debug): Recognize scopes flag and also set it for all.
19658 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19659 Declare _dl_show_scope.
19660
1dc27704
UD
19661 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19662 (do_dlopen): Pass caller_dlopen to dl_open.
19663 (__libc_dlopen_mode): Initialize caller_dlopen.
19664
f9ddf089
UD
19665 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19666 of libc. Make tolower call locale-independent. Optimize a bit by
19667 using isdigit instead of isalnum.
19668 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19669
9ac533d3
UD
196702011-08-12 Ulrich Drepper <drepper@gmail.com>
19671
19672 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19673 was a dependency or dynamically loaded.
19674
89edf2e9
UD
196752011-08-11 Ulrich Drepper <drepper@gmail.com>
19676
8e999d29
UD
19677 * intl/l10nflist.c: Allow architecture-specific pop function.
19678 * sysdeps/x86_64/l10nflist.c: New file.
19679
89edf2e9
UD
19680 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19681 classification.
19682
14d96785
AS
196832011-08-10 Andreas Schwab <schwab@redhat.com>
19684
19685 * include/dirent.h: Add libc_hidden_proto for scandirat and
19686 scandirat64. Don't declare __scandirat64.
19687 * dirent/scandirat.c: Add libc_hidden_def.
19688 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19689 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19690
6761ac04
DM
196912011-08-10 David S. Miller <davem@davemloft.net>
19692
19693 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19694 enum.
19695 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19696 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19697 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19698
c55fbd1e
UD
196992011-08-09 Ulrich Drepper <drepper@gmail.com>
19700
19701 * Versions.def [libc]: Add GLIBC_2.15.
19702 * dirent/Makefile (routines): Add scandirat and scandirat64.
19703 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19704 GLIBC_2.15.
19705 * dirent/dirent.h: Declare scandirat and scandirat64.
19706 * dirent/scandirat.c: New file.
19707 * dirent/scandirat64.c: New file.
19708 * sysdeps/wordsize-64/scandirat.c: New file.
19709 * sysdeps/wordsize-64/scandirat64.c: New file.
19710 * dirent/opendir.c: Define opendirat.
19711 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19712 using scandirat.
19713 * dirent/scandir64.c: Adjust for scandir.c change.
19714 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19715 __scandirat64, and __scandir_cancel_handler.
19716 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19717 additional parameter and use openat instead of open (outside of ld.so).
19718 Add new __opendir as wrapper around __opendirat.
19719 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19720 here without requiring old scandirat implementation.
19721
879165f2
UD
197222011-08-08 Ulrich Drepper <drepper@gmail.com>
19723
19724 * dirent/scandir.c (cancel_handler): Renamed to
19725 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19726 defined. Adjust users.
19727 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19728 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19729
cb7e923b
UD
197302011-08-04 Ulrich Drepper <drepper@gmail.com>
19731
16292edd
UD
19732 * string/test-string.h (IMPL): Use __STRING to expand name and then
19733 stringify it.
19734
cb7e923b
UD
19735 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19736 of cleanups.
19737
cff82933
LD
197382011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19739
19740 * string/Makefile: Update.
19741 (strop-tests): Append strncat.
19742 * string/test-wcscmp.c: New file.
19743 New comprehensive test for wcscmp.
19744 * string/test-strcmp.c: Update.
19745 (WIDE): New define.
19746
9be9bfcc
AS
197472011-07-22 Andreas Schwab <schwab@redhat.com>
19748
19749 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19750 line.
19751
2e96f1c7
AS
197522011-07-26 Andreas Schwab <schwab@redhat.com>
19753
19754 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19755 encoding to ACE if AI_IDN.
19756
85188888
JJ
197572011-08-01 Jakub Jelinek <jakub@redhat.com>
19758
19759 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19760 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19761
5fa16e9b
LD
197622011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19763
19764 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19765 Fix overflow bug in strncat.
19766 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19767
19768 * string/test-strncat.c: Update.
19769 Add new tests for checking overflow bugs.
19770
197712011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19772
19773 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19774 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19775 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19776 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19777 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19778 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19779 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19780 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19781 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19782
19783 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19784 (USE_AS_STRCAT): Define.
19785 Add strcat and strncat support.
19786 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19787
8c1a459f
AS
197882011-07-25 Andreas Schwab <schwab@redhat.com>
19789
19790 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19791 __n bigger than INT_MAX+1.
19792 (__strncmp_g): Likewise.
19793
bba33c28
UD
197942011-07-23 Ulrich Drepper <drepper@gmail.com>
19795
798be72d
UD
19796 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19797 * libio/stido.h: Likewise.
19798
8accd4dc
UD
19799 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19800 (AF_NFC): Define.
19801 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19802 (AF_NFC): Define.
19803
cbff0d96
UD
19804 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19805 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19806 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19807 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19808 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19809
9191c04a
UD
19810 [BZ #13021]
19811 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19812 installed.
19813
bba33c28
UD
19814 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19815 typo.
19816 (_dl_x86_64_save_sse): Likewise.
19817
90f139dd
UD
198182011-07-22 Ulrich Drepper <drepper@gmail.com>
19819
1aae088a
UD
19820 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19821 OSXSAVE.
19822 (_dl_x86_64_save_sse): Likewise.
19823
8e2045f5
UD
19824 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19825
90f139dd
UD
19826 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19827
1d002f25
AS
198282011-07-21 Andreas Schwab <schwab@redhat.com>
19829
19830 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19831 change.
19832 (_dl_x86_64_save_sse): Use correct AVX check.
19833
21137f89
UD
198342011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19835
19836 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19837 bug in strncpy/strncat.
19838 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19839
a65c0b7a
UD
198402011-07-21 Ulrich Drepper <drepper@gmail.com>
19841
19842 * string/tester.c (test_strcat): Add tests for different alignments
19843 of source and destination.
19844 (test_strncat): Likewise.
19845
6986b98a
UD
198462011-07-20 Ulrich Drepper <drepper@gmail.com>
19847
90bb2039
UD
19848 [BZ #12852]
19849 * posix/glob.c (glob): Check passed in values before using them in
19850 expressions to avoid some overflows.
19851 (glob_in_dir): Likewise.
19852
5644ef54
UD
19853 [BZ #13007]
19854 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19855 check for AVX enablement so that we don't crash with old kernels and
19856 new hardware.
19857 * elf/tst-audit4.c: Add same checks here.
19858 * elf/tst-audit6.c: Likewise.
19859
19860 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 19861
bfc9dc9b
AS
198622011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19863
19864 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19865
702e64bb
UD
198662011-07-20 Ulrich Drepper <drepper@gmail.com>
19867
19868 * po/cs.po: Update from translation team.
19869 * po/bg.po: Likewise.
19870
295e904f
MP
198712011-07-12 Marek Polacek <mpolacek@redhat.com>
19872
19873 * misc/sys/cdefs.h: Add support for const attribute.
19874 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19875 to gnu_dev_{major,minor,makedev} functions.
19876
3ff94596
MP
198772011-07-20 Marek Polacek <mpolacek@redhat.com>
19878
19879 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19880
28b59fca
AS
198812011-07-20 Andreas Schwab <schwab@redhat.com>
19882
19883 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19884 strlen results.
19885
19df733e
AK
198862011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19887
19888 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19889 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19890 register in order to avoid conflicts with the soft frame pointer
19891 being held in r11 when necessary.
19892 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19893 (INTERNAL_VSYSCALL_NCS): Likewise.
19894
c8835729
MP
198952011-07-14 Marek Polacek <mpolacek@redhat.com>
19896
19897 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19898 * elf/dl-fini.c (_dl_fini): Adjust caller.
19899 * elf/dl-close.c (_dl_close_worker): Likewise.
19900 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19901
b902330c
MP
199022011-07-15 Marek Polacek <mpolacek@redhat.com>
19903
8991e135
MP
19904 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19905 "aux_cache->nlibs < 0".
19906
b902330c
MP
19907 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19908 in the reload-count case.
19909
99710781
LD
199102011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19911
19912 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19913 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19914 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19915 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19916 * sysdeps/x86_64/multiarch/strcat.S: New file.
19917 * sysdeps/x86_64/multiarch/strncat.S: New file.
19918 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19919 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19920 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19921 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19922 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19923 (USE_AS_STRCAT): Define.
19924 Add strcat and strncat support.
19925 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19926 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19927 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19928 * string/strncat.c: Update.
19929 (USE_AS_STRNCAT): Define.
19930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19931 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19932 and i7.
19933 * sysdeps/x86_64/multiarch/init-arch.h
19934 (bit_Prefer_PMINUB_for_stringop): New.
19935 (index_Prefer_PMINUB_for_stringop): Likewise.
19936 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19937 bit_Prefer_PMINUB_for_stringop.
19938
7dc6bd90
UD
199392011-07-19 Ulrich Drepper <drepper@gmail.com>
19940
19941 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19942 buffer64.
19943 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19944 of casting of buffer.
19945 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19946 buffer32 and buffer64.
19947 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19948 writes instead of casting of buffer.
19949 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19950 buffer32.
19951 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19952 casting of buffer.
19953
e0e72284
AS
199542011-07-19 Andreas Schwab <schwab@redhat.com>
19955
19956 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19957
feb1eb0b
UD
199582011-07-19 Ulrich Drepper <drepper@gmail.com>
19959
19960 * nscd/nscd.c (termination_handler): Don't do anything for a database
19961 if it has not yet been initialized.
19962
298711ff
UD
199632011-07-18 Ulrich Drepper <drepper@gmail.com>
19964
19965 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19966
199672011-07-15 Marek Polacek <mpolacek@redhat.com>
19968
19969 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19970
f9d68389
UD
199712011-07-18 Ulrich Drepper <drepper@gmail.com>
19972
19973 * po/nl.po: Update from translation team.
19974 * po/sv.po: Likewise.
19975
db290cf5
RM
199762011-07-16 Roland McGrath <roland@hack.frob.com>
19977
19978 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19979 now disallowed by GCC.
5c550700 19980
fd5e21c7
RM
19981 * configure.in (use-default-link): Default to yes if a test -shared
19982 link meets our qualifications.
19983 * configure: Regenerated.
19984
5c550700
RM
19985 * config.make.in (output-format): New variable.
19986 * configure.in: Check for ld --print-output-format support.
19987 * configure: Regenerated.
19988 * Makerules ($(common-objpfx)format.lds)
19989 [$(output-format) != unknown]: Just use $(output-format),
19990 instead of the linker-script munging.
19991
9fa2c032
RM
199922011-07-14 Roland McGrath <roland@hack.frob.com>
19993
a6928d51
RM
19994 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19995 of $(common-objpfx)shlib.lds.
19996 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19997
661607b3
RM
19998 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19999 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20000
9fa2c032
RM
20001 * configure.in (-z relro check): Adjust test code to add a large
20002 writable data section after it.
20003 * configure: Regenerated.
20004
defe9061
RM
200052011-07-11 Roland McGrath <roland@hack.frob.com>
20006
20007 * configure.in (-z relro check): Fix test code to make the variable
20008 truly const.
20009 * configure: Regenerated.
20010
319b9ad4
UD
200112011-07-11 Ulrich Drepper <drepper@gmail.com>
20012
20013 * nscd/nscd.h (struct traced_file): Define.
20014 (struct database_dyn): Remove inotify_descr, reset_res, and filename
20015 elements. Add traced_files.
20016 (inotify_fd): Declare.
20017 (register_traced_file): Declare.
20018 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20019 (inotify_fd): Export.
20020 (resolv_conf_descr): Remove.
20021 (nscd_init): Move inotify descriptor creation to main.
20022 Don't register files for notification here.
20023 (register_traced_file): New function.
20024 (invalidate_cache): Don't use reset_res to determine whether to call
20025 res_init, go through the list of registered files.
20026 (main_loop_poll): The inotify descriptors are now stored in the
20027 structures for the traced files.
20028 (main_loop_epoll): Likewise
20029 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
20030 to __nss_disable_nscd.
20031 * nscd/cache.c (prune_cache): There is no single inotify descriptor
20032 for a database anymore. Check the records for all the registered
20033 files instead.
20034 * nss/Makefile (libnss_files-routines): Add files-init.
20035 (libnss_db-routines): Add db-init.
20036 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20037 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20038 * nss/nss_db/db-init.c: New file.
20039 * nss/nss_files/files-init.c: New file.
20040 * nss/nsswitch.c (nss_load_library): New function. Broken out of
20041 __nss_lookup_function.
20042 (__nss_lookup_function): Call nss_load_library.
20043 (nss_load_all_libraries): New function.
20044 (__nss_disable_nscd): Take parameter with callback function for files
20045 to register. Set is_nscd. Load all the DSOs for the NSS modules
20046 used for the cached services.
20047 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20048 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20049 options for features to all the files in nscd.
20050
20051 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20052
23bee3e8
RM
200532011-07-10 Roland McGrath <roland@hack.frob.com>
20054
20055 * csu/elf-init.c (__libc_csu_init): Comment typo.
20056
46a5b7f0
UD
200572011-07-09 Ulrich Drepper <drepper@gmail.com>
20058
20059 * po/pl.po: Update from translation team.
20060 * po/ja.po: Likewise.
20061 * po/ru.po: Likewise.
20062 * po/ko.po: Likewise.
20063 * po/fr.po: Likewise.
20064
d30cf5bb
RM
200652011-07-09 Roland McGrath <roland@hack.frob.com>
20066
113ddea4
RM
20067 * configure.in (.ctors/.dtors header and trailer check):
20068 Use an empirical test on a built program.
20069 * configure: Regenerated.
20070
574920b4
RM
20071 * configure.in (-z relro check): Use an empirical test on a built DSO.
20072 Detect, but do not require, on ia64.
20073 * configure: Regenerated.
20074
d30cf5bb
RM
20075 * configure.in (READELF): Find it with AC_CHECK_TOOL.
20076 Update tests that use readelf to use $READELF instead.
20077 * configure: Regenerated.
20078
8538fdb3
UD
200792011-07-08 Ulrich Drepper <drepper@gmail.com>
20080
20081 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20082 if the result is not used.
20083
04d08991
AJ
200842011-07-05 Andreas Jaeger <aj@suse.de>
20085
20086 [BZ#9696]
20087 * stdlib/tst-strtod.c: Add testcase.
20088
de283087
AD
200892011-07-07 Ulrich Drepper <drepper@gmail.com>
20090
4e5f31c8 20091 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 20092 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
20093 The latter has a higher limit. Take additional parameter to pass to
20094 the new function.
20095 (__pathconf): Pass file to __statfs_link_max.
20096 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20097 __statfs_link_max.
20098 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20099 __statfs_link_max.
20100
de283087
AD
20101 [BZ #12868]
20102 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20103 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20104 Handle Lustre.
20105 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20106 (__statfs_filesize_max): Likewise.
20107 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20108
c75fa153
AJ
201092011-07-05 Andreas Jaeger <aj@suse.de>
20110
20111 * resolv/res_comp.c (dn_skipname): Remove unused variable.
20112
1a544854
UD
201132011-07-06 Marek Polacek <mpolacek@redhat.com>
20114
20115 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20116 `status' variable.
20117 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20118 Likewise.
20119
6f0eec67
UD
201202011-07-04 H.J. Lu <hongjiu.lu@intel.com>
20121
20122 * Makefile (strop-tests): Add strncat.
20123 * string/test-strncat.c: New file.
20124
aae30307
UD
201252011-06-30 Marek Polacek <mpolacek@redhat.com>
20126
20127 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20128
c0cfb5eb
UD
201292011-06-21 Andreas Jaeger <aj@suse.de>
20130
20131 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20132 Copy rule from iconvdata/Makefile.
20133
01636b21
UD
201342011-07-06 Ulrich Drepper <drepper@gmail.com>
20135
20136 [BZ #12922]
20137 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20138 but no long options are defined, just return 'W'.
20139
9895c8bc
UD
201402011-06-22 Marek Polacek <mpolacek@redhat.com>
20141
20142 [BZ #9696]
20143 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20144
5d4cf042
UD
201452011-07-06 Ulrich Drepper <drepper@gmail.com>
20146
20147 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20148 netgroups to read.
960e5535 20149 (innetgr): Likewise.
5d4cf042 20150
751eb97e
RM
201512011-07-05 Roland McGrath <roland@hack.frob.com>
20152
20153 * config.make.in (install_root): Default to $(DESTDIR).
20154
f15f1e45
UD
201552011-07-05 Ulrich Drepper <drepper@gmail.com>
20156
20157 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20158
4e34ac6a
RM
201592011-07-02 Roland McGrath <roland@hack.frob.com>
20160
5e9b6af4
RM
20161 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20162
84f9ea0f
RM
20163 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20164 containing directory rather than embedding absolute directory names.
20165
ea5ee9f7
RM
20166 * scripts/check-local-headers.sh: Rewritten using awk.
20167 Match by word, not by line. Print error messages for matches.
20168 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20169
1b74661a
RM
20170 * Makerules [shlib-lds-flags empty]:
20171 ($(common-objpfx)libc_pic.opts): New target.
20172 ($(common-objpfx)libc_pic.os.clean): New target.
20173 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20174
20175 * config.make.in (OBJCOPY): New variable.
20176 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20177 * configure: Regenerated.
20178
f781ef40
RM
20179 * config.make.in (use-default-link): New variable.
20180 * configure.in (use_default_link): Grok --with-default-link to set it.
20181 * configure: Regenerated.
20182 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20183 (shlib-lds, shlib-lds-flags): Define to empty.
20184
2d4fa81e
RM
20185 * Makerules (shlib-lds): New variable.
20186 (shlib-lds-flags): New variable.
20187 (build-shlib, build-moduile, build-module-asneeded): Use it.
20188 ($(common-objpfx)libc.so): Use $(shlib-lds).
20189 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20190 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20191
31fffa6b
RM
20192 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20193 DT_FLAGS/DT_FLAGS_1 with zero flags.
20194
4e34ac6a
RM
20195 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20196 linker script munging.
20197
fcfc776b
UD
201982011-07-02 Ulrich Drepper <drepper@gmail.com>
20199
20200 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20201 as 128-bit value.
20202 * crypt/sha512.c (sha512_process_block): Perform total addition using
20203 128-bit if possible.
20204 (__sha512_finish_ctx): Likewise.
20205 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20206 as 64-bit value.
20207 * crypt/sha256.c (SWAP64): Define.
20208 (sha256_process_block): Perform total addition using 64-bit if
20209 possible.
20210 (__sha256_finish_ctx): Likewise.
20211
99231d9a
UD
202122011-07-01 Ulrich Drepper <drepper@gmail.com>
20213
20214 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20215 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20216 * nscd/hstcache.c (cache_addhst): Likewise.
20217 * nscd/grpcache.c (cache_addgr): Likewise.
20218 * nscd/aicache.c (addhstaiX): Likewise
20219 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20220
445b4a53
TK
202212011-07-01 Thorsten Kukuk <kukuk@suse.de>
20222
20223 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20224 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20225 * nscd/hstcache.c (cache_addhst): Likewise.
20226 * nscd/grpcache.c (cache_addgr): Likewise.
20227 * nscd/aicache.c (addhstaiX): Likewise
20228
6d4d8e8e
AS
202292011-07-01 Andreas Schwab <schwab@redhat.com>
20230
20231 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20232 domain only when needed.
20233
89f654c5
AS
202342011-06-30 Andreas Schwab <schwab@redhat.com>
20235
20236 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20237 is always restored.
20238
cf3b23ff
UD
202392011-06-29 Ulrich Drepper <drepper@gmail.com>
20240
20241 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20242 are re-adding the entry.
20243 * nscd/servicescache.c (cache_addserv): Likewise.
20244
751626f9
AJ
202452011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20246
20247 * sysdeps/generic/dl-irel.h: fix protection against multiple
20248 inclusions.
20249 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20250
9113ea1f
UD
202512011-06-28 Ulrich Drepper <drepper@gmail.com>
20252
5c0b8d90
UD
20253 [BZ #12935]
20254 * malloc/memusage.sh: Fix quoting in message.
20255 * debug/xtrace.sh: Likewise.
20256
9113ea1f
UD
20257 * configure.in: Remove support for --experimental-malloc option, make
20258 it the default.
20259 * config.make.in: Likewise.
20260 * malloc/Makefile: Likewise.
20261
a4172181
AS
202622011-06-27 Andreas Schwab <schwab@redhat.com>
20263
20264 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20265 two-byte characters.
20266
78a7eee7
RM
202672011-06-27 Roland McGrath <roland@hack.frob.com>
20268
62bede13
RM
20269 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20270 AC_CACHE_CHECK invocation.
20271 * configure: Regenerated.
20272
78a7eee7
RM
20273 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20274
5ce33a62
UD
202752011-06-27 Ulrich Drepper <drepper@gmail.com>
20276
034807a9
UD
20277 [BZ #12350]
20278 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20279 bit from old_res_options.
20280
4902da17
UD
20281 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20282
5ce33a62
UD
20283 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20284 value type for setfct.
20285
c2344f56
L
202862011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20287
20288 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20289 __gettimeofday instead of gettimeofday.
20290
68468076
UD
202912011-06-26 Ulrich Drepper <drepper@gmail.com>
20292
20293 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20294
acb0d739
L
202952011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20296
20297 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20298
20299 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20300 info.
20301
8912479f
L
203022011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20303
20304 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20305 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20306 strcpy-sse2-unaligned strncpy-sse2-unaligned
20307 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20308 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20309 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20310 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20311 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20312 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20313 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20314 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20315 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20316 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20317 (STRCPY): Support SSE2 and SSSE3 versions.
20318
d5495a11
UD
203192011-06-24 Ulrich Drepper <drepper@gmail.com>
20320
20321 [BZ #12874]
20322 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20323 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20324 kernels which artificially limit size of requests.
20325
0b1cbaae
L
203262011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20327
20328 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20329 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20330 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20331 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20332 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20333 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20334 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20335 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20336 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20337 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20338 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20339 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20340 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20341 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20342 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20344 Enable unaligned load optimization for Intel Core i3, i5 and i7
20345 processors.
20346 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20347 Define.
20348 (index_Fast_Unaligned_Load): Define.
20349 (HAS_FAST_UNALIGNED_LOAD): Define.
20350
07f494a0
MP
203512011-06-23 Marek Polacek <mpolacek@redhat.com>
20352
20353 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20354
fa3fc0fe
UD
203552011-06-22 Ulrich Drepper <drepper@gmail.com>
20356
20357 [BZ #12907]
20358 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20359 until it is clear that the information is realy needed.
20360 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20361
e12df166
AS
203622011-06-22 Andreas Schwab <schwab@redhat.com>
20363
20364 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20365
852eb34d
UD
203662011-06-22 Ulrich Drepper <drepper@gmail.com>
20367
84e2a551
UD
20368 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20369 /sys/devices/system/cpu/online if it is usable.
20370
852eb34d
UD
20371 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20372 reading the information from the /proc filesystem to once a second.
20373
6e502e19
UD
203742011-06-21 Andreas Jaeger <aj@suse.de>
20375
20376 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20377 NULL after inclusion of kernel headers.
20378
75d39ff2
UD
203792011-06-21 Ulrich Drepper <drepper@gmail.com>
20380
51f9aa6a
UD
20381 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20382 calls to internal_setent.
20383
c0244a9d
UD
20384 [BZ #12885]
20385 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20386 addresses using gethostbyname4_r ignore IPv4 addresses.
20387
c5e3c2ae
UD
20388 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20389 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20390
75d39ff2
UD
20391 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20392
42675c6f
DM
203932011-06-20 David S. Miller <davem@davemloft.net>
20394
20395 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20396 inclusions.
20397 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20398
20399 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20400 (elf_irel): Use it.
20401 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20402 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20403 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20404 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20405 * sysdeps/x86_64/dl-irel.h: Likewise.
20406
20407 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20408 * elf/dl-sym.c: Likewise.
20409
57912a71
UD
204102011-06-15 Ulrich Drepper <drepper@gmail.com>
20411
20412 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20413 need to dereference resplen2.
20414
ee22793d
AS
204152011-06-14 Andreas Schwab <schwab@redhat.com>
20416
20417 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20418
a9e836b0
UD
204192011-06-15 Ulrich Drepper <drepper@gmail.com>
20420
77fb9117
UD
20421 * Makeconfig: Define vardbdir and inst_vardbdir.
20422 * nss/Makefile: Add rules to install db-Makefile.
20423
40c1b22c
UD
20424 * nss/nss_db/db-XXX.c: Cleanup.
20425
9f2da732
UD
20426 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20427 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20428 GLIBC_PRIVATE.
20429 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20430 * nss/makedb.c: Implement -g option to specify that value strings
20431 are generated and should not be added to table iterated over for
20432 get*ent calls.
20433 * nss/nss_db/db-initgroups.c: New file.
20434
82e9a1f7
UD
20435 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20436 interface.
20437
c41af17e
UD
20438 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20439 (internal_getgrouplist): Adjust to name change.
20440 Update use_initgroups_entry if this is not the first call.
20441 * nss/databases.def: Add initgroups entry.
20442
a9e836b0
UD
20443 * nss/makedb.c (compute_tables): Check result of multiple hash table
20444 sizes to minimize maximum chain length.
20445
2666d441
UD
204462011-06-14 Ulrich Drepper <drepper@gmail.com>
20447
20448 * Versions.def: Add entry for libnss_db.
20449 * shlib-versions: Likewise.
20450 * nss/Makefile: Add rules to build libnss_db.
20451 * nss/Versions: Add libnss_db information. Organize libnss_files
20452 entries better.
20453 * nss/db-Makefile: Add gshadow support. Change rules for the new
20454 makedb progra. Some minor improvements to generate smaller files.
20455 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20456 here from...
20457 * nss/makedb.c: ...here.
20458 Improve database format to be smaller and require less memory at
20459 runtime.
20460 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20461 db anymore.
20462 * nss/nss_db/db-netgrp.c: Likewise.
20463 * nss/nss_db/db-open.c: Likewise.
20464 * nss/nss_files/flies-XXX.x: Adjust comments.
20465 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20466 * nss/nss_files/files-grp.c: Likewise.
20467 * nss/nss_files/files-hosts.c: Likewise.
20468 * nss/nss_files/files-network.c: Likewise.
20469 * nss/nss_files/files-proto.c: Likewise.
20470 * nss/nss_files/files-pwd.c: Likewise.
20471 * nss/nss_files/files-rpc.c: Likewise.
20472 * nss/nss_files/files-service.c: Likewise.
20473 * nss/nss_files/files-sgrp.c: Likewise.
20474 * nss/nss_files/files-spwd.c: Likewise.
20475 * nss/nss_db/db-alias.c: Removed.
20476 * nss/nss_db/dummy-db.h: Removed.
20477
9ee76b5a
UD
204782011-06-02 Ulrich Drepper <drepper@gmail.com>
20479
20480 * nss/makedb.c: Rewritten to not use database library.
20481 * nss/Makefile: Update to build new makedb program.
20482
c71ca1f8
AJ
204832011-06-14 Andreas Jaeger <aj@suse.de>
20484
20485 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20486 memset declaration.
20487
3154bfb8
UD
204882011-06-10 Andreas Schwab <schwab@redhat.com>
20489
20490 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20491 tmpbuf.
20492
b350afab
RM
204932011-06-10 Roland McGrath <roland@hack.frob.com>
20494
decd4e50
RM
20495 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20496 * elf/Makefile ($(objpfx)ld.so): Likewise.
20497
5615eaf2
RM
20498 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20499 Don't list ld.so twice in dependencies.
20500
20501 * posix/bug-regex31.c: Include <stdlib.h>.
20502
20503 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20504
20505 * nis/nss_compat/compat-spwd.c
20506 (getspent_next_nss_netgr): Remove unused variable.
20507 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20508
20509 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20510 nonmembers" output to use the right array.
20511
20512 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20513
20514 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20515
20516 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20517 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20518 * catgets/gencat.c (read_input_file): Likewise.
20519 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20520
20521 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20522 variable definition inside #if's controlling its use.
20523
20524 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20525
20526 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20527
20528 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20529
20530 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20531 unreachable code.
20532
20533 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20534
b68e08db
RM
20535 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20536 * configure: Regenerated.
20537
b350afab
RM
20538 * Makerules: Revert last change.
20539 * elf/Makefile: Likewise.
20540
28368601
RM
205412011-06-09 Roland McGrath <roland@hack.frob.com>
20542
20543 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20544 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20545 (reloc-link): Likewise.
20546
11988f8f
UD
205472011-06-09 Ulrich Drepper <drepper@gmail.com>
20548
20549 * elf/Makefile: Add rules to build pldd.
20550 * elf/pldd.c: New file.
20551 * elf/pldd-xx.c: New file.
20552
e80fab37
UD
205532011-06-07 Ulrich Drepper <drepper@gmail.com>
20554
20555 * version.h: Update for 2.15 development version.
20556
9b849836
DM
205572011-06-07 David S. Miller <davem@davemloft.net>
20558
20559 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20560 ifuncs.
20561 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20562 elf_machine_lazy_rel): Likewise.
20563 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20564 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20565 elf_machine_lazy_rel): Likewise.
20566 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20567 dl_hwcap via passed in argument.
20568 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20569 Likewise.
20570
5a31b283
AK
205712011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20572
20573 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20574
069e52f8
RM
205752011-06-06 Roland McGrath <roland@hack.frob.com>
20576
20577 [BZ #12849]
20578 * manual/fdl-1.1.texi: New file, verbatim from:
20579 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20580 * manual/lgpl-2.1.texi: New file, verbatim from:
20581 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20582 * manual/Makefile (licenses): New variable, list those new file names.
20583 (texis): Use it.
20584 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20585
20586 * manual/fdl.texi: File removed.
20587 * manual/lesser.texi: File removed.
20588 * manual/libc.texinfo (Copying, Documentation License):
20589 Use new @include file names, put @appendix directive before @include.
20590
f16846a5
JJ
205912011-06-04 Jakub Jelinek <jakub@redhat.com>
20592
20593 [BZ #12841]
20594 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20595 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20596 (mq_open): Add __NTH.
20597
3d29045b
L
205982011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20599
20600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20601 Assume Intel Core i3/i5/i7 processor if AVX is available.
20602
8c297311
UD
206032011-05-31 Ulrich Drepper <drepper@gmail.com>
20604
20605 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20606 typo.
20607
c8fc0c91
UD
206082011-05-31 Andreas Schwab <schwab@redhat.com>
20609
20610 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20611 memory. Use alloca_account. Fix memory leak when retrying.
20612
5b27a807
UD
206132011-05-31 Ulrich Drepper <drepper@gmail.com>
20614
356f8bc6
UD
20615 * version.h (RELEASE): Bump for 2.14 release.
20616 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20617
5b27a807
UD
20618 * config.make.in (RANLIB): Remove entry.
20619
01f16ab0
UD
206202011-05-30 Ulrich Drepper <drepper@gmail.com>
20621
41fce8bd
UD
20622 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20623 (libc.pot): Work around missing support for .ksh extension in xgettext.
20624
4769ae77
UD
20625 [BZ #12684]
20626 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20627 if both request failed.
20628 (send_dg): In case of server errors clear resplen or *resplen2.
20629
6b1e7d19
UD
20630 [BZ #12454]
20631 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20632 when there are multiple maps.
20633 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20634 (_dl_fini): Remove test here.
20635
01f16ab0
UD
20636 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20637
b1ebd700
UD
206382011-05-29 Ulrich Drepper <drepper@gmail.com>
20639
7ae22829
UD
20640 [BZ #12350]
20641 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20642 bit from old_res_options.
20643 (gaih_inet): Likewise.
20644
553149f6 20645 [BZ #11099]
18a84741 20646 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
20647 as signed.
20648
652ffab1
UD
20649 * resolv/res_init.c (res_setoptions): Make the code more compact.
20650
16985fd0
UD
20651 [BZ #11558]
20652 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20653 set RES_USEVC.
20654
0464f746
UD
20655 [BZ #11634]
20656 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20657
7d17596c
UD
20658 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20659
cf6bbbd7
UD
20660 [BZ #11781]
20661 * malloc/malloc.h: Declare malloc hook variables as volatile.
20662
13f1ab36
UD
20663 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20664 in last patch.
20665
b1ebd700
UD
20666 [BZ #11799]
20667 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 20668 raise in the comment.
80e2212d
UD
20669 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20670 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20671 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 20672
ce67228d
UD
206732011-05-28 Ulrich Drepper <drepper@gmail.com>
20674
8887a920
UD
20675 [BZ #12811]
20676 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20677 grow the buffers more if it already has to be sufficient.
20678 (build_wcs_upper_buffer): Likewise.
20679 * posix/regexec.c (check_matching): Likewise.
20680 (clean_state_log_if_needed): Likewise.
20681 (extend_buffers): Don't enlarge buffers beyond size of the input
20682 buffer.
20683 Patches mostly by Emil Wojak <emil@wojak.eu>.
20684 * posix/bug-regex32.c: New file.
20685 * posix/Makefile (tests): Add bug-regex32.
20686
4f031072
UD
20687 * locale/findlocale.c (_nl_find_locale): Return right away if
20688 _nl_explode_name failed.
20689 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20690
d0478f0c
UD
20691 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20692
de81b246
UD
20693 * debug/xtrace.sh: Unify messages.
20694 * malloc/memusage.sh: Likewise.
20695
c738465a
UD
20696 [BZ #12813]
20697 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20698 time symbol from vDSO. Substitute with vsyscall if not available.
20699 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20700 __vdso_time.
20701
f1f929d7
UD
20702 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20703 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20704 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20705 Add sendmmsg and internal_sendmmsg.
20706 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20707 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20708 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20709
ce67228d
UD
20710 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20711 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20712 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20713
e57420c6
UD
207142011-05-27 Ulrich Drepper <drepper@gmail.com>
20715
a8509ca5
UD
20716 [BZ #12813]
20717 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20718 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20719 available.
20720 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20721 __vdso_getcpu.
20722
e57420c6
UD
20723 [BZ #12814]
20724 * iconvdata/Makefile (tests): Add bug-iconv9.
20725 * iconvdata/bug-iconv9.c: New file.
20726
4d07db15
AS
207272011-05-27 Andreas Schwab <schwab@redhat.com>
20728
20729 [BZ #12814]
20730 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20731
ea486f69
JJ
207322011-05-25 Jakub Jelinek <jakub@redhat.com>
20733
20734 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20735 (struct user_regs_struct): Change intcs field back to cs.
20736
6f038433
UD
207372011-05-25 Ulrich Drepper <drepper@gmail.com>
20738
20739 * po/ja.po: Update from translation team.
20740
67f86a25
UD
207412011-05-23 Ulrich Drepper <drepper@gmail.com>
20742
20743 [BZ #12795]
20744 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20745 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20746
def7fbd6
AS
207472011-05-20 Andreas Schwab <schwab@redhat.com>
20748
20749 * stdlib/longlong.h: Update from GCC.
20750
f50ef8f1
AS
207512011-05-23 Andreas Schwab <schwab@redhat.com>
20752
20753 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20754 parameter name.
20755 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20756 Add parameter name.
20757 (__sysconf): Pass it down.
20758
de7ce8f1
UD
207592011-05-22 Ulrich Drepper <drepper@gmail.com>
20760
f2962a71
UD
20761 [BZ #12671]
20762 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20763 some situations.
20764 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20765 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20766 add in in __libc_use_alloca calls. Adjust callers.
20767 (glob): Use malloc in some situations.
20768
de7ce8f1
UD
20769 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20770 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20771 pltexit.
20772
aec84f53
UD
207732011-05-21 Ulrich Drepper <drepper@gmail.com>
20774
05bb4a68
UD
20775 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20776 and CLOCK_BOOTTIME_ALARM.
20777
7ea72f99
UD
20778 [BZ #12782]
20779 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20780 is returned.
20781
7e4afad5
UD
20782 * string/_strerror.c (__strerror_r): Print negative errors as signed
20783 numbers.
20784
8e211fec
UD
20785 [BZ #12777]
20786 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20787 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20788 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20789
f7d82dc9
UD
20790 * configure.in: Fix typo in redirection and correct removal of test
20791 files in two cases.
20792
cc9e536d
UD
20793 [BZ #12788]
20794 * locale/setlocale.c (new_composite_name): Fix test to check for
20795 identical name of all categories.
20796
aec84f53
UD
20797 [BZ #12792]
20798 * libio/filedoalloc.c (local_isatty): New function.
20799 (_IO_file_doallocate): Use local_isatty.
20800 * stdio-common/perror.c (perror): In case a new stream is used
20801 forward the stream error.
20802 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20803 error flag.
20804
78e64fdc
RT
208052011-05-20 Ulrich Drepper <drepper@gmail.com>
20806
34a9094f
UD
20807 [BZ #11869]
20808 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20809 alloca.
20810 * include/alloca.h (extend_alloca_account): Define.
20811
78e64fdc
RT
20812 [BZ #11857]
20813 * posix/regex.h: Fix comments with documentation of user-accessible
20814 fields after compilation and describe correct free'ing of pattern
20815 after re_compile_pattern.
20816 Patch by Reuben Thomas <rrt@sc3d.org>.
20817
457bddfc
RA
208182011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20819
20820 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20821 and -mno-altivec to prevent the compiler from using Altivec and/or
20822 VSX instructions when the corresponding registers are not available.
20823
a4527b51
AS
208242011-05-19 Andreas Schwab <schwab@redhat.com>
20825
20826 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20827
ed690b2f
UD
208282011-05-19 Ulrich Drepper <drepper@gmail.com>
20829
20830 * libio/freopen.c (freopen): Use __dup2, not dup2.
20831 * libio/freopen64.c (freopen64): Likewise.
20832
8db73634
L
208332011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20834
20835 [BZ #12775]
20836 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20837 * math/Makefile (tests): Add test-powl.
20838 (CFLAGS-test-powl.c): Define.
20839 * math/test-powl.c: New file.
20840
0a197a9d
L
208412011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20842
20843 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20844
ee30c380
UD
208452011-05-17 Ulrich Drepper <drepper@gmail.com>
20846
20847 [BZ #11837]
20848 * iconvdata/gb18030.c: Update to GB18020-2005.
20849
6ce75379
UD
208502011-05-16 Ulrich Drepper <drepper@gmail.com>
20851
a4b89fd8
AR
20852 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20853 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20854 Patch by Aharon Robbins <arnold@skeeve.com>.
20855
ea389b12
UD
20856 [BZ #11892]
20857 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20858 on the stack.
20859
68a3f91f
UD
20860 [BZ #11895]
20861 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20862 through underflows.
20863
15cc7dd1
UD
20864 [BZ #12766]
20865 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20866 point to strings before performing equality test for error_one_per_line
20867 mode.
20868
f3799213
UD
20869 [BZ #11697]
20870 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20871
d79a9c94
UD
20872 [BZ #11820]
20873 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20874 (struct user_fpregs_struct): Avoid __uint*_t types.
20875
56e5eb46
UD
20876 [BZ #6420]
20877 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20878 symbol info. Use it instead of calling _dl_addr locally.
20879 (lock_and_info): New function.
20880 (tr_freehook): Call lock_and_info and pass symbol info as additional
20881 parameter to tr_where.
20882 (tr_mallochook): Likewise.
20883 (tr_reallochook): Likewise.
20884 (tr_memalignhook): Likewise.
20885
6ce75379
UD
20886 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20887 used and couldn't be at all thread-safe.
20888
f8a3b5bf
UD
208892011-05-15 Ulrich Drepper <drepper@gmail.com>
20890
94b7cc37
UD
20891 * libio/freopen.c (freopen): Don't close old file descriptor
20892 before the new one is opened. Instead dup the new file descriptor
20893 to the old one after the new stream is created.
20894 * libio/freopen64.c (freopen64): Likewise.
20895 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20896 * libio/fileops.c (_IO_new_file_close_it): Handle new
20897 _IO_FLAGS2_NOCLOSE flag.
20898 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20899 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20900 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20901 _IO_FLAGS2_NOCLOSE flag.
20902 * include/unistd.h: Add hidden_proto for dup3.
20903 Define __have_dup3.
20904 * io/dup3.c: Define hidden symbol.
20905 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20906
bd25564e
UD
20907 [BZ #7101]
20908 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20909 when an incomplete long option is used.
20910 * posix/tst-getopt_long1.c: New file.
20911 * posix/Makefile (tests): Add tst-getopt_long1.
20912
c84cfef4
UD
20913 [BZ #10138]
20914 * scripts/config.guess: Update from autoconf-2.68.
20915 * scripts/config.sub: Likewise.
20916
3b85df27
UD
20917 [BZ #10157]
20918 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20919 tests into ...
20920 (has_cpuclock): ...this. New function.
20921 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20922 macro here based on has_cpuclock code.
20923
15a856b1
UD
20924 [BZ #10149]
20925 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20926 First byte (not low byte) is now always NUL.
20927 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20928
05f399e6
UD
20929 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20930 Use non-cancelable interfaces.
20931
10a52685 20932 [BZ #9809]
94ecc67d
UD
20933 * locale/iso-639.def: Add entry for Sorani.
20934
f8a3b5bf
UD
20935 [BZ #11901]
20936 * include/stdlib.h: Move include protection to the right place.
20937 Define abort_msg_s. Declare __abort_msg with it.
20938 * stdlib/abort.c (__abort_msg): Adjust type.
20939 * assert/assert.c (__assert_fail_base): New function. Majority
20940 of code from __assert_fail. Allocate memory for __abort_msg with
20941 mmap.
20942 (__assert_fail): Now call __assert_fail_base.
20943 * assert/assert-perr.c: Remove bulk of implementation. Use
20944 __assert_fail_base.
20945 * include/assert.hL Declare __assert_fail_base.
20946 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20947 mmap.
20948 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20949
1af4e298
UD
209502011-05-14 Ulrich Drepper <drepper@gmail.com>
20951
f8a3b5bf 20952 [BZ #11952]
d26dfc60
MG
20953 [BZ #12453]
20954 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20955 until all modules are registered in the DTV.
20956 * elf/Makefile: Add rules to build and run tst-tls19.
20957 * elf/tst-tls19.c: New file.
20958 * elf/tst-tls19mod1.c: New file.
20959 * elf/tst-tls19mod2.c: New file.
20960 * elf/tst-tls19mod3.c: New file.
20961 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20962
2fc54d6f
UD
20963 [BZ #12083]
20964 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20965 correctly.
20966
98d76b46
UD
20967 [BZ #12601]
20968 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20969 two-byte sequence errors.
20970 * iconvdata/Makefile (tests): Add bug-iconv8.
20971 * iconvdata/bug-iconv8.c: New file.
20972
da3c19ef
UD
20973 [BZ #12626]
20974 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20975 buf2 definition.
20976
ca408c15
UD
20977 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20978
d6f67f7d
UD
20979 [BZ #12432]
20980 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20981 (dummy_getcfa): New function.
20982 (init): Get _Unwind_GetCFA address, use dummy if not found.
20983 (backtrace_helper): In recursion check, also check whether CFA changes.
20984 (__backtrace): Completely initialize arg.
20985
1af4e298 20986 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
20987 storing incomplete byte sequence in state object. Avoid testing for
20988 guaranteed too small input if we know there is enough data available.
1af4e298 20989
da62f81b
AS
209902011-05-11 Andreas Schwab <schwab@redhat.com>
20991
20992 * Makeconfig (+link-pie): Indent.
20993 * Rules (binaries-pie): Define if $(have-fpie) and
20994 $(build-shared).
20995 (binaries-shared): Also filter out $(binaries-pie).
20996 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20997 * nscd/Makefile (others-pie): Add nscd.
20998 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20999 ($(objpfx)nscd): Remove command override.
21000 * login/Makefile (others-pie): Add pt_chown.
21001 ($(objpfx)pt_chown): Remove command override.
21002 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21003 remove command overrides.
21004
fcabc0f8
UD
210052011-05-13 Ulrich Drepper <drepper@gmail.com>
21006
20030ae6
UD
21007 * libio/tst_putwc.c: Fix error messages.
21008
fcabc0f8
UD
21009 [BZ #12724]
21010 * libio/fileops.c (_IO_new_file_close_it): Always flush when
21011 currently writing and seek to current position when not.
21012 * libio/Makefile (tests): Add bug-fclose1.
21013 * libio/bug-fclose1.c: New file.
21014
320a5dc0
PB
210152011-05-12 Ulrich Drepper <drepper@gmail.com>
21016
21017 [BZ #12511]
21018 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21019 don't set DF_1_NODELETE here.
21020 (do_lookup_x): When entering new entry test for copy relocation
21021 and if necessary set DF_1_NODELETE flag.
21022 * elf/tst-unique4.cc: New file.
21023 * elf/tst-unique4.h: New file.
21024 * elf/tst-unique4lib.cc: New file.
21025 * elf/Makefile: Add rules to build and run tst-unique4.
21026 Patch by Piotr Bury <pbury@goahead.com>.
21027
22836f52
UD
210282011-05-11 Ulrich Drepper <drepper@gmail.com>
21029
f574184a
UD
21030 [BZ #12052]
21031 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21032
e1fb097f
UD
21033 [BZ #12625]
21034 * misc/mntent_r.c (addmntent): Flush the stream after the output
21035
22836f52
UD
21036 [BZ #12393]
21037 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21038 (is_trusted_path_normalize): Skip initial colon. Append slash
21039 to empty buffer. Duplicate is_trusted_path code but allow
21040 constructed patch to be prefix.
21041 (is_dst): Allow $ORIGIN followed by /.
21042 (_dl_dst_substitute): Correct clearing of check_for_trusted.
21043 Correct testing of result of is_trusted_path_normalize
21044 (decompose_rpath): Fix warning.
21045
7b3b0b2a
UD
210462011-05-10 Ulrich Drepper <drepper@gmail.com>
21047
21048 [BZ #11257]
21049 * grp/initgroups.c (internal_getgrouplist): When we found the service
21050 list through the initgroups entry in nsswitch.conf do not always
21051 continue on a successful lookup. Don't always use the
eac80ce2 21052 __nss_group_database value if it is set.
7b3b0b2a
UD
21053 * nss/nsswitch.conf (initgroups): Change action for successful db
21054 lookup to continue for compatibility.
21055
2a81eaa5
UD
210562011-05-09 Ulrich Drepper <drepper@gmail.com>
21057
be97a69e
UD
21058 [BZ #11532]
21059 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21060 and CP774 modules.
21061 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21062 and CP774 modules.
21063 * iconvdata/tst-tables.sh: Likewise.
21064 * iconvdata/cp770.c: New file.
21065 * iconvdata/cp771.c: New file.
21066 * iconvdata/cp772.c: New file.
21067 * iconvdata/cp773.c: New file.
21068 * iconvdata/cp774.c: New file.
21069 * iconvdata/testdata/CP770: New file.
21070 * iconvdata/testdata/CP770..UTF8: New file.
21071 * iconvdata/testdata/CP771: New file.
21072 * iconvdata/testdata/CP771..UTF8: New file.
21073 * iconvdata/testdata/CP772: New file.
21074 * iconvdata/testdata/CP772..UTF8: New file.
21075 * iconvdata/testdata/CP773: New file.
21076 * iconvdata/testdata/CP773..UTF8: New file.
21077 * iconvdata/testdata/CP774: New file.
21078 * iconvdata/testdata/CP774..UTF8: New file.
21079
21080 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21081 END CHARMAP line.
21082 * iconvdata/gen-8bit-gap.sh: Likewise.
21083 * iconvdata/gen-8bit.sh: Likewise.
21084
c1e9e399
UD
21085 * locale/iso-639.def: Add ary entry.
21086
24c55fb3 21087 [BZ #11258]
96b4b1b0
UD
21088 * locale/C-translit.h.in: Add U20A1 transliteration.
21089
bdc2f971
KB
21090 [BZ #12178]
21091 * locale/iso-639.def: Add wae entry.
21092 Patch by Kevin Bortis <bortis@translate-wae.ch>.
21093
2952b117
UD
21094 [BZ #12545]
21095 * locale/programs/localedef.c (construct_output_path): Use ssize_t
21096 for n.
21097
2a81eaa5
UD
21098 [BZ #12711]
21099 * locale/C-translit.h.in: Add entry for U20B9.
21100 Patch by pravin.d.s@gmail.com.
21101
28377d1b
UD
211022011-05-08 Ulrich Drepper <drepper@gmail.com>
21103
7fb90fb8
UD
21104 [BZ #12713]
21105 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21106 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
21107 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
21108 in rtld. Use *stat64.
7fb90fb8 21109 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 21110 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 21111 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
21112 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21113 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21114 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21115 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21116 __fstatat64 macros.
7fb90fb8
UD
21117 * include/dirent.h: Add libc_hidden_proto for rewinddir.
21118 * dirent/rewinddir.c: Add libc_hidden_def.
21119 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 21120 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 21121
28377d1b
UD
21122 * include/dirent.h (__alloc_dir): Add flags parameter.
21123 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21124 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21125 __alloc_dir.
21126 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
21127 from fdopendir if O_CLOEXEC is already set.
21128
66bdbaa4
AM
211292011-03-15 Alan Modra <amodra@gmail.com>
21130
21131 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21132 l_tls_firstbyte_offset non-zero. Save padding offset in
21133 l_tls_firstbyte_offset for later use.
21134 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21135 freeing static tls block.
21136
95721191
JN
211372011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21138
21139 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21140 where #ifdef was intended. The intent is to prevent ARG_MAX from
21141 being defined by the kernel headers.
21142
f87dfb1f
UD
211432011-05-07 Ulrich Drepper <drepper@gmail.com>
21144
21145 [BZ #12734]
21146 * resolv/resolv.h: Define RES_NOTLDQUERY.
21147 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21148 no-tld-query and set RES_NOTLDQUERY.
21149 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21150 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21151 modern BIND to search name as TLD unless forbidden.
21152
47c3cd7a
UD
211532011-05-07 Petr Baudis <pasky@suse.cz>
21154 Ulrich Drepper <drepper@gmail.com>
21155
21156 [BZ #12393]
21157 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21158 (is_trusted_path): ...to here.
c1e9ea35 21159 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 21160 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 21161 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 21162
8a35c912
PP
211632011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21164
21165 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21166 __BEGIN/__END_DECLS.
21167
acd41f47
UD
211682011-05-06 Ulrich Drepper <drepper@gmail.com>
21169
21170 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21171 NSS_STATUS_NOTFOUND if no record was found.
21172
597df647
AS
211732011-05-05 Andreas Schwab <schwab@redhat.com>
21174
21175 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21176 (headers-not-in-tirpc): Remove rpc/netdb.h
21177 * resolv/netdb.h: Revert last change.
21178
b9af1301
PP
211792011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21180
21181 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21182 circular dependency between libgcc.a and libc.a.
21183
4e34d5f5
AS
211842011-05-05 Andreas Schwab <schwab@redhat.com>
21185
21186 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21187 * nis/Makefile: Don't install rpcsvc/*.
21188 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21189 instead of <rpc/types.h>.
21190 (MAXHOSTNAMELEN): Define.
21191
00ee369c
AS
211922011-05-03 Andreas Schwab <schwab@redhat.com>
21193
21194 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21195
0b592a30
MB
211962011-04-28 Maciej Babinski <mbabinski@google.com>
21197
21198 [BZ #12714]
21199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21200 gethostbyname4_r when IPv6 results are possible.
21201
6e04cbbe
UD
212022011-05-02 Ulrich Drepper <drepper@gmail.com>
21203
21204 [BZ #12723]
21205 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21206 _PC_PIPE_BUF handling.
21207
e4ecafe0
BH
212082011-04-30 Bruno Haible <bruno@clisp.org>
21209
21210 [BZ #12717]
21211 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21212 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21213 to 'int'.
21214 * inet/getnameinfo.c (getnameinfo): Likewise.
21215
125ee683
UD
212162011-04-29 Ulrich Drepper <drepper@gmail.com>
21217
21218 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21219 to groups setting in database lookup.
21220 * nss/nsswitch.conf: Add initgroups entry.
21221
b722481a
EB
212222011-04-22 Ulrich Drepper <drepper@gmail.com>
21223
21224 [BZ #12685]
21225 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21226 mode string.
21227 Patch by Eric Blake <eblake@redhat.com>.
21228
4df46dbd
L
212292011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21230
21231 * sunrpc/Makefile (need-export-routines): Add svc_run.
21232 (routines): Remove svc_run.
21233 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21234 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21235 * sunrpc/svc_run.c (svc_run): Likewise.
21236 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21237
e84142d2
UD
212382011-04-21 Ulrich Drepper <drepper@gmail.com>
21239
21240 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21241 problem in reallocation in last patch.
21242
877175d8
UD
212432011-04-20 Ulrich Drepper <drepper@gmail.com>
21244
21245 * sunrpc/Makefile: Move inclusion of Rules.
21246
ab8eed78
UD
212472011-04-19 Ulrich Drepper <drepper@gmail.com>
21248
21249 * nss/nss_files/files-initgroups.c: New file.
21250 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21251 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21252 _nss_files_initgroups_dyn.
21253
e3d8f584
RS
212542011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21255
21256 * elf/elf.h (R_ARM_IRELATIVE): Define.
21257
af190f45
UD
212582011-04-19 Ulrich Drepper <drepper@gmail.com>
21259
21260 * po/ru.po: Update from translation team.
21261
53cf59ef
UD
212622011-04-17 Ulrich Drepper <drepper@gmail.com>
21263
21264 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21265 dependencies.
21266
4c559bcd
MF
212672011-02-06 Mike Frysinger <vapier@gentoo.org>
21268
21269 [BZ #12653]
21270 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21271 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21272 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21273 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21274 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21275
4420675c
AS
212762011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21277
21278 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21279 differing bytes.
21280 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21281 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21282 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21283
75ea32ab
UD
212842011-04-17 Ulrich Drepper <drepper@gmail.com>
21285
21286 [BZ #12420]
21287 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21288 storing it.
21289 * stdlib/bug-getcontext.c: New file.
21290 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21291
27390476
AK
212922011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21293
21294 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21295 instructions into .machine "z9-109".
21296 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21297 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21298
10442705
AK
212992011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21300
21301 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21302 between environment variables and auxiliary vector.
21303
7b57bfe5
UD
213042011-04-16 Ulrich Drepper <drepper@gmail.com>
21305
21306 * Makefile: Add rules to build linkobj/libc.so.
21307 * include/libc-symbols.h: Define libc_hidden_nolink.
21308 * include/rpc/auth.h: Mark functions which are to be hidden.
21309 * include/rpc/auth_des.h: Likewise.
21310 * include/rpc/auth_unix.h: Likewise.
21311 * include/rpc/clnt.h: Likewise.
21312 * include/rpc/des_crypt.h: Likewise.
21313 * include/rpc/key_prot.h: Likewise.
21314 * include/rpc/pmap_clnt.h: Likewise.
21315 * include/rpc/pmap_prot.h: Likewise.
21316 * include/rpc/pmap_rmt.h: Likewise.
21317 * include/rpc/rpc_msg.h: Likewise.
21318 * include/rpc/svc.h: Likewise.
21319 * include/rpc/svc_auth.h: Likewise.
21320 * include/rpc/xdr.h: Likewise.
21321 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21322 * nss/Makefile: Likewise.
21323 * sunrpc/Makefile: Don't install headers. Build library with normal
21324 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21325 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21326 for the compat linking library. Remove use of INTDEF/INTUSE.
21327 * sunrpc/auth_none.c: Likewise.
21328 * sunrpc/auth_unix.c: Likewise.
21329 * sunrpc/authdes_prot.c: Likewise.
21330 * sunrpc/authuxprot.c: Likewise.
21331 * sunrpc/clnt_gen.c: Likewise.
21332 * sunrpc/clnt_perr.c: Likewise.
21333 * sunrpc/clnt_raw.c: Likewise.
21334 * sunrpc/clnt_simp.c: Likewise.
21335 * sunrpc/clnt_tcp.c: Likewise.
21336 * sunrpc/clnt_udp.c: Likewise.
21337 * sunrpc/clnt_unix.c: Likewise.
21338 * sunrpc/des_crypt.c: Likewise.
21339 * sunrpc/des_soft.c: Likewise.
21340 * sunrpc/get_myaddr.c: Likewise.
21341 * sunrpc/key_call.c: Likewise.
21342 * sunrpc/key_prot.c: Likewise.
21343 * sunrpc/netname.c: Likewise.
21344 * sunrpc/pm_getmaps.c: Likewise.
21345 * sunrpc/pm_getport.c: Likewise.
21346 * sunrpc/pmap_clnt.c: Likewise.
21347 * sunrpc/pmap_prot.c: Likewise.
21348 * sunrpc/pmap_prot2.c: Likewise.
21349 * sunrpc/pmap_rmt.c: Likewise.
21350 * sunrpc/publickey.c: Likewise.
21351 * sunrpc/rpc_cmsg.c: Likewise.
21352 * sunrpc/rpc_common.c: Likewise.
21353 * sunrpc/rpc_dtable.c: Likewise.
21354 * sunrpc/rpc_prot.c: Likewise.
21355 * sunrpc/rpc_thread.c: Likewise.
21356 * sunrpc/rtime.c: Likewise.
21357 * sunrpc/svc.c: Likewise.
21358 * sunrpc/svc_auth.c: Likewise.
21359 * sunrpc/svc_authux.c: Likewise.
21360 * sunrpc/svc_raw.c: Likewise.
21361 * sunrpc/svc_run.c: Likewise.
21362 * sunrpc/svc_simple.c: Likewise.
21363 * sunrpc/svc_tcp.c: Likewise.
21364 * sunrpc/svc_udp.c: Likewise.
21365 * sunrpc/svc_unix.c: Likewise.
21366 * sunrpc/svcauth_des.c: Likewise.
21367 * sunrpc/xcrypt.c: Likewise.
21368 * sunrpc/xdr.c: Likewise.
21369 * sunrpc/xdr_array.c: Likewise.
21370 * sunrpc/xdr_float.c: Likewise.
21371 * sunrpc/xdr_intXX_t.c: Likewise.
21372 * sunrpc/xdr_mem.c: Likewise.
21373 * sunrpc/xdr_rec.c: Likewise.
21374 * sunrpc/xdr_ref.c: Likewise.
21375 * sunrpc/xdr_sizeof.c: Likewise.
21376 * sunrpc/xdr_stdio.c: Likewise.
21377
e6c61494
UD
213782011-04-10 Ulrich Drepper <drepper@gmail.com>
21379
21380 [BZ #12650]
21381 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21382 * sysdeps/ia64/dl-tls.h: Likewise.
21383 * sysdeps/powerpc/dl-tls.h: Likewise.
21384 * sysdeps/s390/dl-tls.h: Likewise.
21385 * sysdeps/sh/dl-tls.h: Likewise.
21386 * sysdeps/sparc/dl-tls.h: Likewise.
21387 * sysdeps/x86_64/dl-tls.h: Likewise.
21388 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21389
34fe483e
AS
213902011-03-14 Andreas Schwab <schwab@redhat.com>
21391
21392 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21393 rpath element also skip the following colon.
21394 (expand_dynamic_string_token): Add is_path parameter and pass
21395 down to DL_DST_REQUIRED and _dl_dst_substitute.
21396 (decompose_rpath): Call expand_dynamic_string_token with
21397 non-zero is_path. Ignore empty rpaths.
21398 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21399 with zero is_path.
21400
f12a32e6
AS
214012011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21402
21403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21404 Make cancelable.
21405
38a7d692
UD
214062011-04-09 Ulrich Drepper <drepper@gmail.com>
21407
21408 [BZ #12655]
21409 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21410 Patch by Filipe David Manana <fdmanana@apache.org>.
21411
e451d22b
AS
214122011-04-07 Andreas Schwab <schwab@redhat.com>
21413
21414 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21415 Maintain aligned stack.
21416 (CHECK_RSP): Remove unused macro.
21417
dedc7c7b
UD
214182011-04-03 Ulrich Drepper <drepper@gmail.com>
21419
21420 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21421 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21422
94521213
UD
214232011-04-02 Ulrich Drepper <drepper@gmail.com>
21424
21425 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21426
8cb700c0 21427 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 21428
0354e355
L
214292011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21430
21431 [BZ #12518]
21432 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21433 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21434 * sysdeps/x86_64/memmove.c: New file.
21435 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21436 (memcpy): Renamed to ...
21437 (__new_memcpy): This.
21438 (memcpy): Provide GLIBC_2_14 memcpy.
21439 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21440 (memcpy): Provide GLIBC_2_2_5 memcpy.
21441
8593482f
UD
214422011-04-01 Ulrich Drepper <drepper@gmail.com>
21443
21444 [BZ #12631]
21445 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21446
81a5726b
AS
214472011-03-30 Andreas Schwab <schwab@redhat.com>
21448
21449 * misc/syncfs.c: New file.
21450 * misc/Makefile (routines): Add syncfs.
21451 * posix/unistd.h: Declare syncfs.
21452 * sysdeps/unix/syscalls.list: Add syncfs.
21453
00e5419f
AS
214542011-04-01 Andreas Schwab <schwab@redhat.com>
21455
21456 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21457 open_by_handle_at.
21458 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21459 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21460 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21461 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21462 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21463 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21464 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21465
748876bf
UD
214662011-04-01 Ulrich Drepper <drepper@gmail.com>
21467
658e451d
UD
21468 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21469 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21470 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21471 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21472 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21473 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21474 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21475
748876bf
UD
21476 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21477 sync_file_range.c with -fexceptions.
21478 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21479 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21480 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21481 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21482 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21483 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21484 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
21485 sync_file_range as cancellation point
21486 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21487 now a wrapper around __call_sync_file_range with cancellation handling.
21488 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21489 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21490 function name to __call_sync_file_range.
21491 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21492 Add call_sync_file_range.
748876bf 21493
6e63d5e1
AS
214942011-04-01 Andreas Schwab <schwab@redhat.com>
21495
21496 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 21497 bits/timex.h.
6e63d5e1 21498
46998f74
UD
214992011-04-01 Ulrich Drepper <drepper@gmail.com>
21500
4c1423ed
UD
21501 * iconv/iconv.h: Fix typo in comment.
21502 * io/fcntl.h: Likewise.
21503 * libio/stdio.h: Likewise.
21504 * posix/spawn.h: Likewise.
21505 * posix/unistd.h: Likewise.
21506 * stdlib/stdlib.h: Likewise.
21507 * time/time.h: Likewise.
21508 * wcsmbs/wchar.h: Likewise.
21509
158648c0
UD
21510 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21511 open_by_handle): Add.
21512 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21513 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21514 Augment a few comments.
21515 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21516 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21517 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21518 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21519 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21520 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21521 open_by_handle.
21522
46998f74
UD
21523 * io/fcntl.h (AT_EMPTY_PATH): Define.
21524
83fe108b
UD
215252011-03-30 Ulrich Drepper <drepper@gmail.com>
21526
21527 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21528 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21529 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21530 to...
21531 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
21532 * Versions.def: Add GLIBC_2.14.
21533 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21534 Export.
83fe108b 21535
bb242059
UD
215362011-03-22 Ulrich Drepper <drepper@gmail.com>
21537
21538 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21539 round counter.
21540 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21541
c97a1282
L
215422011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21543
21544 [BZ #12597]
21545 * string/test-strncmp.c (do_page_test): New function.
21546 (check2): Likewise.
21547 (test_main): Call check2.
21548 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21549
2a115601
UD
215502011-03-20 Ulrich Drepper <drepper@gmail.com>
21551
21552 [BZ #12587]
21553 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21554 Handle cache information in CPU leaf 4.
21555 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21556
8126d904
UD
215572011-03-18 Ulrich Drepper <drepper@gmail.com>
21558
042c49c6 21559 [BZ #12583]
8126d904
UD
21560 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21561 character representation.
21562 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21563
ccfe366e
RA
215642011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21565
21566 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21567 END(__isnan) to END(__isnanf) to match function entry point/label
21568 EALIGN(__isnanf,...).
21569
c6e13027
JJ
215702011-03-10 Jakub Jelinek <jakub@redhat.com>
21571
21572 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21573
33f85a3f
UD
215742011-03-10 Ulrich Drepper <drepper@gmail.com>
21575
028478fa
UD
21576 [BZ #12510]
21577 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21578 copy from the symbol referenced in the relocation to initialize the
21579 used variable.
21580 Patch by Piotr Bury <pbury@goahead.com>.
21581 * elf/Makefile: Add rules to build and tst-unique3.
21582 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21583 * elf/tst-unique3.cc: New file.
21584 * elf/tst-unique3.h: New file.
21585 * elf/tst-unique3lib.cc: New file.
21586 * elf/tst-unique3lib2.cc: New file.
21587
33f85a3f
UD
21588 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21589
03592fc7
MF
215902011-03-10 Mike Frysinger <vapier@gentoo.org>
21591
21592 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21593 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21594 to _start.
03592fc7 21595
6a5ee102
UD
215962011-03-06 Ulrich Drepper <drepper@gmail.com>
21597
21598 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21599 to-be-loaded object along a path to loader is ld.so.
21600
7e4ba49c
HJ
216012011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21602 Ulrich Drepper <drepper@gmail.com>
21603
21604 * sysdeps/x86_64/memset.S: After aligning destination, code
21605 branches to different locations depending on the value of
21606 misalignment, when multiarch is enabled. Fix this.
21607
216082011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21609
21610 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21611 Set _x86_64_preferred_memory_instruction for AMD processsors.
21612 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21613 Set bit_Prefer_SSE_for_memop for AMD processors.
21614
13a804de
UD
216152011-03-04 Ulrich Drepper <drepper@gmail.com>
21616
21617 * libio/fmemopen.c (fmemopen): Optimize a bit.
21618
9d25c392
AS
216192011-03-03 Andreas Schwab <schwab@redhat.com>
21620
21621 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21622
a5543c6a
RM
216232011-03-03 Roland McGrath <roland@redhat.com>
21624
21625 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21626
012d35f7
DM
216272011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21628
7e4ba49c 21629 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
21630 __bzero_ultra1 instead of __memset_ultra1.
21631
4bff6e01
AS
216322011-02-23 Andreas Schwab <schwab@redhat.com>
21633 Ulrich Drepper <drepper@gmail.com>
21634
21635 [BZ #12509]
21636 * include/link.h (struct link_map): Add l_orig_initfini.
21637 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21638 returning unsuccessfully.
21639 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21640 close of a file loaded at startup, restore the original l_initfini
21641 list.
21642 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21643 list, store the pointer.
21644 * elf/Makefile ($(objpfx)noload-mem): New rule.
21645 (noload-ENV): Define.
21646 (tests): Add $(objpfx)noload-mem.
21647 * elf/noload.c: Include <memcheck.h>.
21648 (main): Call mtrace. Close all opened handles.
21649
f2092faf
AS
216502011-02-17 Andreas Schwab <schwab@redhat.com>
21651
21652 [BZ #12454]
21653 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21654 dependencies are missing.
21655
6c8a2e88
ST
216562011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21657
f2092faf 21658 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
21659 Hurd needs munmap.
21660 * sysdeps/mach/hurd/ifreq.h: New file.
21661
84a42118
PB
216622011-01-27 Petr Baudis <pasky@suse.cz>
21663 Ulrich Drepper <drepper@gmail.com>
21664
071f805e 21665 [BZ 12445]#
84a42118
PB
21666 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21667 to extend_alloca().
21668 * stdio-common/bug23.c: New file.
21669 * stdio-common/Makefile (tests): Add bug23.
21670
e23fe25b
AS
216712010-09-28 Andreas Schwab <schwab@redhat.com>
21672 Ulrich Drepper <drepper@gmail.com>
21673
21674 [BZ #12489]
21675 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21676 before performing relro protection. At old place add assertion
21677 to make sure nothing changed.
21678
d3f02e10
NS
216792011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21680 Glauber de Oliveira Costa <glommer@gmail.com>
21681
21682 * elf/elf.h: Add new ARM TLS relocs.
21683
d55fd7a5
RA
216842011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21685
21686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21687 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21688 cast from r3.
21689 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21690 'tests' variable.
21691 * sysdeps/wordsize-64/tst-writev.c: New file.
21692
2206397e
RA
216932011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21694
21695 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21696 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21697 insns in _dl_start to prevent a TOC reference before relocs are
21698 resolved.
21699
e9433893
UD
217002011-02-15 Ulrich Drepper <drepper@gmail.com>
21701
21702 [BZ #12469]
21703 * Makeconfig: Remove RANLIB definition.
21704 * Makerules: Don't use RANLIB.
21705 * aclocal.m4: Remove ranlib test.
21706 * configure.in: No need to check for ranlib.
21707 * elf/rtld-Rules: Don't use RANLIB.
21708
f75286c6
ST
217092011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21710
8e31c82d
ST
21711 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21712 protection macro.
21713 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21714 inclusion protection macro.
21715
f75286c6
ST
21716 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21717 SIGRTMIN and SIGRTMAX and print information in that case only when
21718 SIGRTMIN is defined.
21719
c1d0e639
JJ
217202011-02-11 Jakub Jelinek <jakub@redhat.com>
21721
21722 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21723 arginfo fn returning -1.
21724
21725 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21726 and thousands string is zero terminated.
21727
edf9294e
AS
217282011-02-03 Andreas Schwab <schwab@redhat.com>
21729
21730 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21731 sysdeps/unix/sysv/linux/bits/socket.h.
21732
2b7e92df
ST
217332011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21734
edf9294e
AS
21735 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21736 (__CPU_COUNT): Remove old macros.
21737 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21738 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21739 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
21740 (__sched_cpualloc, __sched_cpufree): Add declarations.
21741
a4c7ea7b
UD
217422011-02-05 Ulrich Drepper <drepper@gmail.com>
21743
21744 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21745 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21746 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21747 (readdhstai): Return value of addhstaiX call.
21748 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21749 (addgrbyX): Return value returned by cache_addgr.
21750 (readdgrbyname): Return value returned by addgrbyX.
21751 (readdgrbygid): Likewise.
21752 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21753 (addpwbyX): Return value returned by cache_addpw.
21754 (readdpwbyname): Return value returned by addhstbyX.
21755 (readdpwbyuid): Likewise.
21756 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21757 (addservbyX): Return value returned by cache_addserv.
21758 (readdservbyname): Return value returned by addservbyX:
21759 (readdservbyport): Likewise.
21760 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21761 (addhstbyX): Return value returned by cache_addhst.
21762 (readdhstbyname): Return value returned by addhstbyX.
21763 (readdhstbyaddr): Likewise.
21764 (readdhstbynamev6): Likewise.
21765 (readdhstbyaddrv6): Likewise.
21766 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21767 (readdinitgroups): Return value returned by addinitgroupsX.
21768 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21769 (prune_cache): Keep track of timeout value of re-added entries.
21770 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21771 * nscd/nscd.h: Adjust prototypes of readd* functions.
21772
a0bf67cc
RM
217732011-02-04 Roland McGrath <roland@redhat.com>
21774
21775 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21776 (nis_stats): Likewise.
21777 * nis/nis_modify.c (nis_modify): Likewise.
21778 * nis/nis_remove.c (nis_remove): Likewise.
21779 * nis/nis_add.c (nis_add): Likewise.
21780
21781 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21782
21783 * posix/fnmatch_loop.c: Add some consts.
21784
21785 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21786
435b95eb
L
217872011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21788
21789 [BZ #12460]
21790 * config.make.in (config-cflags-novzeroupper): Define.
21791 * configure.in: Substitute libc_cv_cc_novzeroupper.
21792 * elf/Makefile (AVX-CFLAGS): Define.
21793 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21794 (CFLAGS-tst-auditmod4a.c): Likewise.
21795 (CFLAGS-tst-auditmod4b.c): Likewise.
21796 (CFLAGS-tst-auditmod6b.c): Likewise.
21797 (CFLAGS-tst-auditmod6c.c): Likewise.
21798 (CFLAGS-tst-auditmod7b.c): Likewise.
21799 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21800
8517b15e
UD
218012011-02-02 Ulrich Drepper <drepper@gmail.com>
21802
21803 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21804 function to the callback.
21805 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21806
10a656fe
AS
218072011-02-02 Andreas Schwab <schwab@redhat.com>
21808
21809 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21810 of errno.
21811
968dad0a
UD
218122011-01-19 Ulrich Drepper <drepper@gmail.com>
21813
9f94d2ea 21814 [BZ #11724]
968dad0a
UD
21815 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21816 of constructors.
21817 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21818 of destructors.
21819 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21820
21821 [BZ #11724]
21822 * elf/Makefile: Add rules to build and run new test.
21823 * elf/tst-initorder.c: New file.
21824 * elf/tst-initorder.exp: New file.
21825 * elf/tst-initordera1.c: New file.
21826 * elf/tst-initordera2.c: New file.
21827 * elf/tst-initordera3.c: New file.
21828 * elf/tst-initordera4.c: New file.
21829 * elf/tst-initorderb1.c: New file.
21830 * elf/tst-initorderb2.c: New file.
21831 * elf/tst-order-a1.c: New file.
21832 * elf/tst-order-a2.c: New file.
21833 * elf/tst-order-a3.c: New file.
21834 * elf/tst-order-a4.c: New file.
21835 * elf/tst-order-b1.c: New file.
21836 * elf/tst-order-b2.c: New file.
21837 * elf/tst-order-main.c: New file.
21838 New test case by George Gensure <werkt0@gmail.com>.
21839
86e92359
UD
218402010-10-01 Andreas Schwab <schwab@redhat.com>
21841
21842 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21843 decoding ACE if AI_CANONIDN.
21844
5d5732b0
UD
218452011-01-18 Ulrich Drepper <drepper@gmail.com>
21846
21847 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21848
a77e8cbc
UD
218492011-01-17 Ulrich Drepper <drepper@gmail.com>
21850
6392473f
UD
21851 * version.h (RELEASE): Bump for 2.13 release.
21852 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21853
620a0529
UD
21854 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21855
18ba70a5
UD
21856 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21857 MADV_NOHUGEPAGE.
32465c3e
UD
21858 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21859 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21860 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21861 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21862 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21863 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21864
c0dafcf1
UD
21865 * posix/getconf.c: Update copyright year.
21866 * catgets/gencat.c: Likewise.
21867 * csu/version.c: Likewise.
21868 * debug/catchsegv.sh: Likewise.
21869 * debug/xtrace.sh: Likewise.
21870 * elf/ldconfig.c: Likewise.
21871 * elf/ldd.bash.in: Likewise.
21872 * elf/sprof.c (print_version): Likewise.
21873 * iconv/iconv_prog.c: Likewise.
21874 * iconv/iconvconfig.c: Likewise.
21875 * locale/programs/locale.c: Likewise.
21876 * locale/programs/localedef.c: Likewise.
21877 * malloc/memusage.sh: Likewise.
21878 * malloc/mtrace.pl: Likewise.
21879 * nscd/nscd.c (print_version): Likewise.
21880 * nss/getent.c: Likewise.
21881
a77e8cbc
UD
21882 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21883 PF_CAIF, and PF_ALG.
21884 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21885
77e8bddf
AS
218862011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21887
1f20b93a
AS
21888 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21889 (modules-names): Use them.
21890 (ifunc-test-modules, ifunc-pie-tests): Define.
21891 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21892 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21893 (test-extras): Likewise.
21894 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21895 $(compile-command.c).
21896 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21897 (all-built-dso): Define.
21898 (check-textrel.out, check-execstack.out): Depend on it.
21899
77e8bddf
AS
21900 * configure.in: Don't override --enable-multi-arch.
21901
bc425b33
UD
219022011-01-15 Ulrich Drepper <drepper@gmail.com>
21903
21904 [BZ #6812]
21905 * nscd/hstcache.c (tryagain): Define.
21906 (cache_addhst): Return tryagain not notfound for temporary errors.
21907 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21908 failed.
21909
794c3ad3
UD
219102011-01-14 Ulrich Drepper <drepper@gmail.com>
21911
70181fdd
UD
21912 [BZ #10563]
21913 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21914 to make the syscall.
21915 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21916
794c3ad3
UD
21917 [BZ #12378]
21918 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21919 and fall back to matching as normal character if the string ends before
21920 the matching ']' is found. This is what POSIX requires.
21921 * posix/testfnm.c: Adjust test result.
21922 * posix/globtest.sh: Adjust test result. Add new test.
21923 * posix/tst-fnmatch.input: Likewise.
21924 * posix/tst-fnmatch2.c: Add new test.
21925
68dc9497
AS
219262010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21927
21928 * elf/Makefile (check-execstack): Revert last change. Depend on
21929 check-execstack.h.
21930 (check-execstack.h): New target.
21931 (generated): Add check-execstack.h.
21932 * elf/check-execstack.c: Include "check-execstack.h".
21933 (main): Revert last change.
21934 (handle_file): Return zero if GNU_STACK is absent and
21935 DEFAULT_STACK_PERMS doesn't include PF_X.
21936
451f001b
UD
219372011-01-13 Ulrich Drepper <drepper@gmail.com>
21938
cfa28e56
UD
21939 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21940 in child fails because the descriptor is already closed.
8cf8ce17
UD
21941 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21942 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21943 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 21944
1086d70d
UD
21945 [BZ #12397]
21946 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21947 syscall.
21948
451f001b
UD
21949 [BZ #10484]
21950 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21951 temporary buffer used to handle multi lookups locally.
a85b5cb4 21952 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 21953
08769175
UD
219542011-01-12 Ulrich Drepper <drepper@gmail.com>
21955
21956 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21957 loader is ld.so.
21958
5e49c52e
UD
219592011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21960
21961 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21962 alignment for SSE2.
21963
60522a5f
UD
219642011-01-12 Ulrich Drepper <drepper@gmail.com>
21965
21966 [BZ #12394]
21967 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21968 characters. When rounding increased number of integer digits recompute
21969 number of groups.
21970 * stdio-common/tst-grouping.c: New file.
21971 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21972
f257bbd7
UD
219732011-01-09 Ulrich Drepper <drepper@gmail.com>
21974
21975 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21976 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21977
21978 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21979 void.
21980 * bits/select.h: Likewise.
21981
fa9c15cb
UD
219822011-01-08 Ulrich Drepper <drepper@gmail.com>
21983
21984 * po/ja.po: Update from translation team.
21985
16c2895f
DM
219862011-01-04 David S. Miller <davem@sunset.davemloft.net>
21987
21988 [BZ #11155]
21989 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21990 implementation just like for lxstat, fxstatat, et al.
21991
2543fef2
JM
219922010-12-27 Jim Meyering <meyering@redhat.com>
21993
21994 [BZ #12348]
21995 * posix/regexec.c (build_trtable): Return failure indication upon
21996 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21997
98727dbe
UD
219982010-12-25 Ulrich Drepper <drepper@gmail.com>
21999
5bd6dc5c
UD
22000 [BZ #12201]
22001 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22002 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22003 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22004 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22005
97983464
UD
22006 [BZ #12207]
22007 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22008
98727dbe
UD
22009 [BZ #12204]
22010 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22011 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22012
4a531bb0
L
220132010-12-15 H.J. Lu <hongjiu.lu@intel.com>
22014
22015 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22016 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22017 script has SORT_BY_INIT_PRIORITY.
22018 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22019 NO_CTORS_DTORS_SECTIONS is defined.
22020 * elf/soinit.c: Likewise.
22021 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22022 NO_CTORS_DTORS_SECTIONS is defined.
22023 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22024 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22025 * sysdeps/sh/init-first.c: Likewise.
22026 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22027
07eb4b71
UD
220282010-12-24 Ulrich Drepper <drepper@gmail.com>
22029
22030 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22031 always use the slow path.
22032
30950a5f
RA
220332010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
22034
22035 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22036 similar rule which adds the sysdep directories to the header search in
22037 order to pick up the correct platform stackinfo.h.
22038 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22039 perform test if it is, otherwise return successfully without testing.
22040 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22041 DEFAULT_STACK_PERMS define in stackinfo.h.
22042 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22043 defined in stackinfo.h.
22044 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22045 DEFAULT_STACK_PERMS defined in stackinfo.h.
22046 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22047 * sysdeps/ia64/stackinfo.h: Likewise.
22048 * sysdeps/s390/stackinfo.h: Likewise.
22049 * sysdeps/sh/stackinfo.h: Likewise.
22050 * sysdeps/sparc/stackinfo.h: Likewise.
22051 * sysdeps/x86_64/stackinfo.h: Likewise.
22052 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22053 PF_X for powerpc64. Retain PF_X for powerpc32.
22054
db753e2c
UD
220552010-12-19 Ulrich Drepper <drepper@gmail.com>
22056
14b697f7
UD
22057 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22058 accurately.
db753e2c
UD
22059 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22060 GETDENTS_64BIT_ALIGNED.
22061
28300719
UD
220622010-12-14 Ulrich Drepper <dreper@gmail.com>
22063
14b697f7 22064 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 22065
4f197237
AS
220662010-12-10 Andreas Schwab <schwab@redhat.com>
22067
dbb0472f
AS
22068 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22069 _GNU_SOURCE.
22070
4f197237
AS
22071 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22072 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22073 Remove __restrict.
22074 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22075 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22076
fb88ac72
UD
220772010-12-09 Ulrich Drepper <drepper@gmail.com>
22078
22079 [BZ #11655]
22080 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22081 are initialized.
22082
42acbb92
JJ
220832010-12-09 Jakub Jelinek <jakub@redhat.com>
22084
22085 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22086
c038d98d
UD
220872010-12-03 Ulrich Drepper <drepper@gmail.com>
22088
22089 * po/it.po: Update from translation team.
22090
3a4a2499
L
220912010-12-01 H.J. Lu <hongjiu.lu@intel.com>
22092
22093 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22094 unused codes.
22095
1e24cf6e
UD
220962010-11-30 Ulrich Drepper <drepper@gmail.com>
22097
22098 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22099
a7690819
AS
221002010-11-24 Andreas Schwab <schwab@redhat.com>
22101
22102 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22103 specially.
22104 (gaih_getanswer_slice): Likewise.
22105
3bf8d1b1
JJ
221062010-10-20 Jakub Jelinek <jakub@redhat.com>
22107
22108 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22109
6db52fbb
PB
221102010-05-31 Petr Baudis <pasky@suse.cz>
22111
22112 [BZ #11149]
22113 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22114 silently even in the chroot mode.
22115
eaca7569
UD
221162010-11-22 Ulrich Drepper <drepper@gmail.com>
22117
22118 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22119 last patch a bit. Pretty printing
22120
3056dcdb
UD
221212010-05-31 Petr Baudis <pasky@suse.cz>
22122
22123 [BZ #10085]
22124 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22125 initialization of skip_initgroups_dyn.
22126
cf7c9078
UD
221272010-11-19 Ulrich Drepper <drepper@gmail.com>
22128
22129 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22130 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22131
a1fb5e3e
UD
221322010-11-16 Ulrich Drepper <drepper@gmail.com>
22133
22134 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22135
3540d66b
AS
221362010-11-11 Andreas Schwab <schwab@redhat.com>
22137
22138 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22139 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22140 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22141 ($(objpfx)tst-fnmatch-mem): New rule.
22142 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22143 * posix/tst-fnmatch.c (main): Call mtrace.
22144
13b69574
L
221452010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22146
22147 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22148 Support Intel processor model 6 and model 0x2c.
22149
da93d214
LM
221502010-11-10 Luis Machado <luisgpm@br.ibm.com>
22151
22152 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22153 signed comparison.
22154
8ca52c6e
L
221552010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22156
22157 [BZ #12205]
22158 * string/test-strncasecmp.c (check_result): New function.
22159 (do_one_test): Use it.
22160 (check1): New function.
22161 (test_main): Use it.
22162 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22163 Support strcasecmp and strncasecmp.
22164
69da074d
UD
221652010-11-08 Ulrich Drepper <drepper@gmail.com>
22166
22167 [BZ #12194]
22168 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22169 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22170
ff02d528
L
221712010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22172
22173 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22174 IFUNC support.
22175 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22176 memset-x86-64.
22177 * sysdeps/x86_64/multiarch/bzero.S: New file.
22178 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22179 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22180 * sysdeps/x86_64/multiarch/memset.S: New file.
22181 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22182 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22183 Set bit_Prefer_SSE_for_memop for Intel processors.
22184 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22185 Define.
22186 (index_Prefer_SSE_for_memop): Define.
22187 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22188
344d0b54
LM
221892010-11-04 Luis Machado <luisgpm@br.ibm.com>
22190
22191 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22192 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22193
c0dde15b
UD
221942010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22195
22196 [BZ #12191]
22197 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22198 (__x86_64_raw_data_cache_size_half): Likewise.
22199 (__x86_64_raw_shared_cache_size): Likewise.
22200 (__x86_64_raw_shared_cache_size_half): Likewise.
22201
22202 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22203 (__x86_64_raw_data_cache_size_half): Likewise.
22204 (__x86_64_raw_shared_cache_size): Likewise.
22205 (__x86_64_raw_shared_cache_size_half): Likewise.
22206 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22207 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22208 and __x86_64_raw_shared_cache_size_half. Round
22209 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22210 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22211 to multiple of 256 bytes.
22212
0e516e0e
MS
222132010-11-03 Ulrich Drepper <drepper@gmail.com>
22214
22215 [BZ #12167]
22216 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22217 of inacessible symlinks. Verify result of symlink before returning it.
22218 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22219 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22220
0e012e87
ER
222212010-10-28 Erich Ritz <erichritz@gmail.com>
22222
22223 * math/math.h (isinf): Fix typo in comment.
22224
de0ff7bc
UD
222252010-11-01 Ulrich Drepper <drepper@gmail.com>
22226
22227 * po/da.po: Update from translation team.
22228
fa41c84d
UD
222292010-10-26 Ulrich Drepper <drepper@gmail.com>
22230
22231 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22232 is added to the list.
22233
f0967738
AK
222342010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22235 Ulrich Drepper <drepper@gmail.com>
22236
22237 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22238 the global list here. Move code to...
22239 (_dl_add_to_namespace_list): ...here. New function.
22240 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22241 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22242 * elf/dl-load.c (lose): Don't remove the element from the list.
22243 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22244 (_dl_map_object): Likewise.
22245
222462010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
22247
22248 [BZ #12159]
22249 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22250 into all bytes of SSE register.
22251 Patch by Richard Li <richardpku@gmail.com>.
22252
f0967738 222532010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
22254
22255 [BZ #12140]
22256 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22257 perturbing.
22258
d0b9e94f
MB
222592010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22260
22261 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22262 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22263 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22264 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22266 submachine.
22267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22268
8e9f92e9
AS
222692010-10-22 Andreas Schwab <schwab@redhat.com>
22270
22271 * include/dlfcn.h (__RTLD_SECURE): Define.
22272 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22273 mode & __RTLD_SECURE instead.
22274 (open_path): Rename preloaded parameter to secure.
22275 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22276 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22277 * elf/dl-deps.c (openaux): Likewise.
22278 * elf/rtld.c (struct map_args): Remove is_preloaded.
22279 (map_doit): Don't use it.
22280 (dl_main): Likewise.
22281 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22282 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22283
bc96fbda
AS
222842010-09-09 Andreas Schwab <schwab@redhat.com>
22285
22286 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22287 (sysd-rules-targets): Remove duplicates.
22288 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22289 rtld-%.$o dependency.
22290
22cd1c9b
AS
222912010-10-18 Andreas Schwab <schwab@redhat.com>
22292
22293 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22294 _dl_map_object do it.
22295
18edac48
UD
222962010-10-19 Ulrich Drepper <drepper@gmail.com>
22297
22298 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22299 fast fma builtins, define the macros in the C99 standard.
22300 (FP_FAST_FMAF): Likewise.
22301 (FP_FAST_FMAL): Likewise.
22302 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22303
22304 * bits/mathdef.h: Update copyright year.
22305 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22306
d2050124
MM
223072010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22308
22309 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22310 builtins, define the macros in the C99 standard.
22311 (FP_FAST_FMAF): Likewise.
22312 (FP_FAST_FMAL): Likewise.
22313 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22314 multiply/add.
22315 (FP_FAST_FMAF): Likewise.
22316
475facd1
JJ
223172010-10-15 Jakub Jelinek <jakub@redhat.com>
22318
22319 [BZ #3268]
22320 * math/libm-test.inc (fma_test): Some new testcases.
22321 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22322 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22323 y and infinite z. Do multiplication by C already in long double.
22324 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22325 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22326 y and infinite z. Do bitwise or of inexact bit into u.d.
22327 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22328 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22329 * sysdeps/i386/fpu/s_fma.S: Removed.
22330 * sysdeps/i386/fpu/s_fmal.S: Removed.
22331
7c08a05c
JJ
223322010-10-16 Jakub Jelinek <jakub@redhat.com>
22333
22334 [BZ #3268]
22335 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22336 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22337 computation is not scheduled after fetestexcept. Fix value
22338 of minimum denormal long double.
22339
f3f7372d
JJ
223402010-10-14 Jakub Jelinek <jakub@redhat.com>
22341
22342 [BZ #3268]
22343 * math/libm-test.inc (fma_test): Add some more tests.
22344 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22345 correctly.
22346
14d43591
AS
223472010-10-15 Andreas Schwab <schwab@redhat.com>
22348
22349 * scripts/data/localplt-s390-linux-gnu.data: New file.
22350 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22351
5e908464
JJ
223522010-10-13 Jakub Jelinek <jakub@redhat.com>
22353
22354 [BZ #3268]
22355 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22356 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22357 instead of dbl-64.
22358 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22359 inlines.
22360 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22361 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22362 if one of x and y is very large and the other is subnormal.
22363 * sysdeps/s390/fpu/s_fmaf.c: New file.
22364 * sysdeps/s390/fpu/s_fma.c: New file.
22365 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22366 * sysdeps/powerpc/fpu/s_fma.S: New file.
22367 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22368 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22369 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22370
223712010-10-12 Jakub Jelinek <jakub@redhat.com>
22372
22373 [BZ #3268]
22374 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22375 fma tests.
22376 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22377 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22378 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22379 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22380 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22381 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22382 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22383
b833d51f
UD
223842010-10-12 Ulrich Drepper <drepper@redhat.com>
22385
22386 [BZ #12078]
22387 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22388 * posix/bug-regex31.input: Add test case.
22389
1751705d
UD
223902010-10-11 Ulrich Drepper <drepper@gmail.com>
22391
e9b9cbf5
UD
22392 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22393 * posix/bug-regex31.input: New file.
22394
22395 [BZ #12078]
22396 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22397 (parse_sub_exp): Fix last change, use postorder.
22398
ef06edbe
UD
22399 * posix/bug-regex31.c: New file.
22400 * posix/Makefile: Add rules to build and run bug-regex31.
22401
a129c80d
UD
22402 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22403
22404 [BZ #12078]
22405 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22406
b76b818e
UD
22407 [BZ #12108]
22408 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22409 to have entries in sys_siglist.
22410
1751705d
UD
22411 [BZ #12093]
22412 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22413 be NULL.
22414
9ff8d36f
JJ
224152010-10-07 Jakub Jelinek <jakub@redhat.com>
22416
22417 [BZ #3268]
22418 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22419 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22420 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22421 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22422 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22423 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22424 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22425 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22426 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22427 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22428 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22429 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22430 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22431 * math/ftestexcept.c (fetestexcept): Likewise.
22432 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22433 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22434 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22435 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22436 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22437 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22438 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22439
af325969
UD
224402010-10-11 Ulrich Drepper <drepper@gmail.com>
22441
c579b202 22442 [BZ #12107]
af325969
UD
22443 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22444 newline.
22445
67a67b95
UD
224462010-10-06 Ulrich Drepper <drepper@gmail.com>
22447
22448 * string/bug-strstr1.c: New file.
22449 * string/Makefile: Add rules to build and run bug-strstr1.
22450
5fb308bc
EB
224512010-10-05 Eric Blake <eblake@redhat.com>
22452
22453 [BZ #12092]
22454 * string/str-two-way.h (two_way_long_needle): Always clear memory
22455 when skipping input due to the shift table.
22456
45db99c7
UD
224572010-10-03 Ulrich Drepper <drepper@gmail.com>
22458
3b111893
UD
22459 [BZ #12005]
22460 * malloc/mcheck.c: Handle large requests.
22461
45db99c7
UD
22462 [BZ #12077]
22463 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22464 for strncmp and strncasecmp.
22465 * string/stratcliff.c: Add tests for strcmp and strncmp.
22466 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22467
cf7a1eb8
NI
224682010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22469
22470 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22471 __set_fpscr.
22472
6484ba5e
AJ
224732010-09-30 Andreas Jaeger <aj@suse.de>
22474
22475 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22476 (CGROUP_SUPER_MAGIC): Define.
22477 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22478 Handle btrfs and cgroup file systems.
22479 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22480 Likewise.
22481
91c42559
LM
224822010-09-27 Luis Machado <luisgpm@br.ibm.com>
22483
22484 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22485 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22486
87a97932
AK
224872010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22488
22489 [BZ #12067]
22490 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22491 trying to locate the ELF header.
22492
c21cc9bc
AS
224932010-09-27 Andreas Schwab <schwab@redhat.com>
22494
22495 [BZ #11611]
22496 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22497 Mask out sign-bit copies when constructing f_fsid.
22498
315970f6
PB
224992010-09-24 Petr Baudis <pasky@suse.cz>
22500
22501 * debug/stack_chk_fail_local.c: Add missing licence exception.
22502 * debug/warning-nop.c: Likewise.
22503
1ac7a2c7
JM
225042010-09-15 Joseph Myers <joseph@codesourcery.com>
22505
22506 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22507 implementing getdents64 using getdents syscall, set d_type if
22508 __ASSUME_GETDENTS32_D_TYPE.
22509
56801c50
AS
225102010-09-16 Andreas Schwab <schwab@redhat.com>
22511
22512 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22513 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22514
dda51327
UD
225152010-09-21 Ulrich Drepper <drepper@redhat.com>
22516
22517 [BZ #12037]
22518 * posix/unistd.h: Undo change of feature selection for ftruncate from
22519 2010-01-11.
22520
8ffcee4a
UD
225212010-09-20 Ulrich Drepper <drepper@redhat.com>
22522
a545ecd9 22523 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
22524 detection.
22525
e24f0a8b
AS
225262010-09-20 Andreas Schwab <schwab@redhat.com>
22527
22528 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22529 fanotify_mark.
22530 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22531
7291c56f
AS
225322010-09-14 Andreas Schwab <schwab@redhat.com>
22533
22534 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22535 variables after CHECK_SP call.
22536 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22537
bc5fb037
AS
225382010-09-13 Andreas Schwab <schwab@redhat.com>
22539 Ulrich Drepper <drepper@redhat.com>
22540
22541 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22542 re-relocationg ld.so.
22543 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22544 _dl_init_paths call.
22545 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22546 here anymore.
22547
e66e7419
UD
225482010-09-14 Ulrich Drepper <drepper@redhat.com>
22549
22550 * resolv/res_init.c (__res_vinit): Count the default server we added.
22551
c044aa75
CLT
225522010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22553 Ulrich Drepper <drepper@redhat.com>
22554
22555 [BZ #11968]
22556 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22557 (____longjmp_chk): Use %ebx for saving value across system call.
22558 Add unwind info.
22559
32cf4069
AS
225602010-09-06 Andreas Schwab <schwab@redhat.com>
22561
22562 * manual/Makefile: Don't mix pattern rules with normal rules.
22563
817328ee
AS
225642010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22565
22566 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22567 operation.
22568 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22569 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22570 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22571 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22572 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22573 Likewise.
22574
29fddf61
UD
225752010-09-04 Ulrich Drepper <drepper@redhat.com>
22576
22577 [BZ #11979]
22578 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22579 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22580
0959ffc9
UD
225812010-09-02 Ulrich Drepper <drepper@redhat.com>
22582
22583 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22584 * sysdeps/x86_64/addmul_1.S: Likewise.
22585 * sysdeps/x86_64/lshift.S: Likewise.
22586 * sysdeps/x86_64/mul_1.S: Likewise.
22587 * sysdeps/x86_64/rshift.S: Likewise.
22588 * sysdeps/x86_64/sub_n.S: Likewise.
22589 * sysdeps/x86_64/submul_1.S: Likewise.
22590
ece29840
ST
225912010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22592
0959ffc9
UD
22593 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22594 Define __sched_param instead of SCHED_* and sched_param when
ece29840 22595 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 22596 * bits/sched.h [__need_schedparam]
ece29840 22597 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
22598 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22599 (__defined_schedparam): Define to 1.
ece29840
ST
22600 (__sched_param): New structure, identical to sched_param.
22601 (__need_schedparam): Undefine.
22602
e53a31fe
MF
226032010-08-31 Mike Frysinger <vapier@gentoo.org>
22604
fdc0c10d
MF
22605 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22606 (epoll_create1): Declare.
22607
e53a31fe
MF
22608 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22609
a726d796
AS
226102010-08-31 Andreas Schwab <schwab@redhat.com>
22611
22612 [BZ #7066]
22613 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22614 shifting retval into place.
22615
2f3e3dc7
UD
226162010-09-01 Ulrich Drepper <drepper@redhat.com>
22617
f2933da9
UD
22618 * nis/rpcsvc/nis.h: Update copyright notice.
22619 * nis/rpcsvc/nis.x: Likewise.
22620 * nis/rpcsvc/nis_callback.h: Likewise.
22621 * nis/rpcsvc/nis_callback.x: Likewise.
22622 * nis/rpcsvc/nis_object.x: Likewise.
22623 * nis/rpcsvc/nis_tags.h: Likewise.
22624 * nis/rpcsvc/yp.h: Likewise.
22625 * nis/rpcsvc/yp.x: Likewise.
22626 * nis/rpcsvc/ypupd.h: Likewise.
22627 * nis/yp_xdr.c: Likewise.
22628 * nis/ypupdate_xdr.c: Likewise.
22629
2f3e3dc7
UD
22630 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22631 mainly the body of pmap_getport. Add parameters to specify timeouts.
22632 (pmap_getport): Use __libc_rpc_getport.
22633 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22634 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22635 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22636
f3dcc2f9
AS
226372010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22638
22639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22640 fanotify_mark.
22641
6d34eb5b
RM
226422010-08-27 Roland McGrath <roland@redhat.com>
22643
22644 * sysdeps/i386/i686/multiarch/Makefile
22645 (CFLAGS-varshift.c): New variable.
22646
9ea3de11
UD
226472010-08-27 Ulrich Drepper <drepper@redhat.com>
22648
c96d23fc
UD
22649 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22650 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22651
9ea3de11
UD
22652 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22653
22654 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22655
623aac7f
L
226562010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22657
22658 * sysdeps/x86_64/strlen.S: Unroll the loop.
22659 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22660 strlen-sse2 strlen-sse2-bsf.
22661 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22662 __strlen_no_bsf if bit_Slow_BSF is set.
22663 (__strlen_sse42): Removed.
22664 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22665 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22666
8b2b7715
RM
226672010-08-25 Roland McGrath <roland@redhat.com>
22668
22669 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22670 * sysdeps/x86_64/multiarch/varshift.c: New file.
22671 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22672 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22673 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22674 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22675
e73015f2
L
226762010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22677
22678 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22679 strlen-sse2 strlen-sse2-bsf.
22680 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22681 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22682 (__strlen_sse2): Removed.
22683 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22684 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22685 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22686 bit_Slow_BSF for Atom.
22687 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22688 (index_Slow_BSF): Define.
22689 (HAS_SLOW_BSF): Define.
22690
df24a73e
UD
226912010-08-25 Ulrich Drepper <drepper@redhat.com>
22692
22693 [BZ #10851]
22694 * resolv/res_init.c (__res_vinit): When no server address at all
22695 is given default to loopback.
22696
f2ac4868
RM
226972010-08-24 Roland McGrath <roland@redhat.com>
22698
09055553
RM
22699 * configure.in: Remove config-name.h generation.
22700 * configure: Regenerated.
22701 * config-name.in: File removed.
22702 * scripts/config-uname.sh: New file.
22703 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22704 ($(objdir)config-name.h): New target.
22705
f2ac4868
RM
22706 * sunrpc/rpc_parse.h: Avoid nested comment.
22707
73f27d5e
RH
227082010-08-24 Richard Henderson <rth@redhat.com>
22709 Ulrich Drepper <drepper@redhat.com>
22710 H.J. Lu <hongjiu.lu@intel.com>
22711
22712 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22713 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22714 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22715 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22716 _mm_alignr_epi8 with _mm_loadu_si128.
22717 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22718 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22719 (__m128i_shift_right): Removed.
22720 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22721 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22722 * sysdeps/x86_64/multiarch/varshift.h: New file.
22723 * sysdeps/x86_64/multiarch/varshift.S: New file.
22724
84b9230c
MF
227252010-08-21 Mike Frysinger <vapier@gentoo.org>
22726
22727 * configure.in: Move assembler checks to before sysdep dir checking.
22728
9bbd0ddc
PB
227292010-08-20 Petr Baudis <pasky@suse.cz>
22730
22731 * LICENSES: Sync the sunrpc license.
22732
9da4bb31
UD
227332010-08-19 Ulrich Drepper <drepper@redhat.com>
22734
a7ab6ec8
UD
22735 * sunrpc/auth_des.c: Update copyright notice once again.
22736 * sunrpc/auth_none.c: Likewise.
22737 * sunrpc/auth_unix.c: Likewise.
22738 * sunrpc/authdes_prot.c: Likewise.
22739 * sunrpc/authuxprot.c: Likewise.
22740 * sunrpc/bindrsvprt.c: Likewise.
22741 * sunrpc/clnt_gen.c: Likewise.
22742 * sunrpc/clnt_perr.c: Likewise.
22743 * sunrpc/clnt_raw.c: Likewise.
22744 * sunrpc/clnt_simp.c: Likewise.
22745 * sunrpc/clnt_tcp.c: Likewise.
22746 * sunrpc/clnt_udp.c: Likewise.
22747 * sunrpc/clnt_unix.c: Likewise.
22748 * sunrpc/des_crypt.c: Likewise.
22749 * sunrpc/des_soft.c: Likewise.
22750 * sunrpc/get_myaddr.c: Likewise.
22751 * sunrpc/getrpcport.c: Likewise.
22752 * sunrpc/key_call.c: Likewise.
22753 * sunrpc/key_prot.c: Likewise.
22754 * sunrpc/openchild.c: Likewise.
22755 * sunrpc/pm_getmaps.c: Likewise.
22756 * sunrpc/pm_getport.c: Likewise.
22757 * sunrpc/pmap_clnt.c: Likewise.
22758 * sunrpc/pmap_prot.c: Likewise.
22759 * sunrpc/pmap_prot2.c: Likewise.
22760 * sunrpc/pmap_rmt.c: Likewise.
22761 * sunrpc/rpc/auth.h: Likewise.
22762 * sunrpc/rpc/auth_unix.h: Likewise.
22763 * sunrpc/rpc/clnt.h: Likewise.
22764 * sunrpc/rpc/des_crypt.h: Likewise.
22765 * sunrpc/rpc/key_prot.h: Likewise.
22766 * sunrpc/rpc/netdb.h: Likewise.
22767 * sunrpc/rpc/pmap_clnt.h: Likewise.
22768 * sunrpc/rpc/pmap_prot.h: Likewise.
22769 * sunrpc/rpc/pmap_rmt.h: Likewise.
22770 * sunrpc/rpc/rpc.h: Likewise.
22771 * sunrpc/rpc/rpc_des.h: Likewise.
22772 * sunrpc/rpc/rpc_msg.h: Likewise.
22773 * sunrpc/rpc/svc.h: Likewise.
22774 * sunrpc/rpc/svc_auth.h: Likewise.
22775 * sunrpc/rpc/types.h: Likewise.
22776 * sunrpc/rpc/xdr.h: Likewise.
22777 * sunrpc/rpc_clntout.c: Likewise.
22778 * sunrpc/rpc_cmsg.c: Likewise.
22779 * sunrpc/rpc_common.c: Likewise.
22780 * sunrpc/rpc_cout.c: Likewise.
22781 * sunrpc/rpc_dtable.c: Likewise.
22782 * sunrpc/rpc_hout.c: Likewise.
22783 * sunrpc/rpc_main.c: Likewise.
22784 * sunrpc/rpc_parse.c: Likewise.
22785 * sunrpc/rpc_parse.h: Likewise.
22786 * sunrpc/rpc_prot.c: Likewise.
22787 * sunrpc/rpc_sample.c: Likewise.
22788 * sunrpc/rpc_scan.c: Likewise.
22789 * sunrpc/rpc_scan.h: Likewise.
22790 * sunrpc/rpc_svcout.c: Likewise.
22791 * sunrpc/rpc_tblout.c: Likewise.
22792 * sunrpc/rpc_util.c: Likewise.
22793 * sunrpc/rpc_util.h: Likewise.
22794 * sunrpc/rpcinfo.c: Likewise.
22795 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22796 * sunrpc/rpcsvc/key_prot.x: Likewise.
22797 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22798 * sunrpc/rpcsvc/mount.x: Likewise.
22799 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22800 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22801 * sunrpc/rpcsvc/rex.x: Likewise.
22802 * sunrpc/rpcsvc/rstat.x: Likewise.
22803 * sunrpc/rpcsvc/rusers.x: Likewise.
22804 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22805 * sunrpc/rpcsvc/spray.x: Likewise.
22806 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22807 * sunrpc/rtime.c: Likewise.
22808 * sunrpc/svc.c: Likewise.
22809 * sunrpc/svc_auth.c: Likewise.
22810 * sunrpc/svc_authux.c: Likewise.
22811 * sunrpc/svc_raw.c: Likewise.
22812 * sunrpc/svc_run.c: Likewise.
22813 * sunrpc/svc_simple.c: Likewise.
22814 * sunrpc/svc_tcp.c: Likewise.
22815 * sunrpc/svc_udp.c: Likewise.
22816 * sunrpc/svc_unix.c: Likewise.
22817 * sunrpc/svcauth_des.c: Likewise.
22818 * sunrpc/xcrypt.c: Likewise.
22819 * sunrpc/xdr.c: Likewise.
22820 * sunrpc/xdr_array.c: Likewise.
22821 * sunrpc/xdr_float.c: Likewise.
22822 * sunrpc/xdr_mem.c: Likewise.
22823 * sunrpc/xdr_rec.c: Likewise.
22824 * sunrpc/xdr_ref.c: Likewise.
22825 * sunrpc/xdr_sizeof.c: Likewise.
22826 * sunrpc/xdr_stdio.c: Likewise.
22827
9da4bb31
UD
22828 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22829 handling.
22830
bdaa77bc
AS
228312010-08-19 Andreas Schwab <schwab@redhat.com>
22832
22833 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22834
fe2f79db
LM
228352010-08-19 Luis Machado <luisgpm@br.ibm.com>
22836
22837 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22838 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22839 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22840 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22841 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22842 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22843 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22844 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22845 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22846 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22847 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22848 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22849 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22850 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22851
b9b42ee0
AB
228522010-07-26 Anton Blanchard <anton@samba.org>
22853
22854 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22855 * malloc/arena.c (heap_trim): Likewise.
22856
1c06ba31
UD
228572010-08-16 Ulrich Drepper <drepper@redhat.com>
22858
22859 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22860 here. Not...
22861 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22862 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22863
f8392f40
L
228642010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22865
22866 * sysdeps/i386/elf/Makefile: New file.
22867
3162f12e
AS
228682010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22869
22870 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22871 from fanotify_init.
22872 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22873 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22874
28c90b2c
UD
228752010-08-15 Ulrich Drepper <drepper@redhat.com>
22876
22877 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22878 of strncasecmp_l.
1feccb6c 22879 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 22880
ca6bb004
UD
228812010-08-14 Ulrich Drepper <drepper@redhat.com>
22882
e9f82e0d
UD
22883 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22884 strncase_l-nonascii.
22885 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22886 Add strncase_l-ssse3.
22887 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22888 * sysdeps/x86_64/strcmp.S: Likewise.
22889 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22890 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22891 * sysdeps/x86_64/strncase.S: New file.
22892 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22893 * sysdeps/x86_64/strncase_l.S: New file.
22894 * string/Makefile (strop-tests): Add strncasecmp.
22895 * string/test-strncasecmp.c: New file.
22896
22897 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22898 warning.
22899
ca6bb004
UD
22900 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22901 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22902
052fa7b3
AS
229032010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22904
22905 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22906
962dba78
UD
229072010-08-12 Ulrich Drepper <drepper@redhat.com>
22908
22909 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22910 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22911 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22912
bebff237
AM
229132010-05-01 Alan Modra <amodra@gmail.com>
22914
22915 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22916 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22917 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22918 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22919 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22920 tidying. Don't tail-call __sigjmp_save for static lib.
22921 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22922 save location.
22923 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22924 (CALL_MCOUNT): Add eh info, and nop after bl.
22925 (TAIL_CALL_SYSCALL_ERROR): New macro.
22926 (PSEUDO_RET): Use it.
22927 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22928 Correct save location of integer regs and cr.
22929 (_dl_profile_resolve): Correct cr save location. Delete nops
22930 after bl when SHARED. Reduce cfi size a little by better
22931 placement of cfi directives.
22932 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22933 make a stack frame. Instead use parm save area as a temp.
22934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22935 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22937 Don't make a stack frame for parent, use parm save area.
22938 Increase child stack frame to 112 bytes. Don't save unused reg,
22939 and adjust reg usage. Set up cfi on error recovery and
22940 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22942 (__makecontext): Add dummy nop after jump to exit.
22943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22944 Use correct parm save area and cr save, reduce stack frame.
22945 Correct cfi for possible PSEUDO_RET frame setup.
22946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22947 Branch to local label emitted by PSEUDO_RET rather than
22948 __syscall_error.
22949
02637374
AS
229502010-08-12 Andreas Schwab <schwab@redhat.com>
22951
22952 [BZ #11904]
22953 * locale/programs/locale.c (print_assignment): New function.
22954 (show_locale_vars): Use it.
22955
c3e2f19b
UD
229562010-08-11 Ulrich Drepper <drepper@redhat.com>
22957
3cdaa6ad
UD
22958 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22959 field.
22960 (struct statfs64): Likewise.
22961 (_STATFS_F_FLAGS): Define.
22962 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22963 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22964 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22965 (ST_VALID): Define locally.
22966 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22967 __statvfs_getflags, use the provided value.
22968 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22969 __ASSUME_STATFS_F_FLAGS.
22970
754f7da3
UD
22971 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22972
10b3bedc
UD
22973 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22974 Add sys/fanotify.h.
22975 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22976 fanotify_mask for GLIBC_2.13.
22977 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22978 fanotify_init and fanotify_mark.
22979 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22980 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22981
c08fb0d7
UD
22982 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22983 Add prlimit.
22984 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22985 prlimit64 for GLIBC_2.13.
22986 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22987 prlimit64.
22988 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22989 syscall.
22990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22991 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22992 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22993 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22994 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22995 add prlimit alias.
22996 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22997
15bac72b
UD
22998 [BZ #11903]
22999 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23000 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23001
c3e2f19b
UD
23002 * nss/Makefile: Add rules to build and run tst-nss-test1.
23003 * shlib-versions: Add entry for libnss_test1.
23004 * nss/nss_test1.c: New file.
23005 * nss/tst-nss-test1.c: New file.
23006
23007 * nss/nsswitch.c (__nss_database_custom): Define new variable.
23008 (__nss_configure_lookup): Set appropriate entry in
23009 __nss_configure_lookup to true.
23010 * nss/nsswitch.h: Define enum with indeces of databases in
23011 databases and __nss_database_custom arrays. Declare
23012 __nss_database_custom.
23013 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23014 to avoid using nscd when custom rules are installed.
23015 * nss/getXXbyYY_r.c: Likewise.
23016 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23017
23018 * nss/nss_files/files-parse.c: Whitespace fixes.
23019
f15ce4d8
UD
230202010-08-09 Ulrich Drepper <drepper@redhat.com>
23021
23022 [BZ #11883]
23023 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23024 * posix/fnmatch_loop.c: Likewise.
23025
d22e4cc9
AK
230262010-07-17 Andi Kleen <ak@linux.intel.com>
23027
23028 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23029 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23030 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23031 * Versions.def [GLIBC_2.13]: Add.
23032
805bc17d
UD
230332010-08-06 Ulrich Drepper <drepper@redhat.com>
23034
23035 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23036 Also fail if tpwd after pwuid call is NULL.
23037
5a42321d
ST
230382010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
23039
23040 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23041 when converting to ms.
23042
fd3ebeda
ST
230432010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23044
23045 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23046 EOPNOTSUPP errors with ENOTTY.
23047 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23048 EOPNOTSUPP errors with ENOTTY.
23049
73507d3a
UD
230502010-07-31 Ulrich Drepper <drepper@redhat.com>
23051
23052 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23053 Add strcasecmp_l-ssse3.
23054 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23055 strcasecmp.
23056 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23057 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23058 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23059
fe36dd02
UD
230602010-07-30 Ulrich Drepper <drepper@redhat.com>
23061
66f6765a
UD
23062 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23063
42e08a54
UD
23064 * string/Makefile (strop-tests): Add strcasecmp.
23065 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23066 strcasecmp_l-nonascii.
23067 (gen-as-const-headers): Add locale-defines.sym.
23068 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23069 * sysdeps/x86_64/strcasecmp.S: New file.
23070 * sysdeps/x86_64/strcasecmp_l.S: New file.
23071 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23072 * sysdeps/x86_64/locale-defines.sym: New file.
23073 * string/test-strcasecmp.c: New file.
23074
fe36dd02
UD
23075 * string/test-strcasestr.c: Test both ends of the range of characters.
23076 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23077
48cbc0d6
RM
230782010-07-29 Roland McGrath <roland@redhat.com>
23079
76e6d6bc 23080 [BZ #11856]
48cbc0d6
RM
23081 * manual/locale.texi (Yes-or-No Questions): Fix example code.
23082
880113d9
UD
230832010-07-27 Ulrich Drepper <drepper@redhat.com>
23084
23085 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23086 for ld.so.
23087
deb9cabb
AS
230882010-07-27 Andreas Schwab <schwab@redhat.com>
23089
23090 * manual/memory.texi (Malloc Tunable Parameters): Document
23091 M_PERTURB.
23092
1c7570ff
RM
230932010-07-26 Roland McGrath <roland@redhat.com>
23094
23095 [BZ #11840]
23096 * configure.in (-fgnu89-inline check): Set and substitute
23097 gnu89_inline, not libc_cv_gnu89_inline.
23098 * configure: Regenerated.
23099 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23100
24fb0f88
UD
231012010-07-26 Ulrich Drepper <drepper@redhat.com>
23102
23103 * string/test-strnlen.c: New file.
23104 * string/Makefile (strop-tests): Add strnlen.
23105 * string/tester.c (test_strnlen): Add a few more test cases.
23106 * string/tst-strlen.c: Better error reporting.
23107
23108 * sysdeps/x86_64/strnlen.S: New file.
23109
8e96b93a
UD
231102010-07-24 Ulrich Drepper <drepper@redhat.com>
23111
23112 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23113 lower-latency instructions.
23114
dbc676d4
UD
231152010-07-23 Ulrich Drepper <drepper@redhat.com>
23116
23117 * string/test-strcasestr.c: New file.
23118 * string/test-strstr.c: New file.
23119 * string/Makefile (strop-tests): Add strstr and strcasestr.
23120 * string/str-two-way.h: Don't undefine MAX.
23121 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23122
f6a31e0e
AS
231232010-07-21 Andreas Schwab <schwab@redhat.com>
23124
23125 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23126 strcasestr-nonascii.
23127 (CFLAGS-strcasestr-nonascii.c): Define.
23128 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23129 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23130 Remove unused attribute.
23131
5dbc3b6c
RM
231322010-07-20 Roland McGrath <roland@redhat.com>
23133
23134 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23135 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23136 ld.so.cache was broken. With it, there is no way to disable dsocaps
23137 like LD_HWCAP_MASK can disable hwcaps.
23138
23d101d8
EPM
231392010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23140
23141 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23142
cc9f2e47
UD
231432010-07-16 Ulrich Drepper <drepper@redhat.com>
23144
23145 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23146 call in strcasestr.
23147 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23148 __strcasestr_sse42_nonascii.
23149 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23150 strcasestr-nonascii.c.
23151 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23152
77c1b069
LM
231532010-06-15 Luis Machado <luisgpm@br.ibm.com>
23154
23155 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23156 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23157 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23158 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23159
440566c3
UD
231602010-07-09 Ulrich Drepper <drepper@redhat.com>
23161
23162 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23163 fcntl.
23164
5be9d05d
AS
231652010-07-06 Andreas Schwab <schwab@redhat.com>
23166
c30b7ee2 23167 [BZ #11577]
5be9d05d
AS
23168 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23169 dl_signal_cerror.
23170
8a492a67
UD
231712010-07-06 Ulrich Drepper <drepper@redhat.com>
23172
23173 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23174 _PC_PIPE_BUF using F_GETPIPE_SZ.
23175
713df3d5
RM
231762010-07-05 Roland McGrath <roland@redhat.com>
23177
23178 * manual/arith.texi (Rounding Functions): Fix rint description
23179 implicit in round description.
23180
702e8f14
UD
231812010-07-02 Ulrich Drepper <drepper@redhat.com>
23182
23183 * elf/Makefile: Fix linking for a few tests to make recent linker
23184 happy.
23185
52ed8be9
AS
231862010-06-30 Andreas Schwab <schwab@redhat.com>
23187
23188 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23189 $(common-objpfx)libc_nonshared.a.
23190
f47c9a11
LM
231912010-06-21 Luis Machado <luisgpm@br.ibm.com>
23192
23193 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23194 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23195 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23196 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23197 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23198 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23199 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23200 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23215 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23216 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23217 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23218 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23219 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23220 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23221 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23222 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23223 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23224 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23225 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23226 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23241
6fb8cbcb
L
232422010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23243
23244 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23245 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23246 * string/memmove.c (memmove): Renamed to ...
23247 (MEMMOVE): ...this. Default to memmove.
23248 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23249 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23250 (END_CHK): Define.
23251 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23252 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23253 mempcpy-ssse3-back memmove-ssse3-back.
23254 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23255 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23256 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23257 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23258 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23259 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23260 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23261 * sysdeps/x86_64/multiarch/memmove.c: New file.
23262 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23263 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23264 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23265 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23266 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23267 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23268 Define.
23269 (index_Fast_Copy_Backward): Define.
23270 (HAS_ARCH_FEATURE): Define.
23271 (HAS_FAST_REP_STRING): Define.
23272 (HAS_FAST_COPY_BACKWARD): Define.
23273
4e733bac 232742010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
23275
23276 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23277 Restore proper fallback handling.
23278
63c4ed22
UD
232792010-06-19 Ulrich Drepper <drepper@redhat.com>
23280
ac2b484c
UD
23281 [BZ #11701]
23282 * posix/group_member.c (__group_member): Correct checking loop.
23283
63c4ed22
UD
23284 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23285 OOM in getpwuid_r correctly. Return error number when the caller
23286 should return, otherwise -1.
23287 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23288 call returning > 0 value.
23289 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23290
765ade4b
AS
232912010-06-07 Andreas Schwab <schwab@redhat.com>
23292
23293 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23294 libc_nonshared.a from targets in modules-names.
23295
80da2e09
KS
232962010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23297
23298 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23299 requires it.
23300
158db122
LM
233012010-06-10 Luis Machado <luisgpm@br.ibm.com>
23302
23303 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23304 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23305 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23306 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23307
caa78cf8
AS
233082010-06-02 Andreas Schwab <schwab@redhat.com>
23309
23310 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23311
b2ef2c01
UD
233122010-06-14 Ulrich Drepper <drepper@redhat.com>
23313
23314 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23315 and F_GETPIPE_SZ.
23316 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23317 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23318 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23319 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23320 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23321 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23322
fbd643b6
RM
233232010-06-14 Roland McGrath <roland@redhat.com>
23324
23325 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23326
f32f2869
JJ
233272010-06-07 Jakub Jelinek <jakub@redhat.com>
23328
23329 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23330 __REDIRECT followed by __THROW.
23331 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23332 * posix/getopt.h (getopt): Likewise.
23333
2a50c078
EPM
233342010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23335
23336 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23337 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23338 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23339 in AT_FLAGS.
23340 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23341 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23342
eb5ad2eb
LM
233432010-05-28 Luis Machado <luisgpm@br.ibm.com>
23344
23345 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23346
3c88fe1e
L
233472010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23348
23349 [BZ #11640]
23350 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23351 Properly check family and model.
23352
d2f73151
TY
233532010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23354
23355 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23356
ebd2e13d
LM
233572010-05-24 Luis Machado <luisgpm@br.ibm.com>
23358
23359 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23360
b32b8b45
UD
233612010-05-21 Ulrich Drepper <drepper@redhat.com>
23362
23363 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23364 symbol reference.
23365
9acbe24d
AS
233662010-05-19 Andreas Schwab <schwab@redhat.com>
23367
23368 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23369 symbol reference.
23370
f0ccf6ea
AS
233712010-05-21 Andreas Schwab <schwab@redhat.com>
23372
3d04ff3a
AS
23373 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23374 and internal_recvmmsg.
23375 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23376 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23377 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23378 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23379
f0ccf6ea
AS
23380 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23381 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23382 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23383
5b08ac57
AS
233842010-05-20 Andreas Schwab <schwab@redhat.com>
23385
23386 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23387
4828935d
LM
233882010-05-17 Luis Machado <luisgpm@br.ibm.com>
23389
23390 POWER7 optimizations.
23391 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23392 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23393
373d545e
UD
233942010-05-19 Ulrich Drepper <drepper@redhat.com>
23395
23396 * version.h: Update for 2.13 development version.
23397
21a2b1ae
AS
233982010-05-12 Andrew Stubbs <ams@codesourcery.com>
23399
23400 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23401 exceptions. Return 0.
23402
3f7dcb2b
RM
234032010-05-07 Roland McGrath <roland@redhat.com>
23404
23405 * elf/ldconfig.c (main): Add a const.
23406
5f24d53a 234072010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 23408
a160f8d8
UD
23409 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23410 (args_options): Add no-idn option.
23411 (ahosts_keys_int): Add idn_flags to ai_flags.
23412 (parse_option): Handle 'i' option to clear idn_flags.
23413
5f24d53a
UD
23414 * malloc/malloc.c (_int_free): Possible race in the most recently
23415 added check. Only act on the data if no current modification
23416 happened.
265bb1ce
UD
23417
23418See ChangeLog.17 for earlier changes.