]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update copyright years.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
0549fbba
DM
12013-01-01 David S. Miller <davem@davemloft.net>
2
3 * catgets/gencat.c: Update copyright year.
4 * csu/version.c: Likewise.
5 * debug/catchsegv.sh: Likewise.
6 * debug/pcprofiledump.c: Likewise.
7 * debug/xtrace.sh: Likewise.
8 * elf/ldconfig.c: Likewise.
9 * elf/ldd.bash.in: Likewise.
10 * elf/pldd.c: Likewise.
11 * elf/sotruss.ksh: Likewise.
12 * elf/sprof.c: Likewise.
13 * iconv/iconv_prog.c: Likewise.
14 * iconv/iconvconfig.c: Likewise.
15 * locale/programs/locale.c: Likewise.
16 * locale/programs/localedef.c: Likewise.
17 * login/programs/pt_chown.c: Likewise.
18 * malloc/memusage.sh: Likewise.
19 * malloc/memusagestat.c: Likewise.
20 * malloc/mtrace.pl: Likewise.
21 * nscd/nscd.c: Likewise.
22 * nss/getent.c: Likewise.
23 * nss/makedb.c: Likewise.
24 * posix/getconf.c: Likewise.
25
18ea052c
SP
262012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27
28 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
29 numbers.
30
9c89fca6
MF
312012-12-30 Mike Frysinger <vapier@gentoo.org>
32
33 * math/bits/mathcalls.h (modf): Use __nonnull.
34
085ec079
SP
352012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36
37 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
38 (split): Use macro CN instead of the bare value.
39 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
40 could be used.
41 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
42 instead of the bare value.
43 (power1): Likewise.
44
6d9f97e1
SP
452012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46
d63f73be
SP
47 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
48 __ATAN_TWOM.
49 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50
6d9f97e1
SP
51 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
52 their values.
53 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
56 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
57
4c4febf5
AJ
582012-12-28 Andreas Jaeger <aj@suse.de>
59
af5843ef
AJ
60 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
61 values are from Linux 3.7.
62
4c4febf5
AJ
63 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
64 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
65
99136f82
SP
662012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
67
2f216c3c 68 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
69 TRUE case.
70
99136f82
SP
71 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
72 (norm): Likewise.
73 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
74 variables with preprocessor constants.
75 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
76 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
77 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
78
7fffbdff
BH
792012-12-27 Bruno Haible <bruno@clisp.org>
80
81 [BZ #14317]
82 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
83 only if needed.
84
b76eb5f0
SP
852012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
86
31a7fe5c
SP
87 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
88 and use variable directly.
89 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
90
b76eb5f0
SP
91 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
92 MPONE.
93 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
94 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
95 variable MPONE.
96 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
97 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
98 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
99 include directive. Remove local variable MPONE.
100 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
101 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
102 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
103
2c8bfe7d
DM
1042012-12-25 David S. Miller <davem@davemloft.net>
105
106 * version.h (RELEASE): Set to "development".
107 (VERSION): Set to "2.17.90".
108 * NEWS: Add 2.18 section.
109
147d03b0
DM
1102012-12-21 David S. Miller <davem@davemloft.net>
111
112 * po/hr.po: Update from translation team.
113
a8ebb2b9
AK
1142012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
115
116 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
117
95b4f1b6
SE
1182012-12-19 Steve Ellcey <sellcey@mips.com>
119
b2d94007 120 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 121
cedb2a90
MS
1222012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
123
124 * manual/contrib.texi (Contributors): Spelling correction.
125
bbf527d6
DM
1262012-12-15 David S. Miller <davem@davemloft.net>
127
128 * po/ru.po: Update from translation team.
129
bc38c906
DM
1302012-12-13 David S. Miller <davem@davemloft.net>
131
85429b1a
DM
132 * NEWS: Mention IFUNC testsuite enhancements.
133
d283e353
DM
134 * po/pl.po: Update from translation team.
135 * po/bg.po: Likewise.
136
bc38c906
DM
137 * manual/contrib.texi (Contributors): Update entries for Hongjiu
138 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
139
a181b0d7
DM
1402012-12-11 David S. Miller <davem@davemloft.net>
141
4641d57e
DM
142 * po/sv.po: Update from translation team.
143
f7bc6495
DM
144 * po/vi.po: Update from translation team.
145
6fc9048f
DM
146 * po/cs.po: Update from translation team.
147
a181b0d7
DM
148 * po/de.po: Update from translation team.
149 * po/eo.po: Likewise.
150 * po/nl.po: Likewise.
151
f70bfe80
SP
1522012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
153
3c8b4190
SP
154 [BZ #14246]
155 * manual/argp.texi (Argp Helper Functions): Move node to follow
156 Argp Parsing State.
157
f70bfe80
SP
158 [BZ #14872]
159 * manual/conf.texi (Limits on File System Capacity): Mention if
160 terminating null is included in the max size.
161
188f0adf
AJ
1622012-12-10 Andreas Jaeger <aj@suse.de>
163
164 * po/cs.po: Update from translation team.
165
56e7d3ad
SP
1662012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
167
168 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
169 void pointer and cast to uintptr_t.
170 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
171 path.
172 * sysdeps/s390/s390-64/memcpy.S: Likewise.
173 * sysdeps/s390/s390-64/memset.S: Likewise.
174
76f2d2ea 1752012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
176
177 [BZ #14833]
178 * menual/message.texi (Message Translation): Fix typos.
179 (Helper programs for gettext): Likewise.
180
67cbf9a2
AS
1812012-12-07 Andreas Schwab <schwab@linux-m68k.org>
182
183 [BZ #14898]
184 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
185 Change to -1.
186
682d0e9a
DM
1872012-12-07 David S. Miller <davem@davemloft.net>
188
189 * po/libc.pot: Update.
190
573cd484
RH
1912012-12-07 Richard Henderson <rth@redhat.com>
192
7e9da188 193 [BZ #10114]
573cd484
RH
194 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
195 normal/normal case to before the switch.
196 (_FP_DIV): Likewise.
197
e933a943
MF
1982012-12-06 Carlos O'Donell <carlos@systemhalted.org>
199 Mike Frysinger <vapier@gentoo.org>
200
201 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
202 check for __NR_fadvise64_64.
203
82123268
CM
2042012-12-06 Chris Metcalf <cmetcalf@tilera.com>
205
206 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
207 0, not just to plain "0" as a statement.
208 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
209 with cw.
210
d9814526
JM
2112012-12-06 Joseph Myers <joseph@codesourcery.com>
212
213 * NEWS: Use sourceware.org in Bugzilla URL.
214
7728c574
SP
2152012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
216
f16946dd
SP
217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
218 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
219
5704bbcb
SP
220 * stdio-common/tst-put-error.c (do_test): Add newline to the
221 padded test to ensure flush.
222
17aa0516
JL
2232012-12-05 Jeff Law <law@redhat.com>
224
225 * sunrpc/etc.rpc (fedfs_admin): Add entry.
226
363313b5
JM
2272012-12-05 Joseph Myers <joseph@codesourcery.com>
228
effbd42a
JM
229 * README: Don't refer to ports add-on as distributed separately.
230 Mention AArch64 in list of systems supported in the ports add-on.
231
87600365
JM
232 * LICENSES: Add more non-FSF copyright and license notices.
233
a0d7066a
JM
234 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
235 ((unused)).
236
66ca5a5b
JM
237 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
238
363313b5
JM
239 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
240 10000 as width of padded output.
241
b37984ad
JM
2422012-12-04 Joseph Myers <joseph@codesourcery.com>
243
9003570a
JM
244 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
245
b37984ad
JM
246 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
247 variable LX with __attribute__ ((unused)).
248 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
249 Likewise.
250 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
251 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
252 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
253 with __attribute__ ((unused)).
254
c8df52ec
DM
2552012-12-04 David S. Miller <davem@abraco.davemloft.net>
256
257 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
258
b3b099af
JM
2592012-12-04 Joseph Myers <joseph@codesourcery.com>
260
c33aa6e3
JM
261 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
262 (CFLAGS-nldbl-acos.c): New variable.
263 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
264 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
265 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
266 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
267 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
268 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
269 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
270 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
271 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
272 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
273 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
274 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
275 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
276 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
277 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
278 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
279 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
280 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
281 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
282 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
283 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
284 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
285 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
286 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
287 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
288 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
289 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
290 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
291 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
292 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
293 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
294 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
295 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
296 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
297 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
298 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
299 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
300 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
301 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
302 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
303 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
304 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
305 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
306 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
307 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
308 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
309 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
310 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
311 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
312 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
313 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
314 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
315 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
316 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
317 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
318 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
319 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
320 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
321 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
322 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
323 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
324 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
325 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
326 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
327 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
328 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
329 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
330 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
331 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
332 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
333 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
334 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
335 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
336 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
337 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
338 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
339 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
340 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
341 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
342 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
343 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
344 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
345 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
346 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
347 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
348 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
349 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
350 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
351 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
352 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
353 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
354 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
355 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
356 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
357 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
358 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
359 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
360
20f0018d
JM
361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
362 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
363
b3b099af
JM
364 [BZ #14914]
365 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
366 whole low double instead of just low 47 bits when splitting values
367 into two parts.
368
029264d1
AM
3692012-12-03 Allan McRae <allan@archlinux.org>
370
371 * manual/stdio.texi (Predefined Printf Handlers): Remove
372 @hsep and @vsep usage.
373
c9d6789e
MF
3742012-12-03 Mike Frysinger <vapier@gentoo.org>
375
376 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
377 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
378
4b7634a5
JL
3792012-12-03 Jeff Law <law@redhat.com>
380
381 * time/sys/time.h (settimeofday): Do not mark TV argument
382 as __nonnull.
383
eb6cbd24
MF
3842012-12-01 Mike Frysinger <vapier@gentoo.org>
385
386 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
387 when currently writing and seek to current position when not.
388 * libio/Makefile (tests): Remove bug-fclose1.
389 * libio/bug-fclose1.c: Delete.
390
f638872a
JM
3912012-12-01 Joseph Myers <joseph@codesourcery.com>
392
393 * manual/arith.texi (feenableexcept): Fix typo.
394 (fedisableexcept): Likewise.
395
48085d14
RM
3962012-11-30 Roland McGrath <roland@hack.frob.com>
397
398 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
399 second, differently-typed declaration, rather than a cast.
400
1a538b9f
SP
4012012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
402
403 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
404 * include/rpc/svc.h: ... here.
405
d07f2ff1 4062012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
407
408 [BZ #13013]
409 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
410 depending n and resplen2 to catch cases where answer
411 equals answerp2.
412
c93ec1f0
CD
4132012-11-29 Carlos O'Donell <carlos@systemhalted.org>
414
415 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
416 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
417
37db69de
MF
4182012-11-29 Mike Frysinger <vapier@gentoo.org>
419
420 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
421
e10c4e4f
RM
4222012-11-29 Roland McGrath <roland@hack.frob.com>
423
424 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
425
2af1b328
JL
4262012-11-28 Jeff Law <law@redhat.com>
427
428 [BZ #13761]
429 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
430 dataset_temporary. Track alloca usage into alloca_used.
431 If dataset is large allocate and release it via malloc/free.
432
111db5b1
FW
4332012-06-04 Florian Weimer <fweimer@redhat.com>
434
f06cc227 435 [BZ #14197]
111db5b1
FW
436 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
437
dd694abd
DM
4382012-11-28 David S. Miller <davem@davemloft.net>
439
440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
441
9984dd01
JM
4422012-11-28 Joseph Myers <joseph@codesourcery.com>
443
444 [BZ #14803]
445 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
446 of pi/2 rounded to nearest to 64 bits.
447 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
448 nearest to 64 bits.
449 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
450 bits.
451
14bc93a9
JL
4522012-11-28 Jeff Law <law@redhat.com>
453 Martin Osvald <mosvald@redhat.com>
454
455 [BZ #14889]
456 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
457 * sunrpc/svc.c: Include time.h.
458 (__svc_accept_failed): New function.
459 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
460 any reason other than EINTR, call __svc_accept_failed.
461 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
462 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
463
e3c6aa3a
AS
4642012-11-28 Andreas Schwab <schwab@suse.de>
465
466 * scripts/abilist.awk: Also handle indirect functions in .opd
467 section.
468
1bead169
JM
4692012-11-28 Joseph Myers <joseph@codesourcery.com>
470
471 [BZ #13881]
472 * sysdeps/x86/fpu/powl_helper.c: New file.
473 * sysdeps/x86/fpu/Makefile: Likewise.
474 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
475 (p3): New object.
476 (__ieee754_powl): Use __powl_helper for finite arguments except
477 integer exponents below 8.
478 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
479 (p3): New object.
480 (__ieee754_powl): Use __powl_helper for finite arguments except
481 integer exponents below 8.
482 * math/libm-test.inc (pow_test): Add more tests and enable some
483 previously disabled tests.
484 * sysdeps/i386/fpu/libm-test-ulps: Update.
485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
486
0817d63d
SP
4872012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
488 Carlos O'Donell <carlos_odonell@mentor.com>
489
490 * nss/makedb.c (is_prime): Assert that input is odd and greater
491 than 4. Note that fact in a comment too.
492 (next_prime): Add 4 to input.
493
de2fd463
SP
4942012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
495
496 [BZ #11741]
497 * libio/Makefile (tests): Add test case tst-fwrite-error.
498 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
499 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
500 * libio/tst-fwrite-error.c: New test case.
501
c515fb51
L
5022012-11-26 H.J. Lu <hongjiu.lu@intel.com>
503
504 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
505 before casting to void *.
506 * include/libc-internal.h (__pointer_type): New macro.
507 (__integer_if_pointer_type_sub): Likewise.
508 (__integer_if_pointer_type): Likewise.
509 (cast_to_integer): Likewise.
510 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
511 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
512 before casting to atomic64_t.
513 (atomic_exchange_acq): Likewise.
514 (__arch_exchange_and_add_body): Likewise.
515 (__arch_add_body): Likewise.
516 (atomic_add_negative): Likewise.
517 (atomic_add_zero): Likewise.
518
4cf77aa9
JM
5192012-11-26 Joseph Myers <joseph@codesourcery.com>
520
521 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
522 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
523 (add_fdes): Likewise.
524 (linear_search_fdes): Likewise.
525 (binary_search_unencoded_fdes): Likewise.
526
d260b3b4
AS
5272012-11-26 Andreas Schwab <schwab@linux-m68k.org>
528
529 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
530
67060746
AC
5312012-11-24 Adam Conrad <adconrad@0c3.net>
532
533 * configure.in: Autodetect C++ header directories.
534 * configure: Regenerated.
535
800938a1
MF
5362012-11-23 Mike Frysinger <vapier@gentoo.org>
537
538 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
539
4e6e34e6
AS
5402012-11-23 Andreas Schwab <schwab@linux-m68k.org>
541
542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
543
7c7feb47
JM
5442012-11-22 Joseph Myers <joseph@codesourcery.com>
545
7184dcdf
JM
546 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
547 LDBL_MANT_DIG == 106]: Disable some tests.
548 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
549 Likewise.
550 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
551 Likewise.
552
0a42601f
JM
553 [BZ #14871]
554 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
555 input for small inputs. Return +/- pi/2 for large inputs.
556 * math/libm-test.inc (atan_test): Add more tests.
557
79c9b9fe
JM
558 * sysdeps/generic/unwind-dw2-fde-glibc.c
559 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
560 __attribute__ ((unused)).
561
c60d3bf2
JM
562 [BZ #14645]
563 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
564 x * y if x and y are nonzero and z is zero.
565
ef1e0867
JM
566 [BZ #14811]
567 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
568 nonzero exponents with absolute value below 0x1p-117 to +/-
569 0x1p-117.
570
1468ded3
JM
571 [BZ #14869]
572 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
573 up arguments below 2**-450, not just those below 2**-500.
574 * math/libm-test.inc (hypot_test): Add another test.
575
8e27e3cc
JM
576 [BZ #14868]
577 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
578 Return a+b for ratio over 2**120, not 2**60.
579 * math/libm-test.inc (hypot_test): Add another test.
580
c9c0279b
JM
581 * math/libm-test.inc (clog_test): Use
582 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
583 (clog10_test): Likewise.
584
7c7feb47
JM
585 [BZ #6778]
586 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
587
fff1530e
AS
5882012-11-22 Andreas Schwab <schwab@suse.de>
589
590 * sysdeps/i386/fpu/libm-test-ulps: Update.
591
94558d30
PT
5922012-11-22 Pino Toscano <toscano.pino@tiscali.it>
593
594 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
595 printf output with newline.
596
7e1be741
L
5972012-11-21 H.J. Lu <hongjiu.lu@intel.com>
598
6bfea974
L
599 [BZ #14865]
600 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
601 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
602 -z nodlopen, -z initfirst and -z execstack support.
603 * configure: Regenerated.
604
7e1be741
L
605 * elf/elf.h (DF_1_NODIRECT): New macro.
606 (DF_1_IGNMULDEF): Likewise.
607 (DF_1_NOKSYMS): Likewise.
608 (DF_1_NOHDR): Likewise.
609 (DF_1_EDITED): Likewise.
610 (DF_1_NORELOC): Likewise.
611 (DF_1_SYMINTPOSE): Likewise.
612 (DF_1_GLOBAUDIT): Likewise.
613 (DF_1_SINGLETON): Likewise.
614 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
615 DT_1_SUPPORTED_MASK bits.
616 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
617
105ce2ce
CD
6182012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
619
620 * sysdeps/unix/make-syscalls.sh: Document prefixes.
621
123be9de
TS
6222012-11-20 Thomas Schwinge <thomas@codesourcery.com>
623
d072f3f7
TS
624 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
625 macro.
626
123be9de
TS
627 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
628 (sendmmsg): Move declarations...
629 * socket/sys/socket.h: ... here.
630 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
631 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
632 include it from...
633 * socket/recvmmsg.c: ... this new file.
634 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
635 (sendmmsg): Rename to __sendmmsg, create weak alias and make
636 definition of __sendmmsg hidden.
637 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
638 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
639 Move ENOSYS stub into and include it from...
640 * socket/sendmmsg.c: ... this new file.
641 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
642 (sysdep_routines): Move recvmmsg and sendmmsg...
643 * socket/Makefile (routines): ... here.
644 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
645 (GLIBC_PRIVATE): Add __sendmmsg.
646 * include/sys/socket.h (__sendmmsg): Add declarations.
647 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
648 sendmmsg.
649
cf9a5d18
JM
6502012-11-20 Joseph Myers <joseph@codesourcery.com>
651
652 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
653 variable I1 with __attribute__ ((unused)).
654 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
655
ecd4caf9
JM
6562012-11-19 Joseph Myers <joseph@codesourcery.com>
657
be14d48f
JM
658 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
659 DUMMY variables with __attribute__ ((unused)).
660
ecd4caf9
JM
661 * bits/byteswap.h: Include <bits/types.h>.
662 (__bswap_64): Use __uint64_t instead of unsigned long long int.
663
986cab95
PT
6642012-11-19 Pino Toscano <toscano.pino@tiscali.it>
665
666 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
667 string_t. Do not manually set errno.
668 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
669 length with __strnlen. Make sure to both set errno and return it on
670 failure.
671
6d33cc9d
DM
6722012-11-19 David S. Miller <davem@davemloft.net>
673
674 With help from Joseph Myers.
675 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
676 very large arguments properly.
677 * math/libm-test.inc (atan_test): New tests.
678 (atan2_test): New tests.
679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
680 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
681
ee663277
JM
6822012-11-19 Joseph Myers <joseph@codesourcery.com>
683
877f2d8e
JM
684 [BZ #14856]
685 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
686 Define to 3.
687
116fc08a
JM
688 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
689 [POSIX] (EADDRNOTAVAIL): Likewise.
690 [POSIX] (EAFNOSUPPORT): Likewise.
691 [POSIX] (EALREADY): Likewise.
692 [POSIX] (ECONNABORTED): Likewise.
693 [POSIX] (ECONNREFUSED): Likewise.
694 [POSIX] (ECONNRESET): Likewise.
695 [POSIX] (EDESTADDRREQ): Likewise.
696 [POSIX] (EDQUOT): Likewise.
697 [POSIX] (EHOSTUNREACH): Likewise.
698 [POSIX] (EIDRM): Likewise.
699 [POSIX] (EISCONN): Likewise.
700 [POSIX] (ELOOP): Likewise.
701 [POSIX] (EMULTIHOP): Likewise.
702 [POSIX] (ENETDOWN): Likewise.
703 [POSIX] (ENETUNREACH): Likewise.
704 [POSIX] (ENOBUFS): Likewise.
705 [POSIX] (ENODATA): Likewise.
706 [POSIX] (ENOLINK): Likewise.
707 [POSIX] (ENOMSG): Likewise.
708 [POSIX] (ENOPROTOOPT): Likewise.
709 [POSIX] (ENOSR): Likewise.
710 [POSIX] (ENOSTR): Likewise.
711 [POSIX] (ENOTCONN): Likewise.
712 [POSIX] (ENOTSOCK): Likewise.
713 [POSIX] (EOPNOTSUPP): Likewise.
714 [POSIX] (EOVERFLOW): Likewise.
715 [POSIX] (EPROTO): Likewise.
716 [POSIX] (EPROTONOSUPPORT): Likewise.
717 [POSIX] (EPROTOTYPE): Likewise.
718 [POSIX] (ESTALE): Likewise.
719 [POSIX] (ETIME): Likewise.
720 [POSIX] (ETXTBSY): Likewise.
721 [POSIX] (EWOULDBLOCK): Likewise.
722 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
723 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
724 [POSIX] (SEEK_CUR): Likewise.
725 [POSIX] (SEEK_END): Likewise.
726 [POSIX || UNIX98] (mode_t): Do not require.
727 [POSIX] (off_t): Likewise.
728 [POSIX] (pid_t): Likewise.
729 [POSIX] (sys/stat.h): Do not allow header.
730 [POSIX] (unistd.h): Likewise.
731 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
732 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
733 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
734 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
735 require.
736 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
737 sigevent): Specify elements.
738 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
739 entry.
740 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
741 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
742
a483863f
JM
743 * conform/data/cpio.h-data [POSIX]: Disable whole file.
744 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
745 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
746 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
747 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
748 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
749 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
750 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
751 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
752 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
753 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
754 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
755 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
756 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
757 Likewise.
758 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
759 Likewise.
760 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
761 Likewise.
762 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
763 Likewise.
764 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
765 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
766 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
767 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
768 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
769 Specify lower bound on value.
770 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
771 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
772 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
773 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
774 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
775 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
776 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
777 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
778 value.
779 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
780 as optional.
781 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
782 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
783 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
784 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
785 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
786 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
787 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
788 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
789 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
790 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
791 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
792 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
793 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
794 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
795 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
796 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
797 entry.
798 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
799 optional.
800 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
801 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
802 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
803 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
804 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
805 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
806 Likewise.
807 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
808 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
809 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
810 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
811 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
812 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
813 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
814 as optional.
815 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
816 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
817 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
818 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
819 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
820 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
821 specify as optional.
822 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
823 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
824 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
825 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
826 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
827 [XPG3] (NL_LANGMAX): Likewise.
828 [POSIX || XPG3] (NL_MSGMAX): Likewise.
829 [POSIX || XPG3] (NL_NMAX): Likewise.
830 [POSIX || XPG3] (NL_SETMAX): Likewise.
831 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
832 [XPG3] (NZERO): Likewise.
833 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
834 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
835 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
836 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
837 (REG_ERANGE): Expect.
838 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
839 optional-constant.
840 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
841 Use (void) in prototype.
842 [POSIX] (*_t): Allow.
843 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
844 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
845 (WRDE_BADVAL): Expect.
846
5ba924e3
JM
847 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
848 expect.
849 [XPG3 || XPG4] (O_RSYNC): Likewise.
850 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
851 Likewise.
852 [XPG3 || XPG4] (pthread_sigmask): Likewise.
853 [XPG3 || XPG4] (sigqueue): Likewise.
854 [XPG3 || XPG4] (sigtimedwait): Likewise.
855 [XPG3 || XPG4] (sigwaitinfo): Likewise.
856 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
857 [XPG3 || XPG4] (vsnprintf): Likewise.
858 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
859 Likewise.
860 [XPG3 || XPG4] (blksize_t): Likewise.
861 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
862 Likewise.
863 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
864 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
865 [XPG3 || XPG4] (struct itimerspec): Likewise.
866 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
867 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
868 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
869 [XPG3 || XPG4] (clockid_t): Likewise.
870 [XPG3 || XPG4] (timer_t): Likewise.
871 [XPG3 || XPG4] (clock_getres): Likewise.
872 [XPG3 || XPG4] (clock_gettime): Likewise.
873 [XPG3 || XPG4] (clock_settime): Likewise.
874 [XPG3 || XPG4] (nanosleep): Likewise.
875 [XPG3 || XPG4] (timer_create): Likewise.
876 [XPG3 || XPG4] (timer_delete): Likewise.
877 [XPG3 || XPG4] (timer_gettime): Likewise.
878 [XPG3 || XPG4] (timer_getoverrun): Likewise.
879 [XPG3 || XPG4] (timer_settime): Likewise.
880 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
881 [XPG3 || XPG4] (getlogin_r): Likewise.
882 [XPG3 || XPG4] (pread): Likewise.
883 [XPG3 || XPG4] (pthread_atfork): Likewise.
884 [XPG3 || XPG4] (pwrite): Likewise.
885
ee663277
JM
886 [BZ #14835]
887 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
888 <bits/siginfo.h>.
889
942caa16
PT
8902012-11-19 Pino Toscano <toscano.pino@tiscali.it>
891
e19af380
PT
892 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
893 finalizing MALLSTREAM.
894
942caa16
PT
895 * sysdeps/mach/hurd/syncfs.c: New file.
896
cfde9b46
SP
8972012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
898
899 [BZ #14719]
900 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
901 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
902 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
903 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
904 (_nss_dns_gethostbyname4_r): Likewise.
905 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
906 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
907
f6da27e5
PH
9082012-11-19 Peng Haitao <penght@cn.fujitsu.com>
909
910 [BZ #13763]
911 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
912
6665d4a2
SM
9132012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
914
1f51ee92
SM
915 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
916 * elf/cache.c (print_entry): Print ",AArch64" for
917 FLAG_AARCH64_LIB64
918
6665d4a2
SM
919 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
920 * elf/cache.c (print_entry): Print ",hard-float" for
921 FLAG_ARM_LIBHF.
922
05b227bd
DM
9232012-11-18 David S. Miller <davem@davemloft.net>
924
925 With help from Joseph Myers.
926 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
927 cutoff to 2**-13.
928 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
929 cutoff to 2**-25.
930 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
931 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
932 small.
933 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
934 * math/libm-test.inc (y0_test): New tests.
935 (y1_test): New tests.
936 * sysdeps/i386/fpu/libm-test-ulps: Update.
937 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
939
786b0b67
AS
9402012-11-18 Andreas Schwab <schwab@linux-m68k.org>
941
942 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
943 64-bit targets.
944 * configure: Regenerated.
945
8e18b86d
DM
9462012-11-17 David S. Miller <davem@davemloft.net>
947
948 [BZ #14811]
949 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
950 nonzero exponents with absolute value below 0x1p-128 to +/-
951 0x1p-128.
952
531f1ae0
JM
9532012-11-17 Joseph Myers <joseph@codesourcery.com>
954
12df29e2
JM
955 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
956
150dc1a0
JM
957 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
958
531f1ae0
JM
959 * posix/getconf-speclist.c: New file.
960 * posix/posix-envs.def: Likewise.
961 * posix/confstr.c (START_ENV_GROUP): New macro.
962 (END_ENV_GROUP): Likewise.
963 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
964 (KNOWN_PRESENT_ENV_STRING): Likewise.
965 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
966 (UNKNOWN_ENVIRONMENT): Likewise.
967 (confstr): Include posix-envs.def instead of handling
968 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
969 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
970 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
971 (END_ENV_GROUP): Likewise.
972 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
973 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
974 (UNKNOWN_ENVIRONMENT): Likewise.
975 (__sysconf): Include posix-envs.def instead of handling associated
976 cases directly here.
977 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
978 preprocessing getconf-speclist.c rather than running getconf or
979 generating empty file.
980
a93f9cbc
PT
9812012-11-16 Pino Toscano <toscano.pino@tiscali.it>
982
983 * scripts/check-local-headers.sh: Ignore 'mach' headers.
984
d64d9f87
AL
9852012-11-16 Andrej Lajovic <natrij@gmail.com>
986
987 [BZ #14672]
988 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
989
447885eb
DM
9902012-11-16 David S. Miller <davem@davemloft.net>
991
992 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
993 smaller than LDBL_EPSILON/2.0L, just return xm1.
994
bcbf9830
L
9952012-11-16 H.J. Lu <hongjiu.lu@intel.com>
996
997 * elf/tst-array1.c (init): Set constructor priority to 1000.
998 (fini): Set destructor priority to 1000.
999 * elf/tst-array2dep.c: Likewise.
1000
2b766585
SP
10012012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1002
1003 [BZ #11741]
1004 * libio/fileops.c (_IO_new_file_write): Correctly return error.
1005 (_IO_new_file_xsputn): Also return EOF if none of the input
1006 data was written when overflow failed.
1007 * libio/iopadn.c (_IO_padn): Likewise.
1008 * libio/iowpadn.c (_IO_wpadn): Likewise.
1009 * stdio-common/tst-put-error.c: Add copyright notice.
1010 (do_test): Add case for printing padded string.
1011 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1012 _IO_padn returned error.
1013 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1014 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1015 return EOF.
1016
b1848fde
SP
10172012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1018
1019 * libio/libioP.h: Add comment note that the references to C++
1020 bits are now obsolete.
1021
2fd89785
MS
10222012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1023
1024 * math/libm-test.inc (check_complex): Use asprintf.
1025
e3ea5409
JM
10262012-11-14 Joseph Myers <joseph@codesourcery.com>
1027
1028 * debug/pcprofiledump.c (print_version): Update copyright year.
1029 * malloc/memusagestat.c (print_version): Likewise.
1030
2e64d265
L
10312012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1032
1033 [BZ #14831]
1034 * elf/Makefile (tests): Add tst-audit8.
1035 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1036 ($(objpfx)tst-audit8.out): New target.
1037 (tst-audit8-ENV): New variable.
1038 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1039 audit if l_reloc_result is NULL.
1040 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1041 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1042 * elf/tst-audit8.c: New file.
1043
c485e4d2
MS
10442012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1045
1046 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1047 * misc/Makefile (CFLAGS-select.c): Define.
1048 * posix/Makefile (CFLAGS-pause.c): Define.
1049
3a0d900a
DM
10502012-11-13 David S. Miller <davem@davemloft.net>
1051
1052 * crypt/Makefile: Move test targets after toplevel Rules
1053 inclusion. Grab any necessary sysdep routines when linking.
1054 * crypt/md5.c (md5_process_block): Remove define, we will always
1055 name it __md5_process_block.
1056 (md5_finish_ctx): Update md5_process_block call.
1057 (md5_stream): Likewise.
1058 (md5_process_bytes): Likewise.
1059 (md5_process_block): Rename to __md5_process_block and move to ...
1060 * crypt/md5-block.c: ... here.
1061 * crypt/sha256.c (sha256_process_block): Move to ...
1062 * crypt/sha256-block.c: ... here.
1063 * crypt/sha512.c (sha512_process_block): Move to ...
1064 * crypt/sha512-block.c: ... here.
1065 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1066 path.
1067 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1068 * sysdeps/sparc/sparc64/multiarch/Makefile
1069 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1070 crypt subdir.
1071 (localedef-aux): Add md5 crypto assembler when in locale subdir.
1072 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1073 multiarch changes.
1074 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1075 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1076 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1077 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1078 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1079 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1080 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1081 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1082 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1083 file.
1084 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1085 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1086 file.
1087 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1088
8ca89318
JM
10892012-11-13 Joseph Myers <joseph@codesourcery.com>
1090
e27d476a
JM
1091 * timezone/tzselect.ksh: Update from tzcode git revision
1092 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1093 * timezone/zdump.c: Likewise.
1094 * timezone/zic.c: Likewise.
1095 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1096 in TZVERSION setting, not $(PKGVERSION).
1097 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
1098 REPORT_BUGS_TO settings.
1099
8ca89318
JM
1100 [BZ #14838]
1101 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1102 macro.
1103
47594329
MS
11042012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1105
1106 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1107 detection to immediately after _FP_ROUND().
1108 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1109 bits are 0.
1110
640ac3f1
DM
11112012-11-11 David S. Miller <davem@davemloft.net>
1112
1113 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1114 inttypes.h
1115 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1116 __close rather than their public counterparts.
1117
3d2577bb
JM
11182012-11-10 Joseph Myers <joseph@codesourcery.com>
1119
1120 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1121 file.
1122 [UNIX98] (sem_timedwait): Do not expect.
1123 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1124 [XPG4 || UNIX98] (sockatmark): Do not expect.
1125 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1126 (clock_getcpuclockid): Do not expect.
1127 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1128 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1129 Do not expect.
1130 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1131 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1132 [UNIX98] (vwscanf): Likewise.
1133 [UNIX98] (vswscanf): Likewise.
1134
fb1ae1ee
JM
11352012-11-09 Joseph Myers <joseph@codesourcery.com>
1136
9ec6f8bd
JM
1137 * timezone/version.h: Remove file.
1138 * timezone/README: Do not refer to version.h.
1139 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1140 $(objpfx)version.h.
1141 ($(objpfx)zdump.o): Likewise.
c3f81911 1142 ($(objpfx)version.h): New target.
9ec6f8bd 1143
0aa8f8a1
JM
1144 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1145 2012i.
1146 * timezone/README: Don't mention modification to tzselect.ksh.
1147 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1148 work on unmodified tzselect.ksh. Substitute version numbers in
1149 tzselect.ksh.
1150
4e87147f
JM
1151 * Makefile (format-me): Remove.
1152 (INSTALL): Adjust indentation. Use commands directly instead of
1153 using $(format-me).
1154
8b748aed
JM
1155 * aclocal.m4 (ACX_PKGVERSION): New macro.
1156 (ACX_BUGURL): Likewise.
1157 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1158 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1159 (REPORT_BUGS_TO): Likewise.
1160 * configure: Regenerated.
1161 * config.h.in (PKGVERSION): New macro.
1162 (REPORT_BUGS_TO): Likewise.
1163 * config.make.in (PKGVERSION): New variable.
1164 (PKGVERSION_TEXI): Likewise.
1165 (REPORT_BUGS_TO): Likewise.
1166 (REPORT_BUGS_TEXI): Likewise.
1167 * Makefile (format-me): Use -I$(common-objpfx)manual.
1168 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1169 ($(common-objpfx)manual/%): New target.
1170 (manual/%): Remove target.
1171 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1172 (print_version): Use PKGVERSION.
1173 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1174 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1175 and REPORT_BUGS_TO.
1176 ($(objpfx)xtrace): Likewise.
1177 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1178 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1179 (print_version): Use PKGVERSION.
1180 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1181 (do_version): Use PKGVERSION.
1182 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1183 REPORT_BUGS_TO.
1184 (common-ldd-rewrite): Likewise.
1185 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1186 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1187 (print_version): Use PKGVERSION.
1188 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1189 * elf/pldd.c (argp_program_bug_address): Remove variable.
1190 (more_help): New function.
1191 (argp): Use more_help.
1192 (print_version): Use PKGVERSION.
1193 * elf/sln.c (main): Use PKGVERSION.
1194 (usage): Use REPORT_BUGS_TO.
1195 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1196 (top level): Use PKGVERSION.
1197 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1198 (print_version): Use PKGVERSION.
1199 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1200 (print_version): Use PKGVERSION.
1201 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1202 (print_version): Use PKGVERSION.
1203 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1204 (print_version): Use PKGVERSION.
1205 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1206 (print_version): Use PKGVERSION.
1207 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1208 (print_version): Use PKGVERSION.
1209 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1210 and BUGURL.
1211 ($(objpfx)memusage): Likewise.
1212 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1213 (do_version): Use PKGVERSION.
1214 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1215 (print_version): Use PKGVERSION.
1216 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1217 ($PKGVERSION): New variable.
1218 ($REPORT_BUGS_TO): Likewise.
1219 (usage): Use $REPORT_BUGS_TO.
1220 (top level): Use $PKGVERSION.
1221 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1222 ($(objpfx)pkgvers.texi): New rule.
1223 ($(objpfx)stamp-pkgvers): Likewise.
1224 * manual/install.texi: Include pkgvers.texi.
1225 (--with-pkgversion): Document new configure option.
1226 (--with-bugurl): Likewise.
1227 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1228 than necessarily for this particular distribution. Use
1229 REPORT_BUGS_TO for where to report bugs.
1230 * INSTALL: Regenerated.
1231 * manual/libc.texinfo: Include pkgvers.texi.
1232 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1233 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1234 (print_version): Use PKGVERSION.
1235 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1236 (print_version): Use PKGVERSION.
1237 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1238 (print_version): Use PKGVERSION.
1239 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1240 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1241 macro.
1242 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1243 (print_version): Use PKGVERSION.
1244 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1245 (print_version): Use PKGVERSION.
1246 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1247 and PKGVERSION.
1248
92e4b6a9
JM
1249 * timezone/checktab.awk: Update from tzcode 2012i.
1250 * timezone/ialloc.c: Likewise.
1251 * timezone/private.h: Likewise.
1252 * timezone/scheck.c: Likewise.
1253 * timezone/tzfile.h: Likewise.
1254 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1255 (TZVERSION): Hardcode tzcode version number.
1256 * timezone/zdump.c: Update from tzcode 2012i.
1257 * timezone/zic.c: Likewise.
1258 * timezone/version.h: New file.
1259 * timezone/README: Describe version.h. Update upstream location.
1260
9bde902c
JM
1261 [BZ #14824]
1262 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1263 (mktemp): Enable declaration.
1264 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1265 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1266 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1267 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1268 Likewise.
1269 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1270 Likewise.
1271 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1272 Likewise.
1273 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1274 Likewise.
1275 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1276 Likewise.
1277 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1278 Likewise.
1279
fb1ae1ee
JM
1280 [BZ #14821]
1281 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1282 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1283 for copies of such integer values.
1284 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1285 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1286
2c1adbcb
AJ
12872012-11-09 Andreas Jaeger <aj@suse.de>
1288
1289 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1290 definitions and declarations that are provided by
1291 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1292
d0f8457e
AK
12932012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1294
1295 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1296 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1297 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1298 definition.
1299
57241e26
MS
13002012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1301
1302 * elf/elf.h: Update comment before AArch64 relocations.
1303
60e8270d
DM
13042012-11-07 David S. Miller <davem@davemloft.net>
1305
1306 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1307 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1308 (__start_context): Declare.
1309 (__makecontext_ret): Delete.
1310 (__makecontext): Hook up __start_context instead of
1311 __makecontext_ret.
1312 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1313 (sysdep_routines): Add __start_context when in stdlib.
1314
0fbb0fbc
JM
13152012-11-07 Joseph Myers <joseph@codesourcery.com>
1316
1317 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1318 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1319 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1320 hardcoded "nm".
1321 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1322 (READELF): New variable. Use it instead of hardcoded "readelf".
1323
eb48db7e
L
13242012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1325
1326 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1327 * sysdeps/x86/Makefile: Here.
1328 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1329 * sysdeps/x86/tst-xmmymm.sh: This.
1330
05bcf62a
JM
13312012-11-07 Joseph Myers <joseph@codesourcery.com>
1332
c4b6cf53
JM
1333 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1334 expectations.
1335 [UNIX98] (pthread_barrier_t): Do not expect.
1336 [UNIX98] (pthread_barrierattr_t): Likewise.
1337 [UNIX98] (pthread_spinlock_t): Likewise.
1338 [UNIX98] (pthread_barrier_destroy): Likewise.
1339 [UNIX98] (pthread_barrier_init): Likewise.
1340 [UNIX98] (pthread_barrier_wait): Likewise.
1341 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1342 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1343 [UNIX98] (pthread_barrierattr_init): Likewise.
1344 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1345 [UNIX98] (pthread_getcpuclockid): Likewise.
1346 [UNIX98] (pthread_mutex_timedlock): Likewise.
1347 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1348 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1349 [UNIX98] (pthread_sigmask): Likewise.
1350 [UNIX98] (pthread_spin_destroy): Likewise.
1351 [UNIX98] (pthread_spin_init): Likewise.
1352 [UNIX98] (pthread_spin_lock): Likewise.
1353 [UNIX98] (pthread_spin_trylock): Likewise.
1354 [UNIX98] (pthread_spin_unlock): Likewise.
1355 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1356 Do not expect.
1357 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1358 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1359 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1360 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1361 [XPG3 || XPG4] (pthread_key_t): Likewise.
1362 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1363 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1364 [XPG3 || XPG4] (pthread_once_t): Likewise.
1365 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1366 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1367 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1368 [XPG3 || XPG4] (pthread_t): Likewise.
1369
cbe6e120
JM
1370 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1371 not expect.
1372 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1373
1b126443
JM
1374 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1375 Change function return type to int.
1376
b961a573
JM
1377 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1378 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1379 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1380 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1381 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1382 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1383 [!POSIX] (posix_madvise): Likewise.
1384 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1385 && !UNIX98].
1386 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1387 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1388 (mode_t): Likewise.
1389 (posix_mem_offset): Likewise.
1390 (posix_typed_mem_get_info): Likewise.
1391 (posix_typed_mem_open): Likewise.
1392
9e188909
JM
1393 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1394 Change condition to [XOPEN2K8].
1395
05bcf62a
JM
1396 * conform/conformtest.pl: Preprocess allow-header data with -x c
1397 instead of from stdin.
1398 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1399 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1400 [C99-based standards] (cerfc): Likewise.
1401 [C99-based standards] (cexp2): Likewise.
1402 [C99-based standards] (cexpm1): Likewise.
1403 [C99-based standards] (clog10): Likewise.
1404 [C99-based standards] (clog1p): Likewise.
1405 [C99-based standards] (clog2): Likewise.
1406 [C99-based standards] (clgamma): Likewise.
1407 [C99-based standards] (ctgamma): Likewise.
1408 [C99-based standards] (cerff): Likewise.
1409 [C99-based standards] (cerfcf): Likewise.
1410 [C99-based standards] (cexp2f): Likewise.
1411 [C99-based standards] (cexpm1f): Likewise.
1412 [C99-based standards] (clog10f): Likewise.
1413 [C99-based standards] (clog1pf): Likewise.
1414 [C99-based standards] (clog2f): Likewise.
1415 [C99-based standards] (clgammaf): Likewise.
1416 [C99-based standards] (ctgammaf): Likewise.
1417 [C99-based standards] (cerfl): Likewise.
1418 [C99-based standards] (cerfcl): Likewise.
1419 [C99-based standards] (cexp2l): Likewise.
1420 [C99-based standards] (cexpm1l): Likewise.
1421 [C99-based standards] (clog10l): Likewise.
1422 [C99-based standards] (clog1pl): Likewise.
1423 [C99-based standards] (clog2l): Likewise.
1424 [C99-based standards] (clgammal): Likewise.
1425 [C99-based standards] (ctgammal): Likewise.
1426 * conform/data/inttypes.h-data [C99-based standards]: Include
1427 stdint.h-data. Remove all expectations for stdint.h contents.
1428 [C99-based standards] (PRI*): Do not allow.
1429 [C99-based standards] (SCN*): Likewise.
1430 [C99-based standards] (*_t): Likewise.
1431 [C99-based-standards] (PRId8): Expect macro.
1432 [C99-based-standards] (PRIi8): Likewise.
1433 [C99-based-standards] (PRIo8): Likewise.
1434 [C99-based-standards] (PRIu8): Likewise.
1435 [C99-based-standards] (PRIx8): Likewise.
1436 [C99-based-standards] (PRIX8): Likewise.
1437 [C99-based-standards] (SCNd8): Likewise.
1438 [C99-based-standards] (SCNi8): Likewise.
1439 [C99-based-standards] (SCNo8): Likewise.
1440 [C99-based-standards] (SCNu8): Likewise.
1441 [C99-based-standards] (SCNx8): Likewise.
1442 [C99-based-standards] (PRIdLEAST8): Likewise.
1443 [C99-based-standards] (PRIiLEAST8): Likewise.
1444 [C99-based-standards] (PRIoLEAST8): Likewise.
1445 [C99-based-standards] (PRIuLEAST8): Likewise.
1446 [C99-based-standards] (PRIxLEAST8): Likewise.
1447 [C99-based-standards] (PRIXLEAST8): Likewise.
1448 [C99-based-standards] (SCNdLEAST8): Likewise.
1449 [C99-based-standards] (SCNiLEAST8): Likewise.
1450 [C99-based-standards] (SCNoLEAST8): Likewise.
1451 [C99-based-standards] (SCNuLEAST8): Likewise.
1452 [C99-based-standards] (SCNxLEAST8): Likewise.
1453 [C99-based-standards] (PRIdFAST8): Likewise.
1454 [C99-based-standards] (PRIiFAST8): Likewise.
1455 [C99-based-standards] (PRIoFAST8): Likewise.
1456 [C99-based-standards] (PRIuFAST8): Likewise.
1457 [C99-based-standards] (PRIxFAST8): Likewise.
1458 [C99-based-standards] (PRIXFAST8): Likewise.
1459 [C99-based-standards] (SCNdFAST8): Likewise.
1460 [C99-based-standards] (SCNiFAST8): Likewise.
1461 [C99-based-standards] (SCNoFAST8): Likewise.
1462 [C99-based-standards] (SCNuFAST8): Likewise.
1463 [C99-based-standards] (SCNxFAST8): Likewise.
1464 [C99-based-standards] (PRId16): Likewise.
1465 [C99-based-standards] (PRIi16): Likewise.
1466 [C99-based-standards] (PRIo16): Likewise.
1467 [C99-based-standards] (PRIu16): Likewise.
1468 [C99-based-standards] (PRIx16): Likewise.
1469 [C99-based-standards] (PRIX16): Likewise.
1470 [C99-based-standards] (SCNd16): Likewise.
1471 [C99-based-standards] (SCNi16): Likewise.
1472 [C99-based-standards] (SCNo16): Likewise.
1473 [C99-based-standards] (SCNu16): Likewise.
1474 [C99-based-standards] (SCNx16): Likewise.
1475 [C99-based-standards] (PRIdLEAST16): Likewise.
1476 [C99-based-standards] (PRIiLEAST16): Likewise.
1477 [C99-based-standards] (PRIoLEAST16): Likewise.
1478 [C99-based-standards] (PRIuLEAST16): Likewise.
1479 [C99-based-standards] (PRIxLEAST16): Likewise.
1480 [C99-based-standards] (PRIXLEAST16): Likewise.
1481 [C99-based-standards] (SCNdLEAST16): Likewise.
1482 [C99-based-standards] (SCNiLEAST16): Likewise.
1483 [C99-based-standards] (SCNoLEAST16): Likewise.
1484 [C99-based-standards] (SCNuLEAST16): Likewise.
1485 [C99-based-standards] (SCNxLEAST16): Likewise.
1486 [C99-based-standards] (PRIdFAST16): Likewise.
1487 [C99-based-standards] (PRIiFAST16): Likewise.
1488 [C99-based-standards] (PRIoFAST16): Likewise.
1489 [C99-based-standards] (PRIuFAST16): Likewise.
1490 [C99-based-standards] (PRIxFAST16): Likewise.
1491 [C99-based-standards] (PRIXFAST16): Likewise.
1492 [C99-based-standards] (SCNdFAST16): Likewise.
1493 [C99-based-standards] (SCNiFAST16): Likewise.
1494 [C99-based-standards] (SCNoFAST16): Likewise.
1495 [C99-based-standards] (SCNuFAST16): Likewise.
1496 [C99-based-standards] (SCNxFAST16): Likewise.
1497 [C99-based-standards] (PRId32): Likewise.
1498 [C99-based-standards] (PRIi32): Likewise.
1499 [C99-based-standards] (PRIo32): Likewise.
1500 [C99-based-standards] (PRIu32): Likewise.
1501 [C99-based-standards] (PRIx32): Likewise.
1502 [C99-based-standards] (PRIX32): Likewise.
1503 [C99-based-standards] (SCNd32): Likewise.
1504 [C99-based-standards] (SCNi32): Likewise.
1505 [C99-based-standards] (SCNo32): Likewise.
1506 [C99-based-standards] (SCNu32): Likewise.
1507 [C99-based-standards] (SCNx32): Likewise.
1508 [C99-based-standards] (PRIdLEAST32): Likewise.
1509 [C99-based-standards] (PRIiLEAST32): Likewise.
1510 [C99-based-standards] (PRIoLEAST32): Likewise.
1511 [C99-based-standards] (PRIuLEAST32): Likewise.
1512 [C99-based-standards] (PRIxLEAST32): Likewise.
1513 [C99-based-standards] (PRIXLEAST32): Likewise.
1514 [C99-based-standards] (SCNdLEAST32): Likewise.
1515 [C99-based-standards] (SCNiLEAST32): Likewise.
1516 [C99-based-standards] (SCNoLEAST32): Likewise.
1517 [C99-based-standards] (SCNuLEAST32): Likewise.
1518 [C99-based-standards] (SCNxLEAST32): Likewise.
1519 [C99-based-standards] (PRIdFAST32): Likewise.
1520 [C99-based-standards] (PRIiFAST32): Likewise.
1521 [C99-based-standards] (PRIoFAST32): Likewise.
1522 [C99-based-standards] (PRIuFAST32): Likewise.
1523 [C99-based-standards] (PRIxFAST32): Likewise.
1524 [C99-based-standards] (PRIXFAST32): Likewise.
1525 [C99-based-standards] (SCNdFAST32): Likewise.
1526 [C99-based-standards] (SCNiFAST32): Likewise.
1527 [C99-based-standards] (SCNoFAST32): Likewise.
1528 [C99-based-standards] (SCNuFAST32): Likewise.
1529 [C99-based-standards] (SCNxFAST32): Likewise.
1530 [C99-based-standards] (PRId64): Likewise.
1531 [C99-based-standards] (PRIi64): Likewise.
1532 [C99-based-standards] (PRIo64): Likewise.
1533 [C99-based-standards] (PRIu64): Likewise.
1534 [C99-based-standards] (PRIx64): Likewise.
1535 [C99-based-standards] (PRIX64): Likewise.
1536 [C99-based-standards] (SCNd64): Likewise.
1537 [C99-based-standards] (SCNi64): Likewise.
1538 [C99-based-standards] (SCNo64): Likewise.
1539 [C99-based-standards] (SCNu64): Likewise.
1540 [C99-based-standards] (SCNx64): Likewise.
1541 [C99-based-standards] (PRIdLEAST64): Likewise.
1542 [C99-based-standards] (PRIiLEAST64): Likewise.
1543 [C99-based-standards] (PRIoLEAST64): Likewise.
1544 [C99-based-standards] (PRIuLEAST64): Likewise.
1545 [C99-based-standards] (PRIxLEAST64): Likewise.
1546 [C99-based-standards] (PRIXLEAST64): Likewise.
1547 [C99-based-standards] (SCNdLEAST64): Likewise.
1548 [C99-based-standards] (SCNiLEAST64): Likewise.
1549 [C99-based-standards] (SCNoLEAST64): Likewise.
1550 [C99-based-standards] (SCNuLEAST64): Likewise.
1551 [C99-based-standards] (SCNxLEAST64): Likewise.
1552 [C99-based-standards] (PRIdFAST64): Likewise.
1553 [C99-based-standards] (PRIiFAST64): Likewise.
1554 [C99-based-standards] (PRIoFAST64): Likewise.
1555 [C99-based-standards] (PRIuFAST64): Likewise.
1556 [C99-based-standards] (PRIxFAST64): Likewise.
1557 [C99-based-standards] (PRIXFAST64): Likewise.
1558 [C99-based-standards] (SCNdFAST64): Likewise.
1559 [C99-based-standards] (SCNiFAST64): Likewise.
1560 [C99-based-standards] (SCNoFAST64): Likewise.
1561 [C99-based-standards] (SCNuFAST64): Likewise.
1562 [C99-based-standards] (SCNxFAST64): Likewise.
1563 [C99-based-standards] (PRIdMAX): Likewise.
1564 [C99-based-standards] (PRIiMAX): Likewise.
1565 [C99-based-standards] (PRIoMAX): Likewise.
1566 [C99-based-standards] (PRIuMAX): Likewise.
1567 [C99-based-standards] (PRIxMAX): Likewise.
1568 [C99-based-standards] (PRIXMAX): Likewise.
1569 [C99-based-standards] (SCNdMAX): Likewise.
1570 [C99-based-standards] (SCNiMAX): Likewise.
1571 [C99-based-standards] (SCNoMAX): Likewise.
1572 [C99-based-standards] (SCNuMAX): Likewise.
1573 [C99-based-standards] (SCNxMAX): Likewise.
1574 [C99-based-standards] (PRIdPTR): Likewise.
1575 [C99-based-standards] (PRIiPTR): Likewise.
1576 [C99-based-standards] (PRIoPTR): Likewise.
1577 [C99-based-standards] (PRIuPTR): Likewise.
1578 [C99-based-standards] (PRIxPTR): Likewise.
1579 [C99-based-standards] (PRIXPTR): Likewise.
1580 [C99-based-standards] (SCNdPTR): Likewise.
1581 [C99-based-standards] (SCNiPTR): Likewise.
1582 [C99-based-standards] (SCNoPTR): Likewise.
1583 [C99-based-standards] (SCNuPTR): Likewise.
1584 [C99-based-standards] (SCNxPTR): Likewise.
1585 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1586 allow.
1587 * conform/data/stdint.h-data: Update comments to clarify
1588 requirements.
1589 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1590 type.
1591 [C99-based standards] (INT8_MAX): Likewise.
1592 [C99-based standards] (INT16_MIN): Likewise.
1593 [C99-based standards] (INT16_MAX): Likewise.
1594 [C99-based standards] (INT32_MIN): Likewise.
1595 [C99-based standards] (INT32_MAX): Likewise.
1596 [C99-based standards] (INT64_MIN): Likewise.
1597 [C99-based standards] (INT64_MAX): Likewise.
1598 [C99-based standards] (UINT8_MAX): Likewise.
1599 [C99-based standards] (UINT16_MAX): Likewise.
1600 [C99-based standards] (UINT32_MAX): Likewise.
1601 [C99-based standards] (UINT64_MAX): Likewise.
1602 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1603 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1604 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1605 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1606 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1607 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1608 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1609 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1610 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1611 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1612 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1613 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1614 [C99-based standards] (INT_FAST8_MIN): Likewise.
1615 [C99-based standards] (INT_FAST8_MAX): Likewise.
1616 [C99-based standards] (INT_FAST16_MIN): Likewise.
1617 [C99-based standards] (INT_FAST16_MAX): Likewise.
1618 [C99-based standards] (INT_FAST32_MIN): Likewise.
1619 [C99-based standards] (INT_FAST32_MAX): Likewise.
1620 [C99-based standards] (INT_FAST64_MIN): Likewise.
1621 [C99-based standards] (INT_FAST64_MAX): Likewise.
1622 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1623 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1624 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1625 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1626 [C99-based standards] (INTPTR_MIN): Likewise.
1627 [C99-based standards] (INTPTR_MAX): Likewise.
1628 [C99-based standards] (UINTPTR_MAX): Likewise.
1629 [C99-based standards] (INTMAX_MIN): Likewise.
1630 [C99-based standards] (INTMAX_MAX): Likewise.
1631 [C99-based standards] (UINTMAX_MAX): Likewise.
1632 [C99-based standards] (PTRDIFF_MIN): Likewise.
1633 [C99-based standards] (PTRDIFF_MAX): Likewise.
1634 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1635 [C99-based standards] (SIZE_MAX): Likewise.
1636 [C99-based standards] (WCHAR_MAX): Likewise.
1637 [C99-based standards] (WINT_MAX): Likewise.
1638 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1639 constraint on value.
1640 [C99-based standards] (WCHAR_MIN): Likewise.
1641 [C99-based standards] (WINT_MIN): Likewise.
1642 [C99-based standards] (*_t): Allow.
1643 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1644 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1645 Include math.h-data and complex.h-data. Remove all expectations
1646 of math.h and complex.h contents.
1647 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1648 at end of line.
1649 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1650 (struct tm): Expect tag.
1651 [C99-based-standards] (wcstof): Expect function.
1652 [C99-based-standards] (wcstold): Likewise.
1653 [C99-based-standards] (wcstoll): Likewise.
1654 [C99-based-standards] (wcstoull): Likewise.
1655 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1656 macro-int-constant. Specify type.
1657 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1658 constraint on value.
1659 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1660 Specify type.
1661 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1662 Specify value.
1663 [ISO C standards]: Do not allow headers.
1664 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1665 wcs[abcdefghijklmnopqrstuvwxyz]*.
1666 [ISO C standards] (*_t): Do not allow.
1667 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1668 Expect function.
1669 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1670 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1671 Specify type.
1672 [ISO C standards]: Do not allow headers.
1673 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1674 is[abcdefghijklmnopqrstuvwxyz]*.
1675 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1676 to[abcdefghijklmnopqrstuvwxyz]*.
1677 [ISO C standards] (*_t): Do not allow.
1678 * conform/data/stdalign.h-data: New file.
1679 * conform/data/stdbool.h-data: Likewise.
1680 * conform/data/stdnoreturn.h-data: Likewise.
1681
7514feb8
RM
16822012-11-07 Roland McGrath <roland@hack.frob.com>
1683
1684 [BZ #14815]
1685 * manual/filesys.texi (Directory Entries): Typo fix.
1686 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1687
19b2ecfc
MS
16882012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1689
1690 * elf/elf.h (EM_AARCH64): New macro.
1691 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1692 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1693 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1694 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1695 (R_AARCH64_TLSDESC): Likewise.
1696 (NT_ARM_TLS): Likewise.
1697 (NT_ARM_HW_BREAK): Likewise.
1698 (NT_ARM_HW_WATCH): Likewise.
1699
60e235ee
JM
17002012-11-07 Joseph Myers <joseph@codesourcery.com>
1701
1702 [BZ #14811]
1703 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1704 (__ieee754_powl): Saturate nonzero exponents with absolute value
1705 below 0x1p-79 to +/- 0x1p-79.
1706 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1707 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1708 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1709 nonzero exponents with absolute value below 0x1p-32 to +/-
1710 0x1p-32.
1711 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1712 (__ieee754_powl): Saturate nonzero exponents with absolute value
1713 below 0x1p-79 to +/- 0x1p-79.
1714 * math/libm-test.inc (pow_test): Add more tests.
1715
0ab234b7
AK
17162012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1717
1718 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1719 _dl_s390_cap_flags with kernel. Increase string length.
1720 (_dl_s390_platforms): Add z196 and zEC12.
1721
45832f74
JM
17222012-11-07 Joseph Myers <joseph@codesourcery.com>
1723
1724 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1725 Change XOPEN21K to XOPEN2K.
1726
19218757
MK
17272012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1728
1729 * string/memmove.c: Use memcpy when possible.
1730
c5f45721
AJ
17312012-11-06 Andreas Jaeger <aj@suse.de>
1732
1733 * po/eo.po: Update from translation team.
1734
82477c28
JM
17352012-11-06 Joseph Myers <joseph@codesourcery.com>
1736
1737 [BZ #14793]
1738 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1739 exponent and small x and y exponents, scale x or y up. Increase
1740 by 2 the exponent used in scaling up.
1741 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1742 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1743 * math/libm-test.inc (fma_test): Add more tests.
1744 (fma_test_towardzero): Likewise.
1745 (fma_test_downward): Likewise.
1746 (fma_test_upward): Likewise.
1747
99252c8c
JM
17482012-11-05 Joseph Myers <joseph@codesourcery.com>
1749
acfa885f
JM
1750 [BZ #14805]
1751 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1752 fenv_t *.
1753
99252c8c
JM
1754 [BZ #14801]
1755 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1756 namespace for names of struct fields.
1757 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1758 fenv_t fields.
1759 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1760 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1761
d6d98dea
ST
17622012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1763
1764 [BZ #3665]
1765 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1766
e10bb107
TS
17672012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1768
1769 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1770 PTR_DEMANGLE.
1771
1772 [BZ #5246]
1773 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1774 PTR_DEMANGLE.
1775
a0c2940d
JM
17762012-11-04 Joseph Myers <joseph@codesourcery.com>
1777
1778 [BZ #14797]
1779 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1780 definitely overflow as x * y not x * y + z.
1781 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1782 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1783 * math/libm-test.inc (fma_test): Add more tests.
1784 (fma_test_towardzero): Likewise.
1785 (fma_test_downward): Likewise.
1786 (fma_test_upward): Likewise.
1787
b830319d
TS
17882012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1789
1790 [BZ #157]
1791
1792 * include/stub-tag.h: Remove file.
1793 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1794 '#include' of it.
1795 * manual/maint.texi (Porting): Don't reference it.
1796 * Makerules ($(objpfx)stubs): Likewise.
1797 * dirent/closedir.c: Don't include <stub-tag.h>.
1798 * dirent/dirfd.c: Likewise.
1799 * dirent/fdopendir.c: Likewise.
1800 * dirent/getdents.c: Likewise.
1801 * dirent/getdents64.c: Likewise.
1802 * dirent/opendir.c: Likewise.
1803 * dirent/readdir.c: Likewise.
1804 * dirent/readdir64.c: Likewise.
1805 * dirent/readdir64_r.c: Likewise.
1806 * dirent/readdir_r.c: Likewise.
1807 * dirent/rewinddir.c: Likewise.
1808 * dirent/seekdir.c: Likewise.
1809 * dirent/telldir.c: Likewise.
1810 * gmon/profil.c: Likewise.
1811 * grp/setgroups.c: Likewise.
1812 * inet/if_index.c: Likewise.
1813 * io/access.c: Likewise.
1814 * io/chdir.c: Likewise.
1815 * io/chmod.c: Likewise.
1816 * io/chown.c: Likewise.
1817 * io/close.c: Likewise.
1818 * io/dup.c: Likewise.
1819 * io/dup2.c: Likewise.
1820 * io/dup3.c: Likewise.
1821 * io/euidaccess.c: Likewise.
1822 * io/faccessat.c: Likewise.
1823 * io/fchdir.c: Likewise.
1824 * io/fchmod.c: Likewise.
1825 * io/fchmodat.c: Likewise.
1826 * io/fchown.c: Likewise.
1827 * io/fchownat.c: Likewise.
1828 * io/fcntl.c: Likewise.
1829 * io/flock.c: Likewise.
1830 * io/fstatfs.c: Likewise.
1831 * io/fstatfs64.c: Likewise.
1832 * io/fstatvfs.c: Likewise.
1833 * io/fstatvfs64.c: Likewise.
1834 * io/futimens.c: Likewise.
1835 * io/fxstat.c: Likewise.
1836 * io/fxstat64.c: Likewise.
1837 * io/fxstatat.c: Likewise.
1838 * io/fxstatat64.c: Likewise.
1839 * io/getcwd.c: Likewise.
1840 * io/isatty.c: Likewise.
1841 * io/lchmod.c: Likewise.
1842 * io/lchown.c: Likewise.
1843 * io/link.c: Likewise.
1844 * io/linkat.c: Likewise.
1845 * io/lseek.c: Likewise.
1846 * io/lseek64.c: Likewise.
1847 * io/lxstat64.c: Likewise.
1848 * io/mkdir.c: Likewise.
1849 * io/mkdirat.c: Likewise.
1850 * io/mkfifo.c: Likewise.
1851 * io/mkfifoat.c: Likewise.
1852 * io/open.c: Likewise.
1853 * io/open64.c: Likewise.
1854 * io/openat.c: Likewise.
1855 * io/openat64.c: Likewise.
1856 * io/pipe.c: Likewise.
1857 * io/pipe2.c: Likewise.
1858 * io/poll.c: Likewise.
1859 * io/posix_fadvise.c: Likewise.
1860 * io/posix_fadvise64.c: Likewise.
1861 * io/posix_fallocate.c: Likewise.
1862 * io/posix_fallocate64.c: Likewise.
1863 * io/read.c: Likewise.
1864 * io/readlink.c: Likewise.
1865 * io/readlinkat.c: Likewise.
1866 * io/rmdir.c: Likewise.
1867 * io/sendfile.c: Likewise.
1868 * io/sendfile64.c: Likewise.
1869 * io/statfs.c: Likewise.
1870 * io/statfs64.c: Likewise.
1871 * io/statvfs.c: Likewise.
1872 * io/statvfs64.c: Likewise.
1873 * io/symlink.c: Likewise.
1874 * io/symlinkat.c: Likewise.
1875 * io/ttyname.c: Likewise.
1876 * io/ttyname_r.c: Likewise.
1877 * io/umask.c: Likewise.
1878 * io/unlink.c: Likewise.
1879 * io/unlinkat.c: Likewise.
1880 * io/utime.c: Likewise.
1881 * io/utimensat.c: Likewise.
1882 * io/write.c: Likewise.
1883 * io/xmknod.c: Likewise.
1884 * io/xmknodat.c: Likewise.
1885 * io/xstat.c: Likewise.
1886 * io/xstat64.c: Likewise.
1887 * login/getpt.c: Likewise.
1888 * login/grantpt.c: Likewise.
1889 * login/unlockpt.c: Likewise.
1890 * math/e_acoshl.c: Likewise.
1891 * math/e_acosl.c: Likewise.
1892 * math/e_asinl.c: Likewise.
1893 * math/e_atan2l.c: Likewise.
1894 * math/e_atanhl.c: Likewise.
1895 * math/e_coshl.c: Likewise.
1896 * math/e_expl.c: Likewise.
1897 * math/e_fmodl.c: Likewise.
1898 * math/e_gammal_r.c: Likewise.
1899 * math/e_hypotl.c: Likewise.
1900 * math/e_j0l.c: Likewise.
1901 * math/e_j1l.c: Likewise.
1902 * math/e_jnl.c: Likewise.
1903 * math/e_lgammal_r.c: Likewise.
1904 * math/e_log10l.c: Likewise.
1905 * math/e_log2l.c: Likewise.
1906 * math/e_logl.c: Likewise.
1907 * math/e_powl.c: Likewise.
1908 * math/e_rem_pio2l.c: Likewise.
1909 * math/e_sinhl.c: Likewise.
1910 * math/e_sqrtl.c: Likewise.
1911 * math/fclrexcpt.c: Likewise.
1912 * math/fedisblxcpt.c: Likewise.
1913 * math/feenablxcpt.c: Likewise.
1914 * math/fegetenv.c: Likewise.
1915 * math/fegetexcept.c: Likewise.
1916 * math/fegetround.c: Likewise.
1917 * math/feholdexcpt.c: Likewise.
1918 * math/fesetenv.c: Likewise.
1919 * math/fesetround.c: Likewise.
1920 * math/feupdateenv.c: Likewise.
1921 * math/fgetexcptflg.c: Likewise.
1922 * math/fraiseexcpt.c: Likewise.
1923 * math/fsetexcptflg.c: Likewise.
1924 * math/ftestexcept.c: Likewise.
1925 * math/k_cosl.c: Likewise.
1926 * math/k_rem_pio2l.c: Likewise.
1927 * math/k_sinl.c: Likewise.
1928 * math/k_tanl.c: Likewise.
1929 * math/s_asinhl.c: Likewise.
1930 * math/s_atanl.c: Likewise.
1931 * math/s_cbrtl.c: Likewise.
1932 * math/s_erfl.c: Likewise.
1933 * math/s_expm1l.c: Likewise.
1934 * math/s_log1pl.c: Likewise.
1935 * math/s_tanhl.c: Likewise.
1936 * misc/acct.c: Likewise.
1937 * misc/brk.c: Likewise.
1938 * misc/chflags.c: Likewise.
1939 * misc/chroot.c: Likewise.
1940 * misc/fchflags.c: Likewise.
1941 * misc/fgetxattr.c: Likewise.
1942 * misc/flistxattr.c: Likewise.
1943 * misc/fremovexattr.c: Likewise.
1944 * misc/fsetxattr.c: Likewise.
1945 * misc/fsync.c: Likewise.
1946 * misc/ftruncate.c: Likewise.
1947 * misc/futimes.c: Likewise.
1948 * misc/futimesat.c: Likewise.
1949 * misc/getdomain.c: Likewise.
1950 * misc/getdtsz.c: Likewise.
1951 * misc/gethostid.c: Likewise.
1952 * misc/gethostname.c: Likewise.
1953 * misc/getloadavg.c: Likewise.
1954 * misc/getpagesize.c: Likewise.
1955 * misc/getsysstats.c: Likewise.
1956 * misc/getxattr.c: Likewise.
1957 * misc/gtty.c: Likewise.
1958 * misc/ioctl.c: Likewise.
1959 * misc/lgetxattr.c: Likewise.
1960 * misc/listxattr.c: Likewise.
1961 * misc/llistxattr.c: Likewise.
1962 * misc/lremovexattr.c: Likewise.
1963 * misc/lsetxattr.c: Likewise.
1964 * misc/lutimes.c: Likewise.
1965 * misc/madvise.c: Likewise.
1966 * misc/mincore.c: Likewise.
1967 * misc/mlock.c: Likewise.
1968 * misc/mlockall.c: Likewise.
1969 * misc/mmap.c: Likewise.
1970 * misc/mprotect.c: Likewise.
1971 * misc/msync.c: Likewise.
1972 * misc/munlock.c: Likewise.
1973 * misc/munlockall.c: Likewise.
1974 * misc/munmap.c: Likewise.
1975 * misc/preadv.c: Likewise.
1976 * misc/preadv64.c: Likewise.
1977 * misc/ptrace.c: Likewise.
1978 * misc/pwritev.c: Likewise.
1979 * misc/pwritev64.c: Likewise.
1980 * misc/readv.c: Likewise.
1981 * misc/reboot.c: Likewise.
1982 * misc/remap_file_pages.c: Likewise.
1983 * misc/removexattr.c: Likewise.
1984 * misc/revoke.c: Likewise.
1985 * misc/select.c: Likewise.
1986 * misc/setdomain.c: Likewise.
1987 * misc/setegid.c: Likewise.
1988 * misc/seteuid.c: Likewise.
1989 * misc/sethostid.c: Likewise.
1990 * misc/sethostname.c: Likewise.
1991 * misc/setregid.c: Likewise.
1992 * misc/setreuid.c: Likewise.
1993 * misc/setxattr.c: Likewise.
1994 * misc/sstk.c: Likewise.
1995 * misc/stty.c: Likewise.
1996 * misc/swapoff.c: Likewise.
1997 * misc/swapon.c: Likewise.
1998 * misc/sync.c: Likewise.
1999 * misc/syncfs.c: Likewise.
2000 * misc/syscall.c: Likewise.
2001 * misc/truncate.c: Likewise.
2002 * misc/ualarm.c: Likewise.
2003 * misc/usleep.c: Likewise.
2004 * misc/ustat.c: Likewise.
2005 * misc/utimes.c: Likewise.
2006 * misc/vhangup.c: Likewise.
2007 * misc/writev.c: Likewise.
2008 * posix/_exit.c: Likewise.
2009 * posix/alarm.c: Likewise.
2010 * posix/execve.c: Likewise.
2011 * posix/fexecve.c: Likewise.
2012 * posix/fork.c: Likewise.
2013 * posix/fpathconf.c: Likewise.
2014 * posix/getaddrinfo.c: Likewise.
2015 * posix/getegid.c: Likewise.
2016 * posix/geteuid.c: Likewise.
2017 * posix/getgid.c: Likewise.
2018 * posix/getgroups.c: Likewise.
2019 * posix/getlogin.c: Likewise.
2020 * posix/getlogin_r.c: Likewise.
2021 * posix/getpgid.c: Likewise.
2022 * posix/getpid.c: Likewise.
2023 * posix/getppid.c: Likewise.
2024 * posix/getresgid.c: Likewise.
2025 * posix/getresuid.c: Likewise.
2026 * posix/getsid.c: Likewise.
2027 * posix/getuid.c: Likewise.
2028 * posix/glob64.c: Likewise.
2029 * posix/nanosleep.c: Likewise.
2030 * posix/pathconf.c: Likewise.
2031 * posix/pause.c: Likewise.
2032 * posix/posix_madvise.c: Likewise.
2033 * posix/pread.c: Likewise.
2034 * posix/pread64.c: Likewise.
2035 * posix/pwrite.c: Likewise.
2036 * posix/pwrite64.c: Likewise.
2037 * posix/sched_getaffinity.c: Likewise.
2038 * posix/sched_getp.c: Likewise.
2039 * posix/sched_gets.c: Likewise.
2040 * posix/sched_primax.c: Likewise.
2041 * posix/sched_primin.c: Likewise.
2042 * posix/sched_rr_gi.c: Likewise.
2043 * posix/sched_setaffinity.c: Likewise.
2044 * posix/sched_setp.c: Likewise.
2045 * posix/sched_sets.c: Likewise.
2046 * posix/sched_yield.c: Likewise.
2047 * posix/setgid.c: Likewise.
2048 * posix/setlogin.c: Likewise.
2049 * posix/setpgid.c: Likewise.
2050 * posix/setresgid.c: Likewise.
2051 * posix/setresuid.c: Likewise.
2052 * posix/setsid.c: Likewise.
2053 * posix/setuid.c: Likewise.
2054 * posix/sleep.c: Likewise.
2055 * posix/spawni.c: Likewise.
2056 * posix/sysconf.c: Likewise.
2057 * posix/times.c: Likewise.
2058 * posix/wait.c: Likewise.
2059 * posix/wait3.c: Likewise.
2060 * posix/wait4.c: Likewise.
2061 * posix/waitpid.c: Likewise.
2062 * resolv/gai_sigqueue.c: Likewise.
2063 * resource/getpriority.c: Likewise.
2064 * resource/getrlimit.c: Likewise.
2065 * resource/getrusage.c: Likewise.
2066 * resource/nice.c: Likewise.
2067 * resource/setpriority.c: Likewise.
2068 * resource/setrlimit.c: Likewise.
2069 * resource/ulimit.c: Likewise.
2070 * rt/aio_cancel.c: Likewise.
2071 * rt/aio_fsync.c: Likewise.
2072 * rt/aio_read.c: Likewise.
2073 * rt/aio_sigqueue.c: Likewise.
2074 * rt/aio_suspend.c: Likewise.
2075 * rt/aio_write.c: Likewise.
2076 * rt/clock_getres.c: Likewise.
2077 * rt/clock_gettime.c: Likewise.
2078 * rt/clock_nanosleep.c: Likewise.
2079 * rt/clock_settime.c: Likewise.
2080 * rt/lio_listio.c: Likewise.
2081 * rt/mq_close.c: Likewise.
2082 * rt/mq_getattr.c: Likewise.
2083 * rt/mq_notify.c: Likewise.
2084 * rt/mq_open.c: Likewise.
2085 * rt/mq_receive.c: Likewise.
2086 * rt/mq_send.c: Likewise.
2087 * rt/mq_setattr.c: Likewise.
2088 * rt/mq_timedreceive.c: Likewise.
2089 * rt/mq_timedsend.c: Likewise.
2090 * rt/mq_unlink.c: Likewise.
2091 * rt/shm_open.c: Likewise.
2092 * rt/shm_unlink.c: Likewise.
2093 * rt/timer_create.c: Likewise.
2094 * rt/timer_delete.c: Likewise.
2095 * rt/timer_getoverr.c: Likewise.
2096 * rt/timer_gettime.c: Likewise.
2097 * rt/timer_settime.c: Likewise.
2098 * setjmp/__longjmp.c: Likewise.
2099 * setjmp/setjmp.c: Likewise.
2100 * signal/kill.c: Likewise.
2101 * signal/killpg.c: Likewise.
2102 * signal/raise.c: Likewise.
2103 * signal/sigaction.c: Likewise.
2104 * signal/sigaltstack.c: Likewise.
2105 * signal/sigblock.c: Likewise.
2106 * signal/sigignore.c: Likewise.
2107 * signal/sigintr.c: Likewise.
2108 * signal/signal.c: Likewise.
2109 * signal/sigpause.c: Likewise.
2110 * signal/sigpending.c: Likewise.
2111 * signal/sigqueue.c: Likewise.
2112 * signal/sigreturn.c: Likewise.
2113 * signal/sigset.c: Likewise.
2114 * signal/sigsetmask.c: Likewise.
2115 * signal/sigstack.c: Likewise.
2116 * signal/sigsuspend.c: Likewise.
2117 * signal/sigtimedwait.c: Likewise.
2118 * signal/sigvec.c: Likewise.
2119 * signal/sigwait.c: Likewise.
2120 * signal/sigwaitinfo.c: Likewise.
2121 * signal/sysv_signal.c: Likewise.
2122 * socket/accept.c: Likewise.
2123 * socket/accept4.c: Likewise.
2124 * socket/bind.c: Likewise.
2125 * socket/connect.c: Likewise.
2126 * socket/getpeername.c: Likewise.
2127 * socket/getsockname.c: Likewise.
2128 * socket/getsockopt.c: Likewise.
2129 * socket/isfdtype.c: Likewise.
2130 * socket/listen.c: Likewise.
2131 * socket/recv.c: Likewise.
2132 * socket/recvfrom.c: Likewise.
2133 * socket/recvmsg.c: Likewise.
2134 * socket/send.c: Likewise.
2135 * socket/sendmsg.c: Likewise.
2136 * socket/sendto.c: Likewise.
2137 * socket/setsockopt.c: Likewise.
2138 * socket/shutdown.c: Likewise.
2139 * socket/sockatmark.c: Likewise.
2140 * socket/socket.c: Likewise.
2141 * socket/socketpair.c: Likewise.
2142 * stdio-common/ctermid.c: Likewise.
2143 * stdio-common/cuserid.c: Likewise.
2144 * stdio-common/remove.c: Likewise.
2145 * stdio-common/rename.c: Likewise.
2146 * stdio-common/renameat.c: Likewise.
2147 * stdio-common/tempname.c: Likewise.
2148 * stdlib/getcontext.c: Likewise.
2149 * stdlib/makecontext.c: Likewise.
2150 * stdlib/setcontext.c: Likewise.
2151 * stdlib/swapcontext.c: Likewise.
2152 * stdlib/system.c: Likewise.
2153 * streams/fattach.c: Likewise.
2154 * streams/fdetach.c: Likewise.
2155 * streams/getmsg.c: Likewise.
2156 * streams/getpmsg.c: Likewise.
2157 * streams/putmsg.c: Likewise.
2158 * streams/putpmsg.c: Likewise.
2159 * sysdeps/unix/bsd/getpt.c: Likewise.
2160 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2161 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2162 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2164 Likewise.
2165 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2166 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2167 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2168 * sysvipc/msgctl.c: Likewise.
2169 * sysvipc/msgget.c: Likewise.
2170 * sysvipc/msgrcv.c: Likewise.
2171 * sysvipc/msgsnd.c: Likewise.
2172 * sysvipc/semctl.c: Likewise.
2173 * sysvipc/semget.c: Likewise.
2174 * sysvipc/semop.c: Likewise.
2175 * sysvipc/semtimedop.c: Likewise.
2176 * sysvipc/shmat.c: Likewise.
2177 * sysvipc/shmctl.c: Likewise.
2178 * sysvipc/shmdt.c: Likewise.
2179 * sysvipc/shmget.c: Likewise.
2180 * termios/tcdrain.c: Likewise.
2181 * termios/tcflow.c: Likewise.
2182 * termios/tcflush.c: Likewise.
2183 * termios/tcgetattr.c: Likewise.
2184 * termios/tcgetpgrp.c: Likewise.
2185 * termios/tcsendbrk.c: Likewise.
2186 * termios/tcsetattr.c: Likewise.
2187 * termios/tcsetpgrp.c: Likewise.
2188 * time/adjtime.c: Likewise.
2189 * time/clock.c: Likewise.
2190 * time/getitimer.c: Likewise.
2191 * time/gettimeofday.c: Likewise.
2192 * time/setitimer.c: Likewise.
2193 * time/settimeofday.c: Likewise.
2194 * time/stime.c: Likewise.
2195 * time/time.c: Likewise.
2196
21972012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 2198
a20492cf
PT
2199 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2200 /usr/old/bin.
2201
72e182e3
PT
2202 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2203 instead of spaces.
2204 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2205
fbeafede
JM
22062012-11-03 Joseph Myers <joseph@codesourcery.com>
2207
5b5b04d6
JM
2208 [BZ #14796]
2209 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2210 FE_TONEAREST before applying Dekker multiplication and Knuth
2211 addition. Clear inexact exceptions and check for exact zero
2212 results afterwards.
2213 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2214 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2215 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2216 * math/libm-test.inc (fma_test): Add more tests.
2217 (fma_test_towardzero): Likewise.
2218 (fma_test_downward): Likewise.
2219 (fma_test_upward): Likewise.
2220 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2221 function.
2222 (libc_fesetround): New macro.
2223 (libc_fesetroundf): Likewise.
2224 (libc_fesetroundl): Likewise.
2225 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2226 function.
2227 (libc_fesetround_387): Likewise.
2228 (libc_fesetroundf): New macro.
2229 (libc_fesetround): Likewise.
2230 (libc_fesetroundl): Likewise.
2231 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2232 function.
2233 (libc_fesetroundf): New macro.
2234 (libc_fesetround): Likewise.
2235 (libc_fesetroundl): Likewise.
2236 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2237 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2238 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2239 libm_hidden_ver.
2240 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2241 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2242 libm_hidden_def.
2243 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2244 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2245 libm_hidden_ver.
2246 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2247 libm_hidden_def.
2248
fbeafede
JM
2249 [BZ #3439]
2250 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2251 integer constant usable in #if and use that to give value to enum
2252 constant.
2253 (FE_DIVBYZERO): Likewise.
2254 (FE_UNDERFLOW): Likewise.
2255 (FE_OVERFLOW): Likewise.
2256 (FE_INVALID): Likewise.
2257 (FE_INVALID_SNAN): Likewise.
2258 (FE_INVALID_ISI): Likewise.
2259 (FE_INVALID_IDI): Likewise.
2260 (FE_INVALID_ZDZ): Likewise.
2261 (FE_INVALID_IMZ): Likewise.
2262 (FE_INVALID_COMPARE): Likewise.
2263 (FE_INVALID_SOFTWARE): Likewise.
2264 (FE_INVALID_SQRT): Likewise.
2265 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2266 (FE_TONEAREST): Likewise.
2267 (FE_TOWARDZERO): Likewise.
2268 (FE_UPWARD): Likewise.
2269 (FE_DOWNWARD): Likewise.
2270 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2271 (FE_DIVBYZERO): Likewise.
2272 (FE_OVERFLOW): Likewise.
2273 (FE_UNDERFLOW): Likewise.
2274 (FE_INEXACT): Likewise.
2275 (FE_TONEAREST): Likewise.
2276 (FE_DOWNWARD): Likewise.
2277 (FE_UPWARD): Likewise.
2278 (FE_TOWARDZERO): Likewise.
2279 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2280 (FE_UNDERFLOW): Likewise.
2281 (FE_OVERFLOW): Likewise.
2282 (FE_DIVBYZERO): Likewise.
2283 (FE_INVALID): Likewise.
2284 (FE_TONEAREST): Likewise.
2285 (FE_TOWARDZERO): Likewise.
2286 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2287 (FE_OVERFLOW): Likewise.
2288 (FE_UNDERFLOW): Likewise.
2289 (FE_DIVBYZERO): Likewise.
2290 (FE_INEXACT): Likewise.
2291 (FE_TONEAREST): Likewise.
2292 (FE_TOWARDZERO): Likewise.
2293 (FE_UPWARD): Likewise.
2294 (FE_DOWNWARD): Likewise.
2295 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2296 (FE_DIVBYZERO): Likewise.
2297 (FE_OVERFLOW): Likewise.
2298 (FE_UNDERFLOW): Likewise.
2299 (FE_INEXACT): Likewise.
2300 (FE_TONEAREST): Likewise.
2301 (FE_DOWNWARD): Likewise.
2302 (FE_UPWARD): Likewise.
2303 (FE_TOWARDZERO): Likewise.
2304
105ca950
CM
23052012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2306
2307 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2308
a542b389
AS
23092012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2310
2311 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2312 commands. Quote $PWD.
2313 (blacklist_exports): Don't use remove_newlines. Replace "declare
2314 -x" by "export".
2315 (remove_newlines): Remove.
2316
f62c8abc
L
23172012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2318
2319 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2320 * stdlib/stdlib.h (atof): Moved to ...
2321 * include/bits/stdlib-float.h: Here. New file.
2322 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2323 * stdlib/bits/stdlib-float.h: New file.
2324 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2325 -mno-sse -mno-mmx.
2326 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2327 <xmmintrin.h>.
2328
0155d5b2
JM
23292012-11-02 Joseph Myers <joseph@codesourcery.com>
2330
a68d0680
JM
2331 * conform/conformtest.pl (@headers): Add fenv.h.
2332 * conform/data/fenv.h-data: New file.
2333 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2334 include of <math/fenv.h>.
2335
caf7f573
JM
2336 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2337 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2338 && !UNIX98]. Enables tests for XOPEN2K8.
2339 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2340 POSIX2008]: Likewise.
2341
6c073ad6
JM
2342 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2343 (struct rusage): Do not expect type or its members.
2344
0155d5b2
JM
2345 [BZ #3439]
2346 * math/math.h (FP_NAN): Define macro to integer constant usable in
2347 #if and use that to give value to enum constant.
2348 (FP_INFINITE): Likewise.
2349 (FP_ZERO): Likewise.
2350 (FP_SUBNORMAL): Likewise.
2351 (FP_NORMAL): Likewise.
2352
b5dcacb4
AS
23532012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2354
2355 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2356 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2357 arguments.
2358
f7934be8
RM
23592012-11-02 Roland McGrath <roland@hack.frob.com>
2360
2361 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2362 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2363 autoconf-time if not.
2364 * configure.in: Remove AC_PREREQ.
2365
d7d08bde
TMQMF
23662012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2367
2368 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2369 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2370 of the internal implementation.
2371
dcdae19a
JM
23722012-11-02 Joseph Myers <joseph@codesourcery.com>
2373
2374 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2375 except include of <misc/sys/syslog.h>.
2376
d6cffd3e
AS
23772012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2378
2379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2380 function returns with a NULL context exit with zero.
2381
b3563932
TMQMF
23822012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2383
2384 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2385
b288a93d
L
23862012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2387
2388 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2389 (run_program_cmd): This.
2390 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2391 (tst_langinfo): New variable. Use it.
2392
a2421a68
SAS
23932012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2394
2395 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2396 floating point opcodes.
2397
6f796e1b
TS
23982012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2399
7402596b
TS
2400 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2401 variable.
2402
d0d4f868
TS
2403 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2404
6f796e1b
TS
2405 * sysdeps/mach/hurd/powerpc: Remove directory.
2406 * sysdeps/mach/powerpc: Likewise.
2407
4da224a2
AS
24082012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2409
2410 * scripts/check-local-headers.sh: Ignore c++ headers.
2411
341dd673
TS
24122012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2413
2414 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2415 __libc_cleanup_region_start argument.
2416
473611b2
JM
24172012-11-01 Joseph Myers <joseph@codesourcery.com>
2418
2419 [BZ #14784]
2420 [BZ #14785]
2421 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2422 x * y using scaling, not as x * y + z.
2423 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2424 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2425 * math/libm-test.inc (fma_test): Add more tests.
2426 (fma_test_towardzero): Likewise.
2427 (fma_test_downward): Likewise.
2428 (fma_test_upward): Likewise.
2429
4078da3d
TS
24302012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2431
2432 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2433
903252aa
JM
24342012-10-31 Joseph Myers <joseph@codesourcery.com>
2435
2436 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2437 New variable.
2438
cbc818d0
TS
24392012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2440
2441 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2442
5a03cb1e
AS
24432012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2444
2445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2446 Fix sort order.
2447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2448 Likewise.
2449
90aff2ff
TMQMF
24502012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2451
2452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2453 Fix the order of the list for glibc 2.17.
2454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2455 Likewise.
2456
1818fcb7
AS
24572012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2458
2459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2460
ef82f4da
JM
24612012-10-31 Joseph Myers <joseph@codesourcery.com>
2462
16a0e2ec
JM
2463 [BZ #14610]
2464 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2465 for low part of x being zero before using __atanl (y).
2466 * math/libm-test.inc (atan2_test): Add another test.
2467
0eb69512
JM
2468 * manual/install.texi (Configuring and compiling): Document
2469 general use of test-wrapper and test-wrapper-env.
2470 * INSTALL: Regenerated.
2471
ef82f4da
JM
2472 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2473 (__fma): Do not extract and scale down low bits on after-rounding
2474 systems when result rounded to normal precision would have normal
2475 exponent.
2476 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2477 (__fmal): Do not extract and scale down low bits on after-rounding
2478 systems when result rounded to normal precision would have normal
2479 exponent.
2480 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2481 (__fmal): Do not extract and scale down low bits on after-rounding
2482 systems when result rounded to normal precision would have normal
2483 exponent.
2484 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2485 macro.
2486 (fma_test): Add more tests.
2487 (fma_test_towardzero): Likewise.
2488 (fma_test_downward): Likewise.
2489 (fma_test_upward): Likewise.
2490
954ef0d9
L
24912012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2492
2493 * sysdeps/i386/tininess.h: Renamed to ...
2494 * sysdeps/x86/tininess.h: This.
2495 * sysdeps/x86_64/tininess.h: Removed.
2496
df61ffb2
JM
24972012-10-30 Joseph Myers <joseph@codesourcery.com>
2498
2499 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2500 input. Use $(build-program-cmd).
2501 ($(objpfx)tst-array1-static.out): Likewise.
2502 ($(objpfx)tst-array2.out): Likewise.
2503 ($(objpfx)tst-array3.out): Likewise.
2504 ($(objpfx)tst-array4.out): Likewise.
2505 ($(objpfx)tst-array5.out): Likewise.
2506 ($(objpfx)tst-array5-static.out): Likewise.
2507
01767843
CM
25082012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2509
47cc1490
CM
2510 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2511 if defined.
2512
01767843
CM
2513 * nss/nsswitch.h (nss_interface_function): Provide new
2514 macro for use with NSS functions.
2515 * grp/initgroups.c: Use new macro.
2516 * nss/getXXbyYY.c: Likewise.
2517 * nss/getXXbyYY_r.c: Likewise.
2518 * nss/getXXent.c: Likewise.
2519 * nss/getXXent_r.c: Likewise.
2520 * sysdeps/posix/getaddrinfo.c: Likewise.
2521
8321aa97
AJ
25222012-10-30 Andreas Jaeger <aj@suse.de>
2523
2524 * po/ru.po: Update Russion translation from translation project.
2525
2a27fd6d
JM
25262012-10-30 Joseph Myers <joseph@codesourcery.com>
2527
8627a232
JM
2528 [BZ #14152]
2529 [BZ #14783]
2530 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2531 result and shift together with sticky bit instead of replicating
2532 round-to-nearest rounding.
2533 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2534 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2535 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2536 missing underflow exceptions.
2537 (fma_test_towardzero): Add more tests.
2538 (fma_test_downward): Likewise.
2539 (fma_test_upward): Likewise.
2540
2a27fd6d
JM
2541 [BZ #14047]
2542 * sysdeps/generic/tininess.h: New file.
2543 * sysdeps/i386/tininess.h: Likewise.
2544 * sysdeps/sh/tininess.h: Likewise.
2545 * sysdeps/x86_64/tininess.h: Likewise.
2546 * stdlib/tst-strtod-underflow.c: Likewise.
2547 * stdlib/tst-tininess.c: Likewise.
2548 * stdlib/strtod_l.c: Include <tininess.h>.
2549 (round_and_return): Do not set errno for exact underflow cases.
2550 Force an underflow exception when setting errno for underflow.
2551 Determine underflow based on rounding to normal precision if
2552 TININESS_AFTER_ROUNDING.
2553 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2554 ERANGE for exact underflow cases.
2555 * stdlib/Makefile (tests): Add tst-tininess and
2556 tst-strtod-underflow.
2557 ($(objpfx)tst-tininess): Use $(link-libm).
2558 ($(objpfx)tst-strtod-underflow): Likewise.
2559
e7170363
AJ
25602012-10-30 Andreas Jaeger <aj@suse.de>
2561
e5088dc6
AJ
2562 [BZ#14767]
2563 * elf/Makefile (tests): Remove conditional for have-initfini-array
2564 since this is now always required and the variable does not exist
2565 anymore.
2566 (tests-static): Likewise.
2567 (modules-names): Likewise.
2568
e7170363 2569 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
2570
2571 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2572 merged with constructor/destructor.
2573 (init_array): Likewise.
2574 * elf/tst-array2dep.c (fini_array): Likewise.
2575 (init_array): Likewise.
2576
60457d8a
MF
25772012-10-29 Mike Frysinger <vapier@gentoo.org>
2578
2579 * manual/message.texi: Delete @cartouche tags.
2580
8bece752
PT
25812012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2582
94ce799f
PT
2583 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2584 EOPNOTSUPP.
2585 * sysdeps/mach/hurd/fsync.c: Likewise.
2586
8bece752
PT
2587 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2588 [_POSIX_REALTIME_SIGNALS]: Change condition to
2589 [_POSIX_REALTIME_SIGNALS > 0].
2590
86ebe6b1
AJ
25912012-10-27 Andreas Jaeger <aj@suse.de>
2592
2593 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2594 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2595 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2596 [__WORDSIZE != 64]: Likewise.
2597
54399c08
L
25982012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2599
2600 * iconvdata/tst-table.sh: Remove ${SHELL}.
2601 * iconvdata/tst-tables.sh: Likewise.
2602
e2211bed
DM
26032012-10-25 David S. Miller <davem@davemloft.net>
2604
2605 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2606 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2607 of strtoull.
2608
f303f97c
DM
2609 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2610 ifunc-impl-list.c
2611 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2612 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2613 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2614 file.
2615
1e9d84cd
RM
26162012-10-25 Roland McGrath <roland@hack.frob.com>
2617
2618 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2619 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2620 __getdirentries.
2621
df381762
JM
26222012-10-25 Joseph Myers <joseph@codesourcery.com>
2623 Jim Blandy <jimb@codesourcery.com>
2624
2625 * scripts/cross-test-ssh.sh: New file.
2626 * manual/install.texi (Configuring and compiling): Document use of
2627 cross-test-ssh.sh.
2628 * INSTALL: Regenerated.
2629
bff64913
PT
26302012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2631
2632 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2633 EOPNOTSUPP.
2634
25fe8932
JM
26352012-10-25 Joseph Myers <joseph@codesourcery.com>
2636
2637 * Makeconfig (run-program-prefix): Fix comment.
2638
cc1290d0
JM
26392012-10-24 Joseph Myers <joseph@codesourcery.com>
2640 Jim Blandy <jimb@codesourcery.com>
2641
2642 * Makeconfig (test-wrapper): New variable,
2643 (test-wrapper-env): Likewise.
2644 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2645 (run-built-tests): Define to yes.
2646 (run-program-prefix): Use $(test-wrapper).
2647 (built-program-cmd): Likewise.
2648 * Rules (make-test-out): Use $(test-wrapper-env) and
2649 $(host-built-program-cmd).
2650 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2651 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2652 tst-pathopt.sh.
2653 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2654 $(test-wrapper-env) to tst-rtld-load-self.sh.
2655 ($(objpfx)order2.out): Use $(test-wrapper).
2656 ($(objpfx)tst-initorder.out): Likewise.
2657 ($(objpfx)tst-initorder2.out): Likewise.
2658 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2659 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2660 (test_wrapper_env): New variable. Use it to run ld.so.
2661 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2662 Use it to run ld.so.
2663 (test_wrapper_env): Likewise.
2664 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2665 $(test-wrapper) to run-iconv-test.sh.
2666 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2667 (ICONV): Use $test_wrapper.
2668 * posix/Makefile ($(objpfx)globtest.out): Pass
2669 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2670 globtest.sh, not $(run-program-prefix).
2671 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2672 (test_wrapper): Likewise.
2673 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2674 set together with run_via_rtld_prefix.
2675 (run_program_prefix): Define in terms of test_wrapper and
2676 run_via_rtld_prefix.
2677
6e6249d0
RM
26782012-10-24 Roland McGrath <roland@hack.frob.com>
2679
2680 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2681 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2682 Targets removed.
2683
2684 [BZ #14743]
2685 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2686 Declare __clock_getres, __clock_gettime, __clock_settime,
2687 __clock_nanosleep, and __clock_getcpuclockid.
2688 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2689 Remove librt_hidden_def (clock_gettime).
2690 * sysdeps/unix/clock_gettime.c: Likewise.
2691 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2692 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2693 * rt/clock_getres.c: Define __clock_getres as an alias.
2694 * sysdeps/posix/clock_getres.c: Likewise.
2695 * rt/clock_settime.c: Define __clock_settime as an alias.
2696 * sysdeps/unix/clock_settime.c: Likewise.
2697 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2698 * sysdeps/unix/clock_nanosleep.c: Likewise.
2699 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2700 * rt/clock-compat.c: New file.
2701 * rt/Makefile (librt-routines): Add clock-compat and move
2702 $(clock-routines) to ...
2703 (routines): ... here, new variable.
2704 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2705 Don't add get_clockfreq here.
2706 * rt/Versions (libc: GLIBC_2.17): New version set.
2707 Add clock_* symbols here.
2708 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2709 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2710 (GLIBC_2.17): Add clock_* symbols.
2711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2712 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2713 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2715 Likewise.
2716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2717 Likewise.
2718 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2719 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2722 * NEWS: Mention the move.
2723
2724 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2725 Use __open, __read, __close rather than their public counterparts.
2726 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2727 (__get_clockfreq_via_cpuinfo): Likewise.
2728 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2729 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2730
2731 * config.h.in (HAVE_IFUNC): New #undef.
2732 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2733 was successful.
2734 * configure: Regenerated.
2735
0cae3f4b
MF
27362012-10-24 Mike Frysinger <vapier@gentoo.org>
2737
2738 * configure.in: Move READELF check to start of file.
2739 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2740 libc_cv_asm_gnu_indirect_function in the process.
2741 * configure: Regenerated.
2742
8175a253
MF
27432012-10-24 Mike Frysinger <vapier@gentoo.org>
2744
2745 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2746 send the output to /dev/null.
2747 (libc_cv_cc_with_libunwind): Likewise.
2748 (libc_cv_as_noexecstack): Likewise.
2749 * configure: Regenerate.
2750
0708a7d1
JM
27512012-10-24 Joseph Myers <joseph@codesourcery.com>
2752
10b40d85
JM
2753 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2754
0708a7d1
JM
2755 * posix/globtest.sh (TMPDIR): Do not set.
2756 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2757 (testout): Likewise.
2758
9fddec1a
AJ
27592012-10-24 Andreas Jaeger <aj@suse.de>
2760
3a8db22f
AJ
2761 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2762 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2763 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2764 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2765 posix_fadvise64, posix_fallocate64.
2766
9fddec1a
AJ
2767 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2768 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2769 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2770 Likewise.
2771 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2772 Likewise.
2773 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2774
2775 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2776 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2777 <bits/fcntl-linux.h>.
2778 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2779
2780 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2781 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2782 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2783 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2784 [__WORDSIZE != 64]: Likewise.
2785
ebfd1bbd
JM
27862012-10-23 Joseph Myers <joseph@codesourcery.com>
2787
03ac099f
JM
2788 * Makeconfig (run-built-tests): New variable.
2789 * Rules [$(cross-compiling) = yes]: Change condition to
2790 [$(run-built-tests) = no].
2791 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2792 to [$(run-built-tests) = yes].
2793 * elf/Makefile [$(cross-compiling) = no]: Likewise
2794 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2795 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2796 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2797 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2798 * io/Makefile [$(cross-compiling) = no]: Likewise.
2799 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2800 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2801 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2802 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2803 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2804 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2805 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2806 * string/Makefile [$(cross-compiling) = no]: Likewise.
2807
ebfd1bbd
JM
2808 * posix/Makefile ($(objpfx)globtest.out): Pass
2809 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2810 $(rtld-installed-name).
2811 * posix/globtest.sh (elf_objpfx): Remove variable.
2812 (rtld_installed_name): Likewise.
2813 (library_path): Likewise.
2814 (run_program_prefix): New variable. Use for running globtest
2815 binary.
2816
166bca24
JB
28172012-10-23 Jim Blandy <jimb@codesourcery.com>
2818 Joseph Myers <joseph@codesourcery.com>
2819
2820 * Makeconfig (host-built-program-cmd): New variable.
2821 * elf/Makefile (tst-stackguard1-ARGS): Use
2822 $(host-built-program-cmd).
2823 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2824 (tst-spawn-ARGS): Likewise.
2825 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2826
88866099
JM
28272012-10-23 Joseph Myers <joseph@codesourcery.com>
2828 Jim Blandy <jimb@codesourcery.com>
2829
2830 * Makeconfig (run-via-rtld-prefix): New variable.
2831 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2832 (built-program-cmd): Likewise.
2833
b4b4c296
AJ
28342012-10-22 Andreas Jaeger <aj@suse.de>
2835
2836 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2837 __O_RSYNC if it exists, otherwise to O_SYNC.
2838
6fb54a22
JB
28392012-10-22 Jim Blandy <jimb@codesourcery.com>
2840 Joseph Myers <joseph@codesourcery.com>
2841
2842 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2843 /dev/null.
2844 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2845 from /dev/null
2846 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2847 /dev/null.
2848
481b90b9
AJ
28492012-10-22 Andreas Jaeger <aj@suse.de>
2850
2a0e2669
AJ
2851 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2852 Define always.
2853 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2854
76e38f9a
AJ
2855 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2856 bits/fcntl-linux.h.
2857
7cd37b43
AJ
2858 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2859 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2860
481b90b9
AJ
2861 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2862 to __O_LARGEFILE.
2863 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2864 to __O_LARGEFILE.
2865
aba75984
JB
28662012-10-21 Jim Blandy <jimb@codesourcery.com>
2867 Joseph Myers <joseph@codesourcery.com>
2868
2869 * config.make.in (NM): New variable.
2870
88d4247f
AJ
28712012-10-21 Andreas Jaeger <aj@suse.de>
2872
2873 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2874 definitions and declarations that are provided by
2875 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2876
f2eed205
L
28772012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2878
2879 [BZ #14683]
2880 * elf/Makefile (tests-static): Add tst-leaks1-static.
2881 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2882 ($(objpfx)tst-leaks1-static): New rule.
2883 ($(objpfx)tst-leaks1-static-mem): Likewise.
2884 (tst-leaks1-static-ENV): New macro.
2885 * elf/dl-open.c (dl_open_worker): Check the main application
2886 only if SHARED is defined.
2887 * elf/tst-leaks1-static.c: New file.
2888
335e6931
AJ
28892012-10-20 Andreas Jaeger <aj@suse.de>
2890
2891 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2892 generic values for Linux.
2893 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2894 and declarations that are provided by <bits/fcntl-linux.h> and
2895 include <bits/fcntl-linux.h>.
2896 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2897 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2898
ac5c94d3
RM
28992012-10-20 Roland McGrath <roland@hack.frob.com>
2900
2901 * io/fcntl.h: Move include of <bits/types.h> to the top and
2902 include it unconditionally.
2903
de54b33a
L
29042012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2905
228cfb01
L
2906 * wcsmbs/Makefile (tests-ifunc): New variable.
2907 (tests): Add $(tests-ifunc).
2908 * wcsmbs/test-wcschr-ifunc.c: New file.
2909 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2910 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2911 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2912 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2913 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2914
69f07e5f
L
2915 * string/Makefile (tests-ifunc): New variable.
2916 (tests): Add $(tests-ifunc).
2917 * string/test-memccpy.c (TEST_NAME): New macro.
2918 * string/test-memchr.c (TEST_NAME): Likewise.
2919 * string/test-memcmp.c (TEST_NAME): Likewise.
2920 * string/test-memcpy.c (TEST_NAME): Likewise.
2921 * string/test-memmem.c (TEST_NAME): Likewise.
2922 * string/test-memmove.c (TEST_NAME): Likewise.
2923 * string/test-memset.c (TEST_NAME): Likewise.
2924 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2925 * string/test-stpcpy.c (TEST_NAME): Likewise.
2926 * string/test-stpncpy.c (TEST_NAME): Likewise.
2927 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2928 * string/test-strcasestr.c (TEST_NAME): Likewise.
2929 * string/test-strcat.c (TEST_NAME): Likewise.
2930 * string/test-strchr.c (TEST_NAME): Likewise.
2931 * string/test-strcmp.c(TEST_NAME): Likewise.
2932 * string/test-strcpy.c (TEST_NAME): Likewise.
2933 * string/test-strcspn.c (TEST_NAME): Likewise.
2934 * string/test-strlen.c (TEST_NAME): Likewise.
2935 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2936 * string/test-strncmp.c (TEST_NAME): Likewise.
2937 * string/test-strncpy.c (TEST_NAME): Likewise.
2938 * string/test-strnlen.c (TEST_NAME): Likewise.
2939 * string/test-strpbrk.c (TEST_NAME): Likewise.
2940 * string/test-strrchr.c (TEST_NAME): Likewise.
2941 * string/test-strspn.c (TEST_NAME): Likewise.
2942 * string/test-strstr.c (TEST_NAME): Likewise.
2943 * string/test-bcopy-ifunc.c: New file.
2944 * string/test-bzero-ifunc.c: Likewise.
2945 * string/test-memccpy-ifunc.c: Likewise.
2946 * string/test-memchr-ifunc.c: Likewise.
2947 * string/test-memcmp-ifunc.c: Likewise.
2948 * string/test-memcpy-ifunc.c: Likewise.
2949 * string/test-memmem-ifunc.c: Likewise.
2950 * string/test-memmove-ifunc.c: Likewise.
2951 * string/test-mempcpy-ifunc.c: Likewise.
2952 * string/test-memset-ifunc.c: Likewise.
2953 * string/test-rawmemchr-ifunc.c: Likewise.
2954 * string/test-stpcpy-ifunc.c: Likewise.
2955 * string/test-stpncpy-ifunc.c: Likewise.
2956 * string/test-strcasecmp-ifunc.c: Likewise.
2957 * string/test-strcasestr-ifunc.c: Likewise.
2958 * string/test-strcat-ifunc.c: Likewise.
2959 * string/test-strchr-ifunc.c: Likewise.
2960 * string/test-strchrnul-ifunc.c: Likewise.
2961 * string/test-strcmp-ifunc.c: Likewise.
2962 * string/test-strcpy-ifunc.c: Likewise.
2963 * string/test-strcspn-ifunc.c: Likewise.
2964 * string/test-strlen-ifunc.c: Likewise.
2965 * string/test-strncasecmp-ifunc.c: Likewise.
2966 * string/test-strncat-ifunc.c: Likewise.
2967 * string/test-strncmp-ifunc.c: Likewise.
2968 * string/test-strncpy-ifunc.c: Likewise.
2969 * string/test-strnlen-ifunc.c: Likewise.
2970 * string/test-strpbrk-ifunc.c: Likewise.
2971 * string/test-strrchr-ifunc.c: Likewise.
2972 * string/test-strspn-ifunc.c: Likewise.
2973 * string/test-strstr-ifunc.c: Likewise.
2974
de54b33a
L
2975 * debug/Makefile (tests-ifunc): New variable.
2976 (tests): Add $(tests-ifunc).
2977 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2978 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2979 * debug/test-stpcpy_chk-ifunc.c: New file.
2980 * debug/test-strcpy_chk-ifunc.c: Likewise.
2981
88481c16
SP
29822012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2983
2984 [BZ #13601]
2985 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2986 header is not read in.
2987
135948bd
JM
29882012-10-19 Joseph Myers <joseph@codesourcery.com>
2989
89f1c388
JM
2990 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2991 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2992 directly. Pass built executable to script as
2993 $(built-program-cmd).
2994 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2995 $testprogram without using LD_LIBRARY_PATH and $ldso.
2996
e40a0d21
JM
2997 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2998 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2999 $(rtld-installed-name).
3000 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3001 (rtld_installed_name): Likewise.
3002 (library_path): Likewise.
3003 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
3004 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3005 $(run-program-prefix) to tst-tables.sh.
3006 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
3007 it to run tst-table-from and tst-table-to.
3008 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3009 Pass it to tst-table.sh.
3010 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3011 $(run-program-prefix) to tst-gettext.sh.
3012 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3013 tst-translit.sh.
3014 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3015 tst-gettext2.sh.
3016 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
3017 to run tst-gettext.
3018 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
3019 to run tst-gettext2.
3020 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
3021 to run tst-translit.
3022 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3023 $(run-program-prefix) to tst-mtrace.sh.
3024 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
3025 to run tst-mtrace.
3026 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3027 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3028 $(rtld-installed-name).
3029 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3030 (rtld_installed_name): Likewise.
3031 (run_program_prefix): New variable. Use it to run wordexp-test.
3032
728e272a
JM
3033 * Makeconfig (ARCH): Remove all definitions.
3034 (machine): Likewise.
3035 [ARCH]: Remove conditional code.
3036 [!objdir]: Give error.
3037 [!objdir] (objpfx): Remove.
3038 [!objdir] (common-objpfx): Likewise.
3039 [!objdir] (common-objdir): Likewise.
3040 * configure.in (config_makefile): Remove. Hardcode Makefile in
3041 AC_CONFIG_FILES call.
3042 * configure: Regenerated.
3043
d528cdcf
JM
3044 [BZ #13888]
3045 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3046 or TMPDIR.
3047 (testout): Likewise.
3048
135948bd
JM
3049 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3050 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3051 $(rtld-installed-name).
3052 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3053 (rtld_installed_name): Likwise.
3054 (runit): Remove function.
3055 (run_getconf): New variable, Use it for running getconf binary.
3056
38c78296
L
30572012-10-18 H.J. Lu <hongjiu.lu@intel.com>
3058
3059 [BZ #14716]
3060 * string/test-memmem.c (check_result): New function.
3061 (do_one_test): Use it.
3062 (check1): New function.
3063 (test_main): Use it.
3064
d077f65f
MT
30652012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
3066
3067 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3068
ced52c71
JM
30692012-10-18 Joseph Myers <joseph@codesourcery.com>
3070
3071 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3072 (_G_LSEEK64): Likewise.
3073 (_G_MMAP64): Likewise.
3074 (_G_FSTAT64): Likewise.
3075 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3076 (_G_LSEEK64): Likewise.
3077 (_G_MMAP64): Likewise.
3078 (_G_FSTAT64): Likewise.
3079 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3080 unconditional. Call __mmap64 directly.
3081 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3082 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
3083 __lseek64 directly.
3084 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3085 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
3086 __mmap64 directly.
3087 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3088 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
3089 __lseek64 directly.
3090 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3091 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
3092 __lseek64 directly.
3093 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3094 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
3095 __lseek64 directly.
3096 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3097 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
3098 __fxstat64 directly.
3099 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3100 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3101 unconditional.
3102 (freopen64) [!_G_OPEN64]: Remove conditional code.
3103 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3104 unconditional.
3105 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3106 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3107 unconditional.
3108 (ftello64) [!_G_LSEEK64]: Remove conditional code.
3109 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3110 unconditional.
3111 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3112 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3113 unconditional.
3114 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3115 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3116 unconditional.
3117 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3118 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3119 unconditional.
3120 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3121 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3122 unconditional.
3123 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3124
b741de23
SP
31252012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3126
3127 [BZ #12140]
3128 * manual/memory.texi (Malloc Tunable Parameters): Add note
3129 about free list pointers overwriting some perturb bytes.
3130 Wording suggested by Roland McGrath.
3131
f9b9d9c9
JM
31322012-10-17 Joseph Myers <joseph@codesourcery.com>
3133
3134 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3135 (lgamma_test): Likewise.
3136 (tgamma_test): Likewise.
3137
172a631a
FW
31382012-10-16 Florian Weimer <fweimer@redhat.com>
3139
3140 [BZ #14700]
3141 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3142 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3143
e9f37252
MK
31442012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3145
3146 * NEWS: Mention BZ #14716.
3147 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3148 when removing AVAILABLE1_USES_J macro.
3149
d394eb74
L
31502012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3151
3152 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3153 (__bswap_64): __uint64_t for unsigned 64-bit int.
3154
ca38dc17
AS
31552012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3156
3157 * include/string.h (memmem): Declare libc hidden alias.
3158 * string/memmem.c (memmem): Define libc hidden alias.
3159 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3160 __read, __close instead of open, read, close.
3161
9a387d1f
L
31622012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3163
ac49ecaf
L
3164 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3165 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3166 global and hidden.
3167 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3168 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3169 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3170 Likewise.
3171 (__rawmemchr_sse2): Likewise.
3172 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3173 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3174 (__strchr_sse2): Likewise.
3175 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3176 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3177 (__strcasecmp_sse2): Likewise.
3178 (__strncasecmp_sse2): Likewise.
3179 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3180 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3181 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3182 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3183 (__strrchr_sse2): Likewise.
3184 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3185 ifunc-impl-list.c.
3186 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3187 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3188 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3189 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3190 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3191 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3192 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3193 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3194 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3195 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3196 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3197 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3198 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3199 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3200 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3201 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3202 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3203 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3204 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3205 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3206 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3207 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3208 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3209 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3210 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3211 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3212 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3213 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3214 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3215 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3216
b090e8ea
L
3217 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3218 global and hidden.
3219 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3220 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3221 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3222 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3223 Likewise.
3224 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3225 Likewise.
3226 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3227 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3228 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3229 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3230 ifunc-impl-list.c.
3231 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3232 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3233 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3234 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3235 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3236 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3237 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3238 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3239 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3240 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3241 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3242 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3243 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3244 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3245 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3246 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3247 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3248 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3249 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3250 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3251 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3252 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3253 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3254 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3255 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3256 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3257 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3258 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3259 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3260 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3261 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3262 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3263 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3264 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3265 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3266 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3267 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3268 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3269 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3270 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3271 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3272
11dd4af6
L
3273 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3274 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3275 * include/ifunc-impl-list.h: New file.
3276 * misc/ifunc-impl-list.c: Likewise.
3277 * misc/Makefile (routines): Add ifunc-impl-list.
3278 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3279 * string/test-string.h: Include <ifunc-impl-list.h>.
3280 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3281 impl_array): New variables.
3282 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3283 are defined.
3284 (test_init): Call __libc_ifunc_impl_list to initialize
3285 func_list if TEST_IFUNC and TEST_NAME are defined.
3286
9a387d1f
L
3287 * string/Makefile (strop-tests): Add bcopy and bzero.
3288 * string/test-bcopy.c: New file.
3289 * string/test-bzero.c: Likewise.
3290 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3291 defined.
3292 * string/test-memset.c: Support bzero test if TEST_BZERO is
3293 defined.
3294 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3295 __libc_memmove.
3296 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3297 __libc_memset.
3298 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3299 of memset.
3300
472371b9
JM
33012012-10-10 Joseph Myers <joseph@codesourcery.com>
3302
1e4a9536
JM
3303 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3304 * configure: Regenerated.
3305
d173d12e
JM
3306 * Makeconfig (+link-static-before-libc): Don't include
3307 $(link-static-libc).
3308
472371b9
JM
3309 * libio/libio.h (_IO_pos_t): Remove.
3310
89a3ad0b
AO
33112012-10-10 Alexandre Oliva <aoliva@redhat.com>
3312
3313 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3314 McGrath.
3315
e7451425
AO
33162012-10-10 Alexandre Oliva <aoliva@redhat.com>
3317
3318 * crypt/crypt-entry.c: Include fips-private.h.
3319 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3320 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3321 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3322 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3323
4ba74a35
AO
33242012-10-10 Alexandre Oliva <aoliva@redhat.com>
3325
3326 * crypt/crypt-private.h: Include stdbool.h.
3327 (_ufc_setup_salt_r): Return bool.
3328 * crypt/crypt-entry.c: Include errno.h.
3329 (__crypt_r): Return NULL with EINVAL for bad salt.
3330 * crypt/crypt_util.c (bad_for_salt): New.
3331 (_ufc_setup_salt_r): Check that salt is long enough and within
3332 the specified alphabet.
3333 * crypt/badsalttest.c: New file.
3334 * crypt/Makefile (tests): Add it.
3335 ($(objpfx)badsalttest): New.
3336
f96f1242
MK
33372012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3338
3339 * NEWS: Add entry for BZ #14602.
3340
0e8e0c1c
JM
33412012-10-09 Joseph Myers <joseph@codesourcery.com>
3342
3343 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3344 type-generic.
3345 * math/libm-test.inc: Update comment listing what functions and
3346 macros are tested.
3347 (isgreater_test): New function.
3348 (isgreaterequal_test): Likewise.
3349 (isless_test): Likewise.
3350 (islessequal_test): Likewise.
3351 (islessgreater_test): Likewise.
3352 (isunordered_test): Likewise.
3353 (main): Call the new functions.
3354
273edc5e
RM
33552012-10-09 Roland McGrath <roland@hack.frob.com>
3356
b8493de0
RM
3357 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3358 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3359 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3360 * sysdeps/i386/configure: Regenerated.
3361 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3362 * sysdeps/mach/configure: Regenerated.
3363 * sysdeps/mach/hurd/configure: Regenerated.
3364 * sysdeps/powerpc/configure: Regenerated.
3365 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3366 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3367 * sysdeps/s390/s390-32/configure: Regenerated.
3368 * sysdeps/s390/s390-64/configure: Regenerated.
3369 * sysdeps/sh/configure: Regenerated.
3370 * sysdeps/sparc/configure: Regenerated.
3371 * sysdeps/unix/sysv/linux/configure: Regenerated.
3372 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3373 * sysdeps/x86_64/configure: Regenerated.
3374
273edc5e
RM
3375 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3376 defined. Don't check if MAP is NULL.
3377
c8450f70
JM
33782012-10-09 Joseph Myers <joseph@codesourcery.com>
3379
3380 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3381 (_G_stat64): Likewise.
3382 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3383 (_G_stat64): Likewise.
3384 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3385 instead of struct _G_stat64.
3386 * libio/fileops.c (mmap_remap_check): Likewise.
3387 (decide_maybe_mmap): Likewise.
3388 (_IO_new_file_seekoff): Likewise.
3389 (_IO_file_stat): Likewise.
3390 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3391 _G_off64_t.
3392 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3393 instead of struct _G_stat64.
3394 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3395
57e605ba
MK
33962012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3397
3398 [BZ #14602]
3399 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3400 Replace with ...
3401 (CHECK_EOL): New macro.
3402 (two_way_short_needle): Check beginning of haystack for EOL. Use
3403 CHECK_EOL.
3404 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3405 Replace with CHECK_EOL.
3406 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3407 Replace with CHECK_EOL.
3408
ef1bb361
JM
34092012-10-08 Joseph Myers <joseph@codesourcery.com>
3410
3411 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3412 type-generic.
3413 * math/libm-test.inc: Update comment listing what functions and
3414 macros are tested.
3415 (finite_test): New function.
3416 (isinf_test): Likewise.
3417 (isnan_test): Likewise.
3418 (fpclassify_test): Test subnormal input.
3419 (isfinite_test): Likewise.
3420 (isnormal_test): Likewise.
3421 (main): Call the new functions.
3422
55f11534
JN
34232012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3424
3425 [BZ #14660]
3426 * Makerules (%.dynsym): Force C locale when running
3427 $(OBJDUMP) --dynamic-syms.
3428
1ab29350
AS
34292012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3430
3431 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3432 <stdint.h>.
3433
f1ecb7ef
DM
34342012-10-06 David S. Miller <davem@davemloft.net>
3435
3436 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3437 upper 32-bits of the length value in %o2 since we use branch-on-register
3438 tests which consider the entire 64-bit register.
3439
5d41d91a
L
34402012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3441
3442 * string/test-strstr.c (check2): Add a test for page boundary.
3443
3baddb72
DM
34442012-10-05 David S. Miller <davem@davemloft.net>
3445
3446 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3447 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3448 file.
3449 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3450 sysdep_routines.
3451 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3452 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3453 and bzero when HWCAP_SPARC_CRYPTO is present.
3454
9cee5585
L
34552012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3456
d7e0dab9
L
3457 [BZ #14602]
3458 * string/test-strstr.c (check2): New function.
3459 (test_main): Call check2.
3460
03759f47
L
3461 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3462 and bug-strchr1.
3463 * string/bug-strcasestr1.c (do_test): Moved to ...
3464 * string/test-strcasestr.c (check1): Here. New function.
3465 (do_one_test): Break out result checking code into ...
3466 (check_result): This. New function.
3467 (do_one_test): Call check_result.
3468 (test_main): Call check1.
3469 * string/bug-strchr1.c (do_test): Moved to ...
3470 * string/test-strchr.c (check1): Here. New function.
3471 (do_one_test): Break out result checking code into ...
3472 (check_result): This. New function.
3473 (do_one_test): Call check_result.
3474 (test_main): Call check1.
3475 * string/bug-strstr1.c (main): Moved to ...
3476 * string/test-strchr.c (check1): Here. New function.
3477 (do_one_test): Break out result checking code into ...
3478 (check_result): This. New function.
3479 (do_one_test): Call check_result.
3480 (test_main): Call check1.
3481 * string/bug-strcasestr1.c: Removed.
3482 * string/bug-strchr1.c: Likewise.
3483 * string/bug-strstr1.c: Likewise.
3484
53cea63e
L
3485 * elf/Makefile (dl-routines): Add hwcaps.
3486 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3487 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3488 (_dl_important_hwcaps): Moved to ...
3489 * elf/dl-hwcaps.c: Here. New file.
3490 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3491
9cee5585 3492 [BZ #14557]
bb859b06
L
3493 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3494 if IS_IN_rtld isn't defined.
3495
9cee5585
L
3496 * elf/dl-support.c (_dl_sysinfo_map): New.
3497 Include "get-dynamic-info.h" and "setup-vdso.h".
3498 (_dl_non_dynamic_init): Call setup_vdso.
3499 * elf/dynamic-link.h: Don't include <assert.h>.
3500 (elf_get_dynamic_info): Moved to ...
3501 * elf/get-dynamic-info.h: Here. New file.
3502 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3503 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3504 * elf/setup-vdso.h: Here. New file.
3505 * elf/rtld.c: Include "setup-vdso.h".
3506 (dl_main): Call setup_vdso.
3507
23c31b76
JM
35082012-10-05 Joseph Myers <joseph@codesourcery.com>
3509
28234b07
JM
3510 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3511 creal in comment listing functions tested. List finite, isinf,
3512 isnan, isless, islessequal, isgreater, isgreaterequal,
3513 islessgreater, isunordered, lgamma_r and pow10 as functions and
3514 macros not tested. Mention which functions not tested are aliases
3515 for other functions. Fix typo. Note that signs of NaNs are not
3516 tested.
3517
23c31b76
JM
3518 * scripts/config.guess: Update from config.git.
3519 * scripts/config.sub: Likewise.
3520
9043e228
RM
35212012-10-04 Roland McGrath <roland@hack.frob.com>
3522
3523 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3524 * misc/madvise.c (madvise): Renamed to __madvise.
3525 Make madvise a weak alias.
3526 * include/sys/mman.h: Declare __madvise.
3527 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3528 * sysdeps/unix/syscalls.list
3529 (madvise): Make __madvise the strong name, and madvise a weak alias.
3530 * sysdeps/unix/sysv/linux/syscalls.list
3531 (madvise, mmap): Remove redundant entries.
3532 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3533 * malloc/malloc.c (mtrim): Likewise.
3534 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3535
f57f8055
RM
35362012-10-03 Roland McGrath <roland@hack.frob.com>
3537
3538 * sysdeps/mach/hurd/dl-cache.c: File removed.
3539 * config.h.in (USE_LDCONFIG): New #undef.
3540 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3541 * configure: Regenerated.
3542 * elf/Makefile (dl-routines): Add dl-cache only under
3543 [$(use-ldconfig) = yes].
3544 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3545 cache on [USE_LDCONFIG].
3546 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3547 [USE_LDCONFIG].
3548 * elf/rtld.c (dl_main): Likewise.
3549
5bb0c10a
PT
35502012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3551
3552 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3553 _SC_LEVEL4_CACHE_LINESIZE.
3554
010188c6
RM
35552012-10-03 Roland McGrath <roland@hack.frob.com>
3556
3557 * sysdeps/unix/bsd/confstr.h: File removed.
3558
b6c5ec07
AO
35592012-10-02 Alexandre Oliva <aoliva@redhat.com>
3560
3561 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3562 sys/sdt-config.h.
3563
408223d4
RM
35642012-10-02 Roland McGrath <roland@hack.frob.com>
3565
3566 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3567 Make 'mapoff' field ElfW(Off) rather than off_t.
3568
bb9510dc
DL
35692012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3570
fc997c6e
DL
3571 * nscd/Makefile: Remove nscd-cflags and all its users.
3572 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3573 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3574
bb9510dc
DL
3575 [BZ #10631]
3576 * malloc.c (malloc_printerr): Clarify error message.
3577
05699367
L
35782012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3579
3580 [BZ #14648]
3581 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3582 Set bit_FMA_Usable if FMA is supported.
3583 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3584 macro.
3585 (bit_FMA4_Usable): Updated.
3586 (index_FMA_Usable): New macro.
3587 (CPUID_FMA): Likewise
3588 (HAS_FMA): Defined with bit_FMA_Usable.
3589
51367701
RM
35902012-10-01 Roland McGrath <roland@hack.frob.com>
3591
3592 * bits/types.h (__swblk_t): Type removed.
3593 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3594 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3595 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3596 (__SWBLK_T_TYPE): Likewise.
3597 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3598 (__SWBLK_T_TYPE): Likewise.
3599 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3600 (__SWBLK_T_TYPE): Likewise.
3601 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3602 (__SWBLK_T_TYPE): Likewise.
3603
4d57bf63 36042012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 3605 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
3606
3607 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3608 (xdr_mapname): Use YPMAXMAP as maxsize.
3609 (xdr_peername): Use YPMAXPEER as maxsize.
3610 (xdr_keydat): Use YPAXRECORD as maxsize.
3611 (xdr_valdat): Use YPMAXRECORD as maxsize.
3612
93c65d43
RM
36132012-10-01 Roland McGrath <roland@hack.frob.com>
3614
497a03d6
RM
3615 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3616
93c65d43
RM
3617 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3618 * csu/init-first.c: ... here.
3619 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3620 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3621 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3622 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3623 * sysdeps/i386/init-first.c: File removed.
3624 * sysdeps/sh/init-first.c: File removed.
3625
bec749fd
JM
36262012-10-01 Joseph Myers <joseph@codesourcery.com>
3627
3628 [BZ #14645]
3629 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3630 if x * y might underflow to zero and z is zero.
3631 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3632 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3633 * math/libm-test.inc (min_subnorm_value): New variable.
3634 (fma_test): Add more tests.
3635 (fma_test_towardzero): Likewise.
3636 (fma_test_downward): Likewise
3637 (fma_test_upward): Likewise.
3638 (initialize): Set min_subnorm_value.
3639
8ec5b013
JM
36402012-09-29 Joseph Myers <joseph@codesourcery.com>
3641
3642 [BZ #14638]
3643 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3644 0 + 0.
3645 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3646 mode for addition resulting in exact zero.
3647 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3648 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3649 exact 0 + 0.
3650 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3651 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3652 * math/libm-test.inc (fma_test): Add more tests.
3653 (fma_test_towardzero): New function.
3654 (fma_test_downward): Likewise.
3655 (fma_test_upward): Likewise.
3656 (main): Call the new functions.
3657
b1fa802e
DM
36582012-09-28 David S. Miller <davem@davemloft.net>
3659
3660 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3661
d3b9fd9e
RM
36622012-09-28 Roland McGrath <roland@hack.frob.com>
3663
ea4d37b3
RM
3664 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3665 instead of SIGALRM.
3666
ac51c949
RM
3667 * sysdeps/gnu/_G_config.h: Moved to ...
3668 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3669 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3670 * sysdeps/generic/_G_config.h: ... here.
3671
28c195f7
RM
3672 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3673
848917f9
RM
3674 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3675
6bacf05b
RM
3676 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3677 Conditionalize target on [libnss_test1.so-version].
3678
91363dbb
RM
3679 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3680
cc87f7d8
RM
3681 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3682 (elfobjdir): Move out of conditionals.
3683
b1c608fe
RM
3684 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3685 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3686 (__nss_lookup_function): Conditionalize label remove_from_tree on
3687 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 3688
1d9a6d96
DM
36892012-09-28 David S. Miller <davem@davemloft.net>
3690
3691 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3692 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3693 file.
3694 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3695 sysdep_routines.
3696 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3697 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3698 when HWCAP_SPARC_CRYPTO is present.
3699
72581615
PT
37002012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3701
3702 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3703
715a900c
JL
37042012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3705
3706 [BZ #6530]
3707 * stdio-common/vfprintf.c (process_string_arg): Revert
3708 2000-07-22 change.
3709
37102011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3711
3712 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3713 for testcase.
3714 * stdio-common/tst-sprintf.c: Include <locale.h>
3715 (main): Test sprintf's handling of incomplete multibyte
3716 characters.
3717
9bac1d86
L
37182012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3719
3720 * elf/dl-runtime.c (VERSYMIDX): Removed.
3721 * elf/dl-version.c (VERSYMIDX): Likewise.
3722 * elf/do-rel.h (VERSYMIDX): Likewise.
3723 (VALIDX): Likewise.
3724 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3725 * elf/rtld.c (VALIDX): Likewise.
3726 (ADDRIDX): Likewise.
9bac1d86
L
3727 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3728 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3729 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
3730 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3731 (VALIDX): Likewise.
3732 (ADDRIDX): Likewise.
9bac1d86 3733
b31606c0
PT
37342012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3735
3736 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3737
11541177
JL
37382012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3739
3740 [BZ #11438]
3741 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3742 to global scope.
3743 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3744 addresses are in the same scope as 192.0.2/24.
3745 * posix/gai.conf: Document new scope table defaults.
3746
adb26fae
SP
37472012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3748
3749 [BZ #5298]
3750 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3751 for ftell. Compute offsets from write pointers instead.
3752 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3753
4573c6b0
SP
37542012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3755
3756 [BZ #14543]
3757 * libio/Makefile (tests): New test case tst-fseek.
3758 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3759 combination works in wide mode.
3760 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3761 state when the external buffer state changes.
3762
aa9bbfe6
DM
37632012-09-27 David S. Miller <davem@davemloft.net>
3764
3765 [BZ #14376]
3766 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3767 pass reloc->r_addend in as the 'high' argument to
3768 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3769
784421e7
DM
3770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3771
c39bc8b8
PT
37722012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3773
3774 * rt/tst-aio2.c: Include <pthread.h>.
3775 * rt/tst-aio3.c: Likewise.
3776
1ccc2399
SE
37772012-09-27 Steve Ellcey <sellcey@mips.com>
3778
3779 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3780
31ed4153
L
37812012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3782
25f5f885
L
3783 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3784 contents on [SHARED].
31ed4153 3785
b7bfe116
MP
37862012-09-26 Marek Polacek <polacek@redhat.com>
3787
3788 [BZ #14530]
3789 [BZ #13741]
3790 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3791 for C++ and GCC <4.3 as well as for non GCC compilers.
3792
43c4edba
MT
37932012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3794
3795 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3796
6a1bf82f
RM
37972012-09-25 Roland McGrath <roland@hack.frob.com>
3798
3799 * Makefile.in (all, install): Declare with .PHONY.
3800 Reported by Michael Hope <michael.hope@linaro.org>.
3801
8ad11b9a
TMQMF
38022012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3803
3804 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3805 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3806 system header.
3807 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3808 Likewise.
3809 (sydep_routines): Add the new and the internal functions.
3810 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3811 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3813 (GLIBC_2.17): Add the new function.
3814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3815 (GLIBC_2.17): Likewise.
3816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3817 (GLIBC_2.17): Likewise.
3818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3819 (GLIBC_2.17): Likewise.
3820 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3821
7e2fca8d
AM
38222012-09-25 Alan Modra <amodra@gmail.com>
3823
3824 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3825 Add release barrier before setting once_control to say
3826 initialisation is done. Add hints on lwarx. Use macro in
3827 place of isync.
3828 (clear_once_control): Add release barrier.
3829
b87c4b24
JM
38302012-09-25 Joseph Myers <joseph@codesourcery.com>
3831
d032e0d2
JM
3832 [BZ #13629]
3833 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3834 specially.
3835 * math/s_clog10.c (__clog10): Likewise.
3836 * math/s_clog10f.c (__clog10f): Likewise.
3837 * math/s_clog10l.c (__clog10l): Likewise.
3838 * math/s_clogf.c (__clogf): Likewise.
3839 * math/s_clogl.c (__clogl): Likewise.
3840 * math/Makefile (libm-calls): Add x2y2m1.
3841 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3842 (__x2y2m1): Likewise.
3843 (__x2y2m1l): Likewise.
3844 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3845 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3846 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3847 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3848 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3849 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3850 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3851 * sysdeps/i386/fpu/libm-test-ulps: Update.
3852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3853
b87c4b24
JM
3854 [BZ #14621]
3855 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3856 int as type of variable DEPTH.
3857 (glob): Use size_t instead of int as type of variables NEWCOUNT
3858 and OLD_PATHC.
3859
6d3bf199
LD
38602012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3861
22bf5c17
LD
3862 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3863 Add s_sincosf-sse2.
3864 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3865 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3866 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3867 macros for using routine as __sincosf_ia32.
3868 Use macro for function declaration and weak_alias.
3869 * sysdeps/i386/fpu/libm-test-ulps: Update.
3870
3871 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3872 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3873
3874 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
3875 subnormal argument.
3876 * math/s_cexpf.c (__cexpf): Likewise.
3877 * math/s_csinf.c (__csinf): Likewise.
3878 * math/s_csinhf.c (__csinhf): Likewise.
3879 * math/s_ctanf.c (__ctanf): Likewise.
3880 * math/s_ctanhf.c (__ctanhf): Likewise.
3881 * math/s_ccosh.c (__ccoshf): Likewise.
3882 * math/s_cexp.c (__cexpl): Likewise.
3883 * math/s_csin.c (__csin): Likewise.
3884 * math/s_csinh.c (__csinh): Likewise.
3885 * math/s_ctan.c (__ctan): Likewise.
3886 * math/s_ctanh.c (ctanh): Likewise.
3887 * math/s_ccoshl.c (__ccoshl): Likewise.
3888 * math/s_cexpl.c (__cexpl): Likewise.
3889 * math/s_csinl.c (__csinl): Likewise.
3890 * math/s_csinhl.c (__csinhl): Likewise.
3891 * math/s_ctanl.c (__ctanl): Likewise.
3892 * math/s_ctanhl.c (__ctanhl): Likewise.
3893
203e5603
JM
38942012-09-25 Joseph Myers <joseph@codesourcery.com>
3895
3896 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3897 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3898 (_IO_off_t): Define to __off_t, not _G_off_t.
3899 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3900 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3901 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3902 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3903 type of __dummy and __dummy2 fields.
3904 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3905 (_G_ssize_t): Likewise.
3906 (_G_off_t): Likewise.
3907 (_G_pid_t): Likewise.
3908 (_G_uid_t): Likewise.
3909 (_G_wchar_t): Likewise.
3910 (_G_wint_t): Likewise.
3911 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3912 (_G_ssize_t): Likewise.
3913 (_G_off_t): Likewise.
3914 (_G_pid_t): Likewise.
3915 (_G_uid_t): Likewise.
3916 (_G_wchar_t): Likewise.
3917 (_G_wint_t): Likewise.
3918 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3919 (_G_ssize_t): Likewise.
3920 (_G_off_t): Likewise.
3921 (_G_pid_t): Likewise.
3922 (_G_uid_t): Likewise.
3923 (_G_wchar_t): Likewise.
3924 (_G_wint_t): Likewise.
3925
9fab36eb
SP
39262012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3927
3928 * malloc/arena.c: Include malloc-sysdep.h.
3929 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3930 is sufficient to shrink the heap or an unmap is needed.
3931 * sysdeps/generic/malloc-sysdep.h: New file. Define
3932 new function check_may_shrink_heap.
3933 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3934 new function check_may_shrink_heap.
3935
2b4f00d1
SP
39362012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3937
3938 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3939 comments.
3940
9a9028b1
DL
39412012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3942
57c69bef
DL
3943 * catgets/test-gencat.sh: Add "set -e".
3944 * elf/tst-pathopt.sh: Likewise.
3945 * grp/tst_fgetgrent.sh: Likewise.
3946 * iconvdata/run-iconv-test.sh: Likewise.
3947 * intl/tst-gettext.sh: Likewise.
3948 * intl/tst-gettext2.sh: Likewise.
3949 * intl/tst-gettext4.sh: Likewise.
3950 * intl/tst-gettext6.sh: Likewise.
3951 * intl/tst-translit.sh: Likewise.
3952 * io/ftwtest-sh: Likewise.
3953 * libio/test-freopen.sh: Likewise.
3954 * malloc/tst-mtrace.sh: Likewise.
3955 * posix/globtest.sh: Likewise.
3956 * posix/tst-getconf.sh: Likewise.
3957 * posix/wordexp-tst.sh: Likewise.
3958 * stdio-common/tst-printf.sh: Likewise.
3959 * stdio-common/tst-unbputc.sh: Likewise.
3960 * stdlib/tst-fmtmsg.sh: Likewise.
3961 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3962 * catgets/Makefile: Do not specify -e option when running
3963 testsuite shell scripts.
3964 * elf/Makefile: Likewise.
3965 * grp/Makefile: Likewise.
3966 * iconvdata/Makefile: Likewise.
3967 * intl/Makefile: Likewise.
3968 * io/Makefile: Likewise.
3969 * libio/Makefile: Likewise.
3970 * malloc/Makefile: Likewise.
3971 * posix/Makefile: Likewise.
3972 * stdio-common/Makefile: Likewise.
3973 * stdlib/Makefile: Likewise.
3974 * sysdeps/x86_64/Makefile: Likewise.
3975
9a9028b1
DL
3976 * io/ftwtest-sh: Add copyright header.
3977 * posix/globtest.sh: Likewise.
3978 * posix/tst-getconf.sh: Likewise.
3979 * posix/wordexp-tst.sh: Likewise.
3980 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3981
ced6f16e
L
39822012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3983
94b32c39
L
3984 [BZ #13679]
3985 * Makeconfig (+link): Defined as $(+link-static) if
3986 $(build-shared) isn't yes.
3987 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3988 isn't yes.
3989 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3990
189e935b
L
3991 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3992
ced6f16e
L
3993 [BZ #14562]
3994 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3995 new chunk size with MALLOC_ALIGN_MASK.
3996
a9f8e53a
JM
39972012-09-24 Joseph Myers <joseph@codesourcery.com>
3998
3999 [BZ #5044]
4000 * stdio-common/printf_fphex.c: Include <stdbool.h> and
4001 <rounding-mode.h>.
4002 (__printf_fphex): Determine rounding using get_rounding_mode and
4003 round_away.
4004 * stdio-common/tst-printf-round.c (struct hex_test): New
4005 structure.
4006 (hex_tests): New variable.
4007 (test_hex_in_one_mode): New function.
4008 (do_test): Also run tests for hex float output.
4009
43153109
JM
40102012-09-21 Joseph Myers <joseph@codesourcery.com>
4011
4012 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4013 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4014 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4015 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4016 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4017 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4018 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4019 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4020
8a26625d
JM
40212012-09-20 Joseph Myers <joseph@codesourcery.com>
4022
4023 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4024 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4025 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4026 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4027
f3fd569c
DL
40282012-09-19 Dmitry V. Levin <ldv@altlinux.org>
4029
4030 [BZ #14579]
4031 * elf/rtld.c (dl_main): Limit the check for self loading to normal
4032 mode only.
4033 * elf/tst-rtld-load-self.sh: New test.
4034 * elf/Makefile: Run it.
4035
63bbedd4
JM
40362012-09-18 Joseph Myers <joseph@codesourcery.com>
4037
4038 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4039 (tst-writev-ENV): Remove.
4040 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4041
626f8b6a
CM
40422012-09-17 Chris Metcalf <cmetcalf@tilera.com>
4043
4044 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4045
b7aaa4d6
JM
40462012-09-17 Joseph Myers <joseph@codesourcery.com>
4047
4048 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4049 unconditional.
4050 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4051 Likewise.
4052 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4053 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4054 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4055 Likewise.
4056
65513990
L
40572012-09-14 H.J. Lu <hongjiu.lu@intel.com>
4058
4059 [BZ #14587]
4060 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4061 * config.make.in (have-cpp-asm-debuginfo): Removed.
4062 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4063 * configure: Regenerated.
4064
784761be
JM
40652012-09-14 Joseph Myers <joseph@codesourcery.com>
4066
4067 [BZ #5044]
4068 * stdio-common/printf_fp.c: Include <stdbool.h> and
4069 <rounding-mode.h>.
4070 (___printf_fp): Determine rounding using get_rounding_mode and
4071 round_away.
4072 * stdio-common/tst-printf-round.c: New file.
4073 * stdio-common/Makefile (tests): Add tst-printf-round.
4074 (link-libm): New variable.
4075 ($(objpfx)tst-printf-round): Depend in $(link-libm).
4076
9503345f
L
40772012-09-13 H.J. Lu <hongjiu.lu@intel.com>
4078
4079 [BZ #14576]
4080 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4081 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4082 Likewise.
4083 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4084 Likewise.
4085
ad35fc00
JM
40862012-09-13 Joseph Myers <joseph@codesourcery.com>
4087
4088 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4089 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4090 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4091 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4092
6c9b0f68
JM
40932012-09-12 Joseph Myers <joseph@codesourcery.com>
4094
4095 [BZ #14518]
4096 * include/rounding-mode.h: New file.
4097 * sysdeps/generic/get-rounding-mode.h: Likewise.
4098 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4099 * stdlib/strtod_l.c: Include <rounding-mode.h>.
4100 (MAX_VALUE): New macro.
4101 (MIN_VALUE): Likewise.
4102 (overflow_value): New function.
4103 (underflow_value): Likewise.
4104 (round_and_return): Use overflow_value and underflow_value to
4105 determine return values in overflow and underflow cases. Use
4106 round_away to determine rounding depending on rounding mode.
4107 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4108 determine return values in overflow and underflow cases.
4109 * stdlib/tst-strtod-round.c: Include <fenv.h>.
4110 (struct test_results): New structure.
4111 (struct test): Use struct test_results to store expected results
4112 for all rounding modes.
4113 (TEST): Include expected results for all rounding modes.
4114 (test_in_one_mode): New function.
4115 (do_test): Use test_in_one_mode to compute and check results.
4116 Check results for all rounding modes.
4117 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4118 $(link-libm).
4119
19fcedd5
AM
41202012-12-09 Allan McRae <allan@archlinux.org>
4121
1e9d84cd 4122 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 4123
8bbfd2f1
JM
41242012-09-11 Joseph Myers <joseph@codesourcery.com>
4125
4126 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4127 (_G_int32_t): Likewise.
4128 (_G_uint16_t): Likewise.
4129 (_G_uint32_t): Likewise.
4130 (_G_HAVE_BOOL): Likewise.
4131 (_G_HAVE_ATEXIT): Likewise.
4132 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4133 (_G_HAVE_IO_FILE_OPEN): Likewise.
4134 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4135 (_G_int32_t): Likewise.
4136 (_G_uint16_t): Likewise.
4137 (_G_uint32_t): Likewise.
4138 (_G_HAVE_BOOL): Likewise.
4139 (_G_HAVE_ATEXIT): Likewise.
4140 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4141 (_G_HAVE_IO_FILE_OPEN): Likewise.
4142 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4143 (_G_int32_t): Likewise.
4144 (_G_uint16_t): Likewise.
4145 (_G_uint32_t): Likewise.
4146 (_G_HAVE_BOOL): Likewise.
4147 (_G_HAVE_ATEXIT): Likewise.
4148 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4149 (_G_HAVE_IO_FILE_OPEN): Likewise.
4150
b1dc5912
L
41512012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4152
4153 * csu/libc-tls.c: Update copyright years.
4154
0e886ef9
JM
41552012-09-10 Joseph Myers <joseph@codesourcery.com>
4156
28361c5e
JM
4157 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4158 [!_G_USING_THUNKS]: Remove conditional code.
4159 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4160 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4161
0e886ef9
JM
4162 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4163 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4164 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4165 (_G_VTABLE_LABEL_PREFIX): Likewise.
4166 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4167 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4168 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4169 (_G_VTABLE_LABEL_PREFIX): Likewise.
4170 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4171 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4172 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4173 (_G_VTABLE_LABEL_PREFIX): Likewise.
4174 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4175
bcba7aa2
L
41762012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4177
4178 * libio/Makefile: Include ../Makeconfig before tests.
4179 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4180 only if $(build-shared) is yes.
4181
06585ee8
L
4182 * iconv/gconv_db.c: Update copyright years.
4183
80ccd52c
LD
41842012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4185
4186 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4187 unwind info if defined PIC. Fix special cases description.
4188 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4189
4190 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4191 DP_HI_MASK entry.
4192 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4193
691bc9c1
L
41942012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4195
3d9b46b3
L
4196 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4197
de2139a9
L
4198 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4199 is NULL.
4200
5ca78dd0
L
4201 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4202 (LDLIBS-tst-chk4): This.
4203 (LDFLAGS-tst-chk5): Renamed to ...
4204 (LDLIBS-tst-chk5): This.
4205 (LDFLAGS-tst-chk6): Renamed to ...
4206 (LDLIBS-tst-chk6): This.
4207 (LDFLAGS-tst-lfschk4): Renamed to ...
4208 (LDLIBS-tst-lfschk4): This.
4209 (LDFLAGS-tst-lfschk5): Renamed to ...
4210 (LDLIBS-tst-lfschk5): This.
4211 (LDFLAGS-tst-lfschk6): Renamed to ...
4212 (LDLIBS-tst-lfschk6): This.
4213
691bc9c1
L
4214 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4215 on $(common-objpfx)soversions.mk.
4216
65cafb1c
JM
42172012-09-07 Joseph Myers <joseph@codesourcery.com>
4218
4219 [BZ #10014]
4220 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4221 example host name.
4222
c78ab094
SP
42232012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4224
4225 * malloc/arena.c (arena_get_retry): New function that gets
4226 another arena for the caller to try its request on.
4227 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4228 current arena cannot fulfill the request.
4229 (__libc_memalign): Likewise.
4230 (__libc_memalign): Likewise.
4231 (__libc_pvalloc): Likewise.
4232 (__libc_calloc): Likewise.
4233
01f49f59
JT
42342012-09-05 John Tobey <john.tobey@gmail.com>
4235
4236 [BZ #13542]
4237 * manual/arith.texi (Operations on Complex): Fix description
4238 of carg branch cut.
4239
4c23fed5
JM
42402012-09-06 Joseph Myers <joseph@codesourcery.com>
4241
1d3c8572
JM
4242 [BZ #10014]
4243 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4244 host name.
4245
4c23fed5
JM
4246 [BZ #10038]
4247 * manual/memory.texi (Memory): Make order of menu items match
4248 order of sections.
4249
04570aaa
L
42502012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4251
4252 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4253 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4254 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4255
b80af2f4
L
42562012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4257
4258 * csu/libc-tls.c (static_dtv): Renamed to ...
4259 (_dl_static_dtv): This. Make it global.
4260 (_dl_initial_dtv): Removed.
4261 (__libc_setup_tls): Updated.
4262 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4263 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4264 DL_INITIAL_DTV.
4265
2abe9f15
PM
42662012-09-06 Petr Machata <pmachata@redhat.com>
4267
4268 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4269 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4270 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4271 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4272
0948c3af
L
42732012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4274
4275 [BZ #14545]
4276 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4277 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4278 freeing dtv[-1].
4279
a5055ad1
L
42802012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4281
4282 [BZ #14544]
4283 * Makeconfig (link-static-before-libc): Replace $(+prector)
4284 with $(+prectorT).
4285 (link-static-after-libc): Replace $(+postctor) with
4286 $(+postctorT).
4287 (link-bounded): Replace $(+prector)/$(+postctor) with
4288 $(+prectorT)/$(+postctorT).
4289 (+prectorT): New macro.
4290 (+postctorT): Likewise.
4291
ed8c2ecd
JM
42922012-09-06 Joseph Myers <joseph@codesourcery.com>
4293
4294 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4295 (round_str): Handle values above the maximum for IBM long double
4296 as inexact.
4297 * stdlib/tst-strtod-round.c (tests): Regenerated.
4298
14c996c8
AK
42992012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4300
4301 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4302 assembler flag.
4303 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4304 zarch_nohighgprs around the zarch optimized routines.
4305 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4306 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4307 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4308 for zarch.
4309
430d6ce6
DM
43102012-09-05 David S. Miller <davem@davemloft.net>
4311
4312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4313
ff04dda4
DM
4314 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4315 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4316 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4317 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4318 entries.
4319
24d4e01b
AO
43202012-09-05 Alexandre Oliva <aoliva@redhat.com>
4321
4322 * malloc/arena.c: Fold copyright years.
4323 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4324
61d58174
AO
43252012-09-05 Alexandre Oliva <aoliva@redhat.com>
4326
4327 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4328
20196a5e
AO
43292012-09-05 Alexandre Oliva <aoliva@redhat.com>
4330
4331 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4332
5c447383
AO
43332012-09-05 Alexandre Oliva <aoliva@redhat.com>
4334
4335 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4336 change internal state upon failure.
4337
fad64255
AO
43382012-09-05 Alexandre Oliva <aoliva@redhat.com>
4339
4340 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4341 * malloc/memusage.c (mmap): Likewise.
4342 (mmap64, mremap): Likewise. Adjust name in comment.
4343
1ffb8c90
SP
43442012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4345
4346 * libio/fileops.c: Fix typos in comments.
4347 * libio/oldfileops.c: Likewise.
4348 * libio/wfileops.c: Likewise.
4349
6ef9cc37
SP
43502012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4351
4352 [BZ #1349]
4353 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4354 (tst-malloc-usable-ENV): Set environment for test case.
4355 * malloc/hooks.c (malloc_check_get_size): New function to get
4356 requested size.
4357 * malloc/malloc.c (musable): Use malloc_check_get_size.
4358 * malloc/tst-malloc-usable.c: New test case.
4359
4d038ae3
AS
43602012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4361
4362 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4363
c4e85184
AM
43642012-09-05 Allan McRae <allan@archlinux.org>
4365
b9dafc56 4366 [BZ #13966]
c4e85184
AM
4367 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4368 determine header location.
4369 * configure: Regenerated.
4370
e1343020
AS
43712012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4372
4373 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4374 float format.
4375 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
4376 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4377 format.
e1343020
AS
4378 (test): Regenerate.
4379
0a9f1987
DM
43802012-09-04 David S. Miller <davem@davemloft.net>
4381
4382 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4383 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4384 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4385
29237804
FW
43862012-09-04 Florian Weimer <fweimer@redhat.com>
4387
4388 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4389 failures.
4390
edb3cb88
FW
4391 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4392
60160d83
JM
43932012-09-04 Joseph Myers <joseph@codesourcery.com>
4394
4395 [BZ #9914]
4396 * libio/iogetdelim.c: Include <limits.h>.
4397 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4398 + len + 1 would overflow.
4399
bcd6c8dc
AJ
44002012-09-03 Andreas Jaeger <aj@suse.de>
4401
4402 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4403 * sysdeps/i386/fpu/libm-test-ulps: Update.
4404
4ffffbd2
LD
44052012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4406
4407 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4408 Add s_sinf-sse2, s_conf-sse2.
4409
4410 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4411 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4412 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4413 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4414
4415 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4416 for using routine as __sinf_ia32.
4417 Use macro for function declaration and weak_alias.
4418 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4419 for using routine as __cosf_ia32.
4420 Use macro for function declaration and weak_alias.
4421
4422 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4423 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4424
4425 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4426 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4427 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4428
4429 * math/libm-test.inc (cos_test): Add more test cases.
4430 (sin_test): Likewise.
4431 (sincos_test): Likewise.
4432
511fa286
AK
44332012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4434
4435 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4436 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4437 hidden.
4438 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4439
5f30cfec
L
44402012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4441
4442 [BZ #14538]
4443 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4444 first element of the GOT.
4445 (elf_machine_load_address): Return the difference between
4446 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4447
0786794f
AM
44482012-09-01 Allan McRae <allan@archlinux.org>
4449
5f30cfec
L
4450 [BZ #13412]
4451 * configure.in (AWK): Require gawk version 3.0 or later.
4452 * configure: Regenerated.
0786794f 4453
26889eac
JM
44542012-09-01 Joseph Myers <joseph@codesourcery.com>
4455
4456 * sysdeps/unix/sysv/linux/kernel-features.h
4457 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4458 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4459 [__NR_clock_getres]: Make code unconditional.
4460 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4461 (clock_getcpuclockid): Remove code left unreachable by removal of
4462 conditionals.
4463 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4464 code unconditional.
4465 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4466 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4467 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4468 Make code unconditional.
4469 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4470 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4471 * sysdeps/unix/sysv/linux/clock_settime.c
4472 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4473 conditional code.
4474 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4475 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4476
d22e28b0
L
44772012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4478
4479 [BZ #14476]
4480 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4481 scripts/test-installation.pl.
4482
4483 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4484 and $ld_so_version if it is set.
4485
050af9c4
SP
44862012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4487
4488 [BZ #14516]
4489 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4490 failure if reading from procfs failed.
4491 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4492
ad845c0b
JM
44932012-08-27 Joseph Myers <joseph@codesourcery.com>
4494
4495 * sysdeps/unix/sysv/linux/kernel-features.h
4496 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4497 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4498 Remove conditional code.
4499 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4500 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4501 Remove conditional code.
4502 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4503 * sysdeps/unix/sysv/linux/i386/fxstat.c
4504 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4505 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4506 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4507 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4508 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4509 * sysdeps/unix/sysv/linux/i386/lxstat.c
4510 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4511 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4512 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4513 Remove conditional code.
4514 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4515 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4516 Remove conditional code.
4517 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4518 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4519 <kernel-features.h>.
4520 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4521 Remove.
4522 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4523 Remove conditional code.
4524 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4525 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4526 Remove conditional.
4527
5dbf56af
MF
45282012-08-27 Mike Frysinger <vapier@gentoo.org>
4529
4530 [BZ #5400]
4531 * NEWS: Add fixed bug number.
4532
d6e70f43
JM
45332012-08-27 Joseph Myers <joseph@codesourcery.com>
4534
7efb4737
JM
4535 [BZ #14519]
4536 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4537 underflowing exponent in case of negative sign.
4538 * stdlib/tst-strtod-round-data: Add more tests.
4539 * stdlib/tst-strtod-round.c (tests): Regenerated.
4540
af92131a
JM
4541 [BZ #3479]
4542 * stdlib/strtod_l.c (NDIG): Remove.
4543 (HEXNDIG): Likewise.
4544 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4545 smallest representable value.
4546 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4547 lie within an exact representation of 1/2 ulp of the result.
4548 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4549 unconditionally.
4550 (TENS_P9_IDX): Define unconditionally.
4551 (TENS_P9_SIZE): Likewise.
4552 (TENS_P10_IDX): Likewise.
4553 (TENS_P10_SIZE): Likewise.
4554 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4555 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4556 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4557 entries for 10^2^13 and 10^2^14.
4558 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4559 (TENS_P13_IDX): Define.
4560 (TENS_P13_SIZE): Likewise.
4561 (TENS_P14_IDX): Likewise.
4562 (TENS_P14_SIZE): Likewise.
4563 (_fpioconst_pow10): Change array size to
4564 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4565 unconditional.
4566 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4567 1024]: Add entries for 10^2^13 and 10^2^14.
4568 [LAST_POW10 > _LAST_POW10]: Remove #error.
4569 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4570 (_fpioconst_pow10): Change array size to
4571 FPIOCONST_POW10_ARRAY_SIZE.
4572 * stdlib/gen-fpioconst.c: New file.
4573 * stdlib/gen-tst-strtod-round.c: Likewise.
4574 * stdlib/tst-strtod-round-data: Likewise.
4575 * stdlib/tst-strtod-round.c: Likewise.
4576 * stdlib/Makefile (tests): Add tst-strtod-round.
4577
d6e70f43
JM
4578 [BZ #14459]
4579 * stdlib/strtod_l.c: Include <stdint.h>.
4580 (NDEBUG): Do not define.
4581 (round_and_return): Change EXPONENT parameter to type intmax_t.
4582 Rearrange calculations to avoid internal overflow possibilities.
4583 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4584 Rearrange calculations to avoid internal overflow possibilities.
4585 Assert that number fits inside MPNSIZE limbs.
4586 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4587 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4588 calculations and add assertions to avoid internal overflow
4589 possibilities. Add casts to avoid signed/unsigned operations.
4590 * stdlib/tst-strtod-overflow.c: New file.
4591 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4592
1f529f7d
MP
45932012-08-25 Marek Polacek <polacek@redhat.com>
4594
4595 * time/time.h: Fix some typos in comments.
4596
59a629f1
RM
45972012-08-23 Roland McGrath <roland@hack.frob.com>
4598
4599 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4600 * posix/tst-rfc3484-2.c: Likewise.
4601 * posix/tst-rfc3484-3.c: Likewise.
4602
d3bafbc9
SM
46032012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4604
4605 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4606 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4607
4efcc022
JM
46082012-08-23 Joseph Myers <joseph@codesourcery.com>
4609
4610 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4611 #include of fxstatat64.c.
4612
3cc3ef96
RM
46132012-08-22 Roland McGrath <roland@hack.frob.com>
4614
f04e2132
RM
4615 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4616 * shadow/getspent_r.c: Likewise.
4617 * shadow/getspnam.c: Likewise.
4618 * shadow/getspnam_r.c: Likewise.
4619 * gshadow/getsgent.c: Likewise.
4620 * gshadow/getsgent_r.c: Likewise.
4621 * gshadow/getsgnam.c: Likewise.
4622 * gshadow/getsgnam_r.c: Likewise.
4623 * inet/getnetbyad.c: Likewise.
4624 * inet/getnetbyad_r.c: Likewise.
4625 * inet/getnetbynm.c: Likewise.
4626 * inet/getnetbynm_r.c: Likewise.
4627 * inet/getnetent.c: Likewise.
4628 * inet/getnetent_r.c: Likewise.
4629 * inet/getproto.c: Likewise.
4630 * inet/getproto_r.c: Likewise.
4631 * inet/getprtent.c: Likewise.
4632 * inet/getprtent_r.c: Likewise.
4633 * inet/getprtname.c: Likewise.
4634 * inet/getprtname_r.c: Likewise.
4635 * inet/getrpcbyname.c: Likewise.
4636 * inet/getrpcbyname_r.c: Likewise.
4637 * inet/getrpcbynumber.c: Likewise.
4638 * inet/getrpcbynumber_r.c: Likewise.
4639 * inet/getrpcent.c: Likewise.
4640 * inet/getrpcent_r.c: Likewise.
4641 * inet/getaliasent.c: Likewise.
4642 * inet/getaliasent_r.c: Likewise.
4643 * inet/getaliasname.c: Likewise.
4644 * inet/getaliasname_r.c: Likewise.
4645 * nscd/getgrgid_r.c: Likewise.
4646 * nscd/getgrnam_r.c: Likewise.
4647 * nscd/gethstbyad_r.c: Likewise.
4648 * nscd/gethstbynm3_r.c: Likewise.
4649 * nscd/getpwnam_r.c: Likewise.
4650 * nscd/getpwuid_r.c: Likewise.
4651 * nscd/getsrvbynm_r.c: Likewise.
4652 * nscd/getsrvbypt_r.c: Likewise.
4653 * nscd/gai.c: Likewise.
4654
c53d909c
RM
4655 * configure.in (build_nscd): New substituted variable, set
4656 by --disable-build-nscd and defaults to $use_nscd.
4657 * configure: Regenerated.
4658 * config.make.in (build-nscd): New substituted variable.
4659 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4660 Change conditional to require [$(build-nscd) = yes] as well.
4661 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4662
3cc3ef96
RM
4663 [BZ# 13696]
4664 * configure.in (use_nscd): New substituted variable, set by
4665 --disable-nscd. If enabled, define USE_NSCD.
4666 * configure: Regenerated.
4667 * config.h.in: Add USE_NSCD.
4668 * config.make.in (use-nscd): New substituted variable.
4669 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4670 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4671 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4672 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4673 (CFLAGS-getgrnam_r.c): Likewise.
4674 (CFLAGS-initgroups.c): Likewise.
4675 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4676 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4677 Variables removed.
4678 * inet/getnetgrent_r.c
4679 (nscd_setnetgrent): New function, broken out of ...
4680 (setnetgrent): ... here. Call it.
4681 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4682 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4683 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4684 * nscd/Makefile (routines, aux): Move definitions after include of
4685 Makeconfig. Conditionalize on [$(use-nscd) != no].
4686 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4687 Conditionalize on [USE_NSCD].
4688 (is_nscd, nscd_init_cb): Likewise.
4689 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4690 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4691 * nss/nss_db/db-init.c: Likewise.
4692 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4693 [USE_NSCD].
4694 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4695 (make_request): Use it.
4696 (cache_valid_p): New function.
4697 (__check_pf): Use it.
4698 * NEWS: Add item for --disable-nscd.
4699
07e51550
DL
47002012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4701
4702 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4703 to support sed >= 4.2.1-20-ga9bf076.
4704 * configure: Regenerated.
4705
35a5b08b
RM
47062012-08-22 Roland McGrath <roland@hack.frob.com>
4707
4708 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4709 Conditionalize whole body on [IREL].
4710
8479f23a
JL
47112012-08-22 Jeff Law <law@redhat.com>
4712
4713 [BZ #14505]
4714 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4715 if the family is PF_UNSPEC.
4716
48da0b21
MF
47172012-08-22 Mike Frysinger <vapier@gentoo.org>
4718
4719 * Makerules (lib-version): Rename from V.
4720 (install-lib-nosubdir): Change V to lib-version.
4721
15d0da8c
WS
47222012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4723
4724 [BZ #14252]
4725 * powerpc32/power6/wcschr.c: New file.
4726 * powerpc32/power6/wcscpy.c: New file.
4727 * powerpc32/power6/wcsrchr.c: New file.
4728 * powerpc64/power6/wcschr.c: New file.
4729 * powerpc64/power6/wcscpy.c: New file.
4730 * powerpc64/power6/wcsrchr.c: New file.
4731
bcca0895
MK
47322012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4733
4734 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4735 (two_way_short_needle): Use it.
5a4aaa33
RM
4736 * string/strstr.c (AVAILABLE1_USES_J): Define.
4737 * string/strcasestr.c: Likewise.
99677e57
MK
4738
4739 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4740 array references.
4741 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4742
400726de
MK
4743 [BZ #11607]
4744 * NEWS: Add an entry.
4745 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4746 define their defaults.
4747 (two_way_short_needle): Detect end-of-string on-the-fly.
4748 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4749 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4750 * string/bug-strcasestr1.c: New test.
4751 * string/Makefile: Run it.
4752
20a71f2c
MK
47532012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4754
4755 [BZ #11607]
4756 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4757 the first character.
4758
21ad0558
RM
47592012-08-21 Roland McGrath <roland@hack.frob.com>
4760
4761 * csu/elf-init.c (__libc_csu_irel): Function removed.
4762 * csu/libc-start.c (apply_irel): New function.
4763 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4764
0e1d9911
JM
47652012-08-21 Joseph Myers <joseph@codesourcery.com>
4766
4767 * sysdeps/unix/sysv/linux/kernel-features.h
4768 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4769 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4770 <kernel-features.h>.
4771 [__NR_fadvise64_64]: Make code unconditional.
4772 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4773 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4774 !__NR_fadvise64_64)]: Likewise.
4775 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4776 !__NR_fadvise64_64))]: Likewise.
4777 [__NR_fadvise64]: Make code unconditional.
4778 [!__NR_fadvise64]: Remove conditional code.
4779 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4780 <kernel-features.h>.
4781 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4782 unconditional.
4783 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4784 conditional code.
4785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4786 not include <kernel-features.h>.
4787 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4788 unconditional.
4789 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4790 conditional code.
4791 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4792 include <kernel-features.h>.
4793 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4794 unconditional.
4795 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4796 conditional code.
4797
14a50c9d
WS
47982012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4799
4800 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4801 slight instruction rearrangements per scrollpipe analysis.
4802 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4803
c0f4faf0
RM
48042012-08-20 Roland McGrath <roland@hack.frob.com>
4805
696da859
RM
4806 * manual/syslog.texi (syslog; vsyslog, closelog):
4807 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4808 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4809
c0f4faf0
RM
4810 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4811 DSOCAPS to match condition on defining it.
4812
348363b2
JM
48132012-08-20 Joseph Myers <joseph@codesourcery.com>
4814
a35cbf28
JM
4815 * sysdeps/unix/sysv/linux/kernel-features.h
4816 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4818 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4819 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4821 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4822 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4824 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4825 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4826
445f7ecd
JM
4827 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4828 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4829
348363b2
JM
4830 * sysdeps/unix/sysv/linux/kernel-features.h
4831 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4832 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4833 unconditional.
4834 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4835 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4836 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4837 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4838 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4839 Make code unconditional.
4840 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4841 (__mmap64) [!__NR_mmap2]: Likewise.
4842 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4843 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4844 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4845 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4846 [__NR_mmap2]: Make code unconditional.
4847 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4848 (__mmap64) [!__NR_mmap2]: Likewise.
4849
bc5bc0e5
AK
48502012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4851
4852 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4853
88d506de
AJ
48542012-08-18 Andreas Jaeger <aj@suse.de>
4855
4856 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4857
493387d2
MF
48582012-08-18 Mike Frysinger <vapier@gentoo.org>
4859
4860 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4861 * include/unistd.h (__have_sock_cloexec): Likewise.
4862 (__have_pipe2): Likewise.
4863 (__have_dup3): Likewise.
4864
a277af22
MF
48652012-08-18 Mike Frysinger <vapier@gentoo.org>
4866
4867 [BZ #9685]
4868 * include/unistd.h (__have_pipe2): Change define into an extern int.
4869 (__have_dup3): Likewise.
4870 * socket/have_sock_cloexec.c: Include fcntl.h.
4871 (__have_pipe2): New variable.
4872 (__have_dup3): Likewise.
4873
fdab8fd3
MF
48742012-08-17 Mike Frysinger <vapier@gentoo.org>
4875
4876 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4877
31035e80
MP
48782012-08-17 Marek Polacek <polacek@redhat.com>
4879
4880 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4881 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4882
3bd9e993
RM
48832012-08-17 Roland McGrath <roland@hack.frob.com>
4884
c91c505f
RM
4885 * configure.in: Add AC_SUBST for sysheaders.
4886 * configure: Regenerated.
4887 * config.make.in (sysheaders): New substituted variable.
4888
7c6f9d53
RM
4889 * sysdeps/unix/mkfifo.c: Moved ...
4890 * sysdeps/posix/mkfifo.c: ... here.
4891 * sysdeps/unix/mkfifoat.c: Moved ...
4892 * sysdeps/posix/mkfifoat.c: ... here.
4893
4894 * sysdeps/unix/utime.c: Moved ...
4895 * sysdeps/posix/utime.c: ... here.
4896
4897 * sysdeps/unix/time.c: Moved ...
4898 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
4899 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4900 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
4901
4902 * sysdeps/unix/nice.c: Moved ...
4903 * sysdeps/posix/nice.c: ... here.
4904
4905 * sysdeps/unix/alarm.c: Moved ...
4906 * sysdeps/posix/alarm.c: ... here.
4907
3bd9e993
RM
4908 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4909
d1f09384
JL
49102012-08-17 Jeff Law <law@redhat.com>
4911
4912 * intl/Makefile (codeset_mo): New variable.
4913 ($(codeset_mo)): New target.
4914 (tst-codeset.out): Depend on that. Remove explicit rule.
4915 (tst-gettext3.out, tst-gettext5.out): Likewise.
4916 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4917 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4918 * intl/tst-codeset.sh: Remove.
4919 * intl/tst-gettext3.sh: Likewise.
4920 * intl/tst-gettext5.sh: Likewise.
4921
2ae1ae5c
RM
49222012-08-17 Roland McGrath <roland@hack.frob.com>
4923
c31fdb83
RM
4924 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4925 * sysdeps/unix/syscalls.list: ... here.
4926
a0844057
RM
4927 * sysdeps/posix/getaddrinfo.c
4928 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4929 (gaiconf_init, gaiconf_reload): Use them.
4930 [!_STATBUF_ST_NSEC]
4931 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4932 Define using time_t rather than struct timespec.
4933
750c1f2a
RM
4934 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4935 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4936 Macros removed.
4937 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4938 [!NO_THREADS].
4939 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4940 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4941 Likewise.
4942
2ae1ae5c
RM
4943 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4944 __libc_cleanup_push argument.
4945
e66a42f5
RM
4946 * bits/param.h: New file.
4947 * misc/sys/param.h: New file.
4948 * include/sys/param.h: New file.
4949 * misc/Makefile (headers): Add bits/param.h.
4950 * sysdeps/generic/sys/param.h: File removed.
4951 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4952 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4953 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 4954 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 4955
b7c08a66
RM
4956 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4957 last change.
4958
b2e1c562
RM
4959 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4960 [_IO_MTSAFE_IO].
4961 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4962 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4963 New macros.
4964
c75ccd4c
RM
4965 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4966 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4967 rather than -D_IO_MTSAFE_IO conditionally.
4968 * stdio-common/Makefile (CPPFLAGS): Likewise.
4969 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4970 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4971 Use $(libio-mtsafe).
4972 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4973 of -D_IO_MTSAFE_IO.
4974 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4975 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4976 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4977 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4978 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4979 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4980 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4981 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4982 (CFLAGS-fread_u_chk.c): Likewise.
4983 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4984 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4985 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4986 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4987 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4988 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4989 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4990 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4991 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4992
4993 * libio/Makefile: Test [$(libc-reentrant) = yes]
4994 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4995
4996 * Makeconfig
4997 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4998 * sysdeps/pthread/configure: File removed.
4999 * sysdeps/pthread/Makeconfig: New file.
5000 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5001 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5002
d9195db8
GB
50032012-08-16 Gary Benson <gbenson@redhat.com>
5004
5005 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5006 unmapping the first object in a namespace.
5007
86466cd9
RM
50082012-08-16 Roland McGrath <roland@hack.frob.com>
5009
5010 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5011 (__internal_setnetgrent): ... this. Add internal_function to
5012 definition. Add libc_hidden_def.
5013 (setnetgrent): Update caller.
5014 (internal_endnetgrent): Renamed to ...
5015 (__internal_endnetgrent): ... this. Add internal_function to
5016 definition. Add libc_hidden_def.
5017 (endnetgrent): Update caller.
5018 (internal_getnetgrent_r): Renamed to ...
5019 (__internal_getnetgrent_r): ... this. Add internal_function to
5020 definition. Add libc_hidden_def.
5021 (__getnetgrent_r): Update caller.
5022 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
5023
c3c8283c
JM
50242012-08-16 Joseph Myers <joseph@codesourcery.com>
5025
5026 * stdlib/longlong.h: Update from GCC.
5027
db1ee0a8
RM
50282012-08-16 Roland McGrath <roland@hack.frob.com>
5029
5030 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5031 on _QL, which is set by umul_ppmm but never used.
5032 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5033 variables, which are set by GMP macros but never used.
5034 * stdio-common/_itowa.c (_itowa): Likewise.
5035 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5036 * stdlib/mod_1.c (mpn_mod_1): Likewise.
5037
30f69637
CD
50382012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
5039
5040 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5041 struct La_sh_regs is not constant.
5042 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5043 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5044 and struct La_sparc64_regs are not constant.
5045
93a78ac4
JM
50462012-08-16 Joseph Myers <joseph@codesourcery.com>
5047
5048 * sysdeps/unix/sysv/linux/kernel-features.h
5049 (__ASSUME_POSIX_TIMERS): Remove.
5050 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5051 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5052 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5053 Make code unconditional.
5054 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5055 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5056 Make code unconditional.
5057 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5058 * sysdeps/unix/sysv/linux/clock_nanosleep.c
5059 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5060 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5061 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5062 Make code unconditional.
5063 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5064 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5065 (__libc_missing_posix_timers): Remove.
5066
dd924cd7
RM
50672012-08-15 Roland McGrath <roland@hack.frob.com>
5068
4b4f2771
RM
5069 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5070 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5071
601c888b
RM
5072 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5073
176790a7
RM
5074 * elf/dl-sym.c: Include <stdlib.h>.
5075
329bc018
RM
5076 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5077 constants, which avoids warnings in 32-bit builds.
5078
e04e272d
RM
5079 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5080 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5081
952bf94a
RM
5082 * misc/lseek.c: File moved to ...
5083 * io/lseek.c: ... here.
5084
7c99b50a
RM
5085 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5086
dd924cd7
RM
5087 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5088 shifting LEN more than 31 bits at once.
5089
b3f479a8
LD
50902012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5091
5092 [BZ #14195]
8c4ae0d4
RM
5093 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5094 segmentation fault for a case of two empty input strings.
b3f479a8
LD
5095 * string/test-strncasecmp.c (check1): Renamed to...
5096 (bz12205): ...this.
5097 (bz14195): Add new testcase for two empty input strings and N > 0.
5098 (test_main): Call new testcase, adapt for renamed function.
5099
9c55864e
AJ
51002012-08-15 Andreas Jaeger <aj@suse.de>
5101
5102 [BZ #14090]
5103 * crypt/md5test2.c: New test, based on test supplied by Serge
5104 Belyshev <belyshev@depni.sinp.msu.ru>.
5105 * crypt/Makefile (xtests): Add md5test-giant..
5106 * crypt/Makefile ($(objpfx)md5test-giant): Add.
5107
02dcb6c5
PE
51082012-08-15 Paul Eggert <eggert@cs.ucla.edu>
5109
5110 [BZ #14090]
5111 * crypt/md5.c (md5_process_block): Don't assume the buffer
5112 length is less than 2**32.
5113 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5114 length is less than 2**64.
5115
a3f95dcc
RM
51162012-08-15 Roland McGrath <roland@hack.frob.com>
5117
be75d758
RM
5118 * string/str-two-way.h: Include <sys/param.h>.
5119 (MAX): Macro removed.
5120
7312ca90
RM
5121 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5122 Move #define and #undef of memmove to just before and after
5123 including <string.h>.
5124
9a0a5486
RM
5125 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5126 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5127 and after including <string.h>. Move declarations of
5128 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5129 to before #include "string/memmove.c".
5130
67cc348d
RM
5131 * include/dirent.h: Declare __getdirentries.
5132
a3f95dcc
RM
5133 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5134 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5135
ca98e171
MF
51362012-08-14 Mike Frysinger <vapier@gentoo.org>
5137
5138 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5139 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5140 * sysdeps/i386/configure: Regenerated.
5141 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5142 STABS_CURRENT_FILE, and STABS_FUN.
5143 (END): Remove call to STABS_FUN_END.
5144 (STABS_CURRENT_FILE1): Delete.
5145 (STABS_CURRENT_FILE): Likewise.
5146 (STABS_FUN): Likewise.
5147 (STABS_FUN_END): Likewise.
5148 (STABS_FUN2): Likewise.
5149 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5150 * sysdeps/x86_64/configure: Regenerated.
5151
5908bf46
RM
51522012-08-14 Roland McGrath <roland@hack.frob.com>
5153
5154 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 5155 * elf/dl-lookup.c: Likewise.
5908bf46 5156
f2c05b9e
JM
51572012-08-14 Joseph Myers <joseph@codesourcery.com>
5158
5159 * sysdeps/unix/sysv/linux/kernel-features.h
5160 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5161 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5162 unconditionally.
5163 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5164 unconditionally.
5165 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5166 condition on __ASSUME_CLONE_THREAD_FLAGS.
5167
e11f5155
AJ
51682012-08-14 Andreas Jaeger <aj@suse.de>
5169
5170 * sysdeps/i386/fpu/libm-test-ulps: Update.
5171
51a9ba86
MK
51722012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5173
2fdd4f78
AJ
5174 * include/atomic.h (atomic_exchange_and_add): Split into ...
5175 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5176 New atomic macros.
51a9ba86 5177
ba6cba9e
MT
51782012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5179
5180 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5181
42443a47
JL
51822012-08-13 Jeff Law <law@redhat.com>
5183
5184 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5185 null byte in the output string.
5186
121dce05
JM
51872012-08-10 Joseph Myers <joseph@codesourcery.com>
5188
5189 * sysdeps/unix/sysv/linux/kernel-features.h
5190 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5191 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5192 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5193 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5194 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5195 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5196 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5197
bf51f568
JL
51982012-08-09 Jeff Law <law@redhat.com>
5199
5200 [BZ #13939]
5201 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5202 When avoid_arena is set, don't retry in the that arena. Pick the
5203 next one, whatever it might be.
5204 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5205 (arena_lock): Pass in new parameter to arena_get2.
5206 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5207 arena_get2.
5208 (__libc_malloc): Unify retrying after main arena failure with
5209 __libc_memalign version.
5210 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5211
f85fa270
L
52122012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5213
5214 [BZ #14166]
5215 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5216 to __redirect_strstr.
5217 (__strstr_sse42): Use typeof __redirect_strstr.
5218 (__strstr_ia32): Likewise.
5219 (__libc_strstr): New prototype.
5220 (strstr): Renamed to ...
5221 (__libc_strstr): This.
5222 (strstr): New strong alias of __libc_strstr.
5223 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5224 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5225 __redirect_time.
5226 Include <time.h>.
5227 (__libc_time): New prototype.
5228 (time_ifunc): Replace time with __libc_time.
5229 (time): New strong alias and hidden definition of __libc_time.
5230 (__GI_time): Remove strong alias.
5231 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5232 Include <stddef.h>.
5233 (memmove): Redefined to __redirect_memmove.
5234 (__memmove_sse2): Use typeof __redirect_memmove.
5235 (__memmove_ssse3): Likewise.
5236 (__memmove_ssse3_back): Likewise.
5237 (__libc_memmove): New prototype.
5238 (memmove): Renamed to ...
5239 (__libc_memmove): This.
5240 (memmove): New strong alias of __libc_memmove.
5241
33b4a91e
MS
52422012-08-08 Mark Salter <msalter@redhat.com>
5243
5244 * elf/elf.h
5245 (R_MN10300_TLS_GD): Define.
5246 (R_MN10300_TLS_LD): Likewise.
5247 (R_MN10300_TLS_LDO): Likewise.
5248 (R_MN10300_TLS_GOTIE): Likewise.
5249 (R_MN10300_TLS_IE): Likewise.
5250 (R_MN10300_TLS_LE): Likewise.
5251 (R_MN10300_TLS_DTPMOD): Likewise.
5252 (R_MN10300_TLS_DTPOFF): Likewise.
5253 (R_MN10300_TLS_TPOFF): Likewise.
5254 (R_MN10300_SYM_DIFF): Likewise.
5255 (R_MN10300_ALIGN): Likewise.
5256 (R_MN10300_NUM): Update.
5257
b36137f1
JM
52582012-08-08 Joseph Myers <joseph@codesourcery.com>
5259
5260 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5261 Remove.
5262
cdd915fd
RM
52632012-08-08 Roland McGrath <roland@hack.frob.com>
5264
a2433aac
RM
5265 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5266
cdd915fd
RM
5267 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5268 sysdeps/unix -> sysdeps/posix move.
5269 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5270
bf9b740a
AM
52712012-08-07 Allan McRae <allan@archlinux.org>
5272
5273 [BZ #14303]
5274 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5275 (SUNOS_CPP): Likewise.
5276 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5277 not found.
5278 (open_input): Call CPP using execvp.
5279
93df14ee
JM
52802012-08-07 Joseph Myers <joseph@codesourcery.com>
5281
5282 * sysdeps/unix/sysv/linux/kernel-features.h
5283 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5284 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5285 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5286 (__ASSUME_WAITID_SYSCALL): Likewise.
5287 * sysdeps/unix/sysv/linux/dl-execstack.c
5288 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5289 code unconditional.
5290 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5291 conditional code.
5292 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5293 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5294 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5295 code.
5296 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5297 unconditional.
5298 [__ASSUME_WAITID_SYSCALL]: Likewise.
5299 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5300
d34689de
RM
53012012-08-07 Roland McGrath <roland@hack.frob.com>
5302
a281decc
RM
5303 * sysdeps/unix/closedir.c: Renamed to ...
5304 * sysdeps/posix/closedir.c: ... here.
5305 * sysdeps/unix/dirfd.c: Renamed to ...
5306 * sysdeps/posix/dirfd.c: ... here.
5307 * sysdeps/unix/dirstream.h: Renamed to ...
5308 * sysdeps/posix/dirstream.h: ... here.
5309 * sysdeps/unix/fdopendir.c: Renamed to ...
5310 * sysdeps/posix/fdopendir.c: ... here.
5311 * sysdeps/unix/opendir.c: Renamed to ...
5312 * sysdeps/posix/opendir.c: ... here.
5313 * sysdeps/unix/readdir.c: Renamed to ...
5314 * sysdeps/posix/readdir.c: ... here.
5315 * sysdeps/unix/readdir_r.c: Renamed to ...
5316 * sysdeps/posix/readdir_r.c: ... here.
5317 * sysdeps/unix/rewinddir.c: Renamed to ...
5318 * sysdeps/posix/rewinddir.c: ... here.
5319 * sysdeps/unix/seekdir.c: Renamed to ...
5320 * sysdeps/posix/seekdir.c: ... here.
5321 * sysdeps/unix/telldir.c: Renamed to ...
5322 * sysdeps/posix/telldir.c: ... here.
5323 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5324 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5325 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5326 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5327
22895b47
RM
5328 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5329 * bits/fcntl.h: ... here.
5330
707a53b6
RM
5331 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5332 not 0.
5333 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5334 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5335 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5336 (struct flock): Move l_start, l_len to the beginning.
5337 Use __pid_t for l_pid.
5338 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5339 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5340 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5341 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5342 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5343 [__USE_LARGEFILE64] (struct flock64): New type.
5344 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5345
f0bd3e25
RM
5346 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5347 * bits/dirent.h: ... here.
5348
d34689de
RM
5349 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5350 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5351
6dad2c06
JM
53522012-08-07 Joseph Myers <joseph@codesourcery.com>
5353
5354 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5355 Change from 2.6.0 to 2.6.16.
5356 * sysdeps/unix/sysv/linux/configure: Regenerated.
5357 * sysdeps/unix/sysv/linux/kernel-features.h
5358 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5359 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5360 version.
5361 (__ASSUME_UTIMES): Likewise.
5362 (__ASSUME_CLONE_STOPPED): Remove.
5363 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5364 architectures, not kernel version.
5365 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5366 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5367 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5368 (__ASSUME_WAITID_SYSCALL): Likewise.
5369 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5370 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5371 * README: State 2.6.16 as minimum Linux kernel version. Do not
5372 refer to older versions.
5373
03af9520
RM
53742012-08-06 Roland McGrath <roland@hack.frob.com>
5375
8e49df1d
RM
5376 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5377 Define alphasort64 as an alias.
5378 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5379 Define versionsort64 as an alias.
5380 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5381 Define scandir64 as an alias.
5382 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5383 Define scandirat64 as an alias.
5384 * dirent/alphasort64.c (alphasort64):
5385 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5386 * dirent/versionsort64.c: Likewise.
5387 * dirent/scandir64.c: Likewise.
5388 * dirent/scandirat64.c: Likewise.
5389 * sysdeps/wordsize-64/alphasort.c: File removed.
5390 * sysdeps/wordsize-64/alphasort64.c: File removed.
5391 * sysdeps/wordsize-64/scandir.c: File removed.
5392 * sysdeps/wordsize-64/scandir64.c: File removed.
5393 * sysdeps/wordsize-64/scandirat.c: File removed.
5394 * sysdeps/wordsize-64/scandirat64.c: File removed.
5395 * sysdeps/wordsize-64/versionsort.c: File removed.
5396 * sysdeps/wordsize-64/versionsort64.c: File removed.
5397 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5398 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5399 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5400 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5401 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5402 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5403 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5404 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5405
5406 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5407 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5408 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5409 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5410 [defined __arch64__ || defined __sparcv9]
5411 (__INO_T_MATCHES_INO64_T): New macro.
5412 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5413 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5414 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5415 * sysdeps/unix/sysv/linux/bits/dirent.h
5416 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5417 (_DIRENT_MATCHES_DIRENT64): New macro.
5418
03af9520
RM
5419 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5420 Define lockf64 as an alias.
5421 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5422 Define fseeko64 as an alias.
5423 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5424 Define ftello64 as an alias.
5425 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5426 Define _IO_fgetpos64 and fgetpos64 as aliases.
5427 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5428 Define _IO_fsetpos64 and fsetpos64 as aliases.
5429 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5430 Conditionalize body on this.
5431 * libio/fseeko64.c: Likewise.
5432 * libio/ftello64.c: Likewise.
5433 * libio/iofgetpos64.c: Likewise.
5434 * libio/iofsetpos64.c: Likewise.
5435 * sysdeps/wordsize-64/lockf.c: File removed.
5436 * sysdeps/wordsize-64/lockf64.c: File removed.
5437 * sysdeps/wordsize-64/fseeko.c: File removed.
5438 * sysdeps/wordsize-64/fseeko64.c: File removed.
5439 * sysdeps/wordsize-64/ftello.c: File removed.
5440 * sysdeps/wordsize-64/ftello64.c: File removed.
5441 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5442 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5443 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5444 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5445 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5446 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5447 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5448 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5449 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5450 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5451 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5452 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5453 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5454 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5455
5456 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5457 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5458 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5459 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5460 [defined __arch64__ || defined __sparcv9]
5461 (__OFF_T_MATCHES_OFF64_T): New macro.
5462 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5463 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5464 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5465 (__OFF_T_MATCHES_OFF64_T): New macro.
5466
c5757acd
L
54672012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5468
5469 * stdlib/secure-getenv.c (__secure_getenv): Replace
5470 GLIBC_2_16 with GLIBC_2_17.
5471
3a31811e
L
54722012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5473
5474 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5475 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5476
faa2bccb
DM
54772012-08-03 David S. Miller <davem@davemloft.net>
5478
5479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5480
85fe1997
JM
54812012-08-03 Joseph Myers <joseph@codesourcery.com>
5482
5483 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5484 Remove.
5485 (__ASSUME_CORRECT_SI_PID): Likewise.
5486 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5487 (__ASSUME_TMPFS_NAME): Likewise.
5488 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5489 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5490 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5491 (HAVE_AUX_SECURE): Make definition unconditional.
5492 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5493 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5494
4f75b7a0
RM
54952012-08-03 Roland McGrath <roland@hack.frob.com>
5496
5497 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5498 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5499 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5500 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5501 __eloop_threshold instead of SYMLOOP_MAX.
5502
5503 * sysdeps/generic/eloop-threshold.h: New file.
5504 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5505 of MAXSYMLINKS.
5506 * elf/chroot_canon.c (chroot_canon): Likewise.
5507
7aab07e4
JM
55082012-08-03 Joseph Myers <joseph@codesourcery.com>
5509
5510 [BZ #13717]
5511 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5512 Change to 2.6.0 everywhere.
5513 * sysdeps/unix/sysv/linux/configure: Regenerated.
5514 * sysdeps/unix/sysv/linux/kernel-features.h
5515 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5516 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5517 kernel versions.
5518 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5519 (__ASSUME_FUTEX_REQUEUE): Remove.
5520 (__ASSUME_STATFS64): Define unconditionally.
5521 (__ASSUME_AT_SECURE): Likewise.
5522 (__ASSUME_CORRECT_SI_PID): Likewise.
5523 (__ASSUME_TGKILL): Define without depending on kernel version for
5524 i386.
5525 (__ASSUME_UTIMES): Likewise.
5526 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5527 kernel version.
5528 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5529 (__ASSUME_TMPFS_NAME): Likewise.
5530 * README: Update reference to Linux kernel versions.
5531
b67e9372
MP
55322012-08-02 Marek Polacek <polacek@redhat.com>
5533
1f529f7d 5534 [BZ# 14150]
b67e9372
MP
5535 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5536 libc_cv_asm_type_prefix with %.
5537 * configure: Regenerated.
d2441631
RM
5538 * include/libc-symbols.h: Remove comment about
5539 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
5540 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5541 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5542 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5543 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5544 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5545 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5546 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5547 * elf/tst-unique2mod1.c: Likewise.
5548 * elf/tst-unique1mod2.c: Likewise.
5549 * elf/tst-unique1mod1.c: Likewise.
5550 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5551 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5552 Replace ASM_TYPE_DIRECTIVE with .type.
5553 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5554 * sysdeps/i386/sysdep.h: Likewise.
5555 * sysdeps/x86_64/sysdep.h: Likewise.
5556 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
5557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5558 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 5559 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
5560 * sysdeps/powerpc/powerpc32/sysdep.h:
5561 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
5562 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5563 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5564 * sysdeps/i386/fpu/e_powf.S: Likewise.
5565 * sysdeps/i386/fpu/e_expl.S: Likewise.
5566 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5567 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5568 * sysdeps/i386/fpu/e_pow.S: Likewise.
5569 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5570 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5571 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5572 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5573 * sysdeps/i386/fpu/e_log2.S: Likewise.
5574 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5575 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5576 * sysdeps/i386/fpu/e_powl.S: Likewise.
5577 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5578 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5579 * sysdeps/i386/fpu/e_logl.S: Likewise.
5580 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5581 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5582 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5583 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5584 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5585 * sysdeps/i386/fpu/e_log.S: Likewise.
5586 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5587 * sysdeps/i386/fpu/e_logf.S: Likewise.
5588 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5589 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5590 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5591 * sysdeps/i386/fpu/e_log10.S: Likewise.
5592 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5593 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5594 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5595 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5596 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5597 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5598 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5599 * sysdeps/i386/i686/strtok.S: Likewise.
5600 * sysdeps/i386/i386-mcount.S: Likewise.
5601 * sysdeps/i386/strtok.S: Likewise.
5602 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5603 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5604 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5605 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5606 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5607 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5608 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5609 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5610 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5611 * sysdeps/x86_64/_mcount.S: Likewise.
5612 * sysdeps/x86_64/strtok.S: Likewise.
5613 * sysdeps/sh/_mcount.S: Likewise.
5614
2747bf9a
RM
56152012-08-01 Roland McGrath <roland@hack.frob.com>
5616
5617 * libio/iofopen.c: Include <fcntl.h>.
5618 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5619 (_IO_fopen64, fopen64): Define as aliases.
5620 * libio/iofopen64.c: Include <fcntl.h>.
5621 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5622 Conditionalize body on this.
5623 * sysdeps/wordsize-64/iofopen.c: File removed.
5624 * sysdeps/wordsize-64/iofopen64.c: File removed.
5625
3fb791b8
MP
56262012-08-01 Marek Polacek <polacek@redhat.com>
5627
5628 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5629 Use dlfcn directly instead of a variable.
5630 (binfmt-subdir): Do not define.
5631 (dlfcn): Likewise.
5632
a9f1039f
JM
56332012-08-01 Joseph Myers <joseph@codesourcery.com>
5634
23bddc06
JM
5635 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5636 Remove all definitions.
5637 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5638 <kernel-features.h>.
5639 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5640 (miss_F_GETOWN_EX): Remove all definitions.
5641 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5642 macro definition.
5643 [!__ASSUME_FCNTL64]: Remove conditional code.
5644 [__ASSUME_FCNTL64]: Make code unconditional.
5645 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5646 <kernel-features.h>.
5647 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5648 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5649 (lockf64) [__NR_fcntl64]: Make code unconditional.
5650 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5651
a9f1039f
JM
5652 * sysdeps/unix/sysv/linux/kernel-features.h
5653 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5654 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5655 Make code unconditional.
5656 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5657 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5659 [__NR_vfork]: Make code unconditional.
5660 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5661 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5663 [__NR_vfork]: Make code unconditional.
5664 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5665 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5666
09c0ee5f
RM
56672012-08-01 Roland McGrath <roland@hack.frob.com>
5668
48aec5b9
RM
5669 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5670 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5671
cd97c966
RM
5672 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5673 Define mkstemp64 as an alias.
3f55550c
RM
5674 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5675 Define mkstemps64 as an alias.
cd97c966
RM
5676 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5677 Define mkostemp64 as an alias.
b8625cfc
RM
5678 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5679 Define mkostemps64 as an alias.
cd97c966
RM
5680 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5681 Conditionalize body on this.
5682 * misc/mkostemp64.c: Likewise.
b8625cfc 5683 * misc/mkostemps64.c: Likewise.
3f55550c 5684 * misc/mkstemps64.c: Likewise.
cd97c966
RM
5685 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5686 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5687 * sysdeps/wordsize-64/mkostemp.c: File removed.
5688 * sysdeps/wordsize-64/mkstemp.c: File removed.
5689 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5690 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5691 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5692 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5693
09c0ee5f
RM
5694 [BZ #14138]
5695 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5696 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5697 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5698 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5699
5700 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5701 compat_symbol macros from <shlib-compat.h> rather than the underlying
5702 default_symbol_version and symbol_version macros, so that DEFAULT
5703 lines in shlib-versions are respected.
5704 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5705
7e66ee51
FW
57062012-08-01 Florian Weimer <fweimer@redhat.com>
5707
5708 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5709 Declare with warn_unused_result.
5710 (setgid, setregid, setegid, setresgid): Likewise.
5711 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5712 Likewise.
5713 * WUR-REPORT: Remove set*id functions.
5714
d2a54255
PT
57152012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5716
5717 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5718
7ecdb005
RM
57192012-07-31 Roland McGrath <roland@hack.frob.com>
5720
789bd351
RM
5721 * include/sys/socket.h (__libc_accept, __libc_accept4):
5722 Add attribute_hidden.
5723 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5724
40ce302d
RM
5725 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5726 use of PTR_MANGLE.
5727 * inet/getnetgrent_r.c (setup): Likewise.
5728
7ecdb005
RM
5729 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5730
e2eabb2c
DM
57312012-07-31 David S. Miller <davem@davemloft.net>
5732
5733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5734
d0419dbf
JM
57352012-07-31 Joseph Myers <joseph@codesourcery.com>
5736
5737 [BZ #13629]
5738 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5739 value between 1.0 and 2.0 and smaller part has absolute value less
5740 than 1.0.
5741 * math/s_clog10.c (__clog10): Likewise.
5742 * math/s_clog10f.c (__clog10f): Likewise.
5743 * math/s_clog10l.c (__clog10l): Likewise.
5744 * math/s_clogf.c (__clogf): Likewise.
5745 * math/s_clogl.c (__clogl): Likewise.
5746 * math/libm-test.inc (clog_test): Add more tests.
5747 (clog10_test): Likewise.
5748 * sysdeps/i386/fpu/libm-test-ulps: Update.
5749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5750
2bc13872
FW
57512012-07-31 Florian Weimer <fweimer@redhat.com>
5752
5753 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5754 Exit with zero in case no suitable GID is found, and write a
5755 message to standard error.
5756
bea9b193
RM
57572012-07-30 Roland McGrath <roland@hack.frob.com>
5758
5759 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5760 rather than to 1.
5761 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5762 (MAXPATHLEN): Removed.
5763 (NOGROUP, NODEV): New macros.
5764 (setbit, clrbit, isset, isclr): New macros.
5765 (howmany, roundup, powerof2): New macros.
5766 (DEV_BSIZE): New macro.
5767
5768 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5769 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5770
5771 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5772 definition on [!__NO_LONG_DOUBLE_MATH].
5773
5774 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5775 PTR_MANGLE and PTR_DEMANGLE.
5776
5777 * socket/accept4.c (accept4): Rename to __libc_accept4.
5778 Define accept4 as a weak alias.
5779
5780 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5781 on [_DIRENT_HAVE_D_TYPE].
5782 * io/ftw.c (ftw_dir): Likewise.
5783
5784 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5785
5786 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5787
5788 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5789 Use the BSD numbers rather than the arbitrary ones we had.
5790 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5791 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5792 (SIGXCPU, SIGXFSZ): New macros.
5793 (_NSIG): Now 32.
5794
5795 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5796 initializer on [_LIBC_REENTRANT].
5797
5798 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5799 definitions inside [_POSIX_MAPPED_FILES].
5800
5801 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5802
5803 * dirent/opendir.c: Include <fcntl.h>.
5804
5805 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5806 (__libc_getspecific): Likewise.
5807 (__libc_key_create): Likewise.
5808
5809 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5810 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5811 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5812 (tmpfile64): Define as alias.
5813 * sysdeps/wordsize-64/tmpfile.c: File removed.
5814 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5815 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5816 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5817
5818 * stdio-common/vfscanf.c: Include <stdbool.h>.
5819 * nss/makedb.c: Likewise.
5820 * stdio-common/_i18n_number.h: Likewise.
5821 * argp/argp-help.c: Likewise.
5822 * posix/wordexp.c: Likewise.
5823 * sysdeps/posix/spawni.c: Likewise.
5824 * nss/nss_files/files-initgroups.c: Likewise.
5825 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5826 * nss/nss_files/files-initgroups.c: Likewise.
5827 * nss/nss_db/db-netgrp.c: Likewise.
5828 * nss/nss_db/db-initgroups.c: Likewise.
5829 * io/fchmodat.c: Include <sys/stat.h>.
5830
5831 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5832 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5833
5834 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5835 [HAVE_MMAP].
5836
5837 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5838 Add multiple inclusion protection.
5839
e5abc686
DM
58402012-07-27 David S. Miller <davem@davemloft.net>
5841
5842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5843
815e6fa3
GB
58442012-07-27 Gary Benson <gbenson@redhat.com>
5845
5846 [BZ #14298]
5847 * elf/rtld.c: Include <stap-probe.h>.
5848 (dl_main): Added static probes "init_start" and "init_complete".
5849 * elf/dl-load.c: Include <stap-probe.h>.
5850 (lose): Take new parameter "nsid".
5851 Added static probe "map_failed".
5852 (_dl_map_object_from_fd): Pass namespace id to lose.
5853 Added static probe "map_start".
5854 (open_verify): Pass namespace id to lose.
5855 * elf/dl-open.c: Include <stap-probe.h>.
5856 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5857 and "reloc_complete".
5858 * elf/dl-close.c: Include <stap-probe.h>.
5859 (_dl_close_worker): Added static probes "unmap_start" and
5860 "unmap_complete".
5861 * elf/rtld-debugger-interface.txt: New file documenting the above.
5862
9f98c16c
RM
58632012-07-26 Roland McGrath <roland@hack.frob.com>
5864
5865 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5866 rather than a string variable.
5867 * sunrpc/rpc_main.c (h_output): Likewise.
5868 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5869
f3c22df3
PT
58702012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5871
5872 * inet/check_native.c: New file.
5873
3129cfc6
JM
58742012-07-26 Joseph Myers <joseph@codesourcery.com>
5875
da865e95
JM
5876 [BZ #13629]
5877 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5878 if larger part has absolute value 1.0.
5879 * math/s_clog10.c (__clog10): Likewise.
5880 * math/s_clog10f.c (__clog10f): Likewise.
5881 * math/s_clog10l.c (__clog10l): Likewise.
5882 * math/s_clogf.c (__clogf): Likewise.
5883 * math/s_clogl.c (__clogl): Likewise.
5884 * math/libm-test.inc (clog_test): Add more tests.
5885 (clog10_test): Likewise.
5886 * sysdeps/i386/fpu/libm-test-ulps: Update.
5887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5888
3129cfc6
JM
5889 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5890 (pltexit): Likewise.
5891 (La_regs): Likewise.
5892 (La_retval): Likewise.
5893 (int_retval): Likewise.
5894 Update #error for removed macros to refer only to definitions in
5895 tst-audit.h.
5896 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5897 macro.
5898 (pltexit): Likewise.
5899 (La_regs): Likewise.
5900 (La_retval): Likewise.
5901 (int_retval): Likewise.
5902 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5903 macro.
5904 (pltexit): Likewise.
5905 (La_regs): Likewise.
5906 (La_retval): Likewise.
5907 (int_retval): Likewise.
5908 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5909 macro.
5910 (pltexit): Likewise.
5911 (La_regs): Likewise.
5912 (La_retval): Likewise.
5913 (int_retval): Likewise.
5914 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5915 macro.
5916 (pltexit): Likewise.
5917 (La_regs): Likewise.
5918 (La_retval): Likewise.
5919 (int_retval): Likewise.
5920 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5921 macro.
5922 (pltexit): Likewise.
5923 (La_regs): Likewise.
5924 (La_retval): Likewise.
5925 (int_retval): Likewise.
5926 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5927 macro.
5928 (pltexit): Likewise.
5929 (La_regs): Likewise.
5930 (La_retval): Likewise.
5931 (int_retval): Likewise.
5932 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5933 macro definitions in tst-audit.h.
5934 * sysdeps/i386/tst-audit.h: New file.
5935 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5936 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5937 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5938 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5939 * sysdeps/sh/tst-audit.h: Likewise.
5940 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5941 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5942 * sysdeps/x86_64/tst-audit.h: Likewise.
5943
bfc07087
AJ
59442012-07-26 Andreas Jaeger <aj@suse.de>
5945
b1b2aaf8
AJ
5946 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5947 ptrace.
5948
5949 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5950 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5951 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5952 PTRACE_O_MASK.
5953 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5954 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5955 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5956
bfc07087
AJ
5957 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5958 value.
5959
5960 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5961 _sigsys.
5962 (si_call_addr, si_syscall, si_arch): Define new macro.
5963 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5964 _sigsys.
5965 (si_call_addr, si_syscall, si_arch): Define new marcro.
5966 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5967 _sigsys.
5968 (si_call_addr, si_syscall, si_arch): Define new macro.
5969 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5970 _sigsys.
5971 (si_call_addr, si_syscall, si_arch): Define new macro.
5972
89b4b02f
JM
59732012-07-25 Joseph Myers <joseph@codesourcery.com>
5974
5975 [BZ #13717]
5976 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5977 Change to 2.4.21 where previously 2.4.1.
5978 * sysdeps/unix/sysv/linux/configure: Regenerated.
5979 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5980 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5981 Linux kernel version.
5982 (__ASSUME_STD_AUXV): Remove.
5983 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5984 kernel version.
5985 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5986 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5987 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5988 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5989 (__ASSUME_NETLINK_SUPPORT): Likewise.
5990 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5991 (__no_netlink_support): Remove conditional definition.
5992 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5993 Remove.
5994 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5995 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5996 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5997 (if_nameindex_ioctl): Remove.
5998 (if_nameindex_netlink): Do not handle __no_netlink_support.
5999 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6000 code.
6001 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6002 Remove conditional code.
6003 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6004 code.
6005 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6006 unconditional.
6007 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6008 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6009 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6010 Remove.
6011 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6012 [!__ASSUME_STD_AUXV]: Remove conditional code.
6013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6014 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6015 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6017 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6018 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6019 code.
6020 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6022 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6023 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6024 conditional code.
6025 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6027 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6028 code.
6029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6030 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6031 conditional code.
6032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6033 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6034 code unconditional.
6035 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6036 conditional code.
6037 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6038 unconditional.
6039 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6040 conditional code.
6041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6042 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6043 unconditional.
6044 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6045 conditional code.
6046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6047 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6048 code unconditional.
6049 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6050 conditional code.
6051 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6052 unconditional.
6053 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6054 conditional code.
6055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6056 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6057 code unconditional.
6058 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6059 conditional code.
6060 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6061 unconditional.
6062 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6063 conditional code.
6064
842a39cd
AS
60652012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6066
6067 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6068 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6069 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6070 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6071 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6072 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6073 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6074 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6075 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6076 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6077 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6078 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6079 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6080 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6081 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6082 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6083 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6084 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6085 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6086 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6087 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6088 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6089 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6090
84b3fd84
FW
60912012-07-25 Florian Weimer <fweimer@redhat.com>
6092
6093 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
6094 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6095 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6096 Introduce __libc_secure_getenv.
0c7936d5
FW
6097 * stdlib/Versions (2.17): Add secure_getenv
6098 (GLIBC_PRIVATE): Add __libc_secure_getenv.
6099 * stdlib/secure-getenv.c: Rename __secure_getenv to
6100 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
6101 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
6102 * stdlib/tst-secure-getenv.c: New.
6103 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
6104 * manual/startup.texi (Environment Access): Document
6105 secure_getenv.
84b3fd84
FW
6106 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6107 __libc_secure_getenv.
6108 * inet/ruserpass.c (ruserpass): Likewise.
6109 * malloc/mtrace.c (mtrace): Likewise.
6110 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 6111 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
6112 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6113 * sysdeps/posix/tempname.c: Likewise. Evaluate
6114 HAVE_SECURE_GETENV.
6115 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 6116 __secure_getenv to __libc_secure_getenv.
84b3fd84 6117 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
6118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6119 Likewise.
6120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6121 Likewise.
6122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6124 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 6129
56e49b71
JM
61302012-07-25 Joseph Myers <joseph@codesourcery.com>
6131
6132 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6133 (struct La_i86_retval): Likewise.
6134 (struct La_x86_64_regs): Likewise.
6135 (struct La_x86_64_retval): Likewise.
6136 (struct La_x32_regs): Likewise.
6137 (struct La_x32_retval): Likewise.
6138 (struct La_ppc32_regs): Likewise.
6139 (struct La_ppc32_retval): Likewise.
6140 (struct La_ppc64_regs): Likewise.
6141 (struct La_ppc64_retval): Likewise.
6142 (struct La_sh_regs): Likewise.
6143 (struct La_sh_retval): Likewise.
6144 (struct La_s390_32_regs): Likewise.
6145 (struct La_s390_32_retval): Likewise.
6146 (struct La_s390_64_regs): Likewise.
6147 (struct La_s390_64_retval): Likewise.
6148 (struct La_sparc32_regs): Likewise.
6149 (struct La_sparc32_retval): Likewise.
6150 (struct La_sparc64_regs): Likewise.
6151 (struct La_sparc64_retval): Likewise.
6152 (struct audit_ifaces): Remove architecture-specific pltenter and
6153 pltexit members.
6154 * sysdeps/i386/ldsodefs.h: New file.
6155 * sysdeps/powerpc/ldsodefs.h: Likewise.
6156 * sysdeps/s390/ldsodefs.h: Likewise.
6157 * sysdeps/sh/ldsodefs.h: Likewise.
6158 * sysdeps/sparc/ldsodefs.h: Likewise.
6159 * sysdeps/x86_64/ldsodefs.h: Likewise.
6160
354691b7
MP
61612012-07-25 Marek Polacek <polacek@redhat.com>
6162
6163 [BZ #6808]
6164 * math/libm-test.inc (yn_test): Add another test.
6165 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6166 to ERANGE when the result is +-Inf.
6167 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6168 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6169 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6170 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6171
bf9e2071
JM
61722012-07-24 Joseph Myers <joseph@codesourcery.com>
6173
6174 * conform/data/time.h-data (NULL): Use macro-constant. Require
6175 equal to 0.
6176 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6177 clock_t.
6178 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6179
57633811
TS
61802012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6181
6182 * configure.in <sysdeps resolving>: Correct printing
6183 Implies_before.
6184 * configure: Regenerate.
6185
c23c33b0
TS
61862012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6187
6188 * math/w_ilogb.c: Include <limits.h>.
6189 * math/w_ilogbl.c: Likewise.
6190
b5982523
JM
61912012-07-20 Joseph Myers <joseph@codesourcery.com>
6192
6193 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6194 va_copy. Document allowing for unavailable va_copy only as
6195 pre-C99 compatibility.
6196 * manual/string.texi (Copying and Concatenation): Use va_copy
6197 instead of __va_copy in concat example.
6198
ac4ea442
PT
61992012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6200
6201 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6202 (__sendto): Use create_address_port. Initialize APORT and deallocate
6203 it if not null.
6204
f98eafbd
PT
6205 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6206 with O_NOLINK passed to __file_name_lookup.
6207
898c7aab
PT
6208 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6209 with O_NOLINK passed to __file_name_lookup.
6210
0ced335a
PT
6211 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6212 negative N or less than NGIDS.
6213
b3404dbd
PT
6214 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6215 type to string_t. Set ERANGE as errno and return it if NAME is not big
6216 enough. Use memcpy instead of strncpy.
6217
0f48659e
JM
62182012-07-20 Joseph Myers <joseph@codesourcery.com>
6219
6220 * elf/Makefile (check-data): Remove.
6221 (localplt.data): New vpath directive.
6222 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6223 instead of $(check-data).
6224 * scripts/data/localplt-generic.data: Move to ...
6225 * sysdeps/generic/localplt.data: ... here.
6226 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6227 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6228 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6230 ... here.
6231 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6233 ... here.
6234 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6236 ... here.
6237 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6239 ... here.
6240 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6242 ... here.
6243 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6245 ... here.
6246
d37cbdaa
AZ
62472012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6248
6249 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6250 PPC32 and PPC64 files.
6251 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6252 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6253
46f85fc2
AK
62542012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6255
6256 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6257 __makecontext_ret to ...
6258 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6259 ... here and call exit if uc_link is NULL. New file.
6260 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6261 __makecontext_ret.S.
6262 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6263 __makecontext_ret to ...
6264 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6265 ... here and call exit if uc_link is NULL. New file.
6266 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6267 __makecontext_ret.S.
6268
08f43f9b
AK
62692012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6270
6271 * elf/elf.h (R_390_IRELATIVE): New definition.
6272 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6273 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6274 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6275 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6276 (elf_machine_lazy_rel): Likewise.
6277 * sysdeps/s390/dl-irel.h: New file.
6278 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6279 * sysdeps/s390/s390-64/memset.S: New asm code.
6280 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6281 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6282 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6283 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6284 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6285 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6286 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6287 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6288 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6289 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6290 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6291 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6292 * sysdeps/s390/s390-32/memset.S: New asm code.
6293 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6294
3b05db33
MP
62952012-07-17 Marek Polacek <polacek@redhat.com>
6296
6297 [BZ #14349]
6298 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6299 * sysdeps/s390/s390-64/configure.in: Likewise.
6300 * sysdeps/sparc/configure.in: Likewise.
6301 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6302 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6303 * sysdeps/i386/configure.in: Likewise.
6304 * sysdeps/x86_64/configure.in: Likewise.
6305 * sysdeps/sh/configure.in: Likewise.
6306 * sysdeps/s390/s390-32/configure: Regenerated.
6307 * sysdeps/s390/s390-64/configure: Likewise.
6308 * sysdeps/x86_64/configure: Likewise.
6309 * sysdeps/sh/configure: Likewise.
6310 * sysdeps/powerpc/powerpc64/configure: Likewise.
6311 * sysdeps/powerpc/powerpc32/configure: Likewise.
6312 * sysdeps/sparc/configure: Likwise.
6313 * sysdeps/i386/configure: Likewise.
6314
a66877c6
MP
6315 * elf/dl-open.c: Comment fixes.
6316
cfc82fd8
JM
63172012-07-17 Joseph Myers <joseph@codesourcery.com>
6318
bd29910a
JM
6319 * Makefile [CXX] (check-data): Remove.
6320 [CXX] (c++-types.data): New vpath directive.
6321 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6322 vpath. Do not allow for C++ type data being missing.
6323 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6324 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6325 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6326 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6327 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6328 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6329 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6331 ... here.
6332 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6334 ... here.
6335 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6337 ... here.
6338 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6340 ... here.
6341 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6342 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6343 ... here.
6344 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6346 ... here.
6347 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6348 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6349 ... here.
6350 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6352
cfc82fd8
JM
6353 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6354 definitions to architecture-specific files.
6355 (TLS_IE): Likewise.
6356 (TLS_LD): Likewise.
6357 (TLS_GD): Likewise.
6358 * sysdeps/i386/tls-macros.h: New file.
6359 * sysdeps/powerpc/tls-macros.h: Likewise.
6360 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6361 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6362 * sysdeps/sh/tls-macros.h: Likewise.
6363 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6364 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6365 * sysdeps/x86_64/tls-macros.h: Likewise.
6366
f7db3170
TS
63672012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6368
07cbfc23
TS
6369 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6370 zero value for regular exit case.
6371
f7db3170
TS
6372 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6373 (__start_context): Preserve zero value for regular exit case.
6374
dc97c227
TS
63752012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6376 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6377
6378 * manual/setjmp.texi (setcontext): Clarify normal process
6379 termination when uc_link is the null pointer.
6380 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6381 exit call.
6382
d0cd7d02
AS
63832012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6384
6385 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6386 preprocessor. Test for each exception mask separately.
6387
dd318934
AJ
63882012-07-16 Andreas Jaeger <aj@suse.de>
6389
6390 * po/ru.po: Update from translation team.
6391
8048311a
JM
63922012-07-15 Joseph Myers <joseph@codesourcery.com>
6393
6394 * conform/data/string.h-data (NULL): Use macro-constant. Require
6395 equal to 0.
6396 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6397 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6398 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6399 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6400 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6401
b637d46e
AJ
64022012-07-13 Andreas Jaeger <aj@suse.de>
6403
6404 * po/fr.po: Update from translation team.
6405
541428fe
MP
64062012-07-12 Marek Polacek <polacek@redhat.com>
6407
6408 [BZ #14173]
6409 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6410 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6411 loop condition.
6412
ec332e94
JM
64132012-07-12 Joseph Myers <joseph@codesourcery.com>
6414
6415 [BZ #13717]
6416 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6417 Change to 2.4.1 where previously 2.4.0.
6418 * sysdeps/unix/sysv/linux/configure: Regenerated.
6419 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6420 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6421 version.
6422 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6423 (__ASSUME_AT_CLKTCK): Remove.
6424 (__ASSUME_AT_PAGESIZE): Likewise.
6425 (__ASSUME_AT_XID): Likewise.
6426 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6427 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6428 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6429 unconditionally.
6430 (HAVE_AUX_PAGESIZE): Likewise.
6431 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6432 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6433 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6434
7b6e99be
JB
64352012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6436
6437 [BZ #14307]
6438 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6439 the temporary buffer used to invoke __gethostbyname2_r,
6440 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6441 host_data / struct gaih_addrtuple.
6442 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6443 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6444 header file nss/nsswitch.h.
6445 * nss/nsswitch.h (global scope): Add definition of implementation
6446 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6447 resolv/nss_dns/dns-host.c).
6448
608404eb
AJ
64492012-07-11 Andreas Jaeger <aj@suse.de>
6450
6451 * po/fr.po: Update from translation team.
6452
71220aca
AJ
6453 * po/sv.po: Update from translation team
6454 * po/fr.po: Another update from translation team.
6455
28cfe843
AZ
64562012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6457
6458 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6459 for subnormals or multiply small sinh result by itself.
6460 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6462
6b90f981
DM
64632012-07-11 David S. Miller <davem@davemloft.net>
6464
6465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6466
c6825772
AS
64672012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6468
6469 [BZ #14347]
6470 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6471 (INTERNAL_MARK): Shift it here.
6472
7b8e0d49
MP
64732012-07-10 Marek Polacek <polacek@redhat.com>
6474
6475 [BZ #14151]
6476 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6477 libc_cv_asm_global_directive with .globl.
6478 * configure: Regenerated.
6479 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6480 with .globl.
6481 * sysdeps/i386/configure: Regenerated.
6482 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6483 with .globl.
6484 * sysdeps/x86_64/configure: Regenerated.
6485 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6486 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6487 * elf/tst-unique2mod2.c: Likewise.
6488 * elf/tst-unique2mod1.c: Likewise.
6489 * elf/tst-unique1mod2.c: Likewise.
6490 * elf/tst-unique1mod1.c: Likewise.
6491 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6492 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6493 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6494 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6495 * sysdeps/mach/sysdep.h: Likewise.
6496 * sysdeps/i386/sysdep.h: Likewise.
6497 * sysdeps/i386/i386-mcount.S: Likewise.
6498 * sysdeps/x86_64/_mcount.S: Likewise.
6499 * sysdeps/x86_64/sysdep.h: Likewise.
6500 * sysdeps/sh/_mcount.S: Likewise.
6501 * sysdeps/sh/sysdep.h: Likewise.
6502 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6503 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6504 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6505 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6506 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6507 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6508 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6509 * locale/localeinfo.h: Likewise.
6510 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6511 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6512
6c55cda3
RM
65132012-07-09 Roland McGrath <roland@hack.frob.com>
6514
6515 [BZ #14336]
6516 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6517 system".
6518 * manual/message.texi (The Uniforum approach): Likewise.
6519 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6520 (glibc iconv Implementation): Likewise.
6521
638a572e
JM
65222012-07-09 Joseph Myers <joseph@codesourcery.com>
6523
6524 [BZ #14337]
6525 * math/s_clog.c (__clog): Avoid scaling a value down where that
6526 could result in underflow.
6527 * math/s_clog10.c (__clog10): Likewise.
6528 * math/s_clog10f.c (__clog10f): Likewise.
6529 * math/s_clog10l.c (__clog10l): Likewise.
6530 * math/s_clogf.c (__clogf): Likewise.
6531 * math/s_clogl.c (__clogl): Likewise.
6532 * math/libm-test.inc (clog_test): Add more tests.
6533 (clog10_test): Likewise.
6534 * sysdeps/i386/fpu/libm-test-ulps: Update.
6535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6536
261f4859
AS
65372012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6538
0abaf3e4
AS
6539 [BZ #14283]
6540 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6541 by 7 not 8 to examine high bit of fractional part.
6542
261f4859
AS
6543 [BZ #14042]
6544 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6545 for call to __mcount_internal.
6546 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6547 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6548 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6549
f17ac40d
JM
65502012-07-06 Joseph Myers <joseph@codesourcery.com>
6551
9ad63c23
JM
6552 [BZ #14154]
6553 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6554 approximation for values within 0x1p-13f of an odd multiple of
6555 pi/4.
6556 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6557 exception. Add more tests.
6558 * sysdeps/i386/fpu/libm-test-ulps: Update.
6559
f17ac40d
JM
6560 [BZ #6778]
6561 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6562 inputs and return -1 for them. Do not check for +Inf in case not
6563 reachable for +Inf.
6564 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6565 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6566 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6567 and return -1 for them. Do not check for +Inf in case not
6568 reachable for +Inf.
6569 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6570 define.
6571 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6572 and return -1 for them. Do not check for +Inf in case not
6573 reachable for +Inf.
6574 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6575 spurious underflow.
6576 * sysdeps/i386/fpu/libm-test-ulps: Update.
6577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6578
fb21f89b
MF
65792012-07-06 Mike Frysinger <vapier@gentoo.org>
6580
6581 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6582
cdfe2c5e
JM
65832012-07-05 Joseph Myers <joseph@codesourcery.com>
6584
6585 [BZ #14157]
6586 [BZ #14331]
6587 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6588 could result in spurious underflow. Scale down values above
6589 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6590 * math/s_csqrtf.c (__csqrtf): Likewise.
6591 * math/s_csqrtl.c (__csqrtl): Likewise.
6592 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6593 spurious underflow.
6594 * sysdeps/i386/fpu/libm-test-ulps: Update.
6595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6596
70d35b67
AS
65972012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6598
704bc459
AS
6599 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6600 xopen-msg.sed.
6601 * catgets/xopen-msg.awk: New file.
6602 * catgets/xopen-msg.sed: Removed.
6603
70d35b67
AS
6604 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6605 po2text.sed.
6606 * intl/po2test.awk: New file.
6607 * intl/po2test.sed: Removed.
6608
ca61cf32
JM
66092012-07-04 Joseph Myers <joseph@codesourcery.com>
6610
6611 [BZ #14328]
6612 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6613 or multiply small sinh result by itself.
6614 * math/s_ctanf.c (__ctanf): Likewise.
6615 * math/s_ctanh.c (__ctanh): Likewise.
6616 * math/s_ctanhf.c (__ctanhf): Likewise.
6617 * math/s_ctanhl.c (__ctanhl): Likewise.
6618 * math/s_ctanl.c (__ctanl): Likewise.
6619 * math/libm-test.inc (ctan_test_tonearest): New function.
6620 (ctan_test_towardzero): Likewise.
6621 (ctan_test_downward): Likewise.
6622 (ctan_test_upward): Likewise.
6623 (ctanh_test_tonearest): Likewise.
6624 (ctanh_test_towardzero): Likewise.
6625 (ctanh_test_downward): Likewise.
6626 (ctanh_test_upward): Likewise.
6627 (main): Call these new functions.
6628 * sysdeps/i386/fpu/libm-test-ulps: Update.
6629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6630
ca48a46a
MF
66312012-07-03 Mike Frysinger <vapier@gentoo.org>
6632
6633 * .gitignore: Delete /ports entry.
6634
9d63d37d
AJ
66352012-07-03 Andreas Jaeger <aj@suse.de>
6636
6637 * po/bg.po: Update from translation team.
6638 * po/cs.po: Likewise.
6639 * po/de.po: Likewise.
6640 * po/hr.po: Likewise.
6641 * po/nl.pl: Likewise.
6642 * po/pl.po: Likewise.
6643 * po/vi.po: Likewise.
6644
370ca3d2
JM
66452012-07-03 Joseph Myers <joseph@codesourcery.com>
6646
95f5a9a8
JM
6647 * Makeconfig [!+link] (+link-before-libc): New variable.
6648 [!+link] (+link-after-libc): Likewise.
6649 [!+link] (+link-tests): Likewise.
6650 [!+link] (+link): Define in terms of $(+link-before-libc) and
6651 $(+link-after-libc).
6652 [!+link-static] (+link-static-before-libc): New variable.
6653 [!+link-static] (+link-static-after-libc): Likewise.
6654 [!+link-static] (+link-static-tests): Likewise.
6655 [!+link-static] (+link-static): Define in terms of
6656 $(+link-static-before-libc) and $(+link-static-after-libc).
6657 [build-shared] (link-libc-before-gnulib): New variable.
6658 [build-shared] (link-libc-tests): Likewise.
6659 [build-shared] (link-libc): Define in terms of
6660 $(link-libc-before-gnulib).
6661 [!build-shared] (link-libc-tests): New variable.
6662 (link-libc-static-tests): New variable.
6663 [!gnulib] (gnulib-arch): New variable.
6664 [!gnulib] (gnulib-tests): Likewise.
6665 [!gnulib] (static-gnulib-arch): Likewise.
6666 [!gnulib] (static-gnulib-tests): Likewise.
6667 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6668 Define with "=" instead of ":=".
6669 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6670 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6671 * Rules (binaries-all-notests): New variable.
6672 (binaries-all-tests): Likewise.
6673 (binaries-static-notests): Likewise.
6674 (binaries-static-tests): Likewise.
6675 (binaries-all): Define using $(binaries-all-notests) and
6676 $(binaries-all-tests).
6677 (binaries-static): Define using $(binaries-static-notests) and
6678 $(binaries-static-tests).
6679 (binaries-shared-tests): New variable.
6680 (binaries-shared-notests): Likewise.
6681 (binaries-shared): Remove variable.
6682 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6683 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6684 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6685 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6686 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6687 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6688 * elf/Makefile (sln-modules): New variable.
6689 (extra-objs): Add $(sln-modules:=.o).
6690 (ldconfig-modules): Add static-stubs.
6691 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6692 * elf/static-stubs.c: New file.
6693
7a845b2c
JM
6694 [BZ #14283]
6695 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6696 by 7 not 8 to examine high bit of fractional part. Use volatile
6697 variables when splitting into final array of floats if
6698 __FLT_EVAL_METHOD__ != 0.
6699 * math/libm-test.inc (cos_test): Add another test.
6700 (sin_test): Likewise.
6701 * sysdeps/i386/fpu/libm-test-ulps: Update.
6702
e2283f38
JM
6703 [BZ #14273]
6704 * math/libm-test.inc (cosh_test): Add more tests.
6705
370ca3d2
JM
6706 * version.h (RELEASE): Set to "development".
6707 (VERSION): Set to "2.16.90".
6708
ee9247c3
CD
67092012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6710
6711 * NEWS: Update copyright. Remove last-updated date.
6712 Mention math library bug fixes and timezone data changes.
6713 * README: Mention GNU/Hurd, x32, and HPPA support status.
6714
4648c381
TS
67152012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6716
6717 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6718
aac78a43
AJ
67192012-06-27 Andreas Jaeger <aj@suse.de>
6720
6721 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6722
ed3dbfad
AJ
67232012-06-25 Andreas Jaeger <aj@suse.de>
6724
6725 * sysdeps/s390/fpu/libm-test-ulps: Update.
6726
4d0ee855
AS
67272012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6728 Thomas Schwinge <thomas@codesourcery.com>
6729
6730 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6731 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6732 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6733 fanotify_mark.
6734
af1bce34
TS
67352012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6736
a9fa33ba
TS
6737 * sysdeps/mach/start.c: Remove file.
6738 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6739 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6740 * sysdeps/sh/init-first.c: Likewise.
6741
58f902b8
TS
6742 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6743 registers for frame unwinding purposes, add CFI directives.
6744 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6745 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6746 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6747 Likewise.
6748
1518f58b
TS
6749 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6750 __fortify_fail returning.
6751 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6752
db9b5059
TS
6753 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6754 sysdeps/sh/____longjmp_chk.S.
6755 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6756 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6757 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6758 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6759
967705fe
TS
6760 * sysdeps/sh/abort-instr.h: New file.
6761 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6762 process in case exit returns.
6763
a9def8c4
TS
6764 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6765 initialize the GOT register before use.
6766
2a649725
TS
6767 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6768 calculation of ARGC > 4.
6769
af1bce34
TS
6770 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6771 meaningful names to some local labels.
6772
d230f50a
KK
67732012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6774 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6775
6776 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6777 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6778 (__arch_compare_and_exchange_val_16_acq): Likewise.
6779 (__arch_compare_and_exchange_val_32_acq): Likewise.
6780 (atomic_exchange_and_add): Fix gUSA sequence.
6781 (atomic_add): Likewise.
6782 (atomic_add_negative): Likewise.
6783 (atomic_add_zero): Likewise.
6784 (atomic_bit_test_set): Likewise.
6785
0479b305
AS
67862012-06-22 Andreas Schwab <schwab@redhat.com>
6787
6788 [BZ #13579]
6789 * include/link.h (struct link_map): Add l_free_initfini.
6790 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6791 l_initfini.
6792 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6793 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6794 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6795 set.
6796
0e3933b9
CD
67972012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6798
6799 * configure.in: Use AC_LANG_SOURCE.
6800 * configure: Regenerate.
6801
4248b1b1
RM
68022012-06-22 Roland McGrath <roland@hack.frob.com>
6803
6804 * configure.in (libc_cv_localstatedir): New substituted variable.
6805 * configure: Regenerated.
6806 * config.make.in (localstatedir): New variable, substituted from
6807 libc_cv_localstatedir.
6808 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6809 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6810 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6811 * sysdeps/gnu/configure: Regenerated.
6812
006dd861
JL
68132012-06-21 Jeff Law <law@redhat.com>
6814
6815 [BZ #14277]
6816 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6817 free. Simplify list management for _LIBC case.
6818
79662d42
JM
68192012-06-21 Joseph Myers <joseph@codesourcery.com>
6820
b7abb4bf
JM
6821 [BZ #14273]
6822 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6823 Clear sign bit of 64-bit integer value before comparing against
6824 overflow value.
6825
79662d42
JM
6826 * sysdeps/mach/configure: Regenerated.
6827
1f150908
L
68282012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6829
6830 [BZ #14278]
6831 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6832
28363bbf
JL
68332012-06-21 Jeff Law <law@redhat.com>
6834
6835 [BZ #13882]
6836 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6837 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 6838 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
6839 * elf/dl-open.c (dl_open_worker): Likewise.
6840
09615db4
CD
68412012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6842
6843 * scripts/list-sources.sh: Scan PORTS for translations.
6844 * po/libc.pot: Regenerated.
6845
2174c6dd
AJ
68462012-06-21 Andreas Jaeger <aj@suse.de>
6847
6848 [BZ #12194]
6849 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6850 warning.
6851 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6852 * bits/byteswap-16.h (__bswap_16): Likewise.
6853 * bits/byteswap.h (__bswap_constant_16): Likewise.
6854
3ee947b1
L
68552012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6856
6857 [BZ #14117]
a2f34833
L
6858 * sysdeps/i386/fpu_control.h: Removed.
6859 * sysdeps/x86_64/fpu_control.h: Moved to ...
6860 * sysdeps/x86/fpu_control.h: Here.
6861
3ee947b1
L
6862 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6863 (_FPU_SETCW): Likewise.
6864
ed1825f8
L
68652012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6866
25f1282a
L
6867 [BZ #14117]
6868 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6869 * sysdeps/x86/fpu/bits/mathinline.h: This.
6870 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6871
ed1825f8
L
6872 [BZ #14050]
6873 [BZ #14117]
6874 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6875 functions if __x86_64__ is defined.
6876
36d54b74
CLT
68772012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6878
6879 * string/endian.h: Add !__ASSEMBLER__ condition for including
6880 conversion interfaces.
6881
10285c21
JM
68822012-06-15 Joseph Myers <joseph@codesourcery.com>
6883
6884 [BZ #14241]
6885 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6886 of ABS(x) in calculating zero to negative powers other than odd
6887 integers.
6888 * math/libm-test.inc (pow_test): Add more tests.
6889
06c5abbd
AJ
68902012-06-15 Andreas Jaeger <aj@suse.de>
6891
6892 * manual/contrib.texi (Contributors): Update entry of Liubov
6893 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6894 Machado Filho.
6895
a3aeac40
CH
68962012-06-15 Cyril Hrubis <metan@ucw.cz>
6897
6898 * string/string.h: Add __wur to GNU version of strerror_r.
6899
49bdf4c1
L
69002012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6901
6902 [BZ #14229]
6903 * string/Makefile (tests): Add tst-strtok_r.
6904 * string/tst-strtok_r.c: New file.
6905 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6906 RAX_LP/RDX_LP on SAVE_PTR.
6907
834f9b8d
RM
69082012-06-14 Roland McGrath <roland@hack.frob.com>
6909
6910 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6911
75fa1921
JM
69122012-06-14 Joseph Myers <joseph@codesourcery.com>
6913
6914 * libm_test.inc (csqrt_test): Allow more spurious underflow
6915 exceptions.
6916 (j0_test): Likewise.
6917 (j1_test): Likewise.
6918 (y0_test): Likewise.
6919 (y1_test): Likewise.
6920
771766df
CD
69212012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6922
6923 * po/Makefile (libc.pot): Use UTF-8 charset.
6924
ceb9e56b
PP
69252012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6926
6927 [BZ #14210]
6928 Suppress sign-conversion warning from FD_SET.
6929 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6930 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6931 not unsigned long int.
6932 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6933
ddb28975
L
69342012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6935
6936 [BZ #14050]
6937 [BZ #14117]
6938 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6939 __extern_always_inline instead of __extern_inline.
6940 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6941 (__signbit): Likewise.
6942 (__signbitl): Support C++ namespace.
6943 (lrintf): New inline function.
6944 (lrint): Likewise.
6945 (llrintf): Likewise.
6946 (llrint): Likewise.
6947 (fmaxf): Likewise.
6948 (fmax): Likewise.
6949 (fminf): Likewise.
6950 (fmin): Likewise.
6951 (rint): Likewise.
6952 (rintf): Likewise.
6953 (ceil): Likewise.
6954 (ceilf): Likewise.
6955 (floor): Likewise.
6956 (floorf): Likewise.
6957 (nearbyint): Likewise.
6958 (nearbyintf): Likewise.
6959
d7b4fb26
TS
69602012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6961
6962 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6963 non-default versions.
6964
eb55f5c2
RM
69652012-06-11 Roland McGrath <roland@hack.frob.com>
6966
6967 [BZ #14218]
6968 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6969
366af02c
TS
69702012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6971
99ff6e5c
TS
6972 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6973 (FE_UPWARD, FE_DOWNWARD): Don't define.
6974 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6975 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6976
366af02c
TS
6977 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6978 reading it.
6979 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6980 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6981
793ea851
KK
69822012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6983
6984 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6985 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6986 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6987 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6988
a728a38f
L
69892012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6990
6991 [BZ #14117]
c08010c7
L
6992 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6993 * sysdeps/i386/fpu/Implies: New file.
6994 * sysdeps/x86_64/fpu/Implies: Likewise.
6995 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6996 * sysdeps/x86/fpu/bits/fenv.h: This.
6997
a728a38f
L
6998 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6999 __SSE_MATH__.
7000
6e230d11
SP
70012012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7002
7003 [BZ #14134]
7004 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7005 character 0xffff that matches the last element of the
7006 conversion table.
7007
1b671feb
AZ
70082012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7009
7010 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7011 fmodl commit.
7012
6043738b
AZ
70132012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7014
7015 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7016 values higher than 25.6283.
7017
34ae0b32
AZ
70182012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7019
7020 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7021 subnormal exponent extraction and add some __builtin_expect.
7022 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7023 Fix for subnormal mantissa calculation.
7024
1214ec8f
MF
70252012-06-04 Mike Frysinger <vapier@gentoo.org>
7026
7027 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7028 cpu2 is -1 and errno is not ENOSYS.
7029
f3d1f93c
L
70302012-06-04 H.J. Lu <hongjiu.lu@intel.com>
7031
7032 [BZ #14117]
0e4a3cd7
L
7033 * sysdeps/i386/i486/bits/string.h: Renamed to ...
7034 * sysdeps/x86/bits/string.h: This.
7035 * sysdeps/x86_64/bits/string.h: Removed.
7036
6704c645
L
7037 * sysdeps/i386/i486/bits/string.h: Define inline functions only
7038 if not compiling for x86-64, but compiling for >= i486.
7039
48495318
L
7040 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7041 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7042
14adcbfc
L
7043 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7044 New macro from Linux kernel 3.4.0.
7045 (FP_XSTATE_MAGIC2): Likewise.
7046 (FP_XSTATE_MAGIC2_SIZE): Likewise.
7047 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7048 (struct _fpx_sw_bytes): New struct.
7049 (struct _xsave_hdr): Likewise.
7050 (struct _ymmh_state): Likewise.
7051 (struct _xstate): Likewise.
7052
68e408ab
L
7053 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7054 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7055 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7056 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7057 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7058 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7059
f3d1f93c
L
7060 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7061 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7062 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7063 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7064 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7065 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7066
d9dc34cd
TMQMF
70672012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7068
7069 [BZ #13743]
7070 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7071 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7072 (sysdep_headers): Include sys/platform/ppc.h.
7073 * sysdeps/powerpc/test-gettimebase.c: Test for
7074 __ppc_get_timebase() to catch future ISA opcode/insn changes.
7075 * manual/Makefile (appendices): Include platform.texi.
7076 * manual/contrib.texi (Contributors): Update @node pointers.
7077 * manual/maint.texi (Maintenance): Likewise.
7078 (Platform): New node.
7079 * manual/platform.texi: New file. Document the new features.
7080
4af3879c
SP
70812012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7082 Jakub Jelinek <jakub@redhat.com>
7083
7084 [BZ #14188]
7085 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7086 where __builtin_expect is unavailable.
7087
2fd6ff13
DM
70882012-06-03 David S. Miller <davem@davemloft.net>
7089
7090 * stdlib/longlong.h: Updated from GCC.
7091
173f7220
AS
70922012-06-02 Andreas Schwab <schwab@linux-m68k.org>
7093
7094 [BZ #14042]
7095 * sysdeps/powerpc/powerpc32/mcount.c: New file.
7096 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7097 __mcount_internal.
7098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7099 (GLIBC_2.16): Likewise.
7100
f34a1c6f
L
71012012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7102
7103 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7104
88a4576f
JM
71052012-06-01 Joseph Myers <joseph@codesourcery.com>
7106
ea32bcdd
JM
7107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7108 (default-abi): New variable.
7109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7110 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7111 variable.
7112 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7113 Likewise.
7114 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7115 Likewise.
7116 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7117 Likewise.
7118
88a4576f
JM
7119 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7120 definition. Document in comment.
7121
402fe938
DM
71222012-06-01 David S. Miller <davem@davemloft.net>
7123
7124 * stdlib/longlong.h: Updated from GCC.
7125
3553723f
L
71262012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7127
7128 [BZ #14117]
3bd872c4
L
7129 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7130 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7131 sys/debugreg.h sys/io.h here.
7132 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7133 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7134 sys/io.h.
7135 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7136 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7137 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7138 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7139 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7140 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7141
3553723f
L
7142 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7143 Define only if __x86_64__ is defined.
7144
4842e4fe
JM
71452012-06-01 Joseph Myers <joseph@codesourcery.com>
7146
c5bfe3d5
JM
7147 [BZ #14048]
7148 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7149 Use int64_t for variable i.
7150 * math/libm-test.inc (fmod_test): Add more tests.
7151
4842e4fe
JM
7152 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7153 z computation is not scheduled after fetestexcept.
7154 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7155 Use math_force_eval instead of asm to ensure calculation scheduled
7156 before exception test.
7157 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7158 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7159
efb73488
AJ
71602012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7161
7162 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7163 computation is not scheduled after fetestexcept.
7164
29bcce7c
L
71652012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7166
7167 [BZ #14117]
7168 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7169 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7170
73a68f94
AZ
71712012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7172
7173 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7174 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7175
67b6df78
L
71762012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7177
edf2933a 7178 [BZ #14117]
ebc64a18
L
7179 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7180 <bits/wordsize.h>.
7181 (__WCHAR_MIN): Support __WORDSIZE == 64.
7182 (__WCHAR_MAX): Likewise.
7183
edf2933a
L
7184 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7185 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7186
57c6cf40
L
7187 [BZ #14183]
7188 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7189 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7190
67b6df78 7191 [BZ #14117]
8eb6281e
L
7192 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7193 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7194
aac639f4
L
7195 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7196 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7197
67b6df78
L
7198 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7199 Defined to 1 if __x86_64__ isn't defined.
7200 (_STAT_VER_LINUX_OLD): New.
7201 (st_atime): Remove duplicate.
7202 (st_mtime): Likewise.
7203 (st_ctime): Likewise.
7204
1c2cfe81
DM
72052012-05-31 David S. Miller <davem@davemloft.net>
7206
7207 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7208 entries.
7209
5be8418c
AS
72102012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7211
e7725326
AS
7212 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7213 gen-libm-test.pl.
7214
5be8418c
AS
7215 [BZ #14132]
7216 * elf/dl-reloc.c: Include <_itoa.h>.
7217 (_dl_reloc_bad_type): Remove use of INTUSE.
7218 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7219 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7220 * stdio-common/psiginfo.c (psiginfo): Likewise.
7221 * stdio-common/psignal.c (psignal): Likewise.
7222 * string/strsignal.c (strsignal): Likewise.
7223 * include/signal.h (_sys_siglist): Declare hidden proto.
7224 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7225 INTVARDEF with libc_hidden_data_def.
7226 * stdio-common/itoa-udigits.c: Likewise.
7227 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7228 (_itoa_lower_digits_internal): Remove declaration.
7229 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7230 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7231 (_sys_sigabbrev_internal): Remove aliases.
7232 (_sys_siglist): Define hidden alias.
7233
507352f1
MT
72342012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7235
7236 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7237 bits/sysctl.h.
7238
42bbb1c3
L
72392012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7240
7241 [BZ #14117]
6bd784b6
L
7242 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7243 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7244
8bca20f0
L
7245 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7246 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7247 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7248 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7249 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7250 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7251
f9e890a9
L
7252 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7253 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7254 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7255
471101a1
L
7256 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7257 with __addr.
7258 (insw): Likewise.
7259 (insl): Likewise.
7260 (outsb): Likewise.
7261 (outsw): Likewise.
7262 (outsl): Likewise.
7263
6451c862
L
7264 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7265 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7266 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7267
a254b8c9
L
7268 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7269 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7270 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7271 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7272 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7273 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7274
b8dfdd92
L
7275 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7276 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7277
578cd270
L
7278 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7279 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7280
de662f5f
L
7281 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7282 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7283 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7284
25653439
L
7285 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7286 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7287 to ...
7288 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7289
6bad24a0
L
7290 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7291 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7292 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7293
42bbb1c3
L
7294 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7295 for x86-64.
7296 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7297
2d10d547
JM
72982012-05-31 Joseph Myers <joseph@codesourcery.com>
7299
7300 * math/math.h (M_El): Use two more decimal places.
7301 (M_LOG2El): Likewise.
7302 (M_LOG10El): Likewise.
7303 (M_LN2l): Likewise.
7304 (M_LN10l): Likewise.
7305 (M_PIl): Likewise.
7306 (M_PI_2l): Likewise.
7307 (M_PI_4l): Likewise.
7308 (M_1_PIl): Likewise.
7309 (M_2_PIl): Likewise.
7310 (M_2_SQRTPIl): Likewise.
7311 (M_SQRT2l): Likewise.
7312 (M_SQRT1_2l): Likewise.
7313
f230c29b
DM
73142012-05-31 David S. Miller <davem@davemloft.net>
7315
7316 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7317 values between float registers.
7318 * sysdeps/sparc/sparc64/memset.S: Likewise.
7319 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7320
fed806c3
MF
73212012-05-31 Mike Frysinger <vapier@gentoo.org>
7322
7323 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7324 -D_FORTIFY_SOURCE=1.
7325 (CPPFLAGS-tst-longjmp_chk.c): Define.
7326 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7327 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7328 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7329 CFLAGS-tst-wchar-h.c.
7330
30917259
MP
73312012-05-31 Marek Polacek <polacek@redhat.com>
7332
7333 [BZ #14132]
7334 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7335 __endmntent_internal): Remove declaration.
7336 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7337 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7338 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7339
1c58d5dc
DM
73402012-05-30 David S. Miller <davem@davemloft.net>
7341
7342 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7343 (___Q_simulate_exceptions): Use real FP ops rather than writing
7344 into the %fsr.
7345 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7346 Likewise.
7347
7dc00e0d
L
73482012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7349
7350 [BZ #14117]
0bd53985
L
7351 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7352 * sysdeps/x86/bits/xtitypes.h: This.
7353
3a257e66
L
7354 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7355 * sysdeps/x86/bits/wordsize.h: This.
7356
62f62904
L
7357 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7358 * sysdeps/x86/bits/huge_vall.h: This.
7359
404fe9d9
L
7360 * sysdeps/i386/bits/select.h: Removed.
7361 * sysdeps/x86_64/bits/select.h: Renamed to ...
7362 * sysdeps/x86/bits/select.h: This.
7363
d48d0446
L
7364 * sysdeps/i386/bits/setjmp.h: Removed.
7365 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7366 * sysdeps/x86/bits/setjmp.h: This.
7367
7dc00e0d
L
7368 * sysdeps/i386/bits/mathdef.h: Removed.
7369 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7370 * sysdeps/x86/bits/mathdef.h: This.
7371
03277f8f
AS
73722012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7373
7374 [BZ #14132]
7375 * include/sys/socket.h (__connect_internal)
7376 (__libc_sa_len_internal): Remove declaration.
7377 (__connect, __libc_sa_len): Declare hidden_proto.
7378 (SA_LEN): Remove use of INTUSE.
7379 * socket/connect.c: Add libc_hidden_def.
7380 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7381 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7382 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7383 alias.
7384 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7385 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7386 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7387 of adding _internal alias.
7388
13764867
L
73892012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7390
7391 [BZ #14117]
6bd97696
L
7392 * sysdeps/i386/bits/link.h: Removed.
7393 * sysdeps/i386/bits/linkmap.h: Likewise.
7394 * sysdeps/x86_64/bits/link.h: Renamed to ...
7395 * sysdeps/x86/bits/link.h: This.
7396 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7397 * sysdeps/x86/bits/linkmap.h: This.
7398
f726f0bb
L
7399 * sysdeps/i386/bits/endian.h: Removed.
7400 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7401 * sysdeps/x86/bits/endian.h: This.
7402
13764867
L
7403 * sysdeps/i386/bits/byteswap.h: Removed.
7404 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7405 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7406 * sysdeps/x86/bits/byteswap.h: This.
7407 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7408 * sysdeps/x86/bits/byteswap-16.h: This.
7409 * sysdeps/i386/Implies: Add x86.
7410 * sysdeps/x86_64/Implies: Likewise.
7411
ae251b0b
DM
74122012-05-30 David S. Miller <davem@davemloft.net>
7413
7414 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7415 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7416 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7417 (FP_TRAPPING_EXCEPTIONS): Define.
7418 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7419 (FP_TRAPPING_EXCEPTIONS): Define.
7420 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7421 subnormals only when inexact has been signalled or underflow
7422 exceptions are enabled.
7423 (_FP_PACK_CANONICAL): Likewise.
7424
d5c90867
L
74252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7426
7427 [BZ #14183]
7428 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7429 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7430
63f1549e
RH
74312012-05-30 Richard Henderson <rth@twiddle.net>
7432
8d8f2279
RH
7433 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7434 with #ifndef NOT_IN_libc.
7435
63f1549e
RH
7436 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7437 marked to avoid plt entry.
7438
0ab0291b
L
74392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7440
7441 [BZ #14112]
7442 * Makeconfig (default-abi): New macro.
7443 (abi-includes): Likewise.
7444 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7445 $(abi-$(default-abi)-lib-soname) for soname if defined.
7446 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7447 abi-variants.
7448 * Makefile (installed-stubs): Likewise.
7449 * include/stubs-biarch.h: Removed.
7450 * scripts/lib-names.awk: Only handle one library at a time.
7451 * scripts/soversions.awk: Remove WORDSIZE support.
7452 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7453 entries.
7454 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7455 Removed.
7456 (syscall-list-default-condition): Likewise.
7457 (syscall-list-default-condition): Likewise.
7458 (syscall-list-includes): Likewise.
7459 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7460 syscall-list-* with abi-*. Handle undefined abi-variants.
7461 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7462 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7463 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7464 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7465 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7466 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7467 Removed.
7468 (syscall-list-32-options): Likewise.
7469 (syscall-list-32-condition): Likewise.
7470 (syscall-list-64-options): Likewise.
7471 (syscall-list-64-condition): Likewise.
7472 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7473 macro.
7474 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7475 Renamed to ...
7476 (abi-*): This.
7477 (abi-64-ld-soname): New macro.
7478 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7479 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7480 Renamed to ...
7481 (abi-*): This.
7482 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7483 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7484
4da0431d
JM
74852012-05-30 Joseph Myers <joseph@codesourcery.com>
7486
3a85279c
JM
7487 * sysdeps/unix/sysv/linux/kernel-features.h
7488 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7489 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7490 include <kernel-features.h>.
7491 [!__NR_ftruncate64]: Remove conditional code.
7492 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7493 [__NR_ftruncate64]: Make code unconditional.
7494 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7495 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7496 include <kernel-features.h>.
7497 [!__NR_ftruncate64]: Remove conditional code.
7498 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7499 [__NR_ftruncate64]: Make code unconditional.
7500 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7502 include <kernel-features.h>.
7503 [!__NR_ftruncate64]: Remove conditional code.
7504 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7505 [__NR_ftruncate64]: Make code unconditional.
7506 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7508 include <kernel-features.h>.
7509 [!__NR_ftruncate64]: Remove conditional code.
7510 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7511 [__NR_ftruncate64]: Make code unconditional.
7512 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7513
4da0431d
JM
7514 * configure.in (libc_cv_fpie): Weaken to a compile test using
7515 LIBC_TRY_CC_OPTION.
7516 * configure: Regenerated.
7517
11ef492c
AK
75182012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7519
7520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7524 Refreshed.
7525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7531 Refreshed.
7532
d66ef399
DM
75332012-05-27 David S. Miller <davem@davemloft.net>
7534
7535 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7536 (___Q_zero): New.
7537 (__Q_simulate_exceptions): Return void. Change to simulate
7538 exceptions by writing into the %fsr.
7539 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7540 (__Qp_handle_exceptions): Likewise.
7541 (numbers): Delete.
7542 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7543 __Qp_handle_exceptions.
7544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7545 __Qp_handle_exceptions.
7546 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7547 as unused and give dummy FP_RND_NEAREST initializer.
7548 (FP_INHIBIT_RESULTS): Define.
7549 (___Q_simulate_exceptions): Update declaration.
7550 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7551 formatting.
7552 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7553 as unused and give dummy FP_RND_NEAREST initializer.
7554 (__Qp_handle_exceptions): Update declaration.
7555 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7556 formatting.
7557
04fb54b5
TS
75582012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7559
7560 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7561 the temporary FPU control word.
7562 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7563 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7564 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7565 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7566 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7567 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7568 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7569 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7570 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7571 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7572 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7573
3f99608f
KK
75742012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7575
7576 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7577 fields.
7578
65a4de4e
CLT
75792012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7580
7581 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7582 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7583 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7584 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7585 Likewise.
7586 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7587 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7588 Likewise.
7589
15749d40
UD
75902012-05-27 Ulrich Drepper <drepper@gmail.com>
7591
7592 * po/h.po: Update from translation team.
7593
25dbcb27
AS
75942012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7595
3d3f8e55
AS
7596 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7597
25dbcb27
AS
7598 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7599 handling of denormals.
7600 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7601 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7602 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7603 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7604 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7605 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7606 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7607 Likewise.
7608
7ad47a80 76092012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
7610
7611 [BZ #14152]
7612 * math/libm-test.inc (fma_test): Don't always expect underflow
7613 exception.
7614
9c6ea9fa
SP
76152012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7616
7617 [BZ #12416]
7618 * elf/tst-execstack.c: Include stackinfo.h.
7619 (do_test): Adjust test case to ensure that pthread_getattr_np
7620 behaviour remains the same after marking stack executable.
7621
a8239222
JM
76222012-05-25 Joseph Myers <joseph@codesourcery.com>
7623
7624 * sysdeps/unix/sysv/linux/kernel-features.h
7625 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7626 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7627 kernel-features.h.
7628 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7629 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7630 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7631 kernel-features.h.
7632 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7633 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7634
918b5606
L
76352012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7636
7637 * configure.in: Define the default includes to being none.
7638 * configure: Regenerated.
7639
3a097cc7
RM
76402012-05-25 Roland McGrath <roland@hack.frob.com>
7641
8422c9a5
RM
7642 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7643 * sysdeps/x86_64/setjmp.S: Likewise.
7644 * sysdeps/i386/bsd-setjmp.S: Likewise.
7645 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7646 * sysdeps/i386/setjmp.S: Likewise.
7647 * sysdeps/i386/__longjmp.S: Likewise.
7648 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7649 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7650
3a097cc7
RM
7651 * include/stap-probe.h: New file.
7652 * configure.in: Handle --enable-systemtap.
7653 * configure: Regenerated.
7654 * config.h.in (USE_STAP_PROBE): New #undef.
7655 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7656 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7657 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7658
21708942
JM
76592012-05-25 Joseph Myers <joseph@codesourcery.com>
7660
7661 [BZ #13717]
7662 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7663 to 2.4.0 where earlier.
7664 * sysdeps/unix/sysv/linux/configure: Regenerated.
7665 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7666 <kernel-features.h>.
7667 [__ASSUME_32BITUIDS]: Make code unconditional.
7668 [!__ASSUME_32BITUIDS]: Remove conditional code.
7669 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7670 <kernel-features.h>.
7671 [__ASSUME_32BITUIDS]: Make code unconditional.
7672 [!__ASSUME_32BITUIDS]: Remove conditional code.
7673 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7674 [__ASSUME_32BITUIDS]: Make code unconditional.
7675 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7676 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7677 <kernel-features.h>.
7678 [__ASSUME_32BITUIDS]: Make code unconditional.
7679 [!__ASSUME_32BITUIDS]: Remove conditional code.
7680 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7681 <kernel-features.h>.
7682 [__ASSUME_32BITUIDS]: Make code unconditional.
7683 [!__ASSUME_32BITUIDS]: Remove conditional code.
7684 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7685 <kernel-features.h>.
7686 [__ASSUME_32BITUIDS]: Make code unconditional.
7687 [!__ASSUME_32BITUIDS]: Remove conditional code.
7688 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7689 <kernel-features.h>.
7690 [__ASSUME_32BITUIDS]: Make code unconditional.
7691 [!__ASSUME_32BITUIDS]: Remove conditional code.
7692 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7693 <kernel-features.h>.
7694 [__ASSUME_32BITUIDS]: Make code unconditional.
7695 [!__ASSUME_32BITUIDS]: Remove conditional code.
7696 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7697 <kernel-features.h>.
7698 [__ASSUME_32BITUIDS]: Make code unconditional.
7699 [!__ASSUME_32BITUIDS]: Remove conditional code.
7700 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7701 <kernel-features.h>.
7702 [__ASSUME_32BITUIDS]: Make code unconditional.
7703 [!__ASSUME_32BITUIDS]: Remove conditional code.
7704 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7705 <kernel-features.h>.
7706 [__ASSUME_32BITUIDS]: Make code unconditional.
7707 [!__ASSUME_32BITUIDS]: Remove conditional code.
7708 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7709 <kernel-features.h>.
7710 [__ASSUME_32BITUIDS]: Make code unconditional.
7711 [!__ASSUME_32BITUIDS]: Remove conditional code.
7712 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7713 <kernel-features.h>.
7714 [__ASSUME_32BITUIDS]: Make code unconditional.
7715 [!__ASSUME_32BITUIDS]: Remove conditional code.
7716 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7717 <kernel-features.h>.
7718 [__NR_setresgid] (__setresgid): Do not declare.
7719 [__ASSUME_32BITUIDS]: Make code unconditional.
7720 [!__ASSUME_32BITUIDS]: Remove conditional code.
7721 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7722 <kernel-features.h>.
7723 [__NR_setresuid] (__setresuid): Do not declare.
7724 [__ASSUME_32BITUIDS]: Make code unconditional.
7725 [!__ASSUME_32BITUIDS]: Remove conditional code.
7726 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7727 <kernel-features.h>.
7728 [__ASSUME_32BITUIDS]: Make code unconditional.
7729 [!__ASSUME_32BITUIDS]: Remove conditional code.
7730 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7731 <kernel-features.h>.
7732 [__ASSUME_32BITUIDS]: Make code unconditional.
7733 [!__ASSUME_32BITUIDS]: Remove conditional code.
7734 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7735 <kernel-features.h>.
7736 [__ASSUME_32BITUIDS]: Make code unconditional.
7737 [!__ASSUME_32BITUIDS]: Remove conditional code.
7738 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7739 <kernel-features.h>.
7740 [__ASSUME_32BITUIDS]: Make code unconditional.
7741 [!__ASSUME_32BITUIDS]: Remove conditional code.
7742 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7743 <kernel-features.h>.
7744 [__ASSUME_32BITUIDS]: Make code unconditional.
7745 [!__ASSUME_32BITUIDS]: Remove conditional code.
7746 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7747 <kernel-features.h>.
7748 [__ASSUME_32BITUIDS]: Make code unconditional.
7749 [!__ASSUME_32BITUIDS]: Remove conditional code.
7750 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7751 <kernel-features.h>.
7752 [__ASSUME_32BITUIDS]: Make code unconditional.
7753 [!__ASSUME_32BITUIDS]: Remove conditional code.
7754 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7755 <kernel-features.h>.
7756 [__ASSUME_32BITUIDS]: Make code unconditional.
7757 [!__ASSUME_32BITUIDS]: Remove conditional code.
7758 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7759 <kernel-features.h>.
7760 [__ASSUME_32BITUIDS]: Make code unconditional.
7761 [!__ASSUME_32BITUIDS]: Remove conditional code.
7762 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7763 <kernel-features.h>.
7764 [__ASSUME_32BITUIDS]: Make code unconditional.
7765 [!__ASSUME_32BITUIDS]: Remove conditional code.
7766 * sysdeps/unix/sysv/linux/kernel-features.h
7767 (__ASSUME_SETRESUID_SYSCALL): Remove.
7768 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7769 (__ASSUME_32BITUIDS): Likewise.
7770 (__ASSUME_LDT_WORKS): Likewise.
7771 (__ASSUME_O_DIRECTORY): Likewise.
7772 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7773 architecture but not kernel version.
7774 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7775 (__ASSUME_MMAP2_SYSCALL): Likewise.
7776 (__ASSUME_STAT64_SYSCALL): Likewise.
7777 (__ASSUME_IPC64): Likewise.
7778 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7779 <kernel-features.h>.
7780 [__ASSUME_32BITUIDS]: Make code unconditional.
7781 [!__ASSUME_32BITUIDS]: Remove conditional code.
7782 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7783 <kernel-features.h>.
7784 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7785 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7786 132096]: Remove conditional code.
7787 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7788 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7789 <kernel-features.h>.
7790 [__ASSUME_32BITUIDS]: Make code unconditional.
7791 [!__ASSUME_32BITUIDS]: Remove conditional code.
7792 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7793 <kernel-features.h>.
7794 [__ASSUME_32BITUIDS]: Make code unconditional.
7795 [!__ASSUME_32BITUIDS]: Remove conditional code.
7796 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7797 <kernel-features.h>.
7798 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7799 unconditional.
7800 (__setresgid): Do not declare.
7801 [__ASSUME_32BITUIDS]: Make code unconditional.
7802 [!__ASSUME_32BITUIDS]: Remove conditional code.
7803 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7804 <kernel-features.h>.
7805 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7806 unconditional.
7807 (__setresuid): Do not declare.
7808 [__ASSUME_32BITUIDS]: Make code unconditional.
7809 [!__ASSUME_32BITUIDS]: Remove conditional code.
7810 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7811 <kernel-features.h>.
7812 [__ASSUME_32BITUIDS]: Make code unconditional.
7813 [!__ASSUME_32BITUIDS]: Remove conditional code.
7814 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7815 <kernel-features.h>.
7816 [__ASSUME_32BITUIDS]: Make code unconditional.
7817 [!__ASSUME_32BITUIDS]: Remove conditional code.
7818
a386f1cc
RH
78192012-05-25 Richard Henderson <rth@twiddle.net>
7820
7821 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7822 dl_hwcap to ifunc resolver.
7823 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7824 elf_ifunc_invoke.
7825 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7826 dl_hwcap to ifunc resolver.
7827 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7828
b6550497
JM
78292012-05-24 Joseph Myers <joseph@codesourcery.com>
7830
7831 [BZ #14153]
7832 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7833 for |x| <= 2**-26, not 2**-57.
7834 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7835 exception.
7836
b0bc23a1
JL
78372012-05-24 Jeff Law <law@redhat.com>
7838
7839 * stdio-common/Makefile (tests): Add bug25.
7840 * stdio-common/bug25.c: New test.
7841
347c92e9
L
78422012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7843
7844 [BZ #13576]
7845 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7846 multiple of MALLOC_ALIGNMENT in size.
7847 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7848
6bcc8b3f
JM
78492012-05-24 Joseph Myers <joseph@codesourcery.com>
7850
7851 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7852 Require >= 256.
7853 (FILENAME_MAX): Use macro-int-constant.
7854 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7855 (_IOFBF): Use macro-int-constant.
7856 (_IOLBF): Likewise.
7857 (_IONBF): Likewise.
7858 (SEEK_CUR): Likewise.
7859 (SEEK_END): Likewise.
7860 (SEEK_SET): Likewise.
7861 (TMP_MAX): Likewise.
7862 (EOF): Use macro-int-constant. Require < 0.
7863 (NULL): Use macro-constant. Require == 0.
7864 (stdin): Require type to be FILE *.
7865 (stdout): Likewise.
7866 (stderr): Likewise.
7867 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7868 macro-int-constant.
7869 (EXIT_SUCCESS): Likewise.
7870 (NULL): Use macro-constant. Require == 0.
7871 (RAND_MAX): Use macro-int-constant.
7872 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7873 [C99-based standards] (strtof): Require function.
7874 [C99-based standards] (strtold): Likewise.
7875 [C99-based standards] (strtoll): Likewise.
7876 [C99-based standards] (strtoull): Likewise.
7877 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7878 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7879 [ISO || ISO99 || ISO11] (math.h): Likewise.
7880 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7881 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7882 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7883
d18ea0c5
AS
78842012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7885
7886 [BZ #14132]
56d25bb8
AS
7887 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7888 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7889 * intl/dgettext.c (DCGETTEXT): Likewise.
7890 * intl/gettext.c (DCGETTEXT): Likewise.
7891 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7892 * posix/regex_internal.h (gettext): Likewise.
7893 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7894 Remove declaration.
7895 * include/argz.h (__argz_count_internal)
7896 (__argz_stringify_internal): Remove declaration.
7897 (__argz_count, __argz_stringify): Declare hidden proto.
7898 * intl/dcgettext.c: Remove use of INTDEF.
7899 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7900 * string/argz-stringify.c: Likewise.
7901 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7902 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7903 Declare hidden proto.
d18ea0c5
AS
7904 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7905 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7906 Declare hidden proto.
7907 * include/stdio.h (__asprintf_internal): Don't declare.
7908 (__asprintf): Don't define as macro. Declare hidden proto.
7909 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7910 (__fsetlocking): Declare hidden proto.
7911 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7912 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7913 hidden proto.
7914 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7915 (_IO_setlinebuf): Remove use of INTUSE.
7916 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7917 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7918 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7919 Remove declaration.
7920 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7921 (_IO_do_flush): Remove use of INTUSE.
7922 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7923 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7924 (_IO_adjust_column, _IO_least_wmarker)
7925 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7926 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7927 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7928 (_IO_default_doallocate, _IO_wdefault_doallocate)
7929 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7930 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7931 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7932 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7933 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7934 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7935 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7936 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7937 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7938 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7939 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7940 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7941 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7942 proto.
7943 (_IO_flush_all_internal, _IO_adjust_column_internal)
7944 (_IO_default_uflow_internal, _IO_default_finish_internal)
7945 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7946 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7947 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7948 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7949 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7950 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7951 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7952 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7953 (_IO_file_close_internal, _IO_file_close_it_internal)
7954 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7955 (_IO_file_init_internal, _IO_file_attach_internal)
7956 (_IO_file_fopen_internal, _IO_file_read_internal)
7957 (_IO_file_sync_internal, _IO_file_seek_internal)
7958 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7959 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7960 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7961 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7962 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7963 (_IO_list_all_internal, _IO_link_in_internal)
7964 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7965 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7966 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7967 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7968 (_IO_do_write_internal, _IO_padn_internal)
7969 (_IO_getline_info_internal, _IO_getline_internal)
7970 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7971 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7972 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7973 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7974 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7975 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7976 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7977 with libc_hidden_ver, remove use of INTUSE.
7978 * libio/genops.c: Likewise.
7979 * libio/freopen.c: Likewise.
7980 * libio/freopen64.c: Likewise.
7981 * libio/iofclose.c: Likewise.
7982 * libio/iofdopen.c: Likewise.
7983 * libio/iofflush.c: Likewise.
7984 * libio/iofflush_u.c: Likewise.
7985 * libio/iofgets.c: Likewise.
7986 * libio/iofgets_u.c: Likewise.
7987 * libio/iofopen.c: Likewise.
7988 * libio/iofopncook.c: Likewise.
7989 * libio/iofread.c: Likewise.
7990 * libio/iofread_u.c: Likewise.
7991 * libio/ioftell.c: Likewise.
7992 * libio/iofwrite.c: Likewise.
7993 * libio/iogetline.c: Likewise.
7994 * libio/iogets.c: Likewise.
7995 * libio/iogetwline.c: Likewise.
7996 * libio/iopadn.c: Likewise.
7997 * libio/iopopen.c: Likewise.
7998 * libio/ioseekoff.c: Likewise.
7999 * libio/ioseekpos.c: Likewise.
8000 * libio/iosetbuffer.c: Likewise.
8001 * libio/iosetvbuf.c: Likewise.
8002 * libio/ioungetc.c: Likewise.
8003 * libio/ioungetwc.c: Likewise.
8004 * libio/iovdprintf.c: Likewise.
8005 * libio/iovsprintf.c: Likewise.
8006 * libio/iovsscanf.c: Likewise.
8007 * libio/memstream.c: Likewise.
8008 * libio/obprintf.c: Likewise.
8009 * libio/oldfileops.c: Likewise.
8010 * libio/oldiofclose.c: Likewise.
8011 * libio/oldiofdopen.c: Likewise.
8012 * libio/oldiofopen.c: Likewise.
8013 * libio/oldiopopen.c: Likewise.
8014 * libio/oldstdfiles.c: Likewise.
8015 * libio/putc.c: Likewise.
8016 * libio/setbuf.c: Likewise.
8017 * libio/setlinebuf.c: Likewise.
8018 * libio/stdfiles.c: Likewise.
8019 * libio/strops.c: Likewise.
8020 * libio/vasprintf.c: Likewise.
8021 * libio/vscanf.c: Likewise.
8022 * libio/vsnprintf.c: Likewise.
8023 * libio/vswprintf.c: Likewise.
8024 * libio/wfiledoalloc.c: Likewise.
8025 * libio/wfileops.c: Likewise.
8026 * libio/wgenops.c: Likewise.
8027 * libio/wmemstream.c: Likewise.
8028 * libio/wstrops.c: Likewise.
8029 * libio/__fpurge.c: Likewise.
8030 * libio/__fsetlocking.c: Likewise.
8031 * assert/assert.c: Likewise.
8032 * debug/fgets_chk.c: Likewise.
8033 * debug/fgets_u_chk.c: Likewise.
8034 * debug/fread_chk.c: Likewise.
8035 * debug/fread_u_chk.c: Likewise.
8036 * debug/gets_chk.c: Likewise.
8037 * debug/obprintf_chk.c: Likewise.
8038 * debug/vasprintf_chk.c: Likewise.
8039 * debug/vdprintf_chk.c: Likewise.
8040 * debug/vsnprintf_chk.c: Likewise.
8041 * debug/vsprintf_chk.c: Likewise.
8042 * malloc/mtrace.c: Likewise.
8043 * misc/error.c: Likewise.
8044 * misc/syslog.c: Likewise.
8045 * stdio-common/asprintf.c: Likewise.
8046 * stdio-common/fxprintf.c: Likewise.
8047 * stdio-common/getw.c: Likewise.
8048 * stdio-common/isoc99_fscanf.c: Likewise.
8049 * stdio-common/isoc99_scanf.c: Likewise.
8050 * stdio-common/isoc99_vfscanf.c: Likewise.
8051 * stdio-common/isoc99_vscanf.c: Likewise.
8052 * stdio-common/isoc99_vsscanf.c: Likewise.
8053 * stdio-common/printf-prs.c: Likewise.
8054 * stdio-common/printf_fp.c: Likewise.
8055 * stdio-common/printf_fphex.c: Likewise.
8056 * stdio-common/printf_size.c: Likewise.
8057 * stdio-common/putw.c: Likewise.
8058 * stdio-common/scanf.c: Likewise.
8059 * stdio-common/sprintf.c: Likewise.
8060 * stdio-common/tmpfile.c: Likewise.
8061 * stdio-common/vfprintf.c: Likewise.
8062 * stdio-common/vfscanf.c: Likewise.
8063 * stdlib/strfmon_l.c: Likewise.
8064 * sunrpc/openchild.c: Likewise.
8065 * sunrpc/xdr_stdio.c: Likewise.
8066 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8067 * sysdeps/mach/hurd/tmpfile.c: Likewise.
8068
d6c33fda
RM
80692012-05-24 Roland McGrath <roland@hack.frob.com>
8070
c1487492
RM
8071 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8072
8073 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8074 in the third column, to generate for the shared library an IFUNC
8075 that uses _dl_vdso_vsym.
8076 * Makerules (COMPILE.c, compile-stdin.c): New variables.
8077 * Makeconfig (object-suffixes-noshared): New variable.
8078
8079 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8080 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8081 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8082 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8083
d6c33fda
RM
8084 [BZ #14132]
8085 * include/sys/time.h (__gettimeofday): Remove macro.
8086 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8087 * time/gettimeofday.c (__gettimeofday): Remove #undef.
8088 Remove INTDEF.
8089 (__gettimeofday): Add libc_hidden_def.
8090 (gettimeofday): Add libc_hidden_weak.
8091 * sysdeps/mach/gettimeofday.c: Likewise.
8092 * sysdeps/posix/gettimeofday.c: Likewise.
8093 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8094 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8095 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8096 (__gettimeofday_internal): Remove strong_alias.
8097 (__gettimeofday): Add libc_hidden_def.
8098 (gettimeofday): Add libc_hidden_weak.
8099 * sysdeps/unix/syscalls.list (gettimeofday):
8100 Remove __gettimeofday_internal alias.
8101
b5a2bbe6
L
81022012-05-24 Daniel Jacobowitz <drow@false.org>
8103 H.J. Lu <hongjiu.lu@intel.com>
8104
8105 [BZ #12495]
8106 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8107 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8108 (largebin_index_32_big): New.
8109 (largebin_index): Use it for 16-byte alignment.
8110 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
8111 correction with front_misalign.
8112
cfba4fda
L
81132012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8114
7f907421
L
8115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8116 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8117 Likewise.
8118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8119 Likewise.
8120 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8121 Likewise.
8122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8123 Likewise.
8124 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8125 Likewise.
8126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8127 Likewise.
8128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8129 Likewise.
8130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8131 Likewise.
8132 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8133 Likewise.
8134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8135 Likewise.
8136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8137 Likewise.
8138 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8139 Likewise.
8140
cfba4fda
L
8141 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8142 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8143
80bad0cc
JM
81442012-05-24 Joseph Myers <joseph@codesourcery.com>
8145
7a25eb06
JM
8146 [BZ #10846]
8147 [BZ #14036]
8148 * math/libm-test.inc (exp_test): Add test from bug 14036.
8149 (pow_test): Add test from bug 10846.
8150
795405f9
JM
8151 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8152 and other flags.
8153 (special_function): Do not include flags in test name.
8154 (parse_args): Likewise.
8155 * sysdeps/i386/fpu/libm-test-ulps: Update.
8156 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8157 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8158 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8160
80bad0cc
JM
8161 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8162 exceptions.
8163 * math/libm-test.inc ("Philosophy"): Update comment about
8164 exception testing.
8165 (UNDERFLOW_EXCEPTION): New macro.
8166 (UNDERFLOW_EXCEPTION_OK): Likewise.
8167 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8168 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8169 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8170 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8171 (INVALID_EXCEPTION_OK): Update value.
8172 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8173 (OVERFLOW_EXCEPTION_OK): Likewise.
8174 (IGNORE_ZERO_INF_SIGN): Likewise.
8175 (test_exceptions): Handle underflow exceptions.
8176 (acos_test): Update for underflow exception expectations.
8177 (cexp_test): Likewise.
8178 (clog_test): Likewise.
8179 (clog10_test): Likewise.
8180 (csqrt_test): Likewise.
8181 (ctan_test): Likewise.
8182 (ctanh_test): Likewise.
8183 (exp_test): Likewise.
8184 (exp10_test): Likewise.
8185 (exp2_test): Likewise.
8186 (expm1_test): Likewise.
8187 (fma_test): Likewise.
8188 (j0_test): Likewise.
8189 (jn_test): Likewise.
8190 (nexttoward_test): Likewise.
8191 (pow_test): Likewise.
8192 (scalbn_test): Likewise.
8193 (scalbln_test): Likewise.
8194 (tan_test): Likewise.
8195 (y1_test): Likewise.
8196 * sysdeps/i386/fpu/libm-test-ulps: Update.
8197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8198
9e0e3d0b
DM
81992012-05-23 David S. Miller <davem@davemloft.net>
8200
8201 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8202 (__libc_sigaction): Remove unused local variables.
8203
ccd0a08f
L
82042012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8205
8206 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8207
62bdf9a6
PE
82082012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8209
f8591f80
PE
8210 mktime: avoid signed integer overflow
8211 * time/mktime.c (__mktime_internal): Do not mishandle the case
8212 where diff == INT_MIN.
8213
94c7d826
PE
8214 mktime: simplify computation of average
8215 * time/mktime.c (ranged_convert): Use new time_t_avg function
8216 instead of rolling our own (probably-slower) code.
8217
ce73d683
PE
8218 mktime: do not assume signed right shift propagates sign bit
8219 * time/mktime.c (isdst_differ): New static function.
8220 (__mktime_internal): No need to normalize tm_isdst now.
8221 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8222 tm_isdst values.
8223
72a22e59
PE
8224 mktime: merge another wrapv change from gnulib
8225 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8226 from some compilers.
8227
68605433
PE
8228 mktime: remove incorrect attempt at unusual arithmetics
8229 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8230 The code didn't really work on such machines anyway.
8231 (TYPE_MINIMUM): Assume two's complement.
8232 (twos_complement_arithmetic): Verify that long_int and time_t
8233 are two's complement (or unsigned, in the latter case).
8234
03cf7fe3
PE
8235 mktime: check signed shifts on long_int and time_t, too
8236 * time/mktime.c (SHR): Check that shifts work as desired
8237 on the types long_int and time_t too, as SHR is used on
8238 such types.
8239
f04dfbc2
PE
8240 mktime: do not assume 'long' is wide enough
8241 * time/mktime.c (verify): Move decl up.
8242 (long_int): New type.
8243 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8244 to remove assumption in the code that 'long' is wide enough to
8245 store year values. This assumption is not true on x32 and on
8246 some non-glibc platforms.
8247
62bdf9a6
PE
8248 mktime: merge wrapv change from gnulib
8249 * time/mktime.c (WRAPV): New macro.
8250 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8251 (guess_time_tm, __mktime_internal): Do not assume that signed
8252 integer overflow wraps around; modern compilers generate code
8253 where this assumption is no longer valid.
8254
5e292e4f
L
82552012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8256
8257 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8258 Replace "jmp L(pseudo_end)" with "ret".
8259 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8260 Likewise.
8261
8caf8c87
AJ
82622012-05-23 Andreas Jaeger <aj@suse.de>
8263
8264 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8265 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8266
1a09dc56
AJ
82672012-05-23 Andreas Jaeger <aj@suse.de>
8268 Maximilian Attems <max@stro.at>
8269
8270 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8271 New macros.
8272
1c87aba0
L
82732012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8274
8275 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8276 code so that pseudo_end is just ret and the stack pointer is
8277 correct also for static library in error case.
8278
40e45bd5
JM
82792012-05-23 Joseph Myers <joseph@codesourcery.com>
8280
c2670533
JM
8281 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8282 move to syscalls.list.
8283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8287
40e45bd5
JM
8288 * manual/install.texi (Running make install): Do not mention Linux
8289 kernel version for which pt_chown is not needed.
8290 (Linux): Do not mention problems with nscd with 2.0 kernels.
8291 * INSTALL: Regenerated.
8292
be08eda5
AJ
82932012-05-23 Andreas Jaeger <aj@suse.de>
8294
8295 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8296 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8297 macro.
8298 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8299 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8300 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8301 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8302 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8303 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8304 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8305 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8306 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8307 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8308 * sysdeps/unix/sysv/linux/bits/in.h
8309 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8310
a6a056bb
RM
83112012-05-22 Roland McGrath <roland@hack.frob.com>
8312
8313 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8314 (PREPARE_VERSION): Just use assert instead, it will be elided
8315 under [NDEBUG] anyway.
8316
c9009328
L
83172012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8318
8319 * sysdeps/unix/sysv/linux/Makefile: Include
8320 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 8321 (sysdep_routines): Remove sysctl.
c9009328
L
8322 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8323 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8324 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8325 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8326 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8327
73338355
AJ
83282012-05-22 Andreas Jaeger <aj@suse.de>
8329
8330 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8331 that pseudo_end is just ret and the stack pointer is correct also
8332 for static library in error case.
8333
d44638b0
PP
83342012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8335
8336 [BZ #14122]
8337 * nss/nsswitch.c (defconfig_entries): New variable.
8338 (__nss_database_lookup): Don't leak defconfig entries.
8339 (nss_parse_service_list): Don't leak on error paths.
8340 (free_database_entries): New function.
8341 (free_defconfig): New function.
8342 (free_mem): Move common code to free_database_entries.
8343
31a39bd8
L
83442012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8345
da0331a8
L
8346 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8347 Add arch_prctl.
8348 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8349
31a39bd8
L
8350 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8351 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8352 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8353 New macro.
8354 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8355 (INTERNAL_SYSCALL_TYPES): Likewise.
8356 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8357 (LOAD_REGS_TYPES_[1-6]): Likewise.
8358 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8359 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8360
45470df3
AZ
83612012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8362
8363 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8364 copysignl for GLIBC_2_0.
8365 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8366 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8367 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8368 logbl for GLIBC_2_0.
8369 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8370 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8371
98a61bcb
L
83722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8373
a4f6e481
L
8374 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8375 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8376
f63d5db6
L
8377 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8378 Use "neg %eax".
8379
98a61bcb
L
8380 * time/mktime.c: Update copyright years.
8381
95770f14
PE
83822012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8383
6226efbd
PE
8384 mktime: merge comment-quoting-style change from gnulib
8385 * time/mktime.c: Quote 'like this' in comments.
8386 The GNU coding standards suggest that we no longer quote `like this',
8387 as "`" and "'" are typically rendered asymmetrically nowadays.
8388 The typical gnulib style is to quote 'like this' when quoting
8389 code, and "like this" when quoting English.
8390
b99e4f78
PE
8391 * time/mktime.c (compile-command): Add "-I.".
8392
643e01e6
PE
8393 mktime: merge mktime-internal.h change from gnulib
8394 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8395
2554247d
PE
8396 mktime: merge time_r change from gnulib
8397 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8398
826dd0ab
PE
8399 mktime: merge DEBUG change from gnulib
8400 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8401 case system <time.h> has a #define.
8402
bd83aabe
PE
8403 mktime: merge <sys/types.h> change from gnulib
8404 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8405 since <time.t> is now guaranteed to define time_t.
8406
95770f14
PE
8407 mktime: merge HAVE_CONFIG_H change from gnulib
8408 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8409
5e1a27a9
L
84102012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8411
0e44a77e
L
8412 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8413 Use "neg %eax".
8414
5e1a27a9
L
8415 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8416 __rlim_t cast.
8417 (struct rusage): Use anonymous union to pad each field to
8418 __syscall_slong_t.
8419
46259bec
DM
84202012-05-21 David S. Miller <davem@davemloft.net>
8421
8422 * Makefules (o-iterator): Remove .s cases.
8423 (compile-command.s): Delete.
8424 (COMPILE.s): Delete.
8425 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8426
59f0c22e
JM
84272012-05-21 Joseph Myers <joseph@codesourcery.com>
8428
8429 * configure.in (libc_cv_predef_stack_protector): Only consider
8430 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8431 * configure: Regenerated.
8432
20c07380
L
84332012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8434
bbb3154b
L
8435 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8436 New macro. Use R*LP on int and pointer.
8437 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
8438 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8439 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
8440 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8441
20c07380
L
8442 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8443 [__WORDSIZE_TIME64_COMPAT32] instead of
8444 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8445 (struct utmp): Likewise.
8446 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8447 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8448 Renamed to ...
8449 (__WORDSIZE_TIME64_COMPAT32): This.
8450 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8451 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8452 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8453 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8454 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8455 (__WORDSIZE_TIME64_COMPAT32): New macro.
8456
d8d1017e
AJ
84572012-05-21 Andreas Jaeger <aj@suse.de>
8458
8459 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8460 only if [SHARED]. Add prototype for __wcschr_ia32.
8461
6c7fb145
RM
84622012-05-21 Roland McGrath <roland@hack.frob.com>
8463
8464 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8465 of %rbp unmolested in the jmp_buf while mangling the low bits.
8466 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8467 unmolested high bits of %rbp while demangling the low bits.
8468 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8469
66274218
AJ
84702012-05-21 Andreas Jaeger <aj@suse.de>
8471
07c58f8f
AJ
8472 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8473 * sunrpc/svc_simple.c: Use it for registerrpc.
8474 * sunrpc/xcrypt.c: Use it for passwd2des.
8475
66274218
AJ
8476 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8477
61f65140
L
84782012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8479
8480 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8481 Don't define if [__SYSCALL_WORDSIZE != 32].
8482 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8483 New macro.
8484
5fefb436
AJ
84852012-05-21 Bruno Haible <bruno@clisp.org>
8486 Andreas Jaeger <aj@suse.de>
8487
8488 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8489 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8490 inptr and inend for must_buffer_ch.
8491 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8492 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8493 * stdio-common/Makefile (tests): Remove bug15.
8494 (bug15-ENV): Remove macro.
8495 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8496 anymore.
8497
d8e272ab
AJ
84982012-05-19 Andreas Jaeger <aj@suse.de>
8499 Roland McGrath <roland@hack.frob.com>
8500
8501 * manual/contrib.texi: Completely rewritten. It contains now an
8502 alphabetical list of contributors and their contributions.
8503
4a56a162
RH
85042012-05-21 Richard Henderson <rth@twiddle.net>
8505
8506 * misc/getauxval.c (__getauxval): Use unsigned long int.
8507 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8508 (getauxval): Use unsigned long int.
8509
d024d23c
L
85102012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8511
8512 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8513
cbc00a03
RM
85142012-05-21 Roland McGrath <roland@hack.frob.com>
8515
8516 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8517 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8518 __alignof__ (long double).
8519
478143fa
AZ
85202012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8521
8522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8523
c7683a6d
RH
85242012-05-20 Richard Henderson <rth@twiddle.net>
8525
8526 * misc/getauxval.c: New file.
8527 * misc/sys/auxv.h: New file.
8528 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8529 (routines): Add getauxval.
8530 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8531 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8532 * elf/dl-sysdep.c (_dl_auxv): Remove.
8533 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8534 * elf/dl-support.c (_dl_auxv): New variable.
8535 (_dl_aux_init): Initialize it.
8536 * manual/startup.texi (Auxiliary Vector): New node.
8537 * sysdeps/generic/bits/hwcap.h: New file.
8538 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8539 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8540 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8541 * sysdeps/sparc/sysdep.h: ... here. Include it.
8542 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8543 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
8544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8545 Update.
c7683a6d
RH
8546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8549 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8552 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8553 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8554
a6f1845d
AZ
85552012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8556
8557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8558
cbcbe830
DM
85592012-05-19 David S. Miller <davem@davemloft.net>
8560
8561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8562
e0b16cc2
JM
85632012-05-19 Joseph Myers <joseph@codesourcery.com>
8564
8565 [BZ #14123]
8566 * math/s_ccosh.c: Include <float.h>
8567 (__ccosh): Avoid internal overflow calculating sinh and cosh
8568 values before multiplying by sin and cos values.
8569 * math/s_ccoshf.c: Likewise.
8570 * math/s_ccoshl.c: Likewise.
8571 * math/s_csin.c: Likewise.
8572 * math/s_csinf.c: Likewise.
8573 * math/s_csinl.c: Likewise.
8574 * math/s_csinh.c: Likewise.
8575 * math/s_csinhf.c: Likewise.
8576 * math/s_csinhl.c: Likewise.
8577 * math/libm-test.inc (ccos_test): Add more tests.
8578 (ccosh_test): Likewise.
8579 (csin_test): Likewise.
8580 (csinh_test): Likewise.
8581 * sysdeps/i386/fpu/libm-test-ulps: Update.
8582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8583
6ad13e08
L
85842012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8585
f66f0ce8
L
8586 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8587 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8588
6ad13e08
L
8589 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8590
b1d072a7
JM
85912012-05-19 Joseph Myers <joseph@codesourcery.com>
8592
8593 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8594 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8595 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8596 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8597 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8598 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8599 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8600 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8601 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8602 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8603 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8604 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8605 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8606 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8607 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8608 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8609 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8610 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8611 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8612 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8613 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8614 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8615 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8616 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8617 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8618 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8619 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8620 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8621 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8622 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8623 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8624
9eae47cb
AJ
86252012-05-18 Andreas Jaeger <aj@suse.de>
8626
8627 * csu/.gitignore: Delete.
8628
bb07f69f
L
86292012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8630
8631 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8632 (timex): Use __syscall_slong_t.
8633
e6bdb741
AJ
86342012-05-18 Andreas Jaeger <aj@suse.de>
8635 Carlos O'Donell <carlos_odonell@mentor.com>
8636
8637 * manual/install.texi (Configuring and compiling): Update
8638 description about files modified in the source directory.
d6c33fda 8639 * INSTALL: Regenerated.
e6bdb741 8640
1b74487e
L
86412012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8642
8643 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8644 value. Use "or" to set return value to -1.
8645 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8646 negate return value.
8647
a88b64b9
TMQMF
86482012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8649
8650 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8651 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8652 failure if the compiler has Graphite support disabled.
8653 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8654 Likewise.
8655 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8656 CFLAGS-memmove.c): Likewise.
8657 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8658 Likewise.
8659
3707636e
L
86602012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8661
610b8622
L
8662 * sysdeps/x86_64/x32/_itoa.h: New file.
8663
7cd195df
L
8664 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8665 getdents system call only if kernel and user dirents have the
8666 same d_ino and d_off.
8667
94b07d20
L
8668 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8669 LLONG_MAX != LONG_MAX.
8670 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8671 (_fitoa_word): Likewise.
8672
18298070
L
8673 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8674 years.
8675 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8676 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8677 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8678
553c7ea4
L
8679 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8680 include <bits/wordsize.h>. Check __x86_64__ instead of
8681 __WORDSIZE.
8682 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8683 if __x86_64__ is defined. Use anonymous union on fpstate.
8684
3707636e
L
8685 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8686 anonymous union.
8687
b53ef01a
AS
86882012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8689
37fb1dc0
AS
8690 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8691 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8692 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8693 Refer to _rtld_local_ro instead of _rtld_global_ro.
8694 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8695 Likewise.
8696 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8697 Likewise.
8698 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8699 Likewise.
8700 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8701 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8702 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8703
b53ef01a
AS
8704 * sysdeps/powerpc/powerpc32/dl-machine.c
8705 (__elf_machine_runtime_setup) [PROF]: Don't reference
8706 _dl_prof_resolve.
8707
7a185db2
AJ
87082012-05-18 Andreas Jaeger <aj@suse.de>
8709
8710 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8711 function only available for GCCs before 3.4 since GCC 3.4
8712 introduced a builtin.
8713 (lrint): Likewise.
8714 (llrintf): Likewise.
8715 (llrint): Likewise.
8716 (fmaxf): Likewise.
8717 (fmax): Likewise.
8718 (fminf): Likewise.
8719 (fmin): Likewise.
8720 (rint): Likewise.
8721 (rintf): Likewise.
8722 (nearbyint): Likewise.
8723 (nearbyintf): Likewise.
8724 (ceil): Likewise.
8725 (ceilf): Likewise.
8726 (floor): Likewise.
8727 (floorf): Likewise.
8728
3e5aef87
L
87292012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8730
428bd707
L
8731 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8732 on both fields and cast pointer to __syscall_ulong_t.
8733
3e5aef87
L
8734 * bits/types.h (__fsword_t): New type.
8735 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8736 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8737 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8738 (__FSWORD_T_TYPE): Likewise.
8739 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8740 (__FSWORD_T_TYPE): Likewise.
8741 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8742 (__FSWORD_T_TYPE): Likewise.
8743 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8744 (__FSWORD_T_TYPE): Likewise.
8745 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8746 __SWORD_TYPE with __fsword_t.
8747 (statfs64): Likewise.
8748
1ba7c3dc
DM
87492012-05-17 David S. Miller <davem@davemloft.net>
8750
8751 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8752
59910343
AJ
87532012-05-17 Andreas Jaeger <aj@suse.de>
8754
8755 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8756 warning.
8757
2e4c1e9e
L
87582012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8759
8760 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8761
de7f5ce7
AJ
87622012-05-17 Andreas Jaeger <aj@suse.de>
8763
8764 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8765 when it is used.
8766
286abc3d
CM
87672012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8768
8769 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8770
477cc68e
L
87712012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8772
8773 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8774 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8775
1a0994f5
CD
87762012-05-17 Andreas Jaeger <aj@suse.de>
8777 Carlos O'Donell <carlos_odonell@mentor.com>
8778
8779 [BZ #14059]
8780 * sysdeps/x86_64/multiarch/init-arch.h
8781 (bit_YMM_Usable): Rename to...
8782 (bit_AVX_Usable): ... this.
8783 (bit_FMA4_Usable): New macro.
8784 (bit_XMM_state): New macro.
8785 (bit_YMM_state): New macro.
8786 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8787 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8788 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8789 (CPUID_OSXSAVE): New macro.
8790 (CPUID_AVX): New macro.
8791 (CPUID_FMA4): New macro.
8792 (index_YMM_Usable): Rename to...
8793 (index_AVX_Usable): ... this.
8794 (HAS_AVX): Use HAS_ARCH_FEATURE.
8795 (HAS_FMA4): Likewise.
8796 (HAS_YMM_USABLE): Remove.
8797 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8798 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8799 are present.
8800 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8801 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8802 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8803 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8804 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8805
0af797de
CM
88062012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8807
8808 * math/libm-test.c: Support platforms without multiple rounding modes.
8809 * math/bug-nextafter.c: Support platforms without FP exceptions.
8810 * math/bug-nexttoward.c: Likewise.
8811 * math/test-fenv.c: Likewise.
8812 * math/test-misc.c: Likewise.
8813 * stdlib/bug-getcontext.c: Likewise.
8814
e39745ff
AJ
88152012-05-17 Andreas Jaeger <aj@suse.de>
8816
8817 * manual/examples/search.c (critter_cmp): Change signature to
8818 avoid warnings.
8819 * manual/string.texi (Collation Functions): Likewise.
8820
48970aba
L
88212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8822
8823 * bits/types.h: Fold copyright years.
8824 * bits/typesizes.h: Likewise.
8825 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8826 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8827 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8828 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8829 * time/time.h: Likewise.
8830
bedee953
PP
88312012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8832
8833 [BZ #208]
8834 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8835 in instead of returning them. Return void.
8836 (__libc_mallinfo): Accumulate over all arenas.
8837 (__malloc_stats): Adjust for change in int_mallinfo interface.
8838
61653dfb
RM
88392012-05-16 Roland McGrath <roland@hack.frob.com>
8840
30b99d79
RM
8841 [BZ #10375]
8842 * configure.in (NM): Add AC_CHECK_TOOL for it.
8843 (libc_extra_cflags): New substituted variable.
8844 Check for -fstack-protector being used implicitly.
8845 * configure: Regenerated.
8846 * config.make.in (config-extra-cflags): New variable,
8847 gets @libc_extra_cflags@.
8848 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8849
61653dfb
RM
8850 [BZ #10375]
8851 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8852 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8853 * configure: Regenerated.
8854 * config.make.in (CPPUNDEFS): New substituted variable.
8855 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8856 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8857 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8858
661768bb
L
88592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8860
8861 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8862 (mq_attr): Use __syscall_slong_t.
8863
d4261567
L
88642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8865
8866 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8867 Check __x86_64__ instead of __WORDSIZE.
8868 (_STAT_VER_LINUX): Likewise.
8869 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8870 __syscall_ulong_t and __syscall_slong_t.
8871 (stat64): Likewise.
8872
cf3ff365
L
88732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8874
8875 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8876
76cf3e4d
L
88772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8878
8879 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8880
a637753a
L
88812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8882
8883 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8884 __syscall_ulong_t.
8885
d5e05119
L
8886 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8887 include <bits/wordsize.h>. Check __x86_64__ instead of
8888 __WORDSIZE.
8889 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8890 defined.
8891 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8892
f62ee380
L
8893 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8894 include <bits/wordsize.h>. Check __x86_64__ instead of
8895 __WORDSIZE.
8896 (user_regs_struct): Use "__extension__ unsigned long long"
8897 instead of "unsigned long" if __x86_64__ is defined.
8898 (user): Likewise. Pad after pointer field if __ILP32__ is
8899 defined.
8900
4e124ced
JM
89012012-05-16 Joseph Myers <joseph@codesourcery.com>
8902
6a3951a0
JM
8903 * configure.in (makeinfo): Require version 4.5 or later. Allow
8904 versions 5 to 9.
8905 * configure: Regenerated.
8906 * manual/install.texi (texinfo): Increase version requirement to
8907 4.5 or later.
8908 * INSTALL: Regenerated.
8909
4e124ced
JM
8910 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8911
953ca31a
L
89122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8913
8914 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8915
617aca05
L
8916 * sysdeps/x86_64/x32/ffs.c: New file.
8917
5762f7ae
L
8918 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8919 __syscall_ulong_t.
8920 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8921 defined. Use __syscall_ulong_t.
8922 (shminfo): Use __syscall_ulong_t.
8923 (shm_info): Likewise.
8924
a26b6856
L
8925 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8926 __syscall_ulong_t.
8927
cb2b9ef7
L
8928 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8929 <bits/wordsize.h>.
8930 (msgqnum_t): Use __syscall_ulong_t.
8931 (msglen_t): Likewise.
8932 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8933 __syscall_ulong_t.
8934
34683bb0
L
8935 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8936 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8937
84a68786
L
8938 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8939
48baa5f1
L
8940 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8941 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8942
180be88b
L
8943 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8944 __syscall_slong_t.
8945
5e90c8ad
L
8946 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8947 include <bits/wordsize.h>. Check __x86_64__ instead of
8948 __WORDSIZE.
8949
23dfb58b
L
8950 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8951 "unsigned long long int" if __x86_64__ is defined.
8952 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8953
ce5d54b0
L
8954 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8955 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8956 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8957
13dc9eac
L
8958 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8959 <stdint.h>.
8960 (GET_PC): Cast to uintptr_t first.
8961 (GET_FRAME): Likewise.
8962 (GET_STACK): Likewise.
8963
a7895d15
L
8964 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8965 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8966 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8967 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8968 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8969 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8970 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8971 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8972 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8973 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8974 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8975 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8976 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8977 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8978 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8979 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8980 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8981 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8982 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8983 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8984 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8985 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8986 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8987 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8988 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8989 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8990 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8991 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8992 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8993
656416c9
AS
89942012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8995
5bd66283
AS
8996 * Makerules (+depfiles): Also collect depfiles from .oS in
8997 $(extra-objs).
8998 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8999 .oS, $(libnldbl-routines)).
9000
656416c9
AS
9001 * Makerules (native-compile-mkdep-flags): Define.
9002 * sunrpc/Makefile (extra-objs): Add $(addprefix
9003 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9004 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9005 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
9006 calling $(make-target-directory).
9007
a46f2169
L
90082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9009
9010 * bits/types.h (__snseconds_t): Removed.
9011 * time/time.h (struct timespec): Replace __snseconds_t with
9012 __syscall_slong_t.
9013 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9014 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9015 Likewise.
9016 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9017 (__SNSECONDS_T_TYPE): Likewise.
9018 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9019 (__SNSECONDS_T_TYPE): Likewise.
9020 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9021 (__SNSECONDS_T_TYPE): Likewise.
9022
6af6528b
L
90232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9024
9025 * sysdeps/mach/hurd/bits/typesizes.h
9026 (__SYSCALL_SLONG_TYPE): New macro.
9027 (__SYSCALL_ULONG_TYPE): Likewise.
9028
de986b56
L
90292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9030
9031 * bits/types.h (__syscall_slong_t): New type.
9032 (__syscall_ulong_t): Likewise.
9033
9034 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9035 (__SYSCALL_ULONG_TYPE): Likewise.
9036 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9037 (__SYSCALL_SLONG_TYPE): Likewise.
9038 (__SYSCALL_ULONG_TYPE): Likewise.
9039 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9040 (__SYSCALL_SLONG_TYPE): Likewise.
9041 (__SYSCALL_ULONG_TYPE): Likewise.
9042 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9043 (__SYSCALL_SLONG_TYPE): Likewise.
9044 (__SYSCALL_ULONG_TYPE): Likewise.
9045
85736dc7
L
90462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9047
9048 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9049 Add sigaltstack-offsets.sym.
9050 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9051 <sigaltstack-offsets.h>.
9052 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
9053 longjmp_msg pointer.
9054 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
9055 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9056 signal stack.
9057 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9058
cc03b296
JM
90592012-05-15 Joseph Myers <joseph@codesourcery.com>
9060
a9538892
JM
9061 * elf/stackguard-macros.h: Remove file.
9062 * sysdeps/generic/stackguard-macros.h: New file.
9063 * sysdeps/i386/stackguard-macros.h: Likewise.
9064 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9065 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9066 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9067 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9068 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9069 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9070 * sysdeps/x86_64/stackguard-macros.h: Likewise.
9071 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9072 <elf/stackguard-macros.h>.
9073
cc03b296
JM
9074 [BZ #14109]
9075 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9076 __aligned__ in attribute.
9077 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9078 (gregset_t): Likewise.
9079
93171016
L
90802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9081
9082 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9083 * sysdeps/x86_64/64/Implies-after: Here. New file.
9084 * sysdeps/x86_64/x32/Implies-after: New file.
9085
d86813a0
L
90862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9087
9088 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9089 and access return value for _dl_profile_fixup. Use R10_LP to
9090 load frame size.
9091
2953ec75
L
90922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9093
9094 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9095
3b550e9e
L
90962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9097
9098 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9099 * sysdeps/x86_64/x32/sysdep.h: New file.
9100
eda41706
L
91012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9102
9103 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9104 * sysdeps/x86_64/setjmp.S: Likewise.
9105
9ea01d93
AZ
91062012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9107
9108 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9109 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9110 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9111 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9112 remove unused global constant.
9113
02a91938
CM
91142012-05-15 Chris Metcalf <cmetcalf@tilera.com>
9115
9116 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9117 include of <not-cancel.h>.
9118
6540185f
RM
91192012-05-15 Roland McGrath <roland@hack.frob.com>
9120
9121 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9122
509072a0
AJ
91232012-05-15 Jeff Law <law@redhat.com>
9124 Andreas Jaeger <aj@suse.de>
9125
9126 [BZ #13594]
9127 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9128 out from...
9129 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9130 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9131 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9132 code changing __hst_map_handle.map.
9133
ba75122d
RM
91342012-05-15 Roland McGrath <roland@hack.frob.com>
9135
9136 * configure.in (sysnames): Look for Implies-before and Implies-after
9137 files.
9138 * configure: Regenerated.
9139
890d8bd8
L
91402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9141
9142 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9143 8-byte data alignment with LP_SIZE alignment.
9144
f6ee6623
L
91452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9146
9147 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9148 into R10_LP.
9149
ea2626f6
L
91502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9151
9152 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9153
085f715e
L
91542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9155
9156 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9157 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9158 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9159 Likewise.
9160 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9161
be8498fc
L
91622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9163
9164 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9165 (stackinfo_sub_sp): Likewise.
9166
70bc83b9
L
91672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9168
9169 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9170 RAX_LP.
9171
9bc0b730
L
91722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9173
9174 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9175 into R*_LP.
9176
6d2850e7
L
91772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9178
9179 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9180 sizes into R*_LP.
9181
3cb84561
L
91822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9183
9184 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9185
54e2ed81
L
91862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9187
9188 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9189 into R11_LP and load __x86_64_shared_cache_size_half into
9190 R8_LP.
9191
8a17f349
L
91922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9193
9194 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9195 R8_LP.
9196
777b1eea
AZ
91972012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9198
9199 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9200 logb for POWER7.
9201 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9202 logbf for POWER7.
9203 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9204 logbl for POWER7.
9205 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9206 powerpc32/power7/fpu/s_logb.c via #include.
9207 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9208 powerpc32/power7/fpu/s_logbf.c via #include.
9209 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9210 powerpc32/power7/fpu/s_logbl.c via #include.
9211
d20d4ac2
JM
92122012-05-15 Joseph Myers <joseph@codesourcery.com>
9213
9214 * README.libm: Remove file.
9215
6cdef1ab
L
92162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9217
9218 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9219 count for x32. Use R*_LP and omit operand-size suffix.
9220
0b254d8f
L
92212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9222
9223 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9224 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9225 * sysdeps/x86_64/x32/shlib-versions: New file.
9226
ceb809dc
RM
92272012-05-14 Roland McGrath <roland@hack.frob.com>
9228
9229 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9230 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9231 Use _dl_fatal_printf instead.
9232
37f1abd4
JM
92332012-05-14 Joseph Myers <joseph@codesourcery.com>
9234
9235 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9236 set if not set by the user. Do not allow for being unset.
9237 * sysdeps/unix/sysv/linux/configure: Regenerated.
9238
11de3a33
L
92392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9240
9241 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9242 the `q' suffix from lea and replace .quad with ASM_ADDR.
9243
e02f153a
L
92442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9245
9246 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9247 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9248 instead of $17.
9249 (PTR_DEMANGLE): Likewise.
9250
520ae0fd
L
92512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9252
9253 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9254 (LP_OP): Likewise.
9255 (ASM_ADDR): Likewise.
9256 (RAX_LP): Likewise.
9257 (RBP_LP): Likewise.
9258 (RBX_LP): Likewise.
9259 (RCX_LP): Likewise.
9260 (RDI_LP): Likewise.
9261 (RSI_LP): Likewise.
9262 (RSP_LP): Likewise.
9263 (R8_LP): Likewise.
9264 (R9_LP): Likewise.
9265 (R10_LP): Likewise.
9266 (R10_LP): Likewise.
9267 (R11_LP): Likewise.
9268 (R12_LP): Likewise.
9269 (R13_LP): Likewise.
9270 (R14_LP): Likewise.
9271 (R15_LP): Likewise.
9272
b985be81
L
92732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9274
9275 * sysdeps/x86_64/x32/dl-machine.h: New file.
9276
6a4888ff
AJ
92772012-05-14 Andreas Jaeger <aj@suse.de>
9278
9279 * manual/Makefile (subdir): Remove export of subdir.
9280 (all): Remove target.
9281 (.PHONY): Remove all from list.
9282 (mkinstalldirs): Remove.
9283 (.PHONY): Remove installdirs from list.
9284 ($(inst_infodir)/libc.info): Use make-target-directory.
9285 (installdirs): Remove.
9286 (subdir_%): Remove.
9287 (glibc-targets): Remove.
9288 (lib): Remove.
9289 (stubs): Remove.
9290 ($(objpfx)stubs ../po/manual.pot): Remove.
9291 ($(objpfx)stamp%): Remove.
9292 (make-target-directory): Remove.
9293 (subdir_install): Remove.
9294 (routines): Remove.
9295 (aux): Remove.
9296 (sources): Remove.
9297 (objects): Remove.
9298 (headers): Remove.
9299
9300 [BZ #13750]
9301 * manual/.gitignore: Remove, it's not needed anymore.
9302 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9303 all files in it.
9304 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9305 directory.
9306 (texis): Renamed to $(objpfx)texis.
9307 (texis-path): New, contains path to generated files.
9308 (chapters.%): Use texis-path for complete path, add extra argument
9309 libc-texinfo.sh.
9310 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9311 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9312 (summary,texi, stamp-summary): Use complete path of
9313 files. Generate files in build dir.
9314 (dir-add.texi): Build in build dir.
9315 (libm-err.texi,stamp-libm-err): Likewise.
9316 (version.texi, stamp-version): Likewise.
9317 (.%c.texi): Likewise.
9318 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9319 (mostlyclean): Remove target.
9320 (realclean): Remove target.
9321 (generated): Add new variable with contents from mostlyclean and
9322 realclean, remove entries duplicated in common-mostlyclean, add
9323 stamp-libm-err and stamp-version.
9324 (generated-dirs): Add libc directory.
9325 ($(inst_infodir)/libc.info): Install files from build dir.
9326
9327 * manual/install.texi (Configuring and compiling): Adjust since
9328 the info files are not part of the tar ball anymore.
9329
7ac77294
AJ
93302012-05-14 Andreas Jaeger <aj@suse.de>
9331
9332 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9333 variable.
9334
ffb7875d
JM
93352012-05-14 Joseph Myers <joseph@codesourcery.com>
9336
9337 [BZ #13717]
9338 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9339 to 2.2.0 where earlier.
9340 * sysdeps/unix/sysv/linux/configure: Regenerated.
9341 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9342 Remove conditional code.
9343 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9344 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9345 Remove conditional code.
9346 [!__NR_lchown]: Likewise.
9347 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9348 [__NR_lchown]: Likewise.
9349 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9350 comment referencing __ASSUME_LCHOWN_SYSCALL.
9351 * sysdeps/unix/sysv/linux/i386/sigaction.c
9352 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9353 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9354 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9355 Remove conditional code.
9356 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9357 (__protocol_available): Remove #if 0 code.
9358 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9359 conditional code.
9360 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9361 * sysdeps/unix/sysv/linux/kernel-features.h
9362 (__ASSUME_GETCWD_SYSCALL): Don't define.
9363 (__ASSUME_REALTIME_SIGNALS): Likewise.
9364 (__ASSUME_PREAD_SYSCALL): Likewise.
9365 (__ASSUME_PWRITE_SYSCALL): Likewise.
9366 (__ASSUME_POLL_SYSCALL): Likewise.
9367 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9368 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9369 non-SPARC.
9370 (__ASSUME_SIOCGIFNAME): Don't define.
9371 (__ASSUME_MSG_NOSIGNAL): Likewise.
9372 (__ASSUME_SENDFILE): Define unconditionally.
9373 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9374 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9375 conditional code.
9376 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9377 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9378 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9379 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9380 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9381 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9382 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9384 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9385 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9387 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9388 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9390 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9391 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9393 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9394 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9396 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9397 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9399 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9400 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9402 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9403 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9405 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9406 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9407 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9408 Remove conditional code.
9409 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9410 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9411 Remove conditional code.
9412 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9413 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9414 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9415 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9416 Remove conditional code.
9417 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9418 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9419 Remove conditional code.
9420 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9421 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9422 Remove conditional code.
9423 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9424 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9425 Remove conditional code.
9426 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9427 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9428 Remove conditional code.
9429 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9430 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9431 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9432 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9433 * sysdeps/unix/sysv/linux/sigaction.c
9434 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9435 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9436 * sysdeps/unix/sysv/linux/sigpending.c
9437 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9438 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9439 * sysdeps/unix/sysv/linux/sigprocmask.c
9440 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9441 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9442 * sysdeps/unix/sysv/linux/sigsuspend.c
9443 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9444 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9445 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9446 (__libc_missing_rt_sigs): Remove.
9447 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9448 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9449 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9450 Remove conditional code.
9451 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9452 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9453 return 1.
9454 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9455 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9456 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9457 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9458
1bfb7291
AJ
94592012-05-14 Andreas Jaeger <aj@suse.de>
9460
caae5a81
AJ
9461 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9462 it's not used in glibc.
9463 (__coshm1): Likewise.
9464 (__acosh1p): Likewise.
9465 (__sgn): Likewise.
9466
1bfb7291
AJ
9467 * manual/string.texi (Copying and Concatenation): Add missing
9468 variable in concat example.
9469 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9470
c044d724
L
94712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9472
144c5467 9473 [BZ #14103]
c044d724
L
9474 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9475 __builtin_clzl with __builtin_clzll.
9476
2523c62b
L
94772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9478
9479 [BZ #14104]
9480 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9481 libc_freeres_ptr.
9482
d7bb4c42
LD
94832012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9484
9485 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9486 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9487 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9488 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9489
9dc4e1fb
MF
94902012-05-14 Mike Frysinger <vapier@gentoo.org>
9491
9492 * NEWS: Update ia64 info.
9493
c7df0112
AS
94942012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9495
9496 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9497 used as bcopy.
9498
dc70356c
TS
94992012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9500
9501 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9502 * sysdeps/unix/syscalls.list (dup3): Likewise.
9503 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9504 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9505
9fb1a21f
L
95062012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9507
9508 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9509 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9510
4822a2a5
L
95112012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9512
9513 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9514 thread pointer.
9515 (TLS_IE): Use mov/add instead of movq/addq to load thread
9516 pointer.
9517 (TLS_GD_PREFIX): New.
9518 (TLS_GD): Use it.
9519
842b81d6
DM
95202012-05-11 David S. Miller <davem@davemloft.net>
9521
9522 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9523 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9524 (_FPU_SETCW): Likewise.
9525
1cf463cd
L
95262012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9527
9528 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9529 is 32-byte aligned.
9530
60cc4a18
AS
95312012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9532
9533 [BZ #11837]
9534 * iconvdata/gb18030.c: Update tables.
9535 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9536 characters specially.
9537 (BODY for TO_LOOP): Add encoding of missing ranges.
9538
febb44a4
TS
95392012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9540
9541 [BZ #13673]
9542 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9543 * sysdeps/mach/hurd/dup3.c: Likewise.
9544 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9545 * sysdeps/powerpc/memmove.c:: Likewise.
9546
0a10fb9e
L
95472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9548
9549 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9550 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9551
df8a552f
L
95522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9553
9554 * elf/elf.h (R_X86_64_RELATIVE64): New.
9555 (R_X86_64_NUM): Updated.
9556 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9557 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9558 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9559 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9560 tst-quad1pie tst-quad2pie
9561 (modules-names): Add tst-quadmod1 tst-quadmod2.
9562 ($(objpfx)tst-quad1): New dependency.
9563 ($(objpfx)tst-quad2): Likewise.
9564 ($(objpfx)tst-quad1pie): Likewise.
9565 ($(objpfx)tst-quad2pie): Likewise.
9566 * sysdeps/x86_64/tst-quad1.c: New file.
9567 * sysdeps/x86_64/tst-quad1pie.c: New file.
9568 * sysdeps/x86_64/tst-quad2.c: Likewise.
9569 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9570 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9571 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9572 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9573 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9574
f34d6f84
ST
95752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9576
f42d41d1
ST
9577 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9578 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9579 * streams/stropts.h (t_scalar_t): Define type.
9580
3c3571fc
ST
9581 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9582 (_PATH_PRESERVE): Set to "/var/lib".
9583 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9584
61f06bd3
ST
9585 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9586 instead of int.
9587
918d4d71
ST
9588 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9589 if __dir_mkfile succeeded.
9590
f34d6f84
ST
9591 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9592 checking for _hurd_dtablesize. Unlock it right after having
9593 finished _hurd_dtable allocation.
9594
10589b4a
TS
95952012-05-10 Thomas Schwinge <thomas@schwinge.name>
9596
674cdbc7
TS
9597 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9598 * sysdeps/mach/hurd/configure: Regenerated.
9599 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9600 special-casing to...
9601 * sysdeps/gnu/configure.in: ... this new file.
9602 * sysdeps/unix/sysv/linux/configure: Regenerated.
9603 * sysdeps/gnu/configure: New generated file.
9604
8e41b99f
TS
9605 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9606 for Linux: use nsec instead of usec, as well as:
9607 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9608 members of type struct timespec.
9609 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9610 New macros.
9611 (struct stat64): Likewise.
9612 (_STATBUF_ST_NSEC): New macro.
9613 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9614
10589b4a
TS
9615 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9616 __strtoul_internal rather than strtoul.
9617
63643c85
PT
96182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9619
9620 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9621 and reject them.
9622
3faebe6a
ST
96232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9624
9625 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9626 which preserves existing values.
9627 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9628
c6474b07
PT
96292012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9630
9631 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9632 TIMEOUT values. Return EINVAL for NFDS values either negative or
9633 greater than FD_SETSIZE.
9634
1043890b
ST
96352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9636
9637 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9638 allocated, call __vm_protect to finish enabling the existing space, and
9639 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9640 allocate the remainder.
9641
37ed8b9b
PT
96422012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9643
9644 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9645 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9646
db653660
ST
96472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9648
37ed8b9b
PT
9649 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9650 sysdeps/mach/hurd/readlink.c.
b29d4053 9651
db653660
ST
9652 * posix/tst-sysconf.c (posix_options): Only use
9653 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9654 _POSIX_SYNCHRONIZED_IO when they are defined
9655 * sysdeps/mach/hurd/bits/posix_opt.h:
9656 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9657 (_XOPEN_REALTIME): Undefine macro.
9658 (_XOPEN_REALTIME_THREADS): Undefine macro.
9659 (_XOPEN_SHM): Undefine macro.
9660 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9661 macro to -1.
9662 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9663 macro to -1.
9664 (_POSIX_ASYNC_IO): Undefine macro.
9665 (_POSIX_PRIORITIZED_IO): Undefine macro.
9666 (_POSIX_SPIN_LOCKS): Define macro to -1.
9667
ee16e894
ST
9668 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9669 SA_NODEFER, SA_RESETHAND.
9670 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9671 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9672 F_DUPFD_CLOEXEC.
9673
6103ae3b
TS
96742012-05-10 Thomas Schwinge <thomas@schwinge.name>
9675
9676 * elf/Makefile (pldd-modules): Define unconditionally.
9677
80b4e5f3
TS
96782012-05-10 Thomas Schwinge <thomas@schwinge.name>
9679
9680 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9681
edadcbd6
ST
96822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9683
9684 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9685 Return ENOENT when name is empty.
9686 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9687
80694780
TS
96882012-05-10 Thomas Schwinge <thomas@schwinge.name>
9689
1792c087
TS
9690 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9691
80694780
TS
9692 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9693
6b645f0d
ST
96942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9695
80694780
TS
9696 Fix mlock in all cases except non-readable pages.
9697 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9698 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 9699
6b645f0d
ST
9700 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9701 (__mkdir): When path is `/', just fail with EEXIST.
9702 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9703
e468f8a3
TS
97042012-05-10 Thomas Schwinge <thomas@schwinge.name>
9705
9706 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9707 <sys/uio.h> (for writev).
9708 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9709 and <sys/param.h> (for MIN).
9710
a4186cff
PT
97112012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9712
9713 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9714 REQUESTED_TIME. Properly set the remaining time and return EINTR
9715 if interrupted.
9716
510bbf14
TS
97172012-05-10 Thomas Schwinge <thomas@schwinge.name>
9718
9719 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9720 Depend on against $(link-rpcuserlibs).
9721
5d5722e8
ST
97222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9723
a4186cff
PT
9724 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9725 (__libc_stack_end): Do not use attribute_relro.
9726 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9727 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 9728 to libthread-provided value.
a4186cff
PT
9729 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9730 attribute_relro.
5d5722e8 9731
37233df9
TS
97322012-05-10 Thomas Schwinge <thomas@schwinge.name>
9733
be971a2b
TS
9734 [BZ #3748]
9735 * bits/libc-lock.h (__libc_once_get): New macro.
9736 * sysdeps/mach/bits/libc-lock.h: Likewise.
9737 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9738 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9739 instead of using implementation details.
9740
37233df9
TS
9741 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9742 * libio/freopen.c: Likewise.
9743 * libio/freopen64.c: Likewise.
9744 * misc/syslog.c: Likewise.
9745 * nscd/connections.c: Likewise.
9746 * nscd/netgroupcache.c: Likewise.
9747 * sysdeps/posix/getcwd.c: Likewise.
9748
38de94a5
RM
97492012-05-10 Roland McGrath <roland@hack.frob.com>
9750
9751 * math/w_ilogbf.c: Add #include <limits.h>.
9752
67530489
ST
97532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9754
a4186cff 9755 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
9756 path instead of returning without unlocking.
9757
67530489
ST
9758 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9759 immediate-write ioctls.
9760 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9761
5aa3a74a
TS
97622012-05-10 Thomas Schwinge <thomas@schwinge.name>
9763
18bad2ae
TS
9764 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9765 __builtin_frame_address instead of making assumptions about the
9766 location of the return address relative to DATA. Force early load of
9767 the return address.
9768 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9769 __builtin_frame_address.
9770
5aa3a74a
TS
9771 dup3 for GNU Hurd.
9772 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9773 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9774 implement dup3 and do some further code clean-ups.
9775 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9776 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9777
ecd0de9a
ST
97782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9779
cd9fa985
ST
9780 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9781
a4186cff
PT
9782 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9783 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9784 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9785 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9786 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9787 d->port.lock.
802ca5a5 9788
a4186cff
PT
9789 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9790 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9791 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 9792
bcf55240
TS
97932012-05-10 Thomas Schwinge <thomas@schwinge.name>
9794
6960eb42
TS
9795 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9796 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9797 definitions.
9798
eb43375f
TS
9799 accept4 for GNU Hurd.
9800 * include/sys/socket.h (__libc_accept4): New prototype.
9801 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9802 to implement __libc_accept4.
9803 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9804 __libc_accept4.
9805 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9806
bcf55240
TS
9807 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9808 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9809 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9810 signal-defines.sym.
9811
6178c55b
ST
98122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9813
a4186cff 9814 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 9815
6f080c2f
TS
98162012-05-10 Thomas Schwinge <thomas@schwinge.name>
9817
9818 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9819 assertion on O_CLOEXEC flag.
9820 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9821 * hurd/intern-fd.c: Likewise.
9822 * hurd/port2fd.c: Likewise.
9823
bcfe3a54
ST
98242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9825
9826 [BZ #3906]
9827 * bits/in.h (IPV6_PKTINFO): Define new macro.
9828 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9829
89c9aa49
AZ
98302012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9831
9832 [BZ #13954]
9833 [BZ #13955]
9834 [BZ #13956]
9835 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9836 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9837 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9838 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9839 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9840 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9841 * math/libm-test.inc (logb_test) : Additional logb tests.
9842
021db4be
AJ
98432012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9844 Andreas Jaeger <aj@suse.de>
9845
9846 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9847 * configure: Regenerated.
9848 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9849 * config.make.in (link-obsolete-rpc): New substituted variable.
9850 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9851 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9852 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9853 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9854 so that libc.a contains the symbols.
9855 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9856 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9857 * sunrpc/auth_none.c: Likewise.
9858 * sunrpc/auth_unix.c: Likewise.
9859 * sunrpc/authdes_prot.c: Likewise.
9860 * sunrpc/authuxprot.c: Likewise.
9861 * sunrpc/clnt_gen.c: Likewise.
9862 * sunrpc/clnt_perr.c: Likewise.
9863 * sunrpc/clnt_raw.c: Likewise.
9864 * sunrpc/clnt_simp.c: Likewise.
9865 * sunrpc/clnt_tcp.c: Likewise.
9866 * sunrpc/clnt_udp.c: Likewise.
9867 * sunrpc/clnt_unix.c: Likewise.
9868 * sunrpc/des_crypt.c: Likewise.
9869 * sunrpc/des_soft.c: Likewise.
9870 * sunrpc/get_myaddr.c: Likewise.
9871 * sunrpc/key_call.c: Likewise.
9872 * sunrpc/key_prot.c: Likewise.
9873 * sunrpc/netname.c: Likewise.
9874 * sunrpc/pm_getmaps.c: Likewise.
9875 * sunrpc/pm_getport.c: Likewise.
9876 * sunrpc/pmap_clnt.c: Likewise.
9877 * sunrpc/pmap_prot.c: Likewise.
9878 * sunrpc/pmap_prot2.c: Likewise.
9879 * sunrpc/pmap_rmt.c: Likewise.
9880 * sunrpc/publickey.c: Likewise.
9881 * sunrpc/rpc_cmsg.c: Likewise.
9882 * sunrpc/rpc_common.c: Likewise.
9883 * sunrpc/rpc_dtable.c: Likewise.
9884 * sunrpc/rpc_prot.c: Likewise.
9885 * sunrpc/rpc_thread.c: Likewise.
9886 * sunrpc/rtime.c: Likewise.
9887 * sunrpc/svc.c: Likewise.
9888 * sunrpc/svc_auth.c: Likewise.
9889 * sunrpc/svc_raw.c: Likewise.
9890 * sunrpc/svc_run.c: Likewise.
9891 * sunrpc/svc_tcp.c: Likewise.
9892 * sunrpc/svc_udp.c: Likewise.
9893 * sunrpc/svc_unix.c: Likewise.
9894 * sunrpc/svcauth_des.c: Likewise.
9895 * sunrpc/xcrypt.c: Likewise.
9896 * sunrpc/xdr.c: Likewise.
9897 * sunrpc/xdr_array.c: Likewise.
9898 * sunrpc/xdr_float.c: Likewise.
9899 * sunrpc/xdr_intXX_t.c: Likewise.
9900 * sunrpc/xdr_mem.c: Likewise.
9901 * sunrpc/xdr_rec.c: Likewise.
9902 * sunrpc/xdr_ref.c: Likewise.
9903 * sunrpc/xdr_sizeof.c: Likewise.
9904 * sunrpc/xdr_stdio.c: Likewise.
9905
b5c086a2
RM
99062012-05-10 Roland McGrath <roland@hack.frob.com>
9907
9908 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9909 change. Update copyright years.
9910
6d74dd09
JM
99112012-05-10 Joseph Myers <joseph@codesourcery.com>
9912
9913 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9914
28e72501
MK
99152012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9916 Joseph Myers <joseph@codesourcery.com>
9917 Paul Pluzhnikov <ppluzhnikov@google.com>
9918
9919 [BZ #14012]
9920 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9921 requiring rpcgen.
9922 [cross-compiling] (extra-libs): Likewise.
9923 [cross-compiling] (extra-libs-others): Likewise.
9924 [cross-compiling] (librpcsvc-routines): Likewise.
9925 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9926 [cross-compiling] (omit-deps): Likewise.
9927 (sunrpc-CPPFLAGS): New variable.
9928 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9929 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9930 (cross-rpcgen-objs): New variable.
9931 (extra-objs): Append $(cross-rpcgen-objs).
9932 ($(cross-rpcgen-objs)): New rule.
9933 ($(objpfx)cross-rpcgen): Likewise.
9934 (rpcgen-cmd): Define to use $(built-program-file). Expand
9935 comment.
9936 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9937 ($(objpfx)x%.stmp): Likewise.
9938 * sunrpc/proto.h [IS_IN_build] (_): Define.
9939 [IS_IN_build] (_libc_intl_domainname): Likewise.
9940
c8c59454
L
99412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9942
9943 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9944 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9945 and R_X86_64_TPOFF64.
9946
6f27cd16
JM
99472012-05-10 Joseph Myers <joseph@codesourcery.com>
9948
9949 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9950 sysdeps/unix/sysv/syscalls.list.
9951 (stime): Likewise.
9952 (utime): Likewise.
9953 * sysdeps/unix/sysv/syscalls.list: Remove file.
9954
02467e1c
PE
99552012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9956
9957 [BZ #3440]
9958 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9959 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9960 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9961 (__LC_IDENTIFICATION): Make these macros useful in #if
9962 expressions, as required by C99.
9963
da392631
AS
99642012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9965
9966 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9967 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9968 after this.
9969
8115f29b
L
99702012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9971
9972 * stdlib/longlong.h: Updated from GCC.
9973
bdd74070
AJ
99742012-05-09 Andreas Jaeger <aj@suse.de>
9975
edfe0dbe
AJ
9976 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9977 default is first entry.
9978 (run_mode): Set type.
9979 (main): Remove informal message about syslog.
9980 (options): Fix typo.
9981
bcfe3a54
ST
9982 [BZ #14053]
9983 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 9984 to asm.
bcfe3a54
ST
9985 (lrint): Likewise.
9986 (llrintf): Likewise.
9987 (llrint): Likewise.
9988 (rint): Likewise.
9989 (rintf): Likewise.
9990 (nearbyint): Likewise.
9991 (nearbyintf): Likewise.
bdd74070 9992
91d8d69e
AJ
99932012-05-09 Andreas Jaeger <aj@suse.de>
9994 Pedro Alves <palves@redhat.com>
9995
9996 * nscd/nscd.c (run_mode): Use enum.
9997 (main): Cleanup coding style issue.
9998
bb90b80b
AJ
99992012-05-09 Alexandre Oliva <aoliva@redhat.com>
10000 Andreas Jaeger <aj@suse.de>
10001
bcfe3a54
ST
10002 * nscd/nscd.c (go_background): Replaced with...
10003 (run_mode): ... this.
bb90b80b 10004 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
10005 (options): Add -F --foreground.
10006 (main): Implement it.
10007 (parse_opt): Parse it.
bb90b80b 10008
1a4b75a1
AJ
100092012-05-09 Andreas Jaeger <aj@suse.de>
10010
10011 [BZ #14083]
10012 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10013 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10014 -Wconversion warning.
10015 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10016 Likewise.
10017
b1cc2472
JM
100182012-05-09 Joseph Myers <joseph@codesourcery.com>
10019
10020 * conform/data/locale.h-data (NULL): Use macro-constant. Require
10021 == 0.
10022 (LC_ALL): Use macro-int-constant.
10023 (LC_COLLATE): Likewise.
10024 (LC_CTYPE): Likewise.
10025 (LC_MESSAGES): Likewise.
10026 (LC_MONETARY): Likewise.
10027 (LC_NUMERIC): Likewise.
10028 (LC_TIME): Likewise.
10029 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10030 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10031 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10032 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10033 Specify type.
10034 [C99-based standards] (float_t): Expect type.
10035 [C99-based standards] (double_t): Expect type.
10036 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
10037 type.
10038 [C99-based standards] (HUGE_VALL): Likewise.
10039 [C99-based standards] (INFINITY): Likewise.
10040 [C99-based standards] (NAN): Likewise.
10041 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10042 [C99-based standards] (FP_NAN): Likewise.
10043 [C99-based standards] (FP_NORMAL): Likewise.
10044 [C99-based standards] (FP_SUBNORMAL): Likewise.
10045 [C99-based standards] (FP_ZERO): Likewise.
10046 [C99-based standards] (FP_FAST_FMA): Use
10047 optional-macro-int-constant. Specify type. Require == 1.
10048 [C99-based standards] (FP_FAST_FMAF): Likewise.
10049 [C99-based standards] (FP_FAST_FMAL): Likewise.
10050 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10051 [C99-based standards] (FP_ILOGBNAN): Likewise.
10052 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10053 Specify type.
10054 [C99-based standards] (MATH_ERREXCEPT): Likewise.
10055 [C99-based standards] (math_errhandling): Specify type.
10056 [ISO99 || ISO11] (signgam): Do not allow.
10057 [non-C99-based standards] (copysignf): Do not allow.
10058 [non-C99-based standards] (exp2f): Likewise.
10059 [non-C99-based standards] (log2f): Likewise.
10060 [non-C99-based standards] (modff): Allow.
10061 [non-C99-based standards] (erff): Do not allow.
10062 [non-C99-based standards] (erfcf): Likewise.
10063 [non-C99-based standards] (gammaf): Likewise.
10064 [non-C99-based standards] (hypotf): Likewise.
10065 [non-C99-based standards] (j0f): Likewise.
10066 [non-C99-based standards] (j1f): Likewise.
10067 [non-C99-based standards] (jnf): Likewise.
10068 [non-C99-based standards] (lgammaf): Likewise.
10069 [non-C99-based standards] (tgammaf): Likewise.
10070 [non-C99-based standards] (y0f): Likewise.
10071 [non-C99-based standards] (y1f): Likewise.
10072 [non-C99-based standards] (ynf): Likewise.
10073 [non-C99-based standards] (isnanf): Likewise.
10074 [non-C99-based standards] (acoshf): Likewise.
10075 [non-C99-based standards] (asinhf): Likewise.
10076 [non-C99-based standards] (atanhf): Likewise.
10077 [non-C99-based standards] (cbrtf): Likewise.
10078 [non-C99-based standards] (expm1f): Likewise.
10079 [non-C99-based standards] (ilogbf): Likewise.
10080 [non-C99-based standards] (log1pf): Likewise.
10081 [non-C99-based standards] (logbf): Likewise.
10082 [non-C99-based standards] (nextafterf): Likewise.
10083 [non-C99-based standards] (remainderf): Likewise.
10084 [non-C99-based standards] (rintf): Likewise.
10085 [non-C99-based standards] (scalbf): Likewise.
10086 [non-C99-based standards] (copysignl): Likewise.
10087 [non-C99-based standards] (exp2l): Likewise.
10088 [non-C99-based standards] (log2l): Likewise.
10089 [non-C99-based standards] (modfl): Allow.
10090 [non-C99-based standards] (erfl): Do not allow.
10091 [non-C99-based standards] (erfcl): Likewise.
10092 [non-C99-based standards] (gammal): Likewise.
10093 [non-C99-based standards] (hypotl): Likewise.
10094 [non-C99-based standards] (j0l): Likewise.
10095 [non-C99-based standards] (j1l): Likewise.
10096 [non-C99-based standards] (jnl): Likewise.
10097 [non-C99-based standards] (lgammal): Likewise.
10098 [non-C99-based standards] (tgammal): Likewise.
10099 [non-C99-based standards] (y0l): Likewise.
10100 [non-C99-based standards] (y1l): Likewise.
10101 [non-C99-based standards] (ynl): Likewise.
10102 [non-C99-based standards] (isnanl): Likewise.
10103 [non-C99-based standards] (acoshl): Likewise.
10104 [non-C99-based standards] (asinhl): Likewise.
10105 [non-C99-based standards] (atanhl): Likewise.
10106 [non-C99-based standards] (cbrtl): Likewise.
10107 [non-C99-based standards] (expm1l): Likewise.
10108 [non-C99-based standards] (ilogbl): Likewise.
10109 [non-C99-based standards] (log1pl): Likewise.
10110 [non-C99-based standards] (logbl): Likewise.
10111 [non-C99-based standards] (nextafterl): Likewise.
10112 [non-C99-based standards] (remainderl): Likewise.
10113 [non-C99-based standards] (rintl): Likewise.
10114 [non-C99-based standards] (scalbl): Likewise.
10115 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10116 [non-C99-based standards] (FP_*): Do not allow.
10117 [C99-based standards] (FP_*): Change to
10118 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10119 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10120 allow.
10121 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10122 (SIG_ERR): Likewise.
10123 [X/Open-based standards] (SIG_HOLD): Likewise.
10124 (SIG_IGN): Likewise.
10125 (SIGABRT): Use macro-int-constant. Specify type. Require
10126 positive value.
10127 (SIGFPE): Likewise.
10128 (SIGILL): Likewise.
10129 (SIGINT): Likewise.
10130 (SIGSEGV): Likewise.
10131 (SIGTER): Likewise.
10132 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10133 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10134 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10135 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10136 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10137 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10138 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10139 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10140 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10141 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10142 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10143 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10144 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10145 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10146 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10147 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10148 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10149 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10150 [X/Open-based standards] (SIGTRAP): Likewise.
10151 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10152 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10153 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10154 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10155 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10156 allow.
10157
b9f1922d
IW
101582012-05-08 Ian Wienand <ianw@vmware.com>
10159
10160 [BZ #14080]
10161 * time/tzset.c (__tzset_parse_tz): Update default rules for
10162 daylight time changes in the Energy Policy Act of 2005.
10163
1db86e88
AJ
101642012-05-09 Andreas Jaeger <aj@suse.de>
10165
10166 [BZ #13983]
10167 * elf/ldconfig.c (parse_conf): Change string to make clear that
10168 ldconfig only issued a warning if ld.so.conf does not exist.
10169
dee4a4e3
DM
101702012-05-08 David S. Miller <davem@davemloft.net>
10171
ee0db190
DM
10172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10173 movxtod instead of popping the value on the stack.
10174
dee4a4e3
DM
10175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10176
6a43ec98
CD
101772012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10178
10179 * config.h.in: Add HAVE_ARM_PCS_VFP.
10180
05c2c961
RMG
101812012-05-08 Roland Mc Grath <roland@hack.frob.com>
10182
bcfe3a54
ST
10183 [BZ #13979]
10184 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10185 checking but the checks are disabled for any reason.
05c2c961 10186
4b30f61a
L
101872012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10188
10189 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10190 and ELF64_R_TYPE with ELFW(R_TYPE).
10191
eee2bc67
JM
101922012-05-08 Joseph Myers <joseph@codesourcery.com>
10193
7ea5391a
JM
10194 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10195 (ulimit): Likewise.
10196
eee2bc67
JM
10197 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10198 (settimeofday): Likewise.
10199
abb66a67
MF
102002012-05-08 Mike Frysinger <vapier@gentoo.org>
10201
10202 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10203 a struct th_u2 inside the union, and move tu_block/tu_code into
10204 a new th_u3 union of tu_block/tu_code inside of that. Move
10205 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10206 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10207 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10208 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10209 (th_stuff): Change to th_u1.tu_stuff.
10210 (th_data): Define.
10211 (th_msg): Change to th_u1.th_u2.tu_data.
10212
7f18b530
DM
102132012-05-07 David S. Miller <davem@davemloft.net>
10214
05760585
DM
10215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10216
7f18b530
DM
10217 [BZ #14074]
10218 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10219 (SETUP_PIC_REG): Use it.
10220 (SETUP_PIC_REG_LEAF): Use it.
10221
495fd99f
JM
102222012-05-07 Joseph Myers <joseph@codesourcery.com>
10223
10224 [BZ #13885]
10225 [BZ #13923]
10226 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10227 USE_AS_EXPM1L.
10228 (EXPL_FINITE): Likewise.
10229 (FLDLOG): Likewise.
10230 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10231 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10232 e_expl.S.
10233 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10234 USE_AS_EXPM1L.
10235 (EXPL_FINITE): Likewise.
10236 (FLDLOG): Likewise.
10237 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10238 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10239 e_expl.S.
10240 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10241 test of -max_value argument for long double.
10242 * sysdeps/i386/fpu/libm-test-ulps: Update.
10243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10244
6693d694
DM
102452012-05-06 David S. Miller <davem@davemloft.net>
10246
10247 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10248 quad soft-float symbols whose references which are compiler
10249 generated.
10250 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10251
6c23e11c
JM
102522012-05-06 Joseph Myers <joseph@codesourcery.com>
10253
d8b82cad
JM
10254 [BZ #13884]
10255 [BZ #13914]
10256 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10257 USE_AS_EXP10L.
10258 (EXPL_FINITE): Likewise.
10259 (FLDLOG): Likewise.
10260 (c0): Likewise.
10261 (c1): Likewise.
10262 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10263 Adjust comments for base varying.
10264 (__expl_finite): Change alias to EXPL_FINITE.
10265 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10266 e_expl.S.
10267 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10268 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10269 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10270 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10271 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10272 USE_AS_EXP10L.
10273 (EXPL_FINITE): Likewise.
10274 (FLDLOG): Likewise.
10275 (c0): Likewise.
10276 (c1): Likewise.
10277 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10278 Adjust comments for base varying.
10279 (__expl_finite): Change alias to EXPL_FINITE.
10280 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10281 tests for bugs.
10282 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10283
6c23e11c
JM
10284 [BZ #14064]
10285 * math/libm-test.inc (check_float_internal): Correct ulp
10286 calculation for subnormal expected results.
10287
29ba805c
AJ
102882012-05-06 Andreas Jaeger <aj@suse.de>
10289
10290 * Makeconfig (+math-flags): New, set to -frounding-math.
10291 (+cflags): Add +math-flags so that all of glibc gets compiled with
10292 it.
10293
10294 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10295
7b17aeda
JM
102962012-05-05 Joseph Myers <joseph@codesourcery.com>
10297
5779f134
JM
10298 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10299 Disable one test.
10300
41498f4d
JM
10301 [BZ #13787]
10302 [BZ #13922]
10303 [BZ #14036]
10304 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10305 (__ieee754_expl): Allow for and saturate large arguments.
10306 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10307 (u_threshold): Likewise.
10308 (__exp): Call __ieee754_exp before checking for overflow and
10309 underflow.
10310 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10311 (u_threshold): Likewise.
10312 (__expf): Call __ieee754_expf before checking for overflow and
10313 underflow.
10314 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10315 (u_threshold): Likewise.
10316 (__expl): Call __ieee754_expl before checking for overflow and
10317 underflow.
10318 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10319 (__ieee754_expl): Allow for and saturate large arguments.
10320 * math/libm-test.inc (exp_test): Add another test. Do not allow
10321 missing overflow exception on overflow.
10322 (expm1_test): Do not allow missing overflow exception on overflow.
10323
6698b8bf
JM
10324 * sysdeps/i386/fpu/e_expl.c: Move to ...
10325 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10326 rather than using inline asm.
10327 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10328 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10329 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10330
7b17aeda
JM
10331 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10332 (nice): Likewise.
10333 (poll): Likewise.
10334 (signal): Likewise.
10335 (time): Likewise.
10336 (times): Likewise.
10337
f7c85819
JM
103382012-05-04 Joseph Myers <joseph@codesourcery.com>
10339
10340 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10341 sysdeps/unix/common/syscalls.list.
10342 (fchmod): Likewise.
10343 (fchown): Likewise.
10344 (ftruncate): Likewise.
10345 (getrusage): Likewise.
10346 (gettimeofday): Likewise.
10347 (setpgid): Likewise.
10348 (setregid): Likewise.
10349 (setreuid): Likewise.
10350 (sigaction): Likewise.
10351 (truncate): Likewise.
10352 (vhangup): Likewise.
10353 * sysdeps/unix/common/syscalls.list: Remove file.
10354 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10355 * sysdeps/unix/sysv/linux/Implies: Likewise.
10356
336270d0
L
103572012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10358
10359 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10360 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10361 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10362 Moved to ...
10363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10364 Here.
10365 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10366 to ...
10367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10368 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10369 to ...
10370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10371 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10372 to ...
10373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10374 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10375 to ...
10376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10377 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10378 to ...
10379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10380 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10381 to ...
10382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10383 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10384 to ...
10385 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10386 Here.
10387 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10388 to ...
10389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10390 Here.
10391 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10392 to ...
10393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10394 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10395 Moved to ...
10396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10397 Here.
10398 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10399 to ...
10400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10401
d128e450
JM
104022012-05-04 Joseph Myers <joseph@codesourcery.com>
10403
fa8ee516
JM
10404 * sysdeps/unix/common/bits/dirent.h: Remove file.
10405 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10406
d128e450
JM
10407 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10408 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10409 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10410 * sysdeps/unix/bsd/isatty.c: Likewise.
10411 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10412 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10413 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10414
ff8faaf0 104152012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 10416
62881be4 10417 [BZ #13563]
31dc8730
AZ
10418 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10419 long double comparison inaccuracies.
10420 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10422
6fef930c
AS
104232012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10424
10425 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10426 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10427
8f203e6c
JM
104282012-05-04 Joseph Myers <joseph@codesourcery.com>
10429
10430 [BZ #14049]
10431 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10432 nonzero digits before rounding a hex value.
10433 * stdlib/tst-strtod.c (tests): Add another test.
10434
5197d9c2
AK
104352012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10436
10437 * sysdeps/s390/fpu/libm-test-ulps: Update.
10438
f0c1dedf
AJ
104392012-05-03 Andreas Jaeger <aj@suse.de>
10440
10441 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10442 does not get optimized out.
10443 (malloc_opt_barrier): New.
10444
a65ef2ae 104452012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 10446 Roland McGrath <roland@hack.frob.com>
a65ef2ae 10447
2b942cb7 10448 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 10449 intermediate file deletion.
2b942cb7 10450 (generated): Add .symlist files.
a65ef2ae 10451
54b71e02
JM
104522012-05-03 Joseph Myers <joseph@codesourcery.com>
10453
10454 [BZ #13775]
10455 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10456 Redirect under this condition.
10457 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10458 [__USE_GNU] (__dprintf_chk): Not under this condition.
10459 [__USE_GNU] (__vdprintf_chk): Likewise.
10460 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10461 under this condition.
10462 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10463 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10464 [__USE_XOPEN2K8] (vdprintf): Likewise.
10465 [__USE_GNU] (__dprintf_chk): Not under this condition.
10466 [__USE_GNU] (__vdprintf_chk): Likewise.
10467 [__USE_GNU] (dprintf): Likewise.
10468 [__USE_GNU] (vdprintf): Likewise.
10469
d3dfcc41
RM
104702012-05-03 Roland McGrath <roland@hack.frob.com>
10471
10472 * elf/Makefile (common-generated): Set this instead of generated for
10473 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10474 $(all-built-dso)-derived lists.
10475
7ac30cc5
AJ
104762012-05-03 Andreas Jaeger <aj@suse.de>
10477
0c51e550
AJ
10478 * sysdeps/i386/fpu/libm-test-ulps: Update.
10479
7ac30cc5
AJ
10480 * FAQ: Removed.
10481 * FAQ.in: Likewise.
10482 * scripts/gen-FAQ.pl: Likewise.
10483 * manual/install.texi (Installation): Point to online location of
10484 FAQ.
10485 * Makefile (files-for-dist): Remove FAQ.
10486 (FAQ): Remove.
10487
d4c2917f
AM
104882012-05-02 Allan McRae <allan@archlinux.org>
10489
10490 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10491 (LDFLAGS-reldepmod5.so): Likewise.
10492 (LDFLAGS-reldep6mod1.so): Likewise.
10493 (LDFLAGS-reldep6mod4.so): Likewise.
10494 (LDFLAGS-reldep8mod3.so): Likewise.
10495 (LDFLAGS-unload4mod1.so): Likewise.
10496 (LDFLAGS-unload4mod2.so): Likewise.
10497 (LDFLAGS-tst-initorder): Likewise.
10498 (LDFLAGS-tst-initordera2.so): Likewise.
10499 (LDFLAGS-tst-initordera3.so): Likewise.
10500 (LDFLAGS-tst-initordera4.so): Likewise.
10501 (LDFLAGS-tst-initorderb2.so): Likewise.
10502 (LDFLAGS-noload): Likewise.
10503 (LDFLAGS-next): Likewise.
10504 (LDFLAGS-order2mod1.so): Likewise.
10505 (LDFLAGS-order2mod2.so): Likewise.
10506 (LDFLAGS-tst-initorder2): Likewise.
10507 (LDFLAGS-tst-initorder2a.so): Likewise.
10508 (LDFLAGS-tst-initorder2b.so): Likewise.
10509 (LDFLAGS-tst-initorder2c.so): Likewise.
10510 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10511
d77f993f
DM
105122012-05-02 David S. Miller <davem@davemloft.net>
10513
10514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10515
171a70b4
PP
105162012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10517
10518 [BZ #14055]
10519 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10520
0be196ad
AJ
105212012-05-02 Andreas Jaeger <aj@suse.de>
10522
10523 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10524 since we manipulate rounding mode.
10525 (CPPFLAGS-test-idouble.c): Likewise.
10526 (CPPFLAGS-test-ifloat.c): Likewise.
10527 (CFLAGS-test-ldouble.c): Likewise.
10528 (CFLAGS-test-double.c): Likewise.
10529 (CFLAGS-test-float.c): Likewise.
10530 (CFLAGS-test-misc.c): Likewise.
10531 (CFLAGS-test-test-fenv.c): Likewise.
10532
4f9d04aa
AZ
105332012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10534
2b942cb7
RM
10535 [BZ #2550]
10536 [BZ #2570]
10537 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10538 comparisons to determine direction to adjust input.
4f9d04aa 10539
82a79e7d
RM
105402012-05-01 Roland McGrath <roland@hack.frob.com>
10541
f5a01ca9
RM
10542 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10543 output to the target.
10544
90fe4186
RM
10545 * scripts/localplt.awk: New file.
10546 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10547 (check-localplt-CFLAGS): Variable removed.
10548 ($(all-built-dso:=.jmprel)): New static pattern rule.
10549 (generated): Add those targets.
10550 (localplt-built-dso): New variable.
10551 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10552
10553 * elf/check-localplt.c: File removed.
10554
82397ed6
RM
10555 * scripts/check-execstack.awk: New file.
10556 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10557 (check-execstack-CFLAGS): Variable removed.
10558 ($(objpfx)check-execstack.h): Target removed.
10559 ($(objpfx)execstack-default): New target.
10560 (generated): Add that instead of check-execstack.h.
10561 ($(all-built-dso:=.phdr)): New static pattern rule.
10562 (generated): Add those targets.
10563 * elf/check-execstack.c: File removed.
10564
82a79e7d
RM
10565 * scripts/check-textrel.awk: New file.
10566 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10567 (check-textrel-CFLAGS): Variable removed.
10568 (all-built-dso): Use := to define.o
10569 ($(all-built-dso:=.dyn)): New static pattern rule.
10570 (generated): Add those targets.
10571 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10572 * config.make.in (READELF): New substituted variable.
10573 * elf/check-textrel.c: File removed.
10574
62fde54f 105752012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 10576
615605c9
JM
10577 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10578 allow.
10579 * conform/data/ctype.h-data [C99-based standards] (isblank):
10580 Expect function.
10581 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10582 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10583 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10584 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10585 Specify type. Require positive value.
10586 (EILSEQ): Likewise.
10587 (ERANGE): Likewise.
10588 [ISO || POSIX] (EILSEQ): Do not expect.
10589 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10590 Specify type. Require positive value.
10591 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10592 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10593 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10594 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10595 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10596 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10597 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10598 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10599 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10600 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10601 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10602 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10603 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10604 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10605 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10606 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10607 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10608 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10609 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10610 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10611 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10612 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10613 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10614 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10615 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10616 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10617 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10618 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10619 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10620 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10621 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10622 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10623 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10624 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10625 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10626 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10627 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10628 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10629 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10630 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10631 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10632 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10633 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10634 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10635 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10636 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10637 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10638 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10639 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10640 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10641 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10642 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10643 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10644 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10645 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10646 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10647 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10648 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10649 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10650 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10651 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10652 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10653 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10654 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10655 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10656 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10657 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10658 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10659 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10660 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10661 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10662 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10663 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10664 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10665 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10666 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10667 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10668 Require >= 2.
10669 (FLT_ROUNDS): Expect as macro, not constant.
10670 (FLT_MANT_DIG): Use macro-int-constant.
10671 (DBL_MANT_DIG): Likewise.
10672 (LDBL_MANT_DIG): Likewise.
10673 (FLT_DIG): Likewise.
10674 (DBL_DIG): Likewise.
10675 (LDBL_DIG): Likewise.
10676 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10677 (DBL_MIN_EXP): Likewise.
10678 (LDBL_MIN_EXP): Likewise.
10679 (FLT_MAX_EXP): Use macro-int-constant.
10680 (DBL_MAX_EXP): Likewise.
10681 (LDBL_MAX_EXP): Likewise.
10682 (FLT_MAX_10_EXP): Likewise.
10683 (DBL_MAX_10_EXP): Likewise.
10684 (LDBL_MAX_10_EXP): Likewise.
10685 (FLT_MAX): Use macro-constant.
10686 (DBL_MAX): Likewise.
10687 (LDBL_MAX): Likewise.
10688 (FLT_EPSILON): Use macro-constant. Give upper bound.
10689 (DBL_EPSILON): Likewise.
10690 (LDBL_EPSILON): Likewise.
10691 (FLT_MIN): Likewise.
10692 (DBL_MIN): Likewise.
10693 (LDBL_MIN): Likewise.
10694 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10695 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10696 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10697 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10698 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10699 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10700 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10701 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10702 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10703 [ISO11] (FLT_TRUE_MIN): Likewise.
10704 [ISO11] (LDBL_TRUE_MIN): Likewise.
10705 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10706 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10707 (SCHAR_MIN): Use macro-int-constant. Specify type.
10708 (SCHAR_MAX): Likewise.
10709 (UCHAR_MAX): Likewise.
10710 (CHAR_MIN): Likewise.
10711 (CHAR_MAX): Likewise.
10712 (MB_LEN_MAX): Use macro-int-constant.
10713 (SHRT_MIN): Use macro-int-constant. Specify type.
10714 (SHRT_MAX): Likewise.
10715 (USHRT_MAX): Likewise.
10716 (INT_MAX): Likewise.
10717 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10718 bound negative.
10719 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10720 bound with "U".
10721 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10722 bound with "L".
10723 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10724 bound negative. Suffix upper bound with "L".
10725 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10726 bound with "UL".
10727 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10728 Specify type.
10729 [C99-based standards] (LLONG_MAX): Likewise.
10730 [C99-based standards] (ULLONG_MAX): Likewise.
10731 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10732 == 0.
10733 [ISO11] (max_align_t): Require type.
10734 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10735
c9140a62
JM
10736 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10737 from $CFLAGS, without defining away __attribute__ calls.
10738 (checknamespace): Use $CFLAGS_namespace.
10739
9af0bf29
JM
10740 * conform/conformtest.pl (@keywords): Only include C99 keywords
10741 for standards based on C99 or C11.
10742
343222a2
JM
10743 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10744 Disable tests.
10745 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10746 UNIX98]: Likewise.
10747
661f8cf0
JM
10748 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10749 usability of symbols in #if.
10750
ee74b9cb
JM
10751 * conform/conformtest.pl: If macro or constant types start
10752 "promoted:", expect the symbol to be of the following type
10753 promoted by the integer promotions.
62fde54f 10754
aafc49b3
JM
10755 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10756 in one place. Also handle "macro-constant".
10757
fefdf574
JM
10758 * conform/conformtest.pl: Only accept expected macro values with
10759 "==". Parse all "macro" lines in one place.
10760 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10761
f2d922fe
JM
10762 * conform/conformtest.pl: Handle braced types on "constant" lines
10763 instead of handling "typed-constant".
10764 * conform/data/signal.h-data: Use "constant" instead of
10765 "typed-constant".
10766
d22956c9
JM
10767 * conform/conformtest.pl: Handle "optional-" at start of lines in
10768 one place rather than duplicating several cases. Handle each
10769 format of "macro" line with initial "optional-".
10770
028e2e38
JM
10771 * conform/conformtest.pl: Only accept expected constant or
10772 optional-constant values with "==". Parse all "constant" lines in
10773 one place. Parse all "optional-constant" lines in one place.
10774 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10775 * conform/data/fmtmsg.h-data: Likewise.
10776 * conform/data/netinet/in.h-data: Likewise.
10777 * conform/data/tar.h-data: Likewise.
10778 * conform/data/limits.h-data: Use "==" form on "constant" and
10779 "optional-constant" lines.
10780
1b8f2850
JM
10781 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10782 Use -std=c99 for XOPEN2K.
10783 (@knownproblems): Remove.
10784 (newtoken): Don't check %isknown.
10785
a05a144b
JM
10786 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10787 Do not expect macro.
10788 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10789 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10790 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10791 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10792 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10793 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10794 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10795 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10796 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10797 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10798 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10799 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10800 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10801 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10802 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10803 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10804 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10805 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10806 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10807 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10808 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10809 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10810 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10811 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10812 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10813 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10814 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10815 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10816 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10817 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10818 [XPG3] (acosh): Likewise.
10819 [XPG3] (asinh): Likewise.
10820 [XPG3] (atanh): Likewise.
10821 [XPG3] (cbrt): Likewise.
10822 [XPG3] (expm1): Likewise.
10823 [XPG3] (ilogb): Likewise.
10824 [XPG3] (log1p): Likewise.
10825 [XPG3] (logb): Likewise.
10826 [XPG3] (nextafter): Likewise.
10827 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10828 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10829 [XPG3] (remainder): Likewise.
10830 [XPG3] (rint): Likewise.
10831 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10832 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10833 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10834 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10835 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10836 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10837 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10838 [UNIX98 || XOPEN2K] (scalb): Expect.
10839 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10840 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10841 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10842 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10843 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10844 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10845 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10846 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10847 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10848 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10849 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10850 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10851 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10852 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10853 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10854 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10855 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10856 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10857 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10858 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10859 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10860 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10861 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10862 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10863 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10864 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10865 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10866 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10867 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10868 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10869 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10870 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10871 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10872 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10873 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10874 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10875 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10876 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10877 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10878 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10879 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10880 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10881 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10882 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10883 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10884 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10885 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10886 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10887 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10888 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10889 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10890 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10891 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10892 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10893 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10894 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10895 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10896 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10897 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10898 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10899 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10900 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10901 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10902 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10903 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10904 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10905 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10906 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10907 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10908 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10909 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10910 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10911 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10912 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10913 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10914 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10915 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10916 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10917 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10918 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10919 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10920 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10921 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10922 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10923 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10924 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10925 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10926 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10927 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10928 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10929 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10930 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10931 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10932 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10933 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10934 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10935 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10936 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10937 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10938 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10939 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10940 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10941 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10942 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10943 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10944 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10945 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10946 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10947 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10948 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10949 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10950 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10951 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10952 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10953 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10954 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10955 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10956 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10957 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10958 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10959 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10960 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10961 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10962 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10963 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10964 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10965 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10966 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10967 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10968 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10969 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10970 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10971 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10972 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10973 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10974 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10975 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10976
73c5ebe3
JM
10977 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10978 _XOPEN_SOURCE_EXTENDED for XPG4.
10979
39c33b6c
JM
10980 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10981
62fde54f
JM
10982 * Makeconfig (localtime): Remove variable.
10983 (inst_localtime-file): Likewise.
10984
0741d64c
AS
109852012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10986
10987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10988 Update.
10989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10990 Update.
10991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10992 Update.
10993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10994 Update.
10995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10996 Update.
10997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10998 Update.
10999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11000 Update.
11001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11002 Update.
11003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11004 Update.
11005
7cb029ee
JM
110062012-05-01 Joseph Myers <joseph@codesourcery.com>
11007
11008 [BZ #2550]
11009 [BZ #2570]
11010 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11011 comparisons to determine direction to adjust input.
11012 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11013 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11014 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11015 Likewise.
11016 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11017 Likewise.
11018 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11019 Likewise.
11020 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11021 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11022 Likewise.
11023 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11024 Likewise.
11025 * math/libm-test.inc (nexttoward_test): Add more tests.
11026
412bd966
AS
110272012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11028
11029 [BZ #14040]
11030 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11031 in version GLIBC_2.1, not GLIBC_2.0.
11032 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11033 Likewise.
11034
9568c0c2
JM
110352012-04-30 Joseph Myers <joseph@codesourcery.com>
11036
adfbc8ac
JM
11037 [BZ #13942]
11038 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11039 (1 - x) * (1 + x).
11040 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11041 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11042 * math/libm-test.inc (acos_test): Add more tests.
11043 (asin_test): Likewise.
11044 * sysdeps/i386/fpu/libm-test-ulps: Update.
11045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11046
5ba3cc69
JM
11047 [BZ #14034]
11048 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11049 of square root.
11050 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11051 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11052 * math/libm-test.inc (acos_test_tonearest): New function.
11053 (acos_test_towardzero): Likewise.
11054 (acos_test_downward): Likewise.
11055 (acos_test_upward): Likewise.
11056 (asin_test_tonearest): Likewise.
11057 (asin_test_towardzero): Likewise.
11058 (asin_test_downward): Likewise.
11059 (asin_test_upward): Likewise.
11060 (main): Call the new functions.
11061 * sysdeps/i386/fpu/libm-test-ulps: Update.
11062 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11063
9568c0c2
JM
11064 [BZ #13884]
11065 [BZ #13924]
11066 * math/e_exp10.c: Include <float.h>.
11067 (__ieee754_exp10): Handle underflow here rather than multiplying
11068 large negative argument by M_LN10.
11069 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11070 of __ieee754_expf.
11071 * math/e_exp10l.c: Include <float.h>.
11072 (__ieee754_exp10l): Handle underflow here rather than multiplying
11073 large negative argument by M_LN10l.
11074 * math/libm-test.inc (exp10_test): Add another test. Do not allow
11075 spurious overflow exception on underflow.
11076
5ac3ea17
MP
110772012-04-29 Marek Polacek <polacek@redhat.com>
11078
11079 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11080 (__fortify_function): New macro.
11081 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11082 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11083 __extern_always_inline.
11084 * libio/bits/stdio2.h: Likewise.
11085 * libio/bits/stdio.h: Likewise.
11086 * string/string.h: Likewise.
11087 * string/bits/string3.h: Likewise.
11088 * include/stdio.h: Likewise.
11089 * stdlib/bits/stdlib.h: Likewise.
11090 * stdlib/stdlib.h: Likewise.
11091 * rt/bits/mqueue2.h: Likewise.
11092 * rt/mqueue.h: Likewise.
11093 * posix/bits/unistd.h: Likewise.
11094 * posix/unistd.h: Likewise.
11095 * io/bits/poll2.h: Likewise.
11096 * io/bits/fcntl2.h: Likewise.
11097 * io/fcntl.h: Likewise.
11098 * io/sys/poll.h: Likewise.
11099 * misc/bits/syslog.h: Likewise.
11100 * misc/bits/syslog-ldbl.h: Likewise.
11101 * misc/sys/syslog.h: Likewise.
11102 * socket/bits/socket2.h: Likewise.
11103 * socket/sys/socket.h: Likewise.
11104 * debug/tst-chk1.c: Likewise.
11105 * wcsmbs/bits/wchar2.h: Likewise.
11106 * wcsmbs/bits/wchar-ldbl.h: Likewise.
11107 * wcsmbs/wchar.h: Likewise.
11108
ecf0ebfb
AJ
111092012-04-29 Andreas Jaeger <aj@suse.de>
11110
11111 * Makerules (tests): Remove enable-check-abi protection.
11112 (check-abi-warn): Remove.
11113 (check-abi-%): Remove check-abi-warn usage.
11114
11115 * configure.in: Remove check-abi configure option.
11116 * configure: Regenerated.
11117 * config.make.in (enable-check-abi): Remove.
11118
6d5c57fa
AS
111192012-04-28 Andreas Schwab <schwab@linux-m68k.org>
11120
24c5d07e 11121 [BZ #14033]
ded5180a
AS
11122 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11123 double functions to double *_finite functions.
11124
7e0d315d
AS
11125 [BZ #13941]
11126 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11127 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11128 LDBL_MIN_EXP.
11129 * stdio-common/Makefile (tests): Add tst-sprintf3.
11130 * stdio-common/tst-sprintf3.c: New file.
11131
6d5c57fa
AS
11132 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11133 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11134
0749ff8b
JM
111352012-04-28 Joseph Myers <joseph@codesourcery.com>
11136
11137 * conform/conformtest.pl: Remove duplicate typed-constant
11138 handling.
11139
8dbd5d7b
DM
111402012-04-28 David S. Miller <davem@davemloft.net>
11141
11142 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11143 (check-abi-%): Remove AWK script prerequisite and explicit
11144 abilist directory.
11145 (check-abi): Rewrite to just diff the symlist with the abilist.
11146 (config-tls, config-abi-config): Delete, no longer used.
11147 (update-abi-%): Remove AWK script and explicit abilist directory.
11148 (update-abi): Rewrite to simply compare and conditionally copy the
11149 symlist and the sysdep abilist file. Remove update-abi-config
11150 checks.
11151 * abilist/ld.abilist: Remove.
11152 * abilist/libBrokenLocale.abilist: Remove.
11153 * abilist/libanl.abilist: Remove.
11154 * abilist/libcrypt.abilist: Remove.
11155 * abilist/libdl.abilist: Remove.
11156 * abilist/librt.abilist: Remove.
11157 * abilist/libthread_db.abilist: Remove.
11158 * abilist/libutil.abilist: Remove.
11159 * scripts/extract-abilist.awk: Remove.
11160 * scripts/merge-abilist.awk: Remove.
11161 * sysdeps/generic/libcidn.abilist: New file.
11162 * sysdeps/generic/libnss_compat.abilist: New file.
11163 * sysdeps/generic/libnss_db.abilist: New file.
11164 * sysdeps/generic/libnss_dns.abilist: New file.
11165 * sysdeps/generic/libnss_files.abilist: New file.
11166 * sysdeps/generic/libnss_hesiod.abilist: New file.
11167 * sysdeps/generic/libnss_nis.abilist: New file.
11168 * sysdeps/generic/libnss_nisplus.abilist: New file.
11169 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11170 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11171 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11172 file.
11173 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11174 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11175 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11176 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11177 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11178 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11179 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11180 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11181 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11182 file.
11183 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11184 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11185 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11186 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11187 file.
11188 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11189 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11190 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11191 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11192 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11193 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11194 file.
11195 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11196 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11197 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11198 file.
11199 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11200 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11201 New file.
11202 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11203 New file.
11204 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11205 New file.
11206 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11207 New file.
11208 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11209 New file.
11210 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11211 New file.
11212 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11213 New file.
11214 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11215 New file.
11216 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11217 New file.
11218 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11219 New file.
11220 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11221 New file.
11222 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11223 New file.
11224 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11225 New file.
11226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11227 file.
11228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11229 New file.
11230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11231 New file.
11232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11233 file.
11234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11235 New file.
11236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11237 New file.
11238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11239 file.
11240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11241 New file.
11242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11243 New file.
11244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11245 New file.
11246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11247 New file.
11248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11249 New file.
11250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11251 New file.
11252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11254 file.
11255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11256 New file.
11257 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11258 file.
11259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11260 file.
11261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11262 file.
11263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11264 file.
11265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11266 file.
11267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11268 New file.
11269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11270 file.
11271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11272 file.
11273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11274 New file.
11275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11276 file.
11277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11279 file.
11280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11281 New file.
11282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11283 file.
11284 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11285 file.
11286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11287 file.
11288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11289 file.
11290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11291 file.
11292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11293 New file.
11294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11295 file.
11296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11297 file.
11298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11299 New file.
11300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11301 file.
11302 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11303 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11304 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11305 file.
11306 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11307 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11308 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11309 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11310 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11311 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11312 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11313 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11314 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11315 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11318 file.
11319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11320 New file.
11321 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11322 file.
11323 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11324 file.
11325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11326 file.
11327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11328 file.
11329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11330 file.
11331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11332 New file.
11333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11334 New file.
11335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11336 file.
11337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11338 New file.
11339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11340 file.
11341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11342 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11343 file.
11344 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11345 New file.
11346 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11347 file.
11348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11349 file.
11350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11351 file.
11352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11353 file.
11354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11355 file.
11356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11357 New file.
11358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11359 New file.
11360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11361 file.
11362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11363 New file.
11364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11365 file.
11366
41d73a1b
JM
113672012-04-28 Joseph Myers <joseph@codesourcery.com>
11368
11369 * conform/conformtest.pl: Fix typo in handling typed-constant from
11370 allow-header.
11371
28aeeda4
JM
113722012-04-27 Joseph Myers <joseph@codesourcery.com>
11373
adae8f5e
JM
11374 * README: Cut down references to pre-2.6 Linux kernels and
11375 Linuxthreads. Update lists of configurations in libc and ports
11376 and sort alphabetically. Say "or newer" with Linux kernel version
11377 requirements.
11378
28aeeda4
JM
11379 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11380
a462cb63
RA
113812012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11382
11383 [BZ #887]
11384 * math/libm-test.inc (logb_test_downward): New test to expose
11385 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11386 rounding mode.
11387
6ad3493e
JM
113882012-04-27 Joseph Myers <joseph@codesourcery.com>
11389
11390 [BZ #14027]
11391 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11392 to be done.
11393 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11394 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11395
2ce4f015
JM
113962012-04-26 Joseph Myers <joseph@codesourcery.com>
11397
5aeb141a
JM
11398 * sysdeps/unix/i386/brk.S: Remove file.
11399 * sysdeps/unix/i386/dl-brk.S: Likewise.
11400 * sysdeps/unix/i386/pipe.S: Likewise.
11401 * sysdeps/unix/i386/sigreturn.S: Likewise.
11402 * sysdeps/unix/i386/syscall.S: Likewise.
11403 * sysdeps/unix/i386/vfork.S: Likewise.
11404 * sysdeps/unix/i386/wait.S: Likewise.
11405
7143acae
JM
11406 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11407 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11408
2ce4f015
JM
11409 * configure.in (arm*-none*): Do not allow without
11410 --enable-hacker-mode.
11411 (netbsd*): Remove case setting base_os.
11412 (386bsd*): Likewise.
11413 (freebsd*): Likewise.
11414 (bsdi*): Likewise.
11415 (osf*): Likewise.
11416 (sunos*): Likewise.
11417 (ultrix*): Likewise.
11418 (newsos*): Likewise.
11419 (dynix*): Likewise.
11420 (*bsd*): Likewise.
11421 (sysv*): Likewise.
11422 (isc*): Likewise.
11423 (esix*): Likewise.
11424 (sco*): Likewise.
11425 (minix*): Likewise.
11426 (irix4*): Likewise.
11427 (irix6*): Likewise.
11428 (solaris[2-9]*): Likewise.
11429 (none): Likewise.
11430 * configure: Regenerated.
11431
0ac229c8
AZ
114322012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11433
11434 [BZ #11521]
11435 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11436 overflow or cancellation in calculating denominator.
11437 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11438 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11439 down expression to avoid unexpected rounding in newer GCCs.
11440 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11441
33f244f4
DM
114422012-04-26 David S. Miller <davem@davemloft.net>
11443
11444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11445 long-double compat symbols.
11446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11459
cfa1f3e8
DM
114602012-04-25 David S. Miller <davem@davemloft.net>
11461
11462 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11463 HWCAP_* values only after the memory barriers have been defined.
11464 (atomic_full_barrier): Define.
11465 (atomic_read_barrier): Define.
11466 (atomic_write_barrier): Define.
11467
6e236b92
SP
114682012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11469
11470 * shlib-versions: Add libgcc_s version information.
11471 * sysdeps/generic/libgcc_s.h: Remove.
11472 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11473 libgcc_s.h.
11474 * sysdeps/gnu/unwind-resume.c: Likewise.
11475 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11476
aab39a09
DM
114772012-04-25 David S. Miller <davem@davemloft.net>
11478
11479 * sysdeps/unix/sparc/brk.S: Delete.
11480 * sysdeps/unix/sparc/dl-brk.S: Delete.
11481 * sysdeps/unix/sparc/pipe.S: Delete.
11482 * sysdeps/unix/sparc/sysdep.S: Delete.
11483 * sysdeps/unix/sparc/sysdep.h: Delete.
11484 * sysdeps/unix/sparc/vfork.S: Delete.
11485 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11486 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11487 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11488 ret_ERRVAL, r0, r1, MOVE): Define.
11489 (JUMPTARGET): Remove.
11490 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11491 sysdeps/unix/sparc/sysdep.h
11492 (ENTRY, END): Remove.
11493 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11494
a3cc4f48
JM
114952012-04-25 Joseph Myers <joseph@codesourcery.com>
11496
2ed8cda2
JM
11497 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11498 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11499 -DIS_IN_build.
11500
35d76d59
JM
11501 * timezone/README: Update upstream location and email address for
11502 tzcode and tzdata.
11503 * timezone/zdump.c: Update from tzcode 2012b.
11504 * timezone/zic.c: Likewise.
11505
a3cc4f48
JM
11506 * configure.in (libc_cv_as_needed): Remove test.
11507 * configure: Regenerated.
11508 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11509 conditional definition.
11510 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11511 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11512 * config.make.in (have-as-needed): Remove variable.
11513
ceab42c3
SP
115142012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11515 Paul Pluzhnikov <ppluzhnikov@google.com>
11516
11517 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11518 strings correctly.
11519
3ce2865f
CLT
115202012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11521
11522 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11523 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11524 * sysdeps/sh/strlen.S: Likewise.
11525
f37e0d68
JM
115262012-04-24 Joseph Myers <joseph@codesourcery.com>
11527
ae186e9a
JM
11528 * sysdeps/unix/fork.S: Remove file.
11529 * sysdeps/unix/i386/fork.S: Likewise.
11530 * sysdeps/unix/sparc/fork.S: Likewise.
11531
b96914af
JM
11532 * sysdeps/unix/system.c: Remove file.
11533 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11534
f37e0d68
JM
11535 * sysdeps/unix/getegid.S: Remove file.
11536 * sysdeps/unix/geteuid.S: Likewise.
11537
87ef29ca
RM
115382012-04-24 Roland McGrath <roland@hack.frob.com>
11539
83bcd236
RM
11540 * scripts/check-localplt.awk: New file.
11541 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11542 of diff.
11543 * scripts/data/localplt-generic.data: Add a comment.
11544
87ef29ca
RM
11545 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11546 NODE when __dir_mkfile failed.
11547 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11548 Reported by Ludovic Courtès <ludo@gnu.org>.
11549
e5a6e567
AJ
115502012-04-24 Andreas Jaeger <aj@suse.de>
11551
11552 * Makerules (common-clean): Also remove gen-as-const-headers
11553 files.
11554
c1820385
JM
115552012-04-24 Joseph Myers <joseph@codesourcery.com>
11556
11557 * Makerules (native-compile): Do not change working directory for
11558 build. Use $(OUTPUT_OPTION) in command.
11559 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11560
94e02fc4
AZ
115612012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11562
11563 [BZ #13886]
11564 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11565 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11566 * math/libm-test.inc (floor_test): Add more tests.
11567 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11568
3a533ca3
JM
115692012-04-24 Joseph Myers <joseph@codesourcery.com>
11570
940ab4b3
JM
11571 * sysdeps/unix/getdents.c: Remove file.
11572 * sysdeps/unix/sysv/getdents.c: Likewise.
11573 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11574
90e037bd
JM
11575 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11576 sysdeps/unix/mman/syscalls.list.
11577 (mmap): Likewise.
11578 (mprotect): Likewise.
11579 (msync): Likewise.
11580 (munmap): Likewise.
11581 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11582 * sysdeps/unix/mman/syscalls.list: Remove.
11583 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11584
3a533ca3
JM
11585 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11586 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11587 * configure: Regenerated.
11588 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11589 $(libgcc_s_suffix).
11590 * config.make.in (libgcc_s_suffix): Remove variable.
11591
1ad743de
JM
115922012-04-23 Joseph Myers <joseph@codesourcery.com>
11593
4ad451e2
JM
11594 * sysdeps/unix/sysv/gethostname.c: Move to ...
11595 * sysdeps/posix/gethostname.c: ... here.
11596
5e37ce39
JM
11597 * sysdeps/unix/execve.S: Remove file.
11598
1ad743de
JM
11599 * sysdeps/unix/_exit.S: Remove file.
11600
4e681b5b
AJ
116012012-04-23 Andreas Jaeger <aj@suse.de>
11602
11603 [BZ #13739]
11604 * manual/Makefile: Remove make dist support, there's no
11605 need for a stand-alone documentation tar ball.
11606 (TEXI2DVI): Define always, it's not in Makeconfig.
11607 (dist): Removed.
11608 (tar-it): Removed.
11609 (edition): Removed.
11610 (glibc-doc-$(edition).tar): Removed
11611 (%.Z): Removed.
11612 (%.gz): Removed.
11613 (%.uu): Removed.
11614 (ETAGS): Remove, it's in Makeconfig.
11615 (move-if-change): Remove, it's in Makeconfig.
11616
c0baea34
PE
116172013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11618
11619 [BZ #13970]
11620 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11621 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11622 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11623 (strtod_l, strtof_l, strtold_l): Remove __wur.
11624 It is not necessarily an error to ignore strtol's return value.
11625 One can reliably look at the stored endptr to decide whether
11626 the number had valid syntax.
11627
7c0616fa
AJ
116282012-04-21 Andreas Jaeger <aj@suse.de>
11629
803cb6b7 11630 [BZ #13739]
7c0616fa
AJ
11631 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11632
b0fe253f
JM
116332012-04-21 Joseph Myers <joseph@codesourcery.com>
11634
11635 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11636 * sysdeps/unix/sysv/Versions: Remove file.
11637
8280f22d
MT
116382012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11639
11640 [BZ #13927]
11641 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11642
75ce411f 116432012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
11644
11645 [BZ #7064]
11646 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11647 version from __vm86.
11648
097d59fa
JM
116492012-04-20 Joseph Myers <joseph@codesourcery.com>
11650
a90f3bcb
JM
11651 * sysdeps/unix/common/lxstat.c: Remove file.
11652 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11653
edc7ea78
JM
11654 * sysdeps/unix/sysv/Makefile: Remove file.
11655
cb78c221
JM
11656 * sysdeps/unix/sysv/direct.h: Remove file.
11657
efa6a45f
JM
11658 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11659 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11660 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11661 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11662 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11663 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11664 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11665
9c9f2d0c
JM
11666 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11667
4541c83b
JM
11668 * sysdeps/unix/xmknod.c: Remove file.
11669 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11670
f5d153a0
JM
11671 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11672
aa746595
JM
11673 * sysdeps/unix/sysv/i386/time.S: Remove file.
11674
cce5905e
JM
11675 * sysdeps/unix/fxstat.c: Remove file.
11676 * sysdeps/unix/xstat.c: Likewise.
11677 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11678
37fa3841
JM
11679 * sysdeps/unix/sysv/sigaction.c: Remove file.
11680
ff1962a3
JM
11681 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11682 (sysdep_headers): Remove variable.
11683 [termio.h not in sysdep_headers] (generated): Likewise.
11684 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11685 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11686 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11687 * sysdeps/unix/sysv/tcflow.c: Likewise.
11688 * sysdeps/unix/sysv/tcflush.c: Likewise.
11689 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11690 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11691 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11692 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11693 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11694
e7740d31
JM
11695 * sysdeps/unix/siglist.c: Remove file.
11696
ee06f18b
JM
11697 * sysdeps/unix/getppid.S: Remove file.
11698
097d59fa
JM
11699 * sysdeps/unix/mkdir.c: Remove file.
11700 * sysdeps/unix/rmdir.c: Likewise.
11701
ff3d51ec
AS
117022012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11703
11704 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11705 ERR_MAX value.
11706 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11707 errlist-compat value.
11708
50f81fd7
DM
117092012-04-18 David S. Miller <davem@davemloft.net>
11710
11711 * sysdeps/generic/memcopy.h (reg_char): Delete.
11712 * debug/strcat_chk.c: Use char, not reg_char.
11713 * debug/strcpy_chk.c: Likewise.
11714 * debug/strncat_chk.c: Likewise.
11715 * debug/strncpy_chk.c: Likewise.
11716 * string/memchr.c: Likewise.
11717 * string/memrchr.c: Likewise.
11718 * string/rawmemchr.c: Likewise.
11719 * string/strcat.c: Likewise.
11720 * string/strchr.c: Likewise.
11721 * string/strchrnul.c: Likewise.
11722 * string/strcmp.c: Likewise.
11723 * string/strcpy.c: Likewise.
11724 * string/strncat.c: Likewise.
11725 * string/strncmp.c: Likewise.
11726 * string/strncpy.c: Likewise.
11727
8ff41c46
WS
117282012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11729
11730 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11731 __builtin_memcopy is called when src and dest ranges are known to not
11732 overlap.
11733
6b652f46
WS
117342012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11735
11736 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11737 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11738 fwd_align_merge macro call.
11739 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11740 bwd_align_merge macro call.
11741 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11742
b282631e
WS
117432012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11744
11745 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11746 bwd_align_merge macros.
11747 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11748 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11749 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11750
95aa737c
DM
117512012-04-18 David S. Miller <davem@davemloft.net>
11752
11753 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11754
7a99a614
AJ
117552012-04-18 Andreas Jaeger <aj@suse.de>
11756
11757 [BZ# 6794]
11758 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11759 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11760 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11761
11762 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11763 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11764 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11765
11766 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11767 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11768 Adjust for changed ldbl-128 files.
11769
11770 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11771 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11772 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11773
e5270c23
DM
117742012-04-17 David S. Miller <davem@davemloft.net>
11775
11776 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11777
fb5e92c9
AS
117782012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11779
11780 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11781 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11782 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11783 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11784 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11785 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11786
76da7265
AZ
117872012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11788
11789 [BZ #6794]
11790 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11791 * math/libm-test.inc: Add ilogb errno and exception tests.
11792 * math/w_ilogb.c: New file: ilogb wrapper.
11793 * math/w_ilogbf.c: New file: ilogbf wrapper.
11794 * math/w_ilogbl.c: New file: ilogbl wrapper.
11795 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11796 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11797 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11798 exception being thrown with 0.0 as argument.
11799 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11800 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11801 exception being thrown with 0.0 as argument.
11802 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11803 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11804 exception being thrown with 0.0 as argument.
11805 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11806 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11807 exception being thrown with 0.0 as argument.
11808 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11809 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 11810 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
11811 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11812 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11813 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11814 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11815 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11816 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11817
0396e69d
PB
118182012-04-17 Petr Baudis <pasky@ucw.cz>
11819
11820 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11821 with altivec.
11822
750b5926
MP
118232012-04-16 Marek Polacek <polacek@redhat.com>
11824
11825 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11826
751728a1
MP
118272012-04-16 Marek Polacek <polacek@redhat.com>
11828
11829 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11830 operands of fdivp instruction.
11831
34a27407
L
118322012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11833
11834 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11835 * elf/tst-auditmod3b.c: Likewise.
11836 * elf/tst-auditmod4b.c: Likewise.
11837 * elf/tst-auditmod5b.c: Likewise.
11838 * elf/tst-auditmod6b.c: Likewise.
11839 * elf/tst-auditmod6c.c: Likewise.
11840 * elf/tst-auditmod7b.c: Likewise.
11841 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11842 * sysdeps/x86_64/preconfigure.in: Likewise.
11843 * sysdeps/x86_64/preconfigure: Regenerated.
11844
7e73e17d
L
118452012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11846
11847 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11848 __ILP32__.
11849
c7a6ab72
AB
118502012-04-13 Antoine Balestrat <merkil33@gmail.com>
11851
11852 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11853 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11854
a9e8e0e0
CL
118552012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11856
11857 [BZ #13973]
11858 * locale/iso-639.def: Fix gl language name. Spotted by
11859 Yaron Shahrabani.
11860
ec98af7d
RM
118612012-04-12 Roland McGrath <roland@hack.frob.com>
11862
11863 [BZ #2074]
11864 * libio/libio.h (__io_write_fn): Update comment.
11865
247c3ede
PB
118662012-04-12 Petr Baudis <pasky@ucw.cz>
11867
11868 [BZ #2074]
11869 * stdio.texi (Hook Functions): The user provided writer function
11870 is not allowed to return -1.
11871
55939d6d
DM
118722012-04-11 David S. Miller <davem@davemloft.net>
11873
11874 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11875
90020f5a
MF
118762012-04-11 Mike Frysinger <vapier@gentoo.org>
11877
11878 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11879 Add a leading slash to rtkaio.
11880
288f9098
JM
118812012-04-11 Jim Meyering <meyering@redhat.com>
11882
90020f5a
MF
11883 [BZ #11959]
11884 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11885 It is not necessarily an error to ignore fwrite's return
11886 value. One can reliably use ferror to test for errors after
11887 the fact.
288f9098 11888
4be2b570
L
118892012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11890
11891 * bits/types.h (__snseconds_t): New type.
11892 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11893
11894 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11895 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11896 (__SNSECONDS_T_TYPE): Likewise.
11897 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11898 (__SNSECONDS_T_TYPE): Likewise.
11899 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11900 (__SNSECONDS_T_TYPE): Likewise.
11901
288f9098 119022012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
11903
11904 [BZ #2636]
11905 * manual/time.texi (Processor Time): Return type of times is
11906 elapsed real time since an arbitrary point in the past.
11907 (CPU Time): Move CLK_TCK from here...
11908 (Processor Time): ...to here. Correct description.
11909 * manual/conf.texi (Constants for Sysconf): Correct description of
11910 _SC_CLK_TCK.
11911
d7dd4413
DM
119122012-04-10 David S. Miller <davem@davemloft.net>
11913
11914 [BZ #13967]
11915 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11916 where the is a gap between DT_REL(A) and DT_JMPREL.
11917
b46068fc
L
119182012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11919
11920 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11921 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11922 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11923
73d65cc3
SP
119242012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11925
11926 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11927 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11928 (dl_main): Handle --inhibit-cache.
11929 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11930 _dl_inhibit_cache.
11931 * elf/dl-load.c (_dl_map_object): Use it.
11932 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11933
bcc8d661
JM
119342012-04-09 Joseph Myers <joseph@codesourcery.com>
11935
8f9a2fae
JM
11936 [BZ #13872]
11937 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11938 (__ieee754_powl): Saturate large exponents rather than testing for
11939 overflow of y*log2(x).
11940 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11941 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11942 exceptions.
11943
bcc8d661
JM
11944 [BZ #11521]
11945 * math/s_ctan.c: Include <float.h>.
11946 (__ctan): Avoid internal overflow or cancellation in calculating
11947 denominator.
11948 * math/s_ctanf.c: Likewise.
11949 * math/s_ctanl.c: Likewise.
11950 * math/s_ctanh.c: Likewise.
11951 * math/s_ctanhf.c: Likewise.
11952 * math/s_ctanhl.c: Likewise.
11953 * math/libm-test.inc (ctan_test): Add more tests.
11954 (ctanh_test): Likewise.
11955 * sysdeps/i386/fpu/libm-test-ulps: Update.
11956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11957
823fbbb4
AJ
119582012-04-09 Andreas Jaeger <aj@suse.de>
11959
03879793
AJ
11960 [BZ #6894]
11961 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11962 is an optional BSD extension.
11963
823fbbb4
AJ
11964 [BZ #10254]
11965 * manual/stdio.texi (Opening Streams): Document additional fopen
11966 parameters.
11967
8de131cb
RM
119682012-04-09 Roland McGrath <roland@hack.frob.com>
11969
11970 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11971 %eax without telling the compiler.
11972
c0ed9d7d
CD
119732012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11974
11975 [BZ # 13963]
11976 * manual/install.texi: Use sourceware.org.
11977
c483f6b4
JM
119782012-04-09 Joseph Myers <joseph@codesourcery.com>
11979
d7dd9453
JM
11980 [BZ #13873]
11981 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11982 (__ieee754_pow): Generate overflow and underflow using huge*huge
11983 and tiny*tiny rather than just returning constant infinity or zero
11984 for large exponents.
11985 * math/libm-test.inc (pow_test): Require overflow exceptions for
11986 applicable cases of large exponents.
11987
c483f6b4
JM
11988 [BZ #706]
11989 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11990 (__ieee754_pow): Use iterative multiplication algorithm only for
11991 integer exponents with absolute value below 1024. Check for odd
11992 integer exponents when using algorithm for real exponents.
11993 * math/libm-test.inc (pow_test): Add more tests.
11994 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11995
d2de7579
JM
119962012-04-08 Joseph Myers <joseph@codesourcery.com>
11997
11998 [BZ #13705]
11999 * math/libm-test.inc (exp_test): Do not allow overflow exception
12000 on underflow test.
12001
f77f1232
AJ
120022012-04-08 Aurelien Jarno <aurelien@aurel32.net>
12003
12004 [BZ #13705]
12005 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12006 instead of __kernel_standard_f.
12007
3884932b
MF
120082012-04-08 Mike Frysinger <vapier@gentoo.org>
12009
12010 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12011 * sysdeps/x86_64/memset_chk.S: Likewise.
12012
54472e9c
AJ
120132012-04-08 Andreas Jaeger <aj@suse.de>
12014
6ab0fbfc
AJ
12015 [BZ #10153]
12016 * manual/startup.texi (Environment Access): Describe return value
12017 for putenv and setenv.
12018
61efba8c
AJ
12019 [BZ #6895]
12020 * manual/filesys.texi (Directory Entries): Add description for
12021 DT_LNK.
12022
95c3f29a
AJ
12023 [BZ #6890]
12024 * manual/filesys.texi (Directory Entries): Clarify that it's file
12025 system not operating system in the description of DT_UNKNOWN.
12026
54472e9c
AJ
12027 [BZ #6578]
12028 * manual/syslog.texi (closelog): Fix reference, it's openlog.
12029
624254b1
SC
120302012-04-08 Stephen Compall <s11@member.fsf.org>
12031
12032 [BZ #6649]
12033 * manual/llio.texi (Opening and Closing Files): Add cross
12034 reference to explain mode argument.
12035
1e4920e0
MF
120362012-04-07 Mike Frysinger <vapier@gentoo.org>
12037
12038 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12039 * sysdeps/x86_64/memset_chk.S: Likewise.
12040
5ed848f3
DM
120412012-04-07 David S. Miller <davem@davemloft.net>
12042
12043 * elf/elf.h (R_SPARC_WDISP10): Define.
12044 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12045 R_SPARC_SIZE32.
12046 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12047 R_SPARC_SIZE64 and R_SPARC_H34.
12048
96154cd8
CD
120492012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
12050
12051 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12052 conditions and remove no longer applicable assertion.
12053
9904dc47
L
120542012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12055
12056 * bits/byteswap.h: Include <features.h>.
12057 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12058 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12059
f8887d0a
L
120602012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12061
12062 * bits/byteswap.h (__bswap_16): Removed.
12063 Include <bits/byteswap-16.h> to get __bswap_16.
12064 * sysdeps/i386/bits/byteswap.h: Likewise.
12065 * sysdeps/s390/bits/byteswap.h: Likewise.
12066 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12067 * bits/byteswap-16.h: New file.
12068 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12069 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12070 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12071 * string/Makefile (headers): Add bits/byteswap-16.h.
12072
62470f60
PP
120732012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12074
12075 [BZ #13895]
12076 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12077 extra indirection.
12078 * nss/Makefile (tests-static, tests): Add tst-nss-static.
12079 * nss/tst-nss-static.c: New.
12080
4dad7bab
RM
120812012-04-06 Robert Millan <rmh@gnu.org>
12082
12083 [BZ #6486]
12084 * manual/llio.texi (File Position Primitive): lseek
12085 refers to WHENCE when it really means OFFSET.
12086
e9142a17
AJ
120872012-04-06 Andreas Jaeger <aj@suse.de>
12088
2c040eff
AJ
12089 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12090 strncmp declarations.
12091
e9142a17
AJ
12092 * abilist/libc.abilist: Add __poll and __ppoll.
12093
ff9f1c5f
DM
120942012-04-05 David S. Miller <davem@davemloft.net>
12095
dcd2ae90
DM
12096 * scripts/check-local-headers.sh: Accept a host triplet in the
12097 path matched by the exclude regexp.
12098
993eb054
DM
12099 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12100 definition.
12101 * sysdeps/powerpc/powerpc32/dl-machine.h
12102 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12103 * sysdeps/s390/s390-32/dl-machine.h
12104 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12105 * sysdeps/sparc/sparc32/dl-machine.h
12106 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12107 * sysdeps/sparc/sparc64/dl-machine.h
12108 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12109
ff9f1c5f
DM
12110 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12111 lazy binding.
48e2e132 12112 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
12113 undefined symbol errors.
12114
48e2e132 12115 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
12116 DT_NEEDED entries.
12117
e80d6f94
MM
121182012-04-05 Michael Matz <matz@suse.de>
12119
12120 [BZ #13592]
12121 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12122
349fa79f
AJ
121232012-04-05 Andreas Jaeger <aj@suse.de>
12124
12125 [BZ #13908]
12126 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12127 comment.
12128
f402708f
KK
121292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12130
12131 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12132 which ROUND is no valid rounding mode.
12133
2ecccfc9
KK
121342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12135
12136 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12137 read again.
12138 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12139
8a53f50f
KK
121402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12141
12142 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12143 an exception using FPU order intentionally.
12144
121452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12146
12147 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12148 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12149 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12150 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12151
d653abb7
SJ
121522012-04-05 Simon Josefsson <simon@josefsson.org>
12153
12154 [BZ #12340]
12155 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12156 EINVAL when BUFLEN is too smal.
12157
c3b1bf7d
TS
121582012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12159
12160 [BZ #13553]
12161 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12162 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12163
b1aa60f3
AJ
121642012-04-03 Andreas Jaeger <aj@suse.de>
12165
c3b1bf7d 12166 [BZ #13938]
67f60a26
AJ
12167 * manual/setjmp.texi (System V contexts): Fix sentence.
12168
b1aa60f3
AJ
12169 [BZ #13926]
12170 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12171 New macro for this case.
12172 [!__GNUC__] (__bswap_64): New inline function for this case.
12173 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12174 * bits/byteswap.h: Likewise.
12175 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12176 ull, guard with __GLIBC_HAVE_LONG_LONG.
12177
12178 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12179 __GLIBC_HAVE_LONG_LONG.
12180
12181 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12182 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12183
39c59c35
TMQMF
121842012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12185
12186 [BZ #13691]
12187 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12188 inptr and inend, rather than using last_ch.
12189
135ffda8
DM
121902012-04-02 David S. Miller <davem@davemloft.net>
12191
12192 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12193 * stdio-common/printf-parse.h (read_int): Change return type to
12194 'int', return -1 on INT_MAX overflow.
12195 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12196 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12197 overflows INT_MAX. Check for overflow of in-format-string precision
12198 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12199 SIZE_MAX not INT_MAX for integer overflow test.
12200 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12201 skip the construct in the format string but do not record anything.
12202 * stdio-common/bug22.c: Adjust to test both width/prevision
12203 INT_MAX overflow as well as total length INT_MAX overflow. Check
12204 explicitly for proper errno values.
12205
228c019e
TS
122062012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12207
302cadd3
TS
12208 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12209 CHAR_MAX.
12210 * string/test-strcmp.c [! WIDE]: Likewise.
12211 * time/tst-mktime2.c: Likewise for INT_MAX.
12212 * string/test-string.h: #include <sys/param.h> for MIN.
12213
228c019e
TS
12214 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12215 * sysdeps/i386/init-first.c (init): Likewise.
12216 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12217 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12218 * sysdeps/sh/init-first.c (init): Likewise.
12219
cfa633f5
UD
122202012-04-01 Ulrich Drepper <drepper@gmail.com>
12221
12222 * po/ru.po: Update from translation team.
d1635ef8 12223 * po/vi.po: Likewise.
cfa633f5 12224
6cd0a5ea
SP
122252012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12226
12227 * resolv/nss_dns/dns-host.c: Merge copyright years.
12228
4b43400f
LD
122292012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12230
12231 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12232 Optimize memcpy with prefetch if
12233 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12234 src, dst pointers have unequal 16 byte alignments.
12235
48c41d04
SP
122362012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12237
12238 [BZ #13928]
12239 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12240 from a CNAME entry and return the minimum ttl for the query.
12241 (gaih_getanswer_slice): Likewise.
12242
b8dc394d
JL
122432012-03-30 Jeff Law <law@redhat.com>
12244
12245 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12246 due to long keys.
12247 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12248 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12249
2f5a5ed0
JL
12250 * resolv/nss_dns/dns-host.c: Update copyright year.
12251
1d39e359
UD
122522012-03-30 Ulrich Drepper <drepper@gmail.com>
12253
c030f70c 12254 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 12255 requests to save a system call. Fix check that all bytes are sent.
c030f70c 12256
1d39e359
UD
12257 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12258 comments for sendmmsg.
12259
122602012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
12261
12262 [BZ #13691]
12263 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12264 with only 1 character between 0x0041 and 0x01b0.
12265 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12266 * wcsmbs/tst-mbsnrtowcs.c: New file.
12267
20fde227
DM
122682012-03-29 David S. Miller <davem@davemloft.net>
12269
12270 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12271 small copies by hand.
12272
984a4237
JL
122732012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12274
12275 [BZ #13761]
12276 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12277 _nss_compat_initgroups_dyn): Fall back to malloc/free
12278 for large group memberships.
12279
18c9d62b
DM
122802012-03-28 David S. Miller <davem@davemloft.net>
12281
88d85d4f
DM
12282 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12283 that branches into memcpy.
12284 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12285 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12286 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12287 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12288 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12289 bits.
12290 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12291 implementation too.
12292 * sysdeps/sparc/mempcpy.S: New file.
12293
e5aa83e1
DM
12294 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12295 the IFUNC routine in the libc case.
12296 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12297
88570753
DM
12298 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12299 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12300 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12301 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12302 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12303 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12304 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12305 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12306
249d7567
DM
12307 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12308 loop to 256 bytes instead of 64 bytes and fix test signedness.
12309
18c9d62b
DM
12310 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12311 * sysdeps/sparc/sparc32/Makefile: rather than here...
12312 * sysdeps/sparc/sparc64/Makefile: and here.
12313
05f3d1f6
UD
123142012-03-28 Ulrich Drepper <drepper@gmail.com>
12315
12316 * malloc/mallocbug.c: Avoid warnings about unused variables.
12317
86ae07a8
JL
123182012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12319
12320 [BZ #13760]
12321 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12322 in the right place. Discard and retry query if response is
12323 larger than input buffer size.
12324
41bf21a1
JM
123252012-03-28 Joseph Myers <joseph@codesourcery.com>
12326
d6270972
JM
12327 [BZ #369]
12328 [BZ #2678]
12329 [BZ #3866]
12330 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12331 x for large integer exponent.
12332 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12333 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12334 sign of result as needed afterwards.
12335 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12336 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12337 result for underflowing pow the same as for overflow.
12338 (__kernel_standard_l): Handle powl overflow and underflow here
12339 rather than calling __kernel_standard.
12340 * math/libm-test.inc (pow_test): Add more tests.
12341
414fca03 12342 [BZ #3868]
41bf21a1
JM
12343 [BZ #13879]
12344 [BZ #13910]
12345 [BZ #13911]
12346 [BZ #13912]
12347 [BZ #13913]
12348 [BZ #13915]
12349 [BZ #13916]
12350 [BZ #13917]
12351 [BZ #13918]
12352 [BZ #13919]
12353 [BZ #13920]
12354 [BZ #13921]
12355 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12356 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12357 (__kernel_standard_l): New function.
12358 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12359 __kernel_standard.
12360 * math/w_acosl.c (__acosl): Likewise.
12361 * math/w_asinl.c (__asinl): Likewise.
12362 * math/w_atan2l.c (__atan2l): Likewise.
12363 * math/w_atanhl.c (__atanhl): Likewise.
12364 * math/w_coshl.c (__coshl): Likewise.
12365 * math/w_exp10l.c (__exp10l): Likewise.
12366 * math/w_exp2l.c (__exp2l): Likewise.
12367 * math/w_fmodl.c (__fmodl): Likewise.
12368 * math/w_hypotl.c (__hypotl): Likewise.
12369 * math/w_j0l.c (__j0l, __y0l): Likewise.
12370 * math/w_j1l.c (__j1l, __y1l): Likewise.
12371 * math/w_jnl.c (__jnl, __ynl): Likewise.
12372 * math/w_lgammal.c (__lgammal): Likewise.
12373 * math/w_log10l.c (__log10l): Likewise.
12374 * math/w_log2l.c (__log2l): Likewise.
12375 * math/w_logl.c (__logl): Likewise.
12376 * math/w_powl.c (__powl): Likewise.
12377 * math/w_remainderl.c (__remainderl): Likewise.
12378 * math/w_scalbl.c (sysv_scalbl): Likewise.
12379 * math/w_sinhl.c (__sinhl): Likewise.
12380 * math/w_sqrtl.c (__sqrtl): Likewise.
12381 * math/w_tgammal.c (__tgammal): Likewise.
12382 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12383 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12384 * math/libm-test.inc (acos_test): Add more tests.
12385 (acosh_test): Likewise.
12386 (asin_test): Likewise.
12387 (atanh_test): Likewise.
12388 (exp_test): Likewise.
12389 (exp10_test): Likewise.
12390 (exp2_test): Likewise.
12391 (expm1_test): Likewise.
12392 (lgamma_test): Likewise.
12393 (log_test): Likewise.
12394 (log10_test): Likewise.
12395 (log1p_test): Likewise.
12396 (log2_test): Likewise.
12397 (pow_test): Do not allow some spurious overflow exceptions.
12398 (sqrt_test): Add more tests.
12399 (tgamma_test): Likewise.
12400 (y0_test): Likewise.
12401 (y1_test): Likewise.
12402 (yn_test): Likewise.
12403
dd62fda6
AB
124042012-03-27 Anton Blanchard <anton@samba.org>
12405
12406 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12407 MAP_HUGETLB.
12408 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12409 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12410 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12411
1e3cdfda
AJ
124122012-03-27 David S. Miller <davem@davemloft.net>
12413
b855ab85
DM
12414 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12415
1e3cdfda
AJ
12416 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12417 have-as-vis3 check.
12418
124192012-03-27 Andreas Jaeger <aj@suse.de>
12420
12421 * sysdeps/x86_64/elf/configure.in: Moved to ...
12422 * sysdeps/x86_64/configure.in: ... here.
12423 * sysdeps/x86_64/elf/start.S: Moved to ...
12424 * sysdeps/x86_64/start.S: ... here.
12425 * sysdeps/x86_64/elf/configure: Delete.
12426
12427 * sysdeps/x86_64/configure.in: Merge contents from
12428 sysdeps/i386/configure.in (without i686 check).
12429
12430 * sysdeps/i386/elf/Versions: Merge into ...
12431 * sysdeps/i386/Versions: ... this.
12432 * sysdeps/i386/elf/Versions: Delete file.
12433 * sysdeps/i386/elf/start.S: Moved to ...
12434 * sysdeps/i386/start.S: ...here.
12435 * sysdeps/i386/elf/configure.in: Merge into...
12436 * sysdeps/i386/configure.in: ...here.
12437 * sysdeps/i386/elf/configure.in: Delete file.
12438 * sysdeps/i386/elf/configure: Delete file.
12439
12440 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12441 * debug/backtracesyms.c: ... here.
12442 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12443 * debug/backtracesymsfd.c: ... here.
12444 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12445 * sysdeps/generic/ifunc-sel.h: ... here.
12446
12447 * sysdeps/unix/i386/start.c: Delete file.
12448 * sysdeps/unix/sparc/start.c: Delete file.
12449 * sysdeps/unix/start.c: Delete file.
12450
12451 * sysdeps/sh/elf/configure.in: Moved to ...
12452 * sysdeps/sh/configure.in: ... here.
12453 * sysdeps/sh/elf/start.S: Moved to ...
12454 * sysdeps/sh/start.S: ... here.
12455 * sysdeps/sh/elf/configure: Delete file.
12456
12457 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12458 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12459 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12460 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12461 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12462 * sysdeps/powerpc/powerpc64/start.S: here.
12463 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12464 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12465 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12466 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12467 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12468
12469 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12470 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12471 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12472 * sysdeps/powerpc/powerpc32/start.S: ... here.
12473 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12474 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12475 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12476
12477 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12478 * sysdeps/powerpc/ifunc-sel.h: ... here.
12479 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12480 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12481
12482 * sysdeps/sparc/elf/configure.in: Moved to ...
12483 * sysdeps/sparc/configure.in: ... here.
12484 * sysdeps/sparc/elf/configure: Delete file.
12485 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12486 * sysdeps/sparc/sparc32/start.S: ... here.
12487 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12488 * sysdeps/sparc/sparc64/start.S: ... here.
12489 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12490 * sysdeps/sparc/sparc32/Makefile: ... this.
12491 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12492 * sysdeps/sparc/sparc64/Makefile: ... this.
12493
12494 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12495 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
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/setjmp.S: Moved to ...
12499 * sysdeps/s390/s390-32/setjmp.S: ... here.
12500 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12501 * sysdeps/s390/s390-32/configure.in: ... here.
12502 * sysdeps/s390/s390-32/elf/configure: Delete file.
12503 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12504 * sysdeps/s390/s390-32/start.S: ... here.
12505
12506 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12507 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
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/setjmp.S: Moved to ...
12511 * sysdeps/s390/s390-64/setjmp.S: ... here.
12512 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12513 * sysdeps/s390/s390-64/configure.in: ... here
12514 * sysdeps/s390/s390-64/elf/configure: Delete file.
12515 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12516 * sysdeps/s390/s390-64/start.S: ... here.
12517 * sysdeps/s390/s390-64/elf/configure: Delete.
12518
12519 * configure.in: Remove support for elf directories in sysdeps.
12520
12521 * configure: Regenerated.
12522 * sysdeps/i386/configure: Regenerated.
12523 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12524 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12525 * sysdeps/s390/s390-32/configure: Regenerated.
12526 * sysdeps/s390/s390-64/configure: Regenerated.
12527 * sysdeps/sh/configure: Regenerated.
12528 * sysdeps/sparc/configure: Regenerated.
12529 * sysdeps/x86_64/configure: Regenerated.
12530
a3f61311
AS
125312012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12532
c876e002
AS
12533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12534
a3f61311
AS
12535 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12536 denormal result into account.
12537
ac4c54f0
RM
125382012-03-25 Roland McGrath <roland@hack.frob.com>
12539
12540 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12541 Reported by Allan McRae <allan@archlinux.org>.
12542
6a9b9c02
JL
125432012-03-23 Jeff Law <law@redhat.com>
12544
12545 * nss/getnssent.c (__nss_getent): Fix typo.
12546
4c42a0c1
DM
125472012-03-23 David S. Miller <davem@davemloft.net>
12548
12549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12550
1532c7ac
L
125512012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12552
12553 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12554 to pad to uint64_t for each field.
12555 (dl_tls_index): Replace unsigned long with uint64_t.
12556
3ff42526
PP
125572012-03-23 Daniel Jacobowitz <dmj@google.com>
12558 Paul Pluzhnikov <ppluzhnikov@google.com>
12559
12560 [BZ #6528]
12561 * grp/Makefile (otherlibs): Don't set it.
12562 * inet/Makefile (otherlibs): Likewise.
12563 * login/Makefile (otherlibs): Likewise.
12564 * nscd/Makefile (otherlibs): Likewise.
12565 * posix/Makefile (otherlibs): Likewise.
12566 * pwd/Makefile (otherlibs): Likewise.
12567 * rt/Makefile (otherlibs): Likewise.
12568 * sunrpc/Makefile (otherlibs): Likewise.
12569 * nss/Makefile (otherlibs): Likewise.
12570 Add libnss_files to routines and static-only-routines.
12571 ($(objpfx)getent): Remove rule.
12572 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12573 static-only-routines.
12574
7c69cd14
JM
125752012-03-22 Joseph Myers <joseph@codesourcery.com>
12576
12577 [BZ #13892]
12578 * math/s_cexp.c: Include <float.h>.
12579 (__cexp): Handle exp result overflowing not necessarily
12580 overflowing both real and imaginary parts of result.
12581 * math/s_cexpf.c: Likewise.
12582 * math/s_cexpl.c: Likewise.
12583 * math/libm-test.inc (cexp_test): Add more tests.
12584 * sysdeps/i386/fpu/libm-test-ulps: Update.
12585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12586
81b035fe
L
125872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12588
12589 * include/link.h (ELFW): New macro.
12590 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12591 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12592
1da7940c
L
125932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12594
12595 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12596 with uint64_t.
12597
b749dbb9
L
125982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12599
12600 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12601 declaration.
12602 (struct La_x32_retval): Likewise.
12603
2ff87f3f
L
126042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12605
12606 * sysdeps/x86_64/preconfigure.in: New file.
12607 * sysdeps/x86_64/preconfigure: New generated file.
12608
c0df8e69
JM
126092012-03-22 Joseph Myers <joseph@codesourcery.com>
12610
48e44791
JM
12611 [BZ #13824]
12612 * math/e_exp2l.c: Include <float.h>.
12613 (__ieee754_exp2l): Handle overflow and underflow cases
12614 separately. Only pass fractional part of argument to
12615 __ieee754_expl.
12616 * math/libm-test.inc (exp2_test): Add more tests.
12617
c0df8e69
JM
12618 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12619 negating x to take absolute value.
12620 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12621 Likewise.
12622 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12623 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12624 Likewise.
12625 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12626 computing low part if x was negated.
12627 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12628
c8e43ba7
L
126292012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12630
12631 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12632 la_x32_gnu_pltexit.
12633 (pltexit): Cast int_retval to ptrdiff_t.
12634 * elf/tst-auditmod3b.c: Likewise.
12635 * elf/tst-auditmod4b.c: Likewise.
12636 * elf/tst-auditmod5b.c: Likewise.
12637 * elf/tst-auditmod6b.c: Likewise.
12638 * elf/tst-auditmod6c.c: Likewise.
12639 * elf/tst-auditmod7b.c: Likewise.
12640
12641 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12642 and x32_gnu_pltexit.
12643
12644 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12645 __ELF_NATIVE_CLASS.
12646 (La_x32_regs): New macro.
12647 (La_x32_retval): Likewise.
12648 (la_x32_gnu_pltenter): New function prototype.
12649 (la_x32_gnu_pltexit): Likewise.
12650
7998fa78
AS
126512012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12652
dcb33988
AS
12653 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12654 exponent.
12655
233fc563
AS
12656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12657
7998fa78
AS
12658 * configure.in (libc_cv_cc_nofma): Check for option to disable
12659 generation of FMA instructions.
12660 * configure: Regenerate.
12661 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12662 * sysdeps/ieee754/dbl-64/Makefile: New file.
12663 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12664 Remove brandred-fma4.
12665 (CFLAGS-brandred-fma4.c): Remove.
12666 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12667 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12668 define.
12669 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12670 define.
12671
8e95c99a
L
126722012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12673
12674 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12675 LLONG_MAX != LONG_MAX.
12676 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12677 (_fitoa_word): Likewise.
12678 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12679 LLONG_MAX != LONG_MAX.
12680 * stdio-common/_itowa.h: Include <_itoa.h>.
12681 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12682 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12683 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12684 only if not defined.
12685 (_ITOA_WORD_TYPE): Likewise.
12686 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12687 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12688
6f4db457
DM
126892012-03-21 David S. Miller <davem@davemloft.net>
12690
12691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12692
7785fe5a
L
126932012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12694
12695 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12696 of x86_64 when setting libc_cv_slibdir, libdir and
12697 libc_cv_localedir.
12698 * sysdeps/unix/sysv/linux/configure: Regenerated.
12699
4535cd55
JM
127002012-03-21 Joseph Myers <joseph@codesourcery.com>
12701
12702 * manual/lang.texi (Old Varargs): Remove section.
12703 (How Variadic): Update menu.
12704 (va_start): Do not mention varargs.h.
12705
17228132
TS
127062012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12707 Joseph Myers <joseph@codesourcery.com>
12708
12709 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12710 link test.
12711 * configure: Regenerated.
12712
8149f976
TS
127132012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12714
05f3d1f6
UD
12715 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12716 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12717 conformtest.pl
8149f976 12718
1a4ac776
JM
127192012-03-21 Joseph Myers <joseph@codesourcery.com>
12720
be22ce65
JM
12721 * NOTES: Remove.
12722 * Makefile (files-for-dist): Remove NOTES.
12723 (NOTES): Remove rule.
12724 * README: Don't refer to NOTES.
12725 * manual/creature.texi: Don't include macros.texi.
12726 * manual/intro.texi (creature.texi): Remove comment referring to
12727 NOTES.
12728
40b601fb
JM
12729 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12730 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12731 * configure: Regenerated.
12732 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12733 LIBC_TRY_CC_OPTION.
12734 (libc_cv_as_i686): Likewise.
12735 (libc_cv_cc_avx): Likewise.
12736 (libc_cv_cc_sse2avx): Likewise.
12737 (libc_cv_cc_fma4): Likewise.
12738 (libc_cv_cc_novzeroupper): Likewise.
12739 * sysdeps/i386/configure: Regenerated.
12740
1a4ac776
JM
12741 [BZ #13883]
12742 * sysdeps/i386/fpu/s_cexp.S: Remove.
12743 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12744 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12745 * math/libm-test.inc (cexp_test): Add more tests.
12746 * sysdeps/i386/fpu/libm-test-ulps: Update.
12747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12748
a458e7fe
AM
127492012-03-21 Allan McRae <allan@archlinux.org>
12750
12751 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12752
0cb7efc5
JM
127532012-03-21 Joseph Myers <joseph@codesourcery.com>
12754
12755 [BZ #13871]
12756 * math/w_exp2.c: Do not include <float.h>.
12757 (o_threshold, u_threshold): Remove.
12758 (__exp2): Calculate result before checking finiteness and calling
12759 __kernel_standard.
12760 * math/w_exp2f.c: Likewise.
12761 * math/w_exp2l.c: Likewise.
12762 * math/libm-test.inc (exp2_test): Require overflow exception for
12763 1e6 input.
2460d3aa
JM
12764
12765 [BZ #3866]
12766 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12767 range of signed 64-bit integers before using fistpll. Remove
12768 checks for whether integers fit in mantissa bits.
12769 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12770 the range of signed 32-bit integers before using fistpl. Remove
12771 checks for whether integers fit in mantissa bits.
12772 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12773 (__ieee754_powl): Test for y outside the range of signed 64-bit
12774 integers before using fistpll. Reduce 64-bit values to 63-bit
12775 ones as needed.
12776 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12777 divide-by-zero is raised for zero to large negative powers.
12778 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12779 (__ieee754_powl): Test for y outside the range of signed 64-bit
12780 integers before using fistpll. Reduce 64-bit values to 63-bit
12781 ones as needed.
12782 * math/libm-test.inc (pow_test): Add more tests.
12783
eb96ffb0
L
127842012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12785
12786 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12787 <stdio-common/_itoa.h>.
12788 * debug/segfault.c: Likewise.
12789 * elf/dl-cache.c: Likewise.
12790 * elf/dl-minimal.c: Likewise.
12791 * elf/dl-misc.c: Likewise.
12792 * elf/dl-sysdep.c: Likewise.
12793 * elf/dl-version.c: Likewise.
12794 * elf/rtld.c: Likewise.
12795 * hurd/hurdsock.c: Likewise.
12796 * hurd/lookup-retry.c: Likewise.
12797 * malloc/malloc.c: Likewise.
12798 * malloc/mtrace.c: Likewise.
12799 * nscd/nscd_getgr_r.c: Likewise.
12800 * nscd/nscd_getpw_r.c: Likewise.
12801 * nscd/nscd_getserv_r.c: Likewise.
12802 * posix/getopt_init.c: Likewise.
12803 * posix/wordexp.c: Likewise.
12804 * stdio-common/_itoa.c: Likewise.
12805 * stdio-common/printf_fphex.c: Likewise.
12806 * stdio-common/vfprintf.c: Likewise.
12807 * string/_strerror.c: Likewise.
12808 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12809 * sysdeps/i386/i686/hp-timing.h: Likewise.
12810 * sysdeps/mach/_strerror.c: Likewise.
12811 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12812 * sysdeps/mach/hurd/sethostid.c: Likewise.
12813 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12814 * sysdeps/mach/xpg-strerror.c: Likewise.
12815 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12816 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12817 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12818 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12819 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12820 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12821 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12822 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12823 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12824 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12825 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12826 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12827 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12828 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12829 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12830 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12831 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12832 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12833 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12834 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12835 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12836
12837 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12838
12839 * stdio-common/_itoa.h: Moved to ...
12840 * sysdeps/generic/_itoa.h: Here.
12841
12842 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12843
12844 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12845 instead of "_itoa.h" and "_itowa.h".
12846 * stdio-common/vfprintf.: Likewise.
12847
d1af992d
L
128482012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12849
12850 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12851 <bits/wordsize.h>.
12852 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12853 (__signbit): Likwise.
12854 (llrintf): Likwise.
12855 (llrint): Likwise.
12856
114883e0
L
128572012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12858
12859 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12860 __WORDSIZE != 64.
12861
c135cc1b
JM
128622012-03-20 Joseph Myers <joseph@codesourcery.com>
12863
12864 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12865 OVERFLOW_EXCEPTION_OK.
12866 * math/libm-test.inc ("Philosophy"): Update comment about
12867 exception testing.
12868 (OVERFLOW_EXCEPTION): Define.
12869 (OVERFLOW_EXCEPTION_OK): Likewise.
12870 (INVALID_EXCEPTION_OK): Renumber.
12871 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12872 (IGNORE_ZERO_INF_SIGN): Likewise.
12873 (test_exceptions): Handle FE_OVERFLOW.
12874 (exp10_test): Expect overflow exceptions.
12875 (exp2_test): Likewise.
12876 (expm1_test): Likewise.
12877 (nextafter_test): Likewise.
12878 (pow_test): Likewise.
12879 (scalbn_test): Likewise.
12880 (scalbln_test): Likewise.
12881
95443d88
L
128822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12883
12884 * sysdeps/x86_64/bits/atomic.h
12885 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12886 64bit integer.
12887 (atomic_exchange_acq): Likewise.
12888 (__arch_exchange_and_add_body): Likewise.
12889 (__arch_add_body): Likewise.
12890 (atomic_add_negative): Likewise.
12891 (atomic_add_zero): Likewise.
12892
490df6c4
L
128932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12894
c2722551 12895 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
12896 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12897
5e52b189
L
128982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12899
12900 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12901 Check __x86_64__ instead of __WORDSIZE.
12902
a9879d4c
L
129032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12904
12905 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12906
5df98260
DM
129072012-03-19 David S. Miller <davem@davemloft.net>
12908
e1497744
DM
12909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12910
5df98260
DM
12911 * sysdeps/sparc/fpu/fenv_private.h: New file.
12912 * sysdeps/sparc/fpu/math_private.h: Use it.
12913 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12914 Remove.
12915 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12916 (libc_feholdexcept_setroundl): Remove.
12917 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12918 Remove.
12919 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12920 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12921
b4c35121
L
129222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12923
12924 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12925 int64_t instead of long int.
12926 (INSERT_WORDS64): Likwise.
12927
56965fd7
L
129282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12929
12930 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12931 _Unwind_GetCFA return to _Unwind_Ptr first.
12932
83d1aec8
JM
129332012-03-19 Joseph Myers <joseph@codesourcery.com>
12934
1897ad44
JM
12935 [BZ #13629]
12936 * math/s_clog.c: Include <float.h>.
12937 (__clog): Scale large or subnormal inputs.
12938 * math/s_clogf.c: Likewise.
12939 * math/s_clogl.c: Likewise.
12940 * math/s_clog10.c: Include <float.h>.
12941 (M_LOG10_2): Define.
12942 (__clog10): Scale large or subnormal inputs.
12943 * math/s_clog10f.c: Likewise.
12944 * math/s_clog10l.c: Likewise.
12945 * math/libm-test.inc (clog_test): Add more tests.
12946 (clog10_test): Likewise.
12947 * sysdeps/i386/fpu/libm-test-ulps: Update.
12948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12949
7726d6a9
JM
12950 [BZ #11451]
12951 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12952 x and y.
12953 * math/libm-test.inc (atan2_test): Add another test.
12954
83d1aec8
JM
12955 * Makerules (common-objdir-compile): Remove.
12956 * sysdeps/unix/Makefile (config-generated): Do not add
12957 $(unix-generated) to variable.
12958 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12959 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12960 Remove rule.
12961 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12962 Likewise.
12963 [generic bits/local_lim.h] (before-compile): Do not append to
12964 variable.
12965 [generic bits/local_lim.h] (common-generated): Likewise.
12966 [generic sys/param.h] (before-compile): Do not append to variable.
12967 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12968 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12969 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12970 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12971 include.
12972 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12973 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12974 [generic sys/param.h] ($(addprefix
12975 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12976 [generic sys/param.h] (common-generated): Do not append to
12977 variable.
12978 [generic sys/param.h] (sysdep_headers): Likewise.
12979 [generic bits/errno.h] (before-compile): Do not append to
12980 variable.
12981 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12982 rule.
12983 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12984 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12985 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12986 [generic bits/errno.h] (common-generated): Do not append to
12987 variable.
12988 [generic bits/ioctls.h] (before-compile): Do not append to
12989 variable.
12990 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12991 rule.
12992 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12993 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12994 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12995 rule.
12996 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12997 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12998 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12999 [generic bits/ioctls.h] (common-generated): Do not append to
13000 variable.
13001 [generic sys/syscall.h] (syscall.h): Remove variable.
13002 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13003 rule.
13004 [generic sys/syscall.h] (before-compile): Do not append to
13005 variable.
13006 [generic sys/syscall.h] (common-generated): Likewise.
13007 * sysdeps/unix/errnos-tmpl.c: Remove file.
13008 * sysdeps/unix/errnos.awk: Likewise.
13009 * sysdeps/unix/ioctls-tmpl.c: Likewise.
13010 * sysdeps/unix/ioctls.awk: Likewise.
13011 * sysdeps/unix/mk-local_lim.c: Likewise.
13012 * sysdeps/unix/snarf-ioctls: Likewise.
13013
4851a949
RH
130142012-03-19 Richard Henderson <rth@twiddle.net>
13015
bd37f2ee
RH
13016 * sysdeps/i386/fpu/fenv_private.h: New file.
13017 * sysdeps/i386/fpu/math_private.h: Use it.
13018 (math_opt_barrier, math_force_eval): Remove.
13019 (libc_feholdexcept_setround_53bit): Remove.
13020 (libc_feupdateenv_53bit): Remove.
13021 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13022 (math_opt_barrier, math_force_eval): Remove.
13023 (libc_feholdexcept): Remove.
13024 (libc_feholdexcept_setround): Remove.
13025 (libc_fetestexcept, libc_fesetenv): Remove.
13026 (libc_feupdateenv_test): Remove.
13027 (libc_feupdateenv, libc_feholdsetround): Remove.
13028 (libc_feresetround): Remove.
13029
d0adc922
RH
13030 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13031 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13032
0fe0f1f8
RH
13033 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13034 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13035 (libc_feupdateenv_testl): New.
13036 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13037 (libc_feupdateenv_testf): New.
13038 (libc_feupdateenv): Use libc_feupdateenv_test.
13039 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13040 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13041
eb92c487
RH
13042 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13043 (libc_feholdsetroundf, libc_feholdsetroundl): New.
13044 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13045 (libc_feresetround_noex): New.
13046 (libc_feresetround_noexf): New.
13047 (libc_feresetround_noexl): New.
13048 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13049 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13050 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13051 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13052 SET_RESTORE_ROUND.
13053 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13054 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13055 (__cos): Likewise.
13056 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13057 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13058 SET_RESTORE_ROUND_NOEX.
13059 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13060 SET_RESTORE_ROUND_NOEXF.
13061 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13062 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13063 (libc_feholdsetroundf): New.
13064 (libc_feresetround, libc_feresetroundf): New.
13065
7d2e8012
RH
13066 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13067 (libc_feholdexcept_setround_53bit): Convert from macro to function.
13068 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
13069
b4dabbb4
RH
13070 * sysdeps/generic/math_private.h: Include <fenv.h>.
13071 (default_libc_feholdexcept): New.
13072 (default_libc_feholdexcept_setround): New.
13073 (default_libc_fesetenv, default_libc_feupdateenv): New.
13074 (libc_feholdexcept): Only define if undefined.
13075 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13076 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13077 (libc_feholdexcept_setroundl): Likewise.
13078 (libc_feholdexcept_setround_53bit): Likewise.
13079 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13080 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13081 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13082 (libc_feupdateenv_53bit): Likewise.
13083 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13084 (libc_feholdexcept): Convert from macro to inline function.
13085 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13086 (libc_fesetenv, libc_feupdateenv): Likewise.
13087
4851a949
RH
13088 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13089 not previously defined.
13090 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13091 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13092 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13093 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13094 * sysdeps/ieee754/flt-32/math_private.h: New file.
13095 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13096 math_private.h below SET_FLOAT_WORD.
13097 (__isnan, __isinf_ns, __finite): Remove.
13098 (__isnanf, __isinf_nsf, __finitef): Remove.
13099
e79d442e
AS
131002012-03-18 Andreas Schwab <schwab@linux-m68k.org>
13101
13102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13103
90b80344
DM
131042012-03-17 David S. Miller <davem@davemloft.net>
13105
13106 [BZ #6471]
13107 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13108 for 2.16.
13109
edc21804
DM
131102012-03-16 David S. Miller <davem@davemloft.net>
13111
77e927af
DM
13112 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13113 warnings.
13114
374976dd
DM
13115 [BZ #6471]
13116 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13117 properly.
13118 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13119 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13120 sysdep_routines when subdir is sysvipc.
13121 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13122 __getshmlba helper.
13123
edc21804
DM
13124 * sysdeps/sparc/fpu/libm-test/ulps: Update.
13125
473c3ef3
L
131262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13127
13128 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13129 [__LP64__].
13130
eb0f39b6
L
131312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13132
13133 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13134 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13135 (__lround): Renamed to ...
13136 (__llround): This. Replace long int with long long int.
13137 Define lround functions as aliases of llround functions.
13138 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13139
6b6cd74b
L
131402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13141
13142 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13143 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13144 adresses to uintptr_t. Replace "long int" and "unsigned long
13145 int" with "greg_t" on va_arg.
13146
f1a77b01
L
131472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13148
13149 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13150 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13151
13152 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13153 Move e_machine check before EI_CLASS check. Handle x32
13154 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13155 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13156 SKIP_EM_IA_64 and include
13157 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13158
13159 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13160 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13161 (add_system_dir): New macro.
13162
13163 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13164 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13165
11b90b9f
JM
131662012-03-16 Joseph Myers <joseph@codesourcery.com>
13167
c36e1d23
JM
13168 [BZ #2551]
13169 [BZ #2552]
13170 [BZ #2553]
13171 [BZ #2554]
13172 [BZ #2562]
13173 [BZ #2563]
13174 [BZ #2565]
13175 [BZ #2566]
13176 [BZ #2576]
13177 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13178 (y0): Likewise.
13179 * math/w_j0f.c (j0f): Likewise.
13180 (y0f): Likewise.
13181 * math/w_j0l.c (__j0l): Likewise.
13182 (__y0l): Likewise.
13183 * math/w_j1.c (j1): Likewise.
13184 (y1): Likewise.
13185 * math/w_j1f.c (j1f): Likewise.
13186 (y1f): Likewise.
13187 * math/w_j1l.c (__j1l): Likewise.
13188 (__y1l): Likewise.
13189 * math/w_jn.c (jn): Likewise.
13190 (yn): Likewise.
13191 * math/w_jnf.c (jnf): Likewise.
13192 (ynf): Likewise.
13193 * math/w_jnl.c (__jnl): Likewise.
13194 (__ynl): Likewise.
13195 * math/libm-test.inc (j0_test): Add more tests.
13196 (j1_test): Likewise.
13197 (jn_test): Likewise. Add trailing semicolon to existing test.
13198 (y0_test): Likewise.
13199 (y1_test): Likewise.
13200 * sysdeps/i386/fpu/libm-test-ulps: Update.
13201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13202
11b90b9f
JM
13203 [BZ #13851]
13204 [BZ #13854]
13205 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13206 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13207 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13208 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13209 (__tanl): Set errno for infinite argument.
13210 * sysdeps/i386/fpu/mptan.c: Remove.
13211 * sysdeps/i386/fpu/s_tan.S: Likewise.
13212 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13213 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13214 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13215 * math/libm-test.inc (tan_test): Add more tests and enable more
13216 tests for double and long double.
13217 * sysdeps/i386/fpu/libm-test-ulps: Update.
13218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13219
6a1bd2a1
JK
132202012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13221
13222 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13223 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13224
10a803e0
RM
132252012-03-16 Roland McGrath <roland@hack.frob.com>
13226
13227 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13228 * configure.in: Use it for both main tree and add-ons.
13229 * configure: Regenerated.
13230
f196c7f7
L
132312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13232
13233 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13234
8848d99d
JM
132352012-03-16 Joseph Myers <joseph@codesourcery.com>
13236
96cbe7f4
JM
13237 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13238 in comment.
13239
8848d99d
JM
13240 [BZ #13851]
13241 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13242 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13243 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13244 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13245 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13246 infinite argument.
13247 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13248 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13249 != 0 for prec == 2.
13250 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13251 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13252 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13253 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13254 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13255 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13256 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13257 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13258 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13259 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13260 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13261 * math/libm-test.inc (cos_test): Add more tests and enable more
13262 tests for long double.
13263 (sin_test): Likewise.
13264 (sincos_test): Likewise.
13265 * sysdeps/i386/fpu/libm-test-ulps: Update.
13266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13267
dd7f4703
DM
132682012-03-16 David S. Miller <davem@davemloft.net>
13269
13270 * sysdeps/sparc/fpu/math_private.h: New file.
13271
006f1daa
DM
132722012-03-15 David S. Miller <davem@davemloft.net>
13273
c0c83bc8
DM
13274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13275 file.
e6a62e18 13276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
13277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13278 file.
e6a62e18
DM
13279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13281 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13282 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13283 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13284 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13285 sysdep routines.
13286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13287
88cb87d9
DM
13288 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13289 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13290
006f1daa 13291 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
13292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13293 sparc-ifunc.h
006f1daa 13294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
13295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13296 Likewise.
13297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13298 Likewise.
006f1daa
DM
13299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
13302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13303 Likewise.
006f1daa
DM
13304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
13308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13309 Likewise.
13310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13311 Likewise.
006f1daa
DM
13312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13316 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13317 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13318 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13319 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13320 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13321 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13322 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13323 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13324 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13325 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13326 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13327 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13328 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13329 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13330 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13331 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13332 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13333 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13334 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13335 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13336
11e0098e
AS
133372012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13338
13339 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13340 scaling.
13341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13342
e85b09d0
AJ
133432012-03-15 Andreas Jaeger <aj@suse.de>
13344
13345 [BZ #13852]
13346 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13347 ieee754/flt-32 implementation for sin, cos and sincos.
13348 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13349 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13350 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13351 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13352 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13353 ieee754/flt-32 implementation for tan.
13354
13355 * math/libm-test.inc (cos_test): Enable some large input tests for
13356 float as well
13357 (sin_test): Likewise.
13358 (sincos_test): Likewise.
13359 (tan_test): Add tests for large input.
13360
13361 * sysdeps/i386/fpu/libm-test-ulps: Update.
13362
81c64153
AJ
133632012-03-15 Andreas Jaeger <aj@suse.de>
13364
13365 [BZ #13658]
13366 * math/libm-test.inc (cos_test): Add more test cases.
13367 (sin_test): Likewise.
13368 (sincos_test): Likewise.
13369
7bbfa5c6
AJ
133702012-03-15 Andreas Jaeger <aj@suse.de>
13371
13372 [BZ #13837]
13373 * math/libm-test.inc (cos_test): Add a test case for large input
13374 value.
13375 (sin_test): Likewise.
13376 (sincos_test): Likewise.
13377
133782012-03-15 Andreas Jaeger <aj@suse.de>,
13379 Joseph Myers <joseph@codesourcery.com>
13380
13381 [BZ #13658]
0671f479 13382 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
13383 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13384 * sysdeps/i386/fpu/branred.c: Likewise.
13385 * sysdeps/i386/fpu/dosincos.c: Likewise.
13386 * sysdeps/i386/fpu/mpa.c: Likewise.
13387 * sysdeps/i386/fpu/s_cos.S: Likewise.
13388 * sysdeps/i386/fpu/s_sin.S: Likewise.
13389 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13390 * sysdeps/i386/fpu/sincos32.c: Likewise.
13391
13392 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13393 Define.
13394 (libc_feupdateenv_53bit): Define.
13395 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13396 Define.
13397 (libc_feupdateenv_53bit): Define.
13398
13399 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13400 53 bit (without extend i386 double precision).
13401
13402 * math/libm-test.inc (sincos_test): Add tests for large input.
13403 (sin): Likewise.
13404 (cos): Likewise.
13405
13406 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13407
9cad04ea
AS
134082012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13409
13410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13411
f7062b9a
DM
134122012-03-15 David S. Miller <davem@davemloft.net>
13413
13414 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13415 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13416 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13417 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13422 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13423 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13424 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13425 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13426 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13427 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13428 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
13429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13430 file.
f7062b9a 13431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
13432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13433 file.
f7062b9a 13434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
13435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13436 file.
f7062b9a 13437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
13438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13439 file.
f7062b9a
DM
13440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13441 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13442 fmin/fmax sysdep routines.
13443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13444
7bd951ff
DM
134452012-03-14 David S. Miller <davem@davemloft.net>
13446
559398ab
DM
13447 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13448 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13449 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13450 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13451 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13452 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13453 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13454 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13455 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13456 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13457 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13458 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13459 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13460 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13461 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13462 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13463 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13464 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13465 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13466 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13467 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13468 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13469 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13470 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13471 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13472 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13473 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13474 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13475 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13476 routines.
13477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13478 file.
559398ab 13479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
13480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13481 file.
559398ab 13482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
13483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13484 file.
559398ab 13485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
13486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13487 file.
559398ab 13488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
13489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13490 file.
559398ab 13491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
13492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13493 file.
13494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13495 file.
13496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13497 file.
13498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13499 file.
13500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13501 New file.
13502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13503 file.
13504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13505 file.
559398ab 13506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
13507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13508 file.
559398ab 13509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13511 file.
559398ab 13512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
13513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13514 file.
559398ab 13515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
13516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13517 VIS3 routines.
559398ab
DM
13518
13519 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13520 New file.
13521
5a1c1e32
DM
13522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13523
eae47a36
DM
13524 * sysdeps/sparc/configure.in: New file.
13525 * sysdeps/sparc/configure: Generate.
13526 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13527 * configure: Regenerate.
13528 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13529 * config.make.in (have-as-vis3): New.
13530 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13531 available use -Av9d instead of -Av9a.
13532 * sysdeps/sparc/sparc64/Makefile: Likewise.
13533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
13534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13535 New file.
13536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13537 file.
13538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13539 New file.
13540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13541 file.
eae47a36
DM
13542 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13543 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13544 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13545 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13546 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13547
c0c83bc8
DM
13548 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13549 fzeros/fnegs to load 0x80000000 into a float register instead of
13550 using the stack.
7bd951ff
DM
13551 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13552
bd951ccb
JM
135532012-03-14 Joseph Myers <joseph@codesourcery.com>
13554
13555 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13556 bits/syscall.h.
13557 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13558 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13559 ($(inst_includedir)/bits/syscall.h): Remove rule.
13560 ($(objpfx)bits/syscall.d): Include instead of
13561 $(objpfx)syscall-list.d.
13562 (generated): Change syscall-list.h and syscall-list.d to
13563 bits/syscall.h and bits/syscall.d.
13564
bb4e6db2
RM
135652012-03-14 Roland McGrath <roland@hack.frob.com>
13566
13567 [BZ #13846]
13568 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13569
aa4a2ae1
JM
135702012-03-14 Joseph Myers <joseph@codesourcery.com>
13571
e456826d
JM
13572 [BZ #13841]
13573 * math/s_csqrt.c: Include <float.h>.
13574 (__csqrt): Scale large or subnormal inputs.
13575 * math/s_csqrtf.c: Likewise.
13576 * math/s_csqrtl.c: Likewise.
13577 * math/libm-test.inc (csqrt_test): Add more tests.
13578 * sysdeps/i386/fpu/libm-test-ulps: Update.
13579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13580
aa4a2ae1
JM
13581 [BZ #13840]
13582 * math/libm-test.inc (hypot_test): Add more tests.
13583
7c10fd35
DM
135842012-03-13 David S. Miller <davem@davemloft.net>
13585
13586 [BZ #13840]
13587 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13588 double-precision for the calculation instead of scaling.
13589
f453b98b
JM
135902012-03-13 Joseph Myers <joseph@codesourcery.com>
13591
13592 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13593 manipulate bits before adding and subtracting TWO52[sx].
13594 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13595 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13596 Likewise.
13597 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13598
09a3453f
DM
135992012-03-13 David S. Miller <davem@davemloft.net>
13600
8e59da90
DM
13601 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13602 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13603 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13604 rtld-global-offsets.h
13605 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13606
2a8ab7f2
DM
13607 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13608 large parameters.
13609
10f62770
DM
13610 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13611
5f0bdb18
DM
13612 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13613 'err' in the ifdef scope in which it is actually used.
13614
09a3453f
DM
13615 * nss/nss_db/db-init.c: Include string.h
13616
b4b2eb5e
DM
136172012-03-12 David S. Miller <davem@davemloft.net>
13618
98bb2f1c
DM
13619 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13620 masking out of the most significant byte of random value used.
13621 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13622 Fix coding style in previous change.
13623
b4b2eb5e
DM
13624 * sysdeps/unix/sysv/linux/kernel-features.h
13625 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13626 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13627 expression.
13628 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13629 later.
13630
6e226b09
DM
136312012-03-11 David S. Miller <davem@davemloft.net>
13632
a1bcbd40
DM
13633 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13634 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13635 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13636 for 'resultvar' otherwise things get truncated on 64-bit.
13637
cb9d6174
DM
13638 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13639 Fix masking out of the most significant byte of random value used.
13640
6e226b09
DM
13641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13642
058c132d
AS
136432012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13644
13645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13646
2d2cd515
DM
136472012-03-09 David S. Miller <davem@davemloft.net>
13648
13649 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13650 variables with appropriate CPP guards.
13651 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13652 frame pointer, not the stack pointer. Correct layout comments. Fix test
13653 on resulting framesize and the management of the outregs buffer for pltexit.
13654 Preserve floating point return values across _dl_call_pltexit call.
13655 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13656 framesize and the management of the outregs buffer for pltexit.
13657 Preserve floating point return values across _dl_call_pltexit
13658 call.
13659 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13660 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13661 (print_exit): Fix format string for return register value.
13662
9a07f9d0
JM
136632012-03-10 Joseph Myers <joseph@codesourcery.com>
13664
13665 * sunrpc/Makefile (others): Add rpcgen.
13666 ($(objpfx)rpcgen): Remove special build rule and dependency on
13667 libc.
13668 * sunrpc/rpcgen.c: New file.
13669
547b5e30
PE
136702012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13671
c524201a
PE
13672 [BZ #13673]
13673 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13674 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13675 * sysdeps/i386/crti.S: Likewise.
13676 * sysdeps/i386/crtn.S: Likewise.
13677 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13678 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13679 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13680 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13681 * sysdeps/sh/crti.S: Likewise.
13682 * sysdeps/sh/crtn.S: Likewise.
13683 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13684
7b6235f2
PE
13685 [BZ #13673]
13686 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13687 with URL.
13688 * locale/programs/locfile-kw.gperf: Likewise.
13689 * locale/programs/charmap-kw.h: Regenerated.
13690 * locale/programs/locfile-kw.h: Likewise.
13691
547b5e30
PE
13692 [BZ #13673]
13693 * intl/plural.y: Replace FSF snail mail address with URL.
13694 * intl/plural.c: Regenerated.
13695
5f0a5dae
RH
136962012-03-09 Richard Henderson <rth@twiddle.net>
13697
13698 * include/math_private.h: Remove file.
13699 * math/math_private.h: Move file ...
13700 * sysdeps/generic/math_private.h: ... here.
13701
b8c03620
RH
13702 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13703 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13704 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13705
4e234f5d 13706 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
13707 and <math_private.h>.
13708 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13709 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13710 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13711 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13712 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13713 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13714 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13715 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13716 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13717 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13718 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13719 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13720 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13721 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13722 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13723 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13724 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13725 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13726 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13727 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13728 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13729 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13730 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13731 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13732 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13733 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13734 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13735 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13736 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13737 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13738 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13739 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13740 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13741 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13742 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13743 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13744 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13745 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13746 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13747 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13748 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13749 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13750 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13751 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13752 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13753 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13754 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13755 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13756 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13757 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13758 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13759 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13760 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13761 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13762 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13763 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13764 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13765 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13766 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13767 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13768 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13769 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13770 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13771 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13772 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13773 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13774 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13775 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13776 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13777 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13778 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13779 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13780 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13781 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13782 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13783 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13784 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13785 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13786 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13787 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13788 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13789 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13790 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13791 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13792 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13793 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13794 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13795 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13796 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13797 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13798 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13799 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13800 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13801 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13802 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13803 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13804 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13805 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13806 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13807 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13808 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13809 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13810 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13811 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13812 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13813 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13814 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13815 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13816 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13817 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13818 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13819 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13820 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13821 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13822 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13823 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13824 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13825 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13826 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13827 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13828 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13829 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13830 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13831 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13832 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13833 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13834 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13835 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13836 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13837 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13838 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13839 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13840 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13841 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13842 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13843 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13844 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13845 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13846 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13847 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13848 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13849 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13850 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13851 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13852 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13853 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13854 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13855 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13856 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13857 * sysdeps/ieee754/k_standard.c: Likewise.
13858 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13859 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13860 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13861 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13862 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13863 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13864 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13865 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13866 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13867 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13868 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13869 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13870 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13871 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13872 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13873 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13874 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13875 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13876 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13877 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13878 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13879 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13880 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13881 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13882 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13883 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13884 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13885 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13886 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13887 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13888 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13889 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13890 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13891 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13892 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13893 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13894 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13895 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13896 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13897 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13898 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13899 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13900 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13901 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13902 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13903 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13904 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13905 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13906 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13907 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13908 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13909 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13910 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13911 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13912 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13913 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13914 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13915 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13916 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13917 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13918 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13919 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13920 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13921 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13922 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13923 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13924 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13925 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13926 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13927 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13928 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13929 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13930 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13931 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13932 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13933 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13934 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13935 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13936 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13937 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13938 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13939 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13940 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13941 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13942 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13943 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13944 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13945 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13946 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13947 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13948 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13949 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13950 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13951 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13952 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13953 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13954 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13955 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13956 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13957 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13958 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13959 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13960 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13961 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13962 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13963 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13964 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13965 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13966 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13967 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13968 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13969 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13970 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13971 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13972 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13973 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13974 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13975 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13976 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13977 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13978 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13979 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13980 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13981 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13982 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13983 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13984 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13985 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13986 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13987 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13988 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13989 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13990 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13991 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13992 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13993 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13994 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13995 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13996 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13997 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13998 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13999 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14000 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14001 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14002 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14003 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14004 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14005 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14006 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14007 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14008 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14009 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14010 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14011 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14012 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14013 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14014 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14015 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14016 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14017 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14018 * sysdeps/ieee754/s_lib_version.c: Likewise.
14019 * sysdeps/ieee754/s_matherr.c: Likewise.
14020 * sysdeps/ieee754/s_signgam.c: Likewise.
14021 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14022 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14023 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14024 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14025 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14026 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14027 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14028 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14029 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14030 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14031 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14032 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14033 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14034 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14035 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14036 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14037 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14038 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14039 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14040 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14041 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 14042
1991fa03
JM
140432012-03-09 Joseph Myers <joseph@codesourcery.com>
14044
14045 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14046 * sunrpc/rpc_main.c: Likewise.
14047 * sunrpc/rpc_svcout.c: Likewise.
14048
60d6f5a6
DM
140492012-03-09 David S. Miller <davem@davemloft.net>
14050
14051 * include/math_private.h: New file.
14052
4962050e
JM
140532012-03-09 Joseph Myers <joseph@codesourcery.com>
14054
02a6f887
JM
14055 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14056 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14057 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14058 from <bits/socket_type.h>.
14059 (enum __socket_type): Don't define here.
14060 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14061 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14062 bits/socket_type.h.
14063
c6e013c1
JM
14064 [BZ #13566]
14065 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14066 checking __USE_GNU.
14067
4962050e
JM
14068 * Makerules ($(inst_includedir)/%.h): New rule.
14069 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14070 (install-others): Remove variable setting.
14071 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14072
38842f45
RH
140732012-03-08 Richard Henderson <rth@twiddle.net>
14074
67bb6da6
RH
14075 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14076 from macro to inline function; merge with the
14077 !__LIBC_INTERNAL_MATH_INLINES version.
14078 (__ieee754_sqrtf): Likewise.
14079
15194b4b
RH
14080 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14081 to inline function.
14082 (__rintf, __floor, __floorf): Likewise.
14083
64e21ede
RH
14084 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14085 macro to inline function.
14086 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14087
38842f45
RH
14088 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14089 not <math/math_private.h>.
14090
c64bf5fe
DM
140912012-03-08 David S. Miller <davem@davemloft.net>
14092
14093 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14094 copyright year.
14095 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14096
82d86f28
TS
140972012-03-08 Thomas Schwinge <thomas@codesourcery.com>
14098
14099 * resolv/gai_misc.c (handle_requests): Fix struct timespec
14100 normalization.
14101 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14102 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14103
aea5d727
UD
141042012-03-08 Ulrich Drepper <drepper@gmail.com>
14105
14106 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
14107 be defined individually, they must be defined as a block. Define
14108 S for printing a string instead of hidint the different by using a
14109 macro for adding the 'l'.
14110 * stdio-common/tst-fphex-wide.c: Adjust.
14111
70bca0a3
MP
141122012-03-07 Marek Polacek <polacek@redhat.com>
14113
14114 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14115
65b81130
MP
141162012-03-08 Marek Polacek <polacek@redhat.com>
14117
14118 [BZ #13806]
14119 * stdio-common/Makefile (tests): Add tst-fphex-wide.
14120 * stdio-common/tst-fphex.c: Define a few macros to make the
14121 test reusable. Use them.
14122 * stdio-common/tst-fphex-wide.c: New file.
14123
07037eeb
JM
141242012-03-08 Joseph Myers <joseph@codesourcery.com>
14125
a7a93d50
JM
14126 [BZ #6911]
14127 * manual/macros.texi (gnusystems): New macro.
14128 (nongnusystems): Likewise.
14129 (gnulinuxhurdsystems): Likewise.
14130 (gnuhurdsystems): Likewise..
14131 (gnulinuxsystems): Likewise.
14132 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14133 variants of the GNU system, not "GNU system".
14134 * manual/conf.texi: Likewise.
14135 * manual/errno.texi: Likewise. Update example of errno macro
14136 expansion.
14137 * manual/filesys.texi: Likewise.
14138 (getumask): Document as specific to GNU/Hurd.
14139 * manual/install.texi: Likewise. Reword some references to
14140 GNU/Linux.
14141 * manual/intro.texi: Likewise.
14142 * manual/io.texi: Likewise.
14143 (File Name Portability): Detail which constraints are inapplicable
14144 to all GNU systems and which are only inapplicable to GNU/Hurd.
14145 * manual/job.texi: Likewise.
14146 * manual/llio.texi: Likewise.
14147 (O_NOCTTY): Document as present on GNU/Linux.
14148 * manual/maint.texi: Likewise.
14149 * manual/memory.texi: Likewise.
14150 * manual/pattern.texi: Likewise.
14151 * manual/pipe.texi: Likewise.
14152 * manual/process.texi: Likewise.
14153 * manual/resource.texi: Likewise.
14154 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14155 child on GNU/Hurd.
14156 * manual/setjmp.texi: Likewise.
14157 * manual/signal.texi: Likewise.
14158 * manual/startup.texi: Likewise.
14159 * manual/stdio.texi: Likewise.
14160 * manual/terminal.texi: Likewise.
14161 (ONLCR): Document as POSIX.
14162 (OXTABS): Document availability on GNU/Linux as XTABS.
14163 (ONOEOT): Document availability separately from other bits.
14164 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14165 * manual/time.texi: Likewise.
14166 * manual/users.texi: Likewise.
14167 * INSTALL: Regenerated.
14168 * sysdeps/gnu/errlist.c: Regenerated.
14169
07037eeb
JM
14170 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14171 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14172 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14173 puts.
14174 * configure: Regenerated.
14175
d1d3431a
JM
141762012-03-07 Joseph Myers <joseph@codesourcery.com>
14177
af6a1e37
JM
14178 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14179 default includes instead of AC_HEADER_CHECK.
14180 * sysdeps/i386/configure: Regenerated.
14181
d1d3431a
JM
14182 [BZ #10716]
14183 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14184 * math/s_cacoshf.c (__cacoshf): Likewise.
14185 * math/s_cacoshl.c (__cacoshl): Likewise.
14186 * math/s_casinh.c (__casinh): Set signs of result from argument.
14187 * math/s_casinhf.c (__casinhf): Likewise.
14188 * math/s_casinhl.c (__casinhl): Likewise.
14189 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14190 (casinh_test): Add more tests.
14191 * sysdeps/i386/fpu/libm-test-ulps: Update.
14192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14193
482ff4da
UD
141942012-03-07 Ulrich Drepper <drepper@gmail.com>
14195
872fda05
UD
14196 * po/zh_TW.po: Update from translation team.
14197
a4300c7a
UD
14198 * login/Makefile (distribute): Remove variable.
14199 * catgets/Makefile: Likewise.
14200 * mach/Makefile: Likewise.
14201 * malloc/Makefile: Likewise.
14202 * misc/Makefile: Likewise.
14203 * iconv/Makefile: Likewise.
14204 * nscd/Makefile: Likewise.
14205 * hurd/Makefile: Likewise.
14206 * manual/Makefile: Likewise.
14207 * locale/Makefile: Likewise.
14208 * intl/Makefile: Likewise.
14209 * conform/Makefile: Likewise.
14210 * nss/Makefile: Likewise.
14211 * time/Makefile: Likewise.
14212 * soft-fp/Makefile: Likewise.
14213 * dirent/Makefile: Likewise.
14214 * gmon/Makefile: Likewise.
14215 * po/Makefile: Likewise.
14216 * rt/Makefile: Likewise.
14217 * socket/Makefile: Likewise.
14218 * math/Makefile: Likewise.
14219 * signal/Makefile: Likewise.
14220 * debug/Makefile: Likewise.
14221 * elf/Makefile: Likewise.
14222 * timezone/Makefile: Likewise.
14223 * stdlib/Makefile: Likewise.
14224 * iconvdata/Makefile: Likewise.
14225 * sunrpc/Makefile: Likewise.
14226 * io/Makefile: Likewise.
14227 * argp/Makefile: Likewise.
14228 * inet/Makefile: Likewise.
14229 * hesiod/Makefile: Likewise.
14230 * grp/Makefile: Likewise.
14231 * csu/Makefile: Likewise.
14232 * wctype/Makefile: Likewise.
14233 * crypt/Makefile: Likewise.
14234 * libio/Makefile: Likewise.
14235 * string/Makefile: Likewise.
14236 * nis/Makefile: Likewise.
14237 * resolv/Makefile: Likewise.
14238 * stdio-common/Makefile: Likewise.
14239 * wcsmbs/Makefile: Likewise.
14240 * dlfcn/Makefile: Likewise.
14241 * posix/Makefile: Likewise.
14242
3b7c4e74 14243 [BZ #6959]
482ff4da
UD
14244 * timezone/Makefile: Don't install timezone files, just the programs
14245 and scripts.
14246
f72ed77d
UD
142472012-03-06 Ulrich Drepper <drepper@gmail.com>
14248
a000466f
UD
14249 * nss/databases.def: Add missing gshadow entry.
14250
f72ed77d
UD
14251 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14252
a53b7a4e
MP
142532012-03-06 Marek Polacek <polacek@redhat.com>
14254
14255 [BZ #13726]
14256 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14257 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14258 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14259 * stdio-common/tst-long-dbl-fphex.c: New file.
14260
e9258400
DM
142612012-03-06 David S. Miller <davem@davemloft.net>
14262
14263 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14264 (set_obp_int): New function.
14265 (get_obp_int): New function.
14266 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
14267 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14268 Avoid unused variable warnings on 'val' and use builtin_expect.
14269 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14270 __builtin_expect.
e9258400
DM
14271 (INLINE_CLONE_SYSCALL): Likewise.
14272
3bd2c723
DM
142732012-03-05 David S. Miller <davem@davemloft.net>
14274
14275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14276
bbb78d03
AS
142772012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14278
884c5db4
AS
14279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14280
bbb78d03
AS
14281 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14282 only for |x| >= 40.
14283 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14284
1c9f702a 142852012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
14286
14287 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14288 Replace gettimeofday with __vdso_gettimeofday.
14289
7be16f82
RM
14290 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14291 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14292 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
14293
14294 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14295 time with __vdso_time.
14296
ed58a00f
JM
142972012-03-05 Joseph Myers <joseph@codesourcery.com>
14298
14299 * manual/lang.texi (size_t): Note types to which size_t may be
14300 equivalent with the GNU C Library, but do not describe when
14301 differences between them are significant.
14302
30ee4ced
AJ
143032012-03-05 Andreas Jaeger <aj@suse.de>
14304
14305 * sysdeps/i386/fpu/libm-test-ulps: Update.
14306
b7cd39e8
JM
143072012-03-05 Joseph Myers <joseph@codesourcery.com>
14308
14309 [BZ #3976]
14310 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14311 (__ieee754_pow): Save and restore rounding mode and use
14312 round-to-nearest for main computations.
14313 * math/libm-test.inc (pow_test_tonearest): New function.
14314 (pow_test_towardzero): Likewise.
14315 (pow_test_downward): Likewise.
14316 (pow_test_upward): Likewise.
14317 (main): Call the new functions.
14318 * sysdeps/i386/fpu/libm-test-ulps: Update.
14319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
14320
14321 [BZ #3976]
14322 * math/libm-test.inc (cosh_test_tonearest): New function.
14323 (cosh_test_towardzero): Likewise.
14324 (cosh_test_downward): Likewise.
14325 (cosh_test_upward): Likewise.
14326 (sinh_test_tonearest): Likewise.
14327 (sinh_test_towardzero): Likewise.
14328 (sinh_test_downward): Likewise.
14329 (sinh_test_upward): Likewise.
14330 (main): Call the new functions.
14331 * sysdeps/i386/fpu/libm-test-ulps: Update.
14332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14333
6c6a98c9
TV
143342012-03-05 Tom de Vries <tom@codesourcery.com>
14335
14336 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14337 default stack guard is set in last bytes.
14338 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14339
21bb2d2e 143402012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 14341
21bb2d2e 14342 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 14343
21bb2d2e
AJ
14344 [BZ #13656]
14345 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14346 possibly allocate from heap instead of stack.
14347 * stdio-common/bug-vfprintf-nargs.c: New file.
14348 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 14349
c6922934
AS
143502012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14351
14352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14353
bc957d53
MP
143542012-03-03 Marek Polacek <polacek@redhat.com>
14355
14356 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14357 * math/math_private.h: Likewise.
14358 * stdlib/tst-strtod.c: Likewise.
14359 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14360 * sysdeps/x86_64/bits/atomic.h: Likewise.
14361
6358490d
DM
143622012-03-02 David S. Miller <davem@davemloft.net>
14363
14364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14368 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14369 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14370 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14371 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14372
01ae168d
RM
143732012-03-02 Roland McGrath <roland@hack.frob.com>
14374
d9a17c07
RM
14375 [BZ #13792]
14376 * manual/examples/README: New file, says the example source files
14377 can be used under GPL>=2.
14378 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14379 line containing just "*/".
14380 * manual/examples/add.c: Add copyright header (GPL>=2).
14381 * manual/examples/argp-ex1.c: Likewise.
14382 * manual/examples/argp-ex2.c: Likewise.
14383 * manual/examples/argp-ex3.c: Likewise.
14384 * manual/examples/argp-ex4.c: Likewise.
14385 * manual/examples/atexit.c: Likewise.
14386 * manual/examples/db.c: Likewise.
14387 * manual/examples/dir.c: Likewise.
14388 * manual/examples/dir2.c: Likewise.
14389 * manual/examples/execinfo.c: Likewise.
14390 * manual/examples/filecli.c: Likewise.
14391 * manual/examples/filesrv.c: Likewise.
14392 * manual/examples/fmtmsgexpl.c: Likewise.
14393 * manual/examples/genpass.c: Likewise.
14394 * manual/examples/inetcli.c: Likewise.
14395 * manual/examples/inetsrv.c: Likewise.
14396 * manual/examples/isockad.c: Likewise.
14397 * manual/examples/longopt.c: Likewise.
14398 * manual/examples/memopen.c: Likewise.
14399 * manual/examples/memstrm.c: Likewise.
14400 * manual/examples/mkfsock.c: Likewise.
14401 * manual/examples/mkisock.c: Likewise.
14402 * manual/examples/mygetpass.c: Likewise.
14403 * manual/examples/pipe.c: Likewise.
14404 * manual/examples/popen.c: Likewise.
14405 * manual/examples/rprintf.c: Likewise.
14406 * manual/examples/search.c: Likewise.
14407 * manual/examples/select.c: Likewise.
14408 * manual/examples/setjmp.c: Likewise.
14409 * manual/examples/sigh1.c: Likewise.
14410 * manual/examples/sigusr.c: Likewise.
14411 * manual/examples/stpcpy.c: Likewise.
14412 * manual/examples/strdupa.c: Likewise.
14413 * manual/examples/strftim.c: Likewise.
14414 * manual/examples/strncat.c: Likewise.
14415 * manual/examples/subopt.c: Likewise.
14416 * manual/examples/swapcontext.c: Likewise.
14417 * manual/examples/termios.c: Likewise.
14418 * manual/examples/testopt.c: Likewise.
14419 * manual/examples/testpass.c: Likewise.
14420 * manual/examples/timeval_subtract.c: Likewise.
14421
01ae168d
RM
14422 [BZ #13792]
14423 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14424 function to ...
14425 * manual/timeval_subtract.c.texi: ... here, new file.
14426
49efa33d
DM
144272012-03-02 David S. Miller <davem@davemloft.net>
14428
14429 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14430
28afd92d
JM
144312012-03-02 Joseph Myers <joseph@codesourcery.com>
14432
804360ed
JM
14433 [BZ #3976]
14434 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14435 (__sin): Save and restore rounding mode and use round-to-nearest
14436 for all computations.
14437 (__cos): Save and restore rounding mode and use round-to-nearest
14438 for all computations.
14439 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14440 <fenv.h>.
14441 (tan): Save and restore rounding mode and use round-to-nearest for
14442 all computations.
14443 * math/libm-test.inc (cos_test_tonearest): New function.
14444 (cos_test_towardzero): Likewise.
14445 (cos_test_downward): Likewise.
14446 (cos_test_upward): Likewise.
14447 (sin_test_tonearest): Likewise.
14448 (sin_test_towardzero): Likewise.
14449 (sin_test_downward): Likewise.
14450 (sin_test_upward): Likewise.
14451 (tan_test_tonearest): Likewise.
14452 (tan_test_towardzero): Likewise.
14453 (tan_test_downward): Likewise.
14454 (tan_test_upward): Likewise.
14455 (main): Call the new functions.
14456 * sysdeps/i386/fpu/libm-test-ulps: Update.
14457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14458
a6d06d7b
JM
14459 [BZ #10135]
14460 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14461 small n, then large n, before computing and testing k+n.
14462 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14463 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14464 Likewise.
14465 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14466 Likewise.
14467 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14468 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14469 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14470 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14471 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14472 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14473 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14474 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14475 * math/libm-test.inc (scalbn_test): Add more tests.
14476 (scalbln_test): Likewise.
14477
07e12bb3
JM
14478 * manual/filesys.texi (mode_t): Describe constraints on size and
14479 signedness, not exact equivalence to a particular type.
14480 (ino_t): Likewise.
14481 (ino64_t): Likewise.
14482 (dev_t): Likewise.
14483 (nlink_t): Likewise.
14484 (blkcnt_t): Likewise.
14485 (blkcnt64_t): Likewise.
14486 * manual/llio.texi (off_t): Likewise.
14487
28afd92d
JM
14488 [BZ #3976]
14489 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14490 (__ieee754_exp): Save and restore rounding mode and use
14491 round-to-nearest for all computations.
14492 * math/libm-test.inc (exp_test_tonearest): New function.
14493 (exp_test_towardzero): Likewise.
14494 (exp_test_downward): Likewise.
14495 (exp_test_upward): Likewise.
14496 (main): Call the new functions.
14497 * sysdeps/i386/fpu/libm-test-ulps: Update.
14498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14499
b1eeb65d
CD
145002012-03-01 Chris Demetriou <cgd@google.com>
14501
14502 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14503 have predictable order.
14504
53362a4b
DM
145052012-03-01 David S. Miller <davem@davemloft.net>
14506
3c969083
DM
14507 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14508
759707de
DM
14509 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14510 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14511 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14512 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14513
dfdb8ff2
DM
14514 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14515 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14516 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14518 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14519 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14520 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14521 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14522 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14523
ead89f96
DM
14524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14525
7f66bd07
DM
14526 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14527 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14528 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14529
53362a4b
DM
14530 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14531 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14532 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14533 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14534 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14535 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14536 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14537 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14538 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14539 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14540 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14541 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14542 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14543 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14544 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14545 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14546 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14547 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14548 * sysdeps/sparc/elf/configure: Regenerated.
14549
7b1902cb
JM
145502012-03-01 Joseph Myers <joseph@codesourcery.com>
14551
bec039bc
JM
14552 * configure.in (AS, LD): Require binutils 2.20 or later.
14553 * configure: Regenerated.
14554 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14555 as required minimum version.
14556 * INSTALL: Regenerated.
14557
7b1902cb
JM
14558 [BZ #2541]
14559 [BZ #4108]
14560 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14561 before squaring exponent.
14562 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14563 bottom long double and 27 bits of top long double before squaring
14564 exponent.
14565 * math/libm-test.inc (erfc_test): Add more tests.
14566 * sysdeps/i386/fpu/libm-test-ulps: Update.
14567 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14569
f775c276
KT
145702012-03-01 Kai Tietz <ktietz@redhat.com>
14571
14572 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14573 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14574 containing bit-fields.
14575 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14576 * soft-fp/single.h (_FP_UNION_S): Likewise.
14577 * soft-fp/double.h (_FP_UNION_D): Likewise.
14578
5b8a4d4a
JM
145792012-02-29 Joseph Myers <joseph@codesourcery.com>
14580
0bab47b6
JM
14581 [BZ #13786]
14582 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14583 not include ../strcmp.S.
14584 [USE_AS_STRNCASECMP_L]: Likewise.
14585 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14586 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14587 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14588 (__strncasecmp_l_ia32): Define as alias to
14589 __strncasecmp_l_nonascii.
14590
0fcad3e2
JM
14591 [BZ #5794]
14592 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14593 * sysdeps/i386/fpu/libm-test-ulps: Update.
14594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14595
5b8a4d4a
JM
14596 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14598
8fdceb2e
JL
145992012-02-29 Jeff Law <law@redhat.com>
14600
14601 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14602 out of bounds read.
14603
1f393a11
MP
146042012-02-29 Marek Polacek <polacek@redhat.com>
14605
14606 [BZ #13706]
14607 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14608 * elf/Makefile: Add rules to run tst-unused-dep.out.
14609
8847f037
DM
146102012-02-28 David S. Miller <davem@davemloft.net>
14611
14612 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14613 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14614 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14615 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14616 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14617 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14618
169d7f11
JM
146192012-02-29 Joseph Myers <joseph@codesourcery.com>
14620
14621 * math/libm-test.inc (llround_test): Move one test from
14622 lround_test. Use TEST_f_L in moved test.
14623 (lround_test): Move misplaced test to llround_test. Add testcase
14624 from bug 2561.
14625
39adf059
UD
146262012-02-28 Ulrich Drepper <drepper@gmail.com>
14627
14628 * sysdeps/x86_64/fpu/e_expf.S: New file.
14629 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14630
71b5d1c5
SB
146312012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14632
14633 [BZ #13637]
14634 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14635 of remain_len that may cause incomplete multi-byte character and
14636 false match.
14637 * posix/bug-regex33.c: New file.
14638 * posix/Makefile (tests): Add bug-regex33.
14639
1f77f049
JM
146402012-02-28 Joseph Myers <joseph@codesourcery.com>
14641
14642 * manual/macros.texi: New file.
14643 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14644 * manual/libc.texinfo: Include macros.texi.
14645 * manual/creatute.texi: Likewise.
14646 * manual/install.texi: Likewise.
14647 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14648 @glibcadj{} in references to the GNU C Library.
14649 * manual/charset.texi: Likewise.
14650 * manual/conf.texi: Likewise.
14651 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14652 when not using those macros.
14653 * manual/creature.texi: Likewise.
14654 * manual/crypt.texi: Likewise.
14655 * manual/errno.texi: Likewise.
14656 * manual/filesys.texi: Likewise.
14657 * manual/header.texi: Likewise.
14658 * manual/install.texi: Likewise.
14659 * manual/intro.texi: Likewise.
14660 * manual/io.texi: Likewise.
14661 * manual/job.texi: Likewise.
14662 * manual/lang.texi: Likewise.
14663 * manual/libc.texiinfo: Likewise.
14664 * manual/llio.texi: Likewise.
14665 * manual/locale.texi: Likewise.
14666 * manual/maint.texi: Likewise.
14667 * manual/math.texi: Likewise.
14668 * manual/memory.texi: Likewise.
14669 * manual/message.texi: Likewise.
14670 * manual/nss.texi: Likewise.
14671 * manual/pattern.texi: Likewise.
14672 * manual/process.texi: Likewise.
14673 * manual/resource.texi: Likewise.
14674 * manual/search.texi: Likewise.
14675 * manual/setjmp.texi: Likewise.
14676 * manual/signal.texi: Likewise.
14677 * manual/socket.texi: Likewise.
14678 * manual/startup.texi: Likewise.
14679 * manual/stdio.texi: Likewise.
14680 * manual/string.texi: Likewise.
14681 * manual/sysinfo.texi: Likewise.
14682 * manual/syslog.texi: Likewise.
14683 * manual/terminal.texi: Likewise.
14684 * manual/time.texi: Likewise.
14685 * manual/users.texi: Likewise.
14686 * INSTALL: Regenerated.
14687 * NOTES: Regenerated.
d40c5d54 14688 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 14689
450bf206
AS
146902012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14691
14692 * include/dirent.h: Include <dirstream.h> before
14693 <dirent/dirent.h>.
14694
741a235b
DM
146952012-02-28 David S. Miller <davem@davemloft.net>
14696
14697 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14698 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14699 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14700 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14701
d6b5aa58
DM
147022012-02-27 David S. Miller <davem@davemloft.net>
14703
1aff59a3
DM
14704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14706 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14707 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14708
d6b5aa58
DM
14709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14710 frame pointer instead of stack pointer relative arg slot.
14711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14712 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14713 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14714
433f48bf
CD
147152012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14716
14717 [BZ #3992]
14718 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14719
d674b76d
DM
147202012-02-27 David S. Miller <davem@davemloft.net>
14721
14722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14726 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14727 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14728 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14729 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14730
0e7727f7
JM
147312012-02-27 Joseph Myers <joseph@codesourcery.com>
14732
14733 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14734 later. Allow versions 5-9.
43be4ca2 14735 * configure: Regenerated.
0e7727f7
JM
14736 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14737 required minimum version and 4.6 as recommended version. Do not
14738 mention bugs in GCC 2.7 and 2.8.
43be4ca2 14739 * INSTALL: Regenerated.
0e7727f7 14740
a78bc654
DM
147412012-02-27 David S. Miller <davem@davemloft.net>
14742
428d5830
DM
14743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14747 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14748 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14749 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14750 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14751
a78bc654
DM
14752 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14753 manipulate bits before adding and subtracting TWO112[sx].
14754 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14755
4579f81c
RM
147562012-02-27 Roland McGrath <roland@hack.frob.com>
14757
36c8acb4
RM
14758 [BZ #13775]
14759 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14760 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14761 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14762 being in POSIX, because they are in 1003.1-2008.
14763
84ad622b
RM
14764 * rt/tst-aio.c: Include <fcntl.h>.
14765 * rt/tst-aio7.c: Likewise.
14766 * rt/tst-aio64.c: Likewise.
14767
4579f81c
RM
14768 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14769
abd923db
JM
147702012-02-27 Joseph Myers <joseph@codesourcery.com>
14771
14772 * manual/install.texi (--with-headers): Describe headers as
14773 interface headers, not private headers.
14774 (Specific advice for GNU/Linux systems): Describe use of headers
14775 from "make headers_install", not private headers from older
14776 kernels.
43be4ca2 14777 * INSTALL: Regenerated.
abd923db
JM
14778 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14779 Change to 2.6.19.
14780 * sysdeps/unix/sysv/linux/configure: Regenerated.
14781
6664049b
JM
14782 * manual/llio.texi (fclean): Remove documentation.
14783
bb8b6697
JM
14784 * manual/Makefile (libc-texi-generated): New variable. Include
14785 version.texi.
14786 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14787 $(libc-texi-generated), not duplicated list of files.
14788 (version.texi, stamp-version): New rules.
14789 (realclean): Remove $(libc-texi-generated), not individual files
14790 from that list. Do not remove dir-add.texinfo.
14791 * manual/libc.texinfo: Comment out uses of edition numbers and
14792 references to printed manual. Remove last-updated dates.
14793 (EDITION): Comment out.
14794 (ISBN): Likewise.
14795 (VERSION, UPDATED): Remove.
14796 (version.texi): Include.
14797
12e5c3b9
AS
147982012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14799
14800 * sysdeps/posix/spawni.c: Include <signal.h>.
14801 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14802 * sysdeps/pthread/aio_fsync.c: Likewise.
14803
4efeffc1 148042012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 14805
ba63ba08
UD
14806 * conform/Makefile (tests): Run only when not cross-compiling and
14807 when fast-check is not defined.
14808
d94a4670
UD
14809 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14810 * conform/data/limits.h-data: Fixes for POSIX2008.
14811 * conform/run-conformtest.sh: Run all tests.
14812 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14813 headers.
14814 * include/bits/dlfcn.h: Likewise.
14815 * include/langinfo.h: Likewise.
14816 * include/monetary.h: Likewise.
14817 * include/sys/poll.h: Likewise.
14818
14819 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14820 for __USE_GNU.
14821 * posix/spawn.h: Define __need_sigset_t.
14822 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14823 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14824 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14825 to get sigevent_t only.
14826 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14827 only for __USE_GNU.
14828 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14829 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14830 process_vm_writev only for __USE_GNU.
14831 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
14832
14833 * conform/Makefile: For now ignore errors from run-conformtest.
14834 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14835 POSIX to avoid namespace pollution. Don't prepend headers.
14836 * conform/data/aio.h-data: Fixes for POSIX testing.
14837 * conform/data/fcntl.h-data: Likewise.
14838 * conform/data/glob.h-data: Likewise.
14839 * conform/data/grp.h-data: Likewise.
14840 * conform/data/pthread.h-data: Likewise.
14841 * conform/data/pwd.h-data: Likewise.
14842 * conform/data/signal.h-data: Likewise.
14843 * conform/data/spawn.h-data: Likewise.
14844 * conform/data/stdio.h-data: Likewise.
14845 * conform/data/stdlib.h-data: Likewise.
14846 * conform/data/stropts.h-data: Likewise.
14847 * conform/data/sys/mman.h-data: Likewise.
14848 * conform/data/sys/stat.h-data: Likewise.
14849 * conform/data/sys/types.h-data: Likewise.
14850 * conform/data/sys/wait.h-data: Likewise.
14851 * conform/data/time.h-data: Likewise.
14852 * conform/data/unistd.h-data: Likewise.
14853 * conform/data/utime.h-data: Likewise.
14854
14855 * io/sys/stat.h: fchmod was always in POSIX.
14856 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14857 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14858 * rt/aio.h: Define __need_timespec before including <time.h>.
14859 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14860 struct. Add forward declaration of pthread_attr_t and use it in
14861 sigevent.
14862 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14863 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14864 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14865 always remove CLK_TCK definition.
14866
c20105c3
AS
148672012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14868
14869 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14870
7a270350
UD
148712012-02-25 Ulrich Drepper <drepper@gmail.com>
14872
31341567
UD
14873 * conform/run-conformtest.sh: New file.
14874 * conform/Makefile: Run run-conformtest for tests.
14875 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14876 support.
14877
14878 * conform/data/uchar.h-data: New file.
14879 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14880 * conform/data/arpa/inet.h-data: Likewise.
14881 * conform/data/assert.h-data: Likewise.
14882 * conform/data/complex.h-data: Likewise.
14883 * conform/data/cpio.h-data: Likewise.
14884 * conform/data/ctype.h-data: Likewise.
14885 * conform/data/dirent.h-data: Likewise.
14886 * conform/data/dlfcn.h-data: Likewise.
14887 * conform/data/errno.h-data: Likewise.
14888 * conform/data/fcntl.h-data: Likewise.
14889 * conform/data/float.h-data: Likewise.
14890 * conform/data/fmtmsg.h-data: Likewise.
14891 * conform/data/fnmatch.h-data: Likewise.
14892 * conform/data/ftw.h-data: Likewise.
14893 * conform/data/glob.h-data: Likewise.
14894 * conform/data/grp.h-data: Likewise.
14895 * conform/data/iconv.h-data: Likewise.
14896 * conform/data/inttypes.h-data: Likewise.
14897 * conform/data/langinfo.h-data: Likewise.
14898 * conform/data/libgen.h-data: Likewise.
14899 * conform/data/limits.h-data: Likewise.
14900 * conform/data/locale.h-data: Likewise.
14901 * conform/data/math.h-data: Likewise.
14902 * conform/data/monetary.h-data: Likewise.
14903 * conform/data/mqueue.h-data: Likewise.
14904 * conform/data/ndbm.h-data: Likewise.
14905 * conform/data/net/if.h-data: Likewise.
14906 * conform/data/netdb.h-data: Likewise.
14907 * conform/data/netinet/in.h-data: Likewise.
14908 * conform/data/nl_types.h-data: Likewise.
14909 * conform/data/poll.h-data: Likewise.
14910 * conform/data/pthread.h-data: Likewise.
14911 * conform/data/pwd.h-data: Likewise.
14912 * conform/data/regex.h-data: Likewise.
14913 * conform/data/sched.h-data: Likewise.
14914 * conform/data/search.h-data: Likewise.
14915 * conform/data/semaphore.h-data: Likewise.
14916 * conform/data/setjmp.h-data: Likewise.
14917 * conform/data/signal.h-data: Likewise.
14918 * conform/data/spawn.h-data: Likewise.
14919 * conform/data/stdarg.h-data: Likewise.
14920 * conform/data/stdio.h-data: Likewise.
14921 * conform/data/stdlib.h-data: Likewise.
14922 * conform/data/string.h-data: Likewise.
14923 * conform/data/strings.h-data: Likewise.
14924 * conform/data/stropts.h-data: Likewise.
14925 * conform/data/sys/ipc.h-data: Likewise.
14926 * conform/data/sys/mman.h-data: Likewise.
14927 * conform/data/sys/msg.h-data: Likewise.
14928 * conform/data/sys/resource.h-data: Likewise.
14929 * conform/data/sys/select.h-data: Likewise.
14930 * conform/data/sys/sem.h-data: Likewise.
14931 * conform/data/sys/shm.h-data: Likewise.
14932 * conform/data/sys/socket.h-data: Likewise.
14933 * conform/data/sys/stat.h-data: Likewise.
14934 * conform/data/sys/statvfs.h-data: Likewise.
14935 * conform/data/sys/time.h-data: Likewise.
14936 * conform/data/sys/timeb.h-data: Likewise.
14937 * conform/data/sys/times.h-data: Likewise.
14938 * conform/data/sys/types.h-data: Likewise.
14939 * conform/data/sys/uio.h-data: Likewise.
14940 * conform/data/sys/un.h-data: Likewise.
14941 * conform/data/sys/utsname.h-data: Likewise.
14942 * conform/data/sys/wait.h-data: Likewise.
14943 * conform/data/syslog.h-data: Likewise.
14944 * conform/data/tar.h-data: Likewise.
14945 * conform/data/termios.h-data: Likewise.
14946 * conform/data/utime.h-data: Likewise.
14947 * conform/data/utmpx.h-data: Likewise.
14948 * conform/data/varargs.h-data: Likewise.
14949 * conform/data/wchar.h-data: Likewise.
14950 * conform/data/wctype.h-data: Likewise.
14951 * conform/data/wordexp.h-data: Likewise.
14952
14953 * include/stropts.h: New file.
14954 * include/uchar.h: New file.
14955 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14956 * include/assert.h: Likewise.
14957 * include/ctype.h: Likewise.
14958 * include/dirent.h: Likewise.
14959 * include/dlfcn.h: Likewise.
14960 * include/fcntl.h: Likewise.
14961 * include/fnmatch.h: Likewise.
14962 * include/glob.h: Likewise.
14963 * include/grp.h: Likewise.
14964 * include/libio.h: Likewise.
14965 * include/locale.h: Likewise.
14966 * include/math.h: Likewise.
14967 * include/net/if.h: Likewise.
14968 * include/netdb.h: Likewise.
14969 * include/netinet/in.h: Likewise.
14970 * include/pthread.h: Likewise.
14971 * include/pwd.h: Likewise.
14972 * include/regex.h: Likewise.
14973 * include/sched.h: Likewise.
14974 * include/search.h: Likewise.
14975 * include/setjmp.h: Likewise.
14976 * include/signal.h: Likewise.
14977 * include/stdio.h: Likewise.
14978 * include/stdlib.h: Likewise.
14979 * include/string.h: Likewise.
14980 * include/sys/cdefs.h: Likewise.
14981 * include/sys/mman.h: Likewise.
14982 * include/sys/msg.h: Likewise.
14983 * include/sys/resource.h: Likewise.
14984 * include/sys/select.h: Likewise.
14985 * include/sys/socket.h: Likewise.
14986 * include/sys/stat.h: Likewise.
14987 * include/sys/statvfs.h: Likewise.
14988 * include/sys/time.h: Likewise.
14989 * include/sys/times.h: Likewise.
14990 * include/sys/uio.h: Likewise.
14991 * include/sys/utsname.h: Likewise.
14992 * include/sys/wait.h: Likewise.
14993 * include/termios.h: Likewise.
14994 * include/time.h: Likewise.
14995 * include/ulimit.h: Likewise.
14996 * include/unistd.h: Likewise.
14997 * include/utime.h: Likewise.
14998 * include/wchar.h: Likewise.
14999 * include/wctype.h: Likewise.
15000 * include/wordexp.h: Likewise.
15001
15002 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15003
7a270350
UD
15004 * time/time.h: TIME_UTC must be a macro.
15005 Make timespec_get available for ISO C11 only as well.
15006
7724defc
UD
150072012-02-24 Ulrich Drepper <drepper@gmail.com>
15008
15009 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15010 Reported by Peng Haitao <penght@cn.fujitsu.com>.
15011
6b1d1d46
JM
150122012-02-24 Joseph Myers <joseph@codesourcery.com>
15013
15014 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 15015
0f8bbd69
JM
150162012-02-24 Joseph Myers <joseph@codesourcery.com>
15017
15018 * manual/texinfo.tex: Update to version 2012-01-19.16.
15019
66ab80bc
JM
150202012-02-24 Joseph Myers <joseph@codesourcery.com>
15021
15022 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15023
74981cc5
RM
150242012-02-24 Roland McGrath <roland@hack.frob.com>
15025
ee968201
RM
15026 [BZ #13738]
15027 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15028 * manual/fdl-1.3.texi: New file.
15029 * manual/fdl-1.1.texi: File removed.
15030
74981cc5
RM
15031 [BZ #13738]
15032 * manual/libc.texinfo (FDL_VERSION): New @set.
15033 Use it for mention of FDL in cover text.
15034 (Documentation License): Use it in @include file name.
15035
7bb764bc
JM
150362012-02-22 Joseph Myers <joseph@codesourcery.com>
15037 Roland McGrath <roland@hack.frob.com>
15038
15039 [BZ #5461]
15040 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15041 not LONG_LONG_MAX and LONG_LONG_MIN.
15042 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15043 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
15044 name.
15045 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15046
6cbeae47
JM
150472012-02-22 Joseph Myers <joseph@codesourcery.com>
15048
15049 [BZ #2547]
15050 [BZ #11365]
15051 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15052 manipulate bits before adding and subtracting TWO23[sx].
15053 * math/libm-test.inc (nearbyint_test): Add more tests.
15054
fe45ce09
JM
150552012-02-22 Joseph Myers <joseph@codesourcery.com>
15056
15057 [BZ #2548]
15058 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15059 bits before adding and subtracting TWO23[sx].
15060 * math/libm-test.inc (rint_test): Add more tests.
15061 (rint_test_tonearest): Likewise.
15062 (rint_test_towardzero): Likewise.
15063 (rint_test_downward): Likewise.
15064 (rint_test_upward: Likewise.
15065
ff3b3d82
JM
150662012-02-22 Joseph Myers <joseph@codesourcery.com>
15067
15068 [BZ #10110]
15069 * include/stdc-predef.h: New file. Extracted from features.h.
15070 * include/features.h: Include stdc-predef.h.
15071 * Makefile (headers): Add stdc-predef.h.
15072 * CONFORMANCE (Compiler limitations): Update.
15073
ef0aab35
JM
150742012-02-22 Joseph Myers <joseph@codesourcery.com>
15075
15076 * manual/libc.texinfo (VERSION, UPDATED): Revert.
15077
58639409
DM
150782012-02-21 David S. Miller <davem@davemloft.net>
15079
15080 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15081 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15082
c0e70b25
DM
150832012-02-20 David S. Miller <davem@davemloft.net>
15084
15085 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15086 using a normal save/restore sequence, rather than allocating a
15087 dummy stack frame just to store a frame pointer and restore.
15088 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15089
fb06851d
JM
150902012-02-21 Joseph Myers <joseph@codesourcery.com>
15091
15092 * manual/install.texi: Fix stray word in line-wrapped comment.
15093
7a8b71c3
DM
150942012-02-20 David S. Miller <davem@davemloft.net>
15095
d510c123
DM
15096 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15097 both binutils and gcc support GOTDATA.
15098
0722d7c2
DM
15099 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15100 "rd %pc" in the PIC register setup sequences.
15101
3d2b3019
DM
15102 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15103 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15104 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15105 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15106 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15107 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15108 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15109 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15110 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15111 (SYSCALL_ERROR_HANDLER): Likewise.
15112 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15113 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15114 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15115 (SYSCALL_ERROR_HANDLER): Likewise.
15116
c80098a9
DM
15117 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15118 (HAVE_GCC_GOTDATA): New.
15119 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15120 relocation support in both binutils and gcc.
15121 * sysdeps/sparc/elf/configure: Regenerate.
15122
3a2545a0
DM
15123 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15124 * sysdeps/sparc/sparc32/elf/configure: Delete.
15125 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15126 * sysdeps/sparc/sparc64/elf/configure: Delete.
15127 * sysdeps/sparc/elf/configure.in: New file.
15128 * sysdeps/sparc/elf/configure: Generate.
15129
7a8b71c3
DM
15130 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15131 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15132 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15133 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15134 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15135
f1e86fca
JM
151362012-02-21 Joseph Myers <joseph@codesourcery.com>
15137
15138 * manual/install.texi: Do not mention specific glibc version
15139 numbers.
15140 * manual/libc.texinfo (VERSION, UPDATED): Update.
15141 (@copying): Use @copyright{} and range of years.
15142
0e7dfaef
JM
151432012-02-21 Joseph Myers <joseph@codesourcery.com>
15144
15145 [BZ #13695]
15146 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15147 [crti.S not in sysdirs] (generated): Do not append.
15148 [crti.S not in sysdirs] (omit-deps): Likewise.
15149 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15150 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15151 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15152 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15153 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15154 Likewise.
15155 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15156 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15157 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15158 * csu/defs.awk: Remove file.
15159 * sysdeps/generic/initfini.c: Likewise.
15160 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15161 variable.
15162 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15163 Likewise.
15164
599af3ca
JM
151652012-02-20 Joseph Myers <joseph@codesourcery.com>
15166
15167 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15168 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15169 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15170 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15171 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15172 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15173 <bits/epoll.h>.
15174 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15175 (__EPOLL_PACKED): Define to empty if not defined by
15176 <bits/epoll.h>.
15177 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15178 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15179 bits/epoll.h.
15180
0e499750
JM
151812012-02-20 Joseph Myers <joseph@codesourcery.com>
15182
15183 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15184 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15185 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15186 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15187 <bits/timerfd.h>.
15188 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15189 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15190 bits/timerfd.h.
15191
5ad91f6e
JM
151922012-02-20 Joseph Myers <joseph@codesourcery.com>
15193
15194 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15195 in C locale.
15196 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15197 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15198 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15200
06b99b02
AJ
152012012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15202
15203 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15204 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15205
7638c0fd
AS
152062012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15207
15208 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15209 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15210 defined.
15211 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15212 Likewise.
15213 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15214 entry for 2.16.
15215
92221550
AJ
152162012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15217
15218 * math/w_acos.c: Use non-signaling floating-point comparisons.
15219 * math/w_acosf.c: Likewise.
15220 * math/w_acosh.c: Likewise.
15221 * math/w_acoshf.c: Likewise.
15222 * math/w_acoshl.c: Likewise.
15223 * math/w_acosl.c: Likewise.
15224 * math/w_asin.c: Likewise.
15225 * math/w_asinf.c: Likewise.
15226 * math/w_asinl.c: Likewise.
15227 * math/w_atanh.c: Likewise.
15228 * math/w_atanhf.c: Likewise.
15229 * math/w_atanhl.c: Likewise.
15230 * math/w_exp2.c: Likewise.
15231 * math/w_exp2f.c: Likewise.
15232 * math/w_exp2l.c: Likewise.
15233 * math/w_j0.c: Likewise.
15234 * math/w_j0f.c: Likewise.
15235 * math/w_j0l.c: Likewise.
15236 * math/w_j1.c: Likewise.
15237 * math/w_j1f.c: Likewise.
15238 * math/w_j1l.c: Likewise.
15239 * math/w_jn.c: Likewise.
15240 * math/w_jnf.c: Likewise.
15241 * math/w_log.c: Likewise.
15242 * math/w_log10.c: Likewise.
15243 * math/w_log10f.c: Likewise.
15244 * math/w_log10l.c: Likewise.
15245 * math/w_log2.c: Likewise.
15246 * math/w_log2f.c: Likewise.
15247 * math/w_log2l.c: Likewise.
15248 * math/w_logf.c: Likewise.
15249 * math/w_logl.c: Likewise.
15250 * math/w_sqrt.c: Likewise.
15251 * math/w_sqrtf.c: Likewise.
15252 * math/w_sqrtl.c: Likewise.
15253 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15254 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15255 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15256 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15257 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15258
ebaf36eb
JM
152592012-02-19 Joseph Myers <joseph@codesourcery.com>
15260
15261 [BZ #9739]
15262 * manual/string.texi (strnlen): Use correct parameter name in
15263 equivalent expression.
15264
71c254a6
JM
152652012-02-19 Joseph Myers <joseph@codesourcery.com>
15266
15267 [BZ #11174]
15268 * manual/users.texi (seteuid): Consistently use neweuid for
15269 argument name.
15270
16d2c631
JM
152712012-02-19 Joseph Myers <joseph@codesourcery.com>
15272
15273 [BZ #13704]
15274 * manual/nss.texi (Services in the NSS configuration): Correct
15275 list of services in example configuration file.
15276
cd837b09
NB
152772012-02-19 Nick Bowler <nbowler@draconx.ca>
15278
15279 [BZ #11322]
15280 * manual/arith.texi: Remove statements about negative zero
15281 behaving identically to zero.
15282
02c4bbad
JM
152832012-02-18 Joseph Myers <joseph@codesourcery.com>
15284
15285 [BZ #5993]
15286 * manual/install.texi: Do not document upgrading from libc5.
15287
366842e7
JM
152882012-02-18 Joseph Myers <joseph@codesourcery.com>
15289
15290 [BZ #4596]
15291 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15292
dd54084d
DM
152932012-02-18 David S. Miller <davem@davemloft.net>
15294
15295 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15296 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15297 %o7 across the call.
15298 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15299 instead.
15300 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15301 SETUP_PIC_REG_LEAF.
15302 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15303 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15304 * sysdeps/sparc/crtn.S: Likewise.
15305
2bcc53a3
UD
153062012-02-17 Ulrich Drepper <drepper@gmail.com>
15307
15308 * aout/Makefile: Remove.
15309
09c093b5
RK
153102012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15311
15312 [BZ #13058]
15313 * manual/examples/argp-ex1.c (main): Format definition in GNU
15314 style.
15315 * manual/examples/argp-ex2.c (main): Likewise.
15316 * manual/examples/argp-ex3.c (main): Likewise.
15317 * manual/examples/argp-ex4.c (main): Likewise.
15318 * manual/examples/longopt.c (main): Use new-style prototype
15319 definition.
15320 * manual/examples/strncat.c (main): Specify return type and use
15321 (void) for arguments.
15322 * manual/examples/subopt.c (main): Use char **argv argument.
15323
2ee633a2
JM
153242012-02-17 Joseph Myers <joseph@codesourcery.com>
15325
15326 [BZ #5077]
15327 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15328 rounding modes.
15329
0520adde
FB
153302012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15331
15332 [BZ #6907]
15333 * manual/string.texi (strchr): Change when strchrnul is
15334 recommended.
15335
3f4081cd
DGM
153362012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15337
15338 [BZ #174]
15339 * manual/locale.texi (setlocale): Document LOCPATH.
15340
d1b10e78
JM
153412012-02-17 Joseph Myers <joseph@codesourcery.com>
15342
15343 [BZ #10210]
15344 * manual/process.texi (execle): Move @dots{} before last argument.
15345
79c6869c
PB
153462012-02-17 Paul Bolle <pebolle@tiscali.nl>
15347
15348 [BZ #12047]
15349 * manual/charset.texi (Generic Charset Conversion): Fix typo
15350 (LC_TYPE -> LC_CTYPE).
15351
cc6e48bc
NB
153522012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15353
15354 [BZ #5805]
15355 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15356 (scalbnf): Likewise.
15357 (scalbnl): Likewise.
15358 (scalbln): Likewise.
15359 (scalblnf): Likewise.
15360 (scalblnl): Likewise.
15361 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15362 (vwarnx): Likewise.
15363 (verr): Likewise.
15364 (verrx): Likewise.
15365 * manual/filesys.texi (telldir): Use braces around return type.
15366 * manual/llio.texi (mmap): Add space after comma.
15367 (mmap64): Likewise.
15368 * manual/math.texi (jn): Use @var{} on parameter names.
15369 (jnf): Likewise.
15370 (jnl): Likewise.
15371 (yn): Likewise.
15372 (ynf): Likewise.
15373 (ynl): Likewise.
15374 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15375 line.
15376 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15377 "...".
15378 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15379 (sched_get_priority_max): Likewise.
15380 * manual/signal.texi (sigvec): Add space after comma.
15381 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15382 names.
15383 (if_indextoname): Likewise.
15384 (if_freenameindex): Likewise.
15385 (sendto): Use ',' instead of '.' in prototype.
15386 * manual/startup.texi (syscall): Use @dots{} instead of literal
15387 "...".
15388 * manual/stdio.texi (__fpending): Separate initial words of
15389 paragraph from @deftypefun line.
15390 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15391 "...".
15392 (vsyslog): Use @var{} on parameter names.
15393 * manual/terminal.texi (stty): Use @var{} on parameter names.
15394 * manual/users.texi (getutmp): Use @var{} on parameter names.
15395 (getutmpx): Likewise.
15396
5b23062f
JM
153972012-02-17 Joseph Myers <joseph@codesourcery.com>
15398
15399 [BZ #6884]
15400 * manual/stdio.texi (fopen): Fix typos in description of
15401 ",ccs=STRING".
15402
8dee4833
AJ
154032012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15404
15405 [BZ #4026]
15406 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15407 get clock_id definition.
15408
9078ce93
TS
154092012-02-17 Thomas Schwinge <thomas@schwinge.name>
15410
15411 [BZ #4822]
15412 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15413 (madvise): Cast every argument to void on its own.
15414
3835c55f
JM
154152012-02-17 Joseph Myers <joseph@codesourcery.com>
15416
15417 [BZ #9902]
15418 * manual/startup.texi (Exit Status): Fix typo.
15419
35c47e37
JM
154202012-02-17 Joseph Myers <joseph@codesourcery.com>
15421
15422 [BZ #10140]
15423 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15424 * manual/examples/argp-ex2.c: Likewise.
15425 * manual/examples/argp-ex3.c: Likewise.
15426
e3b69ca7
RH
154272012-02-16 Richard Henderson <rth@redhat.com>
15428
15429 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15430 * sysdeps/s390/s390-32/initfini.c: Remove.
15431 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15432 * sysdeps/s390/s390-64/initfini.c: Remove.
15433
df83af67
KK
154342012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15435
15436 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15437 compiler output for sysdeps/generic/initfini.c.
15438 * sysdeps/sh/elf/initfini.c: Remove file.
15439
f63f3380
DM
154402012-02-16 David S. Miller <davem@davemloft.net>
15441
fb59b3a4
DM
15442 [BZ #11494]
15443 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15444
f63f3380
DM
15445 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15446 * sysdeps/sparc/crti.S: New file.
15447 * sysdeps/sparc/crtn.S: New file.
15448 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15449 * sysdeps/sparc/sparc64/Makefile: Likewise.
15450
df6a4a4a
MF
154512012-02-15 Mike Frysinger <vapier@gentoo.org>
15452
6dd8f3dc 15453 [BZ #3335]
df6a4a4a
MF
15454 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15455
1cac7236
RM
154562012-02-15 Roland McGrath <roland@hack.frob.com>
15457
d2c736f8
RM
15458 [BZ #4822]
15459 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15460
1cac7236
RM
15461 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15462 (write, read, close): Likewise.
15463 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15464
8e475601
JM
154652012-02-15 Joseph Myers <joseph@codesourcery.com>
15466
15467 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15468 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15469 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15470 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15471 <bits/signalfd.h>.
15472 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15473 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15474 bits/signalfd.h.
15475
ed656b40
MP
154762012-02-14 Marek Polacek <polacek@redhat.com>
15477
15478 * sysdeps/x86_64/crti.S: New file.
15479 * sysdeps/x86_64/crtn.S: New file.
15480 * sysdeps/x86_64/elf/initfini.c: Remove file.
15481
2a979d3a
JM
154822012-02-13 Joseph Myers <joseph@codesourcery.com>
15483
15484 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15485 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15486 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15487 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15488 <bits/inotify.h>.
15489 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15490 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15491 bits/inotify.h.
15492
2a418ac3
JM
154932012-02-13 Joseph Myers <joseph@codesourcery.com>
15494
15495 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15496 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15497 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15498 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15499 <bits/eventfd.h>.
15500 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15501 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15502 bits/eventfd.h.
15503
fb779be7
TS
155042012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15505
e19e83c5
RM
15506 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15507 __feraiseexcept instead of feraiseexcept.
7c35ffed 15508
fb779be7
TS
15509 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15510 nanosleep invocations.
15511 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15512 strings, and add error checking for a nanosleep invocations.
15513
59ba27a6
PE
155142012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15515
15516 Replace FSF snail mail address with URLs, as per GNU coding standards.
15517 Most of the snail mail addresses were wrong anyway, and omitting
15518 them makes the source code easier to maintain. Almost all of the
15519 changes are to license notices and to locale LC_IDENTIFICATION
15520 addresses, except for this one:
15521 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15522 not its snail mail address.
15523
57b957eb
RH
155242012-02-09 Richard Henderson <rth@twiddle.net>
15525
af850b1c
RH
15526 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15527 of kernel-features.h.
15528
57b957eb
RH
15529 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15530
6b73181a
MP
155312012-02-08 Marek Polacek <polacek@redhat.com>
15532
15533 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15534 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15535 * sysdeps/gnu/_G_config.h: Likewise.
15536 * sysdeps/generic/_G_config.h: Likewise.
15537
26ecc33a
AS
155382012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15539
6c6dbc63
AS
15540 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15541 tests.
15542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15543
e216c012
AS
15544 * sysdeps/powerpc/powerpc32/crti.S: New file.
15545 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15546 * sysdeps/powerpc/powerpc64/crti.S: New file.
15547 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15548
26ecc33a
AS
15549 * Makeconfig (have-initfini): Don't set.
15550 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15551 * configure.in (nopic_initfini): Don't substitute.
15552 * config.h.in (HAVE_INITFINI): Don't #undef.
15553 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15554 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15555
3add8e13
JM
155562012-02-08 Joseph Myers <joseph@codesourcery.com>
15557
15558 Support crti.S and crtn.S provided directly by architectures.
15559 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15560 [crti.S in sysdirs] (omit-deps): Likewise.
15561 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15562 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15563 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15564 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15565 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15566 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15567 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15568 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15569 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15570 compiler output for sysdeps/generic/initfini.c.
15571 * sysdeps/i386/elf/Makefile: Remove file.
15572 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15573
a22f12b4
MP
155742012-02-07 Marek Polacek <polacek@redhat.com>
15575
15576 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15577 * sysdeps/gnu/_G_config.h: Likewise.
15578 * sysdeps/mach/hurd/_G_config.h: Likewise.
15579
148cf100
MP
155802012-02-07 Marek Polacek <polacek@redhat.com>
15581
15582 * math/Makefile (tests): Add tst-CMPLX2.
15583 * math/tst-CMPLX2.c: New file.
15584
cfdc0dd7
AS
155852012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15586
84ba42c4
AS
15587 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15588
cfdc0dd7
AS
15589 * math/libm-test.inc (jn_test): Add missing L suffix.
15590
622c86f4
MP
155912012-02-06 Marek Polacek <polacek@redhat.com>
15592
15593 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15594 * sysdeps/i386/fpu/e_powf.S: Likewise.
15595 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15596 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15597 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15598 * sysdeps/i386/fpu/e_pow.S: Likewise.
15599 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15600 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15601 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15602 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15603 * sysdeps/i386/fpu/e_log2.S: Likewise.
15604 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15605 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15606 * sysdeps/i386/fpu/e_powl.S: Likewise.
15607 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15608 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15609 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15610 * sysdeps/i386/fpu/e_logl.S: Likewise.
15611 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15612 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15613 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15614 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15615 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15616 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15617 * sysdeps/i386/fpu/e_log.S: Likewise.
15618 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15619 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15620 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15621 * sysdeps/i386/fpu/e_logf.S: Likewise.
15622 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15623 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15624 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15625 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15626 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15627 * sysdeps/i386/fpu/e_log10.S: Likewise.
15628 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15629 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15630 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15631 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15632 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15633 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15634 * sysdeps/i386/asm-syntax.h: Likewise.
15635 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15636 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15637 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15638 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15639 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15640 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15641 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15642 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15643 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15644 * sysdeps/powerpc/sysdep.h: Likewise.
15645 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15646 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15647
d4a54ac6
JM
156482012-02-06 Joseph Myers <joseph@codesourcery.com>
15649
15650 [BZ #411]
15651 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15652
314054ea
JM
156532012-02-06 Joseph Myers <joseph@codesourcery.com>
15654
15655 * sysdeps/i386/sysdep.h: Include <features.h>.
15656 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15657 version.
15658
d8e0ca50
JM
156592012-02-05 Joseph Myers <joseph@codesourcery.com>
15660
15661 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15662 Define.
15663 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15664 LOAD_PIC_REG_STR.
15665
b1da7dd9
JM
156662012-02-03 Joseph Myers <joseph@codesourcery.com>
15667
15668 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15669 (SETUP_PIC_REG): Use GET_PC_THUNK.
15670 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15671 macro.
15672
9a1d9254
JM
156732012-02-03 Joseph Myers <joseph@codesourcery.com>
15674
15675 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15676 for non-PIC compilation.
15677 (SETUP_PIC_REG): Add .p2align directive.
15678 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15679 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15680 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15681 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15682 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15683 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15684 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15685 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15686 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15687 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15688 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15689 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15690 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15691 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15692 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15693 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15694 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15695 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15696 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15697 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15698 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15699 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15700 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15701 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15702 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15703 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15704 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15705 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15706 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15707 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15708 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15709 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15710 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15711 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15712 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15713 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15714 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15715 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15716 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15717 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15718 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15719
65dc3b75
JM
157202012-02-03 Joseph Myers <joseph@codesourcery.com>
15721
15722 * math/tst-CMPLX.c: Include <stdio.h>.
15723
d55bf177
JM
157242012-01-31 Joseph Myers <joseph@codesourcery.com>
15725
15726 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15727 float.
15728 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15729 * sysdeps/sparc/bits/mathdef.h: Likewise.
15730
69db4f8f
MP
157312012-01-31 Marek Polacek <polacek@redhat.com>
15732
15733 * libio/libio.h: Don't define _PARAMS.
15734 * locale/programs/config.h: Don't define PARAMS.
15735 * stdlib/strtol_l.c: Likewise.
15736 (__strtol_l): Remove PARAMS from the prototype.
15737
41b81892
UD
157382012-01-31 Ulrich Drepper <drepper@gmail.com>
15739
3b49edc0
UD
15740 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15741 names. Just use the correct names. Remove unnecessary wrapper
15742 functions.
15743 * malloc/arena.c: Likewise.
15744 * malloc/hooks.c: Likewise.
15745
41b81892
UD
15746 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15747 ARENA_TEST says not to. Simplify test for creation of a new arena.
15748 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15749
27a25b6e
UD
157502012-01-30 Ulrich Drepper <drepper@gmail.com>
15751
15752 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15753 into tail calls.
15754 (update_get_addr): New function.
15755 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15756 GET_ADDR_MODULE parameter.
15757
c8a89e7d
JM
157582012-01-30 Joseph Myers <joseph@codesourcery.com>
15759
15760 * crypt/cert.c: Remove __STDC__ conditionals.
15761 * crypt/crypt-entry.c: Likewise.
15762 * crypt/crypt_util.c: Likewise.
15763 * libio/filedoalloc.c: Likewise.
15764 * libio/fileops.c: Likewise.
15765 * libio/genops.c: Likewise.
15766 * libio/iofclose.c: Likewise.
15767 * libio/iofdopen.c: Likewise.
15768 * libio/iofopen.c: Likewise.
15769 * libio/iofopen64.c: Likewise.
15770 * libio/iogetdelim.c: Likewise.
15771 * libio/iopopen.c: Likewise.
15772 * libio/obprintf.c: Likewise.
15773 * libio/oldfileops.c: Likewise.
15774 * libio/oldiofclose.c: Likewise.
15775 * libio/oldiofdopen.c: Likewise.
15776 * libio/oldiofopen.c: Likewise.
15777 * libio/oldiopopen.c: Likewise.
15778 * libio/wfiledoalloc.c: Likewise.
15779 * libio/wgenops.c: Likewise.
15780 * locale/programs/xmalloc.c: Likewise.
15781 * misc/syslog.c: Likewise.
15782 * stdio-common/xbug.c: Likewise.
15783 * string/memchr.c: Likewise.
15784 * string/memcmp.c: Likewise.
15785 * string/memrchr.c: Likewise.
15786 * string/rawmemchr.c: Likewise.
15787 * sysdeps/posix/getcwd.c: Likewise.
15788 * time/strftime_l.c: Likewise.
15789
3b100462
JM
157902012-01-30 Joseph Myers <joseph@codesourcery.com>
15791
15792 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
15793 * config.make.in (config-cflags-sse2avx): Define.
15794 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15795 Fix typo.
15796
607998af
CM
157972012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15798
15799 * scripts/config.guess: Update from upstream config git repository.
15800 * scripts/config.sub: Likewise.
15801
3601428f
CM
158022012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15803
3ac8b282
CM
15804 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15805 (EM_NUM): Update.
15806 (R_TILEPRO_*, R_TILEGX_*): New macros.
15807
e034841e
CM
15808 * scripts/firstversions.awk: Fix bug in version range handling.
15809
540d7568
CM
15810 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15811
3601428f
CM
15812 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15813
463de862
CM
15814 * include/sys/epoll.h: New file.
15815 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15816 libc_hidden_def.
15817
73139a76
UD
158182012-01-28 Ulrich Drepper <drepper@gmail.com>
15819
96bc5b45
UD
15820 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15821 Avoid unnecessary __WORDSIZE == 64 test.
15822 (fmaxf): Use VEX format if possible.
15823 (fmax): Likewise.
15824 (fminf): Likewise.
15825 (fmin): Likewise.
15826
56f6f6a2
UD
15827 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15828 * math/math_private.h: Remove libc_fegetround* and
15829 libc_fesetround*.
15830 * sysdeps/i386/configure.in: Check for -msse2avx.
15831 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15832 also if SSE2AVX is defined.
15833 Remove libc_fegetround* and libc_fesetround*.
15834 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15835 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15836 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15837 of HAS_YMM_USABLE.
15838 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15839 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15840 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15841 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15842 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15843
73139a76
UD
15844 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15845
d73f93a4
AZ
158462012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15847
15848 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15849 size is not set.
15850 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15851
6ee65ed6
UD
158522012-01-27 Ulrich Drepper <drepper@gmail.com>
15853
15854 [BZ #13618]
15855 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15856 relocation.
15857 * Makeconfig (libm): Define.
15858 * elf/Makefile: Add rules to build and run tst-relsort1.
15859 * elf/tst-relsort1.c: New file.
15860 * elf/tst-relsort1mod1.c: New file.
15861 * elf/tst-relsort1mod2.c: New file.
15862
8db21882
JM
158632012-01-27 Joseph Myers <joseph@codesourcery.com>
15864
15865 * math/s_ldexp.c: Remove __STDC__ conditionals.
15866 * math/s_ldexpf.c: Likewise.
15867 * math/s_ldexpl.c: Likewise.
15868 * math/s_nextafter.c: Likewise.
15869 * math/s_nexttowardf.c: Likewise.
15870 * math/s_significand.c: Likewise.
15871 * math/s_significandf.c: Likewise.
15872 * math/s_significandl.c: Likewise.
15873 * math/w_jnl.c: Likewise.
15874 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15875 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15876 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15877 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15878 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15879 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15880 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15881 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15882 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15883 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15884 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15885 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15886 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15887 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15888 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15889 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15890 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15891 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15892 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15893 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15894 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15895 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15896 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15897 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15898 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15899 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15900 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15901 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15902 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15903 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15904 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15905 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15906 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15907 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15908 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15909 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15910 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15911 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15912 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15913 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15914 * sysdeps/ieee754/k_standard.c: Likewise.
15915 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15916 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15917 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15918 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15919 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15920 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15921 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15922 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15923 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15924 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15925 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15926 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15927 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15928 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15929 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15930 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15931 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15932 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15933 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15934 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15935 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15936 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15937 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15938 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15939 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15940 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15941 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15942 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15943 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15944 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15945 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15946 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15947 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15948 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15949 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15950 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15951 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15952 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15953 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15954 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15955 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15956 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15957 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15958 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15959 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15960 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15961 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15962 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15963 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15964 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15965 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15966 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15967 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15968 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15969 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15970 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15971 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15972 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15973 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15974 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15975 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15976 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15977 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15978 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15979 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15980 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15981 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15982 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15983 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15984 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15985 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15986 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15987 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15988 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15989 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15990 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15991 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15992 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15993 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15994 * sysdeps/ieee754/s_matherr.c: Likewise.
15995 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15996 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15997 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15998 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15999
965a54a4
JM
160002012-01-26 Joseph Myers <joseph@codesourcery.com>
16001
16002 * crypt/md5.h: Remove __STDC__ conditionals.
16003 * libio/libioP.h: Likewise.
16004 * locale/programs/config.h: Likewise.
16005 * sysdeps/generic/sysdep.h: Likewise.
16006 * sysdeps/i386/asm-syntax.h: Likewise.
16007 * sysdeps/s390/asm-syntax.h: Likewise.
16008 * sysdeps/unix/sysdep.h: Likewise.
16009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16011
7071ad79
JM
160122012-01-26 Joseph Myers <joseph@codesourcery.com>
16013
16014 * libio/libio.h: Remove __STDC__ conditionals.
16015 * malloc/obstack.h: Likewise.
16016 * math/complex.h: Likewise.
16017 * math/math.h: Likewise.
16018 * sysdeps/generic/_G_config.h: Likewise.
16019 * sysdeps/gnu/_G_config.h: Likewise.
16020 * sysdeps/mach/hurd/_G_config.h: Likewise.
16021 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16022 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16023 * sysdeps/sparc/bits/mathdef.h: Likewise.
16024
afc5ed09
UD
160252012-01-26 Ulrich Drepper <drepper@gmail.com>
16026
16027 [BZ #13583]
16028 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 16029 Clean up HAS_* macros.
afc5ed09 16030 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
16031 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16032 possible.
16033 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16034 HAS_AVX.
16035 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16036 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16037 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16038 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16039 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 16040
bdb6de1d
JM
160412012-01-25 Joseph Myers <joseph@codesourcery.com>
16042
16043 * elf/tst-unique3.cc (gets): Remove declaration.
16044 * elf/tst-unique3lib.cc (gets): Likewise.
16045 * elf/tst-unique3lib2.cc (gets): Likewise.
16046 * elf/tst-unique4.cc (gets): Likewise.
16047
b15549e6
UD
160482012-01-24 Ulrich Drepper <drepper@gmail.com>
16049
16050 * include/stdio.h: Add C++ protection. Add gets declarations and
16051 definitions.
16052 * debug/tst-chk1.c: Don't declare gets here.
16053 * stdio-common/tst-gets.c: Likewise.
16054
a037381f
JM
160552012-01-24 Joseph Myers <joseph@codesourcery.com>
16056
16057 * posix/glob: Remove directory.
16058
f1d4aa75
JM
160592012-01-24 Joseph Myers <joseph@codesourcery.com>
16060
16061 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16062
81c0c964
PT
160632012-01-22 Pino Toscano <toscano.pino@tiscali.it>
16064
16065 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16066 of the non-standard EPFNOSUPPORT.
16067
0ea698ae
ST
160682011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
16069
16070 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16071 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16072 ANYWHERE set to 1 only on KERN_NO_SPACE error.
16073
d220b117
UD
160742012-01-21 Ulrich Drepper <drepper@gmail.com>
16075
16076 * wcsmbs/uchar.h: Test __STDC_VERSION__.
16077
3e1aa84e
UD
160782012-01-20 Ulrich Drepper <drepper@gmail.com>
16079
16080 * nscd/aicache.c (addhstaiX): Do not cache negative results of
16081 transient errors.
16082 * nscd/grpcache.c (cache_addgr): Likewise.
16083 * nscd/hstcache.c (cache_addhst): Likewise.
16084 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16085 * nscd/pwdcache.c (cache_addpw): Likewise.
16086 * nscd/servicescache.c (cache_addserv): Likewise.
16087
400aa020
UD
160882012-01-16 Ulrich Drepper <drepper@gmail.com>
16089
d77e7869
UD
16090 * malloc/malloc.c: Various cleanups.
16091 * malloc/hooks.c: Likewise.
16092
400aa020
UD
16093 * stdlib/Makefile (tests): Add bug-fmtmsg1.
16094 * stdlib/bug-fmtmsg1.c: New file.
16095
16096 * stdlib/fmtmsg.c (init): Add missing unlock.
16097 Patch by Peng Haitao <penght@cn.fujitsu.com>.
16098
e0a309cf
MP
160992012-01-12 Marek Polacek <polacek@redhat.com>
16100
16101 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16102 and _GNU_SOURCE.
16103
929d11c7
WS
161042012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16105
16106 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16107 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16108 macro to ensure uniqueness of label name.
16109 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16110 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16111
41d0e869
UD
161122012-01-11 Ulrich Drepper <drepper@gmail.com>
16113
0cc5ed3b
UD
16114 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16115
41d0e869
UD
16116 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16117 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16118 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16119 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16120
a47a831a
UD
161212012-01-10 Ulrich Drepper <drepper@gmail.com>
16122
daa891c0
UD
16123 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16124
16125 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16126 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16127 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16128
e58ef0f2
UD
16129 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16130
a47a831a 16131 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
16132 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16133 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 16134 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
16135
16136 * math/bits/math-finite.h: Add ldexp support.
16137
a0bfc9c7
MP
161382012-01-10 Marek Polacek <polacek@redhat.com>
16139
16140 * locale/programs/localedef.h (show_archive_content): Add noreturn
16141 attribute.
16142
d6e97a1d
UD
161432012-01-09 Ulrich Drepper <drepper@gmail.com>
16144
16145 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16146
d5835c26
UD
161472012-01-08 Ulrich Drepper <drepper@gmail.com>
16148
e5f484c6
UD
16149 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16150
d5835c26
UD
16151 * io/Makefile (headers): Add bits/poll2.h.
16152
d1f741e9
WS
161532011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16154
16155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16156 typo #include statement.
16157
ec09c1c4
UD
161582012-01-08 Ulrich Drepper <drepper@gmail.com>
16159
16160 * include/sys/cdefs.h: Define __attribute_alloc_size.
16161 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16162 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16163 * elf/pldd.c: Likewise.
16164 * iconv/iconv_charmap.c: Likewise.
16165 * iconv/iconvconfig.c: Likewise.
16166 * iconv/strtab.c: Likewise.
16167 * locale/programs/locale.c: Likewise.
16168 * locale/programs/localedef.h: Likewise.
16169 * locale/programs/simple-hash.c: Likewise.
16170 * nscd/nscd.h: Likewise.
16171 * nss/makedb.c: Likewise.
16172 * sysdeps/generic/ldconfig.h: Likewise.
16173 * locale/programs/localedef.c: Remove xmalloc prototype.
16174 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16175
20b38e03
PP
161762012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16177
16178 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16179 appropriate.
16180
a0da5fe1
UD
161812012-01-08 Ulrich Drepper <drepper@gmail.com>
16182
1d5a644a 16183 * math/Makefile (tests): Add tst-CMPLX.
669704fd 16184 * math/tst-CMPLX.c: New file.
1d5a644a 16185
8784a6db
UD
16186 * math/complex.h (CMPLXL): Fix typo.
16187
d9a216c0
UD
16188 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16189 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16190 GLIBC_2.16.
16191 * debug/tst-chk1.c: Add poll and ppoll tests.
16192 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16193 * include/sys/poll.h: Add hidden proto for ppoll.
16194 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16195 * sysdeps/mach/hurd/ppoll.c: Likewise.
16196 * io/ppoll.c: Likewise.
16197 * debug/poll_chk.c: New file.
16198 * debug/ppoll_chk.c: New file.
16199 * include/bits/poll2.h: New file.
16200 * io/bits/poll2.h: New file.
16201
ac097f5c
UD
16202 [BZ #1350]
16203 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16204
2119dcfa
UD
16205 * configure.in: static is always set to yes. Remove.
16206 * config.make.in: Don't set build-static.
16207 * Makeconfig: Remove use of build-static.
16208 * dlfcn/Makefile: Likewise.
16209 * elf/Makefile: Likewise.
16210 * math/Makefile: Likewise.
16211 * misc/Makefile: Likewise.
16212 * nptl/Makefile: Likewise.
16213 * sysdeps/mach/hurd/Makefile: Likewise.
16214
121766a9
UD
16215 * configure.in: PWD_P is not used anymore.
16216 * config.make.in: Remove PWD_P entry.
16217
51a1d39c 16218 * configure.in: Remove last remnants of RANLIB.
8720d066 16219 No need to check for signed size_t anymore.
215f4bdc
UD
16220 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16221 and IA-64.
3857022a 16222 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
16223 * aclocal.m4: Likewise.
16224
d3ed7225
UD
16225 * wcsmbs/mbrtoc16.c: Implement using towc function.
16226 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16227 * wcsmbs/wcsmbsload.c: Likewise.
16228 * iconv/gconv_simple.c: Likewise.
16229 * iconv/gconv_int.h: Likewise.
16230 * iconv/gconv_builtin.h: Likewise.
16231 * iconv/iconv_prog.c: Remove CHAR16 handling.
16232
16233 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16234
16235 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16236
a0da5fe1
UD
16237 * configure.in: Remove --with-elf and --enable-bounded options.
16238 Dont set base_machine for ia64. More non-ELF conditions removed.
16239 Remove testing and setting of leading underscore information.
16240 * config.make.in (build-bounded): Set to no.
16241 * config.h.in: Remove NO_UNDERSCORES entry.
16242 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16243 them.
16244 * csu/start.c: Remove !NO_UNDERSCORE code.
16245 * locale/localeinfo.h: Likewise.
16246 * sysdeps/generic/machine-gmon.h: Likewise.
16247 * sysdeps/generic/sysdep.h: Likewise.
16248 * sysdeps/i386/sysdep.h: Likewise.
16249 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16250 * sysdeps/mach/sysdep.h: Likewise.
16251 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16252 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16253 * sysdeps/sh/sysdep.h: Likewise.
16254 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16255 * sysdeps/unix/i386/sysdep.S: Likewise.
16256 * sysdeps/unix/sparc/start.c: Likewise.
16257 * sysdeps/unix/sparc/sysdep.S: Likewise.
16258 * sysdeps/unix/sparc/sysdep.h: Likewise.
16259 * sysdeps/unix/start.c: Likewise.
16260 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16261 * sysdeps/x86_64/sysdep.h: Likewise.
16262
df78418a
UD
162632012-01-07 Ulrich Drepper <drepper@gmail.com>
16264
a784e502
UD
16265 [BZ #13553]
16266 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16267 for non-gcc.
16268 * argp/argp-fmtstream.h: Use const instead __const.
16269 * argp/argp.h: Likewise.
16270 * assert/assert.h: Likewise.
16271 * bits/fenv.h: Likewise.
16272 * bits/sched.h: Likewise.
16273 * bits/sigset.h: Likewise.
16274 * bits/sigthread.h: Likewise.
16275 * catgets/nl_types.h: Likewise.
16276 * conform/data/pthread.h-data: Likewise.
16277 * crypt/crypt-private.h: Likewise.
16278 * crypt/crypt.h: Likewise.
16279 * crypt/crypt_util.c: Likewise.
16280 * ctype/ctype.h: Likewise.
16281 * debug/execinfo.h: Likewise.
16282 * debug/mbsnrtowcs_chk.c: Likewise.
16283 * debug/mbsrtowcs_chk.c: Likewise.
16284 * debug/wcsnrtombs_chk.c: Likewise.
16285 * debug/wcsrtombs_chk.c: Likewise.
16286 * debug/wcstombs_chk.c: Likewise.
16287 * dirent/dirent.h: Likewise.
16288 * dlfcn/dlfcn.h: Likewise.
16289 * elf/neededtest4.c: Likewise.
16290 * grp/grp.h: Likewise.
16291 * gshadow/gshadow.h: Likewise.
16292 * iconv/gconv.h: Likewise.
16293 * iconv/gconv_int.h: Likewise.
16294 * iconv/gconv_simple.c: Likewise.
16295 * iconv/iconv.h: Likewise.
16296 * iconv/loop.c: Likewise.
16297 * iconv/skeleton.c: Likewise.
16298 * include/aio.h: Likewise.
16299 * include/aliases.h: Likewise.
16300 * include/argz.h: Likewise.
16301 * include/arpa/inet.h: Likewise.
16302 * include/assert.h: Likewise.
16303 * include/dirent.h: Likewise.
16304 * include/dlfcn.h: Likewise.
16305 * include/execinfo.h: Likewise.
16306 * include/fcntl.h: Likewise.
16307 * include/fenv.h: Likewise.
16308 * include/glob.h: Likewise.
16309 * include/grp.h: Likewise.
16310 * include/libintl.h: Likewise.
16311 * include/mntent.h: Likewise.
16312 * include/netdb.h: Likewise.
16313 * include/pwd.h: Likewise.
16314 * include/rpc/netdb.h: Likewise.
16315 * include/sched.h: Likewise.
16316 * include/search.h: Likewise.
16317 * include/shadow.h: Likewise.
16318 * include/signal.h: Likewise.
16319 * include/stdio.h: Likewise.
16320 * include/stdlib.h: Likewise.
16321 * include/string.h: Likewise.
16322 * include/sys/socket.h: Likewise.
16323 * include/sys/stat.h: Likewise.
16324 * include/sys/statfs.h: Likewise.
16325 * include/sys/statvfs.h: Likewise.
16326 * include/sys/syslog.h: Likewise.
16327 * include/sys/time.h: Likewise.
16328 * include/sys/uio.h: Likewise.
16329 * include/time.h: Likewise.
16330 * include/unistd.h: Likewise.
16331 * include/utmp.h: Likewise.
16332 * include/wchar.h: Likewise.
16333 * include/wctype.h: Likewise.
16334 * inet/aliases.h: Likewise.
16335 * inet/arpa/inet.h: Likewise.
16336 * inet/netinet/ether.h: Likewise.
16337 * inet/netinet/in.h: Likewise.
16338 * intl/libintl.h: Likewise.
16339 * io/bits/fcntl2.h: Likewise.
16340 * io/fcntl.h: Likewise.
16341 * io/ftw.h: Likewise.
16342 * io/sys/poll.h: Likewise.
16343 * io/sys/stat.h: Likewise.
16344 * io/sys/statfs.h: Likewise.
16345 * io/sys/statvfs.h: Likewise.
16346 * io/utime.h: Likewise.
16347 * libio/bits/stdio.h: Likewise.
16348 * libio/bits/stdio2.h: Likewise.
16349 * libio/libio.h: Likewise.
16350 * libio/libioP.h: Likewise.
16351 * libio/stdio.h: Likewise.
16352 * locale/lc-ctype.c: Likewise.
16353 * locale/locale.h: Likewise.
16354 * login/utmp.h: Likewise.
16355 * malloc/arena.c: Likewise.
16356 * malloc/malloc.c: Likewise.
16357 * malloc/malloc.h: Likewise.
16358 * malloc/mcheck.c: Likewise.
16359 * malloc/mtrace.c: Likewise.
16360 * math/bits/mathcalls.h: Likewise.
16361 * math/fenv.h: Likewise.
16362 * math/math_private.h: Likewise.
16363 * misc/bits/error.h: Likewise.
16364 * misc/bits/syslog.h: Likewise.
16365 * misc/err.h: Likewise.
16366 * misc/error.h: Likewise.
16367 * misc/fstab.h: Likewise.
16368 * misc/mntent.h: Likewise.
16369 * misc/regexp.h: Likewise.
16370 * misc/search.h: Likewise.
16371 * misc/sgtty.h: Likewise.
16372 * misc/sys/mman.h: Likewise.
16373 * misc/sys/syslog.h: Likewise.
16374 * misc/sys/uio.h: Likewise.
16375 * misc/sys/xattr.h: Likewise.
16376 * misc/ttyent.h: Likewise.
16377 * nis/rpcsvc/ypclnt.h: Likewise.
16378 * nss/nss.h: Likewise.
16379 * posix/bits/unistd.h: Likewise.
16380 * posix/fnmatch.h: Likewise.
16381 * posix/glob.h: Likewise.
16382 * posix/sched.h: Likewise.
16383 * posix/spawn.h: Likewise.
16384 * posix/sys/wait.h: Likewise.
16385 * posix/unistd.h: Likewise.
16386 * posix/wordexp.h: Likewise.
16387 * pwd/pwd.h: Likewise.
16388 * resolv/netdb.h: Likewise.
16389 * resource/sys/resource.h: Likewise.
16390 * rt/aio.h: Likewise.
16391 * rt/bits/mqueue2.h: Likewise.
16392 * rt/mqueue.h: Likewise.
16393 * shadow/shadow.h: Likewise.
16394 * signal/signal.h: Likewise.
16395 * socket/send.c: Likewise.
16396 * socket/sendto.c: Likewise.
16397 * socket/sys/socket.h: Likewise.
16398 * stdio-common/printf.h: Likewise.
16399 * stdlib/bits/stdlib.h: Likewise.
16400 * stdlib/fmtmsg.h: Likewise.
16401 * stdlib/monetary.h: Likewise.
16402 * stdlib/stdlib.h: Likewise.
16403 * stdlib/ucontext.h: Likewise.
16404 * streams/stropts.h: Likewise.
16405 * string/argz.h: Likewise.
16406 * string/bits/string2.h: Likewise.
16407 * string/string.h: Likewise.
16408 * string/strings.h: Likewise.
16409 * sunrpc/rpc/auth.h: Likewise.
16410 * sunrpc/rpc/auth_des.h: Likewise.
16411 * sunrpc/rpc/clnt.h: Likewise.
16412 * sunrpc/rpc/netdb.h: Likewise.
16413 * sunrpc/rpc/pmap_clnt.h: Likewise.
16414 * sunrpc/rpc/xdr.h: Likewise.
16415 * sysdeps/generic/inttypes.h: Likewise.
16416 * sysdeps/generic/net/if.h: Likewise.
16417 * sysdeps/generic/sys/swap.h: Likewise.
16418 * sysdeps/gnu/net/if.h: Likewise.
16419 * sysdeps/gnu/utmpx.h: Likewise.
16420 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16421 * sysdeps/i386/i486/bits/string.h: Likewise.
16422 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16423 * sysdeps/s390/bits/string.h: Likewise.
16424 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16425 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16426 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16427 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16428 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16429 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16430 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16431 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16432 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16433 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16434 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16435 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16436 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16437 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16438 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16439 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16440 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16441 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16442 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16443 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16444 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16445 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16446 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16447 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16448 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16449 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16450 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16451 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16452 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16453 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16454 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16455 * sysvipc/sys/ipc.h: Likewise.
16456 * sysvipc/sys/msg.h: Likewise.
16457 * sysvipc/sys/sem.h: Likewise.
16458 * sysvipc/sys/shm.h: Likewise.
16459 * termios/termios.h: Likewise.
16460 * time/sys/time.h: Likewise.
16461 * time/time.h: Likewise.
16462 * wcsmbs/bits/wchar2.h: Likewise.
16463 * wcsmbs/uchar.h: Likewise.
16464 * wcsmbs/wchar.h: Likewise.
16465 * wctype/wctype.h: Likewise.
16466
0269750c
UD
16467 [BZ #13551]
16468 * Makeconfig: Remove all but ELF support including AIX support.
16469 * Makerules: Likewise.
16470 * config.h.in: Likewise.
16471 * config.make.in: Likewise.
16472 * configure: Likewise.
16473 * configure.in: Likewise.
16474 * csu/Makefile: Likewise.
16475 * csu/version.c: Likewise.
16476 * debug/Makefile: Likewise.
16477 * dlfcn/Makefile: Likewise.
16478 * elf/Makefile: Likewise.
16479 * extra-lib.mk: Likewise.
16480 * iconv/Makefile: Likewise.
16481 * include/libc-symbols.h: Likewise.
16482 * include/shlib-compat.h: Likewise.
16483 * resolv/Makefile: Likewise.
16484 * resolv/res_libc.c: Likewise.
16485 * rt/Makefile: Likewise.
16486 * sysdeps/i386/asm-syntax.h: Likewise.
16487 * sysdeps/i386/sysdep.h: Likewise.
16488 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16489 * sysdeps/mach/sysdep.h: Likewise.
16490 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16491 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16492 * sysdeps/s390/asm-syntax.h: Likewise.
16493 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16494 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16495 * sysdeps/sh/sysdep.h: Likewise.
16496 * sysdeps/unix/sparc/sysdep.h: Likewise.
16497 * sysdeps/wordsize-32/divdi3.c: Likewise.
16498 * sysdeps/x86_64/sysdep.h: Likewise.
16499
00bbd29b
UD
16500 * argp/Versions: Remove _argp_unlock_xxx.
16501
16502 [BZ #13559]
16503 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16504 * abilist/libBrokenLocale.abilist: Likewise.
16505 * abilist/libanl.abilist: Likewise.
16506 * abilist/libc.abilist: Likewise.
16507 * abilist/libcrypt.abilist: Likewise.
16508 * abilist/libdl.abilist: Likewise.
16509 * abilist/libm.abilist: Likewise.
16510 * abilist/libnsl.abilist: Likewise.
16511 * abilist/libpthread.abilist: Likewise.
16512 * abilist/libresolv.abilist: Likewise.
16513 * abilist/librt.abilist: Likewise.
16514 * abilist/libthread_db.abilist: Likewise.
16515 * abilist/libutil.abilist: Likewise.
16516 * abilist/libnss_db.abilist: New file.
16517
16518 * scripts/abilist.awk: Add support for indirect functions.
16519
a2693a0e
UD
16520 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16521
3f05895f
UD
16522 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16523
ecb6fb48
UD
16524 * shlib-versions: Remove entries for ports architectures.
16525
664f8cb9
UD
16526 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16527 files in ports.
16528 * elf/stackguard-macros.h: Remove support for IA-64.
16529 * elf/tst-auditmod1.c: Likewise.
16530 * sysdeps/generic/ldsodefs.h: Likewise.
16531
7ae81d88
UD
16532 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16533 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16534 configure files.
16535
bdeba135
UD
16536 [BZ #13552]
16537 * configure.in: Remove --enable-omitfp support.
16538 * FAQ.in: Adjust.
16539 * config.make.in: Likewise.
16540 * Makeconfig: Likewise.
16541 * manual/install.texi: Likewise.
16542
d75a0a62
UD
16543 In case anyone cares, the IA-64 architecture could move to ports.
16544 * sysdeps/ia64/*: Removed.
16545 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 16546 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 16547
dcc9756b
UD
16548 [BZ #13555]
16549 * configure.in: Remove entries for unsupported architectures.
16550
d3761ebc 16551 [BZ #13533]
9954432e
UD
16552 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16553 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16554 routines.
16555 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16556 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16557 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16558 fall back to using wcrtomb.
16559 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16560 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16561 renaming.
16562 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16563 * wcsmbs/tst-c16c32-1.c: New file.
16564
16565 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16566 local variable.
16567
c3a87236
UD
16568 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16569
28926a1b
UD
16570 * elf/tst-unique3.cc: Add explicit declaration of gets.
16571 * elf/tst-unique3lib.cc: Likewise.
16572 * elf/tst-unique3lib2.cc: Likewise.
16573 * elf/tst-unique4.cc: Likewise.
16574
df78418a
UD
16575 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16576
8ecd6b2a
JM
165772012-01-06 Joseph Myers <joseph@codesourcery.com>
16578
16579 [BZ #13566]
16580 * assert/assert.h (static_assert): Don't define for C++.
16581 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16582 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16583
9f115170
UD
165842012-01-03 Ulrich Drepper <drepper@gmail.com>
16585
5e0d0300
UD
16586 * iconv/loop.c (single loop): Fix assertion in storing of
16587 remaining bytes.
16588
9f115170
UD
16589 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16590
81fb02b0
UD
165912012-01-01 Ulrich Drepper <drepper@gmail.com>
16592
16593 * posix/getconf.c: Update copyright year.
16594 * nss/getent.c: Likewise.
a316c1f6 16595 * nss/makedb.c: Likewise.
81fb02b0
UD
16596 * iconv/iconvconfig.c: Likewise.
16597 * iconv/iconv_prog.c: Likewise.
16598 * elf/ldconfig.c: Likewise.
a316c1f6
UD
16599 * elf/pldd.c: Likewise.
16600 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
16601 * catgets/gencat.c: Likewise.
16602 * csu/version.c: Likewise.
16603 * elf/ldd.bash.in: Likewise.
16604 * elf/sprof.c (print_version): Likewise.
16605 * locale/programs/locale.c: Likewise.
16606 * locale/programs/localedef.c: Likewise.
a316c1f6 16607 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
16608 * nscd/nscd.c (print_version): Likewise.
16609 * debug/xtrace.sh: Likewise.
16610 * malloc/memusage.sh: Likewise.
16611 * malloc/mtrace.pl: Likewise.
16612 * debug/catchsegv.sh: Likewise.
16613
2ba92745
JJ
166142011-12-30 Jakub Jelinek <jakub@redhat.com>
16615
16616 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16617 pure attribute.
16618
dadebdae
UD
166192011-12-24 Ulrich Drepper <drepper@gmail.com>
16620
d3761ebc 16621 [BZ #13533]
db6af3eb
UD
16622 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16623 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16624 transformations.
16625 * iconv/gconv_int.h: Likewise.
16626 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16627 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16628 from libc for GLIBC_2.16.
16629 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16630 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16631 * wcsmbs/uchar.h: Really define mbstate_t.
16632 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16633 * wcsmbs/c16rtomb.c: New file.
16634 * wcsmbs/mbrtoc16.c: New file.
16635 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16636 for C/POSIX locale.
16637 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16638 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16639
dadebdae
UD
16640 * wcsmbs/wchar.h: Add missing __restrict.
16641
67371b56
UD
166422011-12-23 Ulrich Drepper <drepper@gmail.com>
16643
74033a25
UD
16644 [BZ #13532]
16645 * time/Makefile (routines): Add timespec_get.
16646 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16647 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16648 timespec for ISO C11.
16649 * time/timespec_get.c: New file.
16650 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16651 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16652
380d7e87
UD
16653 [BZ #13531]
16654 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16655 * stdlib/stdlib.h: Declare aligned_alloc.
16656 * Versions.def: Add GLIBC_2.16 for libc.
16657 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16658
4e9e7a35
UD
16659 [BZ 13527]
16660 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16661 ISO C11.
16662
380d7e87 16663 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
16664 code.
16665
03a71829
UD
16666 [BZ #13528]
16667 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16668
839e283e
UD
16669 [BZ #13529]
16670 * assert/assert.h (static_assert): Define.
16671
ce5294e2 16672 * version.h: Update for 2.16 development version.
90fa7312 16673
8d44e150 16674 [BZ #13526]
d7809905
UD
16675 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16676 _ISOC11_SOURCE.
16677
c0da14cd
UD
16678 * version.h (RELEASE): Bump for 2.15 release.
16679 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16680
530a3249
MP
16681 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16682 Patch by Marek Polacek <mpolacek@redhat.com>.
16683
67371b56
UD
16684 * bits/byteswap.h: Protect long long constants with __extension__.
16685 * sysdeps/i386/bits/byteswap.h: Likewise.
16686 * sysdeps/ia64/bits/byteswap.h: Likewise.
16687 * sysdeps/s390/bits/byteswap.h: Likewise.
16688 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16689
15db4de1
LD
166902011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16691
16692 [BZ #13540]
bbe315ea
LD
16693 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16694 destination buffer.
15db4de1
LD
16695 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16696
2b2596b1
MP
166972011-12-23 Marek Polacek <polacek@redhat.com>
16698
16699 * elf/dl-addr.c (determine_info): Add inline keyword.
16700 * elf/tst-auditmod4b.c (check_avx): Likewise.
16701 * elf/tst-auditmod6b.c (check_avx): Likewise.
16702 * elf/tst-auditmod6c.c (check_avx): Likewise.
16703 * elf/tst-auditmod7b.c (check_avx): Likewise.
16704
70c6c246
UD
167052011-12-23 Ulrich Drepper <drepper@gmail.com>
16706
16707 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16708 !__SSE_MATH__.
16709
c044cf14
LD
167102011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16711
15db4de1 16712 [BZ #13540]
c044cf14
LD
16713 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16714 processing for last bytes.
16715
6b13d9d9
BH
167162011-08-06 Bruno Haible <bruno@clisp.org>
16717
d455f537
BH
16718 [BZ #13061]
16719 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16720 U+0385, not to U+1FEE.
16721
6b13d9d9
BH
16722 [BZ #13062]
16723 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16724 entry for U+00A5 U+0301.
16725
db910efd
UD
167262011-12-22 Ulrich Drepper <drepper@gmail.com>
16727
27deeafc
UD
16728 [BZ #13166]
16729 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16730 buffer for the output is too small.
16731
aed9d171
UD
16732 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16733 optimization.
16734
db910efd
UD
16735 [BZ #13185]
16736 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16737 SSE flags if possible.
16738
2bd779ae
LD
167392011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16740
e7f9dac3 16741 [BZ #13540]
2bd779ae
LD
16742 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16743 processing for last bytes.
16744
154bfc16
JM
167452011-12-22 Joseph Myers <joseph@codesourcery.com>
16746
16747 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16748 (syscall-list-default-options, syscall-list-default-condition)
16749 (syscall-list-includes): Define.
16750 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16751 list of ABIs and options and #if conditions for each ABI. Do not
16752 handle common syscalls between ABIs specially.
16753 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16754 Remove.
16755 (syscall-list-variants, syscall-list-32bit-options)
16756 (syscall-list-32bit-condition, syscall-list-64bit-options)
16757 (syscall-list-64bit-condition): Define.
16758 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16759 (syscall-list-variants, syscall-list-32bit-options)
16760 (syscall-list-32bit-condition, syscall-list-64bit-options)
16761 (syscall-list-64bit-condition): Define.
16762 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16763 Remove.
16764 (syscall-list-variants, syscall-list-32bit-options)
16765 (syscall-list-32bit-condition, syscall-list-64bit-options)
16766 (syscall-list-64bit-condition): Define.
16767 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16768 Remove.
16769 (syscall-list-variants, syscall-list-32bit-options)
16770 (syscall-list-32bit-condition, syscall-list-64bit-options)
16771 (syscall-list-64bit-condition): Define.
16772
21eaf3a5
UD
167732011-12-22 Ulrich Drepper <drepper@gmail.com>
16774
16c6f992
UD
16775 * locale/iso-639.def: Add brx entry.
16776
41043168
UD
16777 [BZ #13328]
16778 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16779 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16780
21eaf3a5
UD
16781 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16782 __feraiseexcept_renamed.
16783
e3a851a2
UD
167842011-12-21 Ulrich Drepper <drepper@gmail.com>
16785
4920765e
UD
16786 [BZ #13538]
16787 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16788 EPOLLET with unsigned values.
16789 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16790 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16791
e3a851a2
UD
16792 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16793 to large cancellation.
16794 * math/s_cacoshf.c: Likewise.
16795 * math/s_cacoshl.c: Likewise.
16796
b27e24b8
RK
167972011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16798
16799 [BZ #13305]
aebefeee 16800 [BZ #12786]
b27e24b8
RK
16801 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16802 * math/s_cacoshf.c: Likewise.
16803 * math/s_cacoshl.c: Likewise.
16804
ee190f67
UD
168052011-12-21 Ulrich Drepper <drepper@gmail.com>
16806
16807 [BZ #13439]
16808 * iconv/gconv.h: Define __GCONV_SWAP.
16809 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16810 * iconvdata/utf-16.c: Likewise.
16811 * iconvdata/utf-32.c: Likewise.
16812
707f25df
AS
168132011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16814
16815 [BZ #13524]
16816 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16817 numerator after shifting it by one limb.
16818
d2daaa1e
RÁE
168192011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16820
16821 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16822 under [__USE_EXTERN_INLINES].
16823
a4647e72
UD
168242011-12-17 Ulrich Drepper <drepper@gmail.com>
16825
16826 [BZ #13446]
16827 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16828
f0b264f1
AZ
168292011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16830
16831 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16832 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16833 optimized code.
16834 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16835 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16836 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16837 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16838 for strncasecmp/strncasecmp_l compilation.
16839 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16840 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16841
8ef4f244
MP
168422011-12-08 Marek Polacek <mpolacek@redhat.com>
16843
16844 [BZ #13484]
16845 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16846 of __asm__.
16847
97ac2654
UD
168482011-12-17 Ulrich Drepper <drepper@gmail.com>
16849
16850 [BZ #13506]
16851 * time/tzfile.c (__tzfile_read): Check values from file header.
16852
91d2a845
WS
168532011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16854
16855 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16856 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16857 * powerpc/powerpc32/dl-start.S: Likewise.
16858 * powerpc/powerpc32/elf/start.S: Likewise.
16859 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16860 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16861 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16862 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16863 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16864 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16865 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16866 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16867 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16868 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16869 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16870 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16871 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16872 * powerpc/powerpc32/memset.S: Likewise.
16873 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16874 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16875 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16876 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16877 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16878 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16879 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16880 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16881 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16882 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16883 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16884 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16885 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16886
a1267ba1
AZ
168872011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16888
16889 * math/libm-test.inc: Added more nearbyint tests.
16890 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16891 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16892 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16893 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16894
ad8ac1bd
RL
168952011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16896
16897 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16898 FD_CLOEXEC.
16899
1d3e4b61
UD
169002011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16901
16902 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16903 Add wcscpy-ssse3 wcscpy-c.
16904 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16905 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16906 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16907 * sysdeps/x86_64/wcschr.S: New file.
16908 * sysdeps/x86_64/wcsrchr.S: New file.
16909 * string/test-strcmp.c: Remove checking of wcscmp function for
16910 wrong alignments.
16911 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16912 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16913 wcsrchr-sse2 wcsrchr-c.
16914 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16915 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16916 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16917 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16918 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16919 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16920 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16921 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16922 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16923 * wcsmbc/wcschr.c (WCSCHR): New macro.
16924
5b330a2d
UD
169252011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16926
16927 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16928 * wcsmbs/test-wcsrchr.c: New file.
16929 * string/test-strrchr.c: Add wcsrchr support.
16930 (WIDE): New macro.
16931 * wcsmbs/test-wcscpy.c: New file.
16932 * string/test-strcpy.c: Add wcscpy support.
16933 (WIDE): New macro.
26428b7c 16934
f039c043
UD
169352011-12-10 Ulrich Drepper <drepper@gmail.com>
16936
16937 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16938 the inner loop.
16939
850fb039
AS
169402011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16941
16942 [BZ #13472]
16943 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16944
4efbd5cb
UD
169452011-12-04 Ulrich Drepper <drepper@gmail.com>
16946
52ff5dd0 16947 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 16948 Minor optimizations.
52ff5dd0 16949
4efbd5cb
UD
16950 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16951 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16952 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16953
8a426e12
UD
169542011-12-03 Ulrich Drepper <drepper@gmail.com>
16955
aff2453d
UD
16956 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16957 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16958 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16959 for gcc to avoid warnings.
16960 * inet/Makefile (tests): Add tst-checks.
16961 * inet/tst-checks.c: New file.
16962
16963 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16964 warning.
16965
16966 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16967 __wmemcmp_sse2.
16968
16969 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16970 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16971
8a426e12
UD
16972 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16973
9bea3473
UD
169742011-12-02 Ulrich Drepper <drepper@gmail.com>
16975
3a965496
UD
16976 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16977 problem.
16978
9bea3473
UD
16979 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16980
f101631b
UD
169812011-11-29 Joseph Myers <joseph@codesourcery.com>
16982
16983 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16984 conditional on GCC version.
16985 (__arch_compare_and_exchange_val_8_acq)
16986 (__arch_compare_and_exchange_val_16_acq)
16987 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16988 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16989 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16990
a98275aa
UD
169912011-12-02 Joseph Myers <joseph@codesourcery.com>
16992
16993 * sysdeps/sh/backtrace.c: New file.
16994
d4cc29a2
AS
169952011-12-02 Andreas Schwab <schwab@redhat.com>
16996
16997 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16998 parenthesis.
16999
6257af2d
AS
170002011-12-01 Andreas Schwab <schwab@redhat.com>
17001
17002 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17003 falling back to utime.
17004
b5f44c1a
AS
170052011-11-30 Andreas Schwab <schwab@redhat.com>
17006
17007 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17008 expectations for float.
17009
f3a6cc0a
AS
170102011-11-29 Andreas Schwab <schwab@redhat.com>
17011
17012 * locale/weight.h (findidx): Add parameter len.
17013 * locale/weightwc.h (findidx): Likewise.
17014 * posix/fnmatch_loop.c (FCT): Adjust caller.
17015 * posix/regcomp.c (build_equiv_class): Likewise.
17016 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17017 * posix/regexec.c (check_node_accept_bytes): Likewise.
17018 * string/strcoll_l.c (STRCOLL): Likewise.
17019 * string/strxfrm_l.c (STRXFRM): Likewise.
17020
9d65ea3a
UD
170212011-11-17 Ulrich Drepper <drepper@gmail.com>
17022
17023 * Makefile.in: Remove CVSOPT handling.
17024 * configure.in: Remove use of AC_REVISION.
17025 * iconvdata/Makefile (distribute): No need to filter out CVS.
17026 * scripts/list-sources.sh: Remove CVS, subversion and monotone
17027 handling.
17028
5583a086
AS
170292011-11-16 Andreas Schwab <schwab@redhat.com>
17030
17031 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17032 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17033 [USE_AS_STRNCASECMP_L]: Likewise.
17034 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17035 NO_TLS_DIRECT_SEG_REFS.
17036 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17037 Fix argument offsets for non-PIC.
17038 [USE_AS_STRNCASECMP_L]: Likewise.
17039 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17040 NO_TLS_DIRECT_SEG_REFS.
17041
d62a8200
UD
170422011-11-15 Ulrich Drepper <drepper@gmail.com>
17043
9d65ea3a 17044 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
17045 O_CLOEXEC.
17046 * locale/loadlocale.c (_nl_load_locale): Likewise.
17047
09f93bd3
AS
170482011-11-15 Andreas Schwab <schwab@redhat.com>
17049
446514f9
AS
17050 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17051 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17052 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17053 (SYSCALL_GETTIME): Set errno on error.
17054
09f93bd3
AS
17055 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17056 count references to noai6ai_cached.
17057
312be3f9
UD
170582011-11-15 Ulrich Drepper <drepper@gmail.com>
17059
17060 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17061
17062 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17063 FD_CLOEXEC for /proc/self/maps.
17064
17065 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17066 FD_CLOEXEC for /proc/meminfo.
17067
17068 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17069 gai.conf.
17070
17071 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
17072 FD_CLOEXEC for given file.
17073
17074 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17075
17076 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17077 FD_CLOEXEC for /etc/hosts.
17078 (_gethtent): Likewise.
17079
17080 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17081
17082 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17083 cancellation and set FD_CLOEXEC for /etc/netgroup.
17084
17085 * nss/nss_files/files-key.c (search): Don't allow cancellation when
17086 reading /etc/publickey.
17087
17088 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17089 allow cancellation when reading /etc/group.
17090
17091 * nss/nss_files/files-alias.c (internal_setent): Don't allow
17092 cancellation.
17093 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
17094
17095 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17096 when using data file.
17097
17098 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17099
17100 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17101 (write_nis_obj): Use "c" and "e" in fopen.
17102
17103 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17104
17105 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17106
17107 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17108
17109 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17110
17111 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17112 locale.alias.
17113
17114 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17115
17116 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17117
17118 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17119
17120 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17121 file parsing and set FD_CLOEXEC.
17122
82af0fa8
UD
171232011-11-14 Ulrich Drepper <drepper@gmail.com>
17124
17125 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17126
a5fb313c
AS
171272011-11-14 Andreas Schwab <schwab@redhat.com>
17128
17129 * malloc/arena.c (arena_get2): Don't call reused_arena when
17130 _int_new_arena failed.
17131
6abf3465
UD
171322011-11-14 Ulrich Drepper <drepper@gmail.com>
17133
17134 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17135 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17136 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17137 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17138 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17139 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17140 to compile strcasecmp and strncasecmp.
17141 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17142 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17143
17144 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17145
76e3966e
UD
171462011-11-13 Ulrich Drepper <drepper@gmail.com>
17147
17148 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17149 locale-defines.sym to gen-as-const-headers.
17150 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17151 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17152 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17153 to compile strcasecmp and strncasecmp.
17154 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17155 strcasecmp_l and strncasecmp_l.
17156 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17157 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17158 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17159 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17160 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17161 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17162 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17163 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17164 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17165 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17166 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17167
ab26144e
UD
171682011-11-12 Ulrich Drepper <drepper@gmail.com>
17169
7edb22ef
UD
17170 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17171 result of SYSDEP_GETTIME_CPU to retval.
17172 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17173 parameter list to macro. Remove trailing semicolon. Adjust users.
17174
9694fc44
UD
17175 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17176 variable.
17177
8ad89ef8
UD
17178 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17179 mantissa words.
17180 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17181
0c822ef9
UD
17182 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17183 from unused variable.
17184
874e0564
UD
17185 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17186 DWARF definitions.
17187 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17188 for assembling.
17189
3a2edc79
UD
17190 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17191 over namespaces.
17192
f3c2577f
UD
17193 * sunrpc/rpc_prot.c (rejected): Fix case value.
17194
294ce126
UD
17195 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17196 unsigned long long int to avoid warnings in shift.
17197
5e2b63c6
UD
17198 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17199 of use of trans.
17200 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17201 variable tmp.
17202
e7f4b08e
UD
17203 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17204 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17205 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17206
ab26144e
UD
17207 * nis/nis_table.c (nis_list): Use variable of correct type for
17208 result of __follow_path call.
17209
8a6d5255
AZ
172102011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17211
17212 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17213 of math functions ceil, trunc, floor, round, and sqrt, when
17214 avaliable on the platform.
17215 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17216 name clash.
17217 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17218 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17219 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17220
aaddc98c
MP
172212011-10-30 Marek Polacek <mpolacek@redhat.com>
17222
17223 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17224 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17225
95b7042b
RM
172262011-11-11 Roland McGrath <roland@hack.frob.com>
17227
17228 * include/unistd.h: Fix __readlink return type.
17229 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17230
57769839
UD
172312011-11-11 Ulrich Drepper <drepper@gmail.com>
17232
17233 * stdlib/ucontext.h: Undo last change for makecontext.
17234
edc5984d
AS
172352011-11-11 Andreas Schwab <schwab@redhat.com>
17236
98591e58
AS
17237 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17238
edc5984d
AS
17239 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17240 * setjmp/setjmp.h: Mark functions as non-leaf.
17241 * setjmp/bits/setjmp2.h: Likewise.
17242 * stdlib/ucontext.h: Likewise.
17243
77cdc054
AS
172442011-11-10 Andreas Schwab <schwab@redhat.com>
17245
17246 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17247 (reused_arena): Don't check arena limit.
17248 (arena_get2): Atomically check arena limit.
17249
fe72eebd
UD
172502011-11-08 Ulrich Drepper <drepper@gmail.com>
17251
5f078c32
UD
17252 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17253 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17254
fe72eebd
UD
17255 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17256 instructions.
17257
ae1bc2fa
AS
172582011-11-07 Andreas Schwab <schwab@redhat.com>
17259
7583a88d
AS
17260 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17261 handler when locking.
17262
ae1bc2fa
AS
17263 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17264 Fix size of allocated buffer.
17265
10fb0bfa
AS
172662011-11-04 Andreas Schwab <schwab@redhat.com>
17267
998832a4
AS
17268 [BZ #10103]
17269 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17270 declarations for long double functions.
17271 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17272
10fb0bfa
AS
17273 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17274
3d7ba52b
AS
172752011-11-03 Andreas Schwab <schwab@redhat.com>
17276
a9ae54a1
AS
17277 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17278 installed.
17279
3d7ba52b
AS
17280 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17281 is disabled.
17282
bc8db248
ST
172832011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17284
17285 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17286
45b96dd6
AS
172872011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17288
647776f6
AS
17289 * include/alloca.h (stackinfo_alloca_round): Define.
17290 (extend_alloca): Use it.
17291 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17292 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17293 here.
17294
d91a8b93
AS
17295 * scripts/check-local-headers.sh: Ignore libaudit.h.
17296
45b96dd6
AS
17297 * nscd/Makefile (extra-objs): Make recursively expanded.
17298
432d41ce
UD
172992011-11-01 Ulrich Drepper <drepper@gmail.com>
17300
34372fc6
UD
17301 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17302 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17303
fadb59f8
UD
17304 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17305 * posix/tst-rfc3484-2.c: Likewise.
17306 * posix/tst-rfc3484-3.c: Likewise.
17307
78239589
UD
17308 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17309 process_vm_writev.
17310 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17311 process_vm_writev.
17312 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17313 process_vm_writev from libc using GLIBC_2.15 version.
17314
432d41ce
UD
17315 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17316
02f9c6cf
PP
173172011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17318
17319 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17320 stack usage.
17321
3a2c0242
UD
173222011-10-31 Ulrich Drepper <drepper@gmail.com>
17323
f4ec4833
UD
17324 [BZ #13367]
17325 * nss/getent.c (initgroups_keys): Show error message in case no group
17326 names are given.
17327
3a2c0242
UD
17328 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17329 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17330 __bump_nl_timestamp.
17331 * nscd/connections (nscd_init): When host database is served open
17332 netlink socket and request notification about configuration changes.
17333 (main_loop_poll): Track netlink file descriptor and bump timestamp
17334 in case data becomes available.
17335 (main_loop_epoll): Likewise.
17336 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17337 (database_pers_head): Add extra_data fileds.
17338 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17339 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17340 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17341 Adjust caller.
17342 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17343 in6ai data, call __free_in6ai.
17344 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17345 Add -DHAVE_NETLINK.
17346 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17347 interface information. Reuse previous data if netlink timestamp
17348 is not changed.
17349 (__bump_nl_timestamp): New function.
17350 (__free_in6ai): New function.
17351
636064eb
UD
173522011-10-30 Ulrich Drepper <drepper@gmail.com>
17353
17354 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17355 close_not_cancel_no_status here.
17356 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17357
9beb2334
UD
173582011-10-29 Ulrich Drepper <drepper@gmail.com>
17359
6ef76f3b
UD
17360 [BZ #13276]
17361 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17362 return value.
17363
0ffc4f3e 17364 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
17365 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17366 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17367
cb95113e
UD
173682011-07-03 Andreas Jaeger <aj@suse.de>
17369
17370 [BZ #10709]
17371 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17372 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17373 * math/libm-test.inc (sin_test): Add test case.
17374
a1b560ff
UD
173752011-10-29 Ulrich Drepper <drepper@gmail.com>
17376
c9aaface
UD
17377 [BZ #13337]
17378 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17379 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17380
d272e7f1
UD
17381 * elf/chroot_canon.c (chroot_canon): Cleanups.
17382
1bc33071
UD
17383 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17384
1760874d
TJ
17385 [BZ #13335]
17386 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17387 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17388
51d91b18
UD
17389 * string/test-strchr.c: Make usable for strchrnul testing.
17390 * string/test-strchrnul.c: New file.
17391 * string/Makefile (strop-tests): Add strchrnul.
17392
a1b560ff 17393 * po/it.po: Update from translation team.
b611fb81 17394 * po/es.po: Likewise.
a1b560ff 17395
a5b81e1f
UD
173962011-10-28 Ulrich Drepper <drepper@gmail.com>
17397
fd52bc6d
UD
17398 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17399 the three constants needed as parameters. Drop the others.
17400 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17401 __m128i_strloadu_tolower.
52e4b9eb
UD
17402 Create and initialize variable zero and use it in all the places
17403 where _mm_setzero_si128 was used.
fd52bc6d 17404
a5b81e1f
UD
17405 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17406 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17407 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17408 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17409 anymore.
17410 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17411 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17412 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17413 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17414 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17415 __mpranred, __mptan.
17416 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17417 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17418 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17419 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17420 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17421 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17422 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17423 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17424 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17425
b4343346
AS
174262011-10-28 Andreas Schwab <schwab@redhat.com>
17427
0c92d8a8
AS
17428 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17429 redefine if SHARED.
17430 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17431
b4343346
AS
17432 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17433 wide char related routines to wcsmbs subdir.
17434
3871f58f
AS
174352011-10-27 Andreas Schwab <schwab@redhat.com>
17436
17437 [BZ #13344]
17438 * misc/sys/cdefs.h (__THROWNL): Define.
17439 * posix/unistd.h: Use __THREADNL instead of __THREAD
17440 for memory synchronization functions.
17441
94d44d9f
RM
174422011-10-26 Roland McGrath <roland@hack.frob.com>
17443
21b64b15 17444 [BZ #13349]
94d44d9f
RM
17445 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17446 doesn't exist.
17447 * manual/stdio.texi (Obstack Streams): Node removed.
17448
f6ce9294
AS
174492011-10-26 Andreas Schwab <schwab@redhat.com>
17450
80479147
AS
17451 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17452 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17453 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17454
f6ce9294
AS
17455 * math/math_private.h (math_force_eval): Allow non-addressable
17456 arguments.
17457 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17458
618280a1
UD
174592011-10-25 Ulrich Drepper <drepper@gmail.com>
17460
e0016b11
UD
17461 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17462 file is not needed.
17463
17464 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17465 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17466 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17467 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17468 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17469 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17470 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17471 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17472 Add AVX variants.
17473 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17474 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17475 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17476 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17477 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17478 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17479 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17480 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17481 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17482 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17483 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17484 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17485 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17486 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17487 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17488 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17489 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17490 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17491 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17492
17493 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17494 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17495
618280a1
UD
17496 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17497 place. Use VEX encoding when compiling for AVX.
17498
37822576
AS
174992011-10-25 Andreas Schwab <schwab@redhat.com>
17500
1f1e1947
AS
17501 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17502 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17503
37822576
AS
17504 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17505
31ea014d
UD
175062011-10-25 Ulrich Drepper <drepper@gmail.com>
17507
d7826aa1 17508 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 17509 useless if() expression.
d7826aa1
UD
17510 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17511 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17512 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17513 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17514 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17515 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17516 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17517 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17518 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17519 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17520 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17521 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17522 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17523 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17524 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17525 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17526 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17527 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17528 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17529
31ea014d
UD
17530 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17531
16437fec
AS
175322011-10-25 Andreas Schwab <schwab@redhat.com>
17533
17534 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17535 condition.
17536 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17537
31d3cc00
UD
175382011-10-25 Ulrich Drepper <drepper@gmail.com>
17539
17540 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17541 .text section. Avoid duplicate constants.
17542 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17543 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17544 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17545 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17546 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17547 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17548 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17549 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17550 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17551 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17552 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17553 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17554 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17555 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17556 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17557 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17558 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17559 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17560 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17561 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17562 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17563 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17564 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17565 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17566 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17567 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17568 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17569 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17570 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17571 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17572 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17573 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17574 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17575 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17576 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17577 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17578 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17579 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17580 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17581 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17582 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17583 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17584 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17585 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17586 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17587
58985aa9
UD
175882011-10-24 Ulrich Drepper <drepper@gmail.com>
17589
202c9deb
UD
17590 * sysdeps/x86_64/dla.h: Move to ...
17591 * sysdeps/x86_64/fpu/dla.h: ...here.
17592 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17593 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 17594
af968f62
UD
17595 * config.make.in: Add have-mfma4 entry.
17596 * configure.in: Substitute libc_cv_cc_fma4.
17597 * math/Makefile (dbl-only-routines): Add sincostab.
17598 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17599 Use __sincostab not sincos.
17600 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17601 name is a macro.
17602 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17603 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17604 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17605 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17606 using __copysign.
17607 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17608 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17609 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17610 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17611 and __inv.
17612 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17613 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17614 __copysign.
17615 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17616 define aliases when function name is a macro.
17617 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17618 sysdeps/ieee754/dbl-64/sincos.tbl.
17619 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17620 fma4-enabled routines.
17621 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17622 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17623 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17624 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17625 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17626 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17627 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17628 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17629 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17630 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17631 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17632 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17633 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17634 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17635 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17636 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17637 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17638 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17639 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17640 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17641 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17642 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17643 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17644 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17645 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17646 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17647 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17648 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17649 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17650 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17651
58985aa9
UD
17652 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17653 rename.
17654 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17655 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17656 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17657 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17658 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17659 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17660 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17661 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17662
a201fbcf
AS
176632011-10-24 Andreas Schwab <schwab@redhat.com>
17664
17665 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17666
fc2ee42a
LD
176672011-10-23 Ulrich Drepper <drepper@gmail.com>
17668
bb3129bd
UD
17669 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17670
0275fff8
UD
17671 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17672 prediction.
17673 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17674
2fa2ae85
UD
17675 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17676 Remove unused variable magic_bits.
17677 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17678
fc2ee42a
LD
17679 * string/strnlen.c: Define and use STRNLEN macro.
17680 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17681 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17682 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17683 * wcsmbs/wcslen.c: Define and use WCSLEN.
17684 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17685 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17686 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17687 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17688 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17689 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17690 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17691
ce7dd29f
LD
176922011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17693
17694 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17695 strnlen-sse2-no-bsf.
17696 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17697 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17698 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17699 Add strnlen support.
17700 (USE_AS_STRNLEN): New macro.
17701 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17702 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17703 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17704 * sysdeps/x86_64/wcslen.S: New file.
17705
979c70a3
MZ
177062011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17707
17708 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17709 XMM-moves are used for copying on small sizes.
17710
2d09f82f
LD
177112011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17712
17713 * wcsmbs/Makefile (strop-tests): Add wcschr.
17714 * wcsmbs/test-wcschr.c: New file.
17715 * string/test-strchr.c: Update.
17716 Add wcschr support.
17717 (WIDE): New macro.
17718
619fccca
LD
177192011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17720
2d09f82f 17721 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
17722 * wcsmbs/test-wcslen.c: New file.
17723 * string/test-strlen.c: Update.
17724 Add wcslen support.
17725 (WIDE): New macro.
17726
09f699ea
UD
177272011-10-23 Ulrich Drepper <drepper@gmail.com>
17728
17729 * po/it.po: Update from translation team.
17730
95584d3b
LD
177312011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17732
17733 * sysdeps/x86_64/wcscmp.S: Update.
17734 Fix wrong comparison semantics.
17735 wcscmp shall use signed comparison not unsigned.
17736 Don't use substraction to avoid overflow bug.
17737 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17738 * wcsmbc/wcscmp.c: Likewise.
17739 * string/test-strcmp.c: Likewise.
17740 Add new tests to check cases with negative values.
17741
c8b3296b
UD
177422011-10-23 Ulrich Drepper <drepper@gmail.com>
17743
17744 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17745 * sysdeps/x86_64/dla.h: ...here. New file.
17746 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17747 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17748 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17749 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17750 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17751 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17752 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17753 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17754 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17755
246ad57a
AS
177562011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17757
17758 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17759 __ynl_finite aliases.
17760
a1a87169
UD
177612011-10-22 Ulrich Drepper <drepper@gmail.com>
17762
0d355eb7
UD
17763 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17764
a1a87169
UD
17765 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17766 define DLA_FMA.
17767 [DLA_FMA] (EMULV): Use DLA_FMA.
17768 [DLA_FMA] (MUL12): Use EMULV.
17769 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17770 that are not needed.
17771 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17772 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17773 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17774 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17775 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17776 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17777 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17778
ee2aafe0
AS
177792011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17780
17781 * math/s_nan.c: Undef __nan.
17782 * math/s_nanf.c: Undef __nanf.
17783 * math/s_nanl.c: Undef __nanl.
17784 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17785 "math_private.h".
17786
bc62c2fb
UD
177872011-10-22 Ulrich Drepper <drepper@gmail.com>
17788
77425c63
UD
17789 * math/s_catan.c: Add branch predictions.
17790 * math/s_catanf.c: Likewise.
17791 * math/s_catanh.c: Likewise.
17792 * math/s_catanhf.c: Likewise.
17793 * math/s_catanhl.c: Likewise.
17794 * math/s_catanl.c: Likewise.
17795 * math/s_cexp.c: Likewise.
17796 * math/s_cexpf.c: Likewise.
17797 * math/s_cexpl.c: Likewise.
17798 * math/s_clog.c: Likewise.
17799 * math/s_clog10.c: Likewise.
17800 * math/s_clog10f.c: Likewise.
17801 * math/s_clog10l.c: Likewise.
17802 * math/s_clogf.c: Likewise.
17803 * math/s_clogl.c: Likewise.
17804 * math/s_csqrt.c: Likewise.
17805 * math/s_csqrtf.c: Likewise.
17806 * math/s_csqrtl.c: Likewise.
17807 * math/s_ctanf.c: Likewise.
17808 * math/s_ctanh.c: Likewise.
17809 * math/s_ctanhf.c: Likewise.
17810 * math/s_ctanhl.c: Likewise.
17811 * math/s_ctanl.c: Likewise.
17812
bc62c2fb
UD
17813 * math/math_private.h: Define __nan, __nanf, __nanl.
17814 * math/s_cacosh.c: Include <math_private.h>.
17815 * math/s_cacoshl.c: Likewise.
17816 * math/s_casinh.c: Likewise.
17817 * math/s_casinhf.c: Likewise.
17818 * math/s_casinhl.c: Likewise.
17819 * math/s_ccos.c: Rely entire on ccosh.
17820 * math/s_ccosf.c: Rely entire on ccoshf.
17821 * math/s_ccosl.c: Rely entirely on ccoshl.
17822 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17823 Remove tests for FE_INVALID.
17824 * math/s_ccoshf.c: Likewise.
17825 * math/s_ccoshl.c: Likewise.
17826 * math/s_csin.c: Likewise.
17827 * math/s_csinf.c: Likewise.
17828 * math/s_csinh.c Likewise.
17829 * math/s_csinhf.c: Likewise.
17830 * math/s_csinhl.c: Likewise.
17831 * math/s_csinl.c: Likewise.
17832 * math/s_ctan.c: Likewise.
17833 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17834 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17835 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17836
8ec250a4
UD
178372011-10-21 Ulrich Drepper <drepper@gmail.com>
17838
c196fed8
UD
17839 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17840 compilation problems.
17841
8ec250a4
UD
17842 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17843 __builtin_expect.
17844
8d4f46c6
UD
178452011-10-20 Ulrich Drepper <drepper@gmail.com>
17846
ed72b654
UD
17847 * sysdeps/i386/configure.in: Test for -mfma4 option.
17848 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17849 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17850 COMMON_CPUID_INDEX_80000001.
17851 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17852 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17853 use it if FMA3 is not supported.
17854 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17855
8d4f46c6
UD
17856 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17857 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17858
d45c60c2
AS
178592011-10-20 Andreas Schwab <schwab@redhat.com>
17860
17861 [BZ #12892]
17862 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17863 it would create a cycle with a link time dependency.
17864
d9a4d2ab
UD
178652011-10-19 Ulrich Drepper <drepper@gmail.com>
17866
855d1560
UD
17867 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17868 instruction.
17869 * string/Makefile (strop-tests): Add rawmemchr.
17870 * string/test-rawmemchr.c: New file.
17871
d9a4d2ab
UD
17872 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17873 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17874 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17875 when compiling str{,n}casecmp and when AVX is available. Hook up
17876 new optimized code in initializers.
17877
8f3b1ffe
AS
178782011-10-19 Andreas Schwab <schwab@redhat.com>
17879
17880 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17881 __feraiseexcept instead of feraiseexcept.
17882
d38f1dba
UD
178832011-10-18 Ulrich Drepper <drepper@gmail.com>
17884
d9a8d0ab
UD
17885 * math/math_private.h: Define defaults for libc_fetestexcept and
17886 libc_feupdateenv.
17887 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17888 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17889 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17890 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17891 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17892 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17893 libc_fetestexcept and libc_feupdateenv.
17894
4855e3dd
UD
17895 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17896 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17897 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17898 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17899 libc_feholdexcept_setround.
17900
581d30e3
UD
17901 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17902 Add s_nearbyint-c and s_nearbyintf-c.
17903 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17904 nearbyintf inlines.
17905 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17906 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17907 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17908 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17909
d38f1dba
UD
17910 * math/math_private.h: Define defaults for libc_fegetround,
17911 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17912 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17913 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17914 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17915 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17916 standard functions.
17917 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17918 Remove comments and hacks for old compiler versions.
17919 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17920 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17921 libc_feholdexceptl.
17922
caa6c9d8
AS
179232011-10-18 Andreas Schwab <schwab@redhat.com>
17924
17925 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
17926 (__feraiseexcept_renamed): Add __NTH.
17927 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
17928 namespace violations.
17929
97c066e6
UD
179302011-10-17 Ulrich Drepper <drepper@gmail.com>
17931
99ce7b04
UD
17932 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17933
1004d182
UD
17934 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17935
228a984d
UD
17936 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17937 recently added interfaces.
17938 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17939
c8553a6a
UD
17940 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17941 about macro parameter expansion.
17942
ed22dcf6
UD
17943 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17944 __NO_MATH_INLINES is defined. Cleanups.
17945
17946 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17947 and __floorf is target has SSE4.1.
17948 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17949 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17950 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17951 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17952
b171c137
UD
17953 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17954 name.
17955 (floorf): Likewise.
17956
97c066e6
UD
17957 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17958
629f62ef
AS
179592011-10-17 Andreas Schwab <schwab@redhat.com>
17960
49a43d80
AS
17961 * misc/sys/cdefs.h: Fix last change.
17962
629f62ef
AS
17963 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17964 database lookup.
17965
e453f6cd
UD
179662011-10-16 Ulrich Drepper <drepper@gmail.com>
17967
aa78043a
UD
17968 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17969
ad0f5cad
UD
17970 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17971 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17972 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17973 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17974 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17975 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17976 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17977 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17978 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17979 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17980 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17981 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17982 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17983 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17984 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17985 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17986 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17987 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17988 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17989 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17990 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17991 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17992
17993 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17994 ceil, ceilf, floor, floorf.
17995
17996 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17997 Perform IRELATIVE relocations last.
17998
e453f6cd
UD
17999 * elf/do-rel.h: Add another parameter nrelative, replacing the
18000 local variable with the same name. Change name of the function
18001 to end in Rel or Rela (uppercase).
18002 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18003 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
18004 elf_dynamic_do_##reloc function.
18005
fd5bdc09
UD
180062011-10-15 Ulrich Drepper <drepper@gmail.com>
18007
79b195b5
UD
18008 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18009 is sufficient, at least on modern CPUs.
18010
d4a28569
UD
18011 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18012
b61099b5
UD
18013 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18014 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18015
bcf01e6d
UD
18016 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18017 __expl_finite.
18018 * math/bits/math-finite.h: Add entries for exp.
18019 * math/e_expl.c: Add __*_finite alias.
18020 * sysdeps/i386/fpu/e_exp.S: Likewise.
18021 * sysdeps/i386/fpu/e_expf.S: Likewise.
18022 * sysdeps/i386/fpu/e_expl.c: Likewise.
18023 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18024 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18025 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18026 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18027 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18028 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18029 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18030
ba1a0d59
UD
18031 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18032 is sufficient, at least on modern CPUs.
18033
fd5bdc09
UD
18034 * ctype/ctype-info.c (__ctype_init): Define.
18035 * include/ctype.h (__ctype_init): Declare.
18036 (__ctype_b_loc): The variable is always initialized.
18037 (__ctype_toupper_loc): Likewise.
18038 (__ctype_tolower_loc): Likewise.
18039 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18040 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18041
7872cfb0
AS
180422011-10-15 Andreas Schwab <schwab@linux-m68k.org>
18043
b468825a
AS
18044 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18045
7872cfb0
AS
18046 * configure.in: Also look in $cxxmachine/include for C++ system
18047 headers.
18048
be13f7bf
LD
180492011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18050
18051 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18052 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18053 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18054 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
18055 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18056 (USE_AS_WMEMCMP): New macro.
18057 Fixing indents.
18058 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18059 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18060 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18061 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18062 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18063 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18064 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18065 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18066 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18067 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18068 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18069 (USE_AS_WMEMCMP): New macro.
18070 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18071 * sysdeps/string/test-memcmp.c: Update.
18072 Fix simple_wmemcmp.
18073 Add new tests.
18074 * wcsmbs/wmemcmp.c: Update.
18075 (WMEMCMP): New macro.
18076 Fix overflow bug.
18077
556a2007
AJ
180782011-10-12 Andreas Jaeger <aj@suse.de>
18079
18080 [BZ #13268]
18081 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18082
538faaa7
UD
180832011-10-15 Ulrich Drepper <drepper@gmail.com>
18084
ab6737ff
UD
18085 * libio/iofwide.c (do_length): Avoid warning.
18086
538faaa7
UD
18087 * ctype/ctype.h (__isctype_f): Add missing __THROW.
18088
396a21b1
UD
180892011-10-14 Ulrich Drepper <drepper@gmail.com>
18090
cdf2901f
UD
18091 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18092
38ad40ce
UD
18093 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18094 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18095 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18096 * sysdeps/i386/i686/fpu/e_log.S: New file.
18097 * sysdeps/i386/i686/fpu/e_logf.S: New file.
18098 * sysdeps/i386/i686/fpu/e_logl.S: New file.
18099
396a21b1
UD
18100 * ctype/ctype.h: Add support for inlined isXXX functions when
18101 compiling C++ code.
18102
6b1f68c9
AS
181032011-10-14 Andreas Schwab <schwab@redhat.com>
18104
349290c0
AS
18105 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18106
6b1f68c9
AS
18107 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18108
f2282d42
RM
181092011-10-13 Roland McGrath <roland@hack.frob.com>
18110
18111 [BZ #13291]
18112 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18113
5298ffa8
AS
181142011-10-13 Andreas Schwab <schwab@redhat.com>
18115
714fad23
AS
18116 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18117 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18118 feraiseexcept.
18119
81dcc7fb
AS
18120 * sysdeps/x86_64/memrchr.S: Check for zero size.
18121
5298ffa8
AS
18122 * string/stratcliff.c: Add memrchr tests.
18123
951fbcec
LD
181242011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18125
18126 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18127 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18128 rawmemchr-sse2 rawmemchr-sse2-bsf.
18129 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18130 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18131 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18132 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18133 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18134 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18135 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18136 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18137 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18138 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18139 * string/memrchr.c (MEMRCHR): New macro.
18140
0ac5ae23
UD
181412011-10-12 Ulrich Drepper <drepper@gmail.com>
18142
18143 Add integration with gcc's -ffinite-math-only and optimize wrapper
18144 functions in libm.
18145 * Versions.def: Define GLIBC_2.15 version for libm.
18146 * math/Makefile (headers): Add bits/math-finite.h.
18147 * math/bits/math-finite.h: New file.
18148 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18149 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18150 * math/e_acoshl.c: Add __*_finite alias.
18151 * math/e_acosl.c: Likewise.
18152 * math/e_asinl.c: Likewise.
18153 * math/e_atan2l.c: Likewise.
18154 * math/e_atanhl.c: Likewise.
18155 * math/e_coshl.c: Likewise.
18156 * math/e_exp10.c: Likewise.
18157 * math/e_exp10f.c: Likewise.
18158 * math/e_exp10l.c: Likewise.
18159 * math/e_exp2l.c: Likewise.
18160 * math/e_fmodl.c: Likewise.
18161 * math/e_gammal_r.c: Likewise.
18162 * math/e_hypotl.c: Likewise.
18163 * math/e_j0l.c: Likewise.
18164 * math/e_j1l.c: Likewise.
18165 * math/e_jnl.c: Likewise.
18166 * math/e_lgammal_r.c: Likewise.
18167 * math/e_log10l.c: Likewise.
18168 * math/e_log2l.c: Likewise.
18169 * math/e_logl.c: Likewise.
18170 * math/e_powl.c: Likewise.
18171 * math/e_sinhl.c: Likewise.
18172 * math/e_sqrtl.c: Likewise.
18173 * math/e_scalb.c: Completely rewritten and optimized.
18174 * math/e_scalbf.c: Likewise.
18175 * math/e_scalbl.c: Likewise.
18176 * math/w_acos.c: Likewise.
18177 * math/w_acosf.c: Likewise.
18178 * math/w_acosl.c: Likewise.
18179 * math/w_acosh.c: Likewise.
18180 * math/w_acoshf.c: Likewise.
18181 * math/w_acoshl.c: Likewise.
18182 * math/w_asin.c: Likewise.
18183 * math/w_asinf.c: Likewise.
18184 * math/w_asinl.c: Likewise.
18185 * math/w_atan2.c: Likewise.
18186 * math/w_atan2f.c: Likewise.
18187 * math/w_atan2l.c: Likewise.
18188 * math/w_atanh.c: Likewise.
18189 * math/w_atanhf.c: Likewise.
18190 * math/w_atanhl.c: Likewise.
18191 * math/w_exp10.c: Likewise.
18192 * math/w_exp10f.c: Likewise.
18193 * math/w_exp10l.c: Likewise.
18194 * math/w_fmod.c: Likewise.
18195 * math/w_fmodf.c: Likewise.
18196 * math/w_fmodl.c: Likewise.
18197 * math/w_j0.c: Likewise.
18198 * math/w_j0f.c: Likewise.
18199 * math/w_j0l.c: Likewise.
18200 * math/w_j1.c: Likewise.
18201 * math/w_j1f.c: Likewise.
18202 * math/w_j1l.c: Likewise.
18203 * math/w_jn.c: Likewise.
18204 * math/w_jnf.c: Likewise.
18205 * math/w_log.c: Likewise.
18206 * math/w_logf.c: Likewise.
18207 * math/w_logl.c: Likewise.
18208 * math/w_log10.c: Likewise.
18209 * math/w_log10f.c: Likewise.
18210 * math/w_log10l.c: Likewise.
18211 * math/w_log2.c: Likewise.
18212 * math/w_log2f.c: Likewise.
18213 * math/w_log2l.c: Likewise.
18214 * math/w_pow.c: Likewise.
18215 * math/w_powf.c: Likewise.
18216 * math/w_powl.c: Likewise.
18217 * math/w_remainder.c: Likewise.
18218 * math/w_remainderf.c: Likewise.
18219 * math/w_remainderl.c: Likewise.
18220 * math/w_scalb.c: Likewise.
18221 * math/w_scalbf.c: Likewise.
18222 * math/w_scalbl.c: Likewise.
18223 * math/w_sqrt.c: Likewise.
18224 * math/w_sqrtf.c: Likewise.
18225 * math/w_sqrtl.c: Likewise.
18226 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18227 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18228 used.
18229 * math/math_private.h: Declare __kernel_standard_f.
18230 * math/w_cosh.c: Remove cruft and optimize a bit.
18231 * math/w_coshf.c: Likewise.
18232 * math/w_coshl.c: Likewise.
18233 * math/w_exp2.c: Likewise.
18234 * math/w_exp2f.c: Likewise.
18235 * math/w_exp2l.c: Likewise.
18236 * math/w_hypot.c: Likewise.
18237 * math/w_hypotf.c: Likewise.
18238 * math/w_hypotl.c: Likewise.
18239 * math/w_lgamma.c: Likewise.
18240 * math/w_lgamma_r.c: Likewise.
18241 * math/w_lgammaf.c: Likewise.
18242 * math/w_lgammaf_r.c: Likewise.
18243 * math/w_lgammal.c: Likewise.
18244 * math/w_lgammal_r.c: Likewise.
18245 * math/w_sinh.c: Likewise.
18246 * math/w_sinhf.c: Likewise.
18247 * math/w_sinhl.c: Likewise.
18248 * math/w_tgamma.c: Likewise.
18249 * math/w_tgammaf.c: Likewise.
18250 * math/w_tgammal.c: Likewise.
18251 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18252 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18253 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18254 Minor optimizations. Pretty printing. Remove cruft.
18255 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18256 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18257 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18258 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18259 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18260 * sysdeps/i386/fpu/e_asin.S: Likewise.
18261 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18262 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18263 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18264 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18265 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18266 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18267 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18268 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18269 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18270 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18271 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18272 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18273 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18274 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18275 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18276 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18277 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18278 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18279 * sysdeps/i386/fpu/e_log.S: Likewise.
18280 * sysdeps/i386/fpu/e_log10.S: Likewise.
18281 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18282 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18283 * sysdeps/i386/fpu/e_log2.S: Likewise.
18284 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18285 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18286 * sysdeps/i386/fpu/e_logf.S: Likewise.
18287 * sysdeps/i386/fpu/e_logl.S: Likewise.
18288 * sysdeps/i386/fpu/e_pow.S: Likewise.
18289 * sysdeps/i386/fpu/e_powf.S: Likewise.
18290 * sysdeps/i386/fpu/e_powl.S: Likewise.
18291 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18292 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18293 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18294 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18295 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18296 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18297 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18298 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18299 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18300 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18301 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18302 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18303 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18304 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18305 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18306 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18307 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18308 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18309 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18310 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18311 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18312 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18313 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18314 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18315 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18316 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18317 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18318 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18319 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18320 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18321 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18322 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18323 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18324 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18325 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18326 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18327 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18328 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18329 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18330 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18331 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18332 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18333 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18334 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18335 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18336 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18337 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18338 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18339 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18340 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18341 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18342 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18343 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18344 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18345 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18346 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18347 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18348 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18349 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18350 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18351 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18352 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18353 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18354 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18355 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18356 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18357 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18358 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18359 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18360 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18361 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18362 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18363 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18364 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18365 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18366 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18367 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18368 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18369 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18370 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18371 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18372 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18373 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18374 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18375 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18376 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18377 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18378 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18379 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18380 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18381 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18382 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18383 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18384 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18385 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18386 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18387 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18388 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18389 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18390 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18391 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18392 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18393 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18394 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18395 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18396 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18397 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18398 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18399 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18400 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18401 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18402 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18403 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18404 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18405 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18406 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18407 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18408 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18409 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18410 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18411 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18412 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18413 (__isnanf): Likewise.
18414 (__isinf_ns): Likewise.
18415 (__isinf_nsf): Likewise.
18416 (__finite): Likewise.
18417 (__finitef): Likewise.
18418 (__ieee754_sqrt): Define as macro.
18419 (__ieee754_sqrtf): Define as macro.
18420 (__ieee754_sqrtl): Define as macro.
18421 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18422 inlined copy.
18423 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18424 __FINITE_MATH_ONLY__ consistent.
18425 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18426
12cc2fcd
AS
184272011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18428
a843a204
AS
18429 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18430 of rawmemchr.
18431
12cc2fcd
AS
18432 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18433
c853acd5
UD
184342011-10-09 Ulrich Drepper <drepper@gmail.com>
18435
18436 * po/ja.po: Update from translation team.
18437
c658d255
RM
184382011-10-08 Roland McGrath <roland@hack.frob.com>
18439
110946e4
RM
18440 * locale/programs/locarchive.c (prepare_address_space): New function.
18441 (create_archive, enlarge_archive, open_archive): Use it.
18442
50604220
RM
18443 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18444 inside [SHARED], where it is used.
18445
c658d255
RM
18446 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18447
18448 * nss/getent.c (netgroup_keys): Remove unused variable.
18449 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18450
6a621eb7
UD
184512011-10-08 Ulrich Drepper <drepper@gmail.com>
18452
7edb55ce
UD
18453 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18454 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18455 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18456 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18457 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18458 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18459 * math/Makefile (libm-calls): Add s_isinf_ns.
18460 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18461 * math/multc3.c: Likewise.
18462 * math/s_casin.c: Likewise.
18463 * math/s_casinf.c: Likewise.
18464 * math/s_casinl.c: Likewise.
18465 * math/s_ccos.c: Likewise.
18466 * math/s_ccosf.c: Likewise.
18467 * math/s_ccosl.c: Likewise.
18468 * math/s_ctan.c: Likewise.
18469 * math/s_ctanf.c: Likewise.
18470 * math/s_ctanh.c: Likewise.
18471 * math/s_ctanhf.c: Likewise.
18472 * math/s_ctanhl.c: Likewise.
18473 * math/s_ctanl.c: Likewise.
18474 * math/w_fmod.c: Likewise.
18475 * math/w_fmodf.c: Likewise.
18476 * math/w_fmodl.c: Likewise.
18477 * math/w_remainder.c: Likewise.
18478 * math/w_remainderf.c: Likewise.
18479 * math/w_remainderl.c: Likewise.
18480 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18481 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18482 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18483 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18484 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18485 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18486 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18487 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18488
187da0ae
UD
18489 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18490 of the number.
18491 * stdio-common/printf_fphex.c: Likewise.
18492 * stdio-common/printf_size.c: Likewise.
18493
9277c064
UD
18494 * math/e_exp10.c: Include math_private.h using <...> not "...".
18495 * math/e_exp10f.c: Likewise.
18496 * math/e_exp10l.c: Likewise.
18497 * math/e_exp2l.c: Likewise.
18498 * math/e_j0l.c: Likewise.
18499 * math/e_j1l.c: Likewise.
18500 * math/e_jnl.c: Likewise.
18501 * math/e_lgammal_r.c: Likewise.
18502 * math/e_rem_pio2l.c: Likewise.
18503 * math/e_scalb.c: Likewise.
18504 * math/e_scalbf.c: Likewise.
18505 * math/e_scalbl.c: Likewise.
18506 * math/k_cosl.c: Likewise.
18507 * math/k_sinl.c: Likewise.
18508 * math/k_tanl.c: Likewise.
18509 * math/s_cacoshf.c: Likewise.
18510 * math/s_catan.c: Likewise.
18511 * math/s_catanf.c: Likewise.
18512 * math/s_catanh.c: Likewise.
18513 * math/s_catanhf.c: Likewise.
18514 * math/s_catanhl.c: Likewise.
18515 * math/s_catanl.c: Likewise.
18516 * math/s_ccosh.c: Likewise.
18517 * math/s_ccoshf.c: Likewise.
18518 * math/s_ccoshl.c: Likewise.
18519 * math/s_cexp.c: Likewise.
18520 * math/s_cexpf.c: Likewise.
18521 * math/s_cexpl.c: Likewise.
18522 * math/s_clog.c: Likewise.
18523 * math/s_clog10.c: Likewise.
18524 * math/s_clog10f.c: Likewise.
18525 * math/s_clog10l.c: Likewise.
18526 * math/s_clogf.c: Likewise.
18527 * math/s_clogl.c: Likewise.
18528 * math/s_csin.c: Likewise.
18529 * math/s_csinf.c: Likewise.
18530 * math/s_csinh.c: Likewise.
18531 * math/s_csinhf.c: Likewise.
18532 * math/s_csinhl.c: Likewise.
18533 * math/s_csinl.c: Likewise.
18534 * math/s_csqrt.c: Likewise.
18535 * math/s_csqrtf.c: Likewise.
18536 * math/s_csqrtl.c: Likewise.
18537 * math/s_ctan.c: Likewise.
18538 * math/s_ctanf.c: Likewise.
18539 * math/s_ctanh.c: Likewise.
18540 * math/s_ctanhf.c: Likewise.
18541 * math/s_ctanhl.c: Likewise.
18542 * math/s_ctanl.c: Likewise.
18543 * math/s_ldexp.c: Likewise.
18544 * math/s_ldexpf.c: Likewise.
18545 * math/s_ldexpl.c: Likewise.
18546 * math/s_significand.c: Likewise.
18547 * math/s_significandf.c: Likewise.
18548 * math/s_significandl.c: Likewise.
18549 * math/w_acos.c: Likewise.
18550 * math/w_acosf.c: Likewise.
18551 * math/w_acosh.c: Likewise.
18552 * math/w_acoshf.c: Likewise.
18553 * math/w_acoshl.c: Likewise.
18554 * math/w_acosl.c: Likewise.
18555 * math/w_asin.c: Likewise.
18556 * math/w_asinf.c: Likewise.
18557 * math/w_asinl.c: Likewise.
18558 * math/w_atan2.c: Likewise.
18559 * math/w_atan2f.c: Likewise.
18560 * math/w_atan2l.c: Likewise.
18561 * math/w_atanh.c: Likewise.
18562 * math/w_atanhf.c: Likewise.
18563 * math/w_atanhl.c: Likewise.
18564 * math/w_cosh.c: Likewise.
18565 * math/w_coshf.c: Likewise.
18566 * math/w_coshl.c: Likewise.
18567 * math/w_dremf.c: Likewise.
18568 * math/w_exp10.c: Likewise.
18569 * math/w_exp10f.c: Likewise.
18570 * math/w_exp10l.c: Likewise.
18571 * math/w_exp2.c: Likewise.
18572 * math/w_exp2f.c: Likewise.
18573 * math/w_fmod.c: Likewise.
18574 * math/w_fmodf.c: Likewise.
18575 * math/w_fmodl.c: Likewise.
18576 * math/w_hypot.c: Likewise.
18577 * math/w_hypotf.c: Likewise.
18578 * math/w_hypotl.c: Likewise.
18579 * math/w_j0.c: Likewise.
18580 * math/w_j0f.c: Likewise.
18581 * math/w_j0l.c: Likewise.
18582 * math/w_j1.c: Likewise.
18583 * math/w_j1f.c: Likewise.
18584 * math/w_j1l.c: Likewise.
18585 * math/w_jn.c: Likewise.
18586 * math/w_jnf.c: Likewise.
18587 * math/w_jnl.c: Likewise.
18588 * math/w_lgamma.c: Likewise.
18589 * math/w_lgamma_r.c: Likewise.
18590 * math/w_lgammaf.c: Likewise.
18591 * math/w_lgammaf_r.c: Likewise.
18592 * math/w_lgammal.c: Likewise.
18593 * math/w_lgammal_r.c: Likewise.
18594 * math/w_log.c: Likewise.
18595 * math/w_log10.c: Likewise.
18596 * math/w_log10f.c: Likewise.
18597 * math/w_log10l.c: Likewise.
18598 * math/w_log2.c: Likewise.
18599 * math/w_log2f.c: Likewise.
18600 * math/w_log2l.c: Likewise.
18601 * math/w_logf.c: Likewise.
18602 * math/w_logl.c: Likewise.
18603 * math/w_pow.c: Likewise.
18604 * math/w_powf.c: Likewise.
18605 * math/w_powl.c: Likewise.
18606 * math/w_remainder.c: Likewise.
18607 * math/w_remainderf.c: Likewise.
18608 * math/w_remainderl.c: Likewise.
18609 * math/w_scalb.c: Likewise.
18610 * math/w_scalbf.c: Likewise.
18611 * math/w_scalbl.c: Likewise.
18612 * math/w_sinh.c: Likewise.
18613 * math/w_sinhf.c: Likewise.
18614 * math/w_sinhl.c: Likewise.
18615 * math/w_sqrt.c: Likewise.
18616 * math/w_sqrtf.c: Likewise.
18617 * math/w_sqrtl.c: Likewise.
18618 * math/w_tgamma.c: Likewise.
18619 * math/w_tgammaf.c: Likewise.
18620 * math/w_tgammal.c: Likewise.
18621
6a621eb7
UD
18622 * po/ja.po: Update from translation team.
18623
bf582445
AJ
186242011-09-29 Andreas Jaeger <aj@suse.de>
18625
f9efbf3a
AJ
18626 [BZ #13179]
18627 * sunrpc/netname.c (netname2host): Fix logic.
18628
bf582445
AJ
18629 [BZ #6779]
18630 [BZ #6783]
18631 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18632 correctly.
18633 * math/w_remainder.c (__remainder): Likewise.
18634 * math/w_remainderf.c (__remainderf): Likewise.
18635 * math/libm-test.inc (remainder_test): Add test cases.
18636
48693bea
AK
186372011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18638
18639 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18640 sdiv_qrnnd.
18641
42622229
LD
186422011-10-07 Ulrich Drepper <drepper@gmail.com>
18643
18644 * string/test-memcmp.c: Avoid unncessary #defines.
18645 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18646
093ecf92
LD
186472011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18648
18649 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18650 Use new sse2 version for core i3 - i7 as it's faster
18651 than sse42 version.
18652 (bit_Prefer_PMINUB_for_stringop): New.
18653 * sysdeps/x86_64/rawmemchr.S: Update.
18654 Replace with faster SSE2 version.
18655 * sysdeps/x86_64/memrchr.S: New file.
18656 * sysdeps/x86_64/memchr.S: Update.
18657 Replace with faster SSE2 version.
18658
fde56e5c
MP
186592011-09-12 Marek Polacek <mpolacek@redhat.com>
18660
18661 * elf/dl-load.c (lose): Add cast to avoid warning.
18662
21fd49a9
UD
186632011-10-07 Ulrich Drepper <drepper@gmail.com>
18664
5a06e643
UD
18665 * po/ca.po: Update from translation team.
18666
684ae515
UD
18667 * inet/getnetgrent_r.c: Hook up nscd.
18668 * nscd/Makefile (routines): Add nscd_netgroup.
18669 (nscd-modules): Add netgroupcache.
18670 (CFLAGS-netgroupcache.c): Define.
18671 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18672 (cache_search): Add const to second parameter.
18673 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18674 INNETGR.
18675 (dbs): Add netgrdb entry.
18676 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18677 (verify_persistent_db): Handle netgrdb.
18678 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18679 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18680 GETFDNETGR.
18681 (netgroup_response_header): Define.
18682 (innetgroup_response_header): Define.
18683 (datahead): Add netgroup_response_header and innetgroup_response_header
18684 elements.
18685 * nscd/nscd.conf: Add entries for netgroup cache.
18686 * nscd/nscd.h (dbtype): Add netgrdb.
18687 (_PATH_NSCD_NETGROUP_DB): Define.
18688 (netgroup_iov_disabled): Declare.
18689 (xmalloc, xcalloc, xrealloc): Move declarations here.
18690 (cache_search): Adjust prototype.
18691 Add netgroup-related prototypes.
18692 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18693 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18694 (__nscd_innetgr): Declare.
18695 * nscd/selinux.c (perms): Use access_vector_t as element type and
18696 add netgroup-related initializers.
18697 * nscd/netgroupcache.c: New file.
18698 * nscd/nscd_netgroup.c: New file.
18699 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18700 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18701 For four parameters use innetgr.
18702 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18703 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18704 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18705 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18706
21fd49a9
UD
18707 * nscd/connections.c (register_traced_file): Don't register file
18708 for disabled databases.
18709
054c0457
UD
187102011-10-06 Ulrich Drepper <drepper@gmail.com>
18711
32b63198
UD
18712 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18713
054c0457
UD
18714 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18715 from tree and freeing node.
18716
64031225
JO
187172011-09-25 Jiri Olsa <jolsa@redhat.com>
18718
18719 * nss/nsswitch.c (__nss_database_lookup): Handle
18720 nss_parse_service_list out of memory case.
18721
0490345c
JO
187222011-09-15 Jiri Olsa <jolsa@redhat.com>
18723
18724 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18725 out of memory case.
18726
3a62d00d
AS
187272011-10-04 Andreas Schwab <schwab@redhat.com>
18728
18729 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18730 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18731 pass it down.
18732 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18733 elf_machine_rela, elf_machine_lazy_rel.
18734 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18735 (ELF_DYNAMIC_DO_REL): Likewise.
18736 (ELF_DYNAMIC_DO_RELA): Likewise.
18737 (ELF_DYNAMIC_RELOCATE): Likewise.
18738 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18739 to ELF_DYNAMIC_DO_REL.
18740 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18741 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18742 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18743 elf_machine_rela.
18744 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18745 skip_ifunc, don't call ifunc function if non-zero.
18746 (elf_machine_rela): Likewise.
18747 (elf_machine_lazy_rel): Likewise.
18748 (elf_machine_lazy_rela): Likewise.
18749 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18750 (elf_machine_lazy_rel): Likewise.
18751 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18752 Likewise.
18753 (elf_machine_lazy_rel): Likewise.
18754 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18755 Likewise.
18756 (elf_machine_lazy_rel): Likewise.
18757 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18758 (elf_machine_lazy_rel): Likewise.
18759 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18760 (elf_machine_lazy_rel): Likewise.
18761 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18762 (elf_machine_lazy_rel): Likewise.
18763 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18764 (elf_machine_lazy_rel): Likewise.
18765 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18766 (elf_machine_lazy_rel): Likewise.
18767 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18768 (elf_machine_lazy_rel): Likewise.
18769
68577918
UD
187702011-09-28 Ulrich Drepper <drepper@gmail.com>
18771
18772 * nss/nss_files/files-init.c (_nss_files_init): Use static
18773 initialization for all the *_traced_file variables.
18774
68822d74
AS
187752011-09-28 Andreas Schwab <schwab@redhat.com>
18776
18777 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18778
2056100b
RM
187792011-09-27 Roland McGrath <roland@hack.frob.com>
18780
18781 [BZ #13226]
18782 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18783
32c76b63
AS
187842011-09-27 Andreas Schwab <schwab@redhat.com>
18785
18786 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18787 Reread the line before reparsing it.
18788
bf972c9d
AS
187892011-09-26 Andreas Schwab <schwab@redhat.com>
18790
18791 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18792
e057a1b5
JM
187932011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18794 Maxim Kuvyrkov <maxim@codesourcery.com>
18795 Joseph Myers <joseph@codesourcery.com>
18796
18797 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18798 if needed for __stack_chk_guard.
18799
bc7e1c36
RM
188002011-09-19 Roland McGrath <roland@hack.frob.com>
18801
ecb1482f
RM
18802 * sysdeps/posix/spawni.c (script_execute): Always define it.
18803 It will be optimized away if unused.
18804 (maybe_script_execute): New function.
18805 (__spawni): Call it.
18806
bc7e1c36
RM
18807 * Makerules: Don't include tls.make.
18808 (config-tls): Always set to thread.
18809 * tls.make.c: File removed.
18810
1c3b002b
MF
188112011-09-19 Mike Frysinger <vapier@gentoo.org>
18812
18813 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18814 * config.make.in (CPPFLAGS-config): New substituted variable.
18815
2840865d
UD
188162011-09-15 Ulrich Drepper <drepper@gmail.com>
18817
88738eb6
UD
18818 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18819
cbf645a6 18820 [BZ #13192]
2840865d
UD
18821 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18822 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18823
b402e91a
RM
188242011-09-15 Roland McGrath <roland@hack.frob.com>
18825
18826 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18827 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18828 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18829 (CALL_FAIL): Likewise.
18830 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18831 (CALL_FAIL): Macro removed.
18832 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18833
4c1a1f71
UD
188342011-09-15 Ulrich Drepper <drepper@gmail.com>
18835
18836 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18837 for __FINITE_MATH_ONLY__ == 1.
18838
edc121be
AS
188392011-09-15 Andreas Schwab <schwab@redhat.com>
18840
18841 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18842 __ieee754_sqrt instead of sqrt.
18843 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18844 __ieee754_sqrtf instead of sqrtf.
18845 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18846 __floorf instead of floorf.
18847 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18848 __floorf, __truncf instead of floorf, truncf.
18849
cd205654
UD
188502011-09-14 Ulrich Drepper <drepper@gmail.com>
18851
ee4d0315
UD
18852 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18853
cd205654
UD
18854 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18855 __extern_always_inline.
18856 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18857 32-bit.
18858
48b67d71
AS
188592011-09-14 Andreas Schwab <schwab@redhat.com>
18860
18861 * elf/rtld.c (dl_main): Also relocate in dependency order when
18862 doing symbol dependency testing.
18863
1ae12c75
AS
188642011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18865
18866 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18867 Always define `refsym'.
18868
995a80df
AS
188692011-09-13 Andreas Schwab <schwab@redhat.com>
18870
e529793b
AS
18871 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18872 (__FD_ELT): Renamed from __FDELT.
18873 * misc/bits/select2.h (__FD_ELT): Likewise.
18874 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18875 __FD_MASK instead of __FDELT, __FDMASK.
18876 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18877 Likewise.
18878 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18879 Likewise.
18880
52d4fef8
AS
18881 * elf/Makefile (gen-ldd): Fix pattern.
18882
995a80df
AS
18883 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18884 (init_tls): Likewise.
18885
8682f8b0
UD
188862011-09-12 Ulrich Drepper <drepper@gmail.com>
18887
18888 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18889
de82006d
AS
188902011-09-12 Andreas Schwab <schwab@redhat.com>
18891
a7c8e6a1
AS
18892 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18893 `struct cmsghdr *' instead of `void *'.
18894 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18895 Likewise.
18896
0f31fe77
AS
188972011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18898
18899 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18900 if non-absolute.
18901 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18902 ldd_rewrite_script.
0f31fe77 18903
32b4c839
UD
189042011-09-11 Ulrich Drepper <drepper@gmail.com>
18905
83cd1420
UD
18906 * configure.in: Remove --with-tls option.
18907 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18908 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18909 out in case it is missing.
18910 * sysdeps/ia64/elf/configure.in: Likewise.
18911 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18912 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18913 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18914 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18915 * sysdeps/sh/elf/configure.in: Likewise.
18916 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18917 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18918 * sysdeps/x86_64/elf/configure.in: Likewise.
18919 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18920 * sysdeps/mach/hurd/tls.h: Likewise.
18921
633f745d
UD
18922 [BZ #13067]
18923 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18924
f318beb8
UD
18925 [BZ #13090]
18926 * configure.in: Fix use of AC_INIT.
18927
32b4c839
UD
18928 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18929
3ce1f295
UD
189302011-09-10 Ulrich Drepper <drepper@gmail.com>
18931
bb016596
UD
18932 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18933 __set_errno.
8e58439c
UD
18934 * malloc/hooks.c: Likewise.
18935
aebae053 18936 [BZ #11929]
02d46fc4
UD
18937 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18938 variables statically.
18939 (narenas): Initialize.
18940 (list_lock): Initialize.
bb016596
UD
18941 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18942 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
18943 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18944 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18945 Add initializers to main_arena and mp_.
18946 (malloc_state): Remove pagesize member. Change all users to use
18947 GLRO(dl_pagesize).
18948
18949 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18950 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18951 is always initialized.
18952
22a89187
UD
18953 * malloc/malloc.c: Removed unused configurations and dead code.
18954 * malloc/arena.c: Likewise.
18955 * malloc/hooks.c: Likewise.
02d46fc4 18956 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 18957
d063d164
UD
18958 * include/tls.h: Removed. USE___THREAD must always be defined.
18959 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18960 * elf/dl-libc.c: Likewise.
18961 * elf/dl-tsd.c: Likewise.
18962 * include/errno.h: Likewise.
18963 * include/netdb.h: Likewise.
18964 * include/resolv.h: Likewise.
18965 * inet/herrno-loc.c: Likewise.
18966 * inet/herrno.c: Likewise.
18967 * malloc/arena.c: Likewise.
18968 * malloc/hooks.c: Likewise.
18969 * malloc/malloc.c: Likewise.
18970 * resolv/res-state.c: Likewise.
18971 * resolv/res_libc.c: Likewise.
18972 * sysdeps/i386/dl-machine.h: Likewise.
18973 * sysdeps/ia64/dl-machine.h: Likewise.
18974 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18975 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18976 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18977 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18978 * sysdeps/sh/dl-machine.h: Likewise.
18979 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18980 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18981 * sysdeps/unix/i386/sysdep.S: Likewise.
18982 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18983 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18984 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18985 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18986 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18987 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18988 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18989 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18990 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18991 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18992 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18993 * sysdeps/x86_64/dl-machine.h: Likewise.
18994 * tls.make.c: Likewise.
18995
3ce1f295
UD
18996 * configure.in: Remove --with-__thread option. Make tests for
18997 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18998 tls_model attribute fail if no support is available. Remove
18999 USE_IN_LIBIO.
19000 * Makeconfig: Adjust for dropped configure option. All features are
19001 now mandatory.
19002 * Makerules: Likewise.
19003 * Versions.def: Likewise.
19004 * argp/argp-fmtstream.c: Likewise.
19005 * argp/argp-fmtstream.h: Likewise.
19006 * argp/argp-help.c: Likewise.
19007 * assert/assert.c: Likewise.
19008 * config.h.in: Likewise.
19009 * config.make.in: Likewise.
19010 * configure: Likewise.
19011 * configure.in: Likewise.
19012 * csu/Versions: Likewise.
19013 * csu/init.c: Likewise.
19014 * elf/tst-audit2.c: Likewise.
19015 * elf/tst-tls10.c: Likewise.
19016 * elf/tst-tls10.h: Likewise.
19017 * elf/tst-tls11.c: Likewise.
19018 * elf/tst-tls12.c: Likewise.
19019 * elf/tst-tls14.c: Likewise.
19020 * elf/tst-tlsmod11.c: Likewise.
19021 * elf/tst-tlsmod12.c: Likewise.
19022 * elf/tst-tlsmod13.c: Likewise.
19023 * elf/tst-tlsmod13a.c: Likewise.
19024 * elf/tst-tlsmod14a.c: Likewise.
19025 * elf/tst-tlsmod15b.c: Likewise.
19026 * elf/tst-tlsmod16a.c: Likewise.
19027 * elf/tst-tlsmod16b.c: Likewise.
19028 * elf/tst-tlsmod7.c: Likewise.
19029 * elf/tst-tlsmod8.c: Likewise.
19030 * elf/tst-tlsmod9.c: Likewise.
19031 * gmon/gmon.c: Likewise.
19032 * grp/fgetgrent_r.c: Likewise.
19033 * grp/putgrent.c: Likewise.
19034 * hurd/fopenport.c: Likewise.
19035 * include/libc-symbols.h: Likewise.
19036 * include/tls.h: Likewise.
19037 * intl/gettextP.h: Likewise.
19038 * intl/loadinfo.h: Likewise.
19039 * locale/global-locale.c: Likewise.
19040 * locale/localeinfo.h: Likewise.
19041 * mach/devstream.c: Likewise.
19042 * malloc/arena.c: Likewise.
19043 * malloc/set-freeres.c: Likewise.
19044 * misc/err.c: Likewise.
19045 * misc/getttyent.c: Likewise.
19046 * misc/mntent_r.c: Likewise.
19047 * posix/getopt.c: Likewise.
19048 * posix/wordexp.c: Likewise.
19049 * pwd/fgetpwent_r.c: Likewise.
19050 * resolv/Versions: Likewise.
19051 * resolv/res_hconf.c: Likewise.
19052 * shadow/fgetspent_r.c: Likewise.
19053 * shadow/putspent.c: Likewise.
19054 * stdio-common/printf_fphex.c: Likewise.
19055 * stdio-common/tmpfile.c: Likewise.
19056 * stdlib/abort.c: Likewise.
19057 * stdlib/fmtmsg.c: Likewise.
19058 * sunrpc/auth_unix.c: Likewise.
19059 * sunrpc/clnt_perr.c: Likewise.
19060 * sunrpc/clnt_tcp.c: Likewise.
19061 * sunrpc/clnt_udp.c: Likewise.
19062 * sunrpc/clnt_unix.c: Likewise.
19063 * sunrpc/openchild.c: Likewise.
19064 * sunrpc/svc_simple.c: Likewise.
19065 * sunrpc/svc_tcp.c: Likewise.
19066 * sunrpc/svc_udp.c: Likewise.
19067 * sunrpc/svc_unix.c: Likewise.
19068 * sunrpc/xdr.c: Likewise.
19069 * sunrpc/xdr_array.c: Likewise.
19070 * sunrpc/xdr_rec.c: Likewise.
19071 * sunrpc/xdr_ref.c: Likewise.
19072 * sunrpc/xdr_stdio.c: Likewise.
19073
1248c1c4
PB
190742011-09-09 Ulrich Drepper <drepper@gmail.com>
19075
19076 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19077
190782011-07-03 Andreas Jaeger <aj@suse.de>
19079
19080 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19081 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19082 regenerate with gen-libm-tests.pl.
19083
190842010-05-12 Petr Baudis <pasky@suse.cz>
19085
19086 [BZ #11589]
19087 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19088 around j0() zero points by switching to j1().
19089 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19090 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19091 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19092 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19093
f22e1074
UD
190942011-09-09 Ulrich Drepper <drepper@gmail.com>
19095
f19009c1
UD
19096 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19097 instead of 0.
19098 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
19099 instead of 0. .
19100 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19101 Patch in part by Pavel Roskin <proski@gnu.org>.
19102
3f8cc204
UD
19103 [BZ #13138]
19104 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19105 realloc.
19106 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
19107 Free memory block if necessary.
19108
f22e1074
UD
19109 [BZ #12847]
19110 * libio/genops.c (INTDEF): For string streams the _lock pointer can
19111 be NULL. Don't lock in this case.
19112
0a2349f9
RM
191132011-09-09 Roland McGrath <roland@hack.frob.com>
19114
19115 * elf/elf.h (ELFOSABI_GNU): New macro.
19116 (ELFOSABI_LINUX): Define to that.
19117
f3cdd467
DZ
191182011-07-29 Denis Zaitceff <zaitceff@gmail.com>
19119
19120 * string/strncat.c (strncat): Undef the symbol in case it has been
19121 defined in bits/string.h.
19122
74718d13
UD
191232011-09-09 Ulrich Drepper <drepper@gmail.com>
19124
633e9e0f
UD
19125 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19126
0a2349f9 19127 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
19128 link map.
19129
f9924780
AJ
191302011-08-17 Andreas Jaeger <aj@suse.de>
19131
19132 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19133
7f5517aa
PP
191342011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19135 Ian Lance Taylor <iant@google.com>
19136
19137 * math/libm-test.inc (lround_test): New testcase.
19138 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19139
762011fe
UD
191402011-09-08 Ulrich Drepper <drepper@gmail.com>
19141
92963737
UD
19142 * Makefile: Remove support for automatic cvs check-ins.
19143 * Makerules: Likewise.
19144 * config.make.in: Likewise.
19145 * configure.in: Likewise.
19146 * intl/Makefile: Likewise.
19147 * locale/Makefile: Likewise.
19148 * po/Makefile: Likewise.
19149 * posix/Makefile: Likewise.
19150 * sysdeps/gnu/Makefile: Likewise.
19151 * sysdeps/mach/hurd/Makefile: Likewise.
19152 * sysdeps/sparc/sparc32/Makefile: Likewise.
19153
b0727fd8
JS
19154 [BZ #13118]
19155 * posix/Makefile (bug-regex32-ENV): Define.
19156 Patch by John Stanley <jpsinthemix@verizon.net>.
19157
a0f33f99
UD
19158 * misc/Makefile (headers): Add bits/select2.h.
19159 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19160 * misc/bits/select2.h: New file.
19161 * include/bits/select2.h: New file.
19162 * debug/Makefile (routines): Add fdelt_chk.
19163 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19164 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19165 FD_ISSET.
19166 * debug/fdelt_chk.c: New file.
19167
762011fe
UD
19168 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19169 * wcsmbs/test-wmemcmp.c: Likewise.
19170 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 19171 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
19172
191732011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19174
19175 * string/Makefile (strop-tests): Add memcmp.
19176 * string/test-wmemcmp.c: New file.
19177 * string/test-memcmp.c: Add wmemcmp support.
19178
7f513ec8
RM
191792011-09-08 Roland McGrath <roland@hack.frob.com>
19180
0442afb4
RM
19181 [BZ #13153]
19182 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19183 2011-07-19 change.
19184
7f513ec8
RM
19185 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19186 garbage value in a __mach_port_mod_refs call in the cases of the
19187 task-self and thread-self ports.
19188
a12b2239
ST
191892011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19190
19191 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19192
610f9ab4
AS
191932011-09-08 Andreas Schwab <schwab@redhat.com>
19194
7f513ec8 19195 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 19196
48882a1a
LD
191972011-09-07 Ulrich Drepper <drepper@gmail.com>
19198
b49865be
UD
19199 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19200
fdc86bc9
UD
19201 * elf/dl-libc.c (dlerror_run): Pass back error code from
19202 dl_catch_error.
19203
c966526a
UD
19204 [BZ #13123]
19205 * elf/dl-load.c (lose): Free l_origin if it is valid.
19206
48882a1a
LD
19207 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19208 names.
19209 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19210 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19211 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19212 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19213 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19214 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19215
77a2a8b4
AZ
192162011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19217
19218 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19219 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19220 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19221 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19222 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19223 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19224 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19225 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19226 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19227 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19228
24f579d8
AM
192292011-08-15 Alan Modra <amodra@gmail.com>
19230
19231 [BZ #13092]
19232 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19233 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19234 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19235 ppc_mcount to static-only-routines.
19236 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19237 __mcount_internal.
19238 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19239 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19240
3d4837df
UD
192412011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19242
19243 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19244 for finite and infinity parameters.
19245
22700377
WS
192462011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19247
19248 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19249 and add nop instructions for throughput optimization.
19250 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19251
5025581e
WS
192522011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19253
19254 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19255 aligned copy for power7 with vector-scalar instructions.
19256 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19257
08a300c9
L
192582011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19259
19260 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19261 AVX check.
19262
59178ef9
AS
192632011-09-07 Andreas Schwab <schwab@redhat.com>
19264
19265 [BZ #13144]
19266 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19267 last change.
19268
e38ba7ab
UD
192692011-09-07 Ulrich Drepper <drepper@gmail.com>
19270
19271 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19272 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19273 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19274 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19275 clock_gettime.
19276
d53a73ac
UD
192772011-09-06 Ulrich Drepper <drepper@gmail.com>
19278
fc8bffcc
UD
19279 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19280 Forgot to demangle the pointer.
19281
ceaa0c5d
UD
19282 * sysdeps/i386/sysdep.h: Define atom_text_section.
19283 * sysdeps/x86_64/sysdep.h: Likewise.
19284 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19285 section with atom_text_section.
19286 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19287 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19288 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19289 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19290 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19291
a77d3c17
UD
19292 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19293 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19294 already be defined. Change to take two parameters and don't assign
19295 result to variable. Adjust all users.
19296 Define INTERNAL_GETTIME if not already defined.
19297 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19298 call.
19299 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19300 HAVE_CLOCK_GETTIME_VSYSCALL.
19301 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19302
d53a73ac
UD
19303 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19304 gettimeofday vsyscall, just use time.
19305
a8f84144
AS
193062011-09-06 Andreas Schwab <schwab@redhat.com>
19307
19308 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19309 <errno.h>.
19310
ef606249
UD
193112011-09-06 Ulrich Drepper <drepper@gmail.com>
19312
19313 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19314 syscall on x86-64.
19315 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19316 syscall.
19317 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19318 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19319 syscall if possible.
19320
6585cb60
UD
193212011-09-05 Ulrich Drepper <drepper@gmail.com>
19322
19323 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19324 e_ident. Don't pass to find_mapsXX.
19325 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19326
a5f524e4
LD
193272011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19328
19329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19330 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19331 * sysdeps/x86_64/multiarch/strchr.S: Update.
19332 Check bit_slow_BSF bit.
19333 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19334 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19335 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19336
554881ef
UD
193372011-09-05 Ulrich Drepper <drepper@gmail.com>
19338
d96de963
UD
19339 [BZ #13134]
19340 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19341 before glibc 2.15.
19342 (tryshell): Define.
19343 (__spawni): Change last parameter to be flag. Test
19344 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19345 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19346 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19347 * posix/spawni.c: Likewise.
19348 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19349 * posix/spawnp.c: Likewise. Change normal version to use
19350 SPAWN_XFLAGS_USE_PATH.
19351 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19352 SPAWN_XFLAGS_TRY_SHELL.
19353
d48e5868
UD
19354 [BZ #13150]
19355 * posix/glob.h: Remove gcc 1.x support.
19356
554881ef
UD
19357 [BZ #13068]
19358 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19359
693fb948
LD
193602011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19361
19362 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19363 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19364 strrchr-sse2-bsf
19365 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19366 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19367 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19368 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19369 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19370 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19371
1b48c537
UD
193722011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19373
49d42c37
UD
19374 * sysdeps/x86_64/wcscmp.S: New file.
19375
1b48c537
UD
19376 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19377 wcscmp-c wcscmp-sse2
19378 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19379 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19380 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19381 * wcsmbs/wcscmp.c: Allow renaming.
19382
15c95c5d
DM
193832011-09-05 David S. Miller <davem@davemloft.net>
19384
19385 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19386 stack slot, rather than the struct return pointer slot.
19387 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19388 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19390 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19391
2f0ad8f3
UD
193922011-09-05 Ulrich Drepper <drepper@gmail.com>
19393
d88ae418
UD
19394 * po/ja.po: Update from translation team.
19395
2f0ad8f3
UD
19396 [BZ #13144]
19397 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19398 kernel in 64-bit binaries.
19399
5f4318d1
DM
194002011-09-01 David S. Miller <davem@davemloft.net>
19401
19402 * elf/elf.h (HWCAP_SPARC_*): Move to..
19403 * sysdeps/sparc/sysdep.h: this new file and add new values.
19404 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19405 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19406 _DL_HWCAP_COUNT to 24.
19407 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19408 entries.
19409 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19410 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19411 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19412 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19413 instead of magic constants.
19414 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19415
3ba57516
DM
194162011-08-31 David S. Miller <davem@davemloft.net>
19417
19418 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19419 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19420 Reimplement to do errno handling inline.
19421 (SYSCALL_ERROR_HANDLER): New macro.
19422 (__SYSCALL_STRING): Do not do errno handling in asm.
19423 (__CLONE_SYSCALL_STRING): Delete.
19424 (__INTERNAL_SYSCALL_STRING): Delete.
19425 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19426 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19427 (PSEUDO): Reimplement to do errno handling inline.
19428 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19429 (SYSCALL_ERROR_HANDLER): New macro.
19430 (__SYSCALL_STRING): Do not do errno handling in asm.
19431 (__CLONE_SYSCALL_STRING): Delete.
19432 (__INTERNAL_SYSCALL_STRING): Delete.
19433 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19434 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19435 i386.
19436 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19437 (inline_syscall*): Add 'err' argument.
19438 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19439 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19440 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19441 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19442
19443 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19444 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19445
2bc17433
AS
194462011-08-30 Andreas Schwab <schwab@redhat.com>
19447
19448 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19449
fbeb5f4d
JO
194502011-08-29 Jiri Olsa <jolsa@redhat.com>
19451
19452 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19453 directive.
19454
ad69cc26
DM
194552011-08-24 David S. Miller <davem@davemloft.net>
19456
19457 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19458
39dd69df
AS
194592011-08-24 Andreas Schwab <schwab@redhat.com>
19460
19461 * elf/Makefile: Add rules to build and run unload8 test.
19462 * elf/unload8.c: New file.
19463 * elf/unload8mod1.c: New file.
19464 * elf/unload8mod1x.c: New file.
19465 * elf/unload8mod2.c: New file.
19466 * elf/unload8mod3.c: New file.
19467
19468 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19469 it wasn't used.
19470
2c0b250a
DM
194712011-08-23 David S. Miller <davem@davemloft.net>
19472
19473 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19474 subtract stack bias.
19475 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19476 %sp not %fp in calculations.
19477 (_JMPBUF_UNWINDS_ADJ): Likewise.
19478
22044b48
DM
19479 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19480 (aio_suspend): Call it to force an exception region around the
19481 AIO_MISC_WAIT() invocation.
19482
2cae4995
AS
194832011-08-23 Andreas Schwab <schwab@redhat.com>
19484
19485 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19486 backslash.
19487
873a772e
AJ
194882011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19489
19490 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19491 protection macro.
19492 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19493 and <dl-machine.h>.
19494 (Elf64_FuncDesc): Remove.
19495
25ad0df1
DM
194962011-08-22 David S. Miller <davem@davemloft.net>
19497
19498 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19499 sigaltstack check, add missing cfi directives.
19500 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19501 missing cfi directives, and sigaltstack handling.
19502
e888bcbe
AS
195032011-08-16 Andreas Schwab <schwab@redhat.com>
19504
19505 [BZ #11724]
19506 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19507 object is seen twice.
19508 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19509
19510 * elf/Makefile (distribute): Add tst-initorder2.c.
19511 (tests): Add tst-initorder2.
19512 (modules-names): Add tst-initorder2a tst-initorder2b
19513 tst-initorder2c tst-initorder2d. Add rules to build them.
19514 ($(objpfx)tst-initorder2.out): New rule.
19515 * elf/tst-initorder2.c: New file.
19516 * elf/tst-initorder2.exp: New file.
19517
87162f46
AS
195182011-08-22 Andreas Schwab <schwab@redhat.com>
19519
70538b7f
AS
19520 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19521
f55ffe58
AS
19522 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19523 dependencies back to end of function.
19524
87162f46
AS
19525 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19526 $(elfobjdir)/ld.so.
19527
91b392a4
UD
195282011-08-21 Ulrich Drepper <drepper@gmail.com>
19529
19530 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19531 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19532 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19533 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19534 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19535 of __vdso_gettimeofday.
19536 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19537 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19538 attribute_hidden.
19539 (_libc_vdso_platform_setup): Remove initialization of
19540 __vdso_gettimeofday and __vdso_time.
19541
5c43483f
UD
195422011-08-20 Ulrich Drepper <drepper@gmail.com>
19543
775a77e7
UD
19544 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19545 and fgetc_unlocked.
19546 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19547 getc_unlocked.
89f447ed 19548
49c74ba9
UD
19549 * elf/dl-open.c (add_to_global): Report additions to the global scope
19550 for LD_DEBUG=scopes.
19551 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 19552 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 19553
5c43483f
UD
19554 [BZ #13114]
19555 * stdio-common/Makefile (tests): Add bug24.
19556 * stdio-common/bug24.c: New file.
19557
a101b025
AJ
195582011-08-19 Andreas Jaeger <aj@suse.de>
19559
19560 [BZ #13114]
19561 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19562 non-existant file when using close-on-exec mode.
19563
c88f1766
UD
195642011-08-20 Ulrich Drepper <drepper@gmail.com>
19565
0276a718
UD
19566 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19567 the very first instruction.
19568
c88f1766
UD
19569 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19570 the CFI state in the end.
19571 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19572 inclusion of dl-trampoline.h.
19573 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19574
51ccffa0
AS
195752011-08-19 Andreas Schwab <schwab@redhat.com>
19576
94d7165f
AS
19577 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19578 expectations for long double.
19579
51ccffa0
AS
19580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19581 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19582
fd708658 195832011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
19584
19585 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19586 artificual limit depends upon the system page size.
19587
44f0a71e
UD
195882011-08-17 Ulrich Drepper <drepper@gmail.com>
19589
19590 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19591 * resolv/Makefile: Define CFLAGS-libresolv.
19592
8de79a24
AS
195932011-08-17 Andreas Schwab <schwab@redhat.com>
19594
19595 * nss/makedb.c (compute_tables): Make variables used in nested
19596 function static.
19597
27724598
UD
195982011-08-17 Ulrich Drepper <drepper@gmail.com>
19599
c5305d88
UD
19600 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19601 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19602 if buffer was too small.
19603
27724598
UD
19604 * elf/pldd.c (main): Attach to all threads in the process.
19605 Rewrite /proc handling to use *at functions.
19606
076fe015
UD
196072011-08-16 Ulrich Drepper <drepper@gmail.com>
19608
174baab3
UD
19609 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19610 specifies first scope to show.
19611 (dl_open_worker): Update callers. Move printing scope of new
19612 object to before the relocation.
44f0a71e 19613 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
19614 * sysdeps/generic/ldsodefs.h: Update declaration.
19615
076fe015
UD
19616 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19617 string for the scope number.
19618
a60df2c3
UD
196192011-08-14 Ulrich Drepper <drepper@gmail.com>
19620
19621 * nscd/servicescache.c (cache_addserv): Make sure written is always
19622 initialized.
19623
5e4287d1
RM
196242011-08-14 Roland McGrath <roland@hack.frob.com>
19625
85ae0589
RM
19626 * sysdeps/i386/i486/bits/atomic.h
19627 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19628 statement expression, so as to suppress "set but not used" warning.
19629 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19630
69f63097
RM
19631 * string/strncat.c (STRNCAT): Use prototype definition.
19632
675456ef
RM
19633 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19634 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19635 -Iprograms here.
19636 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19637 (localedef-modules): Add localedef.
19638 (locale-modules): Add locale.
19639
5e4287d1
RM
19640 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19641 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19642 to avoid a warning.
19643
9c96ff23
DM
196442011-08-14 David S. Miller <davem@davemloft.net>
19645
19646 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19647 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19648
f9ddf089
UD
196492011-08-13 Ulrich Drepper <drepper@gmail.com>
19650
44f0a71e 19651 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
19652 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19653 * elf/rtld.c (dl_main): Set l_name of vDSO.
19654 Call _dl_show_scope when DL_DEBUG_SCOPES.
19655 (process_dl_debug): Recognize scopes flag and also set it for all.
19656 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19657 Declare _dl_show_scope.
19658
1dc27704
UD
19659 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19660 (do_dlopen): Pass caller_dlopen to dl_open.
19661 (__libc_dlopen_mode): Initialize caller_dlopen.
19662
f9ddf089
UD
19663 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19664 of libc. Make tolower call locale-independent. Optimize a bit by
19665 using isdigit instead of isalnum.
19666 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19667
9ac533d3
UD
196682011-08-12 Ulrich Drepper <drepper@gmail.com>
19669
19670 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19671 was a dependency or dynamically loaded.
19672
89edf2e9
UD
196732011-08-11 Ulrich Drepper <drepper@gmail.com>
19674
8e999d29
UD
19675 * intl/l10nflist.c: Allow architecture-specific pop function.
19676 * sysdeps/x86_64/l10nflist.c: New file.
19677
89edf2e9
UD
19678 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19679 classification.
19680
14d96785
AS
196812011-08-10 Andreas Schwab <schwab@redhat.com>
19682
19683 * include/dirent.h: Add libc_hidden_proto for scandirat and
19684 scandirat64. Don't declare __scandirat64.
19685 * dirent/scandirat.c: Add libc_hidden_def.
19686 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19687 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19688
6761ac04
DM
196892011-08-10 David S. Miller <davem@davemloft.net>
19690
19691 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19692 enum.
19693 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19694 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19695 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19696
c55fbd1e
UD
196972011-08-09 Ulrich Drepper <drepper@gmail.com>
19698
19699 * Versions.def [libc]: Add GLIBC_2.15.
19700 * dirent/Makefile (routines): Add scandirat and scandirat64.
19701 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19702 GLIBC_2.15.
19703 * dirent/dirent.h: Declare scandirat and scandirat64.
19704 * dirent/scandirat.c: New file.
19705 * dirent/scandirat64.c: New file.
19706 * sysdeps/wordsize-64/scandirat.c: New file.
19707 * sysdeps/wordsize-64/scandirat64.c: New file.
19708 * dirent/opendir.c: Define opendirat.
19709 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19710 using scandirat.
19711 * dirent/scandir64.c: Adjust for scandir.c change.
19712 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19713 __scandirat64, and __scandir_cancel_handler.
19714 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19715 additional parameter and use openat instead of open (outside of ld.so).
19716 Add new __opendir as wrapper around __opendirat.
19717 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19718 here without requiring old scandirat implementation.
19719
879165f2
UD
197202011-08-08 Ulrich Drepper <drepper@gmail.com>
19721
19722 * dirent/scandir.c (cancel_handler): Renamed to
19723 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19724 defined. Adjust users.
19725 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19726 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19727
cb7e923b
UD
197282011-08-04 Ulrich Drepper <drepper@gmail.com>
19729
16292edd
UD
19730 * string/test-string.h (IMPL): Use __STRING to expand name and then
19731 stringify it.
19732
cb7e923b
UD
19733 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19734 of cleanups.
19735
cff82933
LD
197362011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19737
19738 * string/Makefile: Update.
19739 (strop-tests): Append strncat.
19740 * string/test-wcscmp.c: New file.
19741 New comprehensive test for wcscmp.
19742 * string/test-strcmp.c: Update.
19743 (WIDE): New define.
19744
9be9bfcc
AS
197452011-07-22 Andreas Schwab <schwab@redhat.com>
19746
19747 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19748 line.
19749
2e96f1c7
AS
197502011-07-26 Andreas Schwab <schwab@redhat.com>
19751
19752 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19753 encoding to ACE if AI_IDN.
19754
85188888
JJ
197552011-08-01 Jakub Jelinek <jakub@redhat.com>
19756
19757 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19758 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19759
5fa16e9b
LD
197602011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19761
19762 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19763 Fix overflow bug in strncat.
19764 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19765
19766 * string/test-strncat.c: Update.
19767 Add new tests for checking overflow bugs.
19768
197692011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19770
19771 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19772 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19773 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19774 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19775 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19776 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19777 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19778 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19779 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19780
19781 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19782 (USE_AS_STRCAT): Define.
19783 Add strcat and strncat support.
19784 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19785
8c1a459f
AS
197862011-07-25 Andreas Schwab <schwab@redhat.com>
19787
19788 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19789 __n bigger than INT_MAX+1.
19790 (__strncmp_g): Likewise.
19791
bba33c28
UD
197922011-07-23 Ulrich Drepper <drepper@gmail.com>
19793
798be72d
UD
19794 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19795 * libio/stido.h: Likewise.
19796
8accd4dc
UD
19797 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19798 (AF_NFC): Define.
19799 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19800 (AF_NFC): Define.
19801
cbff0d96
UD
19802 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19803 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19804 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19805 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19806 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19807
9191c04a
UD
19808 [BZ #13021]
19809 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19810 installed.
19811
bba33c28
UD
19812 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19813 typo.
19814 (_dl_x86_64_save_sse): Likewise.
19815
90f139dd
UD
198162011-07-22 Ulrich Drepper <drepper@gmail.com>
19817
1aae088a
UD
19818 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19819 OSXSAVE.
19820 (_dl_x86_64_save_sse): Likewise.
19821
8e2045f5
UD
19822 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19823
90f139dd
UD
19824 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19825
1d002f25
AS
198262011-07-21 Andreas Schwab <schwab@redhat.com>
19827
19828 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19829 change.
19830 (_dl_x86_64_save_sse): Use correct AVX check.
19831
21137f89
UD
198322011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19833
19834 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19835 bug in strncpy/strncat.
19836 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19837
a65c0b7a
UD
198382011-07-21 Ulrich Drepper <drepper@gmail.com>
19839
19840 * string/tester.c (test_strcat): Add tests for different alignments
19841 of source and destination.
19842 (test_strncat): Likewise.
19843
6986b98a
UD
198442011-07-20 Ulrich Drepper <drepper@gmail.com>
19845
90bb2039
UD
19846 [BZ #12852]
19847 * posix/glob.c (glob): Check passed in values before using them in
19848 expressions to avoid some overflows.
19849 (glob_in_dir): Likewise.
19850
5644ef54
UD
19851 [BZ #13007]
19852 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19853 check for AVX enablement so that we don't crash with old kernels and
19854 new hardware.
19855 * elf/tst-audit4.c: Add same checks here.
19856 * elf/tst-audit6.c: Likewise.
19857
19858 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 19859
bfc9dc9b
AS
198602011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19861
19862 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19863
702e64bb
UD
198642011-07-20 Ulrich Drepper <drepper@gmail.com>
19865
19866 * po/cs.po: Update from translation team.
19867 * po/bg.po: Likewise.
19868
295e904f
MP
198692011-07-12 Marek Polacek <mpolacek@redhat.com>
19870
19871 * misc/sys/cdefs.h: Add support for const attribute.
19872 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19873 to gnu_dev_{major,minor,makedev} functions.
19874
3ff94596
MP
198752011-07-20 Marek Polacek <mpolacek@redhat.com>
19876
19877 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19878
28b59fca
AS
198792011-07-20 Andreas Schwab <schwab@redhat.com>
19880
19881 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19882 strlen results.
19883
19df733e
AK
198842011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19885
19886 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19887 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19888 register in order to avoid conflicts with the soft frame pointer
19889 being held in r11 when necessary.
19890 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19891 (INTERNAL_VSYSCALL_NCS): Likewise.
19892
c8835729
MP
198932011-07-14 Marek Polacek <mpolacek@redhat.com>
19894
19895 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19896 * elf/dl-fini.c (_dl_fini): Adjust caller.
19897 * elf/dl-close.c (_dl_close_worker): Likewise.
19898 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19899
b902330c
MP
199002011-07-15 Marek Polacek <mpolacek@redhat.com>
19901
8991e135
MP
19902 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19903 "aux_cache->nlibs < 0".
19904
b902330c
MP
19905 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19906 in the reload-count case.
19907
99710781
LD
199082011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19909
19910 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19911 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19912 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19913 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19914 * sysdeps/x86_64/multiarch/strcat.S: New file.
19915 * sysdeps/x86_64/multiarch/strncat.S: New file.
19916 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19917 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19918 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19919 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19920 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19921 (USE_AS_STRCAT): Define.
19922 Add strcat and strncat support.
19923 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19924 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19925 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19926 * string/strncat.c: Update.
19927 (USE_AS_STRNCAT): Define.
19928 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19929 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19930 and i7.
19931 * sysdeps/x86_64/multiarch/init-arch.h
19932 (bit_Prefer_PMINUB_for_stringop): New.
19933 (index_Prefer_PMINUB_for_stringop): Likewise.
19934 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19935 bit_Prefer_PMINUB_for_stringop.
19936
7dc6bd90
UD
199372011-07-19 Ulrich Drepper <drepper@gmail.com>
19938
19939 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19940 buffer64.
19941 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19942 of casting of buffer.
19943 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19944 buffer32 and buffer64.
19945 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19946 writes instead of casting of buffer.
19947 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19948 buffer32.
19949 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19950 casting of buffer.
19951
e0e72284
AS
199522011-07-19 Andreas Schwab <schwab@redhat.com>
19953
19954 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19955
feb1eb0b
UD
199562011-07-19 Ulrich Drepper <drepper@gmail.com>
19957
19958 * nscd/nscd.c (termination_handler): Don't do anything for a database
19959 if it has not yet been initialized.
19960
298711ff
UD
199612011-07-18 Ulrich Drepper <drepper@gmail.com>
19962
19963 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19964
199652011-07-15 Marek Polacek <mpolacek@redhat.com>
19966
19967 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19968
f9d68389
UD
199692011-07-18 Ulrich Drepper <drepper@gmail.com>
19970
19971 * po/nl.po: Update from translation team.
19972 * po/sv.po: Likewise.
19973
db290cf5
RM
199742011-07-16 Roland McGrath <roland@hack.frob.com>
19975
19976 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19977 now disallowed by GCC.
5c550700 19978
fd5e21c7
RM
19979 * configure.in (use-default-link): Default to yes if a test -shared
19980 link meets our qualifications.
19981 * configure: Regenerated.
19982
5c550700
RM
19983 * config.make.in (output-format): New variable.
19984 * configure.in: Check for ld --print-output-format support.
19985 * configure: Regenerated.
19986 * Makerules ($(common-objpfx)format.lds)
19987 [$(output-format) != unknown]: Just use $(output-format),
19988 instead of the linker-script munging.
19989
9fa2c032
RM
199902011-07-14 Roland McGrath <roland@hack.frob.com>
19991
a6928d51
RM
19992 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19993 of $(common-objpfx)shlib.lds.
19994 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19995
661607b3
RM
19996 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19997 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19998
9fa2c032
RM
19999 * configure.in (-z relro check): Adjust test code to add a large
20000 writable data section after it.
20001 * configure: Regenerated.
20002
defe9061
RM
200032011-07-11 Roland McGrath <roland@hack.frob.com>
20004
20005 * configure.in (-z relro check): Fix test code to make the variable
20006 truly const.
20007 * configure: Regenerated.
20008
319b9ad4
UD
200092011-07-11 Ulrich Drepper <drepper@gmail.com>
20010
20011 * nscd/nscd.h (struct traced_file): Define.
20012 (struct database_dyn): Remove inotify_descr, reset_res, and filename
20013 elements. Add traced_files.
20014 (inotify_fd): Declare.
20015 (register_traced_file): Declare.
20016 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20017 (inotify_fd): Export.
20018 (resolv_conf_descr): Remove.
20019 (nscd_init): Move inotify descriptor creation to main.
20020 Don't register files for notification here.
20021 (register_traced_file): New function.
20022 (invalidate_cache): Don't use reset_res to determine whether to call
20023 res_init, go through the list of registered files.
20024 (main_loop_poll): The inotify descriptors are now stored in the
20025 structures for the traced files.
20026 (main_loop_epoll): Likewise
20027 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
20028 to __nss_disable_nscd.
20029 * nscd/cache.c (prune_cache): There is no single inotify descriptor
20030 for a database anymore. Check the records for all the registered
20031 files instead.
20032 * nss/Makefile (libnss_files-routines): Add files-init.
20033 (libnss_db-routines): Add db-init.
20034 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20035 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20036 * nss/nss_db/db-init.c: New file.
20037 * nss/nss_files/files-init.c: New file.
20038 * nss/nsswitch.c (nss_load_library): New function. Broken out of
20039 __nss_lookup_function.
20040 (__nss_lookup_function): Call nss_load_library.
20041 (nss_load_all_libraries): New function.
20042 (__nss_disable_nscd): Take parameter with callback function for files
20043 to register. Set is_nscd. Load all the DSOs for the NSS modules
20044 used for the cached services.
20045 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20046 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20047 options for features to all the files in nscd.
20048
20049 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20050
23bee3e8
RM
200512011-07-10 Roland McGrath <roland@hack.frob.com>
20052
20053 * csu/elf-init.c (__libc_csu_init): Comment typo.
20054
46a5b7f0
UD
200552011-07-09 Ulrich Drepper <drepper@gmail.com>
20056
20057 * po/pl.po: Update from translation team.
20058 * po/ja.po: Likewise.
20059 * po/ru.po: Likewise.
20060 * po/ko.po: Likewise.
20061 * po/fr.po: Likewise.
20062
d30cf5bb
RM
200632011-07-09 Roland McGrath <roland@hack.frob.com>
20064
113ddea4
RM
20065 * configure.in (.ctors/.dtors header and trailer check):
20066 Use an empirical test on a built program.
20067 * configure: Regenerated.
20068
574920b4
RM
20069 * configure.in (-z relro check): Use an empirical test on a built DSO.
20070 Detect, but do not require, on ia64.
20071 * configure: Regenerated.
20072
d30cf5bb
RM
20073 * configure.in (READELF): Find it with AC_CHECK_TOOL.
20074 Update tests that use readelf to use $READELF instead.
20075 * configure: Regenerated.
20076
8538fdb3
UD
200772011-07-08 Ulrich Drepper <drepper@gmail.com>
20078
20079 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20080 if the result is not used.
20081
04d08991
AJ
200822011-07-05 Andreas Jaeger <aj@suse.de>
20083
20084 [BZ#9696]
20085 * stdlib/tst-strtod.c: Add testcase.
20086
de283087
AD
200872011-07-07 Ulrich Drepper <drepper@gmail.com>
20088
4e5f31c8 20089 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 20090 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
20091 The latter has a higher limit. Take additional parameter to pass to
20092 the new function.
20093 (__pathconf): Pass file to __statfs_link_max.
20094 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20095 __statfs_link_max.
20096 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20097 __statfs_link_max.
20098
de283087
AD
20099 [BZ #12868]
20100 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20101 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20102 Handle Lustre.
20103 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20104 (__statfs_filesize_max): Likewise.
20105 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20106
c75fa153
AJ
201072011-07-05 Andreas Jaeger <aj@suse.de>
20108
20109 * resolv/res_comp.c (dn_skipname): Remove unused variable.
20110
1a544854
UD
201112011-07-06 Marek Polacek <mpolacek@redhat.com>
20112
20113 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20114 `status' variable.
20115 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20116 Likewise.
20117
6f0eec67
UD
201182011-07-04 H.J. Lu <hongjiu.lu@intel.com>
20119
20120 * Makefile (strop-tests): Add strncat.
20121 * string/test-strncat.c: New file.
20122
aae30307
UD
201232011-06-30 Marek Polacek <mpolacek@redhat.com>
20124
20125 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20126
c0cfb5eb
UD
201272011-06-21 Andreas Jaeger <aj@suse.de>
20128
20129 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20130 Copy rule from iconvdata/Makefile.
20131
01636b21
UD
201322011-07-06 Ulrich Drepper <drepper@gmail.com>
20133
20134 [BZ #12922]
20135 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20136 but no long options are defined, just return 'W'.
20137
9895c8bc
UD
201382011-06-22 Marek Polacek <mpolacek@redhat.com>
20139
20140 [BZ #9696]
20141 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20142
5d4cf042
UD
201432011-07-06 Ulrich Drepper <drepper@gmail.com>
20144
20145 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20146 netgroups to read.
960e5535 20147 (innetgr): Likewise.
5d4cf042 20148
751eb97e
RM
201492011-07-05 Roland McGrath <roland@hack.frob.com>
20150
20151 * config.make.in (install_root): Default to $(DESTDIR).
20152
f15f1e45
UD
201532011-07-05 Ulrich Drepper <drepper@gmail.com>
20154
20155 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20156
4e34ac6a
RM
201572011-07-02 Roland McGrath <roland@hack.frob.com>
20158
5e9b6af4
RM
20159 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20160
84f9ea0f
RM
20161 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20162 containing directory rather than embedding absolute directory names.
20163
ea5ee9f7
RM
20164 * scripts/check-local-headers.sh: Rewritten using awk.
20165 Match by word, not by line. Print error messages for matches.
20166 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20167
1b74661a
RM
20168 * Makerules [shlib-lds-flags empty]:
20169 ($(common-objpfx)libc_pic.opts): New target.
20170 ($(common-objpfx)libc_pic.os.clean): New target.
20171 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20172
20173 * config.make.in (OBJCOPY): New variable.
20174 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20175 * configure: Regenerated.
20176
f781ef40
RM
20177 * config.make.in (use-default-link): New variable.
20178 * configure.in (use_default_link): Grok --with-default-link to set it.
20179 * configure: Regenerated.
20180 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20181 (shlib-lds, shlib-lds-flags): Define to empty.
20182
2d4fa81e
RM
20183 * Makerules (shlib-lds): New variable.
20184 (shlib-lds-flags): New variable.
20185 (build-shlib, build-moduile, build-module-asneeded): Use it.
20186 ($(common-objpfx)libc.so): Use $(shlib-lds).
20187 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20188 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20189
31fffa6b
RM
20190 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20191 DT_FLAGS/DT_FLAGS_1 with zero flags.
20192
4e34ac6a
RM
20193 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20194 linker script munging.
20195
fcfc776b
UD
201962011-07-02 Ulrich Drepper <drepper@gmail.com>
20197
20198 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20199 as 128-bit value.
20200 * crypt/sha512.c (sha512_process_block): Perform total addition using
20201 128-bit if possible.
20202 (__sha512_finish_ctx): Likewise.
20203 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20204 as 64-bit value.
20205 * crypt/sha256.c (SWAP64): Define.
20206 (sha256_process_block): Perform total addition using 64-bit if
20207 possible.
20208 (__sha256_finish_ctx): Likewise.
20209
99231d9a
UD
202102011-07-01 Ulrich Drepper <drepper@gmail.com>
20211
20212 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20213 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20214 * nscd/hstcache.c (cache_addhst): Likewise.
20215 * nscd/grpcache.c (cache_addgr): Likewise.
20216 * nscd/aicache.c (addhstaiX): Likewise
20217 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20218
445b4a53
TK
202192011-07-01 Thorsten Kukuk <kukuk@suse.de>
20220
20221 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20222 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20223 * nscd/hstcache.c (cache_addhst): Likewise.
20224 * nscd/grpcache.c (cache_addgr): Likewise.
20225 * nscd/aicache.c (addhstaiX): Likewise
20226
6d4d8e8e
AS
202272011-07-01 Andreas Schwab <schwab@redhat.com>
20228
20229 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20230 domain only when needed.
20231
89f654c5
AS
202322011-06-30 Andreas Schwab <schwab@redhat.com>
20233
20234 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20235 is always restored.
20236
cf3b23ff
UD
202372011-06-29 Ulrich Drepper <drepper@gmail.com>
20238
20239 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20240 are re-adding the entry.
20241 * nscd/servicescache.c (cache_addserv): Likewise.
20242
751626f9
AJ
202432011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20244
20245 * sysdeps/generic/dl-irel.h: fix protection against multiple
20246 inclusions.
20247 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20248
9113ea1f
UD
202492011-06-28 Ulrich Drepper <drepper@gmail.com>
20250
5c0b8d90
UD
20251 [BZ #12935]
20252 * malloc/memusage.sh: Fix quoting in message.
20253 * debug/xtrace.sh: Likewise.
20254
9113ea1f
UD
20255 * configure.in: Remove support for --experimental-malloc option, make
20256 it the default.
20257 * config.make.in: Likewise.
20258 * malloc/Makefile: Likewise.
20259
a4172181
AS
202602011-06-27 Andreas Schwab <schwab@redhat.com>
20261
20262 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20263 two-byte characters.
20264
78a7eee7
RM
202652011-06-27 Roland McGrath <roland@hack.frob.com>
20266
62bede13
RM
20267 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20268 AC_CACHE_CHECK invocation.
20269 * configure: Regenerated.
20270
78a7eee7
RM
20271 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20272
5ce33a62
UD
202732011-06-27 Ulrich Drepper <drepper@gmail.com>
20274
034807a9
UD
20275 [BZ #12350]
20276 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20277 bit from old_res_options.
20278
4902da17
UD
20279 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20280
5ce33a62
UD
20281 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20282 value type for setfct.
20283
c2344f56
L
202842011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20285
20286 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20287 __gettimeofday instead of gettimeofday.
20288
68468076
UD
202892011-06-26 Ulrich Drepper <drepper@gmail.com>
20290
20291 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20292
acb0d739
L
202932011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20294
20295 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20296
20297 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20298 info.
20299
8912479f
L
203002011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20301
20302 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20303 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20304 strcpy-sse2-unaligned strncpy-sse2-unaligned
20305 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20306 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20307 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20308 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20309 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20310 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20311 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20312 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20313 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20314 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20315 (STRCPY): Support SSE2 and SSSE3 versions.
20316
d5495a11
UD
203172011-06-24 Ulrich Drepper <drepper@gmail.com>
20318
20319 [BZ #12874]
20320 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20321 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20322 kernels which artificially limit size of requests.
20323
0b1cbaae
L
203242011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20325
20326 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20327 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20328 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20329 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20330 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20331 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20332 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20333 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20334 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20335 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20336 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20337 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20338 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20339 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20340 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20341 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20342 Enable unaligned load optimization for Intel Core i3, i5 and i7
20343 processors.
20344 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20345 Define.
20346 (index_Fast_Unaligned_Load): Define.
20347 (HAS_FAST_UNALIGNED_LOAD): Define.
20348
07f494a0
MP
203492011-06-23 Marek Polacek <mpolacek@redhat.com>
20350
20351 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20352
fa3fc0fe
UD
203532011-06-22 Ulrich Drepper <drepper@gmail.com>
20354
20355 [BZ #12907]
20356 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20357 until it is clear that the information is realy needed.
20358 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20359
e12df166
AS
203602011-06-22 Andreas Schwab <schwab@redhat.com>
20361
20362 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20363
852eb34d
UD
203642011-06-22 Ulrich Drepper <drepper@gmail.com>
20365
84e2a551
UD
20366 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20367 /sys/devices/system/cpu/online if it is usable.
20368
852eb34d
UD
20369 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20370 reading the information from the /proc filesystem to once a second.
20371
6e502e19
UD
203722011-06-21 Andreas Jaeger <aj@suse.de>
20373
20374 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20375 NULL after inclusion of kernel headers.
20376
75d39ff2
UD
203772011-06-21 Ulrich Drepper <drepper@gmail.com>
20378
51f9aa6a
UD
20379 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20380 calls to internal_setent.
20381
c0244a9d
UD
20382 [BZ #12885]
20383 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20384 addresses using gethostbyname4_r ignore IPv4 addresses.
20385
c5e3c2ae
UD
20386 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20387 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20388
75d39ff2
UD
20389 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20390
42675c6f
DM
203912011-06-20 David S. Miller <davem@davemloft.net>
20392
20393 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20394 inclusions.
20395 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20396
20397 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20398 (elf_irel): Use it.
20399 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20400 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20401 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20402 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20403 * sysdeps/x86_64/dl-irel.h: Likewise.
20404
20405 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20406 * elf/dl-sym.c: Likewise.
20407
57912a71
UD
204082011-06-15 Ulrich Drepper <drepper@gmail.com>
20409
20410 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20411 need to dereference resplen2.
20412
ee22793d
AS
204132011-06-14 Andreas Schwab <schwab@redhat.com>
20414
20415 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20416
a9e836b0
UD
204172011-06-15 Ulrich Drepper <drepper@gmail.com>
20418
77fb9117
UD
20419 * Makeconfig: Define vardbdir and inst_vardbdir.
20420 * nss/Makefile: Add rules to install db-Makefile.
20421
40c1b22c
UD
20422 * nss/nss_db/db-XXX.c: Cleanup.
20423
9f2da732
UD
20424 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20425 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20426 GLIBC_PRIVATE.
20427 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20428 * nss/makedb.c: Implement -g option to specify that value strings
20429 are generated and should not be added to table iterated over for
20430 get*ent calls.
20431 * nss/nss_db/db-initgroups.c: New file.
20432
82e9a1f7
UD
20433 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20434 interface.
20435
c41af17e
UD
20436 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20437 (internal_getgrouplist): Adjust to name change.
20438 Update use_initgroups_entry if this is not the first call.
20439 * nss/databases.def: Add initgroups entry.
20440
a9e836b0
UD
20441 * nss/makedb.c (compute_tables): Check result of multiple hash table
20442 sizes to minimize maximum chain length.
20443
2666d441
UD
204442011-06-14 Ulrich Drepper <drepper@gmail.com>
20445
20446 * Versions.def: Add entry for libnss_db.
20447 * shlib-versions: Likewise.
20448 * nss/Makefile: Add rules to build libnss_db.
20449 * nss/Versions: Add libnss_db information. Organize libnss_files
20450 entries better.
20451 * nss/db-Makefile: Add gshadow support. Change rules for the new
20452 makedb progra. Some minor improvements to generate smaller files.
20453 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20454 here from...
20455 * nss/makedb.c: ...here.
20456 Improve database format to be smaller and require less memory at
20457 runtime.
20458 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20459 db anymore.
20460 * nss/nss_db/db-netgrp.c: Likewise.
20461 * nss/nss_db/db-open.c: Likewise.
20462 * nss/nss_files/flies-XXX.x: Adjust comments.
20463 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20464 * nss/nss_files/files-grp.c: Likewise.
20465 * nss/nss_files/files-hosts.c: Likewise.
20466 * nss/nss_files/files-network.c: Likewise.
20467 * nss/nss_files/files-proto.c: Likewise.
20468 * nss/nss_files/files-pwd.c: Likewise.
20469 * nss/nss_files/files-rpc.c: Likewise.
20470 * nss/nss_files/files-service.c: Likewise.
20471 * nss/nss_files/files-sgrp.c: Likewise.
20472 * nss/nss_files/files-spwd.c: Likewise.
20473 * nss/nss_db/db-alias.c: Removed.
20474 * nss/nss_db/dummy-db.h: Removed.
20475
9ee76b5a
UD
204762011-06-02 Ulrich Drepper <drepper@gmail.com>
20477
20478 * nss/makedb.c: Rewritten to not use database library.
20479 * nss/Makefile: Update to build new makedb program.
20480
c71ca1f8
AJ
204812011-06-14 Andreas Jaeger <aj@suse.de>
20482
20483 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20484 memset declaration.
20485
3154bfb8
UD
204862011-06-10 Andreas Schwab <schwab@redhat.com>
20487
20488 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20489 tmpbuf.
20490
b350afab
RM
204912011-06-10 Roland McGrath <roland@hack.frob.com>
20492
decd4e50
RM
20493 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20494 * elf/Makefile ($(objpfx)ld.so): Likewise.
20495
5615eaf2
RM
20496 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20497 Don't list ld.so twice in dependencies.
20498
20499 * posix/bug-regex31.c: Include <stdlib.h>.
20500
20501 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20502
20503 * nis/nss_compat/compat-spwd.c
20504 (getspent_next_nss_netgr): Remove unused variable.
20505 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20506
20507 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20508 nonmembers" output to use the right array.
20509
20510 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20511
20512 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20513
20514 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20515 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20516 * catgets/gencat.c (read_input_file): Likewise.
20517 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20518
20519 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20520 variable definition inside #if's controlling its use.
20521
20522 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20523
20524 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20525
20526 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20527
20528 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20529 unreachable code.
20530
20531 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20532
b68e08db
RM
20533 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20534 * configure: Regenerated.
20535
b350afab
RM
20536 * Makerules: Revert last change.
20537 * elf/Makefile: Likewise.
20538
28368601
RM
205392011-06-09 Roland McGrath <roland@hack.frob.com>
20540
20541 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20542 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20543 (reloc-link): Likewise.
20544
11988f8f
UD
205452011-06-09 Ulrich Drepper <drepper@gmail.com>
20546
20547 * elf/Makefile: Add rules to build pldd.
20548 * elf/pldd.c: New file.
20549 * elf/pldd-xx.c: New file.
20550
e80fab37
UD
205512011-06-07 Ulrich Drepper <drepper@gmail.com>
20552
20553 * version.h: Update for 2.15 development version.
20554
9b849836
DM
205552011-06-07 David S. Miller <davem@davemloft.net>
20556
20557 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20558 ifuncs.
20559 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20560 elf_machine_lazy_rel): Likewise.
20561 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20562 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20563 elf_machine_lazy_rel): Likewise.
20564 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20565 dl_hwcap via passed in argument.
20566 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20567 Likewise.
20568
5a31b283
AK
205692011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20570
20571 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20572
069e52f8
RM
205732011-06-06 Roland McGrath <roland@hack.frob.com>
20574
20575 [BZ #12849]
20576 * manual/fdl-1.1.texi: New file, verbatim from:
20577 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20578 * manual/lgpl-2.1.texi: New file, verbatim from:
20579 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20580 * manual/Makefile (licenses): New variable, list those new file names.
20581 (texis): Use it.
20582 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20583
20584 * manual/fdl.texi: File removed.
20585 * manual/lesser.texi: File removed.
20586 * manual/libc.texinfo (Copying, Documentation License):
20587 Use new @include file names, put @appendix directive before @include.
20588
f16846a5
JJ
205892011-06-04 Jakub Jelinek <jakub@redhat.com>
20590
20591 [BZ #12841]
20592 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20593 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20594 (mq_open): Add __NTH.
20595
3d29045b
L
205962011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20597
20598 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20599 Assume Intel Core i3/i5/i7 processor if AVX is available.
20600
8c297311
UD
206012011-05-31 Ulrich Drepper <drepper@gmail.com>
20602
20603 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20604 typo.
20605
c8fc0c91
UD
206062011-05-31 Andreas Schwab <schwab@redhat.com>
20607
20608 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20609 memory. Use alloca_account. Fix memory leak when retrying.
20610
5b27a807
UD
206112011-05-31 Ulrich Drepper <drepper@gmail.com>
20612
356f8bc6
UD
20613 * version.h (RELEASE): Bump for 2.14 release.
20614 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20615
5b27a807
UD
20616 * config.make.in (RANLIB): Remove entry.
20617
01f16ab0
UD
206182011-05-30 Ulrich Drepper <drepper@gmail.com>
20619
41fce8bd
UD
20620 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20621 (libc.pot): Work around missing support for .ksh extension in xgettext.
20622
4769ae77
UD
20623 [BZ #12684]
20624 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20625 if both request failed.
20626 (send_dg): In case of server errors clear resplen or *resplen2.
20627
6b1e7d19
UD
20628 [BZ #12454]
20629 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20630 when there are multiple maps.
20631 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20632 (_dl_fini): Remove test here.
20633
01f16ab0
UD
20634 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20635
b1ebd700
UD
206362011-05-29 Ulrich Drepper <drepper@gmail.com>
20637
7ae22829
UD
20638 [BZ #12350]
20639 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20640 bit from old_res_options.
20641 (gaih_inet): Likewise.
20642
553149f6 20643 [BZ #11099]
18a84741 20644 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
20645 as signed.
20646
652ffab1
UD
20647 * resolv/res_init.c (res_setoptions): Make the code more compact.
20648
16985fd0
UD
20649 [BZ #11558]
20650 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20651 set RES_USEVC.
20652
0464f746
UD
20653 [BZ #11634]
20654 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20655
7d17596c
UD
20656 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20657
cf6bbbd7
UD
20658 [BZ #11781]
20659 * malloc/malloc.h: Declare malloc hook variables as volatile.
20660
13f1ab36
UD
20661 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20662 in last patch.
20663
b1ebd700
UD
20664 [BZ #11799]
20665 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 20666 raise in the comment.
80e2212d
UD
20667 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20668 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20669 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 20670
ce67228d
UD
206712011-05-28 Ulrich Drepper <drepper@gmail.com>
20672
8887a920
UD
20673 [BZ #12811]
20674 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20675 grow the buffers more if it already has to be sufficient.
20676 (build_wcs_upper_buffer): Likewise.
20677 * posix/regexec.c (check_matching): Likewise.
20678 (clean_state_log_if_needed): Likewise.
20679 (extend_buffers): Don't enlarge buffers beyond size of the input
20680 buffer.
20681 Patches mostly by Emil Wojak <emil@wojak.eu>.
20682 * posix/bug-regex32.c: New file.
20683 * posix/Makefile (tests): Add bug-regex32.
20684
4f031072
UD
20685 * locale/findlocale.c (_nl_find_locale): Return right away if
20686 _nl_explode_name failed.
20687 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20688
d0478f0c
UD
20689 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20690
de81b246
UD
20691 * debug/xtrace.sh: Unify messages.
20692 * malloc/memusage.sh: Likewise.
20693
c738465a
UD
20694 [BZ #12813]
20695 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20696 time symbol from vDSO. Substitute with vsyscall if not available.
20697 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20698 __vdso_time.
20699
f1f929d7
UD
20700 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20701 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20702 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20703 Add sendmmsg and internal_sendmmsg.
20704 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20705 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20706 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20707
ce67228d
UD
20708 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20709 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20710 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20711
e57420c6
UD
207122011-05-27 Ulrich Drepper <drepper@gmail.com>
20713
a8509ca5
UD
20714 [BZ #12813]
20715 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20716 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20717 available.
20718 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20719 __vdso_getcpu.
20720
e57420c6
UD
20721 [BZ #12814]
20722 * iconvdata/Makefile (tests): Add bug-iconv9.
20723 * iconvdata/bug-iconv9.c: New file.
20724
4d07db15
AS
207252011-05-27 Andreas Schwab <schwab@redhat.com>
20726
20727 [BZ #12814]
20728 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20729
ea486f69
JJ
207302011-05-25 Jakub Jelinek <jakub@redhat.com>
20731
20732 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20733 (struct user_regs_struct): Change intcs field back to cs.
20734
6f038433
UD
207352011-05-25 Ulrich Drepper <drepper@gmail.com>
20736
20737 * po/ja.po: Update from translation team.
20738
67f86a25
UD
207392011-05-23 Ulrich Drepper <drepper@gmail.com>
20740
20741 [BZ #12795]
20742 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20743 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20744
def7fbd6
AS
207452011-05-20 Andreas Schwab <schwab@redhat.com>
20746
20747 * stdlib/longlong.h: Update from GCC.
20748
f50ef8f1
AS
207492011-05-23 Andreas Schwab <schwab@redhat.com>
20750
20751 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20752 parameter name.
20753 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20754 Add parameter name.
20755 (__sysconf): Pass it down.
20756
de7ce8f1
UD
207572011-05-22 Ulrich Drepper <drepper@gmail.com>
20758
f2962a71
UD
20759 [BZ #12671]
20760 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20761 some situations.
20762 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20763 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20764 add in in __libc_use_alloca calls. Adjust callers.
20765 (glob): Use malloc in some situations.
20766
de7ce8f1
UD
20767 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20768 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20769 pltexit.
20770
aec84f53
UD
207712011-05-21 Ulrich Drepper <drepper@gmail.com>
20772
05bb4a68
UD
20773 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20774 and CLOCK_BOOTTIME_ALARM.
20775
7ea72f99
UD
20776 [BZ #12782]
20777 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20778 is returned.
20779
7e4afad5
UD
20780 * string/_strerror.c (__strerror_r): Print negative errors as signed
20781 numbers.
20782
8e211fec
UD
20783 [BZ #12777]
20784 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20785 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20786 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20787
f7d82dc9
UD
20788 * configure.in: Fix typo in redirection and correct removal of test
20789 files in two cases.
20790
cc9e536d
UD
20791 [BZ #12788]
20792 * locale/setlocale.c (new_composite_name): Fix test to check for
20793 identical name of all categories.
20794
aec84f53
UD
20795 [BZ #12792]
20796 * libio/filedoalloc.c (local_isatty): New function.
20797 (_IO_file_doallocate): Use local_isatty.
20798 * stdio-common/perror.c (perror): In case a new stream is used
20799 forward the stream error.
20800 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20801 error flag.
20802
78e64fdc
RT
208032011-05-20 Ulrich Drepper <drepper@gmail.com>
20804
34a9094f
UD
20805 [BZ #11869]
20806 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20807 alloca.
20808 * include/alloca.h (extend_alloca_account): Define.
20809
78e64fdc
RT
20810 [BZ #11857]
20811 * posix/regex.h: Fix comments with documentation of user-accessible
20812 fields after compilation and describe correct free'ing of pattern
20813 after re_compile_pattern.
20814 Patch by Reuben Thomas <rrt@sc3d.org>.
20815
457bddfc
RA
208162011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20817
20818 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20819 and -mno-altivec to prevent the compiler from using Altivec and/or
20820 VSX instructions when the corresponding registers are not available.
20821
a4527b51
AS
208222011-05-19 Andreas Schwab <schwab@redhat.com>
20823
20824 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20825
ed690b2f
UD
208262011-05-19 Ulrich Drepper <drepper@gmail.com>
20827
20828 * libio/freopen.c (freopen): Use __dup2, not dup2.
20829 * libio/freopen64.c (freopen64): Likewise.
20830
8db73634
L
208312011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20832
20833 [BZ #12775]
20834 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20835 * math/Makefile (tests): Add test-powl.
20836 (CFLAGS-test-powl.c): Define.
20837 * math/test-powl.c: New file.
20838
0a197a9d
L
208392011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20840
20841 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20842
ee30c380
UD
208432011-05-17 Ulrich Drepper <drepper@gmail.com>
20844
20845 [BZ #11837]
20846 * iconvdata/gb18030.c: Update to GB18020-2005.
20847
6ce75379
UD
208482011-05-16 Ulrich Drepper <drepper@gmail.com>
20849
a4b89fd8
AR
20850 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20851 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20852 Patch by Aharon Robbins <arnold@skeeve.com>.
20853
ea389b12
UD
20854 [BZ #11892]
20855 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20856 on the stack.
20857
68a3f91f
UD
20858 [BZ #11895]
20859 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20860 through underflows.
20861
15cc7dd1
UD
20862 [BZ #12766]
20863 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20864 point to strings before performing equality test for error_one_per_line
20865 mode.
20866
f3799213
UD
20867 [BZ #11697]
20868 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20869
d79a9c94
UD
20870 [BZ #11820]
20871 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20872 (struct user_fpregs_struct): Avoid __uint*_t types.
20873
56e5eb46
UD
20874 [BZ #6420]
20875 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20876 symbol info. Use it instead of calling _dl_addr locally.
20877 (lock_and_info): New function.
20878 (tr_freehook): Call lock_and_info and pass symbol info as additional
20879 parameter to tr_where.
20880 (tr_mallochook): Likewise.
20881 (tr_reallochook): Likewise.
20882 (tr_memalignhook): Likewise.
20883
6ce75379
UD
20884 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20885 used and couldn't be at all thread-safe.
20886
f8a3b5bf
UD
208872011-05-15 Ulrich Drepper <drepper@gmail.com>
20888
94b7cc37
UD
20889 * libio/freopen.c (freopen): Don't close old file descriptor
20890 before the new one is opened. Instead dup the new file descriptor
20891 to the old one after the new stream is created.
20892 * libio/freopen64.c (freopen64): Likewise.
20893 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20894 * libio/fileops.c (_IO_new_file_close_it): Handle new
20895 _IO_FLAGS2_NOCLOSE flag.
20896 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20897 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20898 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20899 _IO_FLAGS2_NOCLOSE flag.
20900 * include/unistd.h: Add hidden_proto for dup3.
20901 Define __have_dup3.
20902 * io/dup3.c: Define hidden symbol.
20903 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20904
bd25564e
UD
20905 [BZ #7101]
20906 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20907 when an incomplete long option is used.
20908 * posix/tst-getopt_long1.c: New file.
20909 * posix/Makefile (tests): Add tst-getopt_long1.
20910
c84cfef4
UD
20911 [BZ #10138]
20912 * scripts/config.guess: Update from autoconf-2.68.
20913 * scripts/config.sub: Likewise.
20914
3b85df27
UD
20915 [BZ #10157]
20916 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20917 tests into ...
20918 (has_cpuclock): ...this. New function.
20919 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20920 macro here based on has_cpuclock code.
20921
15a856b1
UD
20922 [BZ #10149]
20923 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20924 First byte (not low byte) is now always NUL.
20925 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20926
05f399e6
UD
20927 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20928 Use non-cancelable interfaces.
20929
10a52685 20930 [BZ #9809]
94ecc67d
UD
20931 * locale/iso-639.def: Add entry for Sorani.
20932
f8a3b5bf
UD
20933 [BZ #11901]
20934 * include/stdlib.h: Move include protection to the right place.
20935 Define abort_msg_s. Declare __abort_msg with it.
20936 * stdlib/abort.c (__abort_msg): Adjust type.
20937 * assert/assert.c (__assert_fail_base): New function. Majority
20938 of code from __assert_fail. Allocate memory for __abort_msg with
20939 mmap.
20940 (__assert_fail): Now call __assert_fail_base.
20941 * assert/assert-perr.c: Remove bulk of implementation. Use
20942 __assert_fail_base.
20943 * include/assert.hL Declare __assert_fail_base.
20944 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20945 mmap.
20946 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20947
1af4e298
UD
209482011-05-14 Ulrich Drepper <drepper@gmail.com>
20949
f8a3b5bf 20950 [BZ #11952]
d26dfc60
MG
20951 [BZ #12453]
20952 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20953 until all modules are registered in the DTV.
20954 * elf/Makefile: Add rules to build and run tst-tls19.
20955 * elf/tst-tls19.c: New file.
20956 * elf/tst-tls19mod1.c: New file.
20957 * elf/tst-tls19mod2.c: New file.
20958 * elf/tst-tls19mod3.c: New file.
20959 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20960
2fc54d6f
UD
20961 [BZ #12083]
20962 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20963 correctly.
20964
98d76b46
UD
20965 [BZ #12601]
20966 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20967 two-byte sequence errors.
20968 * iconvdata/Makefile (tests): Add bug-iconv8.
20969 * iconvdata/bug-iconv8.c: New file.
20970
da3c19ef
UD
20971 [BZ #12626]
20972 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20973 buf2 definition.
20974
ca408c15
UD
20975 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20976
d6f67f7d
UD
20977 [BZ #12432]
20978 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20979 (dummy_getcfa): New function.
20980 (init): Get _Unwind_GetCFA address, use dummy if not found.
20981 (backtrace_helper): In recursion check, also check whether CFA changes.
20982 (__backtrace): Completely initialize arg.
20983
1af4e298 20984 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
20985 storing incomplete byte sequence in state object. Avoid testing for
20986 guaranteed too small input if we know there is enough data available.
1af4e298 20987
da62f81b
AS
209882011-05-11 Andreas Schwab <schwab@redhat.com>
20989
20990 * Makeconfig (+link-pie): Indent.
20991 * Rules (binaries-pie): Define if $(have-fpie) and
20992 $(build-shared).
20993 (binaries-shared): Also filter out $(binaries-pie).
20994 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20995 * nscd/Makefile (others-pie): Add nscd.
20996 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20997 ($(objpfx)nscd): Remove command override.
20998 * login/Makefile (others-pie): Add pt_chown.
20999 ($(objpfx)pt_chown): Remove command override.
21000 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21001 remove command overrides.
21002
fcabc0f8
UD
210032011-05-13 Ulrich Drepper <drepper@gmail.com>
21004
20030ae6
UD
21005 * libio/tst_putwc.c: Fix error messages.
21006
fcabc0f8
UD
21007 [BZ #12724]
21008 * libio/fileops.c (_IO_new_file_close_it): Always flush when
21009 currently writing and seek to current position when not.
21010 * libio/Makefile (tests): Add bug-fclose1.
21011 * libio/bug-fclose1.c: New file.
21012
320a5dc0
PB
210132011-05-12 Ulrich Drepper <drepper@gmail.com>
21014
21015 [BZ #12511]
21016 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21017 don't set DF_1_NODELETE here.
21018 (do_lookup_x): When entering new entry test for copy relocation
21019 and if necessary set DF_1_NODELETE flag.
21020 * elf/tst-unique4.cc: New file.
21021 * elf/tst-unique4.h: New file.
21022 * elf/tst-unique4lib.cc: New file.
21023 * elf/Makefile: Add rules to build and run tst-unique4.
21024 Patch by Piotr Bury <pbury@goahead.com>.
21025
22836f52
UD
210262011-05-11 Ulrich Drepper <drepper@gmail.com>
21027
f574184a
UD
21028 [BZ #12052]
21029 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21030
e1fb097f
UD
21031 [BZ #12625]
21032 * misc/mntent_r.c (addmntent): Flush the stream after the output
21033
22836f52
UD
21034 [BZ #12393]
21035 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21036 (is_trusted_path_normalize): Skip initial colon. Append slash
21037 to empty buffer. Duplicate is_trusted_path code but allow
21038 constructed patch to be prefix.
21039 (is_dst): Allow $ORIGIN followed by /.
21040 (_dl_dst_substitute): Correct clearing of check_for_trusted.
21041 Correct testing of result of is_trusted_path_normalize
21042 (decompose_rpath): Fix warning.
21043
7b3b0b2a
UD
210442011-05-10 Ulrich Drepper <drepper@gmail.com>
21045
21046 [BZ #11257]
21047 * grp/initgroups.c (internal_getgrouplist): When we found the service
21048 list through the initgroups entry in nsswitch.conf do not always
21049 continue on a successful lookup. Don't always use the
eac80ce2 21050 __nss_group_database value if it is set.
7b3b0b2a
UD
21051 * nss/nsswitch.conf (initgroups): Change action for successful db
21052 lookup to continue for compatibility.
21053
2a81eaa5
UD
210542011-05-09 Ulrich Drepper <drepper@gmail.com>
21055
be97a69e
UD
21056 [BZ #11532]
21057 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21058 and CP774 modules.
21059 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21060 and CP774 modules.
21061 * iconvdata/tst-tables.sh: Likewise.
21062 * iconvdata/cp770.c: New file.
21063 * iconvdata/cp771.c: New file.
21064 * iconvdata/cp772.c: New file.
21065 * iconvdata/cp773.c: New file.
21066 * iconvdata/cp774.c: New file.
21067 * iconvdata/testdata/CP770: New file.
21068 * iconvdata/testdata/CP770..UTF8: New file.
21069 * iconvdata/testdata/CP771: New file.
21070 * iconvdata/testdata/CP771..UTF8: New file.
21071 * iconvdata/testdata/CP772: New file.
21072 * iconvdata/testdata/CP772..UTF8: New file.
21073 * iconvdata/testdata/CP773: New file.
21074 * iconvdata/testdata/CP773..UTF8: New file.
21075 * iconvdata/testdata/CP774: New file.
21076 * iconvdata/testdata/CP774..UTF8: New file.
21077
21078 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21079 END CHARMAP line.
21080 * iconvdata/gen-8bit-gap.sh: Likewise.
21081 * iconvdata/gen-8bit.sh: Likewise.
21082
c1e9e399
UD
21083 * locale/iso-639.def: Add ary entry.
21084
24c55fb3 21085 [BZ #11258]
96b4b1b0
UD
21086 * locale/C-translit.h.in: Add U20A1 transliteration.
21087
bdc2f971
KB
21088 [BZ #12178]
21089 * locale/iso-639.def: Add wae entry.
21090 Patch by Kevin Bortis <bortis@translate-wae.ch>.
21091
2952b117
UD
21092 [BZ #12545]
21093 * locale/programs/localedef.c (construct_output_path): Use ssize_t
21094 for n.
21095
2a81eaa5
UD
21096 [BZ #12711]
21097 * locale/C-translit.h.in: Add entry for U20B9.
21098 Patch by pravin.d.s@gmail.com.
21099
28377d1b
UD
211002011-05-08 Ulrich Drepper <drepper@gmail.com>
21101
7fb90fb8
UD
21102 [BZ #12713]
21103 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21104 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
21105 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
21106 in rtld. Use *stat64.
7fb90fb8 21107 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 21108 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 21109 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
21110 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21111 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21112 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21113 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21114 __fstatat64 macros.
7fb90fb8
UD
21115 * include/dirent.h: Add libc_hidden_proto for rewinddir.
21116 * dirent/rewinddir.c: Add libc_hidden_def.
21117 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 21118 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 21119
28377d1b
UD
21120 * include/dirent.h (__alloc_dir): Add flags parameter.
21121 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21122 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21123 __alloc_dir.
21124 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
21125 from fdopendir if O_CLOEXEC is already set.
21126
66bdbaa4
AM
211272011-03-15 Alan Modra <amodra@gmail.com>
21128
21129 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21130 l_tls_firstbyte_offset non-zero. Save padding offset in
21131 l_tls_firstbyte_offset for later use.
21132 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21133 freeing static tls block.
21134
95721191
JN
211352011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21136
21137 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21138 where #ifdef was intended. The intent is to prevent ARG_MAX from
21139 being defined by the kernel headers.
21140
f87dfb1f
UD
211412011-05-07 Ulrich Drepper <drepper@gmail.com>
21142
21143 [BZ #12734]
21144 * resolv/resolv.h: Define RES_NOTLDQUERY.
21145 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21146 no-tld-query and set RES_NOTLDQUERY.
21147 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21148 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21149 modern BIND to search name as TLD unless forbidden.
21150
47c3cd7a
UD
211512011-05-07 Petr Baudis <pasky@suse.cz>
21152 Ulrich Drepper <drepper@gmail.com>
21153
21154 [BZ #12393]
21155 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21156 (is_trusted_path): ...to here.
c1e9ea35 21157 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 21158 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 21159 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 21160
8a35c912
PP
211612011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21162
21163 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21164 __BEGIN/__END_DECLS.
21165
acd41f47
UD
211662011-05-06 Ulrich Drepper <drepper@gmail.com>
21167
21168 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21169 NSS_STATUS_NOTFOUND if no record was found.
21170
597df647
AS
211712011-05-05 Andreas Schwab <schwab@redhat.com>
21172
21173 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21174 (headers-not-in-tirpc): Remove rpc/netdb.h
21175 * resolv/netdb.h: Revert last change.
21176
b9af1301
PP
211772011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21178
21179 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21180 circular dependency between libgcc.a and libc.a.
21181
4e34d5f5
AS
211822011-05-05 Andreas Schwab <schwab@redhat.com>
21183
21184 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21185 * nis/Makefile: Don't install rpcsvc/*.
21186 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21187 instead of <rpc/types.h>.
21188 (MAXHOSTNAMELEN): Define.
21189
00ee369c
AS
211902011-05-03 Andreas Schwab <schwab@redhat.com>
21191
21192 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21193
0b592a30
MB
211942011-04-28 Maciej Babinski <mbabinski@google.com>
21195
21196 [BZ #12714]
21197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21198 gethostbyname4_r when IPv6 results are possible.
21199
6e04cbbe
UD
212002011-05-02 Ulrich Drepper <drepper@gmail.com>
21201
21202 [BZ #12723]
21203 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21204 _PC_PIPE_BUF handling.
21205
e4ecafe0
BH
212062011-04-30 Bruno Haible <bruno@clisp.org>
21207
21208 [BZ #12717]
21209 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21210 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21211 to 'int'.
21212 * inet/getnameinfo.c (getnameinfo): Likewise.
21213
125ee683
UD
212142011-04-29 Ulrich Drepper <drepper@gmail.com>
21215
21216 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21217 to groups setting in database lookup.
21218 * nss/nsswitch.conf: Add initgroups entry.
21219
b722481a
EB
212202011-04-22 Ulrich Drepper <drepper@gmail.com>
21221
21222 [BZ #12685]
21223 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21224 mode string.
21225 Patch by Eric Blake <eblake@redhat.com>.
21226
4df46dbd
L
212272011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21228
21229 * sunrpc/Makefile (need-export-routines): Add svc_run.
21230 (routines): Remove svc_run.
21231 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21232 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21233 * sunrpc/svc_run.c (svc_run): Likewise.
21234 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21235
e84142d2
UD
212362011-04-21 Ulrich Drepper <drepper@gmail.com>
21237
21238 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21239 problem in reallocation in last patch.
21240
877175d8
UD
212412011-04-20 Ulrich Drepper <drepper@gmail.com>
21242
21243 * sunrpc/Makefile: Move inclusion of Rules.
21244
ab8eed78
UD
212452011-04-19 Ulrich Drepper <drepper@gmail.com>
21246
21247 * nss/nss_files/files-initgroups.c: New file.
21248 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21249 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21250 _nss_files_initgroups_dyn.
21251
e3d8f584
RS
212522011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21253
21254 * elf/elf.h (R_ARM_IRELATIVE): Define.
21255
af190f45
UD
212562011-04-19 Ulrich Drepper <drepper@gmail.com>
21257
21258 * po/ru.po: Update from translation team.
21259
53cf59ef
UD
212602011-04-17 Ulrich Drepper <drepper@gmail.com>
21261
21262 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21263 dependencies.
21264
4c559bcd
MF
212652011-02-06 Mike Frysinger <vapier@gentoo.org>
21266
21267 [BZ #12653]
21268 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21269 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21270 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21271 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21272 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21273
4420675c
AS
212742011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21275
21276 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21277 differing bytes.
21278 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21279 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21280 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21281
75ea32ab
UD
212822011-04-17 Ulrich Drepper <drepper@gmail.com>
21283
21284 [BZ #12420]
21285 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21286 storing it.
21287 * stdlib/bug-getcontext.c: New file.
21288 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21289
27390476
AK
212902011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21291
21292 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21293 instructions into .machine "z9-109".
21294 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21295 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21296
10442705
AK
212972011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21298
21299 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21300 between environment variables and auxiliary vector.
21301
7b57bfe5
UD
213022011-04-16 Ulrich Drepper <drepper@gmail.com>
21303
21304 * Makefile: Add rules to build linkobj/libc.so.
21305 * include/libc-symbols.h: Define libc_hidden_nolink.
21306 * include/rpc/auth.h: Mark functions which are to be hidden.
21307 * include/rpc/auth_des.h: Likewise.
21308 * include/rpc/auth_unix.h: Likewise.
21309 * include/rpc/clnt.h: Likewise.
21310 * include/rpc/des_crypt.h: Likewise.
21311 * include/rpc/key_prot.h: Likewise.
21312 * include/rpc/pmap_clnt.h: Likewise.
21313 * include/rpc/pmap_prot.h: Likewise.
21314 * include/rpc/pmap_rmt.h: Likewise.
21315 * include/rpc/rpc_msg.h: Likewise.
21316 * include/rpc/svc.h: Likewise.
21317 * include/rpc/svc_auth.h: Likewise.
21318 * include/rpc/xdr.h: Likewise.
21319 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21320 * nss/Makefile: Likewise.
21321 * sunrpc/Makefile: Don't install headers. Build library with normal
21322 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21323 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21324 for the compat linking library. Remove use of INTDEF/INTUSE.
21325 * sunrpc/auth_none.c: Likewise.
21326 * sunrpc/auth_unix.c: Likewise.
21327 * sunrpc/authdes_prot.c: Likewise.
21328 * sunrpc/authuxprot.c: Likewise.
21329 * sunrpc/clnt_gen.c: Likewise.
21330 * sunrpc/clnt_perr.c: Likewise.
21331 * sunrpc/clnt_raw.c: Likewise.
21332 * sunrpc/clnt_simp.c: Likewise.
21333 * sunrpc/clnt_tcp.c: Likewise.
21334 * sunrpc/clnt_udp.c: Likewise.
21335 * sunrpc/clnt_unix.c: Likewise.
21336 * sunrpc/des_crypt.c: Likewise.
21337 * sunrpc/des_soft.c: Likewise.
21338 * sunrpc/get_myaddr.c: Likewise.
21339 * sunrpc/key_call.c: Likewise.
21340 * sunrpc/key_prot.c: Likewise.
21341 * sunrpc/netname.c: Likewise.
21342 * sunrpc/pm_getmaps.c: Likewise.
21343 * sunrpc/pm_getport.c: Likewise.
21344 * sunrpc/pmap_clnt.c: Likewise.
21345 * sunrpc/pmap_prot.c: Likewise.
21346 * sunrpc/pmap_prot2.c: Likewise.
21347 * sunrpc/pmap_rmt.c: Likewise.
21348 * sunrpc/publickey.c: Likewise.
21349 * sunrpc/rpc_cmsg.c: Likewise.
21350 * sunrpc/rpc_common.c: Likewise.
21351 * sunrpc/rpc_dtable.c: Likewise.
21352 * sunrpc/rpc_prot.c: Likewise.
21353 * sunrpc/rpc_thread.c: Likewise.
21354 * sunrpc/rtime.c: Likewise.
21355 * sunrpc/svc.c: Likewise.
21356 * sunrpc/svc_auth.c: Likewise.
21357 * sunrpc/svc_authux.c: Likewise.
21358 * sunrpc/svc_raw.c: Likewise.
21359 * sunrpc/svc_run.c: Likewise.
21360 * sunrpc/svc_simple.c: Likewise.
21361 * sunrpc/svc_tcp.c: Likewise.
21362 * sunrpc/svc_udp.c: Likewise.
21363 * sunrpc/svc_unix.c: Likewise.
21364 * sunrpc/svcauth_des.c: Likewise.
21365 * sunrpc/xcrypt.c: Likewise.
21366 * sunrpc/xdr.c: Likewise.
21367 * sunrpc/xdr_array.c: Likewise.
21368 * sunrpc/xdr_float.c: Likewise.
21369 * sunrpc/xdr_intXX_t.c: Likewise.
21370 * sunrpc/xdr_mem.c: Likewise.
21371 * sunrpc/xdr_rec.c: Likewise.
21372 * sunrpc/xdr_ref.c: Likewise.
21373 * sunrpc/xdr_sizeof.c: Likewise.
21374 * sunrpc/xdr_stdio.c: Likewise.
21375
e6c61494
UD
213762011-04-10 Ulrich Drepper <drepper@gmail.com>
21377
21378 [BZ #12650]
21379 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21380 * sysdeps/ia64/dl-tls.h: Likewise.
21381 * sysdeps/powerpc/dl-tls.h: Likewise.
21382 * sysdeps/s390/dl-tls.h: Likewise.
21383 * sysdeps/sh/dl-tls.h: Likewise.
21384 * sysdeps/sparc/dl-tls.h: Likewise.
21385 * sysdeps/x86_64/dl-tls.h: Likewise.
21386 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21387
34fe483e
AS
213882011-03-14 Andreas Schwab <schwab@redhat.com>
21389
21390 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21391 rpath element also skip the following colon.
21392 (expand_dynamic_string_token): Add is_path parameter and pass
21393 down to DL_DST_REQUIRED and _dl_dst_substitute.
21394 (decompose_rpath): Call expand_dynamic_string_token with
21395 non-zero is_path. Ignore empty rpaths.
21396 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21397 with zero is_path.
21398
f12a32e6
AS
213992011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21400
21401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21402 Make cancelable.
21403
38a7d692
UD
214042011-04-09 Ulrich Drepper <drepper@gmail.com>
21405
21406 [BZ #12655]
21407 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21408 Patch by Filipe David Manana <fdmanana@apache.org>.
21409
e451d22b
AS
214102011-04-07 Andreas Schwab <schwab@redhat.com>
21411
21412 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21413 Maintain aligned stack.
21414 (CHECK_RSP): Remove unused macro.
21415
dedc7c7b
UD
214162011-04-03 Ulrich Drepper <drepper@gmail.com>
21417
21418 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21419 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21420
94521213
UD
214212011-04-02 Ulrich Drepper <drepper@gmail.com>
21422
21423 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21424
8cb700c0 21425 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 21426
0354e355
L
214272011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21428
21429 [BZ #12518]
21430 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21431 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21432 * sysdeps/x86_64/memmove.c: New file.
21433 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21434 (memcpy): Renamed to ...
21435 (__new_memcpy): This.
21436 (memcpy): Provide GLIBC_2_14 memcpy.
21437 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21438 (memcpy): Provide GLIBC_2_2_5 memcpy.
21439
8593482f
UD
214402011-04-01 Ulrich Drepper <drepper@gmail.com>
21441
21442 [BZ #12631]
21443 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21444
81a5726b
AS
214452011-03-30 Andreas Schwab <schwab@redhat.com>
21446
21447 * misc/syncfs.c: New file.
21448 * misc/Makefile (routines): Add syncfs.
21449 * posix/unistd.h: Declare syncfs.
21450 * sysdeps/unix/syscalls.list: Add syncfs.
21451
00e5419f
AS
214522011-04-01 Andreas Schwab <schwab@redhat.com>
21453
21454 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21455 open_by_handle_at.
21456 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21457 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21458 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21459 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21460 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21461 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21462 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21463
748876bf
UD
214642011-04-01 Ulrich Drepper <drepper@gmail.com>
21465
658e451d
UD
21466 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21467 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21468 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21469 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21470 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21471 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21472 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21473
748876bf
UD
21474 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21475 sync_file_range.c with -fexceptions.
21476 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21477 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21478 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21479 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21480 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21481 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21482 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
21483 sync_file_range as cancellation point
21484 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21485 now a wrapper around __call_sync_file_range with cancellation handling.
21486 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21487 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21488 function name to __call_sync_file_range.
21489 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21490 Add call_sync_file_range.
748876bf 21491
6e63d5e1
AS
214922011-04-01 Andreas Schwab <schwab@redhat.com>
21493
21494 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 21495 bits/timex.h.
6e63d5e1 21496
46998f74
UD
214972011-04-01 Ulrich Drepper <drepper@gmail.com>
21498
4c1423ed
UD
21499 * iconv/iconv.h: Fix typo in comment.
21500 * io/fcntl.h: Likewise.
21501 * libio/stdio.h: Likewise.
21502 * posix/spawn.h: Likewise.
21503 * posix/unistd.h: Likewise.
21504 * stdlib/stdlib.h: Likewise.
21505 * time/time.h: Likewise.
21506 * wcsmbs/wchar.h: Likewise.
21507
158648c0
UD
21508 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21509 open_by_handle): Add.
21510 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21511 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21512 Augment a few comments.
21513 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21514 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21515 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21516 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21517 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21518 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21519 open_by_handle.
21520
46998f74
UD
21521 * io/fcntl.h (AT_EMPTY_PATH): Define.
21522
83fe108b
UD
215232011-03-30 Ulrich Drepper <drepper@gmail.com>
21524
21525 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21526 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21527 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21528 to...
21529 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
21530 * Versions.def: Add GLIBC_2.14.
21531 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21532 Export.
83fe108b 21533
bb242059
UD
215342011-03-22 Ulrich Drepper <drepper@gmail.com>
21535
21536 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21537 round counter.
21538 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21539
c97a1282
L
215402011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21541
21542 [BZ #12597]
21543 * string/test-strncmp.c (do_page_test): New function.
21544 (check2): Likewise.
21545 (test_main): Call check2.
21546 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21547
2a115601
UD
215482011-03-20 Ulrich Drepper <drepper@gmail.com>
21549
21550 [BZ #12587]
21551 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21552 Handle cache information in CPU leaf 4.
21553 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21554
8126d904
UD
215552011-03-18 Ulrich Drepper <drepper@gmail.com>
21556
042c49c6 21557 [BZ #12583]
8126d904
UD
21558 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21559 character representation.
21560 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21561
ccfe366e
RA
215622011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21563
21564 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21565 END(__isnan) to END(__isnanf) to match function entry point/label
21566 EALIGN(__isnanf,...).
21567
c6e13027
JJ
215682011-03-10 Jakub Jelinek <jakub@redhat.com>
21569
21570 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21571
33f85a3f
UD
215722011-03-10 Ulrich Drepper <drepper@gmail.com>
21573
028478fa
UD
21574 [BZ #12510]
21575 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21576 copy from the symbol referenced in the relocation to initialize the
21577 used variable.
21578 Patch by Piotr Bury <pbury@goahead.com>.
21579 * elf/Makefile: Add rules to build and tst-unique3.
21580 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21581 * elf/tst-unique3.cc: New file.
21582 * elf/tst-unique3.h: New file.
21583 * elf/tst-unique3lib.cc: New file.
21584 * elf/tst-unique3lib2.cc: New file.
21585
33f85a3f
UD
21586 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21587
03592fc7
MF
215882011-03-10 Mike Frysinger <vapier@gentoo.org>
21589
21590 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21591 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21592 to _start.
03592fc7 21593
6a5ee102
UD
215942011-03-06 Ulrich Drepper <drepper@gmail.com>
21595
21596 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21597 to-be-loaded object along a path to loader is ld.so.
21598
7e4ba49c
HJ
215992011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21600 Ulrich Drepper <drepper@gmail.com>
21601
21602 * sysdeps/x86_64/memset.S: After aligning destination, code
21603 branches to different locations depending on the value of
21604 misalignment, when multiarch is enabled. Fix this.
21605
216062011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21607
21608 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21609 Set _x86_64_preferred_memory_instruction for AMD processsors.
21610 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21611 Set bit_Prefer_SSE_for_memop for AMD processors.
21612
13a804de
UD
216132011-03-04 Ulrich Drepper <drepper@gmail.com>
21614
21615 * libio/fmemopen.c (fmemopen): Optimize a bit.
21616
9d25c392
AS
216172011-03-03 Andreas Schwab <schwab@redhat.com>
21618
21619 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21620
a5543c6a
RM
216212011-03-03 Roland McGrath <roland@redhat.com>
21622
21623 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21624
012d35f7
DM
216252011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21626
7e4ba49c 21627 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
21628 __bzero_ultra1 instead of __memset_ultra1.
21629
4bff6e01
AS
216302011-02-23 Andreas Schwab <schwab@redhat.com>
21631 Ulrich Drepper <drepper@gmail.com>
21632
21633 [BZ #12509]
21634 * include/link.h (struct link_map): Add l_orig_initfini.
21635 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21636 returning unsuccessfully.
21637 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21638 close of a file loaded at startup, restore the original l_initfini
21639 list.
21640 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21641 list, store the pointer.
21642 * elf/Makefile ($(objpfx)noload-mem): New rule.
21643 (noload-ENV): Define.
21644 (tests): Add $(objpfx)noload-mem.
21645 * elf/noload.c: Include <memcheck.h>.
21646 (main): Call mtrace. Close all opened handles.
21647
f2092faf
AS
216482011-02-17 Andreas Schwab <schwab@redhat.com>
21649
21650 [BZ #12454]
21651 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21652 dependencies are missing.
21653
6c8a2e88
ST
216542011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21655
f2092faf 21656 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
21657 Hurd needs munmap.
21658 * sysdeps/mach/hurd/ifreq.h: New file.
21659
84a42118
PB
216602011-01-27 Petr Baudis <pasky@suse.cz>
21661 Ulrich Drepper <drepper@gmail.com>
21662
071f805e 21663 [BZ 12445]#
84a42118
PB
21664 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21665 to extend_alloca().
21666 * stdio-common/bug23.c: New file.
21667 * stdio-common/Makefile (tests): Add bug23.
21668
e23fe25b
AS
216692010-09-28 Andreas Schwab <schwab@redhat.com>
21670 Ulrich Drepper <drepper@gmail.com>
21671
21672 [BZ #12489]
21673 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21674 before performing relro protection. At old place add assertion
21675 to make sure nothing changed.
21676
d3f02e10
NS
216772011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21678 Glauber de Oliveira Costa <glommer@gmail.com>
21679
21680 * elf/elf.h: Add new ARM TLS relocs.
21681
d55fd7a5
RA
216822011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21683
21684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21685 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21686 cast from r3.
21687 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21688 'tests' variable.
21689 * sysdeps/wordsize-64/tst-writev.c: New file.
21690
2206397e
RA
216912011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21692
21693 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21694 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21695 insns in _dl_start to prevent a TOC reference before relocs are
21696 resolved.
21697
e9433893
UD
216982011-02-15 Ulrich Drepper <drepper@gmail.com>
21699
21700 [BZ #12469]
21701 * Makeconfig: Remove RANLIB definition.
21702 * Makerules: Don't use RANLIB.
21703 * aclocal.m4: Remove ranlib test.
21704 * configure.in: No need to check for ranlib.
21705 * elf/rtld-Rules: Don't use RANLIB.
21706
f75286c6
ST
217072011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21708
8e31c82d
ST
21709 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21710 protection macro.
21711 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21712 inclusion protection macro.
21713
f75286c6
ST
21714 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21715 SIGRTMIN and SIGRTMAX and print information in that case only when
21716 SIGRTMIN is defined.
21717
c1d0e639
JJ
217182011-02-11 Jakub Jelinek <jakub@redhat.com>
21719
21720 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21721 arginfo fn returning -1.
21722
21723 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21724 and thousands string is zero terminated.
21725
edf9294e
AS
217262011-02-03 Andreas Schwab <schwab@redhat.com>
21727
21728 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21729 sysdeps/unix/sysv/linux/bits/socket.h.
21730
2b7e92df
ST
217312011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21732
edf9294e
AS
21733 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21734 (__CPU_COUNT): Remove old macros.
21735 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21736 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21737 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
21738 (__sched_cpualloc, __sched_cpufree): Add declarations.
21739
a4c7ea7b
UD
217402011-02-05 Ulrich Drepper <drepper@gmail.com>
21741
21742 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21743 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21744 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21745 (readdhstai): Return value of addhstaiX call.
21746 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21747 (addgrbyX): Return value returned by cache_addgr.
21748 (readdgrbyname): Return value returned by addgrbyX.
21749 (readdgrbygid): Likewise.
21750 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21751 (addpwbyX): Return value returned by cache_addpw.
21752 (readdpwbyname): Return value returned by addhstbyX.
21753 (readdpwbyuid): Likewise.
21754 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21755 (addservbyX): Return value returned by cache_addserv.
21756 (readdservbyname): Return value returned by addservbyX:
21757 (readdservbyport): Likewise.
21758 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21759 (addhstbyX): Return value returned by cache_addhst.
21760 (readdhstbyname): Return value returned by addhstbyX.
21761 (readdhstbyaddr): Likewise.
21762 (readdhstbynamev6): Likewise.
21763 (readdhstbyaddrv6): Likewise.
21764 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21765 (readdinitgroups): Return value returned by addinitgroupsX.
21766 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21767 (prune_cache): Keep track of timeout value of re-added entries.
21768 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21769 * nscd/nscd.h: Adjust prototypes of readd* functions.
21770
a0bf67cc
RM
217712011-02-04 Roland McGrath <roland@redhat.com>
21772
21773 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21774 (nis_stats): Likewise.
21775 * nis/nis_modify.c (nis_modify): Likewise.
21776 * nis/nis_remove.c (nis_remove): Likewise.
21777 * nis/nis_add.c (nis_add): Likewise.
21778
21779 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21780
21781 * posix/fnmatch_loop.c: Add some consts.
21782
21783 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21784
435b95eb
L
217852011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21786
21787 [BZ #12460]
21788 * config.make.in (config-cflags-novzeroupper): Define.
21789 * configure.in: Substitute libc_cv_cc_novzeroupper.
21790 * elf/Makefile (AVX-CFLAGS): Define.
21791 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21792 (CFLAGS-tst-auditmod4a.c): Likewise.
21793 (CFLAGS-tst-auditmod4b.c): Likewise.
21794 (CFLAGS-tst-auditmod6b.c): Likewise.
21795 (CFLAGS-tst-auditmod6c.c): Likewise.
21796 (CFLAGS-tst-auditmod7b.c): Likewise.
21797 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21798
8517b15e
UD
217992011-02-02 Ulrich Drepper <drepper@gmail.com>
21800
21801 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21802 function to the callback.
21803 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21804
10a656fe
AS
218052011-02-02 Andreas Schwab <schwab@redhat.com>
21806
21807 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21808 of errno.
21809
968dad0a
UD
218102011-01-19 Ulrich Drepper <drepper@gmail.com>
21811
9f94d2ea 21812 [BZ #11724]
968dad0a
UD
21813 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21814 of constructors.
21815 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21816 of destructors.
21817 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21818
21819 [BZ #11724]
21820 * elf/Makefile: Add rules to build and run new test.
21821 * elf/tst-initorder.c: New file.
21822 * elf/tst-initorder.exp: New file.
21823 * elf/tst-initordera1.c: New file.
21824 * elf/tst-initordera2.c: New file.
21825 * elf/tst-initordera3.c: New file.
21826 * elf/tst-initordera4.c: New file.
21827 * elf/tst-initorderb1.c: New file.
21828 * elf/tst-initorderb2.c: New file.
21829 * elf/tst-order-a1.c: New file.
21830 * elf/tst-order-a2.c: New file.
21831 * elf/tst-order-a3.c: New file.
21832 * elf/tst-order-a4.c: New file.
21833 * elf/tst-order-b1.c: New file.
21834 * elf/tst-order-b2.c: New file.
21835 * elf/tst-order-main.c: New file.
21836 New test case by George Gensure <werkt0@gmail.com>.
21837
86e92359
UD
218382010-10-01 Andreas Schwab <schwab@redhat.com>
21839
21840 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21841 decoding ACE if AI_CANONIDN.
21842
5d5732b0
UD
218432011-01-18 Ulrich Drepper <drepper@gmail.com>
21844
21845 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21846
a77e8cbc
UD
218472011-01-17 Ulrich Drepper <drepper@gmail.com>
21848
6392473f
UD
21849 * version.h (RELEASE): Bump for 2.13 release.
21850 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21851
620a0529
UD
21852 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21853
18ba70a5
UD
21854 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21855 MADV_NOHUGEPAGE.
32465c3e
UD
21856 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21857 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21858 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21859 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21860 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21861 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21862
c0dafcf1
UD
21863 * posix/getconf.c: Update copyright year.
21864 * catgets/gencat.c: Likewise.
21865 * csu/version.c: Likewise.
21866 * debug/catchsegv.sh: Likewise.
21867 * debug/xtrace.sh: Likewise.
21868 * elf/ldconfig.c: Likewise.
21869 * elf/ldd.bash.in: Likewise.
21870 * elf/sprof.c (print_version): Likewise.
21871 * iconv/iconv_prog.c: Likewise.
21872 * iconv/iconvconfig.c: Likewise.
21873 * locale/programs/locale.c: Likewise.
21874 * locale/programs/localedef.c: Likewise.
21875 * malloc/memusage.sh: Likewise.
21876 * malloc/mtrace.pl: Likewise.
21877 * nscd/nscd.c (print_version): Likewise.
21878 * nss/getent.c: Likewise.
21879
a77e8cbc
UD
21880 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21881 PF_CAIF, and PF_ALG.
21882 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21883
77e8bddf
AS
218842011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21885
1f20b93a
AS
21886 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21887 (modules-names): Use them.
21888 (ifunc-test-modules, ifunc-pie-tests): Define.
21889 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21890 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21891 (test-extras): Likewise.
21892 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21893 $(compile-command.c).
21894 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21895 (all-built-dso): Define.
21896 (check-textrel.out, check-execstack.out): Depend on it.
21897
77e8bddf
AS
21898 * configure.in: Don't override --enable-multi-arch.
21899
bc425b33
UD
219002011-01-15 Ulrich Drepper <drepper@gmail.com>
21901
21902 [BZ #6812]
21903 * nscd/hstcache.c (tryagain): Define.
21904 (cache_addhst): Return tryagain not notfound for temporary errors.
21905 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21906 failed.
21907
794c3ad3
UD
219082011-01-14 Ulrich Drepper <drepper@gmail.com>
21909
70181fdd
UD
21910 [BZ #10563]
21911 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21912 to make the syscall.
21913 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21914
794c3ad3
UD
21915 [BZ #12378]
21916 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21917 and fall back to matching as normal character if the string ends before
21918 the matching ']' is found. This is what POSIX requires.
21919 * posix/testfnm.c: Adjust test result.
21920 * posix/globtest.sh: Adjust test result. Add new test.
21921 * posix/tst-fnmatch.input: Likewise.
21922 * posix/tst-fnmatch2.c: Add new test.
21923
68dc9497
AS
219242010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21925
21926 * elf/Makefile (check-execstack): Revert last change. Depend on
21927 check-execstack.h.
21928 (check-execstack.h): New target.
21929 (generated): Add check-execstack.h.
21930 * elf/check-execstack.c: Include "check-execstack.h".
21931 (main): Revert last change.
21932 (handle_file): Return zero if GNU_STACK is absent and
21933 DEFAULT_STACK_PERMS doesn't include PF_X.
21934
451f001b
UD
219352011-01-13 Ulrich Drepper <drepper@gmail.com>
21936
cfa28e56
UD
21937 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21938 in child fails because the descriptor is already closed.
8cf8ce17
UD
21939 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21940 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21941 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 21942
1086d70d
UD
21943 [BZ #12397]
21944 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21945 syscall.
21946
451f001b
UD
21947 [BZ #10484]
21948 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21949 temporary buffer used to handle multi lookups locally.
a85b5cb4 21950 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 21951
08769175
UD
219522011-01-12 Ulrich Drepper <drepper@gmail.com>
21953
21954 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21955 loader is ld.so.
21956
5e49c52e
UD
219572011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21958
21959 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21960 alignment for SSE2.
21961
60522a5f
UD
219622011-01-12 Ulrich Drepper <drepper@gmail.com>
21963
21964 [BZ #12394]
21965 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21966 characters. When rounding increased number of integer digits recompute
21967 number of groups.
21968 * stdio-common/tst-grouping.c: New file.
21969 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21970
f257bbd7
UD
219712011-01-09 Ulrich Drepper <drepper@gmail.com>
21972
21973 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21974 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21975
21976 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21977 void.
21978 * bits/select.h: Likewise.
21979
fa9c15cb
UD
219802011-01-08 Ulrich Drepper <drepper@gmail.com>
21981
21982 * po/ja.po: Update from translation team.
21983
16c2895f
DM
219842011-01-04 David S. Miller <davem@sunset.davemloft.net>
21985
21986 [BZ #11155]
21987 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21988 implementation just like for lxstat, fxstatat, et al.
21989
2543fef2
JM
219902010-12-27 Jim Meyering <meyering@redhat.com>
21991
21992 [BZ #12348]
21993 * posix/regexec.c (build_trtable): Return failure indication upon
21994 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21995
98727dbe
UD
219962010-12-25 Ulrich Drepper <drepper@gmail.com>
21997
5bd6dc5c
UD
21998 [BZ #12201]
21999 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22000 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22001 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22002 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22003
97983464
UD
22004 [BZ #12207]
22005 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22006
98727dbe
UD
22007 [BZ #12204]
22008 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22009 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22010
4a531bb0
L
220112010-12-15 H.J. Lu <hongjiu.lu@intel.com>
22012
22013 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22014 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22015 script has SORT_BY_INIT_PRIORITY.
22016 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22017 NO_CTORS_DTORS_SECTIONS is defined.
22018 * elf/soinit.c: Likewise.
22019 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22020 NO_CTORS_DTORS_SECTIONS is defined.
22021 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22022 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22023 * sysdeps/sh/init-first.c: Likewise.
22024 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22025
07eb4b71
UD
220262010-12-24 Ulrich Drepper <drepper@gmail.com>
22027
22028 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22029 always use the slow path.
22030
30950a5f
RA
220312010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
22032
22033 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22034 similar rule which adds the sysdep directories to the header search in
22035 order to pick up the correct platform stackinfo.h.
22036 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22037 perform test if it is, otherwise return successfully without testing.
22038 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22039 DEFAULT_STACK_PERMS define in stackinfo.h.
22040 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22041 defined in stackinfo.h.
22042 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22043 DEFAULT_STACK_PERMS defined in stackinfo.h.
22044 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22045 * sysdeps/ia64/stackinfo.h: Likewise.
22046 * sysdeps/s390/stackinfo.h: Likewise.
22047 * sysdeps/sh/stackinfo.h: Likewise.
22048 * sysdeps/sparc/stackinfo.h: Likewise.
22049 * sysdeps/x86_64/stackinfo.h: Likewise.
22050 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22051 PF_X for powerpc64. Retain PF_X for powerpc32.
22052
db753e2c
UD
220532010-12-19 Ulrich Drepper <drepper@gmail.com>
22054
14b697f7
UD
22055 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22056 accurately.
db753e2c
UD
22057 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22058 GETDENTS_64BIT_ALIGNED.
22059
28300719
UD
220602010-12-14 Ulrich Drepper <dreper@gmail.com>
22061
14b697f7 22062 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 22063
4f197237
AS
220642010-12-10 Andreas Schwab <schwab@redhat.com>
22065
dbb0472f
AS
22066 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22067 _GNU_SOURCE.
22068
4f197237
AS
22069 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22070 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22071 Remove __restrict.
22072 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22073 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22074
fb88ac72
UD
220752010-12-09 Ulrich Drepper <drepper@gmail.com>
22076
22077 [BZ #11655]
22078 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22079 are initialized.
22080
42acbb92
JJ
220812010-12-09 Jakub Jelinek <jakub@redhat.com>
22082
22083 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22084
c038d98d
UD
220852010-12-03 Ulrich Drepper <drepper@gmail.com>
22086
22087 * po/it.po: Update from translation team.
22088
3a4a2499
L
220892010-12-01 H.J. Lu <hongjiu.lu@intel.com>
22090
22091 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22092 unused codes.
22093
1e24cf6e
UD
220942010-11-30 Ulrich Drepper <drepper@gmail.com>
22095
22096 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22097
a7690819
AS
220982010-11-24 Andreas Schwab <schwab@redhat.com>
22099
22100 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22101 specially.
22102 (gaih_getanswer_slice): Likewise.
22103
3bf8d1b1
JJ
221042010-10-20 Jakub Jelinek <jakub@redhat.com>
22105
22106 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22107
6db52fbb
PB
221082010-05-31 Petr Baudis <pasky@suse.cz>
22109
22110 [BZ #11149]
22111 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22112 silently even in the chroot mode.
22113
eaca7569
UD
221142010-11-22 Ulrich Drepper <drepper@gmail.com>
22115
22116 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22117 last patch a bit. Pretty printing
22118
3056dcdb
UD
221192010-05-31 Petr Baudis <pasky@suse.cz>
22120
22121 [BZ #10085]
22122 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22123 initialization of skip_initgroups_dyn.
22124
cf7c9078
UD
221252010-11-19 Ulrich Drepper <drepper@gmail.com>
22126
22127 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22128 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22129
a1fb5e3e
UD
221302010-11-16 Ulrich Drepper <drepper@gmail.com>
22131
22132 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22133
3540d66b
AS
221342010-11-11 Andreas Schwab <schwab@redhat.com>
22135
22136 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22137 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22138 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22139 ($(objpfx)tst-fnmatch-mem): New rule.
22140 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22141 * posix/tst-fnmatch.c (main): Call mtrace.
22142
13b69574
L
221432010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22144
22145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22146 Support Intel processor model 6 and model 0x2c.
22147
da93d214
LM
221482010-11-10 Luis Machado <luisgpm@br.ibm.com>
22149
22150 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22151 signed comparison.
22152
8ca52c6e
L
221532010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22154
22155 [BZ #12205]
22156 * string/test-strncasecmp.c (check_result): New function.
22157 (do_one_test): Use it.
22158 (check1): New function.
22159 (test_main): Use it.
22160 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22161 Support strcasecmp and strncasecmp.
22162
69da074d
UD
221632010-11-08 Ulrich Drepper <drepper@gmail.com>
22164
22165 [BZ #12194]
22166 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22167 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22168
ff02d528
L
221692010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22170
22171 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22172 IFUNC support.
22173 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22174 memset-x86-64.
22175 * sysdeps/x86_64/multiarch/bzero.S: New file.
22176 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22177 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22178 * sysdeps/x86_64/multiarch/memset.S: New file.
22179 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22180 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22181 Set bit_Prefer_SSE_for_memop for Intel processors.
22182 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22183 Define.
22184 (index_Prefer_SSE_for_memop): Define.
22185 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22186
344d0b54
LM
221872010-11-04 Luis Machado <luisgpm@br.ibm.com>
22188
22189 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22190 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22191
c0dde15b
UD
221922010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22193
22194 [BZ #12191]
22195 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22196 (__x86_64_raw_data_cache_size_half): Likewise.
22197 (__x86_64_raw_shared_cache_size): Likewise.
22198 (__x86_64_raw_shared_cache_size_half): Likewise.
22199
22200 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22201 (__x86_64_raw_data_cache_size_half): Likewise.
22202 (__x86_64_raw_shared_cache_size): Likewise.
22203 (__x86_64_raw_shared_cache_size_half): Likewise.
22204 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22205 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22206 and __x86_64_raw_shared_cache_size_half. Round
22207 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22208 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22209 to multiple of 256 bytes.
22210
0e516e0e
MS
222112010-11-03 Ulrich Drepper <drepper@gmail.com>
22212
22213 [BZ #12167]
22214 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22215 of inacessible symlinks. Verify result of symlink before returning it.
22216 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22217 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22218
0e012e87
ER
222192010-10-28 Erich Ritz <erichritz@gmail.com>
22220
22221 * math/math.h (isinf): Fix typo in comment.
22222
de0ff7bc
UD
222232010-11-01 Ulrich Drepper <drepper@gmail.com>
22224
22225 * po/da.po: Update from translation team.
22226
fa41c84d
UD
222272010-10-26 Ulrich Drepper <drepper@gmail.com>
22228
22229 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22230 is added to the list.
22231
f0967738
AK
222322010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22233 Ulrich Drepper <drepper@gmail.com>
22234
22235 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22236 the global list here. Move code to...
22237 (_dl_add_to_namespace_list): ...here. New function.
22238 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22239 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22240 * elf/dl-load.c (lose): Don't remove the element from the list.
22241 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22242 (_dl_map_object): Likewise.
22243
222442010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
22245
22246 [BZ #12159]
22247 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22248 into all bytes of SSE register.
22249 Patch by Richard Li <richardpku@gmail.com>.
22250
f0967738 222512010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
22252
22253 [BZ #12140]
22254 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22255 perturbing.
22256
d0b9e94f
MB
222572010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22258
22259 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22260 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22261 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22262 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22264 submachine.
22265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22266
8e9f92e9
AS
222672010-10-22 Andreas Schwab <schwab@redhat.com>
22268
22269 * include/dlfcn.h (__RTLD_SECURE): Define.
22270 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22271 mode & __RTLD_SECURE instead.
22272 (open_path): Rename preloaded parameter to secure.
22273 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22274 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22275 * elf/dl-deps.c (openaux): Likewise.
22276 * elf/rtld.c (struct map_args): Remove is_preloaded.
22277 (map_doit): Don't use it.
22278 (dl_main): Likewise.
22279 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22280 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22281
bc96fbda
AS
222822010-09-09 Andreas Schwab <schwab@redhat.com>
22283
22284 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22285 (sysd-rules-targets): Remove duplicates.
22286 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22287 rtld-%.$o dependency.
22288
22cd1c9b
AS
222892010-10-18 Andreas Schwab <schwab@redhat.com>
22290
22291 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22292 _dl_map_object do it.
22293
18edac48
UD
222942010-10-19 Ulrich Drepper <drepper@gmail.com>
22295
22296 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22297 fast fma builtins, define the macros in the C99 standard.
22298 (FP_FAST_FMAF): Likewise.
22299 (FP_FAST_FMAL): Likewise.
22300 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22301
22302 * bits/mathdef.h: Update copyright year.
22303 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22304
d2050124
MM
223052010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22306
22307 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22308 builtins, define the macros in the C99 standard.
22309 (FP_FAST_FMAF): Likewise.
22310 (FP_FAST_FMAL): Likewise.
22311 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22312 multiply/add.
22313 (FP_FAST_FMAF): Likewise.
22314
475facd1
JJ
223152010-10-15 Jakub Jelinek <jakub@redhat.com>
22316
22317 [BZ #3268]
22318 * math/libm-test.inc (fma_test): Some new testcases.
22319 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22320 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22321 y and infinite z. Do multiplication by C already in long double.
22322 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22323 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22324 y and infinite z. Do bitwise or of inexact bit into u.d.
22325 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22326 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22327 * sysdeps/i386/fpu/s_fma.S: Removed.
22328 * sysdeps/i386/fpu/s_fmal.S: Removed.
22329
7c08a05c
JJ
223302010-10-16 Jakub Jelinek <jakub@redhat.com>
22331
22332 [BZ #3268]
22333 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22334 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22335 computation is not scheduled after fetestexcept. Fix value
22336 of minimum denormal long double.
22337
f3f7372d
JJ
223382010-10-14 Jakub Jelinek <jakub@redhat.com>
22339
22340 [BZ #3268]
22341 * math/libm-test.inc (fma_test): Add some more tests.
22342 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22343 correctly.
22344
14d43591
AS
223452010-10-15 Andreas Schwab <schwab@redhat.com>
22346
22347 * scripts/data/localplt-s390-linux-gnu.data: New file.
22348 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22349
5e908464
JJ
223502010-10-13 Jakub Jelinek <jakub@redhat.com>
22351
22352 [BZ #3268]
22353 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22354 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22355 instead of dbl-64.
22356 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22357 inlines.
22358 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22359 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22360 if one of x and y is very large and the other is subnormal.
22361 * sysdeps/s390/fpu/s_fmaf.c: New file.
22362 * sysdeps/s390/fpu/s_fma.c: New file.
22363 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22364 * sysdeps/powerpc/fpu/s_fma.S: New file.
22365 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22366 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22367 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22368
223692010-10-12 Jakub Jelinek <jakub@redhat.com>
22370
22371 [BZ #3268]
22372 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22373 fma tests.
22374 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22375 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22376 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22377 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22378 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22379 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22380 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22381
b833d51f
UD
223822010-10-12 Ulrich Drepper <drepper@redhat.com>
22383
22384 [BZ #12078]
22385 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22386 * posix/bug-regex31.input: Add test case.
22387
1751705d
UD
223882010-10-11 Ulrich Drepper <drepper@gmail.com>
22389
e9b9cbf5
UD
22390 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22391 * posix/bug-regex31.input: New file.
22392
22393 [BZ #12078]
22394 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22395 (parse_sub_exp): Fix last change, use postorder.
22396
ef06edbe
UD
22397 * posix/bug-regex31.c: New file.
22398 * posix/Makefile: Add rules to build and run bug-regex31.
22399
a129c80d
UD
22400 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22401
22402 [BZ #12078]
22403 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22404
b76b818e
UD
22405 [BZ #12108]
22406 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22407 to have entries in sys_siglist.
22408
1751705d
UD
22409 [BZ #12093]
22410 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22411 be NULL.
22412
9ff8d36f
JJ
224132010-10-07 Jakub Jelinek <jakub@redhat.com>
22414
22415 [BZ #3268]
22416 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22417 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22418 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22419 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22420 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22421 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22422 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22423 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22424 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22425 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22426 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22427 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22428 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22429 * math/ftestexcept.c (fetestexcept): Likewise.
22430 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22431 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22432 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22433 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22434 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22435 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22436 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22437
af325969
UD
224382010-10-11 Ulrich Drepper <drepper@gmail.com>
22439
c579b202 22440 [BZ #12107]
af325969
UD
22441 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22442 newline.
22443
67a67b95
UD
224442010-10-06 Ulrich Drepper <drepper@gmail.com>
22445
22446 * string/bug-strstr1.c: New file.
22447 * string/Makefile: Add rules to build and run bug-strstr1.
22448
5fb308bc
EB
224492010-10-05 Eric Blake <eblake@redhat.com>
22450
22451 [BZ #12092]
22452 * string/str-two-way.h (two_way_long_needle): Always clear memory
22453 when skipping input due to the shift table.
22454
45db99c7
UD
224552010-10-03 Ulrich Drepper <drepper@gmail.com>
22456
3b111893
UD
22457 [BZ #12005]
22458 * malloc/mcheck.c: Handle large requests.
22459
45db99c7
UD
22460 [BZ #12077]
22461 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22462 for strncmp and strncasecmp.
22463 * string/stratcliff.c: Add tests for strcmp and strncmp.
22464 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22465
cf7a1eb8
NI
224662010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22467
22468 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22469 __set_fpscr.
22470
6484ba5e
AJ
224712010-09-30 Andreas Jaeger <aj@suse.de>
22472
22473 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22474 (CGROUP_SUPER_MAGIC): Define.
22475 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22476 Handle btrfs and cgroup file systems.
22477 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22478 Likewise.
22479
91c42559
LM
224802010-09-27 Luis Machado <luisgpm@br.ibm.com>
22481
22482 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22483 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22484
87a97932
AK
224852010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22486
22487 [BZ #12067]
22488 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22489 trying to locate the ELF header.
22490
c21cc9bc
AS
224912010-09-27 Andreas Schwab <schwab@redhat.com>
22492
22493 [BZ #11611]
22494 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22495 Mask out sign-bit copies when constructing f_fsid.
22496
315970f6
PB
224972010-09-24 Petr Baudis <pasky@suse.cz>
22498
22499 * debug/stack_chk_fail_local.c: Add missing licence exception.
22500 * debug/warning-nop.c: Likewise.
22501
1ac7a2c7
JM
225022010-09-15 Joseph Myers <joseph@codesourcery.com>
22503
22504 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22505 implementing getdents64 using getdents syscall, set d_type if
22506 __ASSUME_GETDENTS32_D_TYPE.
22507
56801c50
AS
225082010-09-16 Andreas Schwab <schwab@redhat.com>
22509
22510 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22511 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22512
dda51327
UD
225132010-09-21 Ulrich Drepper <drepper@redhat.com>
22514
22515 [BZ #12037]
22516 * posix/unistd.h: Undo change of feature selection for ftruncate from
22517 2010-01-11.
22518
8ffcee4a
UD
225192010-09-20 Ulrich Drepper <drepper@redhat.com>
22520
a545ecd9 22521 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
22522 detection.
22523
e24f0a8b
AS
225242010-09-20 Andreas Schwab <schwab@redhat.com>
22525
22526 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22527 fanotify_mark.
22528 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22529
7291c56f
AS
225302010-09-14 Andreas Schwab <schwab@redhat.com>
22531
22532 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22533 variables after CHECK_SP call.
22534 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22535
bc5fb037
AS
225362010-09-13 Andreas Schwab <schwab@redhat.com>
22537 Ulrich Drepper <drepper@redhat.com>
22538
22539 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22540 re-relocationg ld.so.
22541 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22542 _dl_init_paths call.
22543 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22544 here anymore.
22545
e66e7419
UD
225462010-09-14 Ulrich Drepper <drepper@redhat.com>
22547
22548 * resolv/res_init.c (__res_vinit): Count the default server we added.
22549
c044aa75
CLT
225502010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22551 Ulrich Drepper <drepper@redhat.com>
22552
22553 [BZ #11968]
22554 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22555 (____longjmp_chk): Use %ebx for saving value across system call.
22556 Add unwind info.
22557
32cf4069
AS
225582010-09-06 Andreas Schwab <schwab@redhat.com>
22559
22560 * manual/Makefile: Don't mix pattern rules with normal rules.
22561
817328ee
AS
225622010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22563
22564 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22565 operation.
22566 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22567 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22568 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22569 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22570 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22571 Likewise.
22572
29fddf61
UD
225732010-09-04 Ulrich Drepper <drepper@redhat.com>
22574
22575 [BZ #11979]
22576 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22577 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22578
0959ffc9
UD
225792010-09-02 Ulrich Drepper <drepper@redhat.com>
22580
22581 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22582 * sysdeps/x86_64/addmul_1.S: Likewise.
22583 * sysdeps/x86_64/lshift.S: Likewise.
22584 * sysdeps/x86_64/mul_1.S: Likewise.
22585 * sysdeps/x86_64/rshift.S: Likewise.
22586 * sysdeps/x86_64/sub_n.S: Likewise.
22587 * sysdeps/x86_64/submul_1.S: Likewise.
22588
ece29840
ST
225892010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22590
0959ffc9
UD
22591 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22592 Define __sched_param instead of SCHED_* and sched_param when
ece29840 22593 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 22594 * bits/sched.h [__need_schedparam]
ece29840 22595 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
22596 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22597 (__defined_schedparam): Define to 1.
ece29840
ST
22598 (__sched_param): New structure, identical to sched_param.
22599 (__need_schedparam): Undefine.
22600
e53a31fe
MF
226012010-08-31 Mike Frysinger <vapier@gentoo.org>
22602
fdc0c10d
MF
22603 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22604 (epoll_create1): Declare.
22605
e53a31fe
MF
22606 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22607
a726d796
AS
226082010-08-31 Andreas Schwab <schwab@redhat.com>
22609
22610 [BZ #7066]
22611 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22612 shifting retval into place.
22613
2f3e3dc7
UD
226142010-09-01 Ulrich Drepper <drepper@redhat.com>
22615
f2933da9
UD
22616 * nis/rpcsvc/nis.h: Update copyright notice.
22617 * nis/rpcsvc/nis.x: Likewise.
22618 * nis/rpcsvc/nis_callback.h: Likewise.
22619 * nis/rpcsvc/nis_callback.x: Likewise.
22620 * nis/rpcsvc/nis_object.x: Likewise.
22621 * nis/rpcsvc/nis_tags.h: Likewise.
22622 * nis/rpcsvc/yp.h: Likewise.
22623 * nis/rpcsvc/yp.x: Likewise.
22624 * nis/rpcsvc/ypupd.h: Likewise.
22625 * nis/yp_xdr.c: Likewise.
22626 * nis/ypupdate_xdr.c: Likewise.
22627
2f3e3dc7
UD
22628 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22629 mainly the body of pmap_getport. Add parameters to specify timeouts.
22630 (pmap_getport): Use __libc_rpc_getport.
22631 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22632 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22633 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22634
f3dcc2f9
AS
226352010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22636
22637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22638 fanotify_mark.
22639
6d34eb5b
RM
226402010-08-27 Roland McGrath <roland@redhat.com>
22641
22642 * sysdeps/i386/i686/multiarch/Makefile
22643 (CFLAGS-varshift.c): New variable.
22644
9ea3de11
UD
226452010-08-27 Ulrich Drepper <drepper@redhat.com>
22646
c96d23fc
UD
22647 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22648 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22649
9ea3de11
UD
22650 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22651
22652 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22653
623aac7f
L
226542010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22655
22656 * sysdeps/x86_64/strlen.S: Unroll the loop.
22657 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22658 strlen-sse2 strlen-sse2-bsf.
22659 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22660 __strlen_no_bsf if bit_Slow_BSF is set.
22661 (__strlen_sse42): Removed.
22662 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22663 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22664
8b2b7715
RM
226652010-08-25 Roland McGrath <roland@redhat.com>
22666
22667 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22668 * sysdeps/x86_64/multiarch/varshift.c: New file.
22669 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22670 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22671 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22672 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22673
e73015f2
L
226742010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22675
22676 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22677 strlen-sse2 strlen-sse2-bsf.
22678 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22679 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22680 (__strlen_sse2): Removed.
22681 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22682 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22683 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22684 bit_Slow_BSF for Atom.
22685 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22686 (index_Slow_BSF): Define.
22687 (HAS_SLOW_BSF): Define.
22688
df24a73e
UD
226892010-08-25 Ulrich Drepper <drepper@redhat.com>
22690
22691 [BZ #10851]
22692 * resolv/res_init.c (__res_vinit): When no server address at all
22693 is given default to loopback.
22694
f2ac4868
RM
226952010-08-24 Roland McGrath <roland@redhat.com>
22696
09055553
RM
22697 * configure.in: Remove config-name.h generation.
22698 * configure: Regenerated.
22699 * config-name.in: File removed.
22700 * scripts/config-uname.sh: New file.
22701 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22702 ($(objdir)config-name.h): New target.
22703
f2ac4868
RM
22704 * sunrpc/rpc_parse.h: Avoid nested comment.
22705
73f27d5e
RH
227062010-08-24 Richard Henderson <rth@redhat.com>
22707 Ulrich Drepper <drepper@redhat.com>
22708 H.J. Lu <hongjiu.lu@intel.com>
22709
22710 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22711 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22712 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22713 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22714 _mm_alignr_epi8 with _mm_loadu_si128.
22715 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22716 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22717 (__m128i_shift_right): Removed.
22718 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22719 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22720 * sysdeps/x86_64/multiarch/varshift.h: New file.
22721 * sysdeps/x86_64/multiarch/varshift.S: New file.
22722
84b9230c
MF
227232010-08-21 Mike Frysinger <vapier@gentoo.org>
22724
22725 * configure.in: Move assembler checks to before sysdep dir checking.
22726
9bbd0ddc
PB
227272010-08-20 Petr Baudis <pasky@suse.cz>
22728
22729 * LICENSES: Sync the sunrpc license.
22730
9da4bb31
UD
227312010-08-19 Ulrich Drepper <drepper@redhat.com>
22732
a7ab6ec8
UD
22733 * sunrpc/auth_des.c: Update copyright notice once again.
22734 * sunrpc/auth_none.c: Likewise.
22735 * sunrpc/auth_unix.c: Likewise.
22736 * sunrpc/authdes_prot.c: Likewise.
22737 * sunrpc/authuxprot.c: Likewise.
22738 * sunrpc/bindrsvprt.c: Likewise.
22739 * sunrpc/clnt_gen.c: Likewise.
22740 * sunrpc/clnt_perr.c: Likewise.
22741 * sunrpc/clnt_raw.c: Likewise.
22742 * sunrpc/clnt_simp.c: Likewise.
22743 * sunrpc/clnt_tcp.c: Likewise.
22744 * sunrpc/clnt_udp.c: Likewise.
22745 * sunrpc/clnt_unix.c: Likewise.
22746 * sunrpc/des_crypt.c: Likewise.
22747 * sunrpc/des_soft.c: Likewise.
22748 * sunrpc/get_myaddr.c: Likewise.
22749 * sunrpc/getrpcport.c: Likewise.
22750 * sunrpc/key_call.c: Likewise.
22751 * sunrpc/key_prot.c: Likewise.
22752 * sunrpc/openchild.c: Likewise.
22753 * sunrpc/pm_getmaps.c: Likewise.
22754 * sunrpc/pm_getport.c: Likewise.
22755 * sunrpc/pmap_clnt.c: Likewise.
22756 * sunrpc/pmap_prot.c: Likewise.
22757 * sunrpc/pmap_prot2.c: Likewise.
22758 * sunrpc/pmap_rmt.c: Likewise.
22759 * sunrpc/rpc/auth.h: Likewise.
22760 * sunrpc/rpc/auth_unix.h: Likewise.
22761 * sunrpc/rpc/clnt.h: Likewise.
22762 * sunrpc/rpc/des_crypt.h: Likewise.
22763 * sunrpc/rpc/key_prot.h: Likewise.
22764 * sunrpc/rpc/netdb.h: Likewise.
22765 * sunrpc/rpc/pmap_clnt.h: Likewise.
22766 * sunrpc/rpc/pmap_prot.h: Likewise.
22767 * sunrpc/rpc/pmap_rmt.h: Likewise.
22768 * sunrpc/rpc/rpc.h: Likewise.
22769 * sunrpc/rpc/rpc_des.h: Likewise.
22770 * sunrpc/rpc/rpc_msg.h: Likewise.
22771 * sunrpc/rpc/svc.h: Likewise.
22772 * sunrpc/rpc/svc_auth.h: Likewise.
22773 * sunrpc/rpc/types.h: Likewise.
22774 * sunrpc/rpc/xdr.h: Likewise.
22775 * sunrpc/rpc_clntout.c: Likewise.
22776 * sunrpc/rpc_cmsg.c: Likewise.
22777 * sunrpc/rpc_common.c: Likewise.
22778 * sunrpc/rpc_cout.c: Likewise.
22779 * sunrpc/rpc_dtable.c: Likewise.
22780 * sunrpc/rpc_hout.c: Likewise.
22781 * sunrpc/rpc_main.c: Likewise.
22782 * sunrpc/rpc_parse.c: Likewise.
22783 * sunrpc/rpc_parse.h: Likewise.
22784 * sunrpc/rpc_prot.c: Likewise.
22785 * sunrpc/rpc_sample.c: Likewise.
22786 * sunrpc/rpc_scan.c: Likewise.
22787 * sunrpc/rpc_scan.h: Likewise.
22788 * sunrpc/rpc_svcout.c: Likewise.
22789 * sunrpc/rpc_tblout.c: Likewise.
22790 * sunrpc/rpc_util.c: Likewise.
22791 * sunrpc/rpc_util.h: Likewise.
22792 * sunrpc/rpcinfo.c: Likewise.
22793 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22794 * sunrpc/rpcsvc/key_prot.x: Likewise.
22795 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22796 * sunrpc/rpcsvc/mount.x: Likewise.
22797 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22798 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22799 * sunrpc/rpcsvc/rex.x: Likewise.
22800 * sunrpc/rpcsvc/rstat.x: Likewise.
22801 * sunrpc/rpcsvc/rusers.x: Likewise.
22802 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22803 * sunrpc/rpcsvc/spray.x: Likewise.
22804 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22805 * sunrpc/rtime.c: Likewise.
22806 * sunrpc/svc.c: Likewise.
22807 * sunrpc/svc_auth.c: Likewise.
22808 * sunrpc/svc_authux.c: Likewise.
22809 * sunrpc/svc_raw.c: Likewise.
22810 * sunrpc/svc_run.c: Likewise.
22811 * sunrpc/svc_simple.c: Likewise.
22812 * sunrpc/svc_tcp.c: Likewise.
22813 * sunrpc/svc_udp.c: Likewise.
22814 * sunrpc/svc_unix.c: Likewise.
22815 * sunrpc/svcauth_des.c: Likewise.
22816 * sunrpc/xcrypt.c: Likewise.
22817 * sunrpc/xdr.c: Likewise.
22818 * sunrpc/xdr_array.c: Likewise.
22819 * sunrpc/xdr_float.c: Likewise.
22820 * sunrpc/xdr_mem.c: Likewise.
22821 * sunrpc/xdr_rec.c: Likewise.
22822 * sunrpc/xdr_ref.c: Likewise.
22823 * sunrpc/xdr_sizeof.c: Likewise.
22824 * sunrpc/xdr_stdio.c: Likewise.
22825
9da4bb31
UD
22826 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22827 handling.
22828
bdaa77bc
AS
228292010-08-19 Andreas Schwab <schwab@redhat.com>
22830
22831 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22832
fe2f79db
LM
228332010-08-19 Luis Machado <luisgpm@br.ibm.com>
22834
22835 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22836 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22837 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22838 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22839 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22840 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22841 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22842 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22843 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22844 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22845 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22846 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22847 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22848 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22849
b9b42ee0
AB
228502010-07-26 Anton Blanchard <anton@samba.org>
22851
22852 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22853 * malloc/arena.c (heap_trim): Likewise.
22854
1c06ba31
UD
228552010-08-16 Ulrich Drepper <drepper@redhat.com>
22856
22857 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22858 here. Not...
22859 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22860 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22861
f8392f40
L
228622010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22863
22864 * sysdeps/i386/elf/Makefile: New file.
22865
3162f12e
AS
228662010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22867
22868 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22869 from fanotify_init.
22870 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22871 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22872
28c90b2c
UD
228732010-08-15 Ulrich Drepper <drepper@redhat.com>
22874
22875 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22876 of strncasecmp_l.
1feccb6c 22877 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 22878
ca6bb004
UD
228792010-08-14 Ulrich Drepper <drepper@redhat.com>
22880
e9f82e0d
UD
22881 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22882 strncase_l-nonascii.
22883 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22884 Add strncase_l-ssse3.
22885 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22886 * sysdeps/x86_64/strcmp.S: Likewise.
22887 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22888 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22889 * sysdeps/x86_64/strncase.S: New file.
22890 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22891 * sysdeps/x86_64/strncase_l.S: New file.
22892 * string/Makefile (strop-tests): Add strncasecmp.
22893 * string/test-strncasecmp.c: New file.
22894
22895 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22896 warning.
22897
ca6bb004
UD
22898 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22899 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22900
052fa7b3
AS
229012010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22902
22903 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22904
962dba78
UD
229052010-08-12 Ulrich Drepper <drepper@redhat.com>
22906
22907 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22908 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22909 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22910
bebff237
AM
229112010-05-01 Alan Modra <amodra@gmail.com>
22912
22913 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22914 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22915 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22916 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22917 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22918 tidying. Don't tail-call __sigjmp_save for static lib.
22919 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22920 save location.
22921 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22922 (CALL_MCOUNT): Add eh info, and nop after bl.
22923 (TAIL_CALL_SYSCALL_ERROR): New macro.
22924 (PSEUDO_RET): Use it.
22925 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22926 Correct save location of integer regs and cr.
22927 (_dl_profile_resolve): Correct cr save location. Delete nops
22928 after bl when SHARED. Reduce cfi size a little by better
22929 placement of cfi directives.
22930 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22931 make a stack frame. Instead use parm save area as a temp.
22932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22933 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22935 Don't make a stack frame for parent, use parm save area.
22936 Increase child stack frame to 112 bytes. Don't save unused reg,
22937 and adjust reg usage. Set up cfi on error recovery and
22938 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22940 (__makecontext): Add dummy nop after jump to exit.
22941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22942 Use correct parm save area and cr save, reduce stack frame.
22943 Correct cfi for possible PSEUDO_RET frame setup.
22944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22945 Branch to local label emitted by PSEUDO_RET rather than
22946 __syscall_error.
22947
02637374
AS
229482010-08-12 Andreas Schwab <schwab@redhat.com>
22949
22950 [BZ #11904]
22951 * locale/programs/locale.c (print_assignment): New function.
22952 (show_locale_vars): Use it.
22953
c3e2f19b
UD
229542010-08-11 Ulrich Drepper <drepper@redhat.com>
22955
3cdaa6ad
UD
22956 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22957 field.
22958 (struct statfs64): Likewise.
22959 (_STATFS_F_FLAGS): Define.
22960 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22961 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22962 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22963 (ST_VALID): Define locally.
22964 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22965 __statvfs_getflags, use the provided value.
22966 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22967 __ASSUME_STATFS_F_FLAGS.
22968
754f7da3
UD
22969 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22970
10b3bedc
UD
22971 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22972 Add sys/fanotify.h.
22973 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22974 fanotify_mask for GLIBC_2.13.
22975 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22976 fanotify_init and fanotify_mark.
22977 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22978 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22979
c08fb0d7
UD
22980 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22981 Add prlimit.
22982 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22983 prlimit64 for GLIBC_2.13.
22984 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22985 prlimit64.
22986 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22987 syscall.
22988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22989 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22990 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22991 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22992 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22993 add prlimit alias.
22994 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22995
15bac72b
UD
22996 [BZ #11903]
22997 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22998 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22999
c3e2f19b
UD
23000 * nss/Makefile: Add rules to build and run tst-nss-test1.
23001 * shlib-versions: Add entry for libnss_test1.
23002 * nss/nss_test1.c: New file.
23003 * nss/tst-nss-test1.c: New file.
23004
23005 * nss/nsswitch.c (__nss_database_custom): Define new variable.
23006 (__nss_configure_lookup): Set appropriate entry in
23007 __nss_configure_lookup to true.
23008 * nss/nsswitch.h: Define enum with indeces of databases in
23009 databases and __nss_database_custom arrays. Declare
23010 __nss_database_custom.
23011 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23012 to avoid using nscd when custom rules are installed.
23013 * nss/getXXbyYY_r.c: Likewise.
23014 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23015
23016 * nss/nss_files/files-parse.c: Whitespace fixes.
23017
f15ce4d8
UD
230182010-08-09 Ulrich Drepper <drepper@redhat.com>
23019
23020 [BZ #11883]
23021 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23022 * posix/fnmatch_loop.c: Likewise.
23023
d22e4cc9
AK
230242010-07-17 Andi Kleen <ak@linux.intel.com>
23025
23026 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23027 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23028 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23029 * Versions.def [GLIBC_2.13]: Add.
23030
805bc17d
UD
230312010-08-06 Ulrich Drepper <drepper@redhat.com>
23032
23033 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23034 Also fail if tpwd after pwuid call is NULL.
23035
5a42321d
ST
230362010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
23037
23038 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23039 when converting to ms.
23040
fd3ebeda
ST
230412010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23042
23043 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23044 EOPNOTSUPP errors with ENOTTY.
23045 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23046 EOPNOTSUPP errors with ENOTTY.
23047
73507d3a
UD
230482010-07-31 Ulrich Drepper <drepper@redhat.com>
23049
23050 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23051 Add strcasecmp_l-ssse3.
23052 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23053 strcasecmp.
23054 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23055 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23056 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23057
fe36dd02
UD
230582010-07-30 Ulrich Drepper <drepper@redhat.com>
23059
66f6765a
UD
23060 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23061
42e08a54
UD
23062 * string/Makefile (strop-tests): Add strcasecmp.
23063 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23064 strcasecmp_l-nonascii.
23065 (gen-as-const-headers): Add locale-defines.sym.
23066 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23067 * sysdeps/x86_64/strcasecmp.S: New file.
23068 * sysdeps/x86_64/strcasecmp_l.S: New file.
23069 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23070 * sysdeps/x86_64/locale-defines.sym: New file.
23071 * string/test-strcasecmp.c: New file.
23072
fe36dd02
UD
23073 * string/test-strcasestr.c: Test both ends of the range of characters.
23074 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23075
48cbc0d6
RM
230762010-07-29 Roland McGrath <roland@redhat.com>
23077
76e6d6bc 23078 [BZ #11856]
48cbc0d6
RM
23079 * manual/locale.texi (Yes-or-No Questions): Fix example code.
23080
880113d9
UD
230812010-07-27 Ulrich Drepper <drepper@redhat.com>
23082
23083 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23084 for ld.so.
23085
deb9cabb
AS
230862010-07-27 Andreas Schwab <schwab@redhat.com>
23087
23088 * manual/memory.texi (Malloc Tunable Parameters): Document
23089 M_PERTURB.
23090
1c7570ff
RM
230912010-07-26 Roland McGrath <roland@redhat.com>
23092
23093 [BZ #11840]
23094 * configure.in (-fgnu89-inline check): Set and substitute
23095 gnu89_inline, not libc_cv_gnu89_inline.
23096 * configure: Regenerated.
23097 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23098
24fb0f88
UD
230992010-07-26 Ulrich Drepper <drepper@redhat.com>
23100
23101 * string/test-strnlen.c: New file.
23102 * string/Makefile (strop-tests): Add strnlen.
23103 * string/tester.c (test_strnlen): Add a few more test cases.
23104 * string/tst-strlen.c: Better error reporting.
23105
23106 * sysdeps/x86_64/strnlen.S: New file.
23107
8e96b93a
UD
231082010-07-24 Ulrich Drepper <drepper@redhat.com>
23109
23110 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23111 lower-latency instructions.
23112
dbc676d4
UD
231132010-07-23 Ulrich Drepper <drepper@redhat.com>
23114
23115 * string/test-strcasestr.c: New file.
23116 * string/test-strstr.c: New file.
23117 * string/Makefile (strop-tests): Add strstr and strcasestr.
23118 * string/str-two-way.h: Don't undefine MAX.
23119 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23120
f6a31e0e
AS
231212010-07-21 Andreas Schwab <schwab@redhat.com>
23122
23123 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23124 strcasestr-nonascii.
23125 (CFLAGS-strcasestr-nonascii.c): Define.
23126 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23127 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23128 Remove unused attribute.
23129
5dbc3b6c
RM
231302010-07-20 Roland McGrath <roland@redhat.com>
23131
23132 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23133 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23134 ld.so.cache was broken. With it, there is no way to disable dsocaps
23135 like LD_HWCAP_MASK can disable hwcaps.
23136
23d101d8
EPM
231372010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23138
23139 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23140
cc9f2e47
UD
231412010-07-16 Ulrich Drepper <drepper@redhat.com>
23142
23143 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23144 call in strcasestr.
23145 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23146 __strcasestr_sse42_nonascii.
23147 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23148 strcasestr-nonascii.c.
23149 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23150
77c1b069
LM
231512010-06-15 Luis Machado <luisgpm@br.ibm.com>
23152
23153 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23154 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23155 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23156 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23157
440566c3
UD
231582010-07-09 Ulrich Drepper <drepper@redhat.com>
23159
23160 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23161 fcntl.
23162
5be9d05d
AS
231632010-07-06 Andreas Schwab <schwab@redhat.com>
23164
c30b7ee2 23165 [BZ #11577]
5be9d05d
AS
23166 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23167 dl_signal_cerror.
23168
8a492a67
UD
231692010-07-06 Ulrich Drepper <drepper@redhat.com>
23170
23171 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23172 _PC_PIPE_BUF using F_GETPIPE_SZ.
23173
713df3d5
RM
231742010-07-05 Roland McGrath <roland@redhat.com>
23175
23176 * manual/arith.texi (Rounding Functions): Fix rint description
23177 implicit in round description.
23178
702e8f14
UD
231792010-07-02 Ulrich Drepper <drepper@redhat.com>
23180
23181 * elf/Makefile: Fix linking for a few tests to make recent linker
23182 happy.
23183
52ed8be9
AS
231842010-06-30 Andreas Schwab <schwab@redhat.com>
23185
23186 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23187 $(common-objpfx)libc_nonshared.a.
23188
f47c9a11
LM
231892010-06-21 Luis Machado <luisgpm@br.ibm.com>
23190
23191 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23192 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23193 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23194 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23195 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23196 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23197 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23198 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23213 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23214 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23215 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23216 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23217 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23218 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23219 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23220 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23221 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23222 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23223 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23224 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23239
6fb8cbcb
L
232402010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23241
23242 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23243 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23244 * string/memmove.c (memmove): Renamed to ...
23245 (MEMMOVE): ...this. Default to memmove.
23246 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23247 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23248 (END_CHK): Define.
23249 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23250 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23251 mempcpy-ssse3-back memmove-ssse3-back.
23252 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23253 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23254 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23255 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23256 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23257 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23258 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23259 * sysdeps/x86_64/multiarch/memmove.c: New file.
23260 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23261 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23262 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23263 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23264 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23265 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23266 Define.
23267 (index_Fast_Copy_Backward): Define.
23268 (HAS_ARCH_FEATURE): Define.
23269 (HAS_FAST_REP_STRING): Define.
23270 (HAS_FAST_COPY_BACKWARD): Define.
23271
4e733bac 232722010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
23273
23274 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23275 Restore proper fallback handling.
23276
63c4ed22
UD
232772010-06-19 Ulrich Drepper <drepper@redhat.com>
23278
ac2b484c
UD
23279 [BZ #11701]
23280 * posix/group_member.c (__group_member): Correct checking loop.
23281
63c4ed22
UD
23282 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23283 OOM in getpwuid_r correctly. Return error number when the caller
23284 should return, otherwise -1.
23285 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23286 call returning > 0 value.
23287 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23288
765ade4b
AS
232892010-06-07 Andreas Schwab <schwab@redhat.com>
23290
23291 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23292 libc_nonshared.a from targets in modules-names.
23293
80da2e09
KS
232942010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23295
23296 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23297 requires it.
23298
158db122
LM
232992010-06-10 Luis Machado <luisgpm@br.ibm.com>
23300
23301 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23302 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23303 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23304 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23305
caa78cf8
AS
233062010-06-02 Andreas Schwab <schwab@redhat.com>
23307
23308 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23309
b2ef2c01
UD
233102010-06-14 Ulrich Drepper <drepper@redhat.com>
23311
23312 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23313 and F_GETPIPE_SZ.
23314 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23315 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23316 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23317 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23318 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23319 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23320
fbd643b6
RM
233212010-06-14 Roland McGrath <roland@redhat.com>
23322
23323 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23324
f32f2869
JJ
233252010-06-07 Jakub Jelinek <jakub@redhat.com>
23326
23327 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23328 __REDIRECT followed by __THROW.
23329 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23330 * posix/getopt.h (getopt): Likewise.
23331
2a50c078
EPM
233322010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23333
23334 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23335 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23336 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23337 in AT_FLAGS.
23338 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23339 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23340
eb5ad2eb
LM
233412010-05-28 Luis Machado <luisgpm@br.ibm.com>
23342
23343 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23344
3c88fe1e
L
233452010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23346
23347 [BZ #11640]
23348 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23349 Properly check family and model.
23350
d2f73151
TY
233512010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23352
23353 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23354
ebd2e13d
LM
233552010-05-24 Luis Machado <luisgpm@br.ibm.com>
23356
23357 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23358
b32b8b45
UD
233592010-05-21 Ulrich Drepper <drepper@redhat.com>
23360
23361 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23362 symbol reference.
23363
9acbe24d
AS
233642010-05-19 Andreas Schwab <schwab@redhat.com>
23365
23366 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23367 symbol reference.
23368
f0ccf6ea
AS
233692010-05-21 Andreas Schwab <schwab@redhat.com>
23370
3d04ff3a
AS
23371 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23372 and internal_recvmmsg.
23373 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23374 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23375 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23376 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23377
f0ccf6ea
AS
23378 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23379 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23380 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23381
5b08ac57
AS
233822010-05-20 Andreas Schwab <schwab@redhat.com>
23383
23384 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23385
4828935d
LM
233862010-05-17 Luis Machado <luisgpm@br.ibm.com>
23387
23388 POWER7 optimizations.
23389 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23390 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23391
373d545e
UD
233922010-05-19 Ulrich Drepper <drepper@redhat.com>
23393
23394 * version.h: Update for 2.13 development version.
23395
21a2b1ae
AS
233962010-05-12 Andrew Stubbs <ams@codesourcery.com>
23397
23398 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23399 exceptions. Return 0.
23400
3f7dcb2b
RM
234012010-05-07 Roland McGrath <roland@redhat.com>
23402
23403 * elf/ldconfig.c (main): Add a const.
23404
5f24d53a 234052010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 23406
a160f8d8
UD
23407 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23408 (args_options): Add no-idn option.
23409 (ahosts_keys_int): Add idn_flags to ai_flags.
23410 (parse_option): Handle 'i' option to clear idn_flags.
23411
5f24d53a
UD
23412 * malloc/malloc.c (_int_free): Possible race in the most recently
23413 added check. Only act on the data if no current modification
23414 happened.
265bb1ce
UD
23415
23416See ChangeLog.17 for earlier changes.